Sun Microsystems, Inc.
spacerspacer
spacer www.sun.com docs.sun.com |
spacer
black dot
 
 
3.  Shutting Down and Booting a Cluster Shutting Down and Booting a Cluster Overview How to Boot a Cluster  Previous   Contents   Next 
   
 

Example--Booting a Cluster

The following example shows the console output when booting node phys-schost-1 into the cluster. Similar messages appear on the consoles of the other nodes in the cluster.

ok boot
Rebooting with command: boot 
...
Hostname: phys-schost-1
Booting as part of a cluster
NOTICE: Node 1 with votecount = 1 added.
NOTICE: Node 2 with votecount = 1 added.
NOTICE: Node 3 with votecount = 1 added.
...
NOTICE: Node 1: attempting to join cluster
...
NOTICE: Node 2 (incarnation # 937690106) has become reachable.
NOTICE: Node 3 (incarnation # 937690290) has become reachable.
NOTICE: cluster has reached quorum.
NOTICE: node 1 is up; new incarnation number = 937846227.
NOTICE: node 2 is up; new incarnation number = 937690106.
NOTICE: node 3 is up; new incarnation number = 937690290.
NOTICE: Cluster members:   1  2  3
...

ProcedureHow to Reboot a Cluster

Run the scshutdown(1M) command to shut down the cluster, then boot the cluster with the boot(1M) command on each node.

  1. (Optional). For a cluster that is running Oracle Parallel Server/Real Application Clusters, shut down all instances of the database.

    Refer to the Oracle Parallel Server/Real Application Clusters product documentation for shutdown procedures.

  2. Become superuser on any node in the cluster.

  3. Shut down the cluster to OBP.

    From a single node in the cluster, type the following command.

    # scshutdown -g0 -y 

    Each node is shut down to the ok prompt.


    Note - Cluster nodes must have a working connection to the cluster interconnect to attain cluster membership.


  4. Boot each node.

    The order in which the nodes are booted does not matter unless you make configuration changes between shutdowns. If you make configuration changes between shutdowns, start the node with the most current configuration first.

    ok boot

    Messages appear on the booted nodes' consoles as cluster components are activated.

  5. Verify that the nodes booted without error and are online.

    The scstat command reports the nodes' status.
    # scstat -n


    Note - If a cluster node's /var file system fills up, Sun Cluster might not be able to restart on that node. If this problem arises, see How to Repair a Full /var File System.


Example--Rebooting a Cluster

The following example shows the console output when stopping normal cluster operation, bringing down all nodes to the ok prompt, then restarting the cluster. The -g 0 option sets the grace period to zero, -y provides an automatic yes response to the confirmation question. Shutdown messages also appear on the consoles of other nodes in the cluster.

# scshutdown -g0 -y
May 2 10:08:46 phys-schost-1 cl_runtime: 
WARNING: CMM monitoring disabled.
phys-schost-1# 
INIT: New run level: 0
The system is coming down.  Please wait.
...
The system is down.
syncing file systems... done
Program terminated
ok boot
Rebooting with command: boot 
...
Hostname: phys-schost-1
Booting as part of a cluster
...
NOTICE: Node 1: attempting to join cluster
...
NOTICE: Node 2 (incarnation # 937690106) has become reachable.
NOTICE: Node 3 (incarnation # 937690290) has become reachable.
NOTICE: cluster has reached quorum.
...
NOTICE: Cluster members:   1  2  3
...
NOTICE: Node 1: joined cluster
...
The system is coming up.  Please wait.
checking ufs filesystems
...
reservation program successfully exiting
Print services started.
volume management starting.
The system is ready.
phys-schost-1 console login:
NOTICE: Node 1: joined cluster
...
The system is coming up.  Please wait.
checking ufs filesystems
...
reservation program successfully exiting
Print services started.
volume management starting.
The system is ready.
phys-schost-1 console login: 

Shutting Down and Booting a Single Cluster Node


Note - Use the scswitch(1M) command in conjunction with the Solaris shutdown(1M) command to shut down an individual node. Use the scshutdown command only when shutting down an entire cluster.


Table 3-2 Task Map: Shutting Down and Booting a Cluster Node

Task

For Instructions

Stop a cluster node

    - Use scswitch(1M) and shutdown(1M)

How to Shut Down a Cluster Node

Start a node

The node must have a working connection to the cluster interconnect to attain cluster membership.

How to Boot a Cluster Node

Stop and restart (reboot) a cluster node

    - Use scswitch and shutdown

The node must have a working connection to the cluster interconnect to attain cluster membership.

How to Reboot a Cluster Node

Boot a node so that the node does not participate in cluster membership

    - Use scswitch and shutdown, then boot -x

How to Boot a Cluster Node in Non-Cluster Mode

 
 
 
  Previous   Contents   Next