[fedora-virt] libvirt configuration for cluster of qemu/kvm hosts

Dwight Hubbard dwight.hubbard at efausol.com
Mon Jul 20 18:18:25 UTC 2009


The question I keep bumping into is where are the cluster resource scripts for 
libvirt or kvm virtual machines.  Migration is nice, but it doesn't do much 
good in the event a server decides to up and die instead of going down 
cleanly...

On Monday 20 July 2009 01:45:56 Gianluca Cecchi wrote:
> Hello,
> is there any pointer about how to set up a cluster of Qemu/KVM hosts?
> I'm on F11 x86_64 for the hosts.
> I read requirements for KVM migration in general highlighted at
> http://www.linux-kvm.org/page/Migration but I keep having doubts, in
> particular regarding libvirt configuration in cluster environments...
> Some questions about libvirt configuration:
> - /etc/libvirt/qemu/networks
> do the files inside here be identical between hosts (default.xml and
> other custom configured network ones)?
> What are the uuid tags into the xml for? Do they have to be identical
> for clusters or do they have to be absolutely different for a sort of
> "identification" of host (as the term seems to suggest)?
> If I have guests that use virbr0 and use dhcp for their network
> config, and want two different qemu/kvm hosts able to migrate these
> guests between them,  need to have same config or what?
> - the same for storage configuration and other parameters.
>
> Suppose I clone a pre-config F11 host configured with libvirt, and
> suppose I have to differentiate uuid for networks/storage (see
> questions above), do I have a method to regenerate these uuid values
> inside xml files?
>
> Thanks in advance for any pointer.
> Gianluca
>
> _______________________________________________
> Fedora-virt mailing list
> Fedora-virt at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-virt

-- 


-- 


-- 

Dwight Hubbard
Principal Consultant
Effective Automation Solutions
Website: http://effectiveautomationsolutions.com 
Email: dwight.hubbard at efausol.com 
Phone: (503) 941-0327
Redhat Certified Engineer - RHCE #804007137224095
VMware Certified Professional - VCP #18529
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-virt/attachments/20090720/f2b2c451/attachment.htm>


More information about the Fedora-virt mailing list