Sorry, I copied the wrong hook. I mean Fault Tolerance Hook for Hosts:

#*******************************************************************************
# Fault Tolerance Hooks
#*******************************************************************************
# This hook is used to perform recovery actions when a host fails.
# Script to implement host failure tolerance
#   It can be set to
#           -r resubmit VMs running in the host
#           -d delete VMs running in the host
#   Additional flags
#           -f force resubmission of suspended VMs
#           -p <n> avoid resubmission if host comes
#                  back after n monitoring cycles
#*******************************************************************************
#
#HOST_HOOK = [
#    name      = "error",
#    on        = "ERROR",
#    command   = "ft/host_error.rb",
#    arguments = "$ID -r",
#    remote    = "no" ]
#-------------------------------------------------------------------------------
# These two hooks can be used to automatically delete or resubmit VMs that reach
# the "failed" state. This way, the administrator doesn't have to interact
# manually to release its resources or retry the deployment.

Sorry for the mistake,
Best Regards,
Alberto Picón

El 20/02/2013 0:05, Alberto Picón Couselo escribió:
Hi all,

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?

Do we have to uncomment in /etc/one/oned.conf the following hook?:

#VM_HOOK = [
#   name      = "on_failure_resubmit",
#   on        = "FAILED",
#   command   = "/usr/bin/env onevm resubmit",
#   arguments = "$ID" ]
#-------------------------------------------------------------------------------

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?

Thank you in advance,
Best Regards,
Alberto Picón




_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to