On 02/01/2013 03:36 PM, Paul Archer wrote:
> Sorry for the noob-ish question, but Google is not my friend today.
> 
> I'm trying to setup a cluster to support KVM/libvirt failover. I have one 
> running with corosync 1.4.2 and pacemaker 1.16 on Ubuntu 12.04. It works OK 
> for virtual IP and apache failover, but I've had a lot of trouble getting it 
> to handle KVM. It's been a couple of months, and I can't remember all the 
> details now, but managed VMs would get shutdown, not failover properly, etc.
> 
> So I'm trying to determine what the best combination of software is. First, 
> corosync is way out of date. The latest is 3.2--but I can't find any packages 
> for it, so I'd have to compile from source. Pacemaker is somewhat out of 
> date, too, but the 1.16 package is about the latest I can put my hands on 
> there, too. And there's heartbeat and cman to muddy the waters.
> 
> Anyone have any suggestions/recommendations?
> 
> Thanks,
> 
> pma

This is a bit of "Ask about A, get recommended B" answer, so appologies
up front for that.

I build 2-node KVM clusters which properly live migrate and, when a node
is suddenly lost, recover the VMs on the surviving peer. I'v written a
tutorial covering how to build it here:

https://alteeve.ca/w/2-Node_Red_Hat_KVM_Cluster_Tutorial

There is a new graphical interface, too. You can use it to manage the
host nodes, existing VMs and create/delete VMs from the cluster;

https://github.com/digimer/an-cdb
http://imgur.com/a/YPfZu#0

It uses corosync + cman + rgmanager though, so it may not be appropriate
for you.

Cheers

-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to