Sorry for the 'spoke to soon' email. I got my VISDK to connect first and the OpenNebula worked fine. All set.<div><br></div><div>Thanks,</div><div>Jon</div><div><br><br><div class="gmail_quote">On Tue, Aug 31, 2010 at 1:56 PM, Jonathan Kelley <span dir="ltr"><<a href="mailto:jkelley@vm-labs.com">jkelley@vm-labs.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Tino,<div><br></div><div>Thanks that worked however now I hit the next layer of issues. I try adding my ESXi host using onehost via the following command:</div>
<div><br></div><div><div>bin/onehost create <fqdn_name> im_vmware vmm_vmware tm_vmware</div>
<div><br></div><div>and I have set the im_vmwarerc as well as the vmm_vmwarerc files up as well as the keystore imported the certificate which shows the fqdn name as well. I also have setup oned.conf to include the vmware driver details.</div>

<div><br></div><div>The only message I get in the log though is the following:</div><div><br></div><div><div>root@xxxxx:/srv/cloud/one# cat var/im_vmware.log </div><div>[31.08.2010 13:52:58] MONITOR FAILURE 6 Failed monitoring host <a href="http://12core.boston.vm-labs.com" target="_blank">12core.boston.vm-labs.com</a></div>

</div><div><br></div><div>or </div><div><br></div><div><div>Tue Aug 31 13:52:58 2010 [ReM][D]: HostPoolInfo method invoked</div><div>Tue Aug 31 13:52:58 2010 [InM][E]: Error monitoring host 6 : MONITOR FAILURE 6 Failed monitoring host <a href="http://12core.boston.vm-labs.com" target="_blank">12core.boston.vm-labs.com</a>.</div>

</div><div><br></div><div>How can I add more debugging to find out the details of the failure?</div><div><br></div><div>Thanks,</div><div>Jon</div><div><div></div><div class="h5"><div><br></div><br><div class="gmail_quote">
On Fri, Aug 27, 2010 at 7:36 AM, Tino Vazquez <span dir="ltr"><<a href="mailto:tinova@fdi.ucm.es" target="_blank">tinova@fdi.ucm.es</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jonathan,<br>
<br>
There are no differences setup-wise between OpenNebula v1.4 y v2.0<br>
regarding the VMware drivers.<br>
<br>
In order to correctly configure the VI SDK 2.5, I recommend you follow<br>
the guide at [1], more precisely section "Setup Instructions for Java<br>
Development". You need to compile the jar files from the VI SDK 2.5,<br>
the errors you are experience comes from the lack of needed jar files<br>
in your CLASSPATH. Remember that java treats the jar files as<br>
directories, so you need to specify them explicitly in the CLASSPATH<br>
variable. Assuming your VI SDK and AXIS install resides at /opt/, a<br>
correct CLASSPATH looks like<br>
<br>
--<br>
/opt/axis-1_4/lib/axis-ant.jar:/opt/axis-1_4/lib/axis-schema.jar:/opt/axis-1_4/lib/axis.jar:/opt/axis-1_4/lib/commons-discovery-0.2.jar:/opt/axis-1_4/lib/commons-logging-1.0.4.jar:/opt/axis-1_4/lib/jaxrpc.jar:/opt/axis-1_4/lib/log4j-1.2.8.jar:/opt/axis-1_4/lib/log4j.properties:/opt/axis-1_4/lib/saaj.jar:/opt/axis-1_4/lib/wsdl4j-1.5.1.jar:/System/Library/Frameworks/JavaVM.framework/Home/lib:/System/Library/Frameworks/JavaVM.framework/Home/lib/tools.jar:/opt/Vim25-SDK/samples/Axis/java/vim.jar:/opt/Vim25-SDK/samples/Axis/java/lib/activation.jar:/opt/Vim25-SDK/samples/Axis/java/lib/mailapi.jar:/opt/Vim25-SDK/samples/Axis/java/vim25.jar:/opt/Vim25-SDK/samples/Axis/java/vim25.jar:/opt/Vim25-SDK/samples/Axis/java/samples.jar:/opt/Vim25-SDK/samples/Axis/java/apputils.jar:/opt/Vim25-SDK/samples/Axis/java/vim25.jar:/opt/Vim25-SDK/samples/Axis/java/samples.jar:/opt/Vim25-SDK/samples/Axis/java/apputils.jar:/opt/Vim25-SDK/samples/Axis/java:/opt/axis-1_4/lib/axis-ant.jar:/opt/axis-1_4/lib/commons-logging-1.0.4.jar:/opt/axis-1_4/lib/saaj.jar:/opt/axis-1_4/lib/axis.jar:/opt/axis-1_4/lib/jaxrpc.jar:/opt/axis-1_4/lib/wsdl4j-1.5.1.jar:/opt/axis-1_4/lib/commons-discovery-0.2.jar:/opt/axis-1_4/lib/log4j-1.2.8.jar:/lib/wbem.jar:/opt/Vim25-SDK/samples/Axis/java/lib/activation.jar:/opt/Vim25-SDK/samples/Axis/java/lib/jaxen-core.jar:/opt/Vim25-SDK/samples/Axis/java/lib/jaxen-jdom.jar:/opt/Vim25-SDK/samples/Axis/java/lib/jdom.jar:/opt/Vim25-SDK/samples/Axis/java/lib/mailapi.jar:/opt/Vim25-SDK/samples/Axis/java/lib/saxpath.jar:/opt/Vim25-SDK/samples/Axis/java/lib/smtp.jar:/opt/Vim25-SDK/samples/Axis/java/lib/wbem.jar:/opt/Vim25-SDK/samples/Axis/java/lib/xalan.jar:/opt/Vim25-SDK/samples/Axis/java/lib/xerces.jar:/opt/Vim25-SDK/samples/Axis/java/lib/xml-apis.jar<br>


