Change pacemaker default no-quorum-policy to 'stop'
Currently we use 'ignore' policy which makes sense for 2-nodes clusters. Setting 'stop' policy makes sure that resources are stopped in affected cluster partition. Change-Id: I73dd5670713d0b6f93482ee1d7a14bac7e68ce1f
This commit is contained in:
parent
0d1aaccb48
commit
107abfa36a
|
@ -3,7 +3,7 @@
|
|||
set -eu
|
||||
|
||||
if os-is-bootstrap-host; then
|
||||
QUORUM_POLICY=$(os-apply-config --key pacemaker.quorum_policy --type raw --key-default ignore)
|
||||
QUORUM_POLICY=$(os-apply-config --key pacemaker.quorum_policy --type raw --key-default stop)
|
||||
RECHECK_INTERVAL=$(os-apply-config --key pacemaker.recheck_interval --type raw --key-default 5)
|
||||
STONITH_ENABLED=$(os-apply-config --key pacemaker.stonith_enabled --type raw --key-default false)
|
||||
|
||||
|
|
Loading…
Reference in New Issue