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

Gianluca Cecchi gianluca.cecchi at gmail.com
Mon Jul 20 08:45:56 UTC 2009


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




More information about the Fedora-virt mailing list