O'Reilly logo

CentOS High Availability by Mitja Resman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 configuration
  • expected_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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required