Re: [Users] Setting UUID

2012-02-18 Thread Nathan Stratton

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

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 StrattonCTO, BlinkMind, Inc.
nathan at robotics.net nathan at blinkmind.com
http://www.robotics.nethttp://www.blinkmind.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Ovirt Engine as a VM

2012-02-18 Thread Nathan Stratton


Had anyone created a how to or notes on how to manage an ovirt engine as a 
guest on the cluster? This should be possible, when the cluster is powered 
up for the first time it would require some specialized instructions to 
fire up the ovirt engine on a node.


P.S. Are there any plans for redundant ovirt engines in the works?




Nathan StrattonCTO, BlinkMind, Inc.
nathan at robotics.net nathan at blinkmind.com
http://www.robotics.nethttp://www.blinkmind.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Setting UUID

2012-02-18 Thread Nathan Stratton

On Sat, 18 Feb 2012, Livnat Peer wrote:


How about setting the VM name instead of UUID? It won't update
permissions automatically though.


Not sure I follow, VM name is good, but there are all sorts of things that 
care about UUID changing. That is why we are looking for the ability to 
set it. Today it looks like all UUIDs are random, and I assume that a UUID 
needs to be unique, but how hard would it be to be able to specify a UUID? 
Libvirt allows this to be done and we do it all the time in our XML kvm 
files.





Nathan StrattonCTO, BlinkMind, Inc.
nathan at robotics.net nathan at blinkmind.com
http://www.robotics.nethttp://www.blinkmind.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Setting UUID

2012-02-18 Thread Livnat Peer
On 18/02/12 22:33, Nathan Stratton wrote:
 On Sat, 18 Feb 2012, Livnat Peer wrote:
 
 How about setting the VM name instead of UUID? It won't update
 permissions automatically though.
 
 Not sure I follow, VM name is good, but there are all sorts of things
 that care about UUID changing.

off the top my head I can think of
- permissions
- events
- tags
- quota

Permission and Quota can be handled manually the other two won't point
to 'new' VM.

 That is why we are looking for the
 ability to set it. Today it looks like all UUIDs are random, and I
 assume that a UUID needs to be unique, but how hard would it be to be
 able to specify a UUID? Libvirt allows this to be done and we do it all
 the time in our XML kvm files.

Changing VM id does not sound like a complicated feature, when designing
such a feature need to think of what are the impact on the history DB
and events in the audit log (if such id was in use before).


 
 
 Nathan StrattonCTO, BlinkMind, Inc.
 nathan at robotics.net nathan at blinkmind.com
 http://www.robotics.nethttp://www.blinkmind.com

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users