Ask The Experts

node's interface(s) e0a do not have a failover partner interface defined in /etc/rc

H iWe have two node 7 mode netapp filer and we want to upgrade version .

I saw node's interface(s) e0a do not have a failover partner interface defined in /etc/rc.

Please suggest what action to be taken..

10 REPLIES 10

Re: node's interface(s) e0a do not have a failover partner interface defined in /etc/rc

Hi,

 

Yes, you can. It is recommended for sucessful takeover in a HA setup.

 

Example from command line : (But to be persistent, it must go into /etc/rc file)
I assume this is IPv4, you can simply mention the Interface name instead of IP.
node1> ifconfig e0a partner e0a

 

Example from my 7-mode /etc/rc file :
Standalone port example:
ifconfig e0M 10.x.x.x netmask 255.255.255.0 -wins flowcontrol full partner 10.x.x.x

 

VIF example:
ifconfig ifgrp-NFS-712 `hostname`-ifgrp-NFS-712 netmask 255.255.255.0 partner ifgrp-NFS-712

 

Nice to know : When specifying the partner interface name, you can configure the interfaces symmetrically, for example map interface e1 on one node to interface e1 on the partner node. Though symmetrical configuration is not mandatory, though it simplifies administration!


During a takeover, the network interface on the surviving node assumes the identity of the partner interface:
https://library.netapp.com/ecmdocs/ECMP1368831/html/GUID-525FCF4E-109D-4E6F-9256-C6E56438CA9A.html


Recommendations:
For the partner configuration to be persistent across reboots, you must include the ifconfig command in the /etc/rc file.
For a successful takeover in both directions, you must repeat the partner configuration in the /etc/rc files of each node.

 

Thanks!

Re: node's interface(s) e0a do not have a failover partner interface defined in /etc/rc

This current output from node A and B

From Node A:

 

rdfile /etc/rc
#Auto-generated by setup Sat Dec 12 20:49:09 EST 2015
hostname <NodeA>
ifconfig e0a `hostname`-e0a mediatype auto flowcontrol full netmask 255.255.255.0 mtusize 1500
ifconfig e0M `hostname`-e0M mediatype auto flowcontrol full netmask 255.255.255.0 mtusize 1500
route add default 10.X.X.X
routed on
options dns.enable on
options dns.domainname tweis.net
options nis.enable off
savecore

 

From Node B:

 

rdfile /etc/rc
#Auto-generated by setup Sat Dec 12 20:49:09 EST 2015
hostname <Node B>
ifconfig e0a `hostname`-e0a mediatype auto flowcontrol full netmask 255.255.255.0 mtusize 1500
ifconfig e0M `hostname`-e0M mediatype auto flowcontrol full netmask 255.255.255.0 mtusize 1500
route add default 10.x.x.X
routed on
options dns.domainname tweis.net
options dns.enable on
options nis.enable off
savecore

 

And only tbelow port is enabled .

e0a: flags=0x1f4c867<UP,BROADCAST,RUNNING,MULTICAST,TCPCKSUM> mtu 1500
inet 10.x.x.x netmask 0xffffff00 broadcast 10.x.x.x
ether 00:a0:98:88:0a:e3 (auto-1000t-fd-up) flowcontrol full
e0b: flags=0x1f0c866<BROADCAST,RUNNING,MULTICAST,TCPCKSUM> mtu 1500
ether 00:a0:98:88:0a:e4 (auto-1000t-fd-up) flowcontrol full
e0M: flags=0x1b4c867<UP,BROADCAST,RUNNING,MULTICAST,TCPCKSUM,MGMT_PORT> mtu 1500
inet 10.x.x.x netmask 0xffffff00 broadcast 10.x.x.x noddns
ether 00:a0:98:88:0a:e5 (auto-1000t-fd-up) flowcontrol full
e0P: flags=0x1b4c867<UP,BROADCAST,RUNNING,MULTICAST,TCPCKSUM,ACP_PORT> mtu 1500 PRIVATE
inet 192.168.x.x netmask 0xfffffc00 broadcast 192.168.x.x noddns
ether 00:a0:98:88:0a:e6 (auto-1000t-fd-up) flowcontrol full

 

 

