[Pacemaker] using xml for rules

Pavlos Parissis pavlos.parissis at gmail.com
Mon Nov 15 12:21:31 UTC 2010


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?

Thanks again,
Pavlos




More information about the Pacemaker mailing list