On Fri, 9 Mar 2018 00:54:00 +0000 范国腾 <[email protected]> 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. _______________________________________________ Users mailing list: [email protected] https://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
