Skip to main content
Memory hotplug allows you to dynamically add or remove memory from a running virtual machine without requiring a reboot.
Prerequisites
  • A VPS with OnetSolutions
  • Root or sudo access

Configuration Steps

1

Create udev rule file

Navigate to the udev rules directory:
2

Create the hotplug rule

Create and edit the rule file:
3

Add the hotplug rules

Add the following content:
4

Save and exit

Save the file and exit the editor.
5

Reload udev rules

Activate Existing Resources

Run this script to bring online any currently offline CPU and memory:
After setting up the udev rules, any future memory or CPU additions will be automatically brought online.