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 <hanshizhun...@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@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 | dmol...@opennebula.org | @OpenNebula
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to