From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Andrew D. Ball" Subject: Re: [Xen-users] creating a domU with a particular UUID with xen-unstable Date: Mon, 31 Oct 2005 18:12:52 -0500 Message-ID: <4366A4F4.8020309@us.ibm.com> References: <43615AA3.3000203@us.ibm.com> <43627F2F.3040702@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <43627F2F.3040702@us.ibm.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Anthony Liguori , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org It looks like I can do this by starting a domain from an SXP directly instead of a Python-based configuration. If I use a suitable algorithm for generating UUIDs, I should be able to guarantee at least an extremely low probability of UUID collisions across an entire farm of systems running Xen. I will read up some more on the ISO UUID algorithm commonly used by hardware manufacturers. I don't trust it quite yet, but it does seem that this is in line with its purpose. I'm not really fond of the behavior of domain name collisions. I don't want to have to query some sort of farm-wide database to see if a domain name isn't being used to guarantee uniqueness, but I want to be able to guarantee that I'll never have a domain name collision when doing a live migration of a domU to another system. They are nice to have around for being easily readable by humans though. Thanks for your help. Andrew Anthony Liguori wrote: > Andrew D. Ball wrote: > >> Is it possible with xen-unstable (hopefully soon to be Xen 3.0) to >> create a domU with a particular UUID? I don't want the UUID for a >> domain to change when I destroy it and create it again from the same >> configuration. > > > You could always make the domain's name it's UUID. > > Regards, > > Anthony Liguori > >> This doesn't necessarily have to have anything to do with xenstore's >> being persistent, it could just involve a configuration option similar >> to the one for virtual NICs where MAC addresses can be assigned >> explicitly if desired but will be pseudo-randomly generated otherwise. >> >> Thanks for your help. >> >> Andrew >> >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > >