Hi all,
I have configurede a 2 nodes v2 HA cluster with hearbeat 2.0.8. So far, I included all resources in the same group. It is an easy way to offer colocation and ordering features.

The problem is that I have 8 tomcat instances within the same group, so in a loaded environment it takes 3 minutes to start all tomcat resources in the group.

I implemented a status function to provide every tomcat LSB script a better way to meaure process health. Heartbeat uses this function to get the information about resource health. If the tomcat fails, then heartbeat restart it. That's perfect! The problem is that in case of groups, the whole resources within a group are restarted!!!

To improve uptime of the different services, I would like to make them independent. I don't want "tomcat2-tomcat8" to be restarted when "tomcat1" fails. I just want "tomcat1" to be restarted and leave all other resources running normally in the cluster .

The problem is that all tomcats need to run in the same node. If I set collocation constraints to INFINITY, then resources will not move to the passive node in case of continous failure of a resource.

Anyone has some advice on how to configure colocation constraints? Or any other solution?

Thank you very much!!

-Abraham


_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to