PDA

View Full Version : ISPConfig recommended setup for 2 identical servers


clanx
30th October 2007, 18:08
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 !

clanx
31st October 2007, 06:08
ahh by the way i'm managing the servers DNS by using Zoneedit.

till
31st October 2007, 08:55
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.

falko
1st November 2007, 19:35
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

clanx
2nd November 2007, 11:11
hi till and falko,

thanks for the reply.

Will have a look on the links provided.