Configuring LIFs on the SVM

An SVM serves data to clients through one or more network logical interfaces (LIFs). You must create LIFs on the ports you want to use to access data.

Before you begin

You must be a cluster administrator to perform this task.

About this task

You should not configure LIFs that carry CIFS traffic to automatically revert to their home nodes. This recommendation is mandatory if the CIFS server is to host a solution for nondisruptive operations with Hyper-V or SQL Server over SMB.

Steps

  1. Determine which broadcast domain ports you want to use for the LIF.
    Example
    network port broadcast-domain show -ipspace ipspace1
    IPspace Broadcast                                 Update
    Name    Domain Name    MTU  Port List             Status Details
    ------- ----------- ------  --------------------- --------------
    ipspace1
            ipspace1      1500
                                node1:e0d             complete
                                node1:e0e             complete
                                node2:e0d             complete
                                node2:e0e             complete
  2. Verify that the subnet you want to use for the LIFs contains sufficient unused IP addresses.
    Example
    network subnet show -ipspace ipspace1
    IPspace: ipspace1
    Subnet                  Broadcast               Avail/
    Name      Subnet        Domain    Gateway       Total   Ranges
    --------- ------------  --------- ----------- --------- ---------------
    ipspace1  10.0.0.0/24   ipspace1  10.0.0.1      4/4     10.0.0.128-10.0.0.130,
                                                            10.0.0.132      
  3. Create one or more LIFs on the ports you want to use to access data.
    Example
    network interface create -vserver vs1 -lif lif1 -role data -data-protocol nfs,cifs -home-node node1 -home-port e0d -subnet-name ipspace1network interface create -vserver vs1 -lif lif2 -role data -data-protocol nfs,cifs -home-node node2 -home-port e0d -subnet-name ipspace1 network interface create -vserver vs1 -lif lif2 -home-node node2 -home-port e0d -service-policy default-data-files -subnet-name ipspace1
  4. Verify that the LIF interface configuration is correct.
    Example
    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
  5. Verify that the failover group configuration is as desired.
    Example
    network interface show -failover -vserver vs1
             
             Logical         Home                  Failover        Failover
    Vserver  Interface       Node:Port             Policy          Group
    -------- --------------- --------------------- --------------- ---------------
    vs1
             lif1            node1:e0d             system-defined  ipspace1
                             Failover Targets: node1:e0d, node1:e0e,
                                               node2:e0d, node2:e0e
             lif2            node2:e0d             system-defined  ipspace1
                             Failover Targets: node2:e0d, node2:e0e,
                                               node1:e0d, node1:e0e