Coding Geek
2012-Apr-25 11:06 UTC
[libvirt-users] Regarding persistence of VM's after live migration (virDomainMigrateToURI() problem)
Hello I am working with 3 host machines each running xen with shared NFS storage. I am working on automatic load balancing if one host is over utilized and another is under utilized by measuring the utilization from xentop. I am facing a problem after migration of VM. I am setting the flags ( 1| 8| 16) in order to do live migration, persist VM on destination, undefine host from source. After migration if I shut off the migrated VM on destination host it does not persist. I am using the migrateToURI() API for migration. Please help how to make VM persist on destination. Thank you, Tasvinder Singh -- -- "To Iterate is Human, To Recurse is Divine" -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120425/dd25148e/attachment.htm>
Cole Robinson
2012-Apr-30 15:37 UTC
[libvirt-users] Regarding persistence of VM's after live migration (virDomainMigrateToURI() problem)
On 04/25/2012 07:06 AM, Coding Geek wrote:> > Hello > I am working with 3 host machines each running xen with shared NFS storage. I > am working on automatic load balancing if one host is over utilized and > another is under utilized by measuring the utilization from xentop. I am > facing a problem after migration of VM. I am setting the flags ( 1| 8| 16) in > order to do live migration, persist VM on destination, undefine host from > source. After migration if I shut off the migrated VM on destination host it > does not persist. I am using the migrateToURI() API for migration. > > Please help how to make VM persist on destination. >There's a flag you can pass to the migration API, VIR_MIGRATE_PERSIST_DEST. - Cole
Apparently Analagous Threads
- Regarding xenstat [test.c:3:24: fatal error: xenstat.h: No such file or directory]
- about guest live migration configuration changes persistence ..
- python migrateSetMaxSpeed not taking effect
- Re: about guest live migration configuration changes persistence ..
- Help? Running into problems with migrateToURI2() and virDomainDefCheckABIStability()