ONTAP Hardware

Changing network in take over mode

sherifafifi
5,700 Views

hi all ,

the current network configration for my FAS3240 in the rc file  is :

node 1 :

ifgrp create multi grp1 -b ip e4a e4b e0a e0b

ifgrp create multi grp2 -b ip e4c e4d

ifconfig grp1 `hostname`-grp1 mediatype auto netmask 255.0.0.0 partner grp1 mtusize 1500

ifconfig grp2  `hostname`-grp2 mediatype auto partner grp2 mtusize 1500

node 2:

ifgrp create multi grp1 -b ip e4a e4b e0a e0b

ifgrp create multi grp2 -b ip e4c e4d

ifconfig grp1 `hostname`-grp1 mediatype auto netmask 255.0.0.0 partner grp1 mtusize 1500

ifconfig grp2 `hostname`-grp2 mediatype auto partner grp2 mtusize 1500

i want to change it by doing the below steps :

1-take over node2 by node1

2-edit the rc file of node2 to be :

ifgrp create single grp1 -b ip e0a e0b

ifgrp create single grp2 -b ip e4c e4d

ifconfig grp1 `hostname`-grp1 mediatype auto netmask 255.0.0.0 partner grp1 mtusize 1500

ifconfig grp2 `hostname`-grp2 mediatype auto partner grp2 mtusize 1500

3-after doning changes in the rc file , will reboot node 2 by using "reboot" will not use the option -f

4-after node 2 startup ,i will start the give back from node1 to node 2 .

as shown below i will only change the mode from multi to single and instead of using 4 network ports will use two , the IP will be the same and the VIF name will be the same.

so when i give back from node1 to node2 the give back will work normally ? or that can not be done ( the point i donot want to have downtime )

and if the above cannot be done , is there a way to change the network configration with out having down time ?

your quick response is apprciated

1 ACCEPTED SOLUTION

thomas_glodde
5,700 Views

source wont work as the Interfaces are already configured, you need to go for the reboot -f (which is disruptive, yes) or takeover/giveback

View solution in original post

4 REPLIES 4

thomas_glodde
5,700 Views

1) edit rc file on node2 (remove the -b ip as well, only needed for lacp/multi)

2) issue cf takeover on node1, new configuration will take effect immediately

3a) if all goood, issue cf giveback on node 1

3b) if all broken, edit rc file again and issue cf giveback afterwards

sherifafifi
5,700 Views

ok i faced problem in the give back ,, any way every thing is normal now .

i need to change the network configration so i will do the following :

A- on node 1 :

1-vi rc file

2-change the the grp1 configration from  " ifgrp create multi -b ip e4a e4b e0a e0b" to "ifgrp create single e0a e0b"

3-save the file

4-source /etc/rc

B-on node 2 :

1-same steps done on node1 "point A1 & A2 & A3"

2-source /etc/rc

C-reboot each node , will start with node1 by typing "reboot -f " ( i know it will make it unavalible till it starts up"

D- after node 1 starts up , will start to reboot node 2 by typing "reboot -f" (i know it will make it unavalible till it starts up"

then check the CF after rrebooting and ifconfig and other normal checks.

is that ok ?

thomas_glodde
5,701 Views

source wont work as the Interfaces are already configured, you need to go for the reboot -f (which is disruptive, yes) or takeover/giveback

sherifafifi
5,700 Views

ye i editthe rc file , then reboot -f each node it worked fine

Public