Re: [squid-users] Can't treat fail-over function in ICAP

From: Christos Tsantilas <christos_at_chtsanti.net>
Date: Sat, 16 Aug 2008 22:12:22 +0300

Hi,
S.KOBAYASHI wrote:
> Hello developer,
>
> I'm trying to use ICAP fail-over function, however it didn't do.
in my tests this thing works well.

>
> icap_service service_1 respmod_precache 0
> icap://192.168.10.231:1344/interscan
> icap_service service_2 respmod_precache 0
> icap://192.168.10.232:1344/interscan
>

You should define this services as optional to allow fail-over function
to work, eg:
icap_service service_1 respmod_precache 1
icap://192.168.10.231:1344/interscan

Regards,
     Christos

> adaptation_service_set svcBlocker service_1 service_2
>
> squid never re-connect to 192.168.10.232(service_2) when the first service
> is failed.
>
> The ICAP server (92.168.10.231) service has been shut down, before testing.
> I also tested that 192.168.10.231 machine has been unplugged LAN cable, but
> it was same result.
>
> How can I configure for ICAP redundancy in the squid.conf?
>
> Best Regards,
> SEIJI KOBAYASHI
>
Received on Sat Aug 16 2008 - 19:12:35 MDT

This archive was generated by hypermail 2.2.0 : Sun Aug 17 2008 - 12:00:04 MDT