[Pacemaker] rule in the rule on SLES11 SP1

Dejan Muhamedagic dejanmm at fastmail.fm
Tue Jun 14 10:09:57 EDT 2011


Hi,

On Tue, Jun 14, 2011 at 01:58:06PM +0000, Janec, Jozef wrote:
> Hello All,
> 
> Was somebody able something like this working on sles11 sp1?:

I assume that you haven't. In which way it doesn't work for you?

> <rsc_location id="L_Master1" rsc="rs_ip_us">
> <rule id="rule5"  score="INFINITY" boolean-op="and">

This "and" is superfluous. The default operation is "and".

Thanks,

Dejan

P.S. Please use crm when showing examples.

>    	<rule id="rule5-nested1" boolean-op="or">
>     		<expression attribute="#uname" id="test-1" operation="eq" value="node1"/>
> 		<expression attribute="#uname" id="test-2" operation="eq" value="node2"/>
>    	</rule>
>    	<rule id="rule5-nested2" boolean-op="or">
>     		<expression attribute="rule_co" id="test-21" operation="eq" value="1"/>
> 		<expression attribute="rule_co" id="test-22" operation="eq" value="2"/>
>    	</rule>
> </rule>
> </rsc_location>
> 
> 
> Thanks for reply
> 
> Best regards, 
> 
> Jozef
> 
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at 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




More information about the Pacemaker mailing list