[Users] Setting UUID

Ayal Baron abaron at redhat.com
Sun Feb 19 02:25:49 EST 2012



----- Original Message -----
> On Sat, 18 Feb 2012, Itamar Heim wrote:
> 
> > On 02/18/2012 12:40 AM, Nathan Stratton wrote:
> >> 
> >> Is there anyway to set a specific UUID for a VM?
> >
> > no.
> > may i ask why?
> 
> Many times when we move or copy a guest we need to keep the same
> UUID. As
> an example we have a VM that is running Centos 4 that we need
> upgraded to
> Centos 6.2. How we have done this in the past:
> 
> Build new VM
> Install fresh Centos 6.2
> Copy over the application
> Shutdown the first VM
> Shutdown the 2nd VM and change UUID to match first
> Fire up 2nd VM if everything works kill delete 1st VM

What you want is the ability to copy the VM configuration, not to change the UUID.
The point of a UUID is that it is a Universally Unique ID, hence there should be only 1 such in the universe.
Instead of suggesting a solution, it is better to explain the problem.
Having the ability to clone the configuration of a VM would be a lot more useful (e.g. it can be done multiple times and wouldn't be limited to a single VM).

> 
> We run into all sorts of other situations when we make copies as
> backups
> and need to go to one of the backups. We never need to run a two VMs
> with
> the same UUID, but often have a box where we need to change the UUID
> to
> match what an old box was using.
> 
> ><>
> Nathan Stratton                                CTO, BlinkMind, Inc.
> nathan at robotics.net                         nathan at
> blinkmind.com
> http://www.robotics.net
>                        http://www.blinkmind.com
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 



More information about the Users mailing list