<div dir="ltr"><div class="gmail_extra"><div><div>Hi,</div></div><div><br></div><div class="gmail_quote">On Wed, Jan 15, 2014 at 5:22 PM, ML mail <span dir="ltr"><<a href="mailto:mlnospam@yahoo.com" target="_blank">mlnospam@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="font-size:12pt;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
Hi Carlos,<br><br>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.<br><br>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. <br>
<br>Regards,<br>M.L.</div></blockquote><div><br></div><div>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].</div>
<div><br></div><div>Regards</div><div><br></div><div>[1] <a href="http://docs.opennebula.org/stable/user/virtual_resource_management/img_guide.html">http://docs.opennebula.org/stable/user/virtual_resource_management/img_guide.html</a><br>
</div><div><br></div><div> </div>--<br><div>Carlos Martín, MSc<br>Project Engineer</div><div>OpenNebula - Flexible Enterprise Cloud Made Simple<br></div><div><a href="http://www.opennebula.org/" target="_blank" style="font-family:arial,sans-serif;font-size:13px">www.OpenNebula.org</a><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"> </span><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px">|</span><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"> </span><a href="mailto:cmartin@opennebula.org" target="_blank" style="font-family:arial,sans-serif;font-size:13px">cmartin@opennebula.org</a><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"> </span><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px">|</span><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"> </span><a href="http://twitter.com/opennebula" target="_blank" style="font-family:arial,sans-serif;font-size:13px">@OpenNebula</a> </div>
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<div><div class="h5"><div><div><div style="font-size:12pt;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><div><span></span></div><div><div style="display:block"> <br clear="none">
<br clear="none"> <div style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:12pt"> <div style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:12pt">
<div dir="ltr"> <font face="Arial"> On Wednesday, January 15, 2014 3:21 PM, Carlos Martín Sánchez <<a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a>> wrote:<br clear="none"> </font> </div>
<div><div><div><div dir="ltr">Hi,<div><br clear="none"></div><div>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.</div>
<div><br clear="none"></div><div>Regards</div></div><div><br clear="all"><div><div dir="ltr">--<br clear="none"><div>Carlos Martín, MSc<br clear="none">Project Engineer</div><div>OpenNebula - Flexible Enterprise Cloud Made Simple<br clear="none">
<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a rel="nofollow" shape="rect" href="http://www.opennebula.org/" target="_blank">www.OpenNebula.org</a> | <a rel="nofollow" shape="rect" href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a rel="nofollow" shape="rect" href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a rel="nofollow" shape="rect" href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
</div></div></div>
<br clear="none"><br clear="none"><div>On Wed, Jan 15, 2014 at 11:07 AM, ML mail <span dir="ltr"><<a rel="nofollow" shape="rect" href="mailto:mlnospam@yahoo.com" target="_blank">mlnospam@yahoo.com</a>></span> wrote:<br clear="none">
<blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div><div><div style="font-size:12pt;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><div>Hello,</div><div><br clear="none"></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
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). <br clear="none">
</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><br clear="none"></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
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.</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<br clear="none"></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">Regards,</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
M.L.</div></div></div></div><br clear="none">_______________________________________________<br clear="none">
Users mailing list<br clear="none">
<a rel="nofollow" shape="rect" href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br clear="none">
<a rel="nofollow" shape="rect" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br clear="none">
<br clear="none"></blockquote></div><br clear="none"></div></div></div><br clear="none"><br clear="none"></div> </div> </div> </div></div> </div></div></div></div></div></div></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></div></div>