I see /etc/rc files configured in one of 2 ways.
ifconfig SAN01-61 `hostname`-iSCSIControl netmask 255.255.255.0 partner SAN02-61
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!
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.
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.
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.
Thank you for the insight, appreciate it.
Join our Discord Community