[one-users] Asking about VMWARE ESX and OpenNebula

Hoang Dinh Phuc hdphuc at gmail.com
Tue Apr 26 09:09:58 PDT 2011


Hi,

Is any mistake in your command? I've change the path like this:

$ mkdir -p $ONE_LOCATION/var/remotes/im/vmware.d && cp -r
*$ONE_LOCATION/lib/remotes/im/vmware.d/*
*$ONE_LOCATION/var/remotes/im/vmware.d

and

$ mkdir -p $ONE_LOCATION/var/remotes/vmm/vmware && cp -r *
$ONE_LOCATION/lib/remotes/vmm/vmware/** $ONE_LOCATION/var/remotes/vmm/vmware

But it still get the error.

Regards

On 26 April 2011 22:20, Tino Vazquez <tinova at opennebula.org> wrote:

> Dear Hoang,
>
> My apologies, the test i was asking for was not complete (it was
> lacking a paramenter to the mad).
>
> In any case, I think the problem may be in the way ONE 2.0+ handles
> the remotes. The VMware Addon only copies to
> $ONE_LOCATION/lib/remotes, when it should copy also to
> $ONE_LOCATION/var. I've opened a ticket [1] to keep track of the
> solution.
>
> Meanwhile, a workaround is to issue the following from the VMware
> Addon installation directory:
>
> $ mkdir -p $ONE_LOCATION/var/remotes/im/vmware.d && cp -r im/remotes/*
> $ONE_LOCATION/var/remotes/im/vmware.d
> $ mkdir -p $ONE_LOCATION/var/remotes/vmm/vmware && cp -r vmm/remotes/*
> $ONE_LOCATION/var/remotes/vmm/vmware
>
> Please let me know if this solves the issue.
>
> Regards,
>
> -Tino
>
> [1] http://dev.opennebula.org/issues/593
>
> --
> Constantino Vázquez Blanco, MSc
> OpenNebula Major Contributor
> www.OpenNebula.org | @tinova79
>
>
>
> On Tue, Apr 26, 2011 at 12:13 PM, Hoang Dinh Phuc <hdphuc at gmail.com>
> wrote:
> > Hi
> >
> > Here is the output:
> >
> > $ ruby -dw $ONE_LOCATION/lib/mads/one_im_sh.rb
> > --
> > INIT
> > --INIT SUCCESS - -
> > --
> > MONITOR 0 esxsrv
> > Exception `Interrupt' at /srv/cloud/one/lib/ruby/ActionManager.rb:168 -
> > /srv/cloud/one/lib/ruby/ActionManager.rb:168:in `wait': Interrupt
> >     from /srv/cloud/one/lib/ruby/ActionManager.rb:168:in `start_listener'
> >     from /srv/cloud/one/lib/ruby/ActionManager.rb:166:in `synchronize'
> >     from /srv/cloud/one/lib/ruby/ActionManager.rb:166:in `start_listener'
> >     from /srv/cloud/one/lib/ruby/OpenNebulaDriver.rb:73:in `start_driver'
> >     from /srv/cloud/one/lib/mads/one_im_sh.rb:85
> >
> > It can't connect to my ESX Server. Please show me the way to check the
> > problems.
> >
> > Thanks & Regards
> >
> > On 26 April 2011 16:55, Tino Vazquez <tinova at opennebula.org> wrote:
> >>
> >> Hi,
> >>
> >> Yes please input the following two lines:
> >>
> >> --
> >> INIT
> >> --
> >>
> >> The answer should be
> >>
> >> --
> >> INIT SUCCESS
> >> --
> >>
> >> and the also enter the following
> >>
> >> --
> >> MONITOR 0 <name_of_host> -
> >> --
> >>
> >> and send the output.
> >>
> >> Regards,
> >>
> >> -Tino
> >>
> >> --
> >> Constantino Vázquez Blanco, MSc
> >> OpenNebula Major Contributor
> >> www.OpenNebula.org | @tinova79
> >>
> >>
> >>
> >> On Tue, Apr 26, 2011 at 3:33 AM, Hoang Dinh Phuc <hdphuc at gmail.com>
> wrote:
> >> > Hi Tino Vazquez,
> >> >
> >> > I've ran the command
> >> >
> >> > $ ruby -dw $ONE_LOCATION/lib/mads/one_im_sh.rb
> >> >
> >> > But it don't return anything. Do i have to do anything?
> >> >
> >> > Thanks
> >> >
> >> > On 25 April 2011 21:19, Tino Vazquez <tinova at opennebula.org> wrote:
> >> >>
> >> >> 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
> >> >> >
> >> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > -------------------
> >> > F:  Hoang Dinh Phuc
> >> > E:  hdphuc at gmail.com
> >> > M: +84909398700
> >> >
> >> >
> >
> >
> >
> > --
> > -------------------
> > F:  Hoang Dinh Phuc
> > E:  hdphuc at gmail.com
> > M: +84909398700
> >
> >
>



-- 
-------------------
F:  Hoang Dinh Phuc
E:  hdphuc at gmail.com
M: +84909398700
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110426/86c15e8a/attachment-0003.htm>


More information about the Users mailing list