Solved

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

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

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 …
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

747 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

11 Experts available now in Live!

Get 1:1 Help Now