Running 2 Squid Caches

From: Alex Sharaz <>
Date: Wed, 28 Aug 1996 11:37:55 +0100 (BST)


Having just upgraded to Squid 1.0.10, I'd now like to try running 2 squid
caches on site. Am I naive in assuming that all I've got to do is:-
1). Set up our DNS so that

a). has two "A" entries pointing to the 2 caches. Assuming
that the DNS works correctly, a query on should return
alternate IP addresses (?)

b). Set up entries for the 2 caches ( and

2). Configure our 2 squid.conf files to know about each other

On cache 1 set up cache_host neighbor 3128 3130 proxy-only
On cache 2 set up cache_host neoghbor 3128 3130 proxy-only

{ Possibly use the weight=n option to get each cache to check the other one
first before tryong other cache_host entries?)

Set up appropriate visible_hostname entries for each cache
( and

3). Inform the managers of my parent and neighbour caches of the new machine IP
address and the name changes for both machines

As all of the computer centre Web browsers are configured either to use an
automatic proxy config file or query whichever cache they
query first should check with the other one before trying outside hull..... and
if that fails they should access the remote host directly.

W.R.T.a remote site config, would they just keep ..... and rely on our caches checking with each other or
would they have to put both wwwcache1 and wwwcache2 in their config file?

Does the above sound correct? Have I missed something out? any thoughts /
comment would be appreciated.

X.400:I=A;S=Sharaz:ou=Computer Centre;O=Hull;Prmd=UK.AC;C=GB
X.500:cn=Alexander Sharaz@ou=Computer Centre@o=University of Hull@c=GB
Sent using Simeon 4.0.9 over Win-OS2
Received on Wed Aug 28 1996 - 03:39:16 MDT

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