On Jan 13, 2008, at 10:40 AM, Thomas Glanzmann wrote:
Hello,
I have four tomcat servers, I installed linux-ha on them to
supervise a
tomcat process. I would like to know if the following configuration is
okay to do it that way or is there anything further I should think
about:
looks sane enough - though linux-ha is slightly heavy for just
monitoring processes in a cluster-of-one.
any reason not to make it a four node cluster?
ha.cf:
use_logd yes
node tomcat-02
bcast lo
watchdog /dev/watchdog
crm on
tomcat.xml:
<configuration>
<resources>
<primitive class="ocf" provider="heartbeat"
type="tomcattg" id="tomcat">
<operations>
<op name="monitor"
interval="60s" timeout="120s" start_delay="1m" id="monitor-tomcat"/>
<op name="start"
timeout="120s" id="start-tomcat"/>
<op name="stop"
timeout="120s" id="stop-tomcat"/>
</operations>
</primitive>
</resources>
</configuration>
Note: The tomcats have sticky sessions and do _not_ share their
sessions.
Thomas
_______________________________________________
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