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/
Home Products Support Community News


Re: [Xen-API] Create a Virtual machine with a specific UUID

To: Leonelli Mauro <m.leonelli@xxxxxxxx>
Subject: Re: [Xen-API] Create a Virtual machine with a specific UUID
From: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxxx>
Date: Wed, 6 Oct 2010 11:05:47 +0100
Cc: xen-api <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 06 Oct 2010 03:06:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <29193D68FFD49B4A879F7A0E51F5F2830177C76227DA@xxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <29193D68FFD49B4A879F7A0E51F5F2830177C76227C6@xxxxxxxxxxxxxxxxxxxxxxxxx> <AANLkTi=c4pquzhWmzq8E9-01C-nPEqOcDaJM2b0eMPCD@xxxxxxxxxxxxxx> <29193D68FFD49B4A879F7A0E51F5F2830177C76227DA@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100821 Icedove/3.1.2
On 06/10/10 10:52, Leonelli Mauro wrote:
thanks Alberto for the quick answer.
There a couple of good benefits by doing it

         1) If a VM is creating using the config file on xen, UUID set on the 
file overwrites the one autogenerated (i.e. UUID is not autogenerated)
         2) If I delete a VM and want to recreate the exact copy of it, I'd 
like to use the very same UUID (that is, btw, used by me to store info on the 
vm on a local databse)

I believe vm-{import/export} do what you're looking for.


xen-api mailing list