Search squid archive

HA Squid forward proxy in parent-parent relationship

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,


I have two Squid boxes behind an LVS (Linux Virtual Server) server. The
two boxes are forward proxies for two Apache webservers on the same
private network.

       |
       V
      WEB
       |
       V
     ------
     |LVS |
     ------
    /      \
   /        \
SQUID1     SQUID2
  |           |
Apache1    Apache2
  \           /
   \         /
    ---------
    |Content|
    ---------


Squid1 accelerates Apache1
Squid2 accelerates Apache2

Both squid boxes are set up as parents of each other , but with
"prefer_direct on".

My thinking is that if one of the back-end Apache's goes down then the
Squid that was accelerating that box will go to it's parent (accessing
the alternate Apache.)

I am hoping that by using "prefer_direct on" I will be able to avoid
forward loops. I am presuming that HTTP errors (such as 404's) from the
Web servers won't cause such looping.


Am I right?

TIA,
John***********************************************************The information in this e-mail is confidential and may be legally privileged.It is intended solely for the addressee. Access to this e-mail by anyone elseis unauthorised. If you are not the intended recipient, any disclosure,copying, distribution, or any action taken or omitted to be taken in relianceon it, is prohibited and may be unlawful.Please note that emails to, from and within RTÉ may be subject to the Freedomof Information Act 1997 and may be liable to disclosure.************************************************************

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux