5.5.35 Creating a virtual server snapshot
Function
Creates a snapshot of a virtual server in the VMware vSphere environment.
This component assumes the following servers as prerequisites:
- vCenter server
Server where VMware vCenter Server is installed
- vCenter control server (Execution target server)
Server where VMware vSphere PowerCLI is installed. JP1/AO transfers the component to the server for execution.
- Virtual server
Virtual server managed by vCenter server or VMware vSphere ESXi
Use situation
Before changing the status or data of a virtual server, this component can be used to create a snapshot of the pre-change virtual server.
Prerequisites
For the latest support information about [Required products on the execution target system]/[Required products on the execution target server]/[Prerequisite product OS running in the execution target server], see the release notes.
In addition, the following OS and products use abbreviations. For the abbreviations of OS and products, see the "Preface".
[Required products on the execution target system]
(1) Prerequisite product for the vCenter server
- VMware vCenter Server
(2) VMware vSphere ESXi managing the virtual server
(3) Prerequisite OS for the virtual server
The following OSs are supported, based on the required products for the vCenter server and the required products for the VMware vSphere ESXi/vCenter control server that manages the virtual server.
- Windows Server
- Red Hat Enterprise Linux Server
[Usage conditions for required products in the execution target system]
(1) The VMware vSphere ESXi is managed by VMware vCenter Server.
(2) Conditions for the virtual server:
- There is no duplicate virtual server name in the same vCenter instance.
- VMware Tools is installed in the virtual server.
- There is no duplicate snapshot name in the same virtual server.
- The target virtual server is powered OFF.
[Required products on the execution target server]
- VMware PowerCLI
[Prerequisite product OS running in the execution target server]
- Windows Server
Cautions
(1) Do not use this component for the purpose to back up a virtual server.
(2) Do not target any virtual servers where a raw disk, an RDM physical mode disk, or an independent disk is set.
Execution privilege
(1) The user connecting to VMware vCenter Server must have the following permissions:
System administrator role permissions
Version
02.11.00
Plug-in tags
Snapshot VM,VMware vSphere
Plug-in name displayed in the task log
vsphereCreateSnapshot
Return code
0: Normal
23: Abnormal (Environment error) Invalid prerequisite environment
27: Abnormal (See the task log for error contents.)
41: Abnormal (Error detected inside the component) - A property is not specified. (The component script has detected an error.)
Property list
The following table lists the properties:
Property key |
Property name |
Description |
Default value |
I/O type |
Required |
---|---|---|---|---|---|
VMware.vCenterServerName |
Host name of the vCenter server |
Specify the host name or IP address of the destination vCenter server. IPv6 addresses are not supported. |
-- |
Input |
R |
VMware.userName |
User name for connecting to the VMware vCenter Server |
Specify the user name for connecting to the VMware vCenter Server. |
-- |
Input |
R |
VMware.password |
Password for connecting to the VMware vCenter Server |
Specify the password for connecting to the VMware vCenter Server. |
-- |
Input |
R |
VMware.portNumber |
Port number for connecting to the VMware vCenter server |
Specify the number of the port for connecting to VMware vCenter Server (for the VMware vCenter Server Web service). |
443 |
Input |
O |
VMware.protocol |
Protocol for connecting to the VMware vCenter server |
Specify either HTTP or HTTPS as the protocol for connecting to VMware vCenter Server. |
https |
Input |
R |
VMware.vmName |
Virtual server name |
Specify the name of the virtual server. (This is the virtual server name in VMware vCenter Server. Do not specify a host name.) |
-- |
Input |
R |
VMware.snapshotName |
Snapshot name |
Specify the name of the snapshot. |
temp_snapshot_01 |
Input |
R |
plugin.destinationHost |
Host name of the execution target server |
Specify the host name or IP address of the server on which this plugin will be executed. IPv6 addresses are not supported. |
-- |
Input |
R |
VMware.returnSnapshotId |
Snapshot ID |
Stores the snapshot ID of the snapshot used by this component. |
-- |
Output |
O |
common.returnValue |
Return value for the plugin |
The return value of this plugin stored. |
-- |
Output |
O |