<br><br><div class="gmail_quote">On Mon, Apr 30, 2012 at 9:07 PM, Cole Robinson <span dir="ltr"><<a href="mailto:crobinso@redhat.com" target="_blank">crobinso@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 04/25/2012 07:06 AM, Coding Geek wrote:<br>
><br>
> Hello<br>
> I am working with 3 host machines each running xen with shared NFS storage. I<br>
> am working on automatic load balancing if one host is over utilized and<br>
> another is under utilized by measuring the utilization from xentop. I am<br>
> facing a problem after migration of VM. I am setting the flags ( 1| 8| 16) in<br>
> order to do live migration, persist VM on destination, undefine host from<br>
> source. After migration if I shut off the migrated VM on destination host it<br>
> does not persist. I am using the migrateToURI() API for migration.<br>
><br>
> Please help how to make VM persist on destination.<br>
><br>
<br>
</div>There's a flag you can pass to the migration API, VIR_MIGRATE_PERSIST_DEST.<br>
<span class="HOEnZb"><font color="#888888"><br>
- Cole<br>
<br>
</font></span></blockquote></div><br>Actually I am already using this flag VIR_MIGRATE_PERSIST_DEST but still VM is not persisting on Destination. Do I need to change something while creating the VM?<br><br clear="all"><br>
<div style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="font-size:12pt;line-height:18px;font-family:'Times New Roman',serif">--</span></div><div style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="font-size:12pt;line-height:18px;font-family:'Times New Roman',serif"><br></span></div><div style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="font-size:12pt;line-height:18px;font-family:'Times New Roman',serif">Tasvinder Singh<br></span></div><br>