Re: [squid-users] accel-mode with round-robin and parent proxy

From: Henrik Nordström <henrik@dont-contact.us>
Date: Wed, 12 Sep 2007 10:06:37 +0200

ons 2007-09-12 klockan 01:28 +0200 skrev Stefan S.:
> Hallo,
>
> I use Squid pre3 (on SuSE 9.3) in accel mode with the config:
>
> http_port EXTERNAL_IP:80 accel defaultsite=MY_DOMAIN.TLD
>
> cache_peer IP-ADRESS1 parent 80 0 no-query originserver round-robin
> cache_peer IP-ADRESS2 parent 80 0 no-query originserver round-robin
>
> which works really good.
>
> Now I added a parent proxy through which squid should connect to the
> backend servers.
>
> I did this by adding:
>
> cache_peer localhost parent 8118 0 default no-query no-digest

I don't quite get what you want to accomplish. How do you want your
Squid to use the now three peers?

address1, address2, localhost

> The proxy works, but seems to disable the round-robin, because only the
>
> "cache_peer IP-ADRESS1 parent 80 0 no-query originserver round-robin"
>
> server works with the parent proxy.

What peering relations do your parent have?

When a request is forwarded it's up to the next hop to decide what
happens next..

Regards
Henrik
Received on Wed Sep 12 2007 - 02:09:19 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Oct 01 2007 - 12:00:02 MDT