If you want to shut down the entire cluster with the least risk to your file systems, use the Solaris shutdown command.
However, if you prefer to stop and restart the CRE without shutting down the entire cluster, the CRE supports a pair of scripts that simplify this process:
sunhpc.cre_master - Use this command to stop or start the CRE master daemons as described on "Start the CRE Daemons" and "Stopping and Restarting the CRE".
sunhpc.cre_node - Use this command to stop or start the CRE nodal daemons as described on "Start the CRE Daemons" and "Stopping and Restarting the CRE".
To shut down only the CRE daemons, execute the following commands as root:
Stop all the nodal daemons by executing the following on all the nodes.
Note that you can simplify this step by using one of the CCM tools (cconsole, ctelnet, or crlogin) to broadcast the following command entered on the master node to all the other nodes.
# /etc/init.d/sunhpc.cre_node stop
# /etc/init.d/sunhpc.cre_master stop
Be sure to stop the nodal daemons before stopping the master daemons. Otherwise, if you shut the master node down before shutting down the rest of the nodes, the CCM tools will not be available and you will have to shut down each node individually.
sunhpc.cre_node and sunhpc.cre_master behave differently when executing a stop command:
sunhpc.cre_master stops all processes that have been spawned by the CRE before killing the daemons.
sunhpc.cre_node does not kill user processes. Consequently, client daemons can be restarted without affecting running jobs.
Execute the following commands on the master node:
# /etc/init.d/sunhpc.cre_master start
# /etc/init.d/sunhpc.cre_node start
Always bring up the master daemons first (before the nodal daemons). Otherwise, the nodal daemons will not be initialized properly and the CRE will not work.
When the sunhpc.cre_master and sunhpc.cre_node programs are executed with start commands, they both initiate a stop command on all currently running daemons before restarting the CRE daemons.