Hi,<div><br></div><div>This should be all explained in the Fault Tolerance guide [1], take a look at it and let us know if something is missing.</div><div><br></div><div>Regards</div><div><br></div><div>[1] <a href="http://opennebula.org/documentation:rel3.8:ftguide">http://opennebula.org/documentation:rel3.8:ftguide</a><br clear="all">
<div>--<br>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
</div>
<br><br><div class="gmail_quote">On Wed, Feb 20, 2013 at 12:10 AM, Alberto Picón Couselo <span dir="ltr"><<a href="mailto:albertopicon@picon-networks.com" target="_blank">albertopicon@picon-networks.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">Sorry, I
copied the wrong hook. I mean Fault Tolerance Hook for Hosts:<br>
<br>
<font face="Courier New, Courier, monospace">#*******************************************************************************<br>
# Fault Tolerance Hooks<br>
#*******************************************************************************<br>
# This hook is used to perform recovery actions when a host
fails.<br>
# Script to implement host failure tolerance<br>
# It can be set to<br>
# -r resubmit VMs running in the host<br>
# -d delete VMs running in the host<br>
# Additional flags<br>
# -f force resubmission of suspended VMs<br>
# -p <n> avoid resubmission if host comes<br>
# back after n monitoring cycles<br>
#*******************************************************************************<br>
#<br>
#HOST_HOOK = [<br>
# name = "error",<br>
# on = "ERROR",<br>
# command = "ft/host_error.rb",<br>
# arguments = "$ID -r",<br>
# remote = "no" ]<br>
#-------------------------------------------------------------------------------<br>
# These two hooks can be used to automatically delete or
resubmit VMs that reach<br>
# the "failed" state. This way, the administrator doesn't have
to interact<br>
# manually to release its resources or retry the deployment.<br>
<br>
</font>Sorry for the mistake,<br>
Best Regards,<br>
Alberto Picón<br>
<br>
</font></font>El 20/02/2013 0:05, Alberto Picón Couselo escribió:
<blockquote type="cite"><div><div class="h5">
<font size="-1"><font face="Helvetica, Arial, sans-serif">Hi all,<br>
<br>
Which are the configuration directives we have to change to
activate a redeployment of the VMs running on a FAILED host
member of a cluster?<br>
<br>
Do we have to uncomment in /etc/one/oned.conf the following
hook?:<br>
<br>
<font face="Courier New, Courier, monospace">#VM_HOOK = [<br>
# name = "on_failure_resubmit",<br>
# on = "FAILED",<br>
# command = "/usr/bin/env onevm resubmit",<br>
# arguments = "$ID" ]<br>
#-------------------------------------------------------------------------------<br>
</font><br>
or there is a more specific cluster configuration parameter we
have to change?. Which is the default behaviour of a cluster
when a host member fails?<br>
<br>
Thank you in advance,<br>
Best Regards,<br>
Alberto Picón<br>
<br>
<br>
</font></font> <br>
<fieldset></fieldset>
<br>
</div></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>
</pre>
</blockquote>
</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></div>