Things to do when you rename a host for lease return. You must be concerned if you move to a new hardware that you get a new veritas license. In this example, HOSTNAME and HOSTNAME-new change places (HOSTNAME-new becomes HOSTNAME, HOSTNAME becomes HOSTNAME-old). Check to make sure /usr/local/* is setup with needed files. If cluster node hastop -all on one cluster node vi /etc/VRTSvcs/conf/config/main.cf on other cluster nodes mv /etc/VRTSvcs/conf/config/main.cf \ /etc/VRTSvcs/conf/config/old_main.cf \ On HOSTNAME-new vi /etc/nodename #change to HOSTNAME vi /etc/hosts #change to HOSTNAME and change IP vi /etc/netmasks #make sure it is correct vi /etc/defaultrouter #make sure it is correct vi /etc/defaultdomain #make sure it is correct vi /etc/hostname.[le,eri,hme,ge]0 #change to HOSTNAME vi /etc/dumpadm.conf #change to HOSTNAME cd /var/crash; mv HOSTNAME-new HOSTNAME # the following edits 3 files vi /etc/net/*/hosts #change to HOSTNAME, use :w to write, :n to goto next file vi /etc/inet/ipnodes #if there and has hostname vi /usr/openv/netbackup/bp.conf #change hostname if VCS vi /etc/VRTSvcs/conf/sysname vi /etc/VRTSvcs/conf/config/main.cf vi /etc/llttab vi /etc/llthosts mv /var/crash/HOSTNAME-new /var/crash/HOSTNAME make note in web tool #state the date your moving node into production -Sync cron files - pay attention to: remote and any other non system cron file, otherwise you can ignore differences - but check ROOT anyhow, ignore lp -Sync up /etc/passwd, /etc/shadow -Sync up /export/home if it is local -Sync up /etc/mail/aliases if mailserver -Sync up /etc/nis if NISserver -Sync up /var/named if DNS Fix lp printers configs: see the jetadmin.faq on moving queues Do the exact opposite on HOSTNAME vi /etc/nodename #change to HOSTNAME-old vi /etc/hosts #change to HOSTNAME-old and change IP vi /etc/hostname.[le,hme,ge]0 #change to HOSTNAME vi /etc/net/*/hosts #change to HOSTNAME-old, use :w to write, :n to goto next file vi /usr/openv/netbackup/bp.conf #change hostname #stop cron - so jobs won't run kill -9 `ps -ef | grep cron | grep -v grep | awk '{print $2}'` Shutdown both nodes init 0 Do a vxinstall if needed (depends on scenario) Log into DNS server and change DNS change HOSTNAME-new name entry (and reverse) to HOSTNAME-old edit both db.mydomain.com and db.X.X restartnamed -Change netbackup clients if they have changed policies -Redo any ssh for users that need it. -Relabel the physical name stickers on hosts. -Let the network team know of the change for HP OpenView up/down monitoring.