[Pacemaker] Problem : By colocations limitation, the resource appointment of the combination does not become effective.

Andrew Beekhof andrew at beekhof.net
Mon Apr 19 13:11:43 UTC 2010


2010/4/19  <renayama19661014 at ybb.ne.jp>:
> Hi Andrew,
>
>> >> We want to realize start in order of the next.
>> >>  1) clnPingd, clnG3dummy1, clnG3dummy2, clnUMgroup01 (All resources start) -> UMgroup01 start
>> >>    * And the resource moves if a clone of one stops.
>> >>  2) clnPingd, clnG3dummy1, clnG3dummy2 (All resources start) -> OVDBgroup02-1 start
>> >>    * And the resource moves if a clone of one stops.
>>
>> If you want mandatory colocation, you need to use score=INFINITY
>
> Thank you for comment.
> But, does not the problem of the next email recur when I change it in INFINITY?
>
>  * http://www.gossamer-threads.com/lists/linuxha/pacemaker/60342

No, as I previously explained:

>> >> > > I was suggesting:
>> >> > >
>> >> > >  <rsc_colocation id="rsc_colocation01-3" rsc="UMgroup01"
>> >> > > with-rsc="clnUMgroup01" score="INFINITY"/>
>> >> > >
>> >> > > <rsc_location id="no-connectivity-01-1" rsc="UMgroup01">
>> >> > >    <rule id="clnPingd-exclude-rule" score="-INFINITY" boolean-op="or">
>> >> > >       <expression id="UMgroup01-clnPingd-exclude" attribute="clnPingd"
>> >> > > operation="not_defined"/>
>> >> > >       <expression id="UMgroup01-clnPingd-only-positive"
>> >> > > attribute="clnPingd" operation="lt" type="integer" value="1"/>
>> >> > >       <expression id="UMgroup01-clnPingd2-exclude"
>> >> > > attribute="clnPingd2" operation="not_defined"/>
>> >> > >       <expression id="UMgroup01-clnPingd2-only-positive"
>> >> > > attribute="clnPingd2" operation="lt" type="integer" value="1"/>
>> >> > >    </rule>
>> >> > > </rsc_location>
>> >> > >
>> >> > > <rsc_location id="no-connectivity-02-1" rsc="group02-1">
>> >> > >    <rule idref="clnPingd-exclude-rule"/>
>> >> > > </rsc_location>
>> >> > >
>> >> > > <rsc_location id="no-connectivity-02-1" rsc="group02-2">
>> >> > >    <rule idref="clnPingd-exclude-rule"/>
>> >> > > </rsc_location>




More information about the Pacemaker mailing list