WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Keeping domU configs sync'ed across nodes in a cluster

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Keeping domU configs sync'ed across nodes in a cluster
From: Bart Coninckx <bart.coninckx@xxxxxxxxxx>
Date: Wed, 20 Oct 2010 12:34:15 +0200
Cc: Digimer <linux@xxxxxxxxxxx>
Delivery-date: Wed, 20 Oct 2010 03:35:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4CBE6239.8070307@xxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4CBE6239.8070307@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.13.5 (Linux/2.6.34.4-0.1-desktop; KDE/4.4.4; x86_64; ; )
On Wednesday 20 October 2010 05:30:01 Digimer wrote:
> Hi all,
> 
>   I've got a Fedora 13 cluster (just two nodes) with Xen 4.0.1 and the
> dom0's are 2.6.32 kernel. I can live migrate the domU VMs back and forth
> just fine.
> 
>   The trick is that, until a VM has been migrated to the second node (or
> I run 'virsh dumpxml domain > domain.xml; <copy to other node>; virsh
> define domain.xml), the second node doesn't know that the domU exists.
> So if the original node dies, I can't (easily) recover the domU on the
> backup. Also, if I make changes to the virtual hardware on one node, the
> other node's config goes stale.
> 
>   Is there a way to keep the domU configuration in sync across nodes? I
> think I saw something to this effect a little earlier, but so far my
> google-fu has not turned up anything.
> 
> Thanks!
> 
> Digimer
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

How about just having cron export the xml files and using rsync (or plain ssh) 
to copy the files around?


B.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users