Cloud - Virtual Machine Parameters

In this article you will learn:


Preparing VMs for parameter changes

Make changes to the virtual machine parameters in the OpenNebula Sunstone interface. First, select the virtual machine by following these steps:

  1. Log in to the ON Sunstone interface .
  2. In the left menu, select Instances VMs.
  3. Select the virtual machine whose parameters you want to change.
Choosing a virtual machine in ON Sunstone
Choosing a virtual machine in ON Sunstone

Make sure the machine is switched off before changing parameters:

  1. Click the power off button and select Power Off hard.
  2. Check that the machine is in the POWEROFF state.
ON Sunstone - virtual machine shutdown
ON Sunstone - virtual machine shutdown

Changing CPU and RAM

You can increase or decrease the CPU and RAM of a VM. Make the settings by following these steps:

  1. In VM Control, select the Capacity tab.
  2. Click the Resize button.
  3. Set the desired values in the window.
  4. Confirm the settings with the Resize button in the window.
ON Sunstone - open CPU and RAM change window
ON Sunstone - open CPU and RAM change window

Changing disk space

You can only increase the disk space, decreasing it is not possible. If you need to reduce the disk size of a virtual machine, create a new VM and transfer the data to it. We do not perform migrations from our side.

To increase disk space, follow these steps:

  1. In VM Control, select the Storage tab.
  2. For the disk you want to increase, click the Resize icon.
  3. Set the desired value in the window.
  4. Confirm the settings with the Resize button in the window.
ON Sunstone - open disk resizing window
ON Sunstone - open disk resizing window

If the increment is done correctly, you will see the new value in the Size column of the corresponding Image. This change should persist the DISK_RESIZE state until the POWEROFF state. If the size returns to the original value, contact support via the ⧉ form. Provide the name of the Cloud and the specific VM.

After incrementing the disk after powering on the VM, check that the change was done correctly. In Linux, use the df -h command to do this. If the change did not take place, power off the VM via power off (hard) and power it back on. A reboot is not enough.


Common problems

Common issues with changing cloud VM parameters include:

Inactive Resize button

Problem: Resize button for CPU/RAM change is not active.

Cause: the virtual machine is probably not powered off.

Solution: Shut down the virtual machine and make sure it is in the POWEROFF state.

Disk shrink error

Problem: Error: [one.vm.diskresize] New disk size has to be greater than current one.

Cause: you can only increase the disk size, not decrease it.

Solution: Create a new virtual machine with the required parameters.

CPU/RAM quota error

Problem: Error displayed: [one.vm.resize] User [****] : group [****] limit of X reached for MEMORY/CPU quota in VM.

Solution: Get more memory or CPU either by limiting/canceling other VMs or by increasing overall service performance.

Parameter increase did not take place

Problem: An error is displayed: Parameter increment did not take place.

Solution: Do an Undeploy (hard), then a Deploy and try to increase the parameters again.


Frequently Asked Questions

Can I change the parameters of VPS ON in this way?

No, follow these instructions for VPS ON.

Did the instructions help you?

Thank you for your feedback!
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors