[squid-users] Need Help Regarding Cache Peering

From: Jaime Elizaga Jr. <lord_chaos@dont-contact.us>
Date: Fri, 6 Dec 2002 00:27:51 +0800

Hi everyone,

I just need a little bit of help regarding proxy peering. I have set up two
squid boxes each with two interfaces, one for the internal LAN and the other
for the Internet connection. On each cache, I added the line on the squid
boxes

box 1 (cache1) --- > cache_peer cache2.domain.com sibling 3128 3120
box 2 (cache2) ----> cache_peer cache1.domain.com sibling 3128 3120

I do notice that UDP queries are done with both caches but it on my
cache.log, the other sibling dies..

cache.log on BOX 1
2002/12/05 23:44:47| Accepting HTTP connections at 0.0.0.0, port 3128, FD
15.
2002/12/05 23:44:47| Accepting ICP messages at 0.0.0.0, port 3130, FD 71.
2002/12/05 23:44:47| Outgoing ICP messages on port 3130, FD 79.
2002/12/05 23:44:47| Accepting SNMP messages on port 3401, FD 120.
2002/12/05 23:44:47| WCCP Disabled.
2002/12/05 23:44:47| Configuring Sibling cache2.domain.com/3128/3120
2002/12/05 23:44:47| Loaded Icons.
2002/12/05 23:44:47| Ready to serve requests.
2002/12/05 23:45:08| Detected DEAD Sibling: cache2.domain.com/3128/3120

cache.log on BOX 2

2002/12/05 23:45:55| Accepting HTTP connections at 0.0.0.0, port 3128, FD
11.
2002/12/05 23:45:55| Accepting ICP messages at 0.0.0.0, port 3130, FD 12.
2002/12/05 23:45:55| Outgoing ICP messages on port 3130, FD 13.
2002/12/05 23:45:55| Accepting SNMP messages on port 3401, FD 14.
2002/12/05 23:45:55| WCCP Disabled.
2002/12/05 23:45:55| Ready to serve requests.
2002/12/05 23:45:56| Configuring Sibling zeus.flash.net.ph/3128/3130
2002/12/05 23:45:56| Store rebuilding is 10.9% complete
2002/12/05 23:45:57| Done reading /cache swaplog (37739 entries)
2002/12/05 23:45:57| Finished rebuilding storage from disk.
2002/12/05 23:45:57| 37739 Entries scanned
2002/12/05 23:45:57| 0 Invalid entries.
2002/12/05 23:45:57| 0 With invalid flags.
2002/12/05 23:45:57| 37739 Objects loaded.
2002/12/05 23:45:57| 0 Objects expired.
2002/12/05 23:45:57| 0 Objects cancelled.
2002/12/05 23:45:57| 0 Duplicate URLs purged.
2002/12/05 23:45:57| 0 Swapfile clashes avoided.
2002/12/05 23:45:57| Took 1.7 seconds (21643.9 objects/sec).
2002/12/05 23:45:57| Beginning Validation Procedure
2002/12/05 23:45:57| Completed Validation Procedure
2002/12/05 23:45:57| Validated 37739 Entries
2002/12/05 23:45:57| store_swap_size = 418044k
2002/12/05 23:45:57| storeLateRelease: released 0 objects
2002/12/05 23:46:32| TCP connection to zeus.flash.net.ph/3128 failed
2002/12/05 23:46:38| TCP connection to zeus.flash.net.ph/3128 failed
2002/12/05 23:46:48| TCP connection to zeus.flash.net.ph/3128 failed
2002/12/05 23:46:51| TCP connection to zeus.flash.net.ph/3128 failed
2002/12/05 23:46:52| TCP connection to zeus.flash.net.ph/3128 failed
2002/12/05 23:46:52| TCP connection to zeus.flash.net.ph/3128 failed
2002/12/05 23:46:53| TCP connection to zeus.flash.net.ph/3128 failed
2002/12/05 23:46:53| TCP connection to zeus.flash.net.ph/3128 failed
2002/12/05 23:46:54| TCP connection to zeus.flash.net.ph/3128 failed
2002/12/05 23:46:54| TCP connection to zeus.flash.net.ph/3128 failed
2002/12/05 23:46:54| Detected DEAD Sibling: zeus.flash.net.ph/3128/313

I already added ACLs on both cache boxes.

acl sibling1 src 192.168.***.***/255.255.255.255
http_access allow sibling1

What else do i have to do to make this cache peering work?

Thanks for your input everyone!!!

Regards,

Jaime
Received on Thu Dec 05 2002 - 21:22:24 MST

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