26.2. Modifying quorum options
You can modify general quorum options for your cluster with the pcs quorum update command. Executing this command requires that the cluster be stopped. For information on the quorum options, see the votequorum(5) man page on your system.
The format of the pcs quorum update command 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 example procedure modifies the wait_for_all quorum option and displays the updated status of the option. Note that the system does not allow you to modify this option while the cluster is running.
Procedure
Attempt to modify the
wait_for_allquorum option on a running system.[root@node1:~]# pcs quorum update wait_for_all=1 Checking corosync is not running on nodes... Error: node1: corosync is running Error: node2: corosync is runningStop the cluster processes to modify the
wait_for_allquorum option.[root@node1:~]# pcs cluster stop --all node2: Stopping Cluster (pacemaker)... node1: Stopping Cluster (pacemaker)... node1: Stopping Cluster (corosync)... node2: Stopping Cluster (corosync)...Modify the
wait_for_allquorum option on a stopped system.[root@node1:~]# pcs quorum update wait_for_all=1 Checking 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: SucceededDisplay the quorum configuration
[root@node1:~]# pcs quorum config Options: wait_for_all: 1