Dear all,

 

I've two nodes with Suse Enterprise 10 OS installed.

Recently, struggled with how to monitor tomcat status(running or down). 

My scenario is like : 

When active node down(stop tomcat service make it failure  NOT SHUTDOWN
MACHINE OR DISABLE NETWORK),

heartbeat can discover that, 

And then forward the HTTP request to the passive node.

 

Suse Enterprise 10 OS built-in heartbeat version is heartbeat-2.0.5-7.10.

 

And my network environment is

Virtual IP 10.0.0.240

Node1 10.0.0.244 --> Tomcat (Active) 

Node2 10.0.0.245 --> Tomcat (Passive)

 

I'd used the 'hb_gui' tool to configure LSB tomcat. (add a native)

After I added the resource, I click the operation tab, and add status
interval 120s , timeout 60s.

And then click the Apply button. The screen pops up 'Activation failed'.

(I've add status method in /etc/init.d/tomcat LSB.)

Even if I add operation in the cib.xml of the 'tomcat' LSB primitive
segment, after reboot, the heartbeat server doesn't start.

I think it was fail with the operation tag by hand.

 

Would u plz help to give some hint or reference ?

That'll be a big great help.

Thanks in advance.

_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to