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

  1. Attempt to modify the wait_for_all quorum 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 running
  2. Stop the cluster processes to modify the wait_for_all quorum option.

    [root@node1:~]# pcs cluster stop --all
    node2: Stopping Cluster (pacemaker)...
    node1: Stopping Cluster (pacemaker)...
    node1: Stopping Cluster (corosync)...
    node2: Stopping Cluster (corosync)...
  3. Modify the wait_for_all quorum 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: Succeeded
  4. Display the quorum configuration

    [root@node1:~]# pcs quorum config
    Options:
      wait_for_all: 1
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部