[ClusterLabs] Antw: Surprising semantics of location constraints with INFINITY score
Kristoffer Grönlund
kgronlund at suse.com
Wed Apr 12 03:19:06 EDT 2017
Jehan-Guillaume de Rorthais <jgdr at dalibo.com> writes:
> 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
>
No, this is the behavior of an Opt-Out cluster. So it seems you are
under the same misconception as I was. :)
Cheers,
Kristoffer
> --
> Jehan-Guillaume de Rorthais
> Dalibo
>
> _______________________________________________
> 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
--
// Kristoffer Grönlund
// kgronlund at suse.com
More information about the Users
mailing list