Hi Teddy,<br><br>The preferred way to change the memory of a VM is to create a new instance with a modified template.<br>For the specific scenario you describe, you need to modify the DB as you said, but OpenNebula must be stopped before you do that.<br>
<br>Regards.<br clear="all"><span style="border-collapse:collapse;color:rgb(136, 136, 136);font-family:arial, sans-serif;font-size:13px">--<br>Carlos Martín, MSc<br>Project Major Contributor<br><span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">OpenNebula</span> - The Open Source Toolkit for Cloud Computing<br>
<a href="http://www.opennebula.org/" style="color:rgb(42, 93, 176)" target="_blank">www.<span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">OpenNebula</span>.org</a> | <a href="mailto:cmartin@opennebula.org" style="color:rgb(42, 93, 176)" target="_blank">cmartin@<span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">opennebula</span>.org</a></span><br>
<br><br><div class="gmail_quote">On Mon, Aug 29, 2011 at 7:27 PM, Teddy Limousin <span dir="ltr"><<a href="mailto:mongaru007@gmail.com">mongaru007@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hey guys,<div>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</div><div>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</div>
<div>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</div><div>deployment file (this is not a good idea but just to mention.)</div>
<div><br></div><div>We would apreciate any help, regards.<br clear="all"><div><br></div>-- <br><font color="#888888">Teddy Limousin<br>
</font></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br>