Re: [ovirt-users] Get UU

2018-01-03 Thread Blaster

On 12/31/2017 1:23 AM, Yedidyah Bar David wrote:
On Sat, Dec 30, 2017 at 10:45 AM, Michal Skrivanek 
> wrote:




On 30 Dec 2017, at 06:54, Blaster > wrote:


I need to create an old oVirt Windows VM. The VM has an old
licensed product that we can no longer get a licensed reissued
for. It looks like I need to feed back the original qemu UUID
that was used when the VM was created.

I have an engine config backup and a backup of the oVirt storage
domain.

I viewed the engine backup, but the format as-is doesn't give any
obvious configuration details of the VMs at the time of the
backup.  Is the UUID as obvious as the file name of the VM's boot
volume UUID name?



I think it's the field 'vm_guid' in the table 'vm_static'.

You can restore the backup on a temp vm somewhere - make sure it has no
access to your hosts so that the engine will not start to manage them -
or just look at the db dump. The backup is a tar file, and you can look
at db dumps inside it using 'pg_restore filename | less'.


The guest UUID is configurable per VM in Edit dialog, you can use
a custom value



Thank you, I was able to get the UUID back!


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


Re: [ovirt-users] Get UU

2017-12-30 Thread Yedidyah Bar David
On Sat, Dec 30, 2017 at 10:45 AM, Michal Skrivanek <
michal.skriva...@redhat.com> wrote:

>
>
> On 30 Dec 2017, at 06:54, Blaster  wrote:
>
> I need to create an old oVirt Windows VM.  The VM has an old licensed
> product that we can no longer get a licensed reissued for.  It looks like I
> need to feed back the original qemu UUID that was used when the VM was
> created.
>
> I have an engine config backup and a backup of the oVirt storage domain.
>
> I viewed the engine backup, but the format as-is doesn't give any obvious
> configuration details of the VMs at the time of the backup.  Is the UUID as
> obvious as the file name of the VM's boot volume UUID name?
>
>
I think it's the field 'vm_guid' in the table 'vm_static'.

You can restore the backup on a temp vm somewhere - make sure it has no
access to your hosts so that the engine will not start to manage them -
or just look at the db dump. The backup is a tar file, and you can look
at db dumps inside it using 'pg_restore filename | less'.


>
> The guest UUID is configurable per VM in Edit dialog, you can use a custom
> value
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


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


Re: [ovirt-users] Get UU

2017-12-30 Thread Michal Skrivanek
On 30 Dec 2017, at 06:54, Blaster  wrote:

I need to create an old oVirt Windows VM.  The VM has an old licensed
product that we can no longer get a licensed reissued for.  It looks like I
need to feed back the original qemu UUID that was used when the VM was
created.

I have an engine config backup and a backup of the oVirt storage domain.

I viewed the engine backup, but the format as-is doesn't give any obvious
configuration details of the VMs at the time of the backup.  Is the UUID as
obvious as the file name of the VM's boot volume UUID name?


The guest UUID is configurable per VM in Edit dialog, you can use a custom
value


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