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
> <[email protected]
> <mailto:[email protected]>> 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
>     <[email protected] <mailto:[email protected]>> 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: [email protected]
>         <mailto:[email protected]>
>         > 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: [email protected]
>         <mailto:[email protected]>
>         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: [email protected]
http://clusterlabs.org/mailman/listinfo/users

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