How to change Solaris hostname in VCS and VxVM
Posted on March 25th, 2010
Reference: http://support.veritas.com/docs/259766
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
5. On one node in the cluster, issue the command hasys -force
Filed under Veritas Cluster, Veritas SF | No Comments »
Propagating a specific configuration in VCS
Posted on March 12th, 2010
1. Stop VCS on all systems in the cluster and leave applications running.
hastop -all -force
2. Start VCS stale on all other systems.
hastart -stale
The -stale option caauses these systems to wait until a running configuration is available from which they can build.
3. Start VCS on the system with the main.cf that you are propogating
hastart
Filed under Veritas Cluster | No Comments »