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 | [email protected] | @OpenNebula<http://twitter.com/opennebula><[email protected]> On Wed, Feb 20, 2013 at 12:10 AM, Alberto Picón Couselo < [email protected]> 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 > [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 > >
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
