The remote plug-in sample has an embedded Spring Boot application server. You can start the server by using a Java command with arguments that configure the server to communicate with a vCenter Server instance. This is the vCenter Server instance with which you will register the plug-in.
Prerequisites
- Before you can run the remote plug-in sample, you must have built the SDK sample code.
- Before you run the remote plug-in sample, choose the vCenter Server where you will register the plug-in.
- Collect the following information about the vCenter Server instance:
- Fully qualified domain name
- Port number for Web Services API access
- Certificate thumbprint
Procedure
Results
The plug-in application server runs. It might take a few minutes to initialize, and the console displays a number of output lines. When the server is ready, the console displays two lines saying Tomcat
started
and Started
SpringbootApplication
.
Example:
2021-02-25 04:36:49.442 INFO 76 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8443 (https) with context path '/sample-ui' 2021-02-25 04:36:49.442 INFO 76 --- [ main] c.v.sample.remote.SpringBootApplication : Started SpringBootApplication in 34.752 seconds (JVM running for 36.127)
What to do next
If you have not yet registered the plug-in with a vCenter Server, find the plug-in server thumbprint and use it to register the plug-in. Registration enables the plug-in to render global views and object-specific views for objects managed by the vCenter Server instance.