[Pacemaker] Designated reaction of Pacemaker to monitor-op returning rc=7 (OCF_NOT_RUNNING)

Dejan Muhamedagic dejanmm at fastmail.fm
Wed Aug 25 10:00:09 EDT 2010


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, followed by start, either on the same node or
on another depending on the migration-threshold setting and

> 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.



> 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

More information about the Pacemaker mailing list