[ClusterLabs] Is it possible to sign up for cluster events from Pacemaker?
Klaus Wenninger
kwenning at redhat.com
Mon Sep 26 14:33:40 CEST 2016
On 09/26/2016 02:29 PM, Kostiantyn Ponomarenko wrote:
> Correcting a typo.
> * the same -> I also was hoping to hear that I can do the same from
> c++ code.
There is no direct-API or so just the Agent-Interface.
But of course the Agent can be a binary compiled from c++ code
that communicates via some IPC with whoever.
Where you thinking of e.g. a DBus interface?
Klaus
>
> Thank you,
> Kostia
>
> On Mon, Sep 26, 2016 at 3:28 PM, Kostiantyn Ponomarenko
> <konstantin.ponomarenko at gmail.com
> <mailto:konstantin.ponomarenko at gmail.com>> wrote:
>
> Thanks for the answer.
>
> I also was hoping to hear that I can do the case from c++ code.
>
> Thank you,
> Kostia
>
> On Mon, Sep 26, 2016 at 1:59 PM, Klaus Wenninger
> <kwenning at redhat.com <mailto:kwenning at redhat.com>> wrote:
>
> On 09/26/2016 12:29 PM, Kostiantyn Ponomarenko wrote:
> > Hi,
> >
> > I am wondering if it is possible to sing up for cluster
> events from
> > Pacemaker? Something like:
> > - a node joins/leaves the cluster,
> > - a resource fails,
> > - a resources moves,
> > - etc.
> Sounds like a use case for the alerts-feature coming with
> pacemaker-1.1.15.
> You can configure alert-agents to be called in the cases
> mentioned.
> Meanwhile there should be high-level-tooling support from
> crmsh & pcs.
> Legacy features for a similar purpose are ClusterMon-RA &
> cluster-properties
> notification-agent/recipient.
> For further reading see:
> http://clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/ch07.html
> <http://clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/ch07.html>
>
> >
> > Thank you,
> > Kostia
> >
> >
> > _______________________________________________
> > Users mailing list: Users at clusterlabs.org
> <mailto:Users at clusterlabs.org>
> > http://clusterlabs.org/mailman/listinfo/users
> <http://clusterlabs.org/mailman/listinfo/users>
> >
> > Project Home: http://www.clusterlabs.org
> > Getting started:
> http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> <http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf>
> > Bugs: http://bugs.clusterlabs.org
>
>
>
> _______________________________________________
> Users mailing list: Users at clusterlabs.org
> <mailto:Users at clusterlabs.org>
> http://clusterlabs.org/mailman/listinfo/users
> <http://clusterlabs.org/mailman/listinfo/users>
>
> Project Home: http://www.clusterlabs.org
> Getting started:
> http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> <http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf>
> Bugs: http://bugs.clusterlabs.org
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://clusterlabs.org/pipermail/users/attachments/20160926/b08baa7b/attachment-0001.html>
More information about the Users
mailing list