Dnia sobota, 10 marca 2007 00:24, Ben Hollingsworth napisał:
> 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=3Dtrue, 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 have one solution, but it works only in case of transparent proxy setup.
Instead of persistance, use lblc scheduler (without persistance). lblc itself
gives you some kind of persistance of 6 minutes or more. If 6 minutes is not
enough for you, please look here:
http://kb.linuxvirtualserver.org/wiki/Talk:Locality-Based_Least-Connection_Scheduling
Cheers,
Janusz
|