Sun Cluster 2.2 System Administration Guide

4.1.1 How to Start the Cluster

It is important that no other nodes are running the cluster software at this time. If this node detects that another cluster node is active, the local node aborts.

  1. Start the first node of the cluster by using the scadmin(1M) command.

    # scadmin startcluster localnode clustername
    

    The startcluster option does not run if localnode does not match the name of the node on which the command runs. See the scadmin(1M) man page for details.

    For example:

    phys-hahost1# scadmin startcluster phys-hahost1 haclust
     Node specified is phys-hahost1
     Cluster specified is haclust
    
     =========================== WARNING============================
     =                     Creating a new cluster 	 	 	 	 	 	 	 	 	=
     ===============================================================
    
     You are attempting to start up the cluster node 'phys-hahost1' 
     as the only node in a new cluster.  It is important that no 
     other cluster nodes be active at this time.  If this node hears 
     from other cluster nodes, this node will abort. Other nodes may 
     only join after this command has completed successfully.  Data 
     corruption may occur if more than one cluster is active.
    
    
     Do you want to continue [y,n,?] y
    

    If you receive a reconfig.4013 error message, then either there is already a node in a cluster, or another node is still in the process of going down. Run the get_node_status(1M) command on the node that might be up to determine that node's status.

  2. Add all other nodes to the cluster.

    Run the following command on all other nodes. This command can be run on multiple nodes at the same time.

    # scadmin startnode
    

    If you receive the following reconfig.4015 error message, there might be no existing cluster. Restart the cluster by using the scadmin startcluster localnode command.

    SUNWcluster.clustd.reconf.4015
     "Aborting--no existing or intact cluster to join."

    Alternately, there may be a partition or node failure. (For example, a third node is attempting to join a two-node cluster when one of the two nodes fails.) If this happens, wait until the failures have completed. Fix the problems, if any, and then attempt to rejoin the cluster.

    If any required software packages are missing, the command fails and the console displays a message similar to the following:

    Assuming a default cluster name of haclust
     Error: Required SC package `SUNWccm' not installed!
     Aborting cluster startup.

    For information on installing the Sun Cluster software packages, refer to the Sun Cluster 2.2 Software Installation Guide.