Re: Attempt to migrate guest to the same host localhost.localdomain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 21, 2018 at 10:15:29AM +0800, llilulu wrote:
> Hi
>     My libvirt version is 3.4.0, I migrate guest between two host, The two
> host have same hostname( hostname cmd output same), I try find solution on
> Internet, I find someone say host uuid same, But virsh sysinfo output uuid
> is different,  when I change one host's hostname, migrate success. I wish
> know why, and Can I solution this problem not change hostname.
>    My program use api virDomainMigrateToURI2, flag arg is VIR_MIGRATE_LIVE
> | VIR_MIGRATE_PEER2PEER . I use virsh migrate --live --p2p.

Libvirt on the source host will query libvirt on the target host to
discover its hostname, which is then used as the target for the migration
in QEMU, so you really need a proper hostname configured.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux