Originally posted by jzimmerlin
Let me apologize in advance, I'm a newbie to Linux. I have a few questions and I'd appreciate any guidance.
First, I have four Dell PCs on the way (350mhz). I'd like to use the four to load balance a home web server. Can this be done with Red Hat 9?
Also, I'd like to make sure all of the servers have identical content. Is there a package that will automatically copy files from a Windows PC to each of the Linux or Redhat servers?
Also, I'd like to set up the servers to operate so that if one goes down it doesn't effect the overall product of what the browser sees.
I kind of don't know where to start. So, any help is appreciated.
You can do load balancing using the IP Virtual Server.
This can should be enabled in the kernel (Device Drivers > Networking Support > Networking Options > IP virtual Server
Info about this linuxvirutalserver.org
What it does is making a network appear as a single machine for outbound connections. I don't know what kind of load balancing algorithms it uses.
Another approach would be creating a mosix-cluster with your 4 machines. This can be done using OpenMosix which is a quite stable and proven software which migrates loads among the processors on your network: [url=http://openmosix.sourceforge.net/]OpenOmosix.org[URL].
The pros and cons:
* IP VS:
PRO: You only need one machine acting as load balancer, this machine can also be running a server. This means that you only have to alter one kernel, no 'client' software or he like is needed on the rest.
CONS: This has less documentation as Omo6. It's a great unknown for me.
PRO: All your machines will act as one, software is proven and there is a real big community around. Moshe Bar is a quite friendly guy and he explains stuff himself when asked in the Omo6 mailing list (very active, be careful or you will get your hardisks stuffed with messages). You will have a more extended control over some aspects of the cluster.
CONS: You need a special Omo6 kernel on each machine and also some extra software to monitor and work with your cluster. Not every filesystem can be used with Omo6, so you are stuck with EXT3 and JFS (ask in the mailing list, perhaps this has changed since I last visited it).
Hope this helps. A