[squid-users] ICAP configuration

From: Dave Raven <dave@dont-contact.us>
Date: Fri, 14 May 2004 15:53:43 +0200

Hi all,
        Just a few questions on ICAP configuration if anyone can help -
there are not many documents on it. I'm wondering about the differences
between load balancing (round robin or smart) between multiple servers, and
forcing squid to icap to multiple servers each request... My best guess is
this :

#Preset acls:
acl HTTP proto HTTP
acl GET method GET

---
icap_service s1 respmod_precache 0 icap://10.10.10.1:1344/virus_checking
icap_service s2 respmod_precache 0 icap://10.10.10.2:1344/virus_checking
icap_class c1 s1 s2
icap_access c1 allow HTTP GET
---
That would load balance c1 between the two servers
----
icap_service s1 respmod_precache 0 icap://10.10.10.1:1344/virus_checking
icap_service s2 respmod_precache 0 icap://10.10.10.2:1344/content_checking
icap_class c1 s1
icap_class c2 s2
icap_access c1 allow HTTP GET
icap_access c2 allow HTTP GET
---
That would cause the request to go through BOTH servers...
Are my assumptions correct?
Thanks
Dave Raven
Received on Fri May 14 2004 - 07:52:20 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Jun 01 2004 - 12:00:01 MDT