Displaying 1 result from an estimated 1 matches for "con_handle".
Did you mean:
can_handle
2011 May 24
0
Xen and live migration with VIR_MIGRATE_PERSIST_DEST
...ATE_PERSIST_DEST and VIR_MIGRATE_UNDEFINE_SOURCE flags.
Here's the code doing the migration:
----------
flags = (libvirt.VIR_MIGRATE_LIVE ^
libvirt.VIR_MIGRATE_PERSIST_DEST ^
libvirt.VIR_MIGRATE_UNDEFINE_SOURCE)
uri = 'xenmigr://remote.host.com:8002'
domain_obj.migrate(con_handle, flags, None, uri, 0)
----------
There are various problems that occur randomly, such as the VM
completely disappearing 5 seconds after a succesful migration, but the
main issue is with VIR_MIGRATE_PERSIST_DEST that doesn't seem to have
any effect. The domU is not defined in xend and will vani...