Is this correct configuration ?can you please help.

Re: node's interface(s) e0a do not have a failover partner interface defined in /etc/rc

Looks alright!

 

Just add the 'Partner' bit, I have added it just for your reference:

 

rdfile /etc/rc
#Auto-generated by setup Sat Dec 12 20:49:09 EST 2015
hostname <NodeA>
ifconfig e0a `hostname`-e0a mediatype auto flowcontrol full netmask 255.255.255.0 mtusize 1500 partner e0a
ifconfig e0M `hostname`-e0M mediatype auto flowcontrol full netmask 255.255.255.0 mtusize 1500 partner e0M
route add default 10.X.X.X
routed on
options dns.enable on
options dns.domainname tweis.net
options nis.enable off
savecore

 

From Node B:

 

rdfile /etc/rc
#Auto-generated by setup Sat Dec 12 20:49:09 EST 2015
hostname <Node B>
ifconfig e0a `hostname`-e0a mediatype auto flowcontrol full netmask 255.255.255.0 mtusize 1500 partner e0a
ifconfig e0M `hostname`-e0M mediatype auto flowcontrol full netmask 255.255.255.0 mtusize 1500 partner e0M
route add default 10.x.x.X
routed on
options dns.domainname tweis.net
options dns.enable on
options nis.enable off
savecore


Thanks!

Re: node's interface(s) e0a do not have a failover partner interface defined in /etc/rc

Can you please help me with the command to add 

 

Can I add the entry editing the file ?

 

If I run below comand nothing will change right except the tail entry of hostname and port..right ?

ifconfig e0a partner e0a

ifconfig e0b partner e0m

 

rc file output will show like below right ?

ifconfig e0a `hostname`-e0a mediatype auto flowcontrol full netmask 255.255.255.0 mtusize 1500 partner e0a
ifconfig e0M `hostname`-e0M mediatype auto flowcontrol full netmask 255.255.255.0 mtusize 1500 partner e0M

Re: node's interface(s) e0a do not have a failover partner interface defined in /etc/rc

Can I add the entry editing the file ?
Yes, you can. Before editing copy the contents or make copy of the /etc/rc file. This is important so that if you lost connection to your putty or you want to restore the previous content back, it willl be useufl.

 

rc file output will show like below right ?
Yes.

 

If I run below comand nothing will change right except the tail entry of hostname and port..right ?
Yes.


Please note : (7-mode) 'Ifconfig' command does not add entries in the /etc/rc file. The contents of the /etc/rc file is used only for the subsequent storage system reboots. Therefore, 'ifconfig' command is good to make changes while storage system is operating, however when the system reboots, it will only read the entries from the rc file. This the reason, there is so much emphasis on updating the rc file if you want the settings to be persistent.

View solution in original post

Re: node's interface(s) e0a do not have a failover partner interface defined in /etc/rc

Thank you so much

Re: node's interface(s) e0a do not have a failover partner interface defined in /etc/rc

Thanks for the update. You're welcome!

Re: node's interface(s) e0a do not have a failover partner interface defined in /etc/rc

Hi ,

can you please help me with command to take backup of rdfile

 

Re: node's interface(s) e0a do not have a failover partner interface defined in /etc/rc

I guess you mean 'rc' file (boot configuration file) 

 

All you need to do is : (7-mode only)

 

1) Either copy the 'rc' file itself,  if you have access to \\filer\c$

 

or,

 

2) Simply copy the content of this file, just copy it from ssh session:
ssh to filer:
filer>rdfile /etc/rc
copy the content to notepad. that's it.

 

Note: rc file default volume  is = /vol/vol0/etc/rc

Re: node's interface(s) e0a do not have a failover partner interface defined in /etc/rc

Thanks

Cloud Volumes ONTAP
Review Banner
All Community Forums
Public