Re: [ClusterLabs] killing postgres wal progress in slave makes cluster crashed

2018-05-02 Thread Ken Gaillot
On Sat, 2018-04-28 at 08:46 +, 范国腾 wrote: > Hi, > There are three nodes: node1,node2,node3。node1 is master, node2 and > node3 is slave。 > We execute the “truncate table” in 14:25:36 and kill the WAL progress > in db2。Then the db2 pacemaker is down and db1 is reboot. > But I could not find any

Re: [ClusterLabs] Monitoring of Fence Agents?

2018-05-02 Thread Ken Gaillot
On Tue, 2018-05-01 at 20:49 +, Hayden,Robert wrote: > Let me first thank this community for being so active.  I have > learned a lot by watching the discussions. >   > I have noticed that in our environment, I am seeing high rate of my > RHEL 7 fence agent (fence_ipmilan) timing out on

Re: [ClusterLabs] Could not start only one node in pacemaker

2018-05-02 Thread Ken Gaillot
On Wed, 2018-05-02 at 02:52 +, 范国腾 wrote: > Hi, > The cluster has three nodes: one is master and two are slave. Now we > run “pcs cluster stop --all” to stop all of the nodes. Then we run > “pcs cluster start” in the master node. We find it not able to > started. The cause is that the stonith

Re: [ClusterLabs] 答复: 答复: Could not start only one node in pacemaker

2018-05-02 Thread Klaus Wenninger
On 05/02/2018 03:59 PM, Klaus Wenninger wrote: > On 05/02/2018 02:57 PM, Andrei Borzenkov wrote: >> 02.05.2018 15:37, Jehan-Guillaume de Rorthais пишет: >>> On Wed, 2 May 2018 05:24:23 + >>> 范国腾 wrote: >>> Andrei, We use the following command to create

Re: [ClusterLabs] 答复: 答复: Could not start only one node in pacemaker

2018-05-02 Thread Klaus Wenninger
On 05/02/2018 02:57 PM, Andrei Borzenkov wrote: > 02.05.2018 15:37, Jehan-Guillaume de Rorthais пишет: >> On Wed, 2 May 2018 05:24:23 + >> 范国腾 wrote: >> >>> Andrei, >>> >>> We use the following command to create the cluster: >>> >>> pcs cluster auth node1 node2 node3

Re: [ClusterLabs] 答复: 答复: Could not start only one node in pacemaker

2018-05-02 Thread Andrei Borzenkov
02.05.2018 15:37, Jehan-Guillaume de Rorthais пишет: > On Wed, 2 May 2018 05:24:23 + > 范国腾 wrote: > >> Andrei, >> >> We use the following command to create the cluster: >> >> pcs cluster auth node1 node2 node3 node4 -u hacluster; >> pcs cluster setup --name

Re: [ClusterLabs] 答复: 答复: Could not start only one node in pacemaker

2018-05-02 Thread Jehan-Guillaume de Rorthais
On Wed, 2 May 2018 05:24:23 + 范国腾 wrote: > Andrei, > > We use the following command to create the cluster: > > pcs cluster auth node1 node2 node3 node4 -u hacluster; > pcs cluster setup --name cluster_pgsql node1 node2 node3 node4; > pcs cluster start --all; > pcs