[email protected] (Kristoffer Grönlund) writes:

> I discovered today that a location constraint with score=INFINITY
> doesn't actually restrict resources to running only on particular
> nodes.

Yeah, I made the same "discovery" some time ago.  Since then I've been
using something like the following to restrict my-rsc to my-node:

<rsc_location id="restrict" rsc="my-rsc">
  <rule id="restrict-rule" score="-INFINITY">
    <expression id="restrict-rule-expr" attribute="#uname" operation="ne" 
value="my-node"/>
  </rule>
</rsc_location>
-- 
Feri

_______________________________________________
Users mailing list: [email protected]
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

Reply via email to