Solved

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

Posted on 2009-05-15
4
1,284 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 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VLAN CONFIGURATION 2 62
HP network exams 3 62
Applying Computer Settings 12 94
How to secure a Folder on a Windows Server 3 58
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
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…
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…

726 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