<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body 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 cite="mid:51240540.4090805@gmail.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<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 class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
</blockquote>
</body>
</html>