[ClusterLabs] Colocation rule with vip and ms master
Ferenc Wágner
wferi at niif.hu
Fri Oct 27 01:41:21 EDT 2017
Norberto Lopes <nlopes.ml at gmail.com> writes:
> colocation backup-vip-not-with-master -inf: backupVIP postgresMS:Master
> colocation backup-vip-not-with-master inf: backupVIP postgresMS:Slave
>
> Basically what's occurring in my cluster is that the first rule stops the
> Sync node from being promoted if the Master ever dies. The second doesn't
> but I can't quite follow why.
Getting a score of -inf means that the resource won't run. On the other
hand, (+)inf just means "strongest" preference.
--
Regards,
Feri
More information about the Users
mailing list