[squid-users] Problem with 2 cache_peer

From: Shekhar Gupta <shekharsahab14@dont-contact.us>
Date: Fri, 28 Dec 2007 16:36:34 +0530

All,

I am having this problem with my reverse proxy

Internet > ReverseProxy > Actual Webserver 1
> Actual Webserver 2

My problem is that this site is published on internet say
abc.mydomain.com , Both the servers are having diff IP 10.1.1.1 and
10.1.1.2
now i want to have these servers configured in squid.conf ,

cache_peer 10.1.1.1 parent 80 0 no-query originserver login=PASS
round-robin name=abc.mydomain.com
acl sites_server_9 dstdomain abc.mydomain.com
cache_peer_access abc.mydomain.com allow sites_server_9
cache_peer 10.1.1.2 parent 80 0 no-query originserver login=PASS
round-robin name=abc.mydomain.com
acl sites_server_10 dstdomain abc.mydomain.com
cache_peer_access abc.mydomain.com allow sites_server_10

Squid throws duplicate entry
FATAL: ERROR: cache_peer abc.mydomain.com specified twice

Squid Cache (Version 2.6.STABLE13): Terminated abnormally.
CPU Usage: 0.049 seconds = 0.045 user + 0.004 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Aborted

Can any one suggest how to go for this .
Received on Fri Dec 28 2007 - 04:06:39 MST

This archive was generated by hypermail pre-2.1.9 : Tue Jan 01 2008 - 12:00:02 MST