I have similar problem, hb tried to start Oracle before the other resources needed: drbd and filesystem. At this time this works for me (still don't known if at failure time the other node will bring up the service, I just began to configure my cluster a few days ago):
- Add an order constraint for the service to start database after file system is started: <rsc_order id="oracle_db_o1" from="oracle_db" to="oracle_fs" action="start"/> - Add a collocation resource constraint over database service over drbd resource: <rsc_colocation id="oracle_db_c1" from="oracle_db" to="oracle_drbd" to_role="slave" score="-INFINITY"/> - Delete this constraint: <rsc_colocation id="bacula_drbd0_0" to="bacula_drbd_1" to_role="stopped" from="group_bacula" score="-INFINITY" /> I don't known why this constraint doesn't work but when I deleted from my cib.xml I got my services working. - Remove this attribute: <nvpair id="bacula_drbd_1_target_role" name="target_role" value="started" /> It seems that you make some manual modifications in cib.xml and other with gui, isn't it? Tell me if worked. Regards. -----Mensaje original----- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Marc Cousin Enviado el: Martes, 19 de Junio de 2007 05:29 a.m. Para: General Linux-HA mailing list Asunto: [Linux-HA] Ordering constraint between a master/slave and a groupresource Hi, I'm having trouble figuring out how to configure heartbeat-2 with a master/slave resource (drbd). Everything works well, except for the ordering : - One of my nodes is promoted to master - heartbeat (tries) to start the group with my applications Everytime, my group is started before drbd has been promoted I've tried to do as documented on the website, and tried various combinations, but with no success. I've attached my cib. If there is anything else needed I will provide it... Thanks a lot for helping. Marc Cousin _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
