[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] How to get the persistent identifier of a domain?


  • To: "Ewan Mellor" <ewan@xxxxxxxxxxxxx>
  • From: "Lily Huang" <ushuanglily@xxxxxxxxx>
  • Date: Thu, 28 Dec 2006 12:14:48 -0500
  • Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 28 Dec 2006 09:14:32 -0800
  • 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:references; b=S//J6P762Nnmpe5HjIsqoTpXV2UxbOTaPDjyERcSiOri8ajbnz9HQTUeMBd3S8WvkRRhdD0yDdSiRAF5QB1ktqWzJ7AesyC679rwSIKvTohzTNFKUvM8sduRcp4akg0SWQ5C983gldQ5WI0tJi7unAfJ2PilS3L1oG4lGaaF/F8=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Thanks for your reply.

Here is my experimental setting. I start a domu, run "xm list --long", the uuid shown to me was (uuid 6cc8ab86-4ad4-7820-3326-53d666ff96aa). Then, I shut down this domu,  and start the same domu again. I got a different uuid:
(uuid 0c9ee2d6-4a9f-c0bf-989f-148bec284e15). You can see these two uuids are different.

I am using the latest xen-unstable.

Any further thought? If the persistent identifier does exists, do we have a programmable solution to get the persistent identifier (not command line, because it dump too much information and need  additional work to filter  the useless information)?

Thanks,
lily

On 12/28/06, Ewan Mellor <ewan@xxxxxxxxxxxxx> wrote:
On Wed, Dec 27, 2006 at 11:09:43PM -0500, Lily Huang wrote:

> Hi,
>
> As we know, a domainU's domid may change after system reboots. Does Xen
> provide a persistent identifier for each domU? I tried UUID, but UUID also
> changes across reboots. Any idea on this? If Xen does provide such a
> mechanism to persistently identify a domain U? What is it?

Which UUID do you mean?  The one that xm list --long shows you as the
UUID for the domain certainly shouldn't change across reboots (it
doesn't for me).

Ewan.

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.