Once you have created your VM, its resources are not permanently set. They can be reallocated to make your infrastructure more agile with some restrictions. In this article, we will show you how to scale your VMs in the vSphere Web Client.
Topics
- First Steps
- The Processor (CPU)
- Memory (RAM)
- The Hard Disk
- The Network Adapter
- The CD/DVD Drive
- Adding a Device
First Steps
All the modifications described below must be made from the vSphere Web Client by right-clicking on a VM and choosing Edit Settings... from the drop-down menu.
In this menu, you can increase your VM's resources.
For more information on adding a device, please refer to the Adding a Device section below.
The Processor (CPU)
The number of CPUs available to you will be limited to the number of slots available on the host. If your VM migrates to a host with fewer processors than those allocated to your machine, the "CPU ready" status of the VM will rise, which will result in performance loss.
You can also set a specific frequency (minimum and maximum) and choose the number of cores per socket. If you check the Enable CPU Hot Add box, you can modify these values while the VM is running. Depending on the OS you are using, hot adding may not work and could cause a malfunction on the host.
You can also assign a minimum number of MHz to your VM. The limit, which is unlimited by default, allows you to restrict your VM's processor to a specific value in MHz. You can, for example, limit a developer VM.
Memory (RAM)
As with the CPU, the RAM capacity is limited to the host's resources.
You can assign RAM so that your VM always has a minimum amount of RAM reserved.
The Hard Disk
You can increase the hard disk size according to the space left in the datastore used by the VM.
Once you have created your VM, its resources are not permanently set. They can be reallocated to make your infrastructure more agile with some restrictions. In this article, we will show you how to scale your VMs on Hosted Private Cloud.
The Network Adapter
You can modify your VM's network adapter, the connection to the adapter when starting up the VM, and the adapter type. You can also verify the port ID and your MAC address.
This interface is useful in the event of a network malfunction. You can verify that the port ID corresponds to the ID listed in the Networking and Ports tabs for that adapter.
The CD/DVD Drive
A virtual CD/DVD drive allows you to mount ISO images on your VM.
We recommend that you delete the CD/DVD drive after using it as it could prevent the VM from being migrated in the future.
Adding a Device
At the bottom of this window, you can add additional devices.
You can add network adapters or disks from another datastore if you need to use several private networks.
Conclusion
Having read this article, you should be able to modify VM resources on vSphere.