Re: [squid-users] multi original servers

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 10 Jun 2008 14:29:19 +1200 (NZST)

> Hello,
>
> Under squid's reverse proxy mode, if there are more than one original
> server, how to config it?
>
> cache_peer InsideIP1 parent 80 0 no-query originserver name=Myserver
> round-robin
> cache_peer InsideIP2 parent 80 0 no-query originserver name=Myserver
> round-robin
>
> Is the config above right? The two lines have the same values of
> 'name=' , is it right?

No. name= MUST be unique.

The peers get grouped according to the algorithm they use 'round-robin' in
your case.
You can also make multiple 'groups' on any request criteria and use
cache_peer_access to route requests around or prevent a peer handling
certain ones.

Amos
Received on Tue Jun 10 2008 - 02:29:39 MDT

This archive was generated by hypermail 2.2.0 : Tue Jun 10 2008 - 12:00:03 MDT