• 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
• Do not run this service for multiple instances of the same virtual server at the same time.
• Do not target any virtual servers on which a raw, RDM physical mode or independent disk is set.
• HTML tags can be specified in the additional information property
UserResponseplugin.dialogText
in the window for entering a response. The property accepts
the same tags and attributes as those available in the User-Response Wait Plug-in.
• If an error occurs while running this service, confirm the snapshot name from the task log and check
whether the snapshot is present. If the snapshot remains, commit or discard the snapshot. Do not
leave a snapshot created by this service for an extended period time. Before starting the server, apply
or discard the snapshot and delete it; not doing so can cause unnecessary data storage capacity use.
Add Virtual Disk to Virtual Machine: Service details
The general steps for using this service template to add a virtual disk to 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 be visible 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.
3.
Adds a virtual disk to the virtual server.
If there are multiple virtual servers, the service template adds to each virtual server a virtual disk that
satisfies the specified conditions. This processing is performed in parallel.
Service Definition Properties
The following table lists the properties visible in the
Service Definition
window for the Add Virtual Disk to
Virtual Machine service template.
Add Virtual Disk to Virtual Machine: Service details
241