hey, in your ldirectord.cf file , add this line at the top(aboe your virtual
section):
quiescent = no
what that does is, it deletes the server entry from the table automatically if
the server fails and obviously once the server is back up it'll add
itautomatically. if that line is not set the default is = yes which just sets
the server to weight 0 and that leaves the connections persistant.
I had to look for a while to find that little line.
works like a charm here for session based set-up
Cheers,
//FR
-----Original Message-----
From: mike [mailto:mike@xxxxxxxxxxxxx]
Sent: Sun 9/28/2003 4:04 PM
To: LinuxVirtualServer.org users mailing list.
Cc:
Subject: Re: LVS-DR
hi
How do you delete the entry of the real server .
Thanks
----- Original Message -----
From: "Joao Clemente" <jpcl@xxxxxxxxxxxxxx>
To: "LinuxVirtualServer.org users mailing list."
<lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Sunday, September 28, 2003 8:50 AM
Subject: Re: LVS-DR
> > 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 .
>
> Hello mike. I'm using lvs-dr with persistence as well.
> I can't explain you why, but as fas as I've notisted,
> as soon as I delete the entry from lvs to a particular realserver,
> the packets start getting directed to other realservers...
>
> I was unable to explain why to miself, as I was expecting the packets to
> keep on trying to reach the failed realserver..
>
>
>
> ---
> 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: 23-09-2003
>
> _______________________________________________
> 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
_______________________________________________
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
<<winmail.dat>>
|