Information Technology Reference
In-Depth Information
To enable hot-add of virtual CPUs or RAM, perform these steps:
1. Launch the vSphere Web Client if it is not already running, and connect to a vCenter
Server instance or use the vSphere Client to connect to an individual ESXi host.
2. Navigate to either the Hosts And Clusters or VMs And Templates inventory view.
3. If the VM for which you want to enable hot-add is currently running, right-click the VM
and select All vCenter Actions
Power
Shut Down Guest. The VM must be shut down
in order to enable hot-add functionality.
Remember the Difference between Powering Off and Shutting Down
the Guest
Recall from earlier in this chapter that the context menu of a VM contains two items that appear
to perform the same function.
h e Power
Power Off command does exactly that: It powers off the VM. It's like pulling out the
power cord unexpectedly. h e guest OS has no time to prepare for a shutdown.
h e Power
Shut Down Guest OS command issues a shutdown command to the guest OS so that
the guest OS can shut down in an orderly fashion. h is command requires that VMware Tools be
already installed, and it ensures that the guest OS won't be corrupted or damaged by an unexpected
shutdown.
In day-to-day operation, use the Shut Down Guest OS option. h e Power Off option should be used
only when it is absolutely necessary.
4. Right-click the VM and select Edit Settings.
5. In the Virtual Hardware tab, select CPU to expand the available options. Select the Enable
CPU Hot Add check box in the CPU Hot Plug option.
6. To enable memory hot-add, select Memory to expand the available options. Select the
Enable check box in the Memory Hot Plug option to enable hot-plug memory.
7. Click OK to save the changes to the VM.
Once this setting has been coni gured, you can add RAM or virtual CPUs to the VM when
it is powered on. Figure 9.26 shows a powered-on VM that has memory hot-add enabled.
Figure 9.27 shows a powered-on VM that has CPU hot-plug enabled; you can change the number
of virtual CPU sockets, but you can't change the number of cores per virtual CPU socket.
Aside from the changes described so far, coni guration changes to a VM can take place only
when the VM is in a powered-off state. When a VM is powered off, all the various coni guration
options are available to change: RAM, virtual CPUs, or adding or removing other hardware
components such as CD/DVD drives or l oppy drives.
Search WWH ::




Custom Search