[Pacemaker] Can resource agents know the cause of stop action?
Andrew Beekhof
andrew at beekhof.net
Tue Jun 25 00:47:27 UTC 2013
On 24/06/2013, at 8:55 PM, Munehiro SATO <satoh-mxb at necst.nec.co.jp> wrote:
> Hi all,
>
> Can resource agents know the cause of stop action?
Not really, no.
>
> I want to know following situations in RA for my application(it's
> Master/Slave resource).
>
> * stop by "crm resource stop"
> In this case, my application shutdowns normally in stop action of RA.
>
> * stop by failure
> In this case, my application shutdowns with additional steps for failover
> if possible.
At this point you have no idea if the resource will even get started again.
>
> Do you have any ideas?
>
> Best regards,
> M.Sato
>
>
>
>
> _______________________________________________
> 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