Sun Cluster System Administration Guide for Solaris OS

ProcedureHow to Change the Cluster Name

If necessary, you can change the cluster name after initial installation.

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. Become superuser on any node in the global cluster.

  2. Start the clsetup utility.

    phys-schost# clsetup

    The Main Menu is displayed.

  3. To change the cluster name, type the number that corresponds to the option for Other Cluster Properties.

    The Other Cluster Properties menu is displayed.

  4. Make your selection from the menu and follow the onscreen instructions.

  5. If you want the service tag for Sun Cluster to reflect the new cluster name, delete the existing Sun Cluster tag and restart the cluster. To delete the Sun Cluster service tag instance, complete the following substeps on all nodes in the cluster.

    1. List all of the service tags.

      phys-schost# stclient -x
    2. Find the Sun Cluster service tag instance number, then run the following command.

      phys-schost# stclient -d -i service_tag_instance_number
    3. Reboot all the nodes in the cluster.

      phys-schost# reboot

Example 9–1 Changing the Cluster Name

The following example shows the cluster(1CL) command generated from the clsetup(1CL) utility to change to the new cluster name, dromedary.

phys-schost# cluster -c dromedary