LinuxQuestions.org
Visit Jeremy's Blog.
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 01-19-2011, 11:05 PM   #1
shan_nathan
Member
 
Registered: Jun 2007
Location: India
Distribution: Redhat
Posts: 137

Rep: Reputation: 15
Squid proxy server loadbalance


hi all,

Currently i am running squid in one single server for the internet access of the clients. due to increase of no of clients i need to more servers to handle the load.
now i want to load balance the proxy requests which coming to the squid server to all the servers because i cant change
proxy address in all clients.

please suggest me some good open source tools..

Thanks in advance..
 
Old 01-20-2011, 12:01 AM   #2
cyberdeath
LQ Newbie
 
Registered: Mar 2007
Location: 127.0.0.1, Virginia, USA
Distribution: OpenSuSE & Gentoo (Primarily)
Posts: 15

Rep: Reputation: 2
Hi Shan_Nathan,

It sounds like you might want to look into offloading other tasks from the squid proxy server to another machine instead of trying to add another squid server to the mix which will increase complications. Assuming that your internet connection is 100mbit or less, most dual core servers with dual port (int & ext) gigabit ethernet should do the trick just fine.

If you are still having bottlenecks, maybe the server really isn't the problem. Have you checked the server load at peak times and actually seen resources being maxed out?

Last edited by cyberdeath; 01-20-2011 at 12:02 AM.
 
Old 01-20-2011, 01:23 AM   #3
shan_nathan
Member
 
Registered: Jun 2007
Location: India
Distribution: Redhat
Posts: 137

Original Poster
Rep: Reputation: 15
ya.. i look into the current server..

currently its serving internet for more 15,000 users.

I can't offload anything... only thing i will help is load balancing..
 
Old 01-20-2011, 02:57 AM   #4
novice06
Member
 
Registered: Mar 2006
Location: Singapore
Distribution: RHEL, CentOS
Posts: 132

Rep: Reputation: 23
If you are thinking of load balancer solution, it will more complicated and more expensive. How do you route your traffic to proxy server?
You told that you cannot change proxy server at client machines. What do you mean? Are they all manual configuration? Is it with domain name? like proxy.xxx.com
If your proxy has A record name, one thing you can do is you can try DNS round robin.
proxy.xxx.com -> 1.1.1.1 (your current proxy)
proxy.xxx.com -> 1.1.1.2 (your new proxy)
proxy.xxx.com -> 1.1.1.3 (your new proxy2)
That will minimum impact on your current infra and will offload to new servers.

Cheer
 
Old 01-20-2011, 03:19 AM   #5
shan_nathan
Member
 
Registered: Jun 2007
Location: India
Distribution: Redhat
Posts: 137

Original Poster
Rep: Reputation: 15
hi novice06,

you are right with dns load balancing we can do that...

But all clients are using static ip address with port as a proxy..

also more than 20,000 clients across i cant do this change..
so that's why i am looking for load balancing in server level

like --- one load balancing machine below that my real squid proxy servers..
 
Old 01-20-2011, 03:31 AM   #6
novice06
Member
 
Registered: Mar 2006
Location: Singapore
Distribution: RHEL, CentOS
Posts: 132

Rep: Reputation: 23
Seem like your are trying to do major change. You are trying to take over your proxy server IP with load balancer.
You can do that with commercial appliance like F5 load balancer, you can also try with LVS - Linux virtual server.
http://www.linux-vs.org/
Again, this may be bottleneck for your throughput.

Cheer
 
Old 01-20-2011, 03:41 AM   #7
shan_nathan
Member
 
Registered: Jun 2007
Location: India
Distribution: Redhat
Posts: 137

Original Poster
Rep: Reputation: 15
let me try and will update..


Thanks,,,
 
Old 12-31-2019, 04:40 AM   #8
shyamk
LQ Newbie
 
Registered: Dec 2019
Posts: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by shan_nathan View Post
hi novice06,

you are right with dns load balancing we can do that...

But all clients are using static ip address with port as a proxy..

also more than 20,000 clients across i cant do this change..
so that's why i am looking for load balancing in server level

like --- one load balancing machine below that my real squid proxy servers..
I'm having the same problem.. Could you please guide me with this. How you solved this issue?

Last edited by shyamk; 12-31-2019 at 04:42 AM.
 
  


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
Squid Proxy Server on Ubuntu and WPAD - Proxy Auto Detection cheesewizz Linux - Networking 1 12-10-2010 02:49 AM
squid proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 11:25 AM
My squid server is running slow i have 40 fedora 11 in my squid proxy ashraflinux1@gmail.com Linux - Server 4 09-15-2009 12:17 AM
Using ISA Server as Parent Proxy and want to setup Squid as dwonstream proxy tauseef1 Red Hat 1 04-09-2008 01:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:50 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
Open Source Consulting | Domain Registration