ONTAP Hardware

ifgrp changes - sanity check please

colin_graham
2,045 Views

Hi.

At the moment im looking into building a bit more resiliency into the network configurations on a 2040a HA-pair.

Currently each node has a single lacp group containing four 1gig interfaces - however physically only two of these interfaces are connected - both to a single switch. our network infrastructure will not support cross-switch lacp.

My plan is to change this to have two lacp groups with two interfaces each in, and then have this set as active/passive. physically these will go to separate switches.

Im hoping to try and do this non-disruptively using the RC file and failover/failback. - i assume as long as the group names are correct, the rest of the config can stay the same?.

Can someone sanity check the revised RC file ive come up with please to see if im on the right track.

Current config:

hostname XXX

ifgrp create lacp VIF01 -b mac e0b e0a e0c e0d

vlan create VIF01 25 996 997

ifconfig VIF01-25 `hostname`_VIF01-25 mediatype auto netmask 255.255.254.0 partner VIF01-25

ifconfig VIF01-996 `hostname`_VIF01-996 mediatype auto netmask 255.255.255.0 partner VIF01-996

ifconfig VIF01-997 `hostname`_VIF01-997 mediatype auto netmask 255.255.255.0 partner VIF01-997

route add default XXX

routed on

options dns.enable on

options dns.domainname XXX

options nis.enable off

savecore

Revised config:

hostname XXX

ifgrp create lacp pair01 -b mac e0a e0c

ifgrp create lacp pair02 -b mac e0b e0d

ifgrp create single VIF01 pair01 pair02

ifgrp favor pair01

vlan create VIF01 25 996 997

ifconfig VIF01-25 `hostname`_VIF01-25 mediatype auto netmask 255.255.254.0 partner VIF01-25

ifconfig VIF01-996 `hostname`_VIF01-996 mediatype auto netmask 255.255.255.0 partner VIF01-996

ifconfig VIF01-997 `hostname`_VIF01-997 mediatype auto netmask 255.255.255.0 partner VIF01-997

route add default XXX

routed on

options dns.enable on

options dns.domainname XXX

options nis.enable off

savecore

Cheers.

Col G

1 REPLY 1

scottgelb
2,045 Views

Looks good...and no host file changes needed since the ifgrp name on ifconfig doesn't change.  The default is ip round robin... and specific reason for mac?  A takeover/giveback can be done to modify network on the giveback to the new settings.

Public