[Pacemaker] How to send async failure notification from RA to CRM ?

Andrew Beekhof beekhof at gmail.com
Thu Jul 24 05:37:08 EDT 2008


On Thu, Jul 24, 2008 at 08:51, Xinwei Hu <hxinwei at gmail.com> wrote:
> Hi all,
>
>  I'm trying to move "monitor" operation from RA into the application
> itself. And, as far as I remember, we can send out failure
> notification to CRM directly in current pacemaker. Am I right about
> this ? And are there any reference to that ? Either source code or
> document will do ;)

crm_resource -F will do the trick

or look for fail_lrm_rsc() in crm_resource.c if you want to do it in C

>
>  Thanks.
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at clusterlabs.org
> http://list.clusterlabs.org/mailman/listinfo/pacemaker
>




More information about the Pacemaker mailing list