Re: Squid over 2 machines?

From: Bruce Campbell <bc@dont-contact.us>
Date: Fri, 27 Nov 1998 16:41:58 +1000 (EST)

On Fri, 27 Nov 1998 roddy@satlink.com.au wrote:

> Hi,.
> Is it possible to set squid up, so if one machine on the network
> dies, it automatically uses the other machine as a backup cache??

Yes. Squid automatically does does this if it detects that one of the
other squids its peering with vanishes. However, for client's web
browsers, its another question:

> If so how could it be done?

Well, you've got a number of possibilities. Brisnet's Dancer wrote
something called 'sparent' which is a poor-mans local redirector (runs an
a machine and just forwards connections equally to the squids which are
responding.)

Other people have written browser auto-configure scripts which do the
same.

My preference is for each squid's nameserver to be authoritive for a zone
'proxy.isp.whatever.it.is' which has its own address listed in there, and
the ISP's main DNS server lists each squid as NS records for the zone
'proxy.isp.whatever.it.is' ... provided you keep the TTLs on the A records
low, you don't notice it, and DNS timeouts keep everything happy if one
squid fails.

Or, you could go the Connect.Com.Au way and make Cisco happy by buying a
Cisco Local Redirector - funky stuff (http://info.connect.com.au/)

--==--
Bruce.
Received on Thu Nov 26 1998 - 23:46:51 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:43:23 MST