On Sun, 9 Sep 2001, Tilo Lutz wrote:
> Hi
>
> I've got 2 uplinks:
> 1 SDSL 2Mbit
> and one ADSL ,8Mbit
>
> i've wnat to load-balance them with squid.
> Here's my setup
>
> 10MBit Hub
> |-Squid1----\ |
> | >--------- SDSL 2 MBit
> |-Squid2----/
> |
> |-Squid3-------------- ADSL 0,8 Mbit
> |
> | - 100Mbit - full switched
> |
> Client
>
> Squid1 is the main-proxy.
> Squid2 and Squid3 are parents of Squid1.
>
> I've insereted them with the following lines:
> cache_peer squid2 parent 3128 3130 round-robin
> cache_peer squid3 parent 3128 3130 round-robin
>
> I've also told Squid1 don't go directly
> acl all src 0.0.0.
> alway_direct deny all
You haven't done what you want. As squid.conf explains:
You need to be aware that "always_direct deny foo" is NOT
the same thing as "never_direct allow foo"
You really want
never_direct allow all
> Sometimes it works.
> Squid1 is receiving it's data from Squid2
> or Squid3
> But very often, Squid1 tell me it can't
> reach any parent.
You should have some messages in cache.log that explains
why Squid1 cannot select a parent.
You may want to make Squid2 or Squid3 a "default" parent
for Squid1.
cache_peer squid2 parent 3128 3130 round-robin default
In this case Squid1 should try to contact Squid2 even if it
thinks Squid2 might be down.
Received on Sun Sep 09 2001 - 13:04:11 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:06 MST