Sun Cluster 3.1 System Administration Guide

How to Shut Down a Cluster


Caution – Caution –

Do not use send brk on a cluster console to shut down a cluster node. The command is not supported within a cluster. If you use send brk with the go at the ok prompt to reboot, the node panics.


  1. If your cluster is running Oracle® Parallel Server or 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 immediately to OBP.

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


    # scshutdown -g0 -y
    

  4. Verify that all nodes have reached the ok prompt.

    Do not power off any nodes until all cluster nodes are at the ok prompt.

  5. If necessary, power off the nodes.

Example—Shutting Down a Cluster

The following example shows the console output when stopping normal cluster operation and bringing down all nodes to the ok prompt. The -g 0 option sets the shutdown grace period to zero, -y provides an automatic yes response to the confirmation question. Shutdown messages also appear on the consoles of the 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.
System services are now being stopped.
/etc/rc0.d/K05initrgm: Calling scswitch -S (evacuate)
The system is down.
syncing file systems... done
Program terminated
ok 

Where to Go From Here

See How to Boot a Cluster to restart a cluster that has been shut down.