[one-users] Cluster Host VM resubmit triggering
Carlos Martín Sánchez
cmartin at opennebula.org
Wed Feb 20 06:11:31 PST 2013
Hi,
This should be all explained in the Fault Tolerance guide [1], take a look
at it and let us know if something is missing.
Regards
[1] http://opennebula.org/documentation:rel3.8:ftguide
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
On Wed, Feb 20, 2013 at 12:10 AM, Alberto Picón Couselo <
albertopicon at picon-networks.com> wrote:
> 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 listUsers at lists.opennebula.orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130220/09c23919/attachment-0002.htm>
More information about the Users
mailing list