hello, 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 > OCF_ERR_GENERIC. > 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. Regards, Andreas -- Need help with Pacemaker? http://www.hastexo.com/now > > Thanks a lot, > Jiaqiang > > _______________________________________________ > Pacemaker mailing list: Pacemaker@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
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Pacemaker mailing list: Pacemaker@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