Sun Cluster System Administration Guide for Solaris OS

ProcedureHow to Change the Private Hostname on a Non-Voting Node on a Global Cluster

Use this procedure to change the private hostname of a non-voting node after installation has been completed.

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.

Caution – Caution –

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.

  1. 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.

  2. Run the clsetup(1CL) utility to change the private hostname of the appropriate non-voting node on the global cluster.

    phys-schost# clsetup

    You need to perform this step only from one of the nodes in the cluster.

    Note –

    When selecting a new private hostname, ensure that the name is unique to the cluster.

  3. Type the number that corresponds to the option for private hostnames and press the Return key.

  4. 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.

  5. 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.

  6. 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
  7. Enable all data service resources and other applications that were disabled in Step 1.