5.9.29 Pre-evaluation of resource changes in virtual server
Function
Pre-checks the CPU and memory settings for the virtual server that is managed by VMware vCenter Server.
This component requires the following servers:
- vCenter server
This is the server on which VMware vCenter Server is installed.
- vCenter control server (Execution target server)
This is the server on which VMware vSphere PowerCLI is installed. JP1/AO transfers the component to this server and executes it.
- Virtual server
This is the virtual server that is managed by the vCenter server and VMware vSphere ESXi (or VMware ESX Server).
Use situation
Decide the following based on the property specified in the service template:
- Whether to change the CPU, memory, or disk configuration
Prerequisites
For the latest support information about [Required product in the System]/[Required products on the execution target server]/[Prerequisite product OS running in the execution target server], see the release notes
[Required product in the System]
Job Management Partner 1/Automatic Operation 10-50 or later
[Required products on the execution target system]
(1) Prerequisite product of vCenter Server
• VMware vCenter Server 5.5,5.1,5.0,4.1,4.0
(2) VMware vSphere ESXi (or VMware ESX Server) that manages the virtual servers
• VMware vSphere ESXi 5.5,5.1,5.0 or VMware ESX Server 4.1,4.0
(3) Prerequisite OS running in the virtual servers
The following OSs are supported, based on the required products for the vCenter server and the required products for the VMware vSphere ESXi (or VMware ESX Server)/vCenter control server that manages the virtual server.
• Windows Server 2003,Standard Edition/Enterprise Edition (x86/x64) SP1 or later,Windows Server 2003 R2,Standard Edition/Enterprise Edition (x86/x64)
• Windows Server 2008 Standard/Enterprise (x86/x64),Windows Server 2008 R2 Standard/Enterprise/Datacenter
• Windows Server 2012 Standard/Datacenter,Windows Server 2012 R2 Standard/Datacenter
• Red Hat Enterprise Linux 5 Advanced Platform (x86),Red Hat Enterprise Linux 5 (x86),Red Hat Enterprise Linux 5 Advanced Platform (AMD/Intel 64),Red Hat Enterprise Linux 5 (AMD/Intel 64)
• Red Hat Enterprise Linux Server 6 (32-bit x86),Red Hat Enterprise Linux Server 6 (64-bit x86_64)
[Usage conditions for required products in the execution target system]
(1) VMware vSphere ESXi (or VMware ESX Server) must be managed by VMware vCenter Server.
(2) Virtual server requirements
- Duplicate virtual server names must not be managed under the same vCenter.
- The virtual server is stopped.
- VMware Tools must be installed to the virtual server.
[Required products on the execution target server]
• VMware vSphere PowerCLI 5.5 Release1,5.1 Release2,5.0
[Prerequisite product OS running in the execution target server]
• Windows Server 2008 R2 Standard/Enterprise/Datacenter
• Windows Server 2012 Standard/Datacenter
Execution privilege
(1) The following privilege is required for users connected to VMware vCenter Server.
System administrator role
Version
01.12.00
Category
VirtualMachine/vSphere
Plug-in name displayed in the task log
vsphereCheckResource
Return code
0: Normal
12: Error (Mistake by user) Invalid property
23: Error (Environmental error) Required environment is invalid
27: Error (Check with the task log about the error detail)
41: Error (An error has been detected in the component) Property not entered (An error has been detected in the component script)
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.cpuNum |
Number of CPUs |
Specify the number of CPUs to assign to the virtual server. Note that CPUs means virtual processors in same or earlier version than 4.1, and virtual sockets in version 5.0 of VMware vCenter Server. You must specify either CPUs or memory size property. |
-- |
Input |
O |
VMware.memoryMB |
Memory size |
Specify the amount of memory (in MB) to assign to the virtual server. You must specify either CPUs or memory size property. |
-- |
Input |
O |
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 |
common.returnValue |
Return value for the plugin |
The return value of this plugin stored. |
-- |
Output |
O |
VMware.checkResourceResult |
Pre-evaluation results for resource changes for the virtual server |
Determine whether it is necessary to change the resources for the virtual server. Store TRUE if they will be changed, or store FALSE if they will not be changed. |
-- |
Output |
O |