Skip to main content

Verify LIF status

Contributors netapp-aherbin

Even if you configure storage virtual machines (SVMs) with Hyper-V and SQL Server over SMB configurations to have LIFs on each node in a cluster, during day-to-day operations, some LIFs might move to ports on another node. You must verify LIF status and take any necessary corrective actions.

About this task

To provide seamless, nondisruptive operation support, each node in a cluster must have at least one LIF for the SVM, and all the LIFs must be associated with a home port. If some of the configured LIFs are not currently associated with their home port, you must fix any port issues and then revert the LIFs to their home port.

Steps
  1. Display information about configured LIFs for the SVM:

    network interface show -vserver vserver_name

    In this example, “lif1” is not located on the home port.

    network interface show -vserver vs1

                Logical    Status     Network          Current    Current Is
    Vserver     Interface  Admin/Oper Address/Mask     Node       Port    Home
    ----------- ---------- ---------- ---------------- ---------- ------- ----
    vs1
                lif1         up/up    10.0.0.128/24    node2      e0d     false
                lif2         up/up    10.0.0.129/24    node2      e0d     true
  2. If some of the LIFs are not on their home ports, perform the following steps:

    1. For each LIF, determine what the LIF's home port is:

      network interface show -vserver vserver_name -lif lif_name -fields home-node,home-port

      network interface show -vserver vs1 -lif lif1 -fields home-node,home-port

      vserver lif  home-node  home-port
      ------- ---- ---------- ---------
      vs1     lif1 node1      e0d
    2. For each LIF, determine whether the LIF's home port is up:

      network port show -node node_name -port port -fields port,link

      network port show -node node1 -port e0d -fields port,link

      node       port link
      ---------- ---- ----
      node1      e0d  up

      In this example, “lif1” should be migrated back to its home port, node1:e0d.

  3. If any of the home port network interfaces to which the LIFs should be associated are not in the up state, resolve the problem so that these interfaces are up.

  4. If needed, revert the LIFs to their home ports:

    network interface revert -vserver vserver_name -lif lif_name

    network interface revert -vserver vs1 -lif lif1

  5. Verify that each node in the cluster has an active LIF for the SVM:

    network interface show -vserver vserver_name

    network interface show -vserver vs1

                Logical    Status     Network          Current    Current Is
    Vserver     Interface  Admin/Oper Address/Mask     Node       Port    Home
    ----------- ---------- ---------- ---------------- ---------- ------- ----
    vs1
                lif1         up/up    10.0.0.128/24    node1      e0d     true
                lif2         up/up    10.0.0.129/24    node2      e0d     true