<div dir="ltr">Hi Sebastian,<div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<br>
I think this is the "right" place for adding those functions?<br></blockquote><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<br>
<br>
Is this the "right" way to trigger fencing actions with OpenNebula, or are there better ways to implement fencing/STONITH - how do you implement it?<br>
Perhaps virtual machine disk locking (e.g. SANLOCK) could be a solution for some environments?<br></blockquote><div><br></div><div>Exactly that's the place to fence the misbehaving host and the recommended procedure. <br>

</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
I think there is (currently) a lack of a proper fencing mechanism in OpenNebula, isn`t it?<br></blockquote><div><br></div><div>Right, we relay in a separated fencing mechanism as a proper HA requires.</div><div><br></div>

<div><br></div><div>As a side note, we are now working (it maybe incorporated in 4.8.1) in a "off-line" migration capability. This is, once the host is fence (the VM will be in UNKNOWN), the error hook will be able to set the reschedule flag and the scheduler will look for a new host. The VM will move from UNKNOWN to BOOT and then RUNNING in a different host. Provided you have a shared storage NFS or Ceph like across cluster hosts that will preserve volatile disk changes and speed up the restart process.</div>

<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
<br>
Best regards,<br>
<br>
Sebastian.<br>
<br>
<br>
<br>
<br>
<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>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div><div>-- <br></div></div>Ruben S. Montero, PhD<br>Project co-Lead and Chief Architect<div>OpenNebula - Flexible Enterprise Cloud Made Simple<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>
</div></div>