Re: [ClusterLabs] reboot node / cluster standby

2017-06-29 Thread Ludovic Vaugeois-Pepin
On Thu, Jun 29, 2017 at 7:27 PM, Ken Gaillot wrote: > On 06/29/2017 04:42 AM, philipp.achmuel...@arz.at wrote: >> Hi, >> >> In order to reboot a Clusternode i would like to set the node to standby >> first, so a clean takeover for running resources can take in place. >> Is

Re: [ClusterLabs] How to check if a resource on a cluster node is really back on after a crash

2017-05-15 Thread Ludovic Vaugeois-Pepin
s man page for the "pcs alert" interface. > > On 05/12/2017 06:17 AM, Ludovic Vaugeois-Pepin wrote: > > I checked the node_state of the node that is killed and brought back > > (test3). in_ccm == true and crmd == online for a second or two between > > "pcs cluster star

Re: [ClusterLabs] How to check if a resource on a cluster node is really back on after a crash

2017-05-12 Thread Ludovic Vaugeois-Pepin
22:00:12 +0200 > Ludovic Vaugeois-Pepin <ludovi...@gmail.com> wrote: > > > I translated the a Postgresql multi state RA ( > https://github.com/dalibo/PAF) > > in Python (https://github.com/ulodciv/deploy_cluster), and I have been > > editing it heavily. > >

Re: [ClusterLabs] How to check if a resource on a cluster node is really back on after a crash

2017-05-12 Thread Ludovic Vaugeois-Pepin
I checked the node_state of the node that is killed and brought back (test3). in_ccm == true and crmd == online for a second or two between "pcs cluster start test3" "monitor": On Fri, May 12, 2017 at 11:27 AM, Ludovic Vaugeois-Pepin < ludovi...@gmail.com> wr

Re: [ClusterLabs] How to check if a resource on a cluster node is really back on after a crash

2017-05-12 Thread Ludovic Vaugeois-Pepin
2 ] pgsql-master-ip(ocf::heartbeat:IPaddr2): Started test1 crm_mon -X: On Fri, May 12, 2017 at 12:45 AM, Ken Gaillot <kgail...@redhat.com> wrote: > On 05/11/2017 03:00 PM, Ludovic Vaugeois-Pepin wrote: > > Hi > > I translate

[ClusterLabs] How to check if a resource on a cluster node is really back on after a crash

2017-05-11 Thread Ludovic Vaugeois-Pepin
Hi I translated the a Postgresql multi state RA (https://github.com/dalibo/PAF) in Python (https://github.com/ulodciv/deploy_cluster), and I have been editing it heavily. In parallel I am writing unit tests and functional tests. I am having an issue with a functional test that abruptly powers