Re: [ClusterLabs] 答复: 答复: 答复: How to configure to make each slave resource has one VIP

2018-03-09 Thread Jehan-Guillaume de Rorthais
On Fri, 9 Mar 2018 00:54:00 + 范国腾 wrote: > Thanks Rorthais, Got it. The following command could make sure that it move > to the master if there is no standby alive: > > pcs constraint colocation add pgsql-ip-stby1 with slave pgsql-ha 100 > pcs constraint colocation add pgsql-ip-stby1 with pg

Re: [ClusterLabs] 答复: 答复: 答复: How to configure to make each slave resource has one VIP

2018-03-08 Thread Jehan-Guillaume de Rorthais
日 16:29 > 收件人: 范国腾 > 抄送: Cluster Labs - All topics related to open-source clustering welcomed > 主题: Re: [ClusterLabs] 答复: 答复: 答复: How to > configure to make each slave resource has one VIP > > On Wed, 7 Mar 2018 01:27:16 + > 范国腾 wrote: > > > Thank you, Rortha

Re: [ClusterLabs] 答复: 答复: 答复: How to configure to make each slave resource has one VIP

2018-03-07 Thread Jehan-Guillaume de Rorthais
On Wed, 7 Mar 2018 01:27:16 + 范国腾 wrote: > Thank you, Rorthais, > > I read the link and it is very helpful. Did you read the draft I attached to the email? It was the main purpose of my answer: helping you with IP on slaves. It seems to me your mail is reporting different issues than the or

Re: [ClusterLabs] 答复: 答复: 答复: How to configure to make each slave resource has one VIP

2018-03-06 Thread Jehan-Guillaume de Rorthais
Hi guys, Few month ago, I started a new chapter about this exact subject for "PAF - Cluster administration under CentOS" ( see: https://clusterlabs.github.io/PAF/CentOS-7-admin-cookbook.html) Please, find attach my draft. All feedback, fix, comments and intensive tests are welcome! ## Adding IP

[ClusterLabs] 答复: 答复: 答复: How to configure to make each slave resource has one VIP

2018-03-05 Thread 范国腾
Thank you, Ken. Got it :) -邮件原件- 发件人: Users [mailto:users-boun...@clusterlabs.org] 代表 Ken Gaillot 发送时间: 2018年3月6日 7:18 收件人: Cluster Labs - All topics related to open-source clustering welcomed 主题: Re: [ClusterLabs] 答复: 答复: How to configure to make each slave resource has one VIP On Sun

Re: [ClusterLabs] 答复: 答复: 答复: How to configure to make each slave resource has one VIP

2018-03-05 Thread Ken Gaillot
On Sat, 2018-02-24 at 03:02 +, 范国腾 wrote: > Thank you, Ken, > > So I could use the following command: pcs constraint colocation set > pgsql-slave-ip1 pgsql-slave-ip2 pgsql-slave-ip3 setoptions score=- > 1000 Correct (sorry for the late reply) > > -邮件原件- > 发件人: Users [mailto:users-b

[ClusterLabs] 答复: 答复: 答复: How to configure to make each slave resource has one VIP

2018-02-23 Thread 范国腾
Thank you, Ken, So I could use the following command: pcs constraint colocation set pgsql-slave-ip1 pgsql-slave-ip2 pgsql-slave-ip3 setoptions score=-1000 -邮件原件- 发件人: Users [mailto:users-boun...@clusterlabs.org] 代表 Ken Gaillot 发送时间: 2018年2月23日 23:14 收件人: Cluster Labs - All topics relate