You must configure View to recognize the vCenter Lookup Service. You perform this configuration task once for all View Connection Server instances in a replicated group.

Verify that your vCenter Server and View environments are prepared for the registration. See View Desktops Registration Prerequisites.

1

On the View Connection Server computer, navigate to the regtool.cmd utility, located in the following directory:

install_directory\VMware\VMware View\Server\TechPreview\ViewAdminPlugin

2

(Optional) Set the JAVA_HOME environment variable to the jre folder.

For example: set JAVA_HOME=c:\Program Files\VMware\VMware View\Server\jre

3

Configure the vCenter Lookup Service.

For example: regtool.cmd configureLookupService -u view-admin@domain -ld https://lookup-server:7444/lookupservice/sdk

view-admin@domain is the username and domain of a user with the View Administrators role.

lookup-server@domain is the host name or IP address and domain of the computer on which the vCenter Lookup Service is installed.

4

If the SSL certificate that is issued for the vCenter Lookup Service is not trusted by the View Connection Server computer, accept the certificate thumbprint.

The following error message is displayed:

Error: The security certificate presented by this Lookup Service was not 
issued by a trusted certificate authority. The thumbprint of the certificate is 
thumbprint.
Return code: -1

Accept the thumbprint by using the -lt option and copying the thumbprint. You can copy the thumbprint that is displayed in the error message and paste it into the command line.

For example: regtool.cmd configureLookupService -u view-admin@domain -ld https://lookup-server:7444/lookupservice/sdk -lt thumbprint

The thumbprint might look like this: 31:2A:32:50:1A:0B:34:B1:65:46:13:A8:0A:5E:F7:43:6E:A9:2C:3E

5

At the prompt, type the View Administrators user password.

A return code of 0 indicates that the configuration was successful.

Note

When you type the password, the following warning message might appear. You can ignore this message:

log4j: WARN No appenders could be found for logger 
<com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl>.
log4j: WARN Please initialize the log4j system properly.

Register the View Desktops plug-in.