?
Solved

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

Posted on 2009-05-15
4
Medium Priority
?
1,316 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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:Monis Monther
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 62

Expert Comment

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

Accepted Solution

by:
Rowley earned 1500 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses

764 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