PDA

View Full Version : Real machine replication & failover


Hans
8th October 2007, 12:57
Dear Till & Falko,

For one of my Debian Etch servers with ISPConfig (server 1), i want to setup a mirror server (server 2).
So, In case server 1 fails/crashes, server 2 takes over server 1 with a minimum of downtime.

I was thinking about using DBRD and Heartbeat, but i need a little help to setup such a system or a Howto on howtoforge which i can use.

Of course, I have seen that there are some Howto's available, but these are for Virtual environments, not for real servers.
Is there also a guide or howto available, which i can use for real servers?

Any help is apreaciated.

Kind regards,

falko
9th October 2007, 15:34
That's a difficult topic. Unfortunately, there's no out-of-the-box solution.
This might be interesting: http://www.howtoforge.com/high_availability_nfs_drbd_heartbeat
http://www.howtoforge.com/mirroring_with_rsync

And if you use MySQL 5, take a look here: http://www.onlamp.com/pub/a/onlamp/2006/04/20/advanced-mysql-replication.html

Hans
11th October 2007, 12:48
Hi Falko,

Well...maybe then my next server will be Debian Etch as the base system with Virtual machines. Which virtual environment do you recommend? XEN, OpenVZ or VMWare or ...? I think Xen is a good choice, but its seems that it is not reliable on 64 bit systems or am i mistaken?

sjau
11th October 2007, 15:41
is there a 64bit version of vmware?

ebal
11th October 2007, 19:49
i use rsync to create a mirror server (hardware must be the same)
and i only change the network / host confs

And i found these 2 links that would be helpful

Linux Load Balancing Cluster : http://www.syslog.gr/content/view/7/2/
MySQL Cluster Server Setup HowTo : http://www.syslog.gr/content/view/6/2/

falko
12th October 2007, 16:01
Hi Falko,

Well...maybe then my next server will be Debian Etch as the base system with Virtual machines. Which virtual environment do you recommend? XEN, OpenVZ or VMWare or ...? I think Xen is a good choice, but its seems that it is not reliable on 64 bit systems or am i mistaken?
Till told me that you can do live-migration with OpenVZ (i.e., move running virtual machines), so this might be a good choice.