Quiescent server connections

Joseph Mack NA3T jmack at wm7d.net
Sat Mar 10 01:21:50 GMT 2007


On Fri, 9 Mar 2007, Ben Hollingsworth wrote:

> 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

setting the weight=0 for the RS is the usual way of doing 
this. I assume you know that. Is there something I don't 
get?

Joe

> 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?
>
>

-- 
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!

Search lvs-users Archives
Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort

More information about the lvs-users mailing list