Hi,

crm has a nice placement constraint syntax

location loc1 res1 inf: node1

which is a shortcut for

location loc1 res1 inf: rule #uname eq node1

Sometimes, in otherwise symmetric cluster, there are some resources that have 
to be running on a certain node, 
so one has to create an anti-placement constraint, to prevent it from running 
anywhere else:

location loc2 res2 -inf: rule #uname ne node2

It would be nice to be able to short cut it too, don't you think?

location loc2 res2 -inf: !node2

Thanks,
Vadym
_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker

Reply via email to