Enable and revert LIFs to home ports after a revert
-
PDF of this doc site
- Cluster administration
-
Volume administration
- Logical storage management with the CLI
-
NAS storage management
- Configure NFS with the CLI
- Manage NFS with the CLI
-
Manage SMB with the CLI
- Manage file access using SMB
- Security and data encryption
- Data protection and disaster recovery
Collection of separate PDF docs
Creating your file...
During a reboot, some LIFs might have been migrated to their assigned failover ports. After you revert a cluster, you must enable and revert any LIFs that are not on their home ports.
The network interface revert command reverts a LIF that is not currently on its home port back to its home port, provided that the home port is operational. A LIF's home port is specified when the LIF is created; you can determine the home port for a LIF by using the network interface show command.
-
Display the status of all LIFs:
network interface show
This example displays the status of all LIFs for a storage virtual machine (SVM).
cluster1::> network interface show -vserver vs0 Logical Status Network Current Current Is Vserver Interface Admin/Oper Address/Mask Node Port Home ----------- ---------- ---------- ------------------ ------------- ------- ---- vs0 data001 down/down 192.0.2.120/24 node0 e0e true data002 down/down 192.0.2.121/24 node0 e0f true data003 down/down 192.0.2.122/24 node0 e2a true data004 down/down 192.0.2.123/24 node0 e2b true data005 down/down 192.0.2.124/24 node0 e0e false data006 down/down 192.0.2.125/24 node0 e0f false data007 down/down 192.0.2.126/24 node0 e2a false data008 down/down 192.0.2.127/24 node0 e2b false 8 entries were displayed.
If any LIFs appear with a Status Admin status of down or with an Is home status of false, continue with the next step.
-
Enable the data LIFs:
network interface modify {-role data} -status-admin up
cluster1::> network interface modify {-role data} -status-admin up 8 entries were modified.
-
Revert LIFs to their home ports:
network interface revert *
This command reverts all LIFs back to their home ports.
cluster1::> network interface revert * 8 entries were acted on.
-
Verify that all LIFs are in their home ports:
network interface show
This example shows that all LIFs for SVM vs0 are on their home ports.
cluster1::> network interface show -vserver vs0 Logical Status Network Current Current Is Vserver Interface Admin/Oper Address/Mask Node Port Home ----------- ---------- ---------- ------------------ ------------- ------- ---- vs0 data001 up/up 192.0.2.120/24 node0 e0e true data002 up/up 192.0.2.121/24 node0 e0f true data003 up/up 192.0.2.122/24 node0 e2a true data004 up/up 192.0.2.123/24 node0 e2b true data005 up/up 192.0.2.124/24 node1 e0e true data006 up/up 192.0.2.125/24 node1 e0f true data007 up/up 192.0.2.126/24 node1 e2a true data008 up/up 192.0.2.127/24 node1 e2b true 8 entries were displayed.