Disable stonith temporarily during upgrades
authorMichele Baldessari <michele@acksyn.org>
Fri, 24 Jun 2016 19:07:27 +0000 (21:07 +0200)
committerMichele Baldessari <michele@acksyn.org>
Fri, 24 Jun 2016 19:08:34 +0000 (21:08 +0200)
commit257855082abd78ac81407b8b11f8325fab649e8c
treeecd823524e9647dda133fc51dec967099e0240b5
parentc93ba28a895a24c8cf14e6475a367152b35f35c4
Disable stonith temporarily during upgrades

It is best if we disable stonith if a cluster has it configured and on,
before we call "pcs cluster stop --all", because should a service fail
to stop for whatever reason, pacemaker will fence the node where it
happened. This is something that we unlikely want during an upgrade as
it will make things worse.

Once the cluster is stopped we can reenable stonith (if it was enabled
to start with) in the CIB while the cluster is shut down.

Closes-Bug: #1596065

Change-Id: I38dcacfabc44539aab1f7da85168fe44a1b43a51
extraconfig/tasks/major_upgrade_controller_pacemaker_1.sh