[squid-users] Primary, Secondary, Tertiary Squid proxies

From: Nick Cairncross <Nick.Cairncross_at_condenast.co.uk>
Date: Wed, 21 Apr 2010 16:00:26 +0100

Hi,

I would like to configure my proxies to route via different boxes if the primary upstream is unavailable. I have three Squid boxes all at different sites . All three have the entry:

        cache_peer upstream.isp.com parent 8080 0 no-query default

All three are the same, utilising Kerberos authentication, hooking into an ICAP server. All working ok - users authenticate, ICAP manipulation then passed upstream. What I want is if the upstream at site A is unavailable I would like to route to the site B, and then site C to pass to the upstream. Likewise at Site B, site A, site C. And again at site C, site B and site A.

I think I need to be looking at something like this.. I'm not using caching by the way:

SiteA proxy:
        cache_peer upstream.isp.com parent 8080 0 no-query no-digest default
        cache_peer siteb.[mydomain] sibling 8080 0 no-query no-digest
        cache_peer sitec.[mydomain] sibling 8080 0 no-query no-digest

Do I also need additional conf lines to say send upstream and don't do any auth/ICAP etc or is it as simple as getting the right lines above and it'll automatically go upstream?

Could anyone offer some pointers?

Thanks in advance,

Nick

** Please consider the environment before printing this e-mail **

The information contained in this e-mail is of a confidential nature and is intended only for the addressee. If you are not the intended addressee, any disclosure, copying or distribution by you is prohibited and may be unlawful. Disclosure to any party other than the addressee, whether inadvertent or otherwise, is not intended to waive privilege or confidentiality. Internet communications are not secure and therefore Conde Nast does not accept legal responsibility for the contents of this message. Any views or opinions expressed are those of the author.

Company Registration details:
The Conde Nast Publications Ltd
Vogue House
Hanover Square
London W1S 1JU

Registered in London No. 226900
Received on Wed Apr 21 2010 - 15:01:42 MDT

This archive was generated by hypermail 2.2.0 : Thu Apr 22 2010 - 12:00:05 MDT