LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS-DR

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: LVS-DR
From: <mike@xxxxxxxxxxxxx>
Date: Mon, 29 Sep 2003 07:43:48 -0400
Thanks a million Florian Rommel and peter nash that was it .
----- Original Message -----
From: Peter Nash
Sent: Monday, September 29, 2003 4:32 AM
Subject: Re: LVS-DR


>
> hi
> I am using LVS-DR to balance 4 MS servers . Due to the nature of the web
> application and the user behavior I had to set the connection timeout as 30
> min . In case of  failure of one of the real servers users need to be forced
> to connect to a different server. That means the lvs tables need to cleared
> as far as connections from clients to the failed box , so that any reconnect
> trail will open new connection to one of  functioning servers . I an using
> ldirectord  to startup and monitor .
>


Hi Mike

I'm using LVS-NAT with persistence controlled by ldirectord.  I've found that the "quiescent=" line in ldirectord.cf controls the behaviour you are looking for.  If "quiescent=no" then when a realserver fails it's LVS entries are removed from the table and clients immediately failover to an alternate server.  If "quiescent=yes" then when a realserver fails it's entries remain in the LVS tables but the weight is set to 0 and clients will continue to try to connect to that server until the persistence expires.  The default setting (on my installation) was "yes" and I had to change this to get the behaviour I wanted.

Regards,

Peter.


_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.521 / Virus Database: 319 - Release Date: 9/23/2003
<Prev in Thread] Current Thread [Next in Thread>