Could anyone suggest me a hypervisor that permits adding RAM to a running virtual machine without restarting the guest OS. Is this even possible? Can this be done on xen? I have never found any documentation for such a thing.
Could anyone suggest me a hypervisor that permits adding RAM to a running virtual machine without restarting the guest OS. Is this even possible? Can this be done on xen? I have never found any documentation for such a thing.
You can hot-add memory with vSphere. However, there is another question you should be asking: "What OS supports the hot addition of RAM?" The guest OS will have to have the ability to see RAM that has been added without a reboot. For example, Windows Server 2003 Enterprise (not standard) supports this, and all Server 2008 versions do as well.
Xen,KVM,Hyper-V,Vmware all support increasing RAM with out restarting.
Its done through balloon drivers.
check for its support on Guest
In my VM it shows
But for ballooning RAM up,you need to set max RAM on guests,with out this value you can only decrease RAM but can not increase RAM.(at least in Xen and KVM it is so not sure how to do it in Vmware and Hyper-V)
As nice as the hot-add option is, I wouldn't base a hypervisor choice off of that feature. Are you unable to acquire the downtime needed to make a quick configuration change to size your VM's RAM appropriately?
See my question and the answers/comments. Yes. XEN can do this. But it depends - both ends have to support it.
If your VM does not have the 'Virtual CPU hot add" and "Memory hot add" features enabled, you must power off the VM to enable them.