LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Squid Load Balancing (http://www.linuxquestions.org/questions/linux-networking-3/squid-load-balancing-774929/)

isururj 12-11-2009 06:41 AM

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.

Please help

isururj 12-11-2009 07:28 AM

Solved!
 
Just added

"never_direct allow all"

reloaded Squid and Voila!:cool:


All times are GMT -5. The time now is 06:27 PM.