I have been wondering around in the forum looking for some clues but I guess I have mess up and I cant have a good solution to my case. Most of the topics are too advance for example HA and load balancing but I need just a simple and workable solutions. Here is the setup I have so far : - I have 2 identical server with the same model and hardware specs - The main server (server1) is installed with ISPConfig and I have clone it to the backup server (server2). This mean that I have 2 server identical each other with the same software configurations and etc. Now I would like to setup the scenario as follows : These 2 server will be hosted in 2 different geographical datacenter as in case the main server (server1) is down, I have the second server (server2) in place. What is the best ISPConfig solutions without adding more hardware to existing scenario to make sure whenever server1 is down, server2 will take over the job. I don’t mind if there is a need for sys admin to manually trigger the server2 with minimal configurations changes and a short downtime (maybe less than an hour) to make sure the failover process succeeds. Comments and suggestion are welcome !
Thats a complicated topic, as a starting point for http failover, have alook here: http://www.howtoforge.com/haproxy_loadbalancer_debian_etch To sync both servers, you can use e.g. rsync and mysql database replication.
For database replication, take a look here: http://www.howtoforge.com/mysql5_master_master_replication_debian_etch To merge the access logs from both servers, read this: http://www.howtoforge.com/logresolvemerge.pl_merge_apache_access_logs