I am running KVM with some Ubuntu VM's as guest machines. The guest machines contain an application that does not need to be run most of the time, but once every few months, there are unexpected, random triggers that require it to be run immediately (<5 second delay) for just a few hours.
If I keep the VM always running, I waste a lot of CPU resources, because the VM is mostly inactive 99.99% of the year.
If I hibernate the VM state into disk, starting the application would require booting the VM up, which takes too long on my machine (minutes).
I'd like to pause/suspend the VMs into memory, because resuming the VM seems instantaneous. And while the VM is inactive, I can re-use the CPU resources elsewhere (although I understand that I cannot re-use the memory).
Is it recommended to pause guest VMs for long periods of times (months or years)? Will it be reliable to resume? What are best practices to make sure it will resume normally when I need it months later?
I was thinking of buying ECC ram for the host machine to protect against random bit flips. But is there anything else I should be doing?