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

Martin Kletzander mkletzan at redhat.com
Thu Apr 21 10:15:39 UTC 2016


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.

>Nikolay
>
>--
>libvir-list mailing list
>libvir-list at redhat.com
>https://www.redhat.com/mailman/listinfo/libvir-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160421/31dffa86/attachment-0001.sig>


More information about the libvir-list mailing list