From 107abfa36a9a13115203b8b7db990cbe678e5880 Mon Sep 17 00:00:00 2001 From: Jan Provaznik Date: Wed, 3 Sep 2014 13:34:37 +0200 Subject: [PATCH] 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 --- .../os-refresh-config/post-configure.d/16-base-opts-pacemaker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elements/pacemaker/os-refresh-config/post-configure.d/16-base-opts-pacemaker b/elements/pacemaker/os-refresh-config/post-configure.d/16-base-opts-pacemaker index b5cc7ce54..ec697c25d 100755 --- a/elements/pacemaker/os-refresh-config/post-configure.d/16-base-opts-pacemaker +++ b/elements/pacemaker/os-refresh-config/post-configure.d/16-base-opts-pacemaker @@ -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)