Private host names are assigned during initial cluster installation. The private hostname takes the form clusternode< nodeid>-priv, for example: clusternode3-priv . Change a private hostname only if the name is already in use in the domain.
Do not attempt to assign IP addresses to new private hostnames. The clustering software assigns them.
The phys-schost# prompt reflects a global-cluster prompt. Perform this procedure on a global cluster.
This procedure provides the long forms of the Sun Cluster commands. Most commands also have short forms. Except for the long and short forms of the command names, the commands are identical. For a list of the commands and their short forms, see Appendix B, Sun Cluster Object-Oriented Commands.
On all nodes in the global cluster, disable any data service resources or other applications that might cache private host names.
phys-schost# clresource disable resource1, resource2
Include the following in the applications you disable.
HA-DNS and HA-NFS services, if configured
Any application that has been custom-configured to use the private hostname
Any application that is being used by clients over the private interconnect
For information about using the clresource command, see the clresource(1CL) man page and the Sun Cluster Data Services Planning and Administration Guide for Solaris OS.
Run the clsetup(1CL) utility to change the private hostname of the appropriate non-voting node on the global cluster.
You need to perform this step only from one of the nodes in the cluster.
When selecting a new private hostname, ensure that the name is unique to the cluster.
Type the number that corresponds to the option for private hostnames and press the Return key.
Type the number that corresponds to the option for adding a zone private hostname and press the Return key.
No default exists for a non-voting node of a global cluster's private hostname. You need to provide a hostname.
Type the number that corresponds to the option for changing a zone private hostname.
Answer the questions when prompted. You are asked for the name of the non-voting node whose private hostname is being changed (clusternode< nodeid>-priv), and the new private hostname.
Flush the name service cache.
Perform this step on each node in the cluster. Flushing prevents the cluster applications and data services from trying to access the old private hostname.
phys-schost# nscd -i hosts
Enable all data service resources and other applications that were disabled in Step 1.