AW: [Linux-HA] Tomcat times out

2008-07-07 Thread Ehlers, Kolja
Hello all, I have a general question about bash programming since yet I am not too familiar with it. The isrunning_tomcat() function in the tomcat ocf keeps returning an error code. This is the function: if wget -O /dev/null $RESOURCE_STATUSURL 2/dev/null; then return

Re: [Linux-HA] Tomcat times out

2008-07-07 Thread Michael Alger
On Mon, Jul 07, 2008 at 11:40:06AM +0200, Ehlers, Kolja wrote: I have a general question about bash programming since yet I am not too familiar with it. The isrunning_tomcat() function in the tomcat ocf keeps returning an error code. This is the function: if wget -O /dev/null

RE: [Linux-HA] Problem to start hbagent

2008-07-07 Thread Lienard Anne (SII)
Hello, I've tried to modify linux-ha hbagent.c to disable v2 functions access. But I still can't access to the MIB by snmpwalk... I think I have only two issues: - upgrade to linux-ha v2 style - or used heartbeat old linux-ha version Did someone test the patch described here

Re: [Linux-HA] Dependency graph

2008-07-07 Thread Lars Marowsky-Bree
On 2008-07-07T01:00:39, Ciro Iriarte [EMAIL PROTECTED] wrote: I know that graphviz is used, but this utility harvests the info, something that graphviz can't do on its own.. I was just asking if someone already worked on a utility that talks to the crm to make this kind of graph. ptest -D

AW: [Linux-HA] Tomcat times out

2008-07-07 Thread Ehlers, Kolja
Thank you Michael for the very detailed help. Its working pretty okay now still I have one more question. I am running Apache and one virtual ip adress in one group now and 9 tomcat instances ungrouped. I want heartbeat to start and monitor the apache/ip group on only one node and all tomcats on

Re: [Linux-HA] Tomcat times out

2008-07-07 Thread Michael Alger
On Mon, Jul 07, 2008 at 04:18:48PM +0200, Ehlers, Kolja wrote: I am running Apache and one virtual ip adress in one group now and 9 tomcat instances ungrouped. I want heartbeat to start and monitor the apache/ip group on only one node and all tomcats on both nodes. So if apache or the ip fails

[Linux-HA] Late Heartbeats During Daily Stats

2008-07-07 Thread Greg Haase
Several times in the last 4 days, we have been getting late heartbeat warnings that occur during the daily informational statistics run (approx 2:06 AM). On one occasion, the heartbeat was late enough to cause a fail-over. It appears to me that heartbeat is not able to process anything at all

[Linux-HA] Question on mnitored resource migration

2008-07-07 Thread Raghuram Bondalapati
Hi, I am having trouble failing over a monitored resource on to a node which was earlier marked by HA as being not fit to run that resource. However the node that has been earlier marked by HA as not fit to run that resource has been repaired and can now run that resource. How can i get HA to

[Linux-HA] weird heartbeat problem

2008-07-07 Thread Dan Gahlinger
we have a 2-node v1 style configuration, and this has been working for a long time, just recently upgraded to suse 11 (gm) with heartbeat 2.1.3-19.1 now, if we issue /etc/init.d/heartbeat stop on the primary node, it will create the virtual IP on the other node, but does NOT release the virtual

[Linux-HA] Re: Need help with resource-stickyness and STONITH

2008-07-07 Thread Christian Wörns
Hi, I use the RPMs come with SLES10 SP2: DRBD: 0.7.22 Heartbeat: 2.1.3 Why do you think STONITH should happen to a node when you shutdown mysql by hand? Maybe I wrote this unclear. I have two problems - my first is that I want if a applikation fails three times, a failover happens. The second

[Linux-HA] Re: Need help with resource-stickyness and STONITH

2008-07-07 Thread Christian Wörns
Hi, I use the RPMs come with SLES10 SP2: DRBD: 0.7.22 Heartbeat: 2.1.3 Why do you think STONITH should happen to a node when you shutdown mysql by hand? Maybe I wrote this unclear. I have two problems - my first is that I want if a applikation fails three times, a failover happens. The second