Sun Cluster 3.0 12/01 System Administration Guide

2.2.1 How to Shut Down a Cluster Node


Caution - Caution -

Do not use send brk on a cluster console to shut down a cluster node. If you use send brk and then enter go at the ok prompt to reboot, the node will panic. This functionality is not supported within a cluster.


  1. If you are 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 the cluster node to be shut down.

  3. Switch all resource groups, resources, and device groups from the node being shut down to other cluster members.

    On the node to be shut down, type the following command.


    # scswitch -S -h nodelist
    

    -S

    Evacuates all device services and resource groups from the specified node.

    -h nodelist

    Specifies the node from which you are switching resource groups and device groups.

  4. Shut down the cluster node to OBP.

    On the node to be shut down, type the following command.


    # shutdown -g0 -y -i0
    

  5. Verify that the cluster node has reached the ok prompt.

  6. If necessary, power off the node.

2.2.1.1 Example--Shutting Down a Cluster Node

The following example shows the console output when shutting down node phys-schost-1. The -g0 option sets the grace period to zero, -y provides an automatic yes response to the confirmation question, and -i0 invokes run level 0 (zero). Shutdown messages for this node appear on the consoles of other nodes in the cluster.


# scswitch -S -h phys-schost-1
# shutdown -g0 -y -i0
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.
Notice: rgmd is being stopped.
Notice: rpc.pmfd is being stopped.
Notice: rpc.fed is being stopped.
umount: /global/.devices/node@1 busy
umount: /global/phys-schost-1 busy
The system is down.
syncing file systems... done
Program terminated
ok 

2.2.1.2 Where to Go From Here

See "2.2.2 How to Boot a Cluster Node" to restart a cluster node that has been shut down.