Installation guide

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 --no enable
option of the ccs --startal l command to prevent the services from being enabled:
ccs -h host --startall --noenable
6.3. Diagnosing and Correct ing Problems in a Clust er
For information about diagnosing and correcting problems in a cluster, see Chapter 9, Diagnosing
and Correcting Problems in a Cluster. There are a few simple checks that you can perform with the ccs
command, however.
To verify that all of the nodes specified in the host's cluster configuration file have identical cluster
configuration files, execute the following command:
ccs -h host --checkconf
If you have created or edited a configuration file on a local node, you can verify that all of the nodes
specified in the local file have identical cluster configuration files with the following command:
ccs -f file --checkconf
Chapt er 6 . Managing Red Hat High Availabilit y Add- O n Wit h ccs
103