Re: [one-users] vm HA problem

2014-01-10 Thread Tino Vazquez
Hi,

Please send through the oned.log and the log for the VM to analyse the
hook behaviour.

Best,

-Tino

--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.c12g.com | @C12G | es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and
any accompanying documents, unless otherwise expressly indicated, is
confidential and privileged, and is intended solely for the person
and/or entity to whom it is addressed (i.e. those identified in the
To and cc box). They are the property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this
communication, or any part thereof, is strictly prohibited and may be
unlawful. If you have received this e-mail in error, please notify us
immediately by e-mail at ab...@c12g.com and delete the e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.


On Fri, Jan 10, 2014 at 2:07 AM, hansz hanshizhun...@126.com wrote:
 Hi ,
 i use opennebula 4.4 install on centos 6.4 as the frontend,and i have two
 vmware esxi which have two share iscsi disks server as the os datastore,
 image datastores. and i also have vcenter,and the two esxi are in a
 datacenter
 i use mysql as database, and i uncommented the Hook in the oned.conf like
 the following
 HOST_HOOK = [
 name  = error,
 on= ERROR,
 command   = ft/host_error.rb,
 arguments = $ID -r,
 remote= no ]

 VM_HOOK = [
name  = on_failure_recreate,
on= UNKNOWN,
command   = /usr/bin/env onevm delete --recreate,
arguments = $ID ]

 then i have i try install one vm on my esxi01 ,and then i power the
 esxi01,but the vm does not migrate to esxi02, anyother conf should i config?




 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] vm HA problem

2014-01-09 Thread hansz
Hi ,
i use opennebula 4.4 install on centos 6.4 as the frontend,and i have two 
vmware esxi which have two share iscsi disks server as the os datastore, image 
datastores. and i also have vcenter,and the two esxi are in a datacenter
i use mysql as database, and i uncommented the Hook in the oned.conf like the 
following
HOST_HOOK = [
name  = error,
on= ERROR,
command   = ft/host_error.rb,
arguments = $ID -r,
remote= no ]


VM_HOOK = [
   name  = on_failure_recreate,
   on= UNKNOWN,
   command   = /usr/bin/env onevm delete --recreate,
   arguments = $ID ]


then i have i try install one vm on my esxi01 ,and then i power the esxi01,but 
the vm does not migrate to esxi02, anyother conf should i config?

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org