Re: [ClusterLabs] How to cancel a fencing request?

2018-04-02 Thread Klaus Wenninger
On 04/02/2018 04:02 PM, Ken Gaillot wrote: > On Mon, 2018-04-02 at 10:54 +0200, Jehan-Guillaume de Rorthais wrote: >> On Sun, 1 Apr 2018 09:01:15 +0300 >> Andrei Borzenkov wrote: >> >>> 31.03.2018 23:29, Jehan-Guillaume de Rorthais пишет: Hi all, I experienced

[ClusterLabs] 答复: How to setup a simple master/slave cluster in two nodes without stonith resource

2018-04-02 Thread 范国腾
Yes, my resource are started and they are slave status. So I run "pcs resource cleanup pgsql-ha" command. The log shows the error when I run this command. -邮件原件- 发件人: Users [mailto:users-boun...@clusterlabs.org] 代表 Andrei Borzenkov 发送时间: 2018年4月3日 12:00 收件人: users@clusterlabs.org 主题: Re:

Re: [ClusterLabs] How to setup a simple master/slave cluster in two nodes without stonith resource

2018-04-02 Thread Andrei Borzenkov
03.04.2018 05:07, 范国腾 пишет: > Hello, > > I want to setup a cluster in two nodes. One is master and the other is slave. > I don’t need the fencing device because my internal network is stable. I use > the following command to create the resource, but all of the two nodes are > slave and

[ClusterLabs] How to setup a simple master/slave cluster in two nodes without stonith resource

2018-04-02 Thread 范国腾
Hello, I want to setup a cluster in two nodes. One is master and the other is slave. I don’t need the fencing device because my internal network is stable. I use the following command to create the resource, but all of the two nodes are slave and cluster don’t promote it to master. Could you

Re: [ClusterLabs] Possible idea for 2.0.0: renaming the Pacemaker daemons

2018-04-02 Thread Andrew Beekhof
On Fri, Mar 30, 2018 at 8:36 PM, Jehan-Guillaume de Rorthais < j...@dalibo.com> wrote: > On Thu, 29 Mar 2018 09:32:41 +1100 > Andrew Beekhof wrote: > > > On Thu, Mar 29, 2018 at 8:07 AM, Jehan-Guillaume de Rorthais < > > j...@dalibo.com> wrote: > > > > > On Wed, 28 Mar 2018

[ClusterLabs] Cluster fails to start on rebooted nodes without manual fiddling...

2018-04-02 Thread Casey & Gina
Hi! I've set up a couple test Pacemaker/Corosync/PCS clusters on virtual machines to manage a PostgreSQL service using the PostgreSQL Automatic Failover (PAF) resource agent available here: https://clusterlabs.github.io/PAF/ The cluster will be up and running with 3 nodes and PostgreSQL

[ClusterLabs] Advisory order for cluster-managed resources

2018-04-02 Thread Sam Gardner
Is there any way that I can order the startup of resources A, B, C in that order such that if B fails to start for some reason, A and C will still start, but the order of operations will always be start A, start B, start C? I've tried setting it like this: set rscA rscB.master rscC action=start

Re: [ClusterLabs] How to cancel a fencing request?

2018-04-02 Thread Ken Gaillot
On Mon, 2018-04-02 at 10:54 +0200, Jehan-Guillaume de Rorthais wrote: > On Sun, 1 Apr 2018 09:01:15 +0300 > Andrei Borzenkov wrote: > > > 31.03.2018 23:29, Jehan-Guillaume de Rorthais пишет: > > > Hi all, > > > > > > I experienced a problem in a two node cluster. It has one

Re: [ClusterLabs] How to cancel a fencing request?

2018-04-02 Thread Jehan-Guillaume de Rorthais
On Sun, 1 Apr 2018 09:01:15 +0300 Andrei Borzenkov wrote: > 31.03.2018 23:29, Jehan-Guillaume de Rorthais пишет: > > Hi all, > > > > I experienced a problem in a two node cluster. It has one FA per node and > > location constraints to avoid the node each of them are