The only method to change the memory of a running guest is with the "setmaxmem" command in virsh (which never works for me).

For a change in the OpenNebula template (and the resultant libvirt XML file) to take effect a new kvm process must be created. A reboot of a guest does not create a new kvm process. Shutting down and re-instantiating a template does. Restarting oned or sunstone is only needed when you make a change to their configuration (changing a file /etc/oned).

On 08/21/2012 10:42 AM, Lawrence Chiong wrote:
Hello,

Can anyone guide me a step-by-step guide on HOWTO change/update RAM on a fly / running VM (KVM). Because I tried changing my VM template (in sunstone) its Memory (e.g. from 2048M to 4096M) and then reboot my KVM VM but changes made doesn't take effect. So I tried manually changed the .../deployment.0 file and update the Memory element and update also the vm_pool table on body field +Memory element to 4096M then I restarted "oned" + "sunstone" so with mysqld BUT still the memory being updated doesn't changed.

Any help is very much appreciated.

Thank you.

Junix


_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

--
Mark Wagner | [email protected]
System Administrator | Intelius Inc.

_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to