There have been some discussions about persistence recently but I don't recall
if it was addressing this issue.
May I ask why you have persistence of 6 hours? Seems a long time and sort of
defeats load balancing. I don't know your setup so this may be a naive question.
________________________________
From: lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx on behalf of Leon Keijser
Sent: Fri 13/01/2006 11:25 AM
To: LinuxVirtualServer.org users mailing list.
Subject: RE: all clients disconnect when removing a realserver
> I don't know what you are expecting, but if you *delete* a real server
> then you are telling the system it is not available, full stop. So all
> connections will disappear.
>
> I suspect what you really want is to reduce its weight to zero. so now no
> new connections are established. Of course you then have to wait until the
> clients have all expired before you can then delete it for maintenance or
> whatever.
Waiting for them to expire is not the real problem. The problem is
persistence. Because they can disconnect and reconnect within the
persistence-set limit (6 hrs) and come back to the same server again, even
though weight is set to 0.
What would be handy is if i could temporarily disable persistence, set
weight to 0, wait for them to expire, and then enable persistence again. Or
an option that LVS doesn't look at persistence once a realserver's weight
has been set to 0.
Léon
--
10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail
+++ GMX - die erste Adresse für Mail, Message, More +++
|