This section explains how to start Sun Cluster, based on the system configuration described below.
- Configuration example
- Cluster name: sun_cluster
- Configuration node: sc-node0sc-node1
Sun Cluster does not have a command for starting the entire cluster. The cluster at the first node is started, then other nodes are added to that cluster. First, scadmin(1M) is used to start the cluster of the master node.
[sc-node0] # scadmin startcluster sc-node0 sun_cluster
Node specified is sc-node0
Cluster specified is sun_cluster
=========================== WARNING =================================
= Creating a new cluster =
=====================================================================
You are attempting to start up the cluster node 'sc-node0' 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 |
Next, confirm that the master node has started, then add other nodes to the cluster.
[sc-node1] # scadmin startnode |
When all nodes have been started, use hastat(1M) to check the status of the entire cluster.
[sc-node1] # hastat
Getting Information from all the nodes ......
HIGH AVAILABILITY CONFIGURATION AND STATUS
-------------------------------------------
LIST OF NODES CONFIGURED IN <sun_cluster> CLUSTER
sc-node0 sc-node1
CURRENT MEMBERS OF THE CLUSTER
sc-node0 is a cluster member <-- Node has started.
sc-node1 not a cluster member <-- Node has not started. |
If startup fails, use /var/adm/messages and /var/opt/SUNWcluster/scadmin.log to check for errors.