[one-users] problem in configuring vmware hyper visor
Siva Prasad
newror.user at gmail.com
Thu Nov 24 09:24:30 PST 2011
Hi Tino,
Thanks a lot it worked it moved further. (now i know How stupid mistake
i was donig)
virsh # connect gsx://10.3.3.48/?no_verify=1
Enter username for 10.3.3.48 [root]: oneadmin
Enter oneadmin's password for 10.3.3.48:
I have configured the URI to be gsx in the vmwarerc file.(As my
hypervisor is Vmware server)
I have provided oneadmin password as oneadmin which i configured in
vmwarerc file. And this oneadmin user is in the hypervisor macine and i
could login with this oneadmin user into the vmware server also.But when
I provide this password to the virsh It stays there only without any
response (though the password is correct)
Any thoughts ?
-- Suser.
On 11/24/2011 10:44 PM, Tino Vazquez wrote:
> Hi,
>
> You don't need both connect and "-c". Try
>
> # connect esx://host/?no_verify=1
>
> Which version of libvirt are you using?
>
> Regards,
>
> -T
>
> --
> Constantino Vázquez Blanco, MSc
> Project Engineer
> OpenNebula - The Open Source Toolkit for Data Center Virtualization
> www.OpenNebula.org <http://www.opennebula.org/> | @tinova79 | @OpenNebula
>
>
>
> On Thu, Nov 24, 2011 at 6:05 PM, Siva Prasad <newror.user at gmail.com
> <mailto:newror.user at gmail.com>> wrote:
>
> yes i have installed libvirt with ./configure --wtih-esxi
>
> --Suser
>
>
> On 11/24/2011 10:30 PM, Tino Vazquez wrote:
>> Hi,
>>
>> Do you have libvirt installed with VMware support? Which version
>> of libvirt is it?
>>
>> Regards,
>>
>> -Tino
>>
>> --
>> Constantino Vázquez Blanco, MSc
>> Project Engineer
>> OpenNebula - The Open Source Toolkit for Data Center Virtualization
>> www.OpenNebula.org
>> <http://www.opennebula.org/> | @tinova79 | @OpenNebula
>>
>>
>>
>> On Thu, Nov 24, 2011 at 5:33 PM, Siva Prasad
>> <newror.user at gmail.com <mailto:newror.user at gmail.com>> wrote:
>>
>> HI Tino,
>>
>> I was followoing 2.2 documentation itself.
>>
>> So I had installed openNebula 2.2
>> and vmware addon 2.2 itself.
>>
>> *Now I get the following:*
>> ---------------------------------
>>
>>
>> virsh # connect "-c gsx:// 10.3.3.48/?no_verify=1
>> <http://10.3.3.48/?no_verify=1>"
>>
>> error: Failed to connect to the hypervisor
>> error: invalid argument: could not parse connection URI -c
>> gsx://10.3.3.48/?no_verify=1 <http://10.3.3.48/?no_verify=1>
>>
>> virsh # connect -c gsx://10.3.3.48/?no_verify=1
>> <http://10.3.3.48/?no_verify=1>
>> error: unexpected data 'gsx://10.3.3.48/?no_verify=1
>> <http://10.3.3.48/?no_verify=1>'
>>
>> virsh#
>>
>> ------------------------------------------------------------
>>
>> Actually my onevm commands all work fine.( I know this has
>> nothing to do till i try to setup a host or launch a vm)
>> do we need to have the accessible nfs storage to the
>> hypervisor inorder *"virsh # connect "-c gsx://
>> 10.3.3.48/?no_verify=1 <http://10.3.3.48/?no_verify=1>" *to work?
>>
>>
>> I have not yet shared a folder over Nfs.
>>
>> Any help is appreciated.
>>
>> Thanks,
>> Suser
>>
>>
>>
>>
>>
>> On 11/24/2011 4:10 PM, Tino Vazquez wrote:
>>> Hi Siva,
>>>
>>> comments inline,
>>>
>>> On Thu, Nov 24, 2011 at 10:07 AM, Siva Prasad
>>> <newror.user at gmail.com <mailto:newror.user at gmail.com>> wrote:
>>>
>>> Hi Guys,
>>>
>>> I am setting up openNebula on ubuntu11.04. and I am
>>> trying to configure the VMwaresServer hypervisor but no
>>> luck.The below are the steps i have done.
>>>
>>> 1) Installed ubuntu and openbnebula 2.0.1
>>>
>>>
>>> you are using a rather old version, i suggest you upgrade to
>>> the last stable (v3.0), or v2.2 if you want to use a stable
>>> version of the vmware drivers as well.
>>>
>>> 2) installed the libvirt.
>>> 3) installed vmwareaddon 2.2
>>>
>>>
>>> vmware addon drivers 2.2 are compatible with opennebula 2.2
>>>
>>> 4) configured password and esx to gsx in the
>>> /etc/one/vmwarerc file.(the same password is there on my
>>> vmware server hypervisor which I installed on windows XP).
>>> 5) changed the datastore in
>>> /etc/one/vmm_sh/vmm_sh_vmware.conf
>>>
>>>
>>> I could not connect to the hypervisor using hte virsh
>>> command line. I get the following error.
>>>
>>> *virsh #* connect 10.3.3.48
>>> error: Failed to connect to the hypervisor
>>> error: no connection driver available for No connection
>>> for URI 10.3.3.48
>>>
>>>
>>> you need to connect with a "-c esx://<host>/?no_verify=1" URI
>>>
>>>
>>> *virsh #*
>>>
>>>
>>> I could ping 10.3.3.48
>>>
>>> NOTE:Should I install certificate in the keystore. This
>>> is ubuntu 2.0.1 does it need key in the keystore? I
>>> thought theres no need to do this.
>>>
>>>
>>> No, you don't need to do this. Just out of curiosity, which
>>> documentation are you following?
>>>
>>> Regards,
>>>
>>> -T
>>>
>>> Can anybody help me.
>>>
>>> --Suser
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> <mailto: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/20111124/a0ca13bc/attachment-0003.htm>
More information about the Users
mailing list