Solved

Best  way to set up an all-linux web server farm

Posted on 2009-05-15
4
1,249 Views
Last Modified: 2013-12-23
We need to set up a small web farm, ranging from 3-10 web servers. They will all be running CentOS with apache 2.2. They will all be serving the SAME content, via ColdFusion. They will be a load-balancerr in front of all these servers managing the user connections and taking care of fault-tolerance (ie- taking the server out the cluster if it stops responding).

My questions is more focused on the back-end network architecture. Since all servers will be identical and serve the same content, I'm faced with two options:
1. Replicate all content from a master location to each web server, and serve locally
2. Have a file server and share out the document root to each web server

Yes, I'm aware that option #2 creates a single point of failure for the web data as well as being slower than local disk access. Besides these two negatives, the main advantage would be in not needing to replicate (mantain) the data accross all of the web servers.

I'd like to be able to bring up or take down servers as traffic requires, which is why I opt for option #2. However, I'm unsure which protocol and/or setup to use. I've looked at using iSCSI (one system with RW access, and all others with RO access), CIFS, and NFS. Not sure which way to go or if there are alternatives I have not yet considered.

Thanks.
0
Comment
Question by:MisterArtLP
4 Comments
 
LVL 40

Expert Comment

by:noci
ID: 24401802
Besides raw access, have you looked into filesystem options?

AFS, localcached filesystem with central reporitory?
http://www.openafs.org/

of GFS, as you use CentOS , which is a RedHat clone, GFS should be usable,
it would also mean you should be able to setup a mirrorred backend, and with the added bonus of being able to update the filesystem from all systems not just one.
http://sources.redhat.com/cluster/wiki

iSCSI, AoE (Atapi over Ethernet) etc. are basicly replacements of a SCSI resp. ATA cable by a network connection.
0
 
LVL 14

Expert Comment

by:small_student
ID: 24402632
Go GFS for central storage. NFS is also an option and its easier to maintain than GFS.

If you ever think of replication then you can use DRDB, google it.

Good Luck
0
 
LVL 61

Expert Comment

by:gheist
ID: 24407052
CJDBC for coldfusion and replicating content around servers.
0
 
LVL 13

Accepted Solution

by:
Rowley earned 500 total points
ID: 24448532
Keep it simple.

NFS works perfectly for what you require (assuming its Read-Only content), is simple to set up and easy to maintain. I've worked in a number of large scale sites that use NFS no probs. You could also check out freenas or openfiler.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
adding a printer to QAD 10 33
logging buffered 8 39
Public DNS? 10 55
looking for a CENTOS ISO to download with x window installed 2 23
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now