<div dir="ltr"><div>#-------------------------------------------------------------------------------</div><div>VM_HOOK = [</div><div> name = "on_failure_recreate",</div><div> on = "UNKNOWN",</div>
<div> command = "onevm delete --recreate",</div><div> arguments = "$VMID" ]</div><div>#-------------------------</div><div><br></div><div><a href="http://docs.opennebula.org/stable/advanced_administration/high_availability/ftguide.html?highlight=high%20availability">http://docs.opennebula.org/stable/advanced_administration/high_availability/ftguide.html?highlight=high%20availability</a><br>
</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 30 December 2013 14:20, hansz <span dir="ltr"><<a href="mailto:hanshizhunjob@126.com" target="_blank">hanshizhunjob@126.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;font-size:14px;font-family:arial"><div style="line-height:1.7;font-size:14px;font-family:arial">
<div class="im">Hi,<div>should i configure my oned.conf like </div></div><div><pre style="overflow-x:auto;overflow-y:hidden;font-family:Monaco,Menlo,Consolas,'Courier New',monospace;font-size:13px;padding:9.5px;margin-top:0px;margin-bottom:10px;line-height:1.428571429;color:rgb(51,51,51);word-break:break-all;background-color:rgb(235,235,237);border:1px solid rgb(204,204,204);border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px">
HOST_HOOK = [
name = "error",
on = "",
<div class="im"><span style="color:rgb(255,0,0)">command = "ft/host_error.rb",</span>
arguments = "$HID -r n",
remote = no ]</div></pre><div class="im"><pre style="overflow-x:auto;overflow-y:hidden;font-family:Monaco,Menlo,Consolas,'Courier New',monospace;font-size:13px;padding:9.5px;margin-top:0px;margin-bottom:10px;line-height:1.428571429;color:rgb(51,51,51);word-break:break-all;background-color:rgb(235,235,237);border:1px solid rgb(204,204,204);border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px">
<pre style="overflow-x:auto;overflow-y:hidden;font-family:Monaco,Menlo,Consolas,'Courier New',monospace;padding:9.5px;margin-top:0px;margin-bottom:10px;line-height:1.428571429;word-break:break-all;border:1px solid rgb(204,204,204);border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px">
VM_HOOK = [
name = "on_failure_recreate",
<span style="color:rgb(255,0,0)"> on = "FAILED",</span>
<span style="color:rgb(255,0,0)"> command = "/usr/bin/env onevm delete --recreate",</span>
<span style="color:rgb(255,0,0)"> arguments = "ID" ]</span></pre></pre></div>?????????<br>or like what? <br><br><br><div></div><div></div><br><br><blockquote style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid">
<div dir="ltr"><div class="gmail_extra">
</div></div>
</blockquote></div></div><br><br><span title="neteasefooter"><span></span></span></div><br><br><span title="neteasefooter"><span></span></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>
--<br></div>Daniel Molina<br>Project Engineer<br>OpenNebula - Flexible Enterprise Cloud Made Simple<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a> | @OpenNebula</div>
</div>