diff options
author | Steve Baker <sbaker@redhat.com> | 2015-10-01 10:17:29 +1300 |
---|---|---|
committer | Steve Baker <sbaker@redhat.com> | 2015-10-01 15:40:55 +1300 |
commit | 77e8ec22a9cfa05c11a8654ce3a02c1bb3b4578f (patch) | |
tree | a0bb75435abc7d6202eb028b770673a87792b52b /extraconfig/pre_deploy | |
parent | 3fd199d8e7fa59979a0aff7d78cce61d6cd607a8 (diff) |
Force stop a single node pacemaker on yum update
Currently package updates won't occur on a single node
non-HA pacemaker managed Controller because stopping
the node loses the quorum of 1.
This change gets the count of current nodes in the cluster and
if the count is 1 then specify --force when doing a pcs cluster stop.
Change-Id: I0de2488e24f1ef53a935dbc90ec6de6142bb4264
Diffstat (limited to 'extraconfig/pre_deploy')
0 files changed, 0 insertions, 0 deletions