<div dir="ltr">It's definitively possible to do offline upgrade/downgrade with OpenNebula. You need to cancel the VM and submit a new template reusing the image. The main problem is the image, you need to make it persistent. <div>
<br></div><div style>Making hot upgrade/downgrade of CPU and memory is not currently possible directly in OpenNebula (you have to cheat by doing the changes manually on the hypervisor, most hypervisors support hot plugging CPU and memory). Adding that feature in OpenNebula would require quite a bit of work, notably with the quota feature, perhaps to the scheduler too (migrate if you try to hotplug more CPU or memory than the host has available), and also for people using the OpenNebula template description to do resource based billing. Currently the template is static and never change. You simply have to parse the template the first time and then look at the VM history records to properly bill your user. Making the template attributes change would probably require some resources history records (knowing at what time the VM resources changed and bill the user accordingly).</div>
<div style><br></div><div style>I'm not saying it's not something possible, only that it may be more work that a lot of us think.</div><div style><br></div><div style>If you have your image set up properly, you can do offline upgrade/downgrade with OpenNebula with minimal downtime for the VM.</div>
<div style><br></div><div style>Perhaps a page on the OpenNebula documentation could be created to explain the situation and show how to do offline upgrade/downgrade with OpenNebula.</div><div style><br></div><div style>Simon</div>
<div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 16, 2013 at 10:35 AM, christopher barry <span dir="ltr"><<a href="mailto:cbarry@rjmetrics.com" target="_blank">cbarry@rjmetrics.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, 2013-01-15 at 23:27 +0000, André Monteiro wrote:<br>
> Hi Gandalf,<br>
><br>
><br>
> If you don't want to destroy the VM for some reason, check my message<br>
> on<br>
> <a href="http://lists.opennebula.org/pipermail/users-opennebula.org/2012-August/020021.html" target="_blank">http://lists.opennebula.org/pipermail/users-opennebula.org/2012-August/020021.html</a><br>
><br>
><br>
> --<br>
> André Monteiro<br>
><br>
<br>
</div>reading that thread it appears it was evaluated to potentially be a<br>
feature (cold update). Did it not get implemented yet? Ideally, hot<br>
update would be the thing to have. Isn't hotplug cpu and memory<br>
supported in kvm now?<br>
<span class="HOEnZb"><font color="#888888"><br>
-C<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<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>
</div></div></blockquote></div><br></div>