2011/11/10 Andreas Kurz <andr...@hastexo.com>:
> 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.

Thanks very much!
I think this is why I saw the resource get restarted.

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

Reply via email to