Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

4 Answers

up vote 4 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
add comment

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
add comment

Maybe the new Cloud Computing Solution from Ubuntu (which is based on KVM) is worth a look. http://www.ubuntu.com/cloud/private

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

share|improve this answer
add comment

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 test1.google.com & test2.google.com

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
add comment

Your Answer

 
discard

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