[ClusterLabs] Antw: 答复: The slave not does not promote to master

2018-05-06 Thread Ulrich Windl
What about this: Configure fencing, then if everything works OK, try without fencing. >>> ??? schrieb am 07.05.2018 um 08:54 in Nachricht <177fb170fe264dbca52df5e25d27c...@ex01.highgo.com>: > Thank you, Klaus. There is no fencing device in our network according to the > request. Is there any oth

[ClusterLabs] Antw: The slave not does not promote to master

2018-05-06 Thread Ulrich Windl
I have no idea about the Postgres stuff, but it seems the logs say it all: May 7 00:39:06 node2 pgsqlms(pgsqld)[14152]: ERROR: PGDATA "/home/highgo/highgo/database/4.3.1/data" does not exists May 7 00:39:06 node1 pengine[1132]: warning: Processing failed op monitor for pgsqld:1 on sds2: invalid

[ClusterLabs] 答复: The slave not does not promote to master

2018-05-06 Thread 范国腾
Thank you, Klaus. There is no fencing device in our network according to the request. Is there any other way to configure the cluster to make it work? 发件人: Klaus Wenninger [mailto:kwenn...@redhat.com] 发送时间: 2018年5月7日 14:40 收件人: Cluster Labs - All topics related to open-source clustering welcomed

Re: [ClusterLabs] The slave not does not promote to master

2018-05-06 Thread Klaus Wenninger
On 05/07/2018 07:39 AM, 范国腾 wrote: > Hi, > > We have two nodes cluster using PAF to manage the postgres. Node2 is master. > Master/Slave Set: pgsql-ha [pgsqld] > Master: [sds2] > Slaves: [ sds1 ] > > In the master node(sds2), I remove the data directory of postgres. I expect > the maste