Re: [squid-users] Failover with 2 parents

From: <Ian.Large@dont-contact.us>
Date: Thu, 26 May 2005 16:02:40 +0100

Hi Konstantin

> In the A-office I'm using child-proxy which redirects
> requests to the parent1, and I want to make failover
> in case when internet line for parent1 is down to
> redirect requests to parent2 in branch2.

We do something similar and our config is as follows:

cache_peer 10.1.226.93 parent 80 3130 no-digest weight=5 login=PASS
cache_peer 10.1.2.93 parent 80 3130 no-query no-digest weight=1 login=PASS
peer_connect_timeout 5 seconds

This sends the connections normally to 10.1.226.93 which is via a fast
link and if that link is down it fails over to the secondary connection.
Seems to work okay...

-- 
Ian Large <ian.large@salvesen.com>
IT Department, Christian Salvesen, Lodge Way,
New Duston, Northampton NN5 7SL, United Kingdom
Tel: +44 1604 737100 x760 Fax: +44 1604 737111

--------------------------------------------------------------------------------

For information on Christian Salvesen visit our website at www.salvesen.com.

The information contained in this e-mail is strictly confidential and for the use of the addressee only; it may also be legally privileged and / or price sensitive.  Notice is hereby given that any disclosure, use or copying of the information by anyone other than the intended recipient is prohibited and may be illegal.  If you have received this message in error, please notify the sender immediately by return e-mail.

Christian Salvesen has taken every reasonable precaution to ensure that any attachment to this e-mail has been swept for viruses.  However, we cannot accept liability for any damage sustained as a result of software viruses and would advise that you carry out your own virus checks before opening any attachment.

Christian Salvesen is a trading name of the Christian Salvesen Group.  Christian Salvesen PLC (Company number SC7173) is the ultimate holding company within the Christian Salvesen Group whose registered office is at 16 Charlotte Square, Edinburgh EH2 4DF.
Received on Thu May 26 2005 - 09:02:48 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Jun 01 2005 - 12:00:03 MDT