LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 10-07-2011, 08:51 AM   #1
maxy
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Rep: Reputation: 0
Squid load balancing configuration


Hi Friends,

I have RHEL5 server, and we want to configure SQUID proxy server as load balancer.

Ex.

[ RHEL5 server1 ] [ RHEL5 server2 ]
Squid squid

We want to configure round Robbin squid, like..
to load balance server , one request goes to server 1
other request goes to server 2, and again same.

Please suggest how this can be done..?or if there are open source tools for this.Please let me know how i should proceed.
 
Old 10-07-2011, 10:10 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,098

Rep: Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719Reputation: 2719
Quote:
Originally Posted by maxy View Post
Hi Friends,

I have RHEL5 server, and we want to configure SQUID proxy server as load balancer.
Ex.
[ RHEL5 server1 ] [ RHEL5 server2 ]
Squid squid

We want to configure round Robbin squid, like..to load balance server , one request goes to server 1 other request goes to server 2, and again same. Please suggest how this can be done..?or if there are open source tools for this.Please let me know how i should proceed.
The best open source tool you could use is Google...lots of how-tos can be found, by putting in "linux squid load balancer". Here's a few with examples, some can even be found by looking at the Squid documentation.
http://www.thefraggle.com/2007/04/09...ng-with-squid/
http://dlc.sun.com/osol/docs/content...ldbalance.html
http://wiki.squid-cache.org/SquidFaq/ReverseProxy
 
Old 10-07-2011, 10:19 AM   #3
Juako
Member
 
Registered: Mar 2010
Posts: 202

Rep: Reputation: 84
It's left to know if it's a forward or reverse proxy, but anyway I think this applies to both. IMO you can achieve this with an iptables-based "nth" loadbalancing scheme (greatly documented all over the web), and furthermore you can use some peer config in the squids to take advantage of already cached objects across them.
 
1 members found this post helpful.
  


Reply

Tags
loadbalance, loadbalancing, redhat, squid, squidproxy


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
Squid load balancing bentech4u Linux - Newbie 4 10-08-2010 05:17 PM
Squid load balancing bentech4u Linux - Software 1 10-08-2010 12:31 AM
[SOLVED] Squid Load Balancing isururj Linux - Networking 1 12-11-2009 08:28 AM
Network Load balancing + squid server with multiple uplink configuration ntlinn Linux - Server 0 08-19-2009 03:43 AM
squid with load balancing (?) no2nt Linux - Networking 1 09-12-2001 10:25 AM


All times are GMT -5. The time now is 11:40 PM.

Main Menu
Advertisement
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