LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 06-12-2006, 12:10 PM   #1
czamora
Member
 
Registered: May 2006
Posts: 52

Rep: Reputation: 15
Question Load balancing for a web site


Hi,
I have a growing website that needs to move from its current single-server setup to using a cluster of servers to deliver its dynamic pages.

My current host does not support load balancing among its servers, so I'm left to configure that on my own. Round-rovin DNS doesn't work for me as I'll need certain http requests to always go to the central server (the one with the master database).

My distro is Redhat 9, and I only access the server remotely through SSH. I'm using Apache 2 (and PHP and Mysql).

Any ideas on the simplest way to do this?
I've read a bit about LVS (http://www.linuxvirtualserver.org/) but it seems to require a kernel recompile, which is way beyond the things I would dare to try...

Thanks a lot.
 
Old 06-12-2006, 01:11 PM   #2
jeelliso
Member
 
Registered: Oct 2005
Location: Knoxville, Tn (USA)
Distribution: OpenSUSE, Ubuntu
Posts: 250

Rep: Reputation: 30
Hello,

If you have the configuration file used to make your current kernel (which you should), then recompiling the kernel would be very easy. If you think this would be the best solution for you but are afraid of the recompiling, then myy advice to you is to get over it. You won't have to compile from scratch since most of your configuration is already set.

Are you going to host this site yourself or are you going to use a hosting company. I am unsure what you mean by "my current host." If you are going to host yourself and are willing to make a good investment (in case your website keeps growing), you should look into hardware load balancing like BigIP. I know its very expensive, but software load balancing is very inefficient and unreliable.

Of course there is always the simple Linux clustering: MOSIX.

Good Luck,
~Justin
 
Old 06-12-2006, 05:29 PM   #3
czamora
Member
 
Registered: May 2006
Posts: 52

Original Poster
Rep: Reputation: 15
Hi,
No, I'm not hosting the servers myself, I'm using a hosting company, so the hardware option is not feasible (and my budget is not very high either).

About recompiling the kernel being easy, my experience is that trying to compile even the commonest software (Apache, or php) has been a real nightmare for me (see my other messages here...).

MOSIX doesn't seem suited to my needs, it is aimed at sharing resources for computational intensive tasks...

Any other options?
 
  


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
outbound web traffic load balancing across multiple nics univaco Linux - Networking 5 01-21-2009 02:25 PM
How to do load balancing tkt Linux - Networking 0 04-27-2005 02:22 AM
Load Balancing matux Linux - Networking 0 01-05-2005 11:59 AM
load balancing on rh ntaizi Linux - Software 0 12-17-2003 07:41 AM
new to load balancing suliu Linux - General 3 05-12-2003 09:08 AM


All times are GMT -5. The time now is 08:43 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