6.14.3. Configuring a Two-Node Cluster
If you are configuring a two-node cluster, you can execute the following command to allow a single node to maintain quorum (for example, if one node fails):
ccs -h host --setcman two_node=1 expected_votes=1
Note that this command resets all other properties that you can set with the
--setcman
option to their default values, as described in Section 6.1.5, “Commands that Overwrite Previous Settings”.
When you use the
ccs --setcman
command to add, remove, or modify the two_node
option, you must restart the cluster for this change to take effect. For information on starting and stopping a cluster with the ccs
command, see Section 7.2, “Starting and Stopping a Cluster”.