[Linux-HA] Question regarding constraint sets

Andrew Beekhof andrew at beekhof.net
Mon Jul 13 08:30:56 MDT 2009


On Mon, Jul 13, 2009 at 4:29 PM, Michael Schwartzkopff<misch at multinet.de> wrote:
> Am Montag, 13. Juli 2009 16:23:31 schrieb Andrew Beekhof:
>> On Tue, Jul 7, 2009 at 9:14 PM, Michael Schwartzkopff<misch at multinet.de>
> wrote:
>> > Hi,
>> >
>> > In the "configuration explained" I read about the new resource sets
>> > within constraints. I wanted to try it and configured three dummy
>> > resources:
>> >
>> > <primitive class="ocf" id="resDummy1" provider="pacemaker" type="Dummy"/>
>> > <primitive class="ocf" id="resDummy2" provider="pacemaker" type="Dummy"/>
>> > <primitive class="ocf" id="resDummy3" provider="pacemaker" type="Dummy"/>
>> >
>> > According to the doc I created the following colocation constratins:
>> > <rsc_colocation id="totalOrder">
>> >  <resource_set id="orderBeispiel" sequential="true">
>> >    <resource_ref id="resDummy1"/>
>> >    <resource_ref id="resDummy2"/>
>> >    <resource_ref id="resDummy3"/>
>> >  </resource_set>
>> > </rsc_colocation>
>> >
>> > As far as I understood the doc resDummy2 and 3 cannot be startet when
>> > resDummy1 is stopped.
>>
>> Right concept, wrong order.  Its the other way around.
>> Did the docs not explain this?
>
> Yes. But I had to read it about five times to get the idea. I still had the
> idea if group, when the order is from top to bottom. Here the ordering is
> reversed. Very puzzeling, if you read for the first four times.

ok, i'll try to make it clearer



More information about the Linux-HA mailing list