[Linux-HA] "one-way" dependency

Yan Fitterer yfitterer at novell.com
Wed Feb 28 07:53:14 MST 2007


I have two resource groups: A and B.

I need:
1) B depends on A
2) A does NOT depend on B
3) A and B must always run on the same node.

Currently, I have:

 <constraints>
   <rsc_colocation id="CL_A_B" from="A" to="B" score="INFINITY"/>
   <rsc_order id="OR_B_1" from="B" type="after" to="A" action="start" symmetrical="false"/>
   <rsc_order id="OR_B_2" from="B" type="before" to="A" action="stop" symmetrical="false"/>
 </constraints>


But if I stop B, A gets stopped as well.

How can I solve this?

Thanks
Yan


More information about the Linux-HA mailing list