LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Should the Virtual IP shutdown when all real servers are dead?

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Should the Virtual IP shutdown when all real servers are dead?
From: Horms <horms@xxxxxxxxxxxx>
Date: Thu, 20 Mar 2003 21:25:09 +0900
On Thu, Mar 20, 2003 at 07:02:54AM -0500, Joseph Mack wrote:
> "Johnson L. Wu" wrote:
> > 
> >  Greetings,
> > 
> >  I have a config where:
> > 
> >  2 LVS directors are setup as an HA pair.
> > 
> >  LVS-A(MASTER) has real servers R1 and R2
> >  LVS-B(BACKUP) has real servers R1, R2, and R3
> > 
> >  When both R1 and R2 go down, I see LVS-A generate an email notifying
> >  the realservers being DOWN.  However, LVS-B does not assume MASTER
> >  until someone unplugs the ethernet of LVS-A or simply powers down LVS-A.

I would suggest resending your question to the linux-ha list
(see http://www.linux-ha.org/).

Suffice to stay that it can be done, by writing an
external aplication for heartbeat. I am not sure
if someone already has some working code or not.

> >  I wonder if there is a supported config for the master to tell the backup
> >  to assume active once all it's realservers fail.
> 
> presumably you'd have to down the ethernet of A when A detects that both
> realservers are down.

That could be done too.

-- 
Horms
<Prev in Thread] Current Thread [Next in Thread>