Hello,
I am doing a lif failover test...i know i can do it for physical port...can i do at lif level... can you validate the sequence.
==============
lif failover test. m218064nclusc0001
Vserver:m2_18064_9025_NFS_vs
Group:NFS-915
Failover Targets:
m218064n8060c9026:a0n-915,
m218064n8060c9025:a0n-915,
m218064n8040c9027:a0n-915,
m218064n8040c9028:a0n-915
a0n is the ifgrp of ports (e0e, e0g) from respective each node.
Here starts the test:
- Take the backup if interfaces/lifs and vservers associated with that lifs.
- Set the the home node port i.e m218064n8060c9025:a0n-915 to false. (set diag,net port mod -node <nodename> -port <portname> -up-admin false) => this is for physical port
- Verify to access the mounted NFS share and lif status.
network interface show -vserver m2_18064_9025_NFS_vs -lif m218064_9025_nfs-915 -failover
- Once everything good, bring the port back up
set diag,net port mod -node <nodename> -port <portname> -up-admin true
5, Revert the vserver to the home port/home ned
network interface revert -vserver vserver_name -lif lif_name
Note: In point 2 I think we bring down one physical port in ifgrp , I think we can bring down lif for this test…if we bring down physical port, other lifs on the same port will also get failover..which i dont want..
network interface modify -vserver vserver_name -lif lif_name -status-admin down
network interface modify -vserver vserver_name -lif lif_name -status-admin up