[ClusterLabs] Antw: Surprising semantics of location constraints with INFINITY score

Jehan-Guillaume de Rorthais jgdr at dalibo.com
Wed Apr 12 09:07:23 CEST 2017


Hi,

> >>> Kristoffer Grönlund <kgronlund at suse.com> schrieb am 11.04.2017 um 15:30
> >>> in  
> Nachricht <87lgr7kr64.fsf at suse.com>:
> > Hi all,
> > 
> > I discovered today that a location constraint with score=INFINITY
> > doesn't actually restrict resources to running only on particular
> > nodes. From what I can tell, the constraint assigns the score to that
> > node, but doesn't change scores assigned to other nodes. So if the node
> > in question happens to be offline, the resource will be started on any
> > other node.  

AFAIU, this behavior is expected when you set up your cluster with the Opt-In
strategy:

http://clusterlabs.org/doc/en-US/Pacemaker/1.1/html-single/Pacemaker_Explained/#_deciding_which_nodes_a_resource_can_run_on

-- 
Jehan-Guillaume de Rorthais
Dalibo



More information about the Users mailing list