[one-users] Asking about VMWARE ESX and OpenNebula

Tino Vazquez tinova at opennebula.org
Mon Apr 25 07:19:16 PDT 2011


Hi,

Let's see what happens if the driver is executed by hand, please send
the output of:

$ ruby -dw $ONE_LOCATION/lib/mads/one_im_sh.rb
INIT
MONITOR 0 <name_of_host> -

Regards,

-Tino

--
Constantino Vázquez Blanco, MSc
OpenNebula Major Contributor
www.OpenNebula.org | @tinova79



On Tue, Apr 19, 2011 at 2:50 AM, Hoang Dinh Phuc <hdphuc at gmail.com> wrote:
>
> Hello all,
>
>  I've already installed OpenNebula 2.2 on CentOS and add KVM host to
> OpenNebula. Now, i want to add ESX Server (VMWARE) to be managed by the
> OpenNebula. But it make an error. Here is my oned.conf:
>
> VM_MAD = [
>     name       = "vmm_vmware",
>     executable = "one_vmm_sh",
>     arguments  = "vmware",
>     default    = "vmm_sh/vmm_sh_vmware.conf",
>     type       = "vmware" ]
>
>
> #-------------------------------------------------------------------------------
> #  VMware Driver Addon Information Driver Manager Configuration
> #-------------------------------------------------------------------------------
> IM_MAD = [
>       name       = "im_vmware",
>       executable = "one_im_sh",
>       arguments  = "vmware" ]
> #       arguments = "--username oneadmin --password ' ' " ]
> #-------------------------------------------------------------------------------
>
> #-------------------------------------------------------------------------------
> # VMware Driver Addon Transfer Manager Driver Configuration
> #-------------------------------------------------------------------------------
> TM_MAD = [
>     name       = "tm_vmware",
>     executable = "one_tm",
>     arguments  = "tm_vmware/tm_vmware.conf" ]
>
> When i'm using onehost command to add VMWARE Host, it make an error state.
> And here is the log
> $ onehost esxsrv im_vmware vmm_vmware tm_vmware
>
> Mon Apr 18 14:24:05 2011 [InM][I]: Monitoring host esxsrv (3)
> Mon Apr 18 14:24:05 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Mon Apr 18 14:24:05 2011 [InM][D]: Host 3 successfully monitored.
> Mon Apr 18 14:24:05 2011 [ONE][E]: syntax error, unexpected $end, expecting
> VARIABLE at line 2, columns 1:2
> Mon Apr 18 14:24:05 2011 [InM][E]: Error parsing host information:
>
> Please show me the way to add VMWARE host to OpenNebula.
>
> Thanks so much.
> -------------------
> F:  Hoang Dinh Phuc
> E:  hdphuc at gmail.com
> M: +84909398700
>
>
>
>
> --
> -------------------
> F:  Hoang Dinh Phuc
> E:  hdphuc at gmail.com
> M: +84909398700
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


More information about the Users mailing list