On 29 September 2010 14:31, <[email protected]> wrote: > > > Am I right in thinking that if a single client makes its first > connection to node1 then as long as there are connections made before > the persistence time-out they will be made to the same real server > again?
Yes. >But then if the weight changes to 0 on node1 new connections will > be made to node2 regardless of the persistence time-out? (as should > happen on SH but doesn't). You will probably want to set the following (otherwise you have to wait for the persistence to run down before current connections move to another server) echo 1 > /proc/sys/net/ipv4/vs/expire_quiescent_template echo 1 > /proc/sys/net/ipv4/vs/expire_nodest_conn Also If you are using ldirectord you will probably want quiscent=no set. -- Regards, Malcolm Turnbull. Loadbalancer.org Ltd. Phone: +44 (0)870 443 8779 http://www.loadbalancer.org/ _______________________________________________ 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
