[one-users] Instantiate to Persistent
Ricardo Duarte
rjtd21 at hotmail.com
Wed Jan 16 01:45:44 PST 2013
Hi Ruben,
I guess I was still not able to express the use case correctly.
- I want to have a template, registered within onetemplate, that generates machines with persistent disks, cloned from a master disk- The only action I want to do to create the virtual machines is to run onetemplate instantiate- OpenNebula would clone the "source" disk, add it to the machine template and instantiate the machine when I run onetemplate instantiate.
So far, I can only do this with non-persistent disks, where OpenNebula clones the source disk into a volatile disk inside system ds.I want OpenNebula to clone the disk to the datastore and set it as persistent instead.
Is it possible?
Regards,Ricardo
From: rsmontero at opennebula.org
Date: Wed, 9 Jan 2013 11:20:00 +0100
Subject: Re: [one-users] Instantiate to Persistent
To: rjtd21 at hotmail.com
CC: users at lists.opennebula.org
OK, I think you can use onevm saveas for this:
http://opennebula.org/documentation:rel3.8:vm_guide_2#disk_operations
Cheers
Ruben
On Wed, Jan 9, 2013 at 12:33 AM, Ricardo Duarte <rjtd21 at hotmail.com> wrote:
Hi,
I will try to explain what I am trying to do:
- Say I have a template that uses image id 10, that is not persistent.
- Every time a user creates a new image with this template, I want the image id 10 to be cloned into a new persistent image, that is then allocated to the instance
Currently, when I instantiate a template with a non-persistent image, the image is cloned to a volatile disk on system DS.
To create a persistent instance, I need to manually clone the image, then make the clone persistent, then create a new template that points to it.
Thanks,
Ricardo
From: rsmontero at opennebula.org
Date: Tue, 8 Jan 2013 23:57:25 +0100
Subject: Re: [one-users] Instantiate to Persistent
To: rjtd21 at hotmail.com
CC: users at lists.opennebula.org
Hi Ricardo,
We are missing something here, I think that a persistent image is what you are looking for [1]. If not could you elaborate a bit what are you missing?
Cheers
Ruben
[1] http://opennebula.org/documentation:rel3.8:img_guide#making_images_persistent
On Mon, Jan 7, 2013 at 12:32 PM, Ricardo Duarte <rjtd21 at hotmail.com> wrote:
Hi there,
I'm trying to make all my virtual machines persistent.
So, I would like disks for vms instantiated from templates to be created as persistent clones, instead of volatile disks on system DS.
Is there a way to do it?
Thanks,
Ricardo
_______________________________________________
Users mailing list
Users at lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
--
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula
--
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130116/9dcf650f/attachment-0002.htm>
More information about the Users
mailing list