Microsoft
Software
Hardware
Network
Question : Best way to set up an all-linux web server farm
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.
Answer : Best way to set up an all-linux web server farm
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.
Random Solutions
Barracuda Load Balancer Issue
Cannot Browse Computers in My Network Places
Determining IP address
How get or create signed certificate CA in redhat enterprise linux
Procurve 2824 vlans and subnets problem
When using BLOCKED SCRIPT nUser.MapNetworkDrive "I:", "\\Server\Share", how do you make the drive persistant?
Wireless Connection Drops in Windows XP - Event IDs 8033 & 4202
detail about JRA Recordings in Weblogic
What is G-Mode?
Question re:506E Routing Between VLANs?