>>> Ferenc Wágner <wf...@niif.hu> schrieb am 27.10.2017 um 07:41 in Nachricht <87o9otxi4e....@lant.ki.iif.hu>: > Norberto Lopes <nlopes...@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.
Interesting: I thought -inf with colocation means "never colocate" (with postgresMS:Master). > -- > Regards, > Feri > > _______________________________________________ > Users mailing list: Users@clusterlabs.org > http://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 _______________________________________________ Users mailing list: Users@clusterlabs.org http://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