Hitachi

JP1 Version 12 JP1/Automatic Operation Service Template Reference


5.11.39 Pre-eval. of resource configuration changes in virtual server

Function

Pre-checks the change of the CPU, memory, or disk I/O resource configurations 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

- The validity of the value specified in the property

Prerequisites

For the latest support information about [Required product in the System]/[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

[Required product in the System]

JP1/Automatic Operation 11-10 or later

[Required products on the execution target system]

(1) Prerequisite product of vCenter Server

• VMware vCenter Server 7.0, 6.7, 6.5, 6.0, 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 7.0, 6.7, 6.5, 6.0, 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 2008 R2 Standard/Enterprise/Datacenter

• Windows Server 2012 Standard/Datacenter, Windows Server 2012 R2 Standard/Datacenter

• Windows Server 2016 Standard/Datacenter

• Windows Server 2019 Standard/Datacenter

• Red Hat Enterprise Linux Server 6 (32-bit x86), Red Hat Enterprise Linux Server 6 (64-bit x86_64)

• Red Hat Enterprise Linux Server 7 (64-bit x86_64)

• Red Hat Enterprise Linux Server 8 (64-bit x86_64)

• CentOS 6 (64-bit x86_64)

• CentOS 7 (64-bit x86_64)

• CentOS 8 (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 must be stopped.

- VMware Tools must be installed to the virtual server.

[Required products on the execution target server]

• VMware vSphere PowerCLI 6.3 Release1, 6.0 Release3, 6.0 Release1, 5.8 Release1, 5.5 Release2, 5.5 Release1, 5.1 Release2, 5.0

• VMware PowerCLI 6.5 Release1

• VMware PowerCLI 6.5.1, 6.5.4

• VMware PowerCLI 10.1.0, 10.1.1, 11.3.0, 12.0.0, 12.1.0

[Prerequisite product OS running in the execution target server]

• Windows Server 2008 R2 Standard/Enterprise/Datacenter

• Windows Server 2012 Standard/Datacenter, Windows Server 2012 R2 Standard/Datacenter

• Windows Server 2016 Standard/Datacenter

• Windows Server 2019 Standard/Datacenter

Cautions

(1) When multiple virtual disks are specified for the VMware.vHardDiskName property, if the processing that changes the disk share level fails for one or more virtual disks, the task terminates abnormally.

Execution privilege

(1) The following privilege is required for users connected to VMware vCenter Server.

System administrator role

Version

02.11.00

Plug-in tags

Gather VM information,VMware vSphere

Plug-in name displayed in the task log

vsphereCheckResourceConfig

Return code

0: Normal

12: Error (Mistake by user) Invalid property

23: Error (Environmental error) Invalid pre-conditioned environment

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.cpuSharesLevel

CPU share level

Specifies the relative priority of CPU resources between virtual servers that have the same parent.

--

Input

O

VMware.cpuReservationMHz

CPU reservation (MHz)

Specifies in MHz the CPU resources that are reserved by the virtual server.

--

Input

O

VMware.cpuLimitMHz

CPU limit (MHz)

Specifies in MHz the upper limit value of CPU resources that are used by the virtual server. If a value less than 100 MHz is specified, execution of the task is abnormally terminated. However, specifying -1 removes this limit.

--

Input

O

VMware.memSharesLevel

Memory share level

Specifies the relative priority of memory resources between virtual servers that have the same parent.

--

Input

O

VMware.memReservationMB

Memory reservation (MB)

Specifies in MB the memory resources that are reserved by the virtual server.

--

Input

O

VMware.memLimitMB

Memory limit (MB)

Specifies in MB the upper limit value of memory resources that are used by the virtual server. If a value less than 100 MB is specified, execution of the task is abnormally terminated. However, specifying -1 removes this limit.

--

Input

O

VMware.diskSharesLevel

Disk share level

Specifies the relative priority of virtual servers for storage I/O resources.

--

Input

O

VMware.vHardDiskName

Virtual hard disk name

Specifies virtual disk where shares level is changed. Virtual disk is display name in VMware vCenter Server. To specify multiple virtual disks, specify by separating with a comma.

--

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.checkResourceConfigResult

Pre-evaluation results for resource configuration changes for the virtual server

Determine whether it is necessary to change the resource configuration for the virtual server. Store TRUE if it will be changed, or store FALSE if it will not be changed.

--

Output

O