VM in POWEROFF and releasing CPU/RAM hardware resources

Hello,
when a machine is in POWEROFF state, what happens to the CPU cores and RAM of the host where the VM was running ?
Those do not seem to be released for new VMs (as I was expecting).
What is the correct state that I should use so that those hardware resources are released ?

I’m using ON 4.14.2.

Thanks.

valerio_schiavoni opennebula@discoursemail.com writes:

Hello,

Hello,

when a machine is in POWEROFF state, what happens to the CPU cores and RAM of the host where the VM was running ?
Those do not seem to be released for new VMs (as I was expecting).
What is the correct state that I should use so that those hardware resources are released ?

I’m using ON 4.14.2.

I thought resource management was better described in the
documentation[1][2].

Some actions let the images on the hypervisor and keep resources
allocated on it.

This means that the KVM process is stopped, the CPU and RAM are
physically freed from the hypervisor but OpenNebula keeps them allocated
for the “resume”, that’s the reason about the difference between “USED
MEM (REAL)”/“USED MEM (ALLOCATED)” and “USED CPU (REAL)”/“USED CPU (ALLOCATED)”.

If you want to unallocate the resources from the hypervisor, you can
“stop” or “undeploy” the VM.

Regards.

Footnotes:
[1] Managing Virtual Machines Instances — OpenNebula 5.0.2 documentation

[2] onevm(1) - manages OpenNebula virtual machines

Daniel Dehennin
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
Fingerprint: 3E69 014E 5C23 50E8 9ED6 2AAD CC1E 9E5B 7A6F E2DF