[libvirt] [RFC] changing/regenerating domain uuid on migration

Nikolay Shirokovskiy nshirokovskiy at virtuozzo.com
Thu Apr 21 13:39:04 UTC 2016



On 21.04.2016 13:15, Martin Kletzander wrote:
> On Thu, Apr 21, 2016 at 11:24:11AM +0300, Nikolay Shirokovskiy wrote:
>> Hi all.
>>
>> Consider next usecase. There are active domain DA on host A and active domain
>> DB on host B and the uuids of domains are the same. This is quite uncommon of
>> course but still possible. If we have option to change uuid on migration
>> then migration of DA to host B is possible and if we don't have the option
>> we have to stop/edit/start DA to migrate.
>>
>> What is you opinion on subject? Can this functionality be taken into upstream
>> and in what form? In form of setting uuid as a migration parameter or option to
>> regenerate uuid on destination?
>>
> 
> I don't have a particular opinion on this.  I think other generated
> stuff could break, e.g. those domains could have the same MAC address
> etc.  I know it's not someone cares about in this case, but there are
> few things to keep in mind.  We were discussing something similar in
> other threads here about multiplying domains.  I wonder, though, if you
> can change the name (using 'dname' for virsh), why wouldn't you be able
> to change the uuid (e.g. with --xml) already?  We could have just a
> '--i-know-what-i-am-doing' kind of flag, like we have that '--unsafe'
> one already.

Thank you for stepping in. But after some more investigation on my task the
libvirt functionality requirements I need changed. I'll describe them in a
different RFC.

Nikolay

> 
>> Nikolay
>>
>> -- 
>> libvir-list mailing list
>> libvir-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/libvir-list




More information about the libvir-list mailing list