[Linux-HA] Test of HA

Andrew Beekhof beekhof at gmail.com
Wed Oct 19 00:51:21 MDT 2005


On 10/18/05, Alan Robertson <alanr at unix.sh> wrote:
> Philip Juels wrote:
> > Yes, that would be my guess as well...it's trying to shutdown a resource
> > that is already dead and just waits until it gets the appropriate
> > shutdown response...which it never does and so it sits there twiddling
> > its thumbs.  I should have expected this since I've essentially set up a
> > version 1 heartbeat failover scheme using version 2 syntax.
> >
> > Which brings me to the question of how to setup a version 2 heartbeat
> > scheme where the primary node attempts to restart a crashed service
> > first before failing over to the secondary node?  We run a jboss
> > application service, and occasionally the Java VM will crash which
> > doesn't mucking up the entire server.  To recover, we simply restart
> > jboss.  It would be nice to be able to automatically restart jboss on
> > the same node in the case of a VM failure.  Perhaps the answer is not to
> > use heartbeat for a local recovery of a service (application) failure,
> > but use heartbeat in the case of a more drastic server (hardware, OS,
> > etc) crash?
>
> I think that a monitor failure will cause it to restart, and a start
> failure will cause it to fail over.

correct.  and after a monitor failure we always try the stop/start.

i do expect to make this tunable at some point.

>
>
> --
>      Alan Robertson <alanr at unix.sh>
>
> "Openness is the foundation and preservative of friendship...  Let me
> claim from you at all times your undisguised opinions." - William
> Wilberforce
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>



More information about the Linux-HA mailing list