7.2. Starting and Stopping a Cluster
You can use the
ccs
command to stop a cluster by using the following command to stop cluster services on all nodes in the cluster:
ccs -h host --stopall
You can use the
ccs
command to start a cluster that is not running by using the following command to start cluster services on all nodes in the cluster:
ccs -h host --startall
When you use the
--startall
option of the ccs
command to start a cluster, the command automatically enables the cluster resources. For some configurations, such as when services have been intentionally disabled on one node to disable fence loops, you may not want to enable the services on that node. As of Red Hat Enterprise Linux 6.6 release, you can use the --noenable
option of the ccs --startall
command to prevent the services from being enabled:
ccs -h host --startall --noenable