Server requirements
To use this service template, the following servers are required:
• vCenter server -- This is a server on which VMware vCenter Server is installed.
• vCenter control server -- This is a server on which VMware vSphere PowerCLI is installed.
• Virtual server -- This is a virtual server managed by the vCenter server and VMware vSphere ESX.
Usage guidelines
• If the virtual disk to delete contains data that you need, make a backup before deleting it.
• The virtual disk is also deleted from the data store.
• Do not run multiple instances of this service on the same virtual server.
• If you specify HTML tags in
UserResponseplugin.dialogText
, the permitted tags and attributes
are the same as those for the User-response wait plug-in.
Delete Virtual Machine: Service details
The general steps for using this service template to delete a virtual machine are as follows:
1.
The power status of a virtual server is obtained.
2.
Verifies that the power status is off.
a.
If the power status is not off, the service template uses the
User-Response Wait
Plug-in to
check whether to turn off the power.
b.
A user with the Modify permission can specify an email destination, email message contents,
timeout value, and information to show in the window by the User-Response Wait Plug-in.
c.
If the user selects
Shutdown
in the UI of the user-response wait plug-in, the service template shuts
down the virtual server.
d.
If the user selects
Cancel
or if a response timeout occurs, the service terminates abnormally
without running the operation on the virtual server.
When the virtual server is being terminated, the service template waits for the time (in seconds)
specified in the
VMware.checkPowerStateInterval
property and verifies that the power is off,
which it does up to the number of times specified in the
vmware.checkPowerStateCount
property.
If the default values are not suitable, specify values that suit your environment. If there are multiple
virtual servers, a virtual disk is added to each virtual server that satisfies the specified conditions. This
processing is performed in parallel.
3.
Deletes the server.
A maximum of 60 characters can be specified in the virtual server name property
vmware.vmName
.
Service Definition Properties
The following table lists the properties visible in the
Service Definition
window for the Delete Virtual
Machine service template.
250
Delete Virtual Machine: Service details