[Linux-HA] Next question regarding constraints sets

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


On Tue, Jul 7, 2009 at 9:32 PM, Michael Schwartzkopff<misch at multinet.de> wrote:
> Hi,
>
> I defined a order and a colocation constraints according to the doc:
>
> <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>
>  <rsc_order id="totalOrder1">
>    <resource_set id="orderBeispiel1" sequential="true">
>      <resource_ref id="resDummy1"/>
>      <resource_ref id="resDummy2"/>
>      <resource_ref id="resDummy3"/>
>    </resource_set>
>  </rsc_order>
>
> So I thought that the resources should run on the same node, but
> crm_mon -1 tells me:
> resDummy1       (ocf::pacemaker:Dummy): Started mom1
> resDummy2       (ocf::pacemaker:Dummy): Started mom2
> resDummy3       (ocf::pacemaker:Dummy): Started mom1
>
> Is this correct? Where is the error? Thanks.

Colocation set may need a score.  It probably doesn't default to
INFINITY (yet, it should)

>
>
> --
> Dr. Michael Schwartzkopff
> MultiNET Services GmbH
> Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
> Tel: +49 - 89 - 45 69 11 0
> Fax: +49 - 89 - 45 69 11 21
> mob: +49 - 174 - 343 28 75
>
> mail: misch at multinet.de
> web: www.multinet.de
>
> Sitz der Gesellschaft: 85630 Grasbrunn
> Registergericht: Amtsgericht München HRB 114375
> Geschäftsführer: Günter Jurgeneit, Hubert Martens
>
> ---
>
> PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
> Skype: misch42
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>



More information about the Linux-HA mailing list