Retrieve a
vCenter
Server
ID by Using the Lookup Service
vCenter
Server
ID by Using the Lookup Service You use the node
ID of a
vCenter
Server
instance to retrieve the endpoint URL of a service on that
vCenter
Server
instance. You specify the node ID in the service registration filter that you
pass to the
List()
function on the Lookup Service.
- Verify that you have created a content library.
- Verify that you have established a connection with the Lookup Service.
- Verify that you have retrieved a service registration object.
Managed services are
registered with the instance name of the
vCenter
Server
instance where they run. The instance name maps to a unique
vCenter
Server
ID. The instance name of a
vCenter
Server
system is specified during installation and might be an FQDN or an IP address.
- List thevCenter Serverinstances.
- Find the matching node name of thevCenter Serverinstance and save the ID.
Use the node ID of the
vCenter
Server
instance to filter subsequent endpoint requests. You can use the node ID in a
function that retrieves the endpoint URL of a service on a
vCenter
Server
instance. For information about implementing such a function, see
Retrieve Service Endpoints on vCenter Server Instances.