How to mirror servers with both online at the same time but in different locations? Want one to automatically handle all traffic if the other one fails. Both should handle geographically closer traffic when up. I have one server in San Diego. The company I rent the space from also has racks in Virginia about 2600 miles away. I'd like to mirror the server on both sides of the country for both redundancy and faster response times. Not sure how to do that.
I think you need some kind of load balancer/proxy in front of both server, e.g. like HAProxy ( http://www.howtoforge.com/setting-u...lancer-with-haproxy-heartbeat-on-debian-lenny ). Not sure if it can handle that geographic problem though.
I was just reading this howto as you posted. Yes that does look like what I want except for the physical distance between the backend servers. Not sure if they can set their switches to have my subnet span thousands of miles. Will check with data center on that.