[libvirt-users] VM's in a HA-configuration - synchronising vm config files

Dominique Ramaekers dominique.ramaekers at cometal.be
Wed Mar 2 14:15:44 UTC 2016



>Van: libvirt-users-bounces at redhat.com [mailto:libvirt-users-bounces at redhat.com] Namens Lentes, Bernd
>Verzonden: woensdag 2 maart 2016 15:04
>Aan: libvirt-ML
>Onderwerp: [libvirt-users] VM's in a HA-configuration - synchronising vm config files
>
>Hi,
>
>i'd like to establish a HA-Cluster with two nodes. My services will run inside vm's, the vm's are stored on a FC SAN, so every host has access to the vm's. But how can i keep the config files >(xml-files under /etc/libvirt/qemu) synchronised ? Is there a possibility to store the config files somewhere else ? E.g. a partitition with ocfs2 on the SAN ?
>If not, what would you do ? Otherweise i'm thinking of a cron-job who synchronises the file each minute with rsync.
>
>
>Bernd
>
>--

This looks simple enough...

On host 1, virsh dumpxml for every running vm to a shared location
On host 2, virsh define for these vm's

Do the same the other way around...




More information about the libvirt-users mailing list