27.2. クォーラムオプションの変更


pcs quorum update コマンドを使用して、クラスターの一般的なクォーラムオプションを変更できます。このコマンドを実行する場合は、クラスターを停止する必要があります。クォーラムオプションの詳細は、システムの votequorum(5) の man ページを参照してください。

pcs quorum update コマンドの形式は次のとおりです。

# 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]]

次の手順例では、wait_for_all クォーラムオプションを変更し、オプションの更新されたステータスを表示します。クラスターの実行中はこのオプションを変更できないことに注意してください。

手順

  1. 実行中のシステムで wait_for_all クォーラムオプションの変更を試みます。

    [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. wait_for_all クォーラムオプションを変更するために、クラスタープロセスを停止します。

    [root@node1:~]# pcs cluster stop --all
    node2: Stopping Cluster (pacemaker)...
    node1: Stopping Cluster (pacemaker)...
    node1: Stopping Cluster (corosync)...
    node2: Stopping Cluster (corosync)...
  3. 停止したシステムで wait_for_all クォーラムオプションを変更します。

    [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. クォーラム設定を表示します。

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

詳細情報

試用、購入および販売

コミュニティー

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

Red Hat ドキュメントについて

Legal Notice

Theme

© 2026 Red Hat
トップに戻る