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

2018-04-07 Thread Jehan-Guillaume de Rorthais
Hi, On Wed, 4 Apr 2018 02:00:58 + 范国腾 wrote: > Thank you very much for your help. I do according to your comments and the > cluster status is ok now. > > I want to ask two more questions: > > 1. This line code in PAF prevent the score to be set. Why does PAF request

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

2018-04-03 Thread Jehan-Guillaume de Rorthais
On Tue, 3 Apr 2018 14:41:56 +0200 Jehan-Guillaume de Rorthais wrote: > On Tue, 3 Apr 2018 02:07:50 + > 范国腾 wrote: > > > 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

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

2018-04-03 Thread Jehan-Guillaume de Rorthais
On Tue, 3 Apr 2018 02:07:50 + 范国腾 wrote: > 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. How much stable it is? This assumption is frequently wrong.

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