LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 02-13-2005, 07:20 PM   #1
blainehilton
Member
 
Registered: Dec 2002
Location: Portage, IN, USA
Distribution: Fedora
Posts: 34

Rep: Reputation: 15
Scaleable LAMP Cluster


I am trying to find a solution that will allow me to start with two basic Linux servers that would be running Linux, Apache, mySQL, PHP, Samba and NTP. Then as need be more servers could be added in a hot-plug fashion to give more power and speed as the users increase.

Ideally the system should function as long as only one server works and the more servers that are connected the higher the availability/processing power will be. The other big item is that disk space needs to be configured so additional storage can be added. Either separately with something like NAS or hot-plug server RAID solutions. Linux though needs to be able to “grow” the file system to use additional storage as it is added.

I have been looking around for awhile and can not find in-depth information about this. I’ve been reading web sites about Linux clustering, Beowulf clusters, heartbeat, OpenMosix, and the Linux Virtual Server Project. After considering buying the Linux Clustering book it seems like it might do more harm then good with all of the bad reviews.

Is what I’m talking about possible? (I’m sure it must be) Then my main question is where can I find some type of documentation that can walk me through how to set something like this up? At this point crumbs would be appreciated, but a walkthrough/howto would be like gold.

Also please note that I’m looking for something to run on basic hardware, not old 486 stuff, but basic new systems. Also as a ballpark figure there will be about 150 web users and 10 file transfers (Samba) going on at once. So I believe I’m looking at basic interconnects such as Ethernet and not specialized equipment. Also in regards to storage we are looking for cheap but effective. So SANs would probably be out.

--
Thanks in advance
Blaine
 
Old 02-13-2005, 08:10 PM   #2
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Rep: Reputation: 46
Re: Scaleable LAMP Cluster

Quote:
Originally posted by blainehilton

Also please note that I’m looking for something to run on basic hardware, not old 486 stuff, but basic new systems. Also as a ballpark figure there will be about 150 web users and 10 file transfers (Samba) going on at once. So I believe I’m looking at basic interconnects such as Ethernet and not specialized equipment. Also in regards to storage we are looking for cheap but effective. So SANs would probably be out.

--
Thanks in advance
Blaine
I don't know how well the support is for the controllers are in Linux, but Dell's perc cards in combination with a PowerVault may be a good option for you. You can get a basic PowerVault for a little over $2,000 (plus the perc cards and cables which will be another few hundred each - plus drives). Just one thing though: throw their instruction books away because to cluster using a PowerVault their instruction manuals, at least of September 2004, are COMPLETELY wrong.
 
Old 02-14-2005, 06:02 AM   #3
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Sounds like you'd want to setup some type of load-balancing + failover cluster rather than a true parallel processing cluster like a beowolf. Beowolf and other HPC clusters are designed more for performing intensive parallel computations and don't give you much of a advantage when dealing with tasks like serving a web page or accessing a SMB share (you can't really divide up either of those tasks across multiple nodes/processors very efficiently).

OpenMOSIX has some load-balancing features, but I'm not sure how it stacks up to other true load-balancing designs like LVS. If you do setup a load-balancing or round-robin cluster, make sure to connect all the front ends and backend DB stuff together using high bandwidth connections to reduce communication bottlenecks. 100Mb should be alright, don't need anything ludicrous like Infiniband.
 
Old 02-19-2005, 09:11 PM   #4
thorn168
Member
 
Registered: Oct 2004
Location: USA
Distribution: Vector Linux 5.1 Std., Vector Linux 5.8 Std., Win2k, XP, OS X (10.4 & 10.5)
Posts: 344

Rep: Reputation: 42
I don't know how basic your LAMP server setup is going to be but for in depth information on the Server apps that you mention I would suggest that you read "Managing Linux Systems with Webmin" by Jamie Cameron.

I am reading this book now and there are about three chapters on clustering servers, users and services.

Good luck with your project

Thorn
 
Old 02-20-2005, 06:57 AM   #5
nixcraft
Member
 
Registered: Nov 2004
Location: BIOS
Distribution: RHEL3.0, FreeBSD 5.x, Debian 3.x, Soaris x86 v10
Posts: 379

Rep: Reputation: 30
Try to read info http://www.redhat.com/docs/manuals/csgfs/ . IT will help you.
 
Old 03-06-2005, 06:45 PM   #6
enigmasoldier
Member
 
Registered: Jul 2003
Location: Florence, Ky
Distribution: CentOS 3.3-4, OpenBSD 3.3, Fedora Core 4, Ubuntu, Novell Open Enterprise Server
Posts: 213

Rep: Reputation: 30
I think this should explain everything you need to know:
http://www.linuxvirtualserver.org/
 
  


Reply



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
Cluster question: Is it possible to make a bulletproof cluster? ValidiusMaximus Linux - Software 1 09-06-2005 02:07 PM
Setting up a cluster with pxe and cluster knoppix bucovaina78 Linux - Networking 1 05-15-2005 11:29 PM
v9.2 Trying to get lamp going boardtc Mandriva 4 03-21-2005 08:05 PM
Lamp mikage14 LinuxQuestions.org Member Success Stories 2 05-08-2004 03:20 AM
Little LAMP help ElementNine Linux - Software 4 01-19-2004 03:26 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

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