Subscribe

What is the difference when configuring /etc/rc files?

I see /etc/rc files configured in one of 2 ways.

Either:

ifconfig SAN01-61 `hostname`-iSCSIControl netmask 255.255.255.0 partner SAN02-61

Or:

ifconfig SAN01-61 10.16.xx.xx netmask 255.255.255.0 partner SAN02-61

Is there a particular reason to use one or the other?  I find it easier to use the IP address.  Thanks!

Re: What is the difference when configuring /etc/rc files?

Both works.ONTAP adds a name to each interface in the format hostname-interface  in /etc/hosts file that might be the reason for the default rc file entry format.

Not aware of any specific reason.

Re: What is the difference when configuring /etc/rc files?

i like to use the first because I can copy paste into both controllers

but yes, both will work. you have to have your hosts file populated in order to use the first method.

Re: What is the difference when configuring /etc/rc files?

The former is created by initial setup and I believe when you use FilerView (not sure about System Manager). There is really no technical reasons to prefer one over another.

Re: What is the difference when configuring /etc/rc files?

Thank you for the insight, appreciate it.