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-api

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

To: Alberto González Rodríguez <alberto@xxxxxxxxxxxxx>
Subject: RE: [Xen-API] Create a Virtual machine with a specific UUID
From: Leonelli Mauro <m.leonelli@xxxxxxxx>
Date: Wed, 6 Oct 2010 11:52:28 +0200
Accept-language: en-US
Acceptlanguage: en-US
Cc: xen-api <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 06 Oct 2010 02:52:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTi=c4pquzhWmzq8E9-01C-nPEqOcDaJM2b0eMPCD@xxxxxxxxxxxxxx>
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>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: ActlOOx2rRuCoAcQSfW7zBqu8UNhBgAAnTng
Thread-topic: [Xen-API] Create a Virtual machine with a specific UUID
Hi,
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)

Mauro

-----Original Message-----
From: Alberto González Rodríguez [mailto:alberto@xxxxxxxxxxxxx]
Sent: mercoledì 6 ottobre 2010 11:29
To: Leonelli Mauro
Cc: xen-api
Subject: Re: [Xen-API] Create a Virtual machine with a specific UUID

Hello,

uuid is autogenerated, why do you need set uuid?



On Wed, Oct 6, 2010 at 11:21 AM, Leonelli Mauro <m.leonelli@xxxxxxxx> wrote:
> Hi all,
> Is there a way to set UUID for a VM in creation?
>
> Thanks
>
> P.S. I am using Xen API C#
>
> --
> The information transmitted is intended for the person or entity to which it 
> is addressed and may contain confidential and/or privileged material. Any 
> review, retransmission, dissemination or other use of, or taking of any 
> action in reliance upon, this information by persons or entities other than 
> the intended recipient is prohibited. If you received this in error, please 
> contact the sender and delete the material from any computer.
>
> _______________________________________________
> xen-api mailing list
> xen-api@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/mailman/listinfo/xen-api
>

--
The information transmitted is intended for the person or entity to which it is 
addressed and may contain confidential and/or privileged material. Any review, 
retransmission, dissemination or other use of, or taking of any action in 
reliance upon, this information by persons or entities other than the intended 
recipient is prohibited. If you received this in error, please contact the 
sender and delete the material from any computer.

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api