Two-node cluster configuration
As I said, the first option is to reconfigure your cluster to be quorate with only one active cluster node. To do so, you must edit the cluster.conf
configuration file and tell the cluster that you are running a two-node cluster configuration and the number of expected votes to reach quorum is 1
. You can achieve this by executing the following line:
<cman two_node="1" expected_votes="1"/>
Note
two_node="1"
: This parameter tells the cluster that it is running a two-node cluster configurationexpected_votes="1"
: This parameter is the number of votes expected for the cluster to be quorate
You can download an example two-node cluster.conf
configuration file from the cman-conf-2.txt
file from the code bundle.
Tip
You must always disable fencing in a two-node cluster configuration without a quorum disk in order to avoid fence race scenarios, where the two cluster nodes kill each other.