Skip to main content

IMPORTANT - Product End of Life Statement - IMPORTANT

Request RE, Survey, and Calendar 1.5 Support Ending December 31, 2020
Contact Kinetic Data Support with Questions
Kinetic Community

VMWare VSphere Virtual Machine Update CPU

Updates the number of CPUs for a Virtual Machine.


By downloading this file, you acknowledge that you agree to our Terms of Service

Detailed Description

cpu_num_vmware.pngThis handler is designed to update a virtual machine on a VMWare VSphere server that matches the name supplied as a parameter. It logs in to the VSphere server using the server's administrative URL, user ID and password that are set as info_value records for the task.  Once logged in, the virtual machine that will be updated is verified to make sure that the machine exists. Then a reconfigure command will be sent to vSphere to update the number of CPUs for the specified VM. Once the signal is sent, the handler waits long enough to catch immediate errors, returns the task id and then exits.

This handler uses the VMWare VI (vSphere) Java API (see for more information).  The api is deployed as a Java archive file (jar) and is stored in this handler's vendor directory.  If the vijava jar file is stored somewhere else on the classpath, the jar file stored in this handler's vendor directory is not used.  It is recommended that there are no vijava jar files stored anywhere on the classpath, and that all VMWare VSphere handlers contain the same vijava jar file in their vendor directory.


Name Description
VM Name The name of the VM that you want to update.
Number of CPUs The number of CPUs to be allocated to the VM.

Sample Configuration

Parameter Example Configuration
VM Name Test Task VM
Number of CPUs 2


Name Description
Task Id Returns the task id of the task so that the status can be easily checked later on.

Change Log

Version Date Description
1 2014-06-17 Initial Version