[Pacemaker] operation negations
Димитър Бойн
DBOYN at POSTPATH.COM
Fri Jun 19 00:06:54 UTC 2009
Hi, All!
Please help me with the correct negation syntax!
In the documentation there is an example how to build a rule that would forbid running a resource on certain node:
<rsc_location id="dont-run-apache-on-c001n03" rsc="myApacheRsc">
<rule id="dont-run-apache-rule" score="-INFINITY">
<expression id=dont-run-apache-expr attribute="#uname" operation="eq" value="c00n03"/>
</rule>
</rsc_location>
My question is - how could we modify the rule so it says "do not run on any node if its uname attribute "IS NOT EQUAL" to ="c00n03"?
Also is there a comprehensive list of permited/implemented operations we can use in rules?
Many Thanks!
Boyn, Dimitar G.
Technical Marketing Engineer
dboyn at postpath.com
3979 Freedom Circle,
Santa Clara, CA 95054
ICQ# 57-539-824
IM: Y! niobd
More information about the Pacemaker
mailing list