Univention Bugzilla – Bug 49843
Add settings to allow UCS dealing with hot-added memory and cpus by default
Last modified: 2021-04-28 10:16:07 CEST
In default settings UCS does not allow hot-adding CPUs or memory (RAM) even when allowed and done by the hypervisor (ESXi, Proxmoxx). You can configure UCS to activate added resource automatically. Create a file named “94-hotplug-cpu-mem.rules” in the folder /etc/udev/rules.d with the following content: ACTION=="add", SUBSYSTEM=="cpu", ATTR{online}=="0", ATTR{online}="1" ACTION=="add", SUBSYSTEM=="memory", ATTR{state}=="offline", ATTR{state}="online" Then reboot your VM. After reboot all hot-added cpus or memory will automatically detected and activated. We should possibly include this file in UCS by default so no configuration has to be done by customer to enable this feature. Many customers prefer to *not* reboot their server just for adding CPUs or memory. Especially this would be helpful if a server is at high load and needs more memory or cpus.