Use vSphere Hot-Add to adjust CPU and RAM

For those who often have to use and work in virtual environments, the shortage of hardware resources occurs quite a lot. However, if they want to fix this problem, how will they do it? Pause the program, upgrade the system ... In the following article, we will guide you some basic tasks to limit.

TipsMake.com - For those who often have to use and work in a virtual environment, the lack of hardware resources happens quite a lot. However, if they want to fix this problem, how will they do it? Pause the program, upgrade the system . In the following article, we will guide you through a few basic steps to limit the problem with the Hot-Add feature of Vmware vSphere.

Basically, this Hot-Add feature allows managers to improve the performance of the system by increasing RAM capacity without affecting the operation of the virtual machine. Likewise, Hot-Plug , but the object here is CPU , not RAM . In some special cases, Hot-Add and Hot-Plug can be used interchangeably.

Some points to note:

In most cases, there are very few types of hardware that can be applied in this 'hot' way, especially while the virtual machine system is operating. Another point to note is that the operating system and the program must be 'identified' by the hardware device that they want to add.

The following is a case where a virtual machine system has not been enabled with Hot-Add or Hot-Plug features .

To refer to the hardware properties of the virtual machine, open the vSphere client program, select the virtual machine (in this test is vMA ), click Edit Settings in the Summary tab, and when the Virtual Machine Properties window displays , open the Hardware tab:

Picture 1 of Use vSphere Hot-Add to adjust CPU and RAM

Click Memory and check if the Memory Configuration section is as blurred as the image below.

Picture 2 of Use vSphere Hot-Add to adjust CPU and RAM

Assume that the VM - Virtual Machine system is still active when performing this process

If it is blurry, it means that we cannot change the RAM capacity. Next, select the CPUs section to check the processor information:

Picture 3 of Use vSphere Hot-Add to adjust CPU and RAM

Try clicking the Add button - with the main function of assigning additional hardware devices to the virtual machine, here we will see there are many devices with text next to unavailable , but only Hard Disk and SCSI Device:

Picture 4 of Use vSphere Hot-Add to adjust CPU and RAM

About vSphere Hot-Add and Hot-Plug:

Before we continue, let's talk about some of the drawbacks of using vSphere Hot-Add and Hot-Plug.

While vSphere supports Hot-Add and thus allows users to easily assign more RAM , but does not support the reduction of RAM . And more importantly, these features must be supported by the operating system, not just depending on vSphere .

Below is a list of some versions of Windows Server operating systems that support the feature:

Picture 5 of Use vSphere Hot-Add to adjust CPU and RAM

Besides, some other operating systems support the ability to increase CPU capacity without having to reboot:

Windows 7 Enterprise and Ultimate 64-bit

Windows Server 2008 64-bit Datacenter

Both Hot-Add and Hot-Plug features are not enabled by default, and if you want to use them, you must turn off the virtual machine first. This is quite complicated, because when you realize that the system is sluggish, that's when everything works. The last point to note is that Hot-Add and Hot-Plug are not compatible with VMware Fault Tolerance, so if your system is using VMware FT on a virtual machine, Hot-Add or Hot-Plug is not enabled.

Enable Hot-Add and Hot-Plug:

To do this, open the vSphere Client program and turn off the virtual machine you want to apply, make sure that the operating system supports Hot-Plug and Hot-Add features before continuing. After you have turned off the virtual machine, select Edit Settings in the Summary tab:

Picture 6 of Use vSphere Hot-Add to adjust CPU and RAM

In the Virtual Machine Properties window , open the Options tab and select Memory / CPU Hotplug . Next is Memory Hot Add and select Enable memory . Similarly to the CPU , open the Hot Plug CPU controller and select Enable CPU . Then click OK :

Picture 7 of Use vSphere Hot-Add to adjust CPU and RAM

At this point, you can turn on the virtual machine. Next, check the hardware configuration and compare it with before using Hot-Add and Hot-Plug. Log in to the internal operating system and open My Computer Properties :

Picture 8 of Use vSphere Hot-Add to adjust CPU and RAM

And see hardware information: RAM and CPU . In this test our is 1GB of RAM:

Picture 9 of Use vSphere Hot-Add to adjust CPU and RAM

In the left pane, select Device Manager> Processors:

Picture 10 of Use vSphere Hot-Add to adjust CPU and RAM

Increasing more RAM and CPU into active virtual machine:

Next, go back to the vSphere Client program, select the Summary> Edit Settings tab as before. Go to the Properties window of the virtual machine, select the Hardware and Memory tab. And in this time, the Memory Configuration item can be used:

Picture 11 of Use vSphere Hot-Add to adjust CPU and RAM

We were able to do this while the virtual machine was working

After increasing the RAM capacity (for example, from 1GB to 3GB), do the same with the CPU :

Picture 12 of Use vSphere Hot-Add to adjust CPU and RAM

Change from 1 CPU to 3 CPU

Click OK to apply the changes. If you want to check the results of this process, open the Summary tab:

Picture 13 of Use vSphere Hot-Add to adjust CPU and RAM

If you want to check it further, log in to the operating system inside the virtual machine and open My Computer Properties :

Picture 14 of Use vSphere Hot-Add to adjust CPU and RAM

CPU

Picture 15 of Use vSphere Hot-Add to adjust CPU and RAM

RAM

>>> Video reference:

Good luck!

Update 26 May 2019
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile