[Pacemaker] Designated reaction of Pacemaker to monitor-op returning rc=7 (OCF_NOT_RUNNING)
Andrew Beekhof
andrew at beekhof.net
Thu Aug 26 06:20:46 UTC 2010
On Wed, Aug 25, 2010 at 4:00 PM, Dejan Muhamedagic <dejanmm at fastmail.fm> wrote:
> Hi,
>
> On Tue, Aug 24, 2010 at 05:19:23PM +0200, Cnut Jansen wrote:
>> Hi,
>>
>> just (for now) a short question for to make sure I didn't miss anything:
>> What's the designated reaction of Pacemaker when a resource agents
>> called for monitoring a resource, which is supposed to run and thus
>> resulting in a return of 0 (OCF_SUCCESS), returns 7 (OCF_NOT_RUNNING)?
>> Shall Pacemaker's very next call be for stopping the resource or shall
>> it be yet another (or even several) monitorings?
>
> It should be stop,
No, for rc=7 you wont get a stop... the RA just told us it was already
safely stopped.
> followed by start, either on the same node or
> on another depending on the migration-threshold setting and
> failcount.
>
>> Or are there various designated reactions to this case, depending on
>> various conditions or something?
>
> This is the default. You can change it by setting the "on-fail"
> attribute for the monitor (or any other) operation.
>
> Thanks,
>
> Dejan
>
>> Cnut Jansen
>>
>>
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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
>
More information about the Pacemaker
mailing list