How to change a host name for both VERITAS Cluster Server (tm) and VERITAS Volume Manager (tm)

Article:TECH94036  |  Created: 2003-01-30  |  Updated: 2005-01-01  |  Article URL http://www.symantec.com/docs/TECH94036
Article Type
Technical Solution

Product(s)

Environment

Issue



How to change a host name for both VERITAS Cluster Server (tm) and VERITAS Volume Manager (tm)

Solution



1.  Stop Cluster Server and all Cluster Server-monitored resources:
# hastop -all

2.  Replace the old host name with the new host name in the following files on the appropriate systems:
/etc/hosts
/etc/nodename
/etc/llthosts
/etc/llttab
/etc/ticlts/hosts
/etc/ticots/hosts
/etc/ticotsord/hosts
/etc/hostname.xxxY <where xxxY is the approprite NIC device>
/etc/VRTSvcs/conf/sysname
/etc/VRTSvcs/conf/config/main.cf

Bear in mind that all the /etc/hosts files, host name.xxxY file, and /etc/nodename must contain the same value in order for Solaris to accept the new host name.

3.  Reboot - note that Cluster Server will not start on the systems - it will end up with all nodes in STALE_ADMIN_WAIT.  This is expected.

4.  When the system is back up, on all nodes, execute the command vxdctl init <new system name> - this will change the system name from the Volume Manager point of view.

5.  On one node in the cluster, issue the command hasys -force <new system name> - this will force Cluster Server to accept the configuration.  At that point,  all nodes in the cluster should build their configuration from that node.



Legacy ID



259766


Article URL http://www.symantec.com/docs/TECH94036


Terms of use for this information are found in Legal Notices