On Thu, Mar 10, 2005 at 02:16:39PM +0000, Malcolm Turnbull wrote:
>
> Has any work been done on reaping the persistence template when a
> persistent real server is downed ?
>
> i.e. You have two real servers with a persistence of 20 mins.
> You take one server down, and ldierctord removes the real server
> completely from the LVS table (quiscent=no).
>
> All connections are broken and new connections are forced to the other
> server.
> BUT if you bring the server back up within 20 mins...and ldirectord
> re-adds it to the LVS table ,
> Thwn the origional persistence template will still be valid ?
> and connections will move for the origional clients to the now back up
> and running server (causing loss of session again.)
> My limited testing with a straight 2.4.26 kernel seems to back this up.
>
> Their was a mention of the problem here :
> http://archive.linuxvirtualserver.org/html/lvs-users/1999-12/msg00019.html
>
> Is their anyway of clearing the entries from the persistence template ?
> Or making the newer ones take priority?
> Or have I completely missed the point ? (which happens quite a lot with
> me..)
This patch was recently included in the kernel and I beleive
it adds the behaviour that you are after. I think it appeared
in 2.6.11 and 2.4.29, but I am not sure.
http://www.in-addr.de/pipermail/lvs-users/2004-February/011018.html
--
Horms
|