[one-users] vmware driver installation

Tino Vazquez tinova at fdi.ucm.es
Thu Apr 8 03:14:25 PDT 2010


Hi Manju,

Try adding to your classpath all the jars found in

<path-to-ViSDK-install>/samples/Axis/java/lib

Regards,

-Tino

--
Constantino Vázquez, Grid & Virtualization Technology
Engineer/Researcher: http://www.dsa-research.org/tinova
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org



On Thu, Apr 8, 2010 at 12:04 PM, Tiago Batista <tiagosbatista at gmail.com> wrote:
> To be honnest, I am at a loss. The only time I saw those errors was when I
> tried to compile the vmware driver without properly compiling the visdk
> first.... The errors you are seeing are related to missing classes on
> com.vmware, wich is part of the visdk.
>
> I just wrote a paper where I said that installing the visdk is the hardest
> part of getting the vmware driver working. This is confirmation that I am
> not the only one who faced this problem!
>
> Tiago
>
> On Thu, Apr 8, 2010 at 10:38 AM, manju a <manju.kudu at gmail.com> wrote:
>>
>> Hi ,
>>
>> yes ENV looks same as below but No Luck yet !! do we need to install any
>> java related packages ??? nebulla running on ubuntu.
>>
>> thanks,
>> manjunath A
>>
>>
>>
>>
>> On Wed, Apr 7, 2010 at 11:55 PM, manju a <manju.kudu at gmail.com> wrote:
>>>
>>> Thanks for the info, let me give it a try...
>>>
>>> manju
>>>
>>> On Wed, Apr 7, 2010 at 7:45 PM, Tiago Batista <tiagosbatista at gmail.com>
>>> wrote:
>>>>
>>>> Have you added the vi-sdk binaries to your classpath?
>>>>
>>>> my bashrc from when I used the vmware driver is bellow. I am shure that
>>>> not all of the variables were required, but this worked for me! Try
>>>> uncommenting the commented lines and ajusting the paths... (sorry for the
>>>> linewrapping)
>>>>
>>>> export ONE_AUTH="/home/tsbatista/.one_auth"
>>>> export ONE_LOCATION="/opt/one-instalation"
>>>> #export VMWARE_DATASTORE="one-datastore"
>>>> #export VMWARE_DATACENTER="ha-datacenter"
>>>> #export DATASTORE_PATH="/home/tsbatista/datastore"
>>>>
>>>> export PATH="$PATH:$ONE_LOCATION/bin"
>>>> #export AXISHOME="/usr/share/java/axis/"
>>>> #export SDKHOME="/home/tsbatista/vi-sdk"
>>>> #export WBEMHOME="$SDKHOME/samples/Axis/java/lib/wbem.jar"
>>>> #export VMKEYSTORE="/home/tsbatista/vmware-certs/vmware.keystore"
>>>> #export VMWARE_TRUSTORE="$VMKEYSTORE"
>>>> #export JAVAHOME="$JAVA_HOME"
>>>> #export PATH="$PATH:$JAVA_HOME/bin:$AXISHOME/bin"
>>>> #JAVA_SHARE="/usr/share/java"
>>>> #SDK_HOME="/home/tsbatista/vi-sdk"
>>>> #SAMPLES="$SDK_HOME/samples/Axis/java"
>>>> #export
>>>> CLASSPATH="$CLASSPATH:$AXISHOME/axis.jar:$AXISHOME/axis-ant.jar:$AXISHOME/jaxrpc.jar:$AXISHOME/saaj.jar:$JAVA_SHARE/commons-discovery.jar:$JAVA_SHARE/commons-logging.jar:$JAVA_SHARE/log4j.jar:$JAVA_SHARE/wsdl4j.jar:$JAVA_HOME/tools.jar:$SAMPLES/vim.jar:$SAMPLES/vim25.jar:$SAMPLES/apputils.jar:$SAMPLES/samples.jar:$SAMPLES/activation.jar:$SAMPLES/mailapi.jar:$SAMPLES:wbem.jar"
>>>>
>>>> #for i in `ls $SAMPLES/lib`; do
>>>> #       CLASSPATH="$CLASSPATH:$SAMPLES/lib/$i"
>>>> #done
>>>>
>>>>
>>>> On Wed, Apr 7, 2010 at 2:05 PM, manju a <manju.kudu at gmail.com> wrote:
>>>>>
>>>>> Hi Tino,
>>>>>
>>>>> i am able to install using -d option, i am trying to install vmware
>>>>> drivers, getting below error.
>>>>>
>>>>> Any suggestion please
>>>>>
>>>>> Installing VMWare drivers.DeployVM.java:19: package com.vmware.vim does
>>>>> not exist
>>>>> import com.vmware.vim.*;
>>>>> ^
>>>>> DeployVM.java:20: package com.vmware.apputils does not exist
>>>>> import com.vmware.apputils.*;
>>>>> ^
>>>>> DeployVM.java:21: package com.vmware.apputils.vim does not exist
>>>>> import com.vmware.apputils.vim.*;
>>>>> ^
>>>>> DeployVM.java:41: cannot find symbol
>>>>> symbol  : class ServiceContent
>>>>> location: class DeployVM
>>>>>     private static  ServiceContent content;
>>>>>                     ^
>>>>> DeployVM.java:42: cannot find symbol
>>>>> symbol  : class AppUtil
>>>>> location: class DeployVM
>>>>>     static  AppUtil cb = null;
>>>>>             ^
>>>>> DeployVM.java:43: cannot find symbol
>>>>> symbol  : class VimPortType
>>>>> location: class DeployVM
>>>>>     private static  VimPortType service;
>>>>>
>>>>> thanks,
>>>>> manjunath A
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Apr 7, 2010 at 4:53 PM, Tino Vazquez <tinova at fdi.ucm.es> wrote:
>>>>>>
>>>>>> Hi there,
>>>>>>
>>>>>> You may want to take a look to option "-d" of the "install.sh" script
>>>>>> [1].
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> -Tino
>>>>>>
>>>>>> [1] http://opennebula.org/documentation:rel1.4:ignc
>>>>>> --
>>>>>> Constantino Vázquez, Grid & Virtualization Technology
>>>>>> Engineer/Researcher: http://www.dsa-research.org/tinova
>>>>>> DSA Research Group: http://dsa-research.org
>>>>>> Globus GridWay Metascheduler: http://www.GridWay.org
>>>>>> OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, Apr 5, 2010 at 8:21 PM, manju a <manju.kudu at gmail.com> wrote:
>>>>>> > HI Tino,
>>>>>> >
>>>>>> > Thanks for the info, is there any good documentation available for
>>>>>> > standalone mode installation!!
>>>>>> >
>>>>>> > Regards,
>>>>>> > manjunath A
>>>>>> >
>>>>>> >
>>>>>> > On Mon, Apr 5, 2010 at 11:13 PM, Tino Vazquez <tinova at fdi.ucm.es>
>>>>>> > wrote:
>>>>>> >>
>>>>>> >> Hi manjunath,
>>>>>> >>
>>>>>> >> VMware drivers can be installed only in standalone mode (i.e., not
>>>>>> >> system wide ONE installation). This is not ideal, I've opened a
>>>>>> >> ticket
>>>>>> >> [1] to fix this for next release.
>>>>>> >>
>>>>>> >> Regards,
>>>>>> >>
>>>>>> >> -Tino
>>>>>> >>
>>>>>> >> [1] http://dev.opennebula.org/issues/209
>>>>>> >>
>>>>>> >> --
>>>>>> >> Constantino Vázquez, Grid & Virtualization Technology
>>>>>> >> Engineer/Researcher: http://www.dsa-research.org/tinova
>>>>>> >> DSA Research Group: http://dsa-research.org
>>>>>> >> Globus GridWay Metascheduler: http://www.GridWay.org
>>>>>> >> OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org
>>>>>> >>
>>>>>> >>
>>>>>> >>
>>>>>> >> On Mon, Apr 5, 2010 at 3:21 PM, manju a <manju.kudu at gmail.com>
>>>>>> >> wrote:
>>>>>> >> > Hi All,
>>>>>> >> >
>>>>>> >> >  i am trying to setup a nebula cloud, i have performed system
>>>>>> >> > wide
>>>>>> >> > installation, now i am trying to install VMware drivers,
>>>>>> >> > whenever i
>>>>>> >> > tried
>>>>>> >> > to run
>>>>>> >> >
>>>>>> >> > ./install-vmware.sh
>>>>>> >> > ONE_LOCATION is not defined. Don't know where to copy, aborting.
>>>>>> >> >
>>>>>> >> > In the system-wide installation not sure which path we need to
>>>>>> >> > set for
>>>>>> >> > "ONE_LOCATION" Env.
>>>>>> >> >
>>>>>> >> > Any comment on this...
>>>>>> >> >
>>>>>> >> > thanks,
>>>>>> >> > manjunath A
>>>>>> >> >
>>>>>> >> >
>>>>>> >> >
>>>>>> >> >
>>>>>> >> >
>>>>>> >> >
>>>>>> >> > _______________________________________________
>>>>>> >> > Users mailing list
>>>>>> >> > Users at lists.opennebula.org
>>>>>> >> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>>>> >> >
>>>>>> >> >
>>>>>> >
>>>>>> >
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Users mailing list
>>>>> Users at lists.opennebula.org
>>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>>>
>>>>
>>>
>>
>
>



More information about the Users mailing list