You probably want something like:
cache_peer 172.31.1.80 sibling 3128 3130 no-digest proxy-only
Obviously the IP address is dependent on which server you ware on. The line
above is written for the proxy at 172.31.1.81. 3128 should be set to the
port that Squid (on the sibling) runs on and the 3130 is the port that ICP
(on the sibling) runs on. no-digest tells squid not to ask for cache
digests (since the proxies are on the same LAN, I think that ICP is the
quicker query method), and proxy-only will prevent the two from carrying
overlapping content.
Chris
-----Original Message-----
From: Manoj Kumar Chitlangia [mailto:mkchitlangia_02@iiita.ac.in]
Sent: Thursday, November 18, 2004 8:55 AM
To: squid-users@squid-cache.org
Subject: [squid-users] cache peer
Hello,
I have two proxy servers running squid.I wish to make them share each
others cache. I am facing problems with the cache_peer entry. Can anyone
help me with it.
The two proxies are : 172.31.1.80 and 172.31.1.81 and both run at the same
level, I mean not as parent or child.
Thanks,
Manoj
Received on Thu Nov 18 2004 - 11:59:34 MST
This archive was generated by hypermail pre-2.1.9 : Wed Dec 01 2004 - 12:00:01 MST