ONTAP Hardware

Help needed: FAS940 loosing TCP/IP settings upon reboot

aldikan11
5,156 Views

Hi Guys,

 

I would really appreciate some help here.

 

I have 2 clustered FAS940s with software version 7.2.6.1

If I reboot either of these, IP address will be lost and I have to re-enter.

 

I don't believe this happened when software was at 7.2.5 level,

 

 

Any ideas why this is happening?

 

Thank you,

 

Alex

7 REPLIES 7

amiller_1
5,156 Views

Check your /etc/rc file as that's where VIF/IP info is stored -- "rdfile /etc/rc" on the filer console or get in via CIFS.

If you don't have the correct lines in there, you can rerun "setup" from the console (note the warnings about which files get reset) or can edit /etc/rc manually to add the correct lines.

aldikan11
5,156 Views

Hi Andrew,

Thank you for reply,

I checked the file and attached the screenshot,

I do not see IP address reference for e11a interface (this is the one that supposed to have it),

Please check attached file and let me know how should I modify it,

(Thing is, that I checked working good production storage and I do not see interface IP in this file either...),

Thanks,

Alex

amiller_1
5,156 Views

You're right....and I was typing too fast. /etc/rc is where VIFs are defined.

If you know what the settings should be on the box, "setup" from the console would be the easiest way to fix it (walks through you a script with options to leave existing settings in place and/or change them).

If this is a critical box, I would recommend calling support though.

aldikan11
5,156 Views

Hi Andrew,

Thank you,

Your suggestion to run "setup" seems to fix the problem,

I rebooted both heads a few times and they do keep TCP/IP addresses now.

(Wish I could find out why they were loosing settings before.., oh well)

Thanks again!

Alex

amiller_1
5,156 Views

Great....glad to hear that did the trick.

peterl
5,156 Views

Hi Guys

The bit where it says `hostname`-e11 in /etc/rc means "get the hostname and stick -e11 on the end then look that up in /etc/hosts". As with Unix/Linux, in certain places ONTAP allows command substitution. So, you need to look at both /etc/rc and /etc/hosts.

This is the default behaviour for ONTAP. You can also use IP addresses directly in /etc/rc.

Share and enjoy!

Peter

VIRTUALLYMIKEB
5,156 Views

Hey ya'll,

Thanks for explanation of the 'hostname' variable in the /etc/rc file.  I was wondering about that.  Running the DOT simulator, my IPs were also not surviving reboots.  Turns out this post led me to my answer.  I had changed interface group names (from ifgroup to ifgrp) and didn't change the /etc/hosts file to match that which was in the /etc/rc file.

Thanks,

Mike

http://VirtuallyMikeBrown.com


Public