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

Jehan-Guillaume de Rorthais jgdr at dalibo.com
Fri Mar 9 08:10:12 EST 2018


On Fri, 9 Mar 2018 00:54:00 +0000
范国腾 <fanguoteng at highgo.com> 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 pgsql-ha 50

Exact.



More information about the Users mailing list