[one-users] Changing Resources
Carlos Martín Sánchez
cmartin at opennebula.org
Mon Jun 4 09:44:59 PDT 2012
Hi,
In OpenNebula you can't dynamically edit the capacity of a VM (yet, this
will change in the short-term).
So, rather than modifying the "webby" VM, what you have to do is create a
new Template based on "little" that uses the "webby" disk.
The steps you would have to follow are:
1) Save the "webby" disk as an Image:
$ onevm saveas webby 0 webby_img
$ onevm shutdown webby
2) Create a new Template, based on "little", but with big capacity and the
DISK pointing to the new "webby_img" Image.
3) Instantiate it
$ onetemplate instantiate <id> --name webby
Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
On Mon, Jun 4, 2012 at 5:37 PM, Justin B Newman <justin at ejtown.org> wrote:
> Good Morning.
>
> I've done a test installation of OpenNebula and like what I've found
> so far. Unfortunately, there are a few things that I'm having troubles
> with. If there's a page that describes how to do this, please refer me
> ... I've googled extensively, but perhaps my GoogleFoo is lacking.
>
> For sake of conversation, let's assume:
>
> I have 1 image, "squeeze".
> I have 2 templates, "big" and "little". (Both use image "squeeze").
> I have 2 virtual machines, "webby" and "webster" built on the template
> little.
>
> It turns out that the little template is just too little for "webby".
> I need to upgrade the capacity to be that of the template "big".
>
> Can someone outline for me the steps that are necessary for this,
> assuming I am willing to do a restart of the VM?
>
> Many thanks in advance for any assistance,
>
> -jbn
> _______________________________________________
> 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/20120604/d9ad5f37/attachment-0003.htm>
More information about the Users
mailing list