Sun Microsystems
Products & Services
 
Support & Training
 
 

Previous Previous     Contents     Index     Next Next
Chapter 3

Shutting Down and Booting a Cluster

This chapter provides the procedures for shutting down and booting a cluster and individual cluster nodes.

For a high-level description of the related procedures in this chapter, see Table 3-1 and Table 3-2.

Shutting Down and Booting a Cluster Overview

The Sun Cluster scshutdown(1M) command stops cluster services in an orderly fashion and cleanly shuts down the entire cluster. You might do use the scshutdown command when moving the location of a cluster. You can also use the command to shut down the cluster if you have data corruption caused by an application error.


Note - Use the scshutdown command instead of the shutdown or halt commands to ensure proper shutdown of the entire cluster. The Solaris shutdown command is used with the scswitch(1M) command to shut down individual nodes. See How to Shut Down a Cluster or Shutting Down and Booting a Single Cluster Node for more information.


The scshutdown command stops all nodes in a cluster by:

  1. Taking all running resource groups offline.

  2. Unmounting all cluster file systems.

  3. Shutting down active device services.

  4. Running init 0 and bringing all nodes to the OpenBoot™ PROM ok prompt on a SPARC based system or to a boot subsystem on an x86 based system. Boot subsystems are described in more detail in "Boot Subsystems" in System Administration Guide: Basic Administration.


Note - If necessary, you can boot a node in non-cluster mode so that the node does not participate in cluster membership. Non-cluster mode is useful when installing cluster software or for performing certain administrative procedures. See How to Boot a Cluster Node in Non-Cluster Mode for more information.


Table 3-1 Task List: Shutting Down and Booting a Cluster

Task

For Instructions

Stop the cluster

    -Use scshutdown(1M)

See How to Shut Down a Cluster

Start the cluster by booting all nodes.

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

See How to Boot a Cluster

Reboot the cluster

    - Use scshutdown

At the ok prompt or the Select (b)oot or (i)nterpreter prompt on the Current Boot Parameters screen, boot each node individually with the boot(1M) or the b command.

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

See How to Reboot a Cluster

ProcedureHow to Shut Down a Cluster


<b>Caution - </b> Caution - Do not use send brk on a cluster console to shut down a cluster node. The command is not supported within a cluster.


  1. SPARC: 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.

    From a single node in the cluster, type the following command.
    # scshutdown -g0 -y

  4. Verify that all nodes are showing the ok prompt on a SPARC based system or a Boot Subsystem on an x86 based system.

    Do not power off any nodes until all cluster nodes are at the ok prompt on a SPARC based system or in a Boot Subsystem on an x86 based system.

  5. If necessary, power off the nodes.

SPARC: Example--Shutting Down a Cluster

The following example shows the console output when stopping normal cluster operation and bringing down all nodes so that the ok prompt is shown. 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
Wed Mar 10 13:47:32 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 

x86: Example--Shutting Down a Cluster

The following example shows the console output when stopping normal cluster operation and bringing down all nodes. 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:32:57 phys-schost-1 cl_runtime: 
WARNING: CMM: Monitoring disabled.  
root@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)
failfasts already disabled on node 1
Print services already stopped.
May  2 10:33:13 phys-schost-1 syslogd: going down on signal 15
The system is down.
syncing file systems... done
Type any key to continue 

Previous Previous     Contents     Index     Next Next