On Wed, Mar 12, 2008 at 1:23 PM, Schmidt, Florian
<[EMAIL PROTECTED]> wrote:
> > >  > > On Tue, Mar 11, 2008 at 7:19 PM, Schmidt, Florian
>  > >  > > <[EMAIL PROTECTED]> wrote:
>  > >  > > > Hello guys,
>  > >  > > >
>  > >  > > >  is it able to put 2 primitives into one
>  master/slave-resource or do I
>  > >  > > >  need to create 2 master/slave resources each having one
>  primitive?
>  > >  > >
>  > >  > > You can put your two primitives into a group and create a
>  master/slave
>  > >  > > resource with this group ... or have two master/slave resources
>  with
>  > >  > > colocation constraints ... a matter of taste ;-)
>  > >  >
>  > >  > Is this possible? Putting a group into a master-slave resource?
>  > >  > Well, I will try this...sounds good ;)
>  > >  >
>  > >  > Thanks
>  > >  > Florian
>  > >
>  > >  Just one more question: if one of the both DRBD-primitives in this
>  group fails, all
>  > other resources "in the chain behind" it are stopped then, aren't
>  they?
>  >
>  > set "ordered=false" for your group and only the implied colocation
>  > constraints of your group take effect
>
>  Hello again,
>
>  I followed your instructions to create a master/slave-resource
>  containing one "ordered=false"-group containing 2 DRBD-primitives.
>
>  I started Heartbeat and it comes up fine, but none of the DRBD-instances
>  gets promoted:

Hmmm ... interesting, not the expected result. So it seems to be
better to go with two separated master/slave resources. Could you
attach your complete cib with the not-promoting group .... just out of
curiosity ;-)

Regards,
Andreas

>
>
>  ============
>  Last updated: Wed Mar 12 13:20:42 2008
>  Current DC: noderz (691dfdac-f5d6-4a04-a845-8706701318b3)
>  2 Nodes configured.
>  1 Resources configured.
>  ============
>
>  Node: noderz (691dfdac-f5d6-4a04-a845-8706701318b3): online
>  Node: nodekrz (44425bd9-2cba-4d6a-ac62-82a8bb81a23d): online
>
>  Master/Slave Set: DRBD
>     Resource Group: Group_DRBD:0
>         DRBD_AFD:0      (heartbeat::ocf:drbd):  Started noderz
>         DRBD_SAPROUTER:0        (heartbeat::ocf:drbd):  Started noderz
>     Resource Group: Group_DRBD:1
>         DRBD_AFD:1      (heartbeat::ocf:drbd):  Started nodekrz
>         DRBD_SAPROUTER:1        (heartbeat::ocf:drbd):  Started nodekrz
>
>  Resources-section of CIB is added. What's wrong?
>
>  Regards
>  Florian
>
>
>
>  > Regards,
>  > Andreas
>  > >
>  > >  This again, wouldn't be that great. Maybe collocation constraints
>  would still be
>  > better.
>  > >
>  > >
>  > >
>  > >  Florian
>  > >
>  > >  >
>  > >  > > Regards,
>  > >  > > Andreas
>  > >  > >
>  > >  > > >
>  > >  > > >  The primitives are DRBD-resources, which always need to run
>  on the
>  > same
>  > >  > > >  machine.
>  > >  > > >
>  > >  > > >  Regards
>  > >  > > >  Florian
>
> _______________________________________________
>  Linux-HA mailing list
>  [email protected]
>  http://lists.linux-ha.org/mailman/listinfo/linux-ha
>  See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to