To resolve this issue, you must change the hostname of the vCenter Server inventory service that is stored in the ADAM database.
Before modifying the hostname:
- Log in to the vCenter Server machine and open a Web browser.
- Navigate and log in to https://localhost/mob.
- In the browser address bar, type https://localhost/mob/?moid=ServiceDirectory.
- Under Properties, you see two service[".....VIMWEBSVC"] linked entries for VALUE, of which one is for vCenter and the other is for VSPHERE-INVENTORY-SERVICE.
Note: vCenter Server, by default, should have three ServerEndpoints displayed on this page, two [.../VIMWEBSVC]and one [.../VIMAPI].
- Identify the link for the VSPHERE-INVENTORY-SERVICE instanceName string.
- Note the value of key string. For example, 7237b07a-7cb6-41b3-8b3c-6774aebdde05/VIMWEBSVC.
- Click the back arrow in the browser.
- In the ManagedObjectReference:ServiceDirectory screen, click UnregisterService.
- For VALUE, type the VSPHERE-INVENTORY-SERVICE key string noted in Step 6.
- Click Invoke Method.
- Wait for five minutes.
To modify this hostname:
- Start ADSI Edit by navigating to Start > All Programs > Administrative Tools > ADSI Edit.
- Right-click ADSI Edit and click Connect To.
- Under Connection Point, select Select or Type a Distinguished Name or Naming Context.
- Enter dc=virtualcenter,dc=vmware,dc=int.
- Under Computer, select Select or type a domain or server.
- Enter the name of vCenter Server.
- Click OK.
- Expand Default Naming Context section.
- Expand DC=virtualcenter,DC=vmware,DC=int.
- Expand OU=Health.
- Expand OU=ComponentSpecs.
- Expand OU=Some_GUID.
- Right click one of the CN=Some_GUID and click properties.
- Scroll down and locate the attribute vmw-vc-URL.
- Determine if the value for this attribute has the wrong hostname.
Note: If the attribute contains the wrong hostname, double-click the attribute and update it with the correct hostname. If it has the correct hostname, choose a different CN=Some_GUID and repeat Steps 11 to 13.
- Click OK to save your changes.
- Click Start > Run, type services.msc, and click OK. The Windows services opens.
- Restart the vCenter Inventory service.
- Restart the VMware VirtualCenter Management Webservices service.
- Verify if the vCenter Service Status screen shows green for the inventory service.