Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to set up three virtualized server on one box running Ubuntu KVM. I'd also like to have a second machine mirroring the above mentioned on a cluster so that if the first machine physically goes down, this one would take over.

Is this setup possible and if so, does anyone have a link to a articles or walkthroughs on this?

share|improve this question
up vote 5 down vote accepted

Yes, you can do it. I don't have any articles to hand, but we're using DRBD, heartbeat, some simple shell scripts, and Puppet to automatically provision, replicate, failover and maintain our VMs.

share|improve this answer
Awesome, thanks a lot for your help! – Steve Z Dec 7 '09 at 13:29

depends on how exactly you want things to failover. if you mean the scenario where if one host fails, all VMs are restarted on another - RHEV can do that easily. if you're looking for 0 downtime - you want vmware FT, which costs an arm and a leg

share|improve this answer

Maybe the new Cloud Computing Solution from Ubuntu (which is based on KVM) is worth a look.

I have no real experience but maybe it's a modern approach to your problem. :-)

share|improve this answer

In place of ubuntu you can use fedora or centos bcoz i dont know much is ubuntu

1 both nodes identical with software

2 setup host name on both &

3 at /etc/grub.conf kernel /vmlinuz-2.6.18-164.el5 ro root=LABEL=/ rhgb quiet acpi=off

4 /etc/sysconfig/network at line for GATEWAY=xx.xx.xx.xx

5 if your using centos 5.4 or fedora 11 or 12 /etc/sysctl.conf net.ipv4.ip_forward = 1 change from '0' to '1'

6 in you case i dont know where the storge's (i have created nfs on san box for all the guest are using san partition)

7 yum install ricci luci -y in 1st node

8 yum install ricci -y 2nd node

9 service ricci start and chkconfig ricci on for both node

10 1st node $luci_admin init enter the password for your luci admin

11 open the mozilla https://:8084/

12 goto the cluster tab

13 add a new cluster

then install using cluster server all the guest !!!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.