[one-users] How-to set RAM on Running KVM VM in CentOS 6.2x86 + openNebula v3.6

Mark Wagner mwagner at intelius.com
Tue Aug 21 11:38:39 PDT 2012


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
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

-- 
Mark Wagner | mwagner at intelius.com
System Administrator | Intelius Inc.




More information about the Users mailing list