Hi Juan,<div><br></div><div>Yes, you need to install VMware Server on the nodes.</div><div><br></div><div>About the error, did you edit $ONE_LOCATION/etc/vmwarerc accordingly? You need to set the credentials of the VMware Server at least.</div>

<div><br></div><div>Regards,</div><div><br></div><div>-Tino</div><div><br clear="all">--<br>Constantino Vázquez Blanco | <a href="http://dsa-research.org/tinova" target="_blank">dsa-research.org/tinova</a><br>Virtualization Technology Engineer / Researcher<br>

OpenNebula Toolkit | <a href="http://opennebula.org" target="_blank">opennebula.org</a><br>
<br><br><div class="gmail_quote">2011/7/15 Juan José Fuentes <span dir="ltr"><<a href="mailto:Juanjose.Fuentes@sigmaaie.org">Juanjose.Fuentes@sigmaaie.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div lang="ES-TRAD" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Hi all,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">I’m starting configuring OpenNebula and I’m getting some trouble, both trying to configure it right and finding documentation, mostly because I want to use it with vmware support to still using the vmware server virtual machines I already have, at least I hope I could do that, if that’s not possible I’ll stop using OpenNebula.<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Until now I have installed OpenNebula 2.2 on a server (sigcloud01), in this server I’ve installed libvirt and the vmware extension (vmware-2.2.0.tar.gz). Also I have one host node (sigcloud02) on which I’ve installed VMWare Server 2.0.2. According to the posts/docs I read I think it’s necessary to install vmware server on the client node or it isn’t, so I’m not sure.<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">I also have installed SunStone on the OpenNebula Server.<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">At this point when I add a host to opennebula it always is in ERR status.<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">The command I use is: <b>onehost create sigcloud02 im_vmware vmm_vmware tm_vmware</b><u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">The oned.log says:<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Fri Jul 15 17:55:11 2011 [ReM][D]: HostAllocate method invoked<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Fri Jul 15 17:55:18 2011 [ReM][D]: HostPoolInfo method invoked<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Fri Jul 15 17:55:18 2011 [InM][I]: Monitoring host sigcloud02 (2)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Fri Jul 15 17:55:18 2011 [ReM][D]: VirtualMachinePoolInfo method invoked<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Fri Jul 15 17:55:18 2011 [InM][I]: Command execution fail: /var/lib/one/remotes/im/run_probes vmware sigcloud02<u></u><u></u></span></p><p class="MsoNormal">

<span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Fri Jul 15 17:55:18 2011 [InM][I]: STDERR follows.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Fri Jul 15 17:55:18 2011 [InM][I]: ./vmware.rb:61: undefined method `+' for nil:NilClass (NoMethodError)<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Fri Jul 15 17:55:18 2011 [InM][I]: Error executing vmware.rb<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Fri Jul 15 17:55:18 2011 [InM][I]: ExitCode: 1<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Fri Jul 15 17:55:18 2011 [InM][E]: Error monitoring host 2 : MONITOR FAILURE 2 Could not monitor host sigcloud02.<u></u><u></u></span></p><p class="MsoNormal">

<span lang="EN-US" style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Some help will be wellcome! <u></u><u></u></span></p><p class="MsoNormal">

<span lang="EN-US" style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Thank you in advance,<u></u><u></u></span></p><p class="MsoNormal">

<span lang="EN-US" style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><table border="0" cellpadding="0"><tbody><tr><td style="padding:.75pt .75pt .75pt .75pt"><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Juanjo.<u></u><u></u></span></p>

</td></tr><tr><td style="padding:.75pt .75pt .75pt .75pt"><p class="MsoNormal"><span style="color:#1F497D"><u></u> <u></u></span></p></td></tr></tbody></table><p class="MsoNormal"><b><span lang="ES" style="font-size:10.0pt">De:</span></b><span lang="ES" style="font-size:10.0pt"> <a href="mailto:users-bounces@lists.opennebula.org" target="_blank">users-bounces@lists.opennebula.org</a> [mailto:<a href="mailto:users-bounces@lists.opennebula.org" target="_blank">users-bounces@lists.opennebula.org</a>] <b>En nombre de </b>Amine Ghrab<br>

<b>Enviado el:</b> miércoles, 06 de julio de 2011 12:12<br><b>Para:</b> <a href="mailto:users@lists.opennebula.org" target="_blank">users@lists.opennebula.org</a><br><b>Asunto:</b> [one-users] OpenNebula OCCI 1.1<u></u><u></u></span></p>

<p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal" style="margin-bottom:12.0pt"><span>Hi,<br><br>I've successfully installed OpenNebula Express, for test purposes, using 2 machines.<br><br>Now I'm struggling to get the OCCI Server up following this wiki : <a href="http://dev.opennebula.org/projects/ogf-occi/wiki/Occi_02" target="_blank">http://dev.opennebula.org/projects/ogf-occi/wiki/Occi_02 </a><br>

and using this file: <a href="http://dev.opennebula.org/attachments/download/376/ogf-occi-0.2.zip" target="_blank">http://dev.opennebula.org/attachments/download/376/ogf-occi-0.2.zip</a><br><br>occi-server.conf  and occi-one.conf are similar to : <a href="http://www.mail-archive.com/users@lists.opennebula.org/msg03257.html" target="_blank">http://www.mail-archive.com/users@lists.opennebula.org/msg03257.html</a><br>

<br>occi-one.conf : <a href="http://pastebin.com/nAW16qpc" target="_blank">http://pastebin.com/nAW16qpc</a><br>occi-server.conf : <a href="http://pastebin.com/tLpHB12K" target="_blank">http://pastebin.com/tLpHB12K</a><br>

<br>When startin gthe server i get :<br><br>oneadmin@amine-front:~$occi-server start<br>Error executing /usr/lib/one/ruby/cloud/occi/occi-server.rb.<br>oneadmin@amine-front:~$ occi-server stop<br>occi-server stopped<br><br>

The only line of the log is : Error starting server: No VM_TYPE defined.<br><br>The other problem is : <br><br>oneadmin@amine-frontend:~$ occi-compute --username oneadmin --password oneadmin list<br>Error connecting to server (Connection refused - connect(2)).<br>

Server: localhost:4567<br><br>The installation is system wide, hence I have the following schema:<br> <br>oneadmin@amine-front:~$ ls /etc/one/<br>auth                         im_kvm                           occi-server.conf            tm_lvm<br>

defaultrc                   im_xen                            occi-server.conf.old      tm_nfs<br>ec2query_templates  occi-one.conf                   occi-server.conf.orig     tm_ssh<br>econe.conf               occi-one.conf.old              occi_templates            vmm_ec2<br>

hm                           occi_one_templates         oned.conf                    vmm_sh<br>im_ec2                     occi_one_templates.old    tm_dummy                  vmm_ssh</span><u></u><u></u></p><p class="MsoNormal">

<a name="1312ea275bde3773_system_wide"></a><span>Best Regards.<br><br>Amine</span><u></u><u></u></p></div></div></div><br>_______________________________________________<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></blockquote></div><br></div>