[ClusterLabs] Using pacemaker for manual failover only?

Stephano-Shachter, Dylan dstathis at seas.harvard.edu
Mon May 23 15:03:10 EDT 2016


I am using pacemaker 1.1.14 with pcs 0.9.149. I have successfully
configured pacemaker for highly available nfs with drbd. Pacemaker allows
me to easily failover without interrupting nfs connections. I, however, am
only interested in failing over manually (currently I use "pcs resource
move <drbd_rsc> <target_node> --master"). I would like for the cluster to
do nothing when a node fails unexpectedly.

Right now the solution I am going with is to run
"pcs property set is-managed-default=no"
until I need to failover, at which point I set is-managed-default=yes, then
failover, then set it back to no.

While this method works for me, it can be unpredictable if people run move
commands at the wrong time.

Is there a way to disable automatic failover permanently while still
allowing manual failover (with "pcs resource move" or with something else)?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20160523/b956cd2e/attachment-0002.html>

More information about the Users mailing list