[Linux-cluster] prevent ping-pong

Lon Hohberger lhh at redhat.com
Fri Apr 24 17:29:35 UTC 2009


On Fri, 2009-04-10 at 00:35 +0200, Pavlos Parissis wrote:
> Hi,
> 
> Is there a way to configure cluster to not ping-pong a service more
> than N times?
> 
> I have an application where sometimes cluster gets a no zero status on
> the check and keeps failover back and forth the service.
> I want the cluster to try only N times to fail over the service and
> then disables it if it can't start it or gets a no zero status on
> checks after N times.

On most-current RHEL 4 + errata, you can do a 'max_restarts' combined
with 'restart_expire_time' to achieve a maximum restart before failover,
but there's no current limit to the # of restarts / failovers before a
disable.

-- Lon





More information about the Linux-cluster mailing list