title | excerpt | updated |
---|---|---|
Modifying virtual machine resources |
Find out how to scale your virtual machine |
2020-11-18 |
Once you have created your virtual machine (VM), its resources are not permanently set. They can be reallocated to make your infrastructure more agile, with some restrictions.
This guide will explain how to scale your virtual machine.
- a virtual machine, created on a Managed Bare Metal infrastructure
- a user account with access to vSphere (created in the OVHcloud Control Panel)
All the modifications described below must be made from your Managed Bare Metal on vSphere by right-clicking on a VM, then on Edit Settings
{.action}.
In this menu, you can increase your virtual machine’s resources.
For more information on the option to add devices, please refer to the section below.
The number of CPUs will be limited to the slots available on the host.
If your virtual machine 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 tick the Enable CPU Hot Add
{.action} box, you can modify these values while the virtual machine is running.
Depending on the operating system you are using, hot adding may not work, and could cause a malfunction on the host.
You can assign a minimum number of MHz to your virtual machine.
The limit, which is unlimited by default, allows you to restrict your virtual machine’s processor to a value in MHz. You can, for example, limit a developer virtual machine.
As with the CPU, the RAM capacity is limited to the host’s resources.
You can assign RAM so that your virtual machine always has a minimum amount of RAM reserved.
You can increase the hard disk size according to the space left in the datastore used by the virtual machine.
We recommend that you use SCSI disk controllers rather than IDE ones, as you cannot, for example, perform backups via Veeam with IDE controllers.
You can also select the disk mode:
-
Dependent
: includes the disk during snapshots -
Independent - persistent
: allows you to store data when you reboot a machine, but this is not taken into account during a snapshot -
Independent - non-persistent
: is unique in that it does not save data: if you reboot the machine, all the data will be deleted.
You can modify your virtual machine’s network adapter, the connection to the adapter when starting up the virtual machine, 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
{.action} and Ports
{.action} tabs for that adapter.
A virtual CD/DVD drive allows you, for example, to mount ISO images on your virtual machine.
We recommend that you delete the CD/DVD drive after using it, as it could in fact prevent the virtual machine from being moved.
At the bottom of this window, you can add additional devices.
You can add disks from another datastore, or network adapters, if you need to use several private networks.
Join our community of users on https://community.ovh.com/en/.