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

Junko IKEDA ikedaj at intellilink.co.jp
Thu Oct 18 05:25:57 MDT 2007


Hi,

I want to change the resource order in group online
May I also know more about differences of cibadmin "-U" and "-R"?

here is my resources;
Resource Group: grpDummy
    prmDummyA   (heartbeat::ocf:Dummy): Started ias1
    prmDummyB   (heartbeat::ocf:Dummy): Started ias1

and, I tried to add prmDummyC online as the first resource in group,
like this;
Resource Group: grpDummy
    prmDummyC   (heartbeat::ocf:Dummy): Started ias1
    prmDummyA   (heartbeat::ocf:Dummy): Started ias1
    prmDummyB   (heartbeat::ocf:Dummy): Started ias1

I prepared the update file something like this, 
and try cibadmin -R or -U

<group id="grpDummy">
  <primitive id="prmDummyC" class="ocf" type="Dummy" ..>
...
  </primitive>
  <primitive id="prmDummyA" class="ocf" type="Dummy" ..>
...
  </primitive>
  <primitive id="prmDummyB" class="ocf" type="Dummy" ..>
...
  </primitive>
</group>

if I use cibadmin -R, it worked well,
but prmDummyA and prmDummyB would start again.
(they wouldn't stop. just start again)
if -U, prmDummyC would set the bottom.
Resource Group: grpDummy
    prmDummyA   (heartbeat::ocf:Dummy): Started ias1
    prmDummyB   (heartbeat::ocf:Dummy): Started ias1
    prmDummyC   (heartbeat::ocf:Dummy): Started ias1

should "cibadmin -R" be used to change the resouce order in group online?
and is it expected that the resources start again?

Best Regards,
Junko Ikeda

NTT DATA INTELLILINK CORPORATION




More information about the Linux-HA mailing list