Skip to main content

VMware: Deploy VM from Template

Description

VMware: Deploy VM from Template plugin step deploys (creates) VM from a template available on the specified vCenter server.

Configurations

No.Field NameDescription
1Step NameName of the step. This name has to be unique in a single workflow.
Configuration:
1vCenter Server Base URLSpecify the vCenter Server Base URL to connect to vCenter. (e.g.: https://vmware.example.com)
Note: If vCenter IP is given instead of vCenter server name, it throws certificate error if the vCenter IP entry is not present in the Subject Alternative Name field of the certificate, because the certificate mostly contains entry of vCenter server in FQDN (Fully Qualified Domain Name) format.
2PortSpecify the vCenter server port. (Default port is 443).
This field should be an integer and value should be less than 65536.
3UsernameSpecify a Username to authenticate vCenter server.
Password:The password to authenticate vCenter server.
4Accept value as variable/staticLeave checkbox unchecked to accept Password value from a field in the previous steps of the stream using a drop down list.
Else enable checkbox for Password field to appear as Text box.
5PasswordSpecify the password. Password is entered using a widget. The widget handles both Text (static value or environment variable) and Combo (drop down containing values from previous steps). This field is mandatory.

If checkbox above is enabled Password field appears as Text box and accepts static or variable values. Else if checkbox above is disabled Password field appears as a drop down to select fields from previous steps. Please Note: that Field values can only be accessed when workflow is in running state.
6Button: Test ConnectionVerifies whether the connection is available or not.
For the purpose of verification fields coming from previous steps are not allowed since field values can only be accessed when workflow is in running state. Static values and environment variables are allowed.

Input Tab:

No.Field NameDescription
1Template NameName of an existing template to be used to create a new VM.
‘Template Name’ must be unique.
The data type is String. This field is mandatory.

Note:
• If two or more templates with the same name appear in the vCenter Server inventory, then at the run time, the correct template object may not be used among duplicate template names.
To resolve this issue, rename the duplicate template to a unique name for each entity
• If Template name contains ‘%’ special character then to execute the plugin step, provide Template name by replacing ‘%’ character with ‘%25’
2Button: GetOn click of this button, if the connection is successfully established it populates the list of Templates Names on the vCenter server.
3New Virtual Machine NameName to be given to new virtual machine to be created.
Name of a new virtual machine to be created.
The data type is String. This field is mandatory.
4Target Location TypeTarget location type to create a new VM. Allowed values: 'Datacenter', 'VM Folder'.
The data type is String. This field is mandatory.
5Target Location Name/IDTarget location name to create a new VM.
The data type is String. This field is mandatory.
Refer GetTargetIDGet Target ID in VMWare Plugin introduction for the steps to fetch Target ID.
6Button: GetOn click of this button, if the connection is successfully established it populates the list of target locations based upon the specified target location type.
7Compute Resource TypeCompute resource type to create a new VM. Allowed values: 'Cluster', 'Host’, ‘vApp', ‘ResourcePool’.
The data type is String. This field is mandatory.
8Compute Resource Name/IDCompute resource name to create a new VM.
The data type is String. This field is mandatory.

Note:s:
Refer Get Compute Resource ID in VMWare Plugin introduction for the steps to fetch Target ID.
9Button: GetOn click of this button, if the connection is successfully established it populates the list of computing resource names based upon the specified compute resource type.
10Datastore NameDatastore name to create a new VM.
The data type is String. This field is mandatory.
11Button: GetOn click of this button, if the connection is successfully established it populates the list of datastore names on the vCenter server.
12Power On Virtual Machine After CreationAllowed values: ‘Yes’ or ‘No’.
If “Yes” then VM will be powered-on after creation. If given “No” then VM power status is off after creation.

The data type is String. This field is mandatory.

Common Buttons:

No.Field NameDescription
1OKClick this button to check and save the field values. If any required field values are missing then it will display a validation error message else if all the required field values are provided then it will save the field values.
2CancelClick this button, to cancel the window and does not save any values.