[fedora-virt] libvirt configuration for cluster of qemu/kvm hosts
agx at sigxcpu.org
Sat Jul 25 01:17:26 UTC 2009
On Mon, Jul 20, 2009 at 10:45:56AM +0200, Gianluca Cecchi wrote:
> 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.
You can use rhcs or pacemaker for this and share the vm configuration
via e.g. gfs.
More information about the Fedora-virt