[Linux-HA] change the resource order in group online

Andrew Beekhof beekhof at gmail.com
Tue Oct 23 03:53:59 MDT 2007


On 10/19/07, Junko IKEDA <ikedaj at intellilink.co.jp> wrote:
> > -R preserves the order in which items appear in your update
> > -U does not
> >
> > _however_
> >
> > IIRC, the current method of sending the changes to the other nodes is
> > not capable of preserving the order :-(

as of yesterday, this is no longer the case.
just doing -R will be enough from now on...

> >
> > so you'd want to run it on the DC and then use -S which will do a full
> > replace (thus making sure all nodes have the new ordering)
> > > should "cibadmin -R" be used to change the resouce order in group
> online?
> >
> > see above, "sort of"
> >
> > > and is it expected that the resources start again?
> >
> > if all resources were running
> > and the only that changed was the order (no attributes added/removed)
> >
> > then i'd not expect that the resources would be restarted
>
> I tried again on DC;
> # cibadmin -R -x update.xml
> # cibadmin -S
>
> The whole update.xml is here;
>      <resources>
>        <group id="grpDummy">
>          <primitive id="prmDummyC" class="ocf" type="Dummy"
> provider="heartbeat"/>
>          <primitive id="prmDummyA" class="ocf" type="Dummy"
> provider="heartbeat"/>
>          <primitive id="prmDummyB" class="ocf" type="Dummy"
> provider="heartbeat"/>
>        </group>
>      </resources>
>
> The resource order was changed well,
> but it seems that they restart.
> see the attached logs.
>
> It might be the same issue with this;
> http://old.linux-foundation.org/developer_bugzilla/show_bug.cgi?id=1648
>
> pengine[32300]: 2007/10/19_11:28:58 debug: update_action:    * (implies
> right) Marking action prmDummyA_start_0 mandatory because of
> prmDummyC_start_0
> pengine[32300]: 2007/10/19_11:28:58 debug: update_action:    * (implies
> right) Marking action prmDummyB_start_0 mandatory because of
> prmDummyA_start_0
>
> Thanks,
> Junko
>
>
> _______________________________________________
> 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