[Pacemaker] using xml for rules

Dan Frincu dfrincu at streamwide.ro
Mon Nov 15 13:18:34 UTC 2010


Pavlos Parissis wrote:
> On 15 November 2010 08:14, Andrew Beekhof <andrew at beekhof.net> wrote:
>   
>> On Thu, Nov 11, 2010 at 2:10 PM, Pavlos Parissis
>> <pavlos.parissis at gmail.com> wrote:
>>     
>>> I removed "score=2" from
>>> <rule id="working-hours-rule" boolean_op="or" score="2">
>>>       
>> Have a look at the schema file:
>>   http://hg.clusterlabs.org/pacemaker/stable-1.0/raw-file/tip/xml/pacemaker.rng.in
>>   http://hg.clusterlabs.org/pacemaker/stable-1.0/raw-file/tip/xml/rule.rng.in
>>
>> For starters: s/boolean_op/boolean-op/
>>     
>
> that was it! thanks a lot, now  I have to see if it is works as expected.
>
>
> BTW, any suggestion for a good xml editor which I can use to validate
> configuration?
>   
The crm shell? :)
> Thanks again,
> Pavlos
>
> _______________________________________________
> 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
>   

-- 
Dan FRINCU
Systems Engineer
CCNA, RHCE
Streamwide Romania

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20101115/eb381599/attachment-0002.htm>


More information about the Pacemaker mailing list