For HA failover of Ethernet interfaces to work correctly, both NetApps need to be aware of which partner interface should function as the fail-over partner for which interface. The /etc/rc file generated by the "setup" command does not configure interface fail-over settings. Also, the vif name needs to be different on each NetApp. I ussually prepend the vif name with something indicating the filer to which it belongs. The "trusted," "wins," and "up" arguments on the first ifconfig line are unnecessary since these are default values. The "nfo" setting will configure the interface to take part in "negotiated failover." To complete the nfo configuration, you will need to modify the appropriate "options cf.takeover" settings.
I'm also a big fan of using comments and blank lines to make /etc/rc files more readable.
Below are example /etc/rc files for the two partner controllers.
--------------------------------------------------------------------
#Manually generated on 02 Feb 2012 to configure fail-over settings.
hostname thgnpctrv02
#Configure media-type and flowcontrol (if desired) for physical interfaces
#These settings cannot be configured on a vif but can be configured on the underlying interfaces.
ifconfig e0a mediatype auto
ifconfig e0b mediatype auto
ifconfig e0c mediatype auto
ifconfig e0d mediatype auto
#Configure virtual interfaces for iSCSI and NAS
vif create single ntap2iscsi e0a e0c
vif create single ntap2nas e0b e0d
#Configure interface for iSCSI communication
ifconfig ntap2iscsi `hostname`-iscsi netmask 255.255.255.0 mtusize 1500 partner ntap1iscsi nfo
#Configure interface for NAS communication
ifconfig ntap2nas `hostname`-nas netmask 255.255.255.0 partner ntap1nas nfo
#Define network routes
route add default 10.201.5.1 1
routed on
#define options and then savecore
options dns.domainname ird.gov.tt
options dns.enable on
options nis.enable off
savecore
--------------------------------------------------------------------
#Manually generated on 02 Feb 2012 to configure fail-over settings.
hostname thgnpctrv01
#Configure media-type and flowcontrol (if desired) for physical interfaces
#These settings cannot be configured on a vif but can be configured on the underlying interfaces.
ifconfig e0a mediatype auto
ifconfig e0b mediatype auto
ifconfig e0c mediatype auto
ifconfig e0d mediatype auto
#Configure virtual interfaces for iSCSI and NAS
vif create single ntap1iscsi e0a e0c
vif create single ntap1nas e0b e0d
#Configure interface for iSCSI communication
ifconfig ntap1iscsi `hostname`-iscsi netmask 255.255.255.0 mtusize 1500 partner ntap2iscsi nfo
#Configure interface for NAS communication
ifconfig ntap1nas `hostname`-nas netmask 255.255.255.0 partner ntap2nas nfo
#Define network routes
route add default 10.201.5.1 1
routed on
#define options and then savecore
options dns.domainname ird.gov.tt
options dns.enable on
options nis.enable off
savecore