Hi Tino Vazquez,<br><br>I've ran the command<br><br>
$ ruby -dw $ONE_LOCATION/lib/mads/one_im_sh.rb<br><br>But it don't return anything. Do i have to do anything?<br><br>Thanks<br><br><div class="gmail_quote">On 25 April 2011 21:19, Tino Vazquez <span dir="ltr"><<a href="mailto:tinova@opennebula.org">tinova@opennebula.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
Let's see what happens if the driver is executed by hand, please send<br>
the output of:<br>
<br>
$ ruby -dw $ONE_LOCATION/lib/mads/one_im_sh.rb<br>
INIT<br>
MONITOR 0 <name_of_host> -<br>
<br>
Regards,<br>
<br>
-Tino<br>
<br>
--<br>
Constantino Vázquez Blanco, MSc<br>
OpenNebula Major Contributor<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | @tinova79<br>
<div><div></div><div class="h5"><br>
<br>
<br>
On Tue, Apr 19, 2011 at 2:50 AM, Hoang Dinh Phuc <<a href="mailto:hdphuc@gmail.com">hdphuc@gmail.com</a>> wrote:<br>
><br>
> Hello all,<br>
><br>
> I've already installed OpenNebula 2.2 on CentOS and add KVM host to<br>
> OpenNebula. Now, i want to add ESX Server (VMWARE) to be managed by the<br>
> OpenNebula. But it make an error. Here is my oned.conf:<br>
><br>
> VM_MAD = [<br>
> name = "vmm_vmware",<br>
> executable = "one_vmm_sh",<br>
> arguments = "vmware",<br>
> default = "vmm_sh/vmm_sh_vmware.conf",<br>
> type = "vmware" ]<br>
><br>
><br>
> #-------------------------------------------------------------------------------<br>
> # VMware Driver Addon Information Driver Manager Configuration<br>
> #-------------------------------------------------------------------------------<br>
> IM_MAD = [<br>
> name = "im_vmware",<br>
> executable = "one_im_sh",<br>
> arguments = "vmware" ]<br>
> # arguments = "--username oneadmin --password ' ' " ]<br>
> #-------------------------------------------------------------------------------<br>
><br>
> #-------------------------------------------------------------------------------<br>
> # VMware Driver Addon Transfer Manager Driver Configuration<br>
> #-------------------------------------------------------------------------------<br>
> TM_MAD = [<br>
> name = "tm_vmware",<br>
> executable = "one_tm",<br>
> arguments = "tm_vmware/tm_vmware.conf" ]<br>
><br>
> When i'm using onehost command to add VMWARE Host, it make an error state.<br>
> And here is the log<br>
> $ onehost esxsrv im_vmware vmm_vmware tm_vmware<br>
><br>
> Mon Apr 18 14:24:05 2011 [InM][I]: Monitoring host esxsrv (3)<br>
> Mon Apr 18 14:24:05 2011 [ReM][D]: VirtualMachinePoolInfo method invoked<br>
> Mon Apr 18 14:24:05 2011 [InM][D]: Host 3 successfully monitored.<br>
> Mon Apr 18 14:24:05 2011 [ONE][E]: syntax error, unexpected $end, expecting<br>
> VARIABLE at line 2, columns 1:2<br>
> Mon Apr 18 14:24:05 2011 [InM][E]: Error parsing host information:<br>
><br>
> Please show me the way to add VMWARE host to OpenNebula.<br>
><br>
> Thanks so much.<br>
> -------------------<br>
> F: Hoang Dinh Phuc<br>
> E: <a href="mailto:hdphuc@gmail.com">hdphuc@gmail.com</a><br>
> M: +84909398700<br>
><br>
><br>
><br>
><br>
> --<br>
> -------------------<br>
> F: Hoang Dinh Phuc<br>
> E: <a href="mailto:hdphuc@gmail.com">hdphuc@gmail.com</a><br>
> M: +84909398700<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
><br>
><br>
</blockquote></div><br><br clear="all"><br>-- <br>-------------------<br>F: Hoang Dinh Phuc<br>E: <a href="mailto:hdphuc@gmail.com" target="_blank">hdphuc@gmail.com</a><br>M: +84909398700<br><br>