--<br>
<br>
Best regards,<br>
<br>
-Tino<br>
<br>
[1] <a href="http://www.vmware.com/support/developer/vc-sdk/visdk25pubs/visdk25setupguide.pdf" target="_blank">http://www.vmware.com/support/developer/vc-sdk/visdk25pubs/visdk25setupguide.pdf</a><br>
--<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>
<div><div></div><div><br>
<br>
<br>
On Thu, Aug 26, 2010 at 5:52 PM, Jonathan Kelley <<a href="mailto:jkelley@vm-labs.com" target="_blank">jkelley@vm-labs.com</a>> wrote:<br>
> Additional info on the errors I see when running ./install_vmware.sh:  My<br>
> classpath is<br>
> CLASSPATH=:/opt/axis-1_4/lib/:/opt/vi-2.5.0/SDK/samples/Axis/java/:/opt/vi-2.5.0/SDK/samples/Axis/java/lib<br>
> Installing VMWare drivers.DeployVM.java:125: cannot access<br>
> org.apache.axis.AxisFault<br>
> class file for org.apache.axis.AxisFault not found<br>
>                 = cb.getConnection().getService().registerVM_Task(<br>
>                                                                  ^<br>
> DeployVM.java:235: unreported exception<br>
> com.vmware.vim.InsufficientResourcesFault; must be caught or declared to be<br>
> thrown<br>
>             = cb.getConnection().getService().reconfigVM_Task(<br>
>                                                              ^<br>
> /opt/vi-2.5.0/SDK/samples/Axis/java/com/vmware/apputils/vim/ServiceConnection.java:51:<br>
> cannot access org.apache.axis.client.Service<br>
> class file for org.apache.axis.client.Service not found<br>
>       _locator = new VimServiceLocator();<br>
><br>
> Thanks,<br>
> Jon<br>
><br>
><br>
> On Thu, Aug 26, 2010 at 3:55 PM, Jonathan Kelley <<a href="mailto:jkelley@vm-labs.com" target="_blank">jkelley@vm-labs.com</a>><br>
> wrote:<br>
>><br>
>> Just curious if there are any differences to getting the VMware driver to<br>
>> work with OpenNebula 2.0.<br>
>><br>
>> I am curious whether it is necessary to compile the VI SDK 2.5 or the<br>
>> packaged jar files are enough.<br>
>><br>
>> If anyone has some exact steps on getting the VISDK up and running<br>
>> properly that would be great.<br>
>><br>
>> I am setting this up on Ubuntu 10.04.<br>
>><br>
>> Thanks in advance,<br>
>> Jon<br>
>><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opennebula.org" target="_blank">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></div></div></div>
</blockquote></div><br></div>