it seems I've been a bit too optimistic, it doesn't seem to work ... It still works only when I put the node on standby, not when it dies.
I've done this for both the application groups : <group id="applisr1" restart_type="restart"> <group id="applisr3" restart_type="restart"> Le Tuesday 22 January 2008 15:07:02 Cousin Marc, vous avez écrit : > Perfect. Thanks a lot ... > > Le Tuesday 22 January 2008 14:45:56 Xinwei Hu, vous avez écrit : > > Hi, > > Have you tried to set the restart_type to restart ? > > > > refer to crm.dtd > > > > * restart_type > > Used when the other side of an ordering dependency is restarted/moved. > > * ignore : the default. > > Don't do anything extra. > > * restart > > Use this for example to have a restart of your database also > > trigger a restart of your web-server. > > > > 2008/1/22, Cousin Marc <[EMAIL PROTECTED]>: > > > 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 ? > > > > > > 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 > > _______________________________________________ > 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
