If you are using 4.10, we do support migrations when a VM is in unknown (i.e. hypervisor is down) provided there is a shared storage. Next release (4.12) will include the ability to migrate in poweroff.<div><br></div><div>Meanwhile a work around, (there are two actually fake a hypervisor failure to get the VM in unknown and use the previous feature or fake a migration failure).</div><div><br></div><div>I've not tested this myself so watch out:</div><div><br></div><div>1.- Update the kvm migrate script by adding at the very beginning something like:</div><div><br></div><div>sleep 600</div><div>return</div><div><br></div><div>We want to get the VM in MIGRATE state for a while </div><div><br></div><div>2.- Manually move the VM: Go to the hypervisor, and shut it down (i.e. virsh...); move the config files (those in ssh system datastore); got to the other hypervisor and manually create the VM.</div><div><br></div><div>3.- use onevm recover <vmid> success, the VM should become running in the new host. (The sleep'ed migrate operation should be ignored as the VM would be RUNNING)</div><div><br></div><div>4.- Undo the changes in the migrate script.</div><div><br></div><div>Good Luck</div><div><div><br><div class="gmail_quote">On Wed Nov 19 2014 at 9:54:52 AM Karsten Nielsen <<a href="mailto:karsten@unity3d.com">karsten@unity3d.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">HI,<br>
<br>
Is there a way to move a VM from one host to an other when migrate/live<br>
migrate fails.<br>
<br>
We are using ceph as backend and have ssh systemstore.<br>
<br>
A process like<br>
1 poweroff VM<br>
2 Move the configs<br>
3 -- I guess that we should do some manual db changes --<br>
4 poweron machine on new host<br>
<br>
Any comments would be great.<br>
<br>
Thanks,<br>
- Karsten<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/<u></u>listinfo.cgi/users-opennebula.<u></u>org</a><br>
</blockquote></div></div></div>