[ClusterLabs] Antw: Re: Colocation rule with vip and ms master

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Thu Nov 2 03:05:47 EDT 2017

>>> Ferenc Wágner <wferi at niif.hu> schrieb am 27.10.2017 um 07:41 in Nachricht
<87o9otxi4e.fsf at lant.ki.iif.hu>:
> 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.

Interesting: I thought -inf with colocation means "never colocate" (with

> -- 
> Regards,
> Feri
> _______________________________________________
> Users mailing list: Users at 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 

More information about the Users mailing list