| Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-07-2011, 07:51 AM
|
#1
|
|
LQ Newbie
Registered: Jan 2010
Posts: 3
Rep:
|
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.
|
|
|
|
10-07-2011, 09:10 AM
|
#2
|
|
Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 11,778
|
Quote:
Originally Posted by maxy
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
|
|
|
|
10-07-2011, 09:19 AM
|
#3
|
|
Member
Registered: Mar 2010
Posts: 202
Rep:
|
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.
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:56 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|