On Jan 22, 2008, at 2:21 PM, Cousin Marc wrote:
Hi,
I'm testing ordering constraints.
I've put these 2 constraints:
<rsc_order action="start"
symmetrical="true"
id="postgresr2_avantr1"
from="postgresr2"
to="applisr1"
type="before"/>
<rsc_order action="start"
symmetrical="true"
id="postgresr2_avantr3"
from="postgresr2"
to="applisr3"
type="before"/>
The idea is that we have applisr1 and applisr3 depending on
postgresr2 being
already online.
If postgresr2 has to be migrated to another node or restarted, I
need both
applisr1 and applisr3 to be restarted (it's the application's
limitation).
These constraints work perfectly in case I put the node hosting
postgresr2 on
standby. Both the applications are shutdown, then postgresr2 moves
to another
node, and both applications are restarted.
If I kill the node hosting postgresr2, postgresr2 migrates to
another node,
but applisr1 and applisr3 aren't restarted. Is it normal ? What
could I do to
solve this ?
remind me what version you're running?
if you have < 2.1.3, try adding score="INFINITY" to the two
constraints listed.
if you have >= 2.1.3 (or any version of pacemaker), please use
hb_report to generate a tarball - it's possible you've found a bug
Thanks a lot for your help.
Cheers.
Marc Cousin
_______________________________________________
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