[Pacemaker] What's the default monitor on-fail action?

Andreas Kurz andreas at hastexo.com
Thu Nov 10 05:41:42 EST 2011


On 11/10/2011 10:29 AM, JiaQiang Xu wrote:
> Hi,
> I'm running pacemaker 1.0.9.
> I configured a resource and want it to be stopped if monitor returns
> But I found pacemaker tries to restart the resource if monitor fails.
> And if I configure monitor on-fail action to "stop" manually, the
> resource gets stopped on fail.
> As I read in "Pacemaker Configuration Explained" doc, the default
> on-fail action is "stop".
> Has the behavior changed in pacemaker?

IIRC it was always on-fail=restart for the monitor action.

> I configured resource A and B. And there is an order constraint from A -> B.
> Now I want resource B to be stopped on fail. Resource A is still
> running when B fails.
> Does this setting matters?

If your constraint looks like:

order first-A-then-B mandatory: A B

.. then A is not affected on stop of B.


Need help with Pacemaker?

> Thanks a lot,
> Jiaqiang
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 286 bytes
Desc: OpenPGP digital signature
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20111110/fff65b1b/attachment-0003.sig>

More information about the Pacemaker mailing list