At 10:16 AM 3/12/98 +0200, dany rahhal wrote:
>Dear Sir
>you are kindly asked to inform me how to configure the proxy Squid
>server to work wirh two netscape server using the round robin method,
>because I have problems.
>users will call the squid server who will ask the two proxy servers.
>
> Internet
> |
> |
>|--------| |---------| |----------|
>|Client |--------->>----| Squid |--------->>-----| proxy2 |---
>Internet
>|--------| |Server | |----------|
> | proxy |
> |---------|
> |
> |
> |
> |----------|
> | proxy1 |
> |----------|
> |
> |
> Internet
>
>proxy1 address :193.227.162.195 http-port: 8080
>proxy2 address :193.227.162.196 http-port: 8080
>
>in the squid.conf file I have wrote:
>
>cache_host 193.227.162.195 sibling 8080 7 round-robin
>cache_host 193.227.162.196 sibling 8080 7 round-robin
Dany,
You use sibling (this is a neighbor cache-sharing kind of thing) and your
setup describes a parent config. A sibling only gets the data from the peer
if this one replies with an ICP_HIT. The Netscape proxy doesn't support ICP
(I think. Is this still true?)
You want something like this:
cache_host 193.227.162.195 parent 8080 7 round-robin
cache_host 193.227.162.196 parent 8080 7 round-robin
Make sure the UDP echo port is enabled in /etc/inetd.conf in the Netscape
proxies or use "no-query". Using "no-query" is only a good plan if proxy1
and proxy2 are reliable (I expect they are). If you want a fallback to go
direct you might want to keep the "UDP echo's" on.
>I don't know why the Squid server call directly the internet without
>calling proxy1 or proxy2 .
>
>best regards.
>
> Dany Rahhal
---------------------------------------------------------------------
Marc van Selm
NATO C3 Agency
Communication Systems Division, A-Branch
E-Mail: marc.van.selm@nc3a.nato.int
---------------------------------------------------------------------
Private: selm@cistron.nl, selm@het.net, http://www.cistron.nl/~selm
"Nobody will ever need more than 640k RAM!"
-- Bill Gates, 1981
"Windows 95 needs at least 8 MB RAM."
-- Bill Gates, 1996
"Nobody will ever need Windows 95."
-- logical conclusion
Received on Thu Mar 12 1998 - 00:30:01 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:20 MST