Friday, 12 February 2016

Understanding NetApp Cluster mode LIFS

1. create a lif
net int create -vserver nfs1 -lif tester -role data -data-protocol cifs,nfs,fcache -home-node cl1-01 -home-port e0c -address 1.1.1.1 -netmask 255.0.0.0 -status-admin up
2. go to diag mode
set diag
3. view the owner of the new lif and delete the owner of the new lif
net int ids show -owner nfs1
net int ids delete -owner nfs1 -name tester
net int ids show -owner nfs1
4. run net int show and see that the lif is not there.
net int show
5. try to create the same lif again.
net int create -vserver nfs1 -lif tester -role data -data-protocol cifs,nfs,fcache -home-node cl1-01 -home-port e0c -address 1.1.1.1 -netmask 255.0.0.0 -status-admin up
(this will fail because the lif is still there, but has no owner)
6. debug the vifmgr table
debug smdb table vifmgr_virtual_interface show -role data -fields lif-name,lif-id
(this will show you the node, the lif-id and the lif-name)
7. using the lif-id from the previous output, delete the lif entry.
debug smdb table vifmgr_virtual_interface delete -node cl1-01 -lif-id 1030
8. see that the lif is gone.
debug smdb table vifmgr_virtual_interface show -role data -fields lif-name,lif-id
9. create the lif.
net int create -vserver nfs1 -lif tester -role data -data-protocol cifs,nfs,fcache -home-node cl1-01 -home-port e0c -address 1.1.1.1 -netmask 255.0.0.0 -status-admin up

2 comments:

Featured post

Netapp monitoring solution from scratch

I created a netapp monitoring solution on a UNIX machine... and have uploaded the static files to a free php server for so that you under...