> 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

Reply via email to