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
Hi,
Since upstream version 0.9.158, pcs takes care of the pacemaker authkey
itself [1] (Pacemaker version doesn't matter in this case).
That means:
* pcs wipes out the authkey on "cluster destroy"
* pcs creates and distributes the authkey on "cluster setup"
* pcs distributes the authkey when
On Fri, 2018-02-23 at 12:45 +, 范国腾 wrote:
> Thank you very much, Tomas.
> This resolves my problem.
>
> -邮件原件-
> 发件人: Users [mailto:users-boun...@clusterlabs.org] 代表 Tomas Jelinek
> 发送时间: 2018年2月23日 17:37
> 收件人: users@clusterlabs.org
> 主题: Re: [ClusterLabs] 答复: How to configure to
On Fri, 2018-02-23 at 16:15 +0530, avinash sharma wrote:
> Subject: Switchover of resource(MS) 'RoutingManager' and resource
> group 'floatingips', which have 'colocation' and 'after' constraints
> on each other, are taking around 5 minutes to get promoted when node
> running master instance goes
Dne 23.2.2018 v 08:17 范国腾 napsal(a):
Hi,
Our system manages the database (one master and multiple slave). We use
one VIP for multiple Slave resources firstly.
Now I want to change the configuration that each slave resource has a
separate VIP. For example, I have 3 slave nodes and my VIP
Tomas,
Thank you very much. I do the change according to your suggestion and it works.
There is a question: If there are too much nodes (e.g. total 10 slave nodes ),
I need run "pcs constraint colocation add pgsql-slave-ipx with pgsql-slave-ipy
-INFINITY" many times. Is there a simple command
Dne 23.2.2018 v 10:16 范国腾 napsal(a):
Tomas,
Thank you very much. I do the change according to your suggestion and it works.
There is a question: If there are too much nodes (e.g. total 10 slave nodes ), I need
run "pcs constraint colocation add pgsql-slave-ipx with pgsql-slave-ipy
Thank you very much, Tomas.
This resolves my problem.
-邮件原件-
发件人: Users [mailto:users-boun...@clusterlabs.org] 代表 Tomas Jelinek
发送时间: 2018年2月23日 17:37
收件人: users@clusterlabs.org
主题: Re: [ClusterLabs] 答复: How to configure to make each slave resource has one
VIP
Dne 23.2.2018 v 10:16 范国腾