[virt-tools-list] [libvirt-users] store vm xml files in another directory
Kenneth Armstrong
digimars at gmail.com
Wed Feb 9 21:44:56 UTC 2011
Are you referring to a setup similar to this?:
http://sources.redhat.com/cluster/wiki/KvmMigration
- Kenny
On Wed, Feb 9, 2011 at 2:33 PM, Thomas Sjolshagen <thomas at sjolshagen.net> wrote:
> 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> > ./vm.xml" and
> "# virsh define" it on the other members. Same UUID for the VMs on all
> cluster members.
More information about the virt-tools-list
mailing list