Monday, June 4, 2012

NetApp VIF Tutorial

Step by Step VIF Configuration :


VIF CONFIGURATION:


Virtual Interface  now it is called as Interface group.(OnTap 8.x onwards)

VIF allow trunking of  one or more Ethernet interfaces.


There are two types of VIF:

  1. Single Mode (Active – Passive  Fail Over)
    1. Only one interface is active.
    2. Other interfaces are in standby.
    3. Fault Tolerance 
  2.  Multi Mode ( Active – Active Load Balancing)
    1. All interfaces are active.
    2. Shares the same MAC address.
    3. Fault Tolerance
    4. Higher Throughput



Load balancing is supported for Multi mode VIF only.
                IP based
                MAC Based
                Round Robin




For VIF configuration, you have to down the interfaces.

FASSENTHIL> ifconfig e0a down
FASSENTHIL> ifconfig e0b down

FASSENTHIL> vif create vifname <interfaces>
FASSENTHIL>vif create vif1 e0a e0b
FASSENTHIL>vif status
FASSENTHIL>ifconfig vif1 10.0.0.121

FASSENTHIL>vif status


Screen shots:

Using ifconfig command, check the network interfaces.


Down the network interface cards using ifconfig <interfacename> down.





vif create single|Multi <vifname> <interfaces>
vif create single vif1 ns0 ns1
vif status





Now, set the ipaddress for the new vif.


ifconfig vif1 <ipaddress>


ifconfig -a .


Now, the interfaces are trunked.







If you check, the ns0 interface is active and ns1 interface is in passive mode.


If ns0 network interface will down, then ns1 will be changed to active.



All the Best .......................................

Senthilkumar Muthusamy






3 comments: