Re: [ClusterLabs] 答复: No slave is promoted to be master

2018-04-18 Thread Ken Gaillot
On Wed, 2018-04-18 at 02:33 +, 范国腾 wrote: > Thank you very much, Rorthais, >   > I see now. I have two more questions. >   > 1. If I change the "cluster-recheck-interval" parameter from the > default 15 minutes to 10 seconds, is there any bad impact? Could this > be a workaround? Personally I

[ClusterLabs] 答复: No slave is promoted to be master

2018-04-17 Thread 范国腾
Thank you very much, Rorthais, I see now. I have two more questions. 1. If I change the "cluster-recheck-interval" parameter from the default 15 minutes to 10 seconds, is there any bad impact? Could this be a workaround? 2. This issue happens only in the following configuration.

Re: [ClusterLabs] 答复: No slave is promoted to be master

2018-04-16 Thread Andrei Borzenkov
Отправлено с iPhone > 17 апр. 2018 г., в 7:16, 范国腾 написал(а): > > I check the status again. It is not not promoted but it promoted about 15 > minutes after the cluster starts. > > I try in three labs and the results are same: The promotion happens 15 > minutes

[ClusterLabs] 答复: No slave is promoted to be master

2018-04-16 Thread 范国腾
I check the status again. It is not not promoted but it promoted about 15 minutes after the cluster starts. I try in three labs and the results are same: The promotion happens 15 minutes after the cluster starts. Why is there about 15 minutes delay every time? Apr 16 22:08:32 node1

[ClusterLabs] 答复: No slave is promoted to be master

2018-04-15 Thread 范国腾
Thank you, Rorthais. I see now. -邮件原件- 发件人: Jehan-Guillaume de Rorthais [mailto:j...@dalibo.com] 发送时间: 2018年4月13日 17:17 收件人: 范国腾 抄送: Cluster Labs - All topics related to open-source clustering welcomed 主题: Re: [ClusterLabs] No slave is

Re: [ClusterLabs] 答复: No slave is promoted to be master

2018-04-12 Thread Ken Gaillot
On Thu, 2018-04-12 at 07:29 +, 范国腾 wrote: > Hello, >   > We use the following command to create the cluster. Node2 is always > the master when the cluster starts. Why does pacemaker not select > node1 as the default master? > How to configure if we want node1 to be the default master? You can

[ClusterLabs] 答复: No slave is promoted to be master

2018-04-12 Thread 范国腾
Hello, We use the following command to create the cluster. Node2 is always the master when the cluster starts. Why does pacemaker not select node1 as the default master? How to configure if we want node1 to be the default master? pcs cluster setup --name cluster_pgsql node1 node2 pcs resource