Table of ContentsView in Frames

Configuring failover settings on a LIF

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.

About this task

Modification of a LIF that results in the LIF having no valid failover target results in a warning message.

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:

Note: Logical interfaces for SAN protocols do not support failover, therefore, these LIFs are always set to disabled.

Step

  1. Configure failover settings for an existing interface: network interface modify -vserver vserver_name -lif lif_name -failover-policy failover_policy -failover-group failover_group

Examples of configuring failover settings and disabling 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