[one-users] changing the ram of a running vm

Carlos Martín Sánchez cmartin at opennebula.org
Thu Sep 1 03:25:32 PDT 2011


Hi Teddy,

The preferred way to change the memory of a VM is to create a new instance
with a modified template.
For the specific scenario you describe, you need to modify the DB as you
said, but OpenNebula must be stopped before you do that.

Regards.
--
Carlos Martín, MSc
Project Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org <http://www.opennebula.org/> | cmartin at opennebula.org


On Mon, Aug 29, 2011 at 7:27 PM, Teddy Limousin <mongaru007 at gmail.com>wrote:

> Hey guys,
> We are working with ON and xen and we use the mem-set feature to modify the
> memory of a running vm, after a given time (indicated on the oned.conf file)
> opennebula monitor
> gets the current value of that vm's memory. The thing is that when we
> reboot the virtual machine or stopped, ON set the memory value to the
> default on the template and not
> with the last value. Where should we modify the value so the configuration
> stays for that vm, should we modified the database table vm_pool on the
> template column? or in the
> deployment file (this is not a good idea but just to mention.)
>
> We would apreciate any help, regards.
>
> --
> Teddy Limousin
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110901/58ef640e/attachment.htm>


More information about the Users mailing list