[one-users] How-to set RAM on Running KVM VM in CentOS 6.2x86 + openNebula v3.6
Jurgen Weber
jurgen.weber at theiconic.com.au
Tue Aug 21 18:39:31 PDT 2012
I am having the same problem/trying to work out how to do this.. I would
like to increase some VM's from 2 cores to 4.
using 3.4, and sunstone I do not see a re instantiating button.
You could resubmit it, but doesn't that blow away your disk and start
again from scratch? I do not want that.
Thanks
On 22/08/12 04:38, Mark Wagner wrote:
> 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
>
--
Jurgen Weber
Systems Engineer
IT Infrastructure Team Leader
THE ICONIC | E jurgen.weber at theiconic.com.au | www.theiconic.com.au
More information about the Users
mailing list