cloudstack
cloudstack copied to clipboard
Virtual Machine Suspend Function
ISSUE TYPE
- Enhancement Request
COMPONENT NAME
VM
CLOUDSTACK VERSION
4.18
CONFIGURATION
Does it support the suspend or pause function of virtual machines
OS / ENVIRONMENT
SUMMARY
STEPS TO REPRODUCE
EXPECTED RESULTS
Add virtual machine suspension in the virtual machine operation function, release corresponding CPU resources, save the state of the virtual machine in use, and wait for it to be awakened and used at any time
ACTUAL RESULTS
Hi @zhanglidonga,
Currently ACS does not support VM suspend/pause on any hypervisor; although this is an interesting feature that shouldn't be too hard to implement, at least on KVM.
Are you considering adding VKM support for suspension in future versions?
@zhanglidonga I personally have no plans on adding it, at least not anytime soon. But I certainly can't speak for the community as a whole, maybe someone else is planning to or already working on something like this. If you have the coding skills, you can try to develop the feature and open a PR, I'm sure the community will help fix it if need be.
Furthermore, could you share some detail about the use-case you have that would need this feature? This helps to sustain/leverage the development of the feature.
The functional scenario is definitely to consider automatically or manually putting some Windows virtual machines in a temporary or suspended state when they have not been used for a period of time to save server resources, without the need to repeatedly restart the machine to achieve this effect.