6.0

Table Of Contents
Prerequisites
n
If CPU hot add is not enabled, power off the virtual machine before adding CPUs.
n
If CPU hot remove is not enabled, power off the virtual machine before removing CPUs.
n
To hot add multicore CPUs, verify that the virtual machine has hardware version 8.
n
Required privilege: Virtual Machine.Configuration.Change CPU Count on the virtual machine
Procedure
1 In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
2 Click the Hardware tab and select CPUs.
3 Select a value from the Number of virtual sockets drop-down menu.
4 Select a value from the Number of cores per socket drop-down menu.
The resulting total number of cores is a number equal to or less than the number of logical CPUs on the
host.
5 Click OK to save your changes.
Example: Adding Multicore CPU Resources to a Virtual Machine
You might have the following existing CPU resources, which you configured for the virtual machine while
you were creating it, or after you created it and it was in a powered off state.
CPU Resource Settings Existing Value
Number of virtual sockets 2
Number of cores per socket 2
Total number of cores 4
With CPU hot plug enabled and the virtual machine running, you can select the number of sockets to add
from the Number of virtual sockets drop-down menu. The Number of cores per socket drop-down menu
is unavailable and retains a value of 2. If you select 3 virtual sockets, you are adding 1 socket with 2 cores so
that the virtual machine has 6 virtual CPUs.
CPU Resource Settings Existing Value Hot-plug value
Number of virtual sockets 2 3
Number of cores per socket 2 2
Total Number of cores 4 6
Chapter 15 Configuring Virtual Machines in the vSphere Client
VMware, Inc. 145