[one-users] how to configure the vms High Availability?

Daniel Molina dmolina at opennebula.org
Mon Dec 30 02:18:43 PST 2013


HI,

If you power off the host the VM will enter in the "unknown" state. Try
specifying a hook for this state ("on" argument)
  on = UNKNOWN

Cheers


On 30 December 2013 09:27, hansz <hanshizhunjob at 126.com> wrote:

> Hi,
> i use opennebula4.4 install on centos6.4 , and add two hosts(esxi5.1,
> esxi01,esxi02) on the sunstone. and create a cluster  with the two hosts
> and one virtual networks and two datastores.(the datastores i use iscsi
>  mounted both on esxi01 and esxi02)
> today i have a try  ,i create one vm on host esxi01 . what i want is  if
> i power the esxi01 the vm could migrate to esxi02 .
> clould i make it sucessfully?
>
> i also read
> http://docs.opennebula.org/stable/advanced_administration/high_availability/ftguide.html#ftguide
> but i does not work ,
> and the oned.conf  in my opennebula 4.4 is
>
>
> HOST_HOOK = [
>     name      = "error",
>     on        = "ERROR",
>     command   = "ft/host_error.rb",
>     arguments = "$HID -r n",
>     remote    = no ]
>
>
> VM_HOOK = [
>    name      = "on_failure_recreate",
>    on        = "FAILED",
>    command   = "/usr/bin/env onevm delete --recreate",
>    arguments = "ID" ]
>
>
>  the red are not same with the http://docs.opennebula.org/stable/advanced_administration/high_availability/ftguide.html#ftguide
>
>
> anything wrong?
>
>
>

>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
--
Daniel Molina
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131230/d797e32c/attachment-0002.htm>


More information about the Users mailing list