[Pacemaker] clear failcount when monitor is successful?

Johan Huysmans johan.huysmans at inuits.be
Wed Apr 24 02:35:29 EDT 2013


I tried the failure-timeout.
But I noticed that when the failure-timeout resets the failcount the 
resource becomes OK in the crm_mon view.
However the resource is still failing.

This shouldn't happen, Can this behaviour be changed with some setting?

gr.
Johan


On 24-04-13 07:23, Andrew Beekhof wrote:
> On 23/04/2013, at 11:24 PM, Johan Huysmans <johan.huysmans at inuits.be> wrote:
>
>> Hi All,
>>
>> I have a cloned resource, running on my both nodes, my on-fail is set to block.
>> So if the resource fails on a node the failcount increases, but whenever the resource automatically recovers the failcount isn't reset.
>>
>> Is there a way to reset the failcount to 0, when the monitor is successful?
>
> No, but you can expire them after a period of time.
> _______________________________________________
> 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://bugs.clusterlabs.org





More information about the Pacemaker mailing list