Hi,

On Fri, Feb 29, 2008 at 09:17:47PM +0530, Milind Talekar wrote:
> On Friday 29 February 2008, Serge Dubrouski wrote:
> > http://www.linux-ha.org/v2/faq/forced_failover?highlight=%28faq%29
> >
> > Unfortunately as far as I know it's broken in 2.1.3.
> >
> > On Fri, Feb 29, 2008 at 8:11 AM, Milind Talekar <[EMAIL PROTECTED]> 
> wrote:
> > > Hello All
> > >
> > >
> > >               I had a query about the service monitoring in HA v2, I was
> > >  wondering if i can configure it in such a way that if a service fails ,
> > >  heartbeat should try to restart it say n number of times before it
> > > fences the system
> > >
> > >
> > >  Appreciate your replies
> > >
> > >
> > >  Milind
> > >
> > >
> > >
> > >  _______________________________________________
> > >  Linux-HA mailing list
> > >  [email protected]
> > >  http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > >  See also: http://linux-ha.org/ReportingProblems
> 
> What I meant was in case I have a active passive setup in which if a service 
> fails on the master node then heartbeat tries to restart that service before 
> it tries to do a failover and kills the node where the service has failed 

In case the monitor fails why would you want to kill the node? If
it's cooperating and if it can stop the resource, there's no need
for that, right? In short, you could do it like this:

1. Setup various stickiness/preference parameters (see the posted
script by Dominik Klein and docs at linux-ha.org) so that after
n-th monitor failure there's a failover.

2. In case the node can't stop the resource, then it's going to
be fenced.

Thanks,

Dejan

>  - Milind 
> _______________________________________________
> 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

Reply via email to