[Linux-HA] heartbeat ignoring my rsc_order directive

Andrew Beekhof beekhof at gmail.com
Wed Oct 10 05:04:57 MDT 2007


On 10/10/07, Andrew Beekhof <beekhof at gmail.com> wrote:
> On 10/9/07, Raoul Bhatia [IPAX] <r.bhatia at ipax.at> wrote:
> > hi,
> >
> > during my tests with clustered ips+drbd+ocfs2+services, i encountered a
> > strange problem.
> >
> > i have a drbd clone:
> > >   <master_slave id="ms_drbd_www">
> > >     <primitive class="ocf" id="drbd_www" provider="heartbeat" type="drbd">
> > >       ...
> > >     </primitive>
> > >   </master_slave>
> >
> > with the rsc_order/rsc_colocation rules:
> >
> > >  <rsc_order id="drbd_before_ocfs2_www" action="start" from="clone_ocfs2_www" type="after" to_action="promote" to="ms_drbd_www" />
> > >  <rsc_colocation id="colo_ddrbd_ocfs2_www" to="ms_drbd_www"   to_role="master" from="clone_ocfs2_www" score="INFINITY"/>
>
> > any ideas, why ocfs2_www is started before drbd_www?
>
> alas its a bug
> and one i'm not quite sure how to fix yet... stay tuned
>

ok, the PE now does the correct thing for your input... the trick now
is to make it pass all the regression tests as well


More information about the Linux-HA mailing list