<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
<!--
@font-face
        {font-family:Cambria}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
@font-face
        {font-family:Consolas}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
p
        {margin-right:0cm;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New"}
span.HTMLPreformattedChar
        {font-family:Consolas}
span.EmailStyle20
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
        {}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Hi Ruben,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Thank you very much for the updates. Looking forward to see some of this features in the upcoming version.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">--</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Regards,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Anandharaj</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> Ruben S. Montero [mailto:rsmontero@opennebula.org]
<br>
<b>Sent:</b> Friday, October 10, 2014 10:14 PM<br>
<b>To:</b> Nicolas Bélan; Anandharaj Subramaniam<br>
<b>Cc:</b> users@lists.opennebula.org<br>
<b>Subject:</b> Re: [one-users] Cloud View with Persistent Image</span></p>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">Hi</p>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">These two are on our radar and probably scheduled for the next release. I totally agree that we need to simplify the provision process even more.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">About feature 1. </p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">We have two issues:</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">[1] Clone a running VM. <a href="http://dev.opennebula.org/issues/2637" target="_blank">
http://dev.opennebula.org/issues/2637</a></p>
</div>
<div>
<p class="MsoNormal">[2] Clone a template . <a href="http://dev.opennebula.org/issues/2051" target="_blank">
http://dev.opennebula.org/issues/2051</a></p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Last one includes images (pretty much the procedure outlined by Anandharaj under "New VM request") and I think this will cover exactly your request.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">About feature 2. </p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">We want to add the ability to update any part of a template for VM, most of it can be done if the VM is running (eg. attach a new disk or nic). Others like memory can be resized when the VM is powered off. You would not need to update and
 recreate the template.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">[3] <a href="http://dev.opennebula.org/issues/2065" target="_blank">
http://dev.opennebula.org/issues/2065</a></p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">So, I believe we can implement the workflow described by Anandharaj with these features (and exposing it through Cloud View)...</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Thanks for your feedback!</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Cheers</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Ruben</p>
</div>
<div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">On Fri, Oct 3, 2014 at 11:34 PM, Nicolas Bélan <<a href="mailto:nicolas.belan@gmail.com" target="_blank">nicolas.belan@gmail.com</a>> wrote:</p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi,<br>
<br>
I have exactly the same pb, and same needs ...<br>
I start think about a dedicated web service to handle that, but a shorter (quicker) way to achieve deployments would be nice !<br>
<br>
I will follow this thread for feebacks too<br>
<br>
Best regards,<br>
NB</p>
<div>
<p class="MsoNormal">Le 02/10/2014 06:07, Anandharaj Subramaniam a écrit :</p>
</div>
<blockquote style="margin-top:5.0pt; margin-bottom:5.0pt">
<div>
<div>
<div>
<p class="MsoNormal" style=""><span style="color:#1F497D">Hi All,</span></p>
<p class="MsoNormal" style=""><span style="color:#1F497D"> </span></p>
<p class="MsoNormal" style=""><span style="color:#1F497D">Just need some clarification and would like to get you guys feedback on managing VMs using OpenNebula in your environment.
</span></p>
<p class="MsoNormal" style=""><span style="color:#1F497D"> </span></p>
<p class="MsoNormal" style=""><u><span style="color:#1F497D">Our current practice as below (using OpenNebula 4.2):</span></u></p>
<p><span style="color:#1F497D">1.</span><span style="font-size:7.0pt; color:#1F497D">      
</span><span style="color:#1F497D">New VM request</span></p>
<p style="margin-left:54.0pt"><span style="color:#1F497D">-          Clone existing image (master image) to a new image. All the images are persistent.
</span></p>
<p style="margin-left:54.0pt"><span style="color:#1F497D">-          Clone existing template (master template) to a new template.</span></p>
<p style="margin-left:54.0pt"><span style="color:#1F497D">-          Update the new template – set cpu/vcpu, memory, image (point to newly created image), ip address, etc</span></p>
<p style="margin-left:54.0pt"><span style="color:#1F497D">-          Instantiate the template</span></p>
<p><span style="color:#1F497D"> </span></p>
<p><span style="color:#1F497D">2.</span><span style="font-size:7.0pt; color:#1F497D">      
</span><span style="color:#1F497D">Update the spec of the VM</span></p>
<p style="margin-left:54.0pt"><span style="color:#1F497D">-          Shutdown / delete the running VM</span></p>
<p style="margin-left:54.0pt"><span style="color:#1F497D">-          Update the template belongs to that particular VM – e.g set the new memory size</span></p>
<p style="margin-left:54.0pt"><span style="color:#1F497D">-          Instantiate the template</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1F497D">Note:  a) In our setup, every VM will have their own template as per done in #1</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1F497D">             b) Reason being update the template & re-instantiate instead of just  update the memory in VM is because of #3 below</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1F497D"> </span></p>
<p><span style="color:#1F497D">3.</span><span style="font-size:7.0pt; color:#1F497D">      
</span><span style="color:#1F497D">Repair the VM</span></p>
<p style="margin-left:54.0pt"><span style="color:#1F497D">-          In some cases the VM’s filesystem will have some errors (eg: due to force shutdown / nfs issues) therefore require to run fsck using live CD.</span></p>
<p style="margin-left:54.0pt"><span style="color:#1F497D">-          Image type CDROM cannot be attached thru VM list page (click on the VM -> storage tab)</span></p>
<p style="margin-left:54.0pt"><span style="color:#1F497D">-          Update the VM’s template – add disk and choose the ISO image, choose boot = cdrom</span></p>
<p style="margin-left:54.0pt"><span style="color:#1F497D">-          Instantiate the template and fix the errors using the live CD</span></p>
<p style="margin-left:54.0pt"><span style="color:#1F497D">-          Shutdown / delete the running VM</span></p>
<p style="margin-left:54.0pt"><span style="color:#1F497D">-          Update the VM’s template – remove the ISO image and choose boot = hd</span></p>
<p style="margin-left:54.0pt"><span style="color:#1F497D">-          Instantiate the template</span></p>
<p style="margin-left:54.0pt"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal" style=""><span style="color:#1F497D">From the above scenario, anything that we are doing inefficiently? Im still new to this OpenNebula so appreciate you guys feedback / suggestion</span></p>
<p class="MsoNormal" style=""><span style="color:#1F497D"> </span></p>
<p class="MsoNormal" style=""><span style="color:#1F497D"> </span></p>
<p class="MsoNormal" style=""><u><span style="color:#1F497D">Testing environment (OpenNebula 4.8)</span></u></p>
<p class="MsoNormal" style=""><span style="color:#1F497D"> </span></p>
<p class="MsoNormal" style=""><span style="color:#1F497D">To further understand on this OpenNebula, I have setup ONE 4.8 and testing the Cloud View and see how I can improve my operation / VM administration.</span></p>
<p class="MsoNormal" style=""><span style="color:#1F497D"> </span></p>
<p class="MsoNormal" style=""><span style="color:#1F497D">The way user can create VM in Cloud View is the one I need – user define the VM name, choose the template (OS), set the memory & CPU and launch it. Very simple. But unfortunately this only works with
 non-persistent image type. In my case, I cannot use non-persistent image because of the reason stated in #2 and #3 above.</span></p>
