Don't use round robin DNS, in my experiences I have found windows boxes to chache its DNS lookups for too long.
There are some alternatives to buying hardware (I use an F5 product), heartbeat moinitoring is goodway to do it, but can take some setup, but there are probably scripts somewhere to make it easier. ServerA should have IP 2.2.3.4, ServerB 2.2.3.5. You also add to server a 1.2.3.4 and serverb 1.2.3.5. Using scripts you monitor if squid is up on 1.2.3.4 and 1.2.3.5. If squid fails on one, you have the scripts remove the IP from th failing host and place it on the host that is working. (hint: on my network I have to ensure I do a ping from the IP so the network knows where the IP went to.) Thats not a complete description, but you get the idea, also you have to monitor the 2.2.3.* address so that when squid on the box that fails starts again the scripts will undo the changes it made to deal with the fail. I hope this gives you a few ideas, Stewart On Thu, 21 Nov 2002, Mark Lewis wrote: > Date: Thu, 21 Nov 2002 11:54:22 -0600 > From: Mark Lewis <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED], Chris <[EMAIL PROTECTED]> > Subject: Re: Load Balancing SquidGurad Servers > > You could do this a couple ways, round robin DNS would half do it, but would > not take one out of rotation if it failed. > We have 8 proxies and use a Cisco Local Director to do this. Not cheap but > effective. I'm sure there are other sources of similar devices. > I belive there is a package that would allow you to do basically the same > thing. > Another option would be to do round robin DNS and have shell scripts on each > that check the other and recycle Squid or even reboot the server if it > senses failure i.e. unable to retrive a page or connect to the proxy port. > > ----- Original Message ----- > From: "Chris" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, November 21, 2002 9:32 AM > Subject: Load Balancing SquidGurad Servers > > > > Does anyone know how to setup 2 SquidGuard Servers to perform in a load > > balancing/failover situation. I would to have my users user proxy address > > 1.2.3.4 and if that one dies the 1.2.3.5 would take over... Is that > > posibble at all? > > > > Chris > > > > > > ********************************************************** > > This message was virus scanned at siliconjunkie.net and > > any known viruses were removed. For a current virus list > > see http://www.siliconjunkie.net/antivirus/list.html > > > > > > ********************************************************** > This message was virus scanned at siliconjunkie.net and > any known viruses were removed. For a current virus list > see http://www.siliconjunkie.net/antivirus/list.html > > >
