clustermode ifgrp

1. view available ports:
net port show
(network port show)
Auto-Negot Duplex Speed (Mbps)
Node Port Role Link MTU Admin/Oper Admin/Oper Admin/Oper
------ ------ ------------ ---- ----- ----------- ---------- ------------
grcm1
e0a cluster up 1500 true/true full/full auto/1000
e0b cluster up 1500 true/true full/full auto/1000
e0c data up 1500 true/true full/full auto/1000
e0d data up 1500 true/true full/full auto/1000
grcm2
e0a cluster up 1500 true/true full/full auto/1000
e0b cluster up 1500 true/true full/full auto/1000
e0c data up 1500 true/true full/full auto/1000
e0d data up 1500 true/true full/full auto/1000

2. view ports in use:
(e0d is not in use).
net int show
(network interface show)
Logical Status Network Current Current Is
Vserver Interface Admin/Oper Address/Mask Node Port Home
----------- ---------- ---------- ------------------ ------------- ------- ----
cl1
cluster_mgmt up/up 192.168.4.100/24 grcm2 e0c false
grcm1
clus1 up/up 169.254.131.58/16 grcm1 e0a true
clus2 up/up 169.254.141.74/16 grcm1 e0b true
mgmt1 up/up 192.168.4.101/24 grcm1 e0c true
grcm2
clus1 up/up 169.254.27.207/16 grcm2 e0a true
clus2 up/up 169.254.231.209/16 grcm2 e0b true
mgmt1 up/up 192.168.4.102/24 grcm2 e0c true

3. create interface group with e0d as the only interface (stupid but it is the only one
available)

ifgrp create -node grcm1 -ifgrp a0a -distr-func ip -mode multimode_lacp
ifgrp add-port -node grcm1 -ifgrp a0a -port e0d

4. Create lif for vserver vs1
net int create -vserver vs1 -lif data1 -role data -home-node grcm1 -data-protocol nfs,cifs,fcache -home-port a0a -address 192.168.4.109 -netmask 255.255.255.0
(network interface create)

Info: Your interface was created successfully; the routing group
d192.168.4.0/24 was created

5. toggle up and down....
net int modify -vserver vs1 -lif data1 -status-admin up
net int modify -vserver vs1 -lif data1 -status-admin down

This entry was posted in netapp. Bookmark the permalink.

Comments are closed.