<p class="MsoNormal" style=""><span style="color:#1F497D"> </span></p>
<p class="MsoNormal" style=""><span style="color:#1F497D">So what I think Cloud View can be improved is:</span></p>
<p style="margin-left:54.0pt"><span style="color:#1F497D">-          Based on config parameter (oned.conf -> ONE_DEPLOY=Persistent),  when user create a VM, a template should be created and the image should be cloned as persistent image. This is kinda same
 behavior as “Save” VM with only different is the image persistent yes/no and template spec</span></p>
<p style="margin-left:54.0pt"><span style="color:#1F497D">-          Able to attach / detach CDROM</span></p>
<p class="MsoNormal" style=""><span style="color:#1F497D">Feel free to comment on this and provide some feedback.</span></p>
<p class="MsoNormal" style=""><span style="color:#1F497D"> </span></p>
<p class="MsoNormal" style=""><span style="color:#1F497D">--</span></p>
<p class="MsoNormal" style=""><span style="color:#1F497D">Regards,</span></p>
<p class="MsoNormal" style=""><span style="color:#1F497D">Anandharaj</span></p>
<p class="MsoNormal" style=""> </p>
</div>
<p class="MsoNormal"> </p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<div>
<p class="MsoNormal"><b>DISCLAIMER:</b></p>
</div>
<p class="MsoNormal"> </p>
<div>
<p style="line-height:10.0pt"><span style="font-size:8.0pt; font-family:"Cambria","serif"">This e-mail (including any attachments) is for the addressee(s) only and may be confidential, especially as regards personal data. If you are not the intended recipient,
 please note that any dealing, review, distribution, printing, copying or use of this e-mail is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete the original message (including any attachments).</span></p>
