[ClusterLabs] [Problem] Thel fail-over is completed without the stop of the resource being carried out.

2016-09-26 Thread renayama19661014
Hi All, We discovered a problem in the cluster which Quorum control and STONITH did not have. We can confirm the problem in the next procedure. Step1) Constitute a cluster. [root@rh72-01 ~]# crm configure load update trac3437.crm [root@rh72-01 ~]# crm_mon -1 -Af Stack: corosync Current DC:

Re: [ClusterLabs] Is it possible to sign up for cluster events from Pacemaker?

2016-09-26 Thread Kostiantyn Ponomarenko
Yes, DBus would be one of the ways. Thank you, Kostia On Mon, Sep 26, 2016 at 3:33 PM, Klaus Wenninger wrote: > 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. >

Re: [ClusterLabs] Is it possible to sign up for cluster events from Pacemaker?

2016-09-26 Thread Klaus Wenninger
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

Re: [ClusterLabs] Is it possible to sign up for cluster events from Pacemaker?

2016-09-26 Thread Kostiantyn Ponomarenko
Correcting a typo. * the same -> I also was hoping to hear that I can do the same from c++ code. Thank you, Kostia On Mon, Sep 26, 2016 at 3:28 PM, Kostiantyn Ponomarenko < konstantin.ponomare...@gmail.com> wrote: > Thanks for the answer. > > I also was hoping to hear that I can do the case

Re: [ClusterLabs] Is it possible to sign up for cluster events from Pacemaker?

2016-09-26 Thread Kostiantyn Ponomarenko
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 wrote: > On 09/26/2016 12:29 PM, Kostiantyn Ponomarenko wrote: > > Hi, > > > > I am wondering if it is possible to

Re: [ClusterLabs] Is it possible to sign up for cluster events from Pacemaker?

2016-09-26 Thread Klaus Wenninger
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