[one-users] vmware driver installation

manju a manju.kudu at gmail.com
Fri Apr 9 01:28:51 PDT 2010


Hi,

I am trying to add esxi host using onehost add command, i m getting below
info

ID                    : 0
NAME                  : hostname
STATE                 : ERROR
IM_MAD                : im_vmware
VM_MAD                : vmm_vmware
TM_MAD                : tm_vmware

HOST SHARES
MAX MEM               : 0
USED MEM (REAL)       : 0
USED MEM (ALLOCATED)  : 0
MAX CPU               : 0
USED CPU (REAL)       : 0
USED CPU (ALLOCATED)  : 0
RUNNING VMS           : 0

when i see the oned.log i am able to see

Fri Apr  9 13:56:40 2010 [InM][E]: Could not find information driver
im_vmware
Fri Apr  9 13:57:04 2010 [ReM][D]: HostPoolInfo method invoked

When i do $ONE_LOCATION/lib/mads/one_im_vmware, i am able to get below
output.
INIT
INIT SUCCESS

Any thing wrong here ????

thanks,
manjunath A




On Thu, Apr 8, 2010 at 3:54 PM, manju a <manju.kudu at gmail.com> wrote:

> Thanks for the info and help "Tiago" and "Tino"
>
> Regards
> Manjunath a
>
>
>
>
>
> On Thu, Apr 8, 2010 at 3:51 PM, Tino Vazquez <tinova at fdi.ucm.es> wrote:
>
>> Hi Manju,
>>
>> Yes, this is a known issue that will be eventually solved, but it is
>> safe for know to ignore those warnings.
>>
>> 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:16 PM, manju a <manju.kudu at gmail.com> wrote:
>> > Hmmm i am getting below messages now, is it okay to ignore...
>> >
>> >
>> > Installing VMWare drivers.Note: Some input files use unchecked or unsafe
>> > operations.
>> > Note: Recompile with -Xlint:unchecked for details.
>> > .Note: Some input files use unchecked or unsafe operations.
>> > Note: Recompile with -Xlint:unchecked for details.
>> > .done
>> >
>> > thanks,
>> > manjunath A
>> >
>> >
>> >
>> > On Thu, Apr 8, 2010 at 3:34 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
>> >>>>>>
>> >>>>>
>> >>>>
>> >>>
>> >>
>> >
>> >
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100409/f513f5cc/attachment-0003.htm>


More information about the Users mailing list