</div>
<p class="MsoNormal"> </p>
<div>
<p style="line-height:10.0pt"><span style="font-size:8.0pt; font-family:"Cambria","serif"">MIMOS Berhad is a research and development institution under the purview of the Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions and other
 information in this e-mail that do not relate to the official business of MIMOS Berhad and/or its subsidiaries shall be understood as neither given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS Berhad nor its subsidiaries accepts responsibility
 for the same. All liability arising from or in connection with computer viruses and/or corrupted e-mails is excluded to the fullest extent permitted by law.</span></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"> </p>
</div>
</div>
<pre>_______________________________________________</pre>
<pre>Users mailing list</pre>
<pre><a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a></pre>
<pre><a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a></pre>
</blockquote>
<p class="MsoNormal"> </p>
</div>
<p class="MsoNormal"><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">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<br clear="all">
</a></p>
<div>
<p class="MsoNormal"><u><span style="color:blue"><a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank"><br>
<br>
<span style="color:windowtext; text-decoration:none"></span></a></span></u></p>
</div>
<p class="MsoNormal"><span class="MsoHyperlink"><a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">--
<br>
</a></span></p>
<div>
<p class="MsoNormal"><a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank"></a></p>
<div>
<div>
<p class="MsoNormal"><u><span style="color:blue"><a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">-- <br>
<br>
<span style="color:windowtext; text-decoration:none"></span></a></span></u></p>
</div>
</div>
<p class="MsoNormal"><span class="MsoHyperlink"><a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">Ruben S. Montero, PhD<br>
Project co-Lead and Chief Architect</a></span></p>
<div>
<p class="MsoNormal"><a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">OpenNebula - Flexible Enterprise Cloud Made Simple<br>
</a><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:rsmontero@opennebula.org" target="_blank">
rsmontero@opennebula.org</a> | @OpenNebula</p>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<hr>
<div style="font-size:12pt; font-family:'Cambria','times new roman','garamond',serif; color:#ff0000">
<b>DISCLAIMER:</b></div>
<br>
<div>
<p style="font-size:8pt; line-height:10pt; font-family:'Cambria','times new roman',serif">
This e-mail (including any attachments) is for the addressee(s) only and may be confidential, especially as regards personal data. If you are not the intended recipient, please note that any dealing, review, distribution, printing, copying or use of this e-mail
 is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete the original message (including any attachments).</p>
</div>
<br>
<div>
<p style="font-size:8pt; line-height:10pt; font-family:'Cambria','times new roman',serif">
MIMOS Berhad is a research and development institution under the purview of the Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions and other information in this e-mail that do not relate to the official business of MIMOS Berhad
 and/or its subsidiaries shall be understood as neither given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS Berhad nor its subsidiaries accepts responsibility for the same. All liability arising from or in connection with computer viruses
 and/or corrupted e-mails is excluded to the fullest extent permitted by law.</p>
</div>
</body>
</html>
------------------------------------------------------------------
-
-
DISCLAIMER: 

This e-mail (including any attachments) is for the addressee(s) 
only and may contain confidential information. If you are not the 
intended recipient, please note that any dealing, review, 
distribution, printing, copying or use of this e-mail is strictly 
prohibited. If you have received this email in error, please notify 
the sender  immediately and delete the original message. 
MIMOS Berhad is a research and development institution under 
the purview of the Malaysian Ministry of Science, Technology and 
Innovation. Opinions, conclusions and other information in this e-
mail that do not relate to the official business of MIMOS Berhad 
and/or its subsidiaries shall be understood as neither given nor 
endorsed by MIMOS Berhad and/or its subsidiaries and neither 
MIMOS Berhad nor its subsidiaries accepts responsibility for the 
same. All liability arising from or in connection with computer 
viruses and/or corrupted e-mails is excluded to the fullest extent 
permitted by law.