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] How to Live Copy domU

To: "Steffen Heil" <lists@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] How to Live Copy domU
From: "Tim Wood" <twwood@xxxxxxxxx>
Date: Wed, 20 Sep 2006 11:35:06 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 20 Sep 2006 08:35:49 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=iUM5RjUhtBn1E8i+fX8wzRq/BTdiSvPmWPxqN6H83yMbTl5aB22GRX7PGHAXNSejeONruhGLYyos2OW/GM8QrXEabebi6E8dJgkqqHSZA4xapbtwwLcBhcRSx/zp39+pd6IjddzyB6Gp65wI5nP23feDStFBJLJUSytbqVjuubE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <008d01c6dc44$6fcde850$0b4613ac@shs1>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <450976F3.5050401@xxxxxxxxxx> <008d01c6dc44$6fcde850$0b4613ac@shs1>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 9/19/06, Steffen Heil <lists@xxxxxxxxxxxxxxx> wrote:
Hi

[...]
It isn't natively supported by Xen.
BUT you can propably simulate it like this:

Have your original domU on a LVM volume.
White it is running, create a snap-shot.
Copy the snap-shot to a new volume.
Remove the snap-shot.

Run repairs on the new volume as it might be inconsistent. In that case you
can either trust the repair utility or redo the copy part.

Start the new domU on the new volume.

Regards,
  Steffen


In fact, cloning is a fairly complicated procedure.  You would also
need to do things like change the MAC and IP addresses for the cloned
VM.  Plus remember that any processes running on the VM may get very
confused.

-tim

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

<Prev in Thread] Current Thread [Next in Thread>