27.2. 쿼럼 옵션 수정
pcs quorum update 명령을 사용하여 클러스터의 일반 쿼럼 옵션을 수정할 수 있습니다. 이 명령을 실행하려면 클러스터를 중지해야 합니다. 쿼럼 옵션에 대한 자세한 내용은 시스템의 votequorum(5) 매뉴얼 페이지를 참조하십시오.
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 쿼럼 옵션을 수정하고 옵션의 업데이트된 상태를 표시합니다. 클러스터가 실행되는 동안 시스템에서 이 옵션을 수정할 수 없습니다.
프로세스
실행 중인 시스템에서
wait_for_all쿼럼 옵션을 수정합니다.[root@node1:~]# pcs quorum update wait_for_all=1Checking corosync is not running on nodes... Error: node1: corosync is running Error: node2: corosync is running클러스터 프로세스를 중지하여
wait_for_all쿼럼 옵션을 수정합니다.[root@node1:~]# pcs cluster stop --allnode2: Stopping Cluster (pacemaker)... node1: Stopping Cluster (pacemaker)... node1: Stopping Cluster (corosync)... node2: Stopping Cluster (corosync)...중지된 시스템에서
wait_for_all쿼럼 옵션을 수정합니다.[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