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

JiaQiang Xu xjqkilling at gmail.com
Thu Nov 10 07:01:34 EST 2011


2011/11/10 Andreas Kurz <andreas at 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




More information about the Pacemaker mailing list