Andrew Beekhof wrote: > > On Feb 13, 2009, at 8:15 AM, Dominik Klein wrote: > >> Neil Katin wrote: >>> >>> I've been trying to upgrade to pacemaker 1.0.1, and have been >>> running the examples in a test environment. I've been trying >>> to get the example on the DRBD page to work: >>> >>> http://www.clusterlabs.org/wiki/DRBD_HowTo_1.0 >>> >>> This line seems to have two problems with it: >>> >>> crm configure location ms-drbd0-placement ms-drbd0 rule -inf: >>> \#uname ne xen-1 or \#uname ne xen-2 >>> >>> The first is the boolean logic is incorrect: the "or" should be an >>> "and". >> >> True. Can't fix atm because beekhof's too busy to re-activate my wiki >> account after a server upgrade. > > done, sorry for the delay
Thx. s/or/and/ fixed. >> >> >>> The second problem centers around the score: the -inf seems to be the >>> "friendly" >>> way to specify negative infinity, but it is not properly translated into >>> the relax-ng >>> schema's -INFINITY; I get xml parsing errors. And when I manually >>> correct the xml >>> then I get warnings from the "friendly" parser when it re-reads the >>> rules. >>> >>> Should I be specifying -inf or -INFINITY in the line above? >> >> For me, -inf in the crm shell (not in xml!) worked fine, although there >> were people reporting problems with it before you. Will have to retry >> and wait for my account to eventually fix the doc. -inf still works for me (running some 2-3 days old stable-1.0 code). I think that's an issue with the crm shell version you're running and will be solved by the next release. Regards Dominik _______________________________________________ Pacemaker mailing list [email protected] http://oss.clusterlabs.org/mailman/listinfo/pacemaker
