On 24/06/2013, at 8:55 PM, Munehiro SATO <satoh-...@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@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


_______________________________________________
Pacemaker mailing list: Pacemaker@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

Reply via email to