Sun Cluster 2.2 System Administration Guide

3.2.1 How to Change the Name of a Cluster Node

  1. Find the names of the current cluster nodes.

    You can run the scconf -p command on any node that is an active cluster member.

    # scconf clustername -p 
     Current Configuration for Cluster clustername:
            Hosts in cluster: phys-hahost1 phys_hahost2 phys-hahost3
            Private Network Interfaces for
                phys-hahost1: be0 be1
                phys-hahost2: be0 be1
                phys-hahost3: hme0 hme1
  2. Run the scconf -h command on all nodes in the cluster.

    Run the scconf(1M) command on all nodes. See the scconf(1M) man page for details.

    # scconf -h clustername hostname0 [...hostname3] 
    

    The new node names should be specified in the order shown by the scconf -p command. For example, to change the name of phys-hahost3 to phys-opshost1, you would run the following command on all cluster nodes.

    # scconf -h sccluster phys-hahost1 phys-hahost2 phys-opshost1