[ClusterLabs] How to declare ping primitive with rule

2018-06-08 Thread Salvatore D'angelo
Hi All, I have a PostgreSQL cluster on three nodes (Master/Sync/Async) with WAL files stored on two GlusterFS nodes. In total, 5 machines. Let call the first three machines: pg1, pg2, pg3. The other two (without pacemaker): pgalog1, pgalog2. Now I this code works fine on some bare metal machine

Re: [ClusterLabs] Ansible role to configure Pacemaker

2018-06-08 Thread Jan Pokorný
On 07/06/18 17:57 +0100, Adam Spiers wrote: > Jan Pokorný wrote: >> While I see why Ansible is compelling, I feel it's important to >> challenge this trend of trying to bend/rebrand _machine-local >> configuration management tool_ as _distributed system management tool_ >> (pacemaker is distribute

Re: [ClusterLabs] corosync not able to form cluster

2018-06-08 Thread Prasad Nagaraj
Hi Christine - Thanks for looking into the logs. I also see that the node eventually comes out of GATHER state here: Jun 07 16:56:10 corosync [TOTEM ] entering GATHER state from 0. Jun 07 16:56:10 corosync [TOTEM ] Creating commit token because I am the rep. Does it mean, it has timed out or give

Re: [ClusterLabs] corosync not able to form cluster

2018-06-08 Thread Christine Caulfield
On 07/06/18 18:32, Prasad Nagaraj wrote: > Hi Christine - Got it:) > > I have collected few seconds of debug logs from all nodes after startup. > Please find them attached. > Please let me know if this will help us to identify rootcause. > The problem is on the node coro.4 - it never gets out of