So here's the setup I'd like to achieve... I have 3 computers, one of which I'd like to act as a sort of passthrough machine that requests for port 80 will go to and then it will filter to either one of the other two machines, which will be clones of one another.
My questions is, how can I accomplish this? I haven't really seen any tutorials that explain how to set this up, but I'm sure there have to be some out there... I'm probably just not searching for the right thing.
The main things I'm looking for instructions on are:
a) how to sync the 2 clone computers' web files (rsync I'm guessing, but don't know if there's a better way)
b) how do I keep the mysql databases in sync (again, rsync? Or is there a way to simultaneously write to both DBs when someone adds a record or something?)
c) how do I set up the passthrough to divide up the incoming port 80 requests and balance the load?
d) how do I set up the passthrough to silently transfer all load to one of the two computers if one of them fails?
I think a large portion of my problem comes from the fact that I'm unsure of terminology for a lot of this stuff. Any help anyone could offer would be greatly appreciated.
Bookmarks