<div dir="ltr">As suggested by Oliver in this case is better to save disk.0 and re-register it again. You could boot it at kvm2 with virsh deploy deployment.0 but this is only recommended if OpenNebula expects the VM to be in kvm2, if not it is better to recover kvm1 and recover (virsh deploy) it there.<div>
<br></div><div>Cheers</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 4, 2013 at 3:00 PM, Umar Draz <span dir="ltr"><<a href="mailto:umar.draz@penguinitcs.com" target="_blank">umar.draz@penguinitcs.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi olivier<br><br></div>I had installed that vm through .iso and used VD hd during installation, here is my template of vm<br>
<br>CPU="2"<br>DISK=[<br> DEV_PREFIX="vd",<br>
FORMAT="ext4",<br> SIZE="102400",<br> TYPE="fs" ]<br>DISK=[<br> IMAGE_ID="2" ]<br>GRAPHICS=[<br> LISTEN="0.0.0.0",<br> TYPE="VNC" ]<br>MEMORY="1024"<br>
NIC=[<br> MODEL="virtio",<br> NETWORK_ID="2" ]<br>OS=[<br> ARCH="x86_64" ]<br><br></div>The virtual machine is saved here /vms/cloud/datastores/0/26/<br><br>-rw-r--r-- 1 oneadmin cloud 906 Jul 4 07:09 deployment.0<br>
-rw-r--r-- 1 oneadmin cloud 107374182401 Jul 4 07:30 disk.0<br>-rw-r--r-- 1 oneadmin cloud 735051776 Jul 4 07:09 disk.1<br>lrwxrwxrwx 1 oneadmin cloud 41 Jul 4 07:09 disk.1.iso -> /var/cloud/one/var/datastores/0/26/disk.1<br>
<br><br></div>and /vms/cloud/datastores/ is also available on kvm2, now please help me how I can boot this vm on kvm2<br><br></div>Br.<span class="HOEnZb"><font color="#888888"><br><br>Umar<br></font></span></div><div class="HOEnZb">
<div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 4, 2013 at 5:52 PM, Olivier Sallou <span dir="ltr"><<a href="mailto:olivier.sallou@irisa.fr" target="_blank">olivier.sallou@irisa.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"><div>
<br>
<div>On 07/04/2013 02:43 PM, Umar Draz
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>Hi,<br>
<br>
</div>
I have 2 compute nodes (kvm1 and kvm2), both have
connected with shared storage. I have 2 virtual machines
running.<br>
<br>
</div>
1 virtual machine on kvm1 and 1 virtual machine on kvm2<br>
<br>
</div>
now my kvm1 machine has been crashed, how I can boot kvm1's
virtual machine on kvm2, I had tried alot using Migrate,
Migrate-Live but its not working.<br>
</div>
</div>
</blockquote></div>
If your server crashed, you can't migrate a VM as far as I know.
Open Nebula will fails to "stop" the process on crashed server.<br>
Usually, a crashed server leads to a VM lost. Your disk may even be
corrupted.<br>
<br>
If what you need is high availability, you would need a high
availability supported app with load balancing or failover
mechanisms.<br>
<br>
IF you really need to restore this VM, I suppose you can copy the
saved state of the VM disk and use it as a new image.<br>
<br>
Olivier<br>
<br>
<blockquote type="cite"><div>
<div dir="ltr">
<div><br>
Please anybody help me how I can do this?<br>
<br>
</div>
Br.<br>
<br>
Umar<br>
</div>
<br>
<fieldset></fieldset>
<br>
</div><pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><span><font color="#888888">
</font></span></pre><span><font color="#888888">
</font></span></blockquote><span><font color="#888888">
<br>
<pre cols="72">--
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95
gpg key id: 4096R/326D8438 (<a href="http://keyring.debian.org" target="_blank">keyring.debian.org</a>)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438
</pre>
</font></span></div>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div><div><div>-- </div><div>Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013</div></div><div>-- </div></div>Ruben S. Montero, PhD<br>
Project co-Lead and Chief Architect<br>OpenNebula - The Open Source Solution for Data Center Virtualization<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a> | @OpenNebula</div>
</div>