VMware {code} Community
dev_webclient
Contributor
Contributor

how to retrieve lookupservice url

Hi,

I have installed vCenter Server 5.5 successfully.I forgot to notedown lookupservice url .

Where lookupservice url will be stored in vCenter Server and also authentication details.

Tags (1)
0 Kudos
5 Replies
rdey
Enthusiast
Enthusiast

Assuming you have installed a VCVA (vCenter Virtual Appliance) or a Simple Windows vCenter, the lookup service url is

https://<IP of vCenter>:7444/lookupservice/sdk

0 Kudos
demo_111
Contributor
Contributor

Hi rdey.

I am working a project about vsphere web client and i will get the serviceUrl by vsphere web client sdk. In the vsphere 5.1, i get the serviceUrl like https://<ip-adress>/sdk, but in the vsphere 5.5, i get the serviceUrl using the same code.The serviceUrl that i get is like https://<host-name>/sdk.What's wrong with me? Do i get it with wrong method? or Do i have any methods to get the serviceUrl like https://<ip-adress>/sdk? Please help me.I will thanks very much.

0 Kudos
laurentsd
VMware Employee
VMware Employee

Like I said in the other post you had on this subject, if the 5.5 SDK returns <host-name> instead of <host-ip> you need to figure out how to get the IP from your host-name.

0 Kudos
demo_111
Contributor
Contributor

Thanks a lot.

0 Kudos
dongtong
Contributor
Contributor

Hi laurentsd:

I am clear what you said, but you know I still have no idea how to find a clear way to get host ip. I know that should convert host-name to host-ip.

I am appreciated if you could give a clear way to get the IP.

PS, I checked the SDK API, and it does not supply interface to do that.

Thanks a lot.

0 Kudos