LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 12-11-2009, 06:41 AM   #1
isururj
LQ Newbie
 
Registered: Oct 2005
Posts: 8

Rep: Reputation: 0
Question 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
 
Old 12-11-2009, 07:28 AM   #2
isururj
LQ Newbie
 
Registered: Oct 2005
Posts: 8

Original Poster
Rep: Reputation: 0
Solved!

Just added

"never_direct allow all"

reloaded Squid and Voila!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Managing Two ISP's with Load Balancing on a Squid Proxy Server. varun2109 Linux - Server 1 09-24-2009 06:43 PM
Network Load balancing + squid server with multiple uplink configuration ntlinn Linux - Server 0 08-19-2009 02:43 AM
Load balancing through squid proxy server punit1985 Linux - Newbie 3 11-02-2008 01:51 AM
Squid Load Balancing drmouse1981 Linux - Server 1 04-14-2007 02:31 AM
squid with load balancing (?) no2nt Linux - Networking 1 09-12-2001 09:25 AM


All times are GMT -5. The time now is 06:42 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration