Sun Cluster 3.0 System Administration Guide

2.1.1 How to Shut Down a Cluster

  1. (Optional). For a cluster running Oracle Parallel Server (OPS), shut down all OPS database instances.

    Refer to the Oracle Parallel Server product documentation for shutdown procedures.

  2. Become superuser on a node in the cluster.

  3. Shut down the cluster immediately by using the scshutdown(1M) command.

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


    # scshutdown -g 0 -y
    
  4. Verify that all nodes have reached the ok PROM prompt.

  5. If necessary, power off the nodes.

2.1.1.1 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 -g 0 -y
Sep  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 

2.1.1.2 Where to Go From Here

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