Squid Load Balancing
OS: Debian Lenny
Squid version: 3
I have 3 broadband internet connections and currently I have 3 proxy servers (one for each connection) running.
I need to have another proxy server that will fetch pages in round-robin fashion from the 03 servers above in order speed up the web access. I don't want this server to fetch pages directly (No direct Internet access)
I tried the following configuration in squid.conf but my server still tries to fetch pages directly instead of going through the parent servers.
cache_peer [PARENT1_IP] parent 8080 3130 round-robin no-query no-digest proxy-only
cache_peer [PARENT2_IP] parent 8080 3130 round-robin no-query no-digest proxy-only
cache_peer [PARENT3_IP] parent 8080 3130 round-robin no-query no-digest proxy-only
I tried specifying "never-direct" as an option but then Squid quits citing a messed up config file when I try to reload.
"never_direct allow all"
reloaded Squid and Voila!:cool:
|All times are GMT -5. The time now is 02:38 PM.|