Hello,<div><br></div><div>OpenNebula can't have control overt the internal live-migration process of the hypervisors. The iscsi actions should be perfectly synchronized with the live migration, otherwise an I/O error is likely to occur. That's the reason why this isn't out of the box supported with OpenNebula.</div>

<div><br>I believe the correct way to approach this is through hypervisor hooks:</div><div><a href="http://libvirt.org/hooks.html#qemu_migration">http://libvirt.org/hooks.html#qemu_migration</a></div><div><br></div><div>
cheers,</div>
<div>Jaime</div><div><br><div class="gmail_quote">On Tue, May 15, 2012 at 8:56 PM, fc lists <span dir="ltr"><<a href="mailto:fclists@pr-z.info" target="_blank">fclists@pr-z.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi,<br><br>I am trying to hook up  a NexentaStor ISCSI server with opennebula 3.4.1<br><br>I created a DS_MAD and TM_MAD out of the current "iscsi" ones and i got everything working fine ... other then live migration.<br>


<br>Things goes like this:<br><br>Create New Virtual Machine<br><br>oneadmin ssh to HOST1<br> - login into ISCSI<br> - LN the system datastore (NFS Shared) disk to the ISCSI device<br><br>live migrate from HOST1 to HOST2<br>


<br>At this point HOST 2 has no knowledge of ISCSI device ... because the FE never performed ISCSI login on host2.<br><br>"at first" i thought that the "MV" TM_MAD would be called for live-migration the same way it get executed for cold migration, but it does not seem so on my system.<br>


Cold migration works just fine because it actively login the ISCSI target in the HOST2 , with live-migration it seems like ONE does not really interact with the cluster other then performing the libvirt/kvm live migration.<br>


<br>As a proof of concept it was enough to manually login the ISCSI target on HOST2 and live-migration worked perfectly.<br><br>Is there any hook that i can use to manage this operation ? Ideally it would be enough to get the Image SOURCE available to get it to work.<br>


<br>Thanks<span class="HOEnZb"><font color="#888888"><br>-FC<br>
</font></span><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></div><br clear="all"><div><br></div>-- <br>Jaime Melis<br>Project Engineer<br>OpenNebula - The Open Source Toolkit for Cloud Computing<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a><br>