10.3. Modifying Quorum Options (Red Hat Enterprise Linux 7.3 and later)
As of Red Hat Enterprise Linux 7.3, you can modify general quorum options for your cluster with the
pcs quorum updatecommand. You can modify the
quorum.expected_votesoptions on a running system. For all other quorum options, executing this command requires that the cluster be stopped. For information on the quorum options, see the
votequorum(5) man page.
The format of the
pcs quorum updatecommand is as follows.
pcs quorum update [auto_tie_breaker=[0|1]] [last_man_standing=[0|1]] [last_man_standing_window=[time-in-ms] [wait_for_all=[0|1]]
The following series of commands modifies the
wait_for_allquorum option and displays the updated status of the option. Note that the system does not allow you to execute this command while the cluster is running.
pcs quorum update wait_for_all=1Checking corosync is not running on nodes... Error: node1: corosync is running Error: node2: corosync is running [root@node1:~]#
pcs cluster stop --allnode2: Stopping Cluster (pacemaker)... node1: Stopping Cluster (pacemaker)... node1: Stopping Cluster (corosync)... node2: Stopping Cluster (corosync)... [root@node1:~]#
pcs quorum update wait_for_all=1Checking corosync is not running on nodes... node2: corosync is not running node1: corosync is not running Sending updated corosync.conf to nodes... node1: Succeeded node2: Succeeded [root@node1:~]#
pcs quorum configOptions: wait_for_all: 1