[one-users] How to definitely remove CDROM image from a VM after installation

Carlos Martín Sánchez cmartin at opennebula.org
Fri Jan 17 04:59:42 PST 2014


Hi,

On Wed, Jan 15, 2014 at 5:22 PM, ML mail <mlnospam at yahoo.com> wrote:

> Hi Carlos,
>
> I understand that the "cloud-way" to go would be to have a contextualized
> image which I would upload and then instantiate instead of manually
> installing a VM like I did.
>
> Which best-practice deployment would you suggest for more permament VMs?
> Would you instantiate a non-persistant OS image and have a persistent
> datablock for the data? (I think that is the classical way) What about the
> configuration files? Let's say I would have MySQL data on the datablock but
> then my MySQL configuration would be stored on the non-persistant image
> which could be a problem if I undeploy my VM by error.
>
> Regards,
> M.L.
>

I'd make all the VM disk images persistent. If you don't want to make the
OS persistent but need to preserve some files, maybe you could create a
small datablock persistent image for that data. Or if the data does not
need to be updated, take a look at the CONTEXT type images [1].

Regards

[1]
http://docs.opennebula.org/stable/user/virtual_resource_management/img_guide.html


--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org <http://www.opennebula.org/> | cmartin at opennebula.org |
@OpenNebula <http://twitter.com/opennebula>


>
>
>   On Wednesday, January 15, 2014 3:21 PM, Carlos Martín Sánchez <
> cmartin at opennebula.org> wrote:
>  Hi,
>
> For some things OpenNebula is more oriented to disposable VMs. In this
> case, you need to save the disks you want to preserve, shutdown the VM, and
> create a new VM Template (or edit the existing one) without the cdrom and
> context disks.
>
> Regards
>
> --
> Carlos Martín, MSc
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org <http://www.opennebula.org/> | cmartin at opennebula.org|
> @OpenNebula <http://twitter.com/opennebula> <cmartin at opennebula.org>
>
>
> On Wed, Jan 15, 2014 at 11:07 AM, ML mail <mlnospam at yahoo.com> wrote:
>
> Hello,
>
> I installed a VM manually on a datablock image using the Fedora 20 DVD as
> a cdrom image. For that I had to define these two images in my VM template.
> Now that I have installed Fedora I would like to permanently remove the
> cdrom image from my VM storage. I tried from Sunstone to detach it while
> running the VM but this fails as it is on the IDE bus (hdb).
>
> So quite a trivial question but how do I remove this cdrom as storage from
> my VM? The same question applies to the context cdrom which is always
> present.
>
> Regards,
> M.L.
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
>
>
> _______________________________________________
> 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/20140117/7e74938b/attachment-0002.htm>


More information about the Users mailing list