SHIFT

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


netappchangeip
Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
netappchangeip [2013/02/01 14:17]
sjoerd created
netappchangeip [2013/02/01 14:34]
sjoerd [Additional Configuration]
Line 1: Line 1:
 = Change NetApp Filer IP Address And Hostname = = Change NetApp Filer IP Address And Hostname =
-Changing the IP address of a NetApp filer is easy enough. The ONTAP operating system allows the use of the ifconfig command which is not that hard to use. What is a little bit harder is making sure the filer keeps working if it has a partner for failover functionality. My approach changes the IP address, the hostname and all other options I could find that are necessary to succesfully ​chanhe the IP information without a reboot. By editing the /etc/rc and the /etc/hosts files you can change the current configuration and make sure the changes are persistant ​over reboots. Afterwards a few settings need to change as well.+Changing the IP address of a NetApp filer is easy enough. The ONTAP operating system allows the use of the ifconfig command which is not that hard to use. What is a little bit harder is making sure the filer keeps working if it has a partner for failover functionality. My approach changes the IP address, the hostname and all other options I could find that are necessary to successfully ​chanhe the IP information without a reboot. By editing the /etc/rc and the /etc/hosts files you can change the current configuration and make sure the changes are persistent ​over reboots. Afterwards a few settings need to change as well.
  
 = Prepare And Backup = = Prepare And Backup =
  
-Before you contintue, make a backup of your current /etc/rc and /etc/hosts files. Simply print them to the screen using the rdfile command is enough so you can copy them to a text file in your own documentation. This is because you can't edit the files, you have to recreate them from scratch. Use the rdfile command like this:+Before you continue, make a backup of your current /etc/rc and /etc/hosts files. Simply print them to the screen using the rdfile command is enough so you can copy them to a text file in your own documentation. This is because you can't edit the files, you have to recreate them from scratch. Use the rdfile command like this:
  
 <​code>​ <​code>​
Line 103: Line 103:
 </​code>​ </​code>​
  
-> Note: The wrfile command requires a last empty line. When done use CTRL-C to save the file. Always use rdfile to check the files afterwards, and if the last line is missing you forgot to add the last empty line.+> Note: The wrfile command requires a last empty line. When done use CTRL+C to save the file. Always use rdfile to check the files afterwards, and if the last line is missing you forgot to add the last empty line.
  
 = Use Source To Reread the Configuration Files = = Use Source To Reread the Configuration Files =
Line 112: Line 112:
 = Additional Configuration = = Additional Configuration =
  
-There are now two more things to do. Although the confguration ​file hold a command to set the new default route, some old routing information could still be available. To see the route information issue {{{netstat -rn}}}. For more information about route information on a NetApp see [[netappaddroute]].+There are now two more things to do. Although the configuration ​file hold a command to set the new default route, some old routing information could still be available. To see the route information issue {{{netstat -rn}}}. For more information about route information on a NetApp see [[netappaddroute]].
 \\ \\
 Also, the partner was set in the rc file, but without a reboot you also need to set the option cf.hw_assist.partner.address:​ Also, the partner was set in the rc file, but without a reboot you also need to set the option cf.hw_assist.partner.address:​
Line 129: Line 129:
 cf partner cf partner
 cf monitor cf monitor
-<​code>​+</code>
  
 For more information on cf failover configuration see [[netappsetup#​Cluster_Failover|this article]] which describes the initial setup of a filer. For more information on cf failover configuration see [[netappsetup#​Cluster_Failover|this article]] which describes the initial setup of a filer.
netappchangeip.txt ยท Last modified: 2013/02/01 14:34 by sjoerd