LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Quiescent server connections

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Quiescent server connections
From: "Ben Hollingsworth" <ben.hollingsworth@xxxxxxxxxxxx>
Date: Fri, 09 Mar 2007 17:24:49 -0600
OK, so I've got my setup nailed down pretty well.  This is pair of squid
web proxies on a 2-host LVS running UltraMonkey / HB 2.0.7-8 on RHEL4
(2.6.9).  I'm struggling with one more thing, though.  With
quiescent=true, if I shut down squid on one box, connections from new
hosts fail over to the other box just fine, but connections from
persistent hosts keep going to the same, dead box.  I realize this is as
intended.  If I set quiescent=false, all client communication with the
dead box ceases immediately, which includes cutting off active
connections at the knees.  That's not an issue if the squid actually
dies.  However, most of our failovers will be due to my own planned
maintenance.  In that case, I'd like to allow existing connections
(which may be lengthy downloads) to finish before sending new requests
(even from persistent clients) to the live box.  I can't find any way to
do this without hacking the kernel to match a 2-yr-old patch that Horms
published (assuming that even applies to my setup).  Most of the info
about this seems to have been written three years ago.  Is there a way
to make this work without a custom compile?

-- 
CONFIDENTIALITY NOTICE: This e-mail message, including any
attachments, is for the sole use of the intended recipient(s)
and may contain confidential and privileged information.  Any
unauthorized review, use, disclosure or distribution is 
prohibited.  If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies
of the original message.





<Prev in Thread] Current Thread [Next in Thread>