On Mon, Sep 20, 2010 at 11:02:07AM +0200, Arie Skliarouk wrote: > > > > Is there a way to make loadbalancer to "rehash" it's persistency IP tables > >> so that new requests from IP numbers assigned to the real server with zero > >> weight will be forwarded elsewhere? > >> > > > > Yes, you need to set /proc/sys/net/ipv4/vs/expire_quiescent_template to a > > non-zero value. > > > > Thank for the hint, I have found where the setting is explained in detail. > http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.persistent_connection.html#new_persistence > > I understand that with this sysctl no new connections will get forwarded to > the real server. Even ones that previously were assigned to the server via > persistence mechanism. > > One thing is still not clear to me: if I set this sysctl to 1 and set weight > of a real server to 0, will the already established connections to the > server get broken?
No, established connections shouldn't be broken. Please let me know if you observe otherwise. _______________________________________________ Please read the documentation before posting - it's available at: http://www.linuxvirtualserver.org/ LinuxVirtualServer.org mailing list - [email protected] Send requests to [email protected] or go to http://lists.graemef.net/mailman/listinfo/lvs-users
