You can configure a LIF to fail over to a specific group of network ports by applying a failover policy and a failover group to the LIF. You can also disable a LIF from failing over to another port.
If a LIF that does not have a valid failover target attempts to fail over, an outage might occur.
When a LIF is created, LIF failover is enabled by default, and the list of available target ports is determined by the default failover group and failover policy based on the LIF type. You can modify the failover behavior of LIFs by specifying values for the -failover-group and -failover-policy parameters in the network interface modify command.
The following list describes how the -failover-policy setting affects the target ports that are selected from the failover group:
All ports on all nodes in the failover group.
Only those ports on the LIF's home node and a non-SFO partner.
Only those ports on the LIF's home node.
Only those ports on the LIF's home node and its SFO partner.
The LIF is not configured for failover.
The following command sets the failover policy to broadcast-domain-wide and uses the ports in failover group fg3 as failover targets for LIF data1 on SVM vs3:
cluster1::> network interface modify -vserver vs3 -lif data1 failover-policy broadcast-domain-wide -failover-group fg3 cluster1::> network interface show -vserver vs3 -lif * -fields failover-group,failover-policy vserver lif failover-policy failover-group ------- -------------- --------------- -------------- vs3 data1 broadcast-domain-wide fg3
The following command disables failover for LIF data1 on SVM vs3:
cluster1::> network interface modify -vserver vs3 -lif data1 failover-policy disabled