Register the vSphere Client Remote Plug-in Sample
Before you can view the remote plug-in sample in the vSphere Client, you must register it with a vCenter Server instance to which you want to connect. The vSphere Client SDK contains a vCenter Server plug-in registration tool that registers a plug-in with a vCenter Server ExtensionManager.
You have installed the SDK and you are ready to run the remote plug-in sample.
Prerequisites
Before you register the remote plug-in sample, you must do the following:
-
Build the remote plug-in sample.
-
If needed, start vCenter Server.
-
If needed, change permissions on the plug-in registration tool to allow execute access.
In addition, you need to know the following parameters:
-
The host name or IP address of the machine where you are running the sample plug-in server. This address must be accessible to the vCenter Server instance so that it can download the plug-in manifest file.
-
The port number where the plug-in server receives HTTPS requests. The sample serves port 8443 by default. The port must be open on the firewall of your development machine and accessible to the vCenter Server.
-
The host name or IP address of the vCenter Server where you want to register the remote plug-in sample.
-
The username and password of a vSphere user that has permission to access the ExtensionManager on the vCenter Server where you want to register the remote plug-in sample. For example,
[email protected]
normally has the necessaryExtension.Register
permission. -
The SHA-256 thumbprint of the plug-in server, so that vCenter Server can retrieve the plug-in manifest file. A SHA-1 thumbprint is also supported, but SHA-1 is deprecated in favor of SHA-256.
Note:The thumbprint must contain colon separators, unlike the thumbprint format used when starting the plug-in server. vCenter Server accepts only thumbprints that have a colon between each pair of characters.
-
The version number of the remote plug-in sample.
-
The key of the remote plug-in sample, defined in the plug-in manifest. By default, this is
plugin.name
. -
The path from the plug-in web server root to the plug-in manifest file. By default, this is
/sample-ui/plugin.json
.
For more information about the registration tool, see vSphere Client Plug-in Registration Tool.
Procedure
Results
What to do next
In a web browser, connect to the vCenter Server URL and verify that the remote plug-in displays a Global View.