[Pacemaker] Question about OCF RA reload behaviour

Andrew Beekhof andrew at beekhof.net
Tue Oct 28 20:39:33 EDT 2014


> On 28 Oct 2014, at 6:07 pm, Felix Zachlod <fz.lists at sis-gmbh.info> wrote:
> 
> Hello folks,
> 
> 
> I just have one question about how a resource agent should behave on "reload" invoked if the resource is currently stopped. Should the resource be started or remain stopped?

I don't think that is defined. Certainly pacemaker wont trigger that case unless the resource fails between the reload command and the monitor operation immediately preceding it.

> I did not find anything about that in the documentation, in gernel there are not mant informations about "reload".
> 
> I just noticed that my resource remained up after testing it with ocf-tester and this was because I implemented it the way that it would be started if reloaded in stopped state and ocf-tester invokes reload as last action. So I wondered if this was correct?

It seems reasonable to me

> 
> 
> Thank you all in advance,
> regards, Felix
> 
> _______________________________________________
> 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