[libvirt-users] [virt-tools-list] store vm xml files in another directory

Thomas Sjolshagen thomas at sjolshagen.net
Wed Feb 9 19:33:23 UTC 2011


  

On Wed, 9 Feb 2011 14:08:15 -0500, Kenneth Armstrong wrote: 

>
Here's my latest thoughts on how to do this:
> 
> With 2 nodes, and
using the Red Hat Cluster suite to fence the two
> hosts, and all vm
disk images stored on shared storage (for example,
> an iSCSI LUN) that
both hosts will have access to, and using a GFS2
> formatted partition
on each node. Also, using Bind Mounts to mount
> /etc/libvirt/qemu onto
the GFS2 partition so that the vm xml files
> will be sync'ed up between
both hosts.
> 
> Does that make sense? Or would their be something
simpler to try?

Why do you need shared copies of the xml?I've got a
shared GFS2 file system for the VM image files, using rmganager to
manage the VMs and have the xml defined statically in the libvirtd
instances on the cluster members. If/when I change something in terms of
the VM definition on one cluster member, I "# virsh dumpxml  > ./vm.xml"
and "# virsh define" it on the other members. Same UUID for the VMs on
all cluster members.
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20110209/673bc2bf/attachment.htm>


More information about the libvirt-users mailing list