<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    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<br>
    <br>
    <div class="moz-cite-prefix">Le 02/10/2014 06:07, Anandharaj
      Subramaniam a écrit :<br>
    </div>
    <blockquote
cite="mid:28F8B8DA4627F04197FFF96E92E7F5702795872F@MBX02-TPM.mimos.local"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <style>
<!--
@font-face
        {font-family:Wingdings}
@font-face
        {font-family:Wingdings}
@font-face
        {font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
span.EmailStyle17
        {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
        {}
ol
        {margin-bottom:0cm}
ul
        {margin-bottom:0cm}
-->
</style>
      <div class="WordSection1">
        <p class="MsoNormal"><span style="color:#1F497D">Hi All,</span></p>
        <p class="MsoNormal"><span style="color:#1F497D"> </span></p>
        <p class="MsoNormal"><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"><span style="color:#1F497D"> </span></p>
        <p class="MsoNormal"><u><span style="color:#1F497D">Our current
              practice as below (using OpenNebula 4.2):</span></u></p>
        <p class="MsoListParagraph" style="text-indent:-18.0pt"><span
            style="color:#1F497D"><span style="">1.<span
                style="font:7.0pt "Times New Roman"">      
              </span></span></span><span style="color:#1F497D">New VM
            request</span></p>
        <p class="MsoListParagraph" style="margin-left:54.0pt;
          text-indent:-18.0pt"><span style="color:#1F497D"><span
              style="">-<span style="font:7.0pt "Times New
                Roman"">         
              </span></span></span><span style="color:#1F497D">Clone
            existing image (master image) to a new image. All the images
            are persistent.
          </span></p>
        <p class="MsoListParagraph" style="margin-left:54.0pt;
          text-indent:-18.0pt"><span style="color:#1F497D"><span
              style="">-<span style="font:7.0pt "Times New
                Roman"">         
              </span></span></span><span style="color:#1F497D">Clone
            existing template (master template) to a new template.</span></p>
        <p class="MsoListParagraph" style="margin-left:54.0pt;
          text-indent:-18.0pt"><span style="color:#1F497D"><span
              style="">-<span style="font:7.0pt "Times New
                Roman"">         
              </span></span></span><span style="color:#1F497D">Update
            the new template – set cpu/vcpu, memory, image (point to
            newly created image), ip address, etc</span></p>
        <p class="MsoListParagraph" style="margin-left:54.0pt;
          text-indent:-18.0pt"><span style="color:#1F497D"><span
              style="">-<span style="font:7.0pt "Times New
                Roman"">         
              </span></span></span><span style="color:#1F497D">Instantiate
            the template</span></p>
        <p class="MsoListParagraph"><span style="color:#1F497D"> </span></p>
        <p class="MsoListParagraph" style="text-indent:-18.0pt"><span
            style="color:#1F497D"><span style="">2.<span
                style="font:7.0pt "Times New Roman"">      
              </span></span></span><span style="color:#1F497D">Update
            the spec of the VM</span></p>
        <p class="MsoListParagraph" style="margin-left:54.0pt;
          text-indent:-18.0pt"><span style="color:#1F497D"><span
              style="">-<span style="font:7.0pt "Times New
                Roman"">         
              </span></span></span><span style="color:#1F497D">Shutdown
            / delete the running VM</span></p>
        <p class="MsoListParagraph" style="margin-left:54.0pt;
          text-indent:-18.0pt"><span style="color:#1F497D"><span
              style="">-<span style="font:7.0pt "Times New
                Roman"">         
              </span></span></span><span style="color:#1F497D">Update
            the template belongs to that particular VM – e.g set the new
            memory size</span></p>
        <p class="MsoListParagraph" style="margin-left:54.0pt;
          text-indent:-18.0pt"><span style="color:#1F497D"><span
              style="">-<span style="font:7.0pt "Times New
                Roman"">         
              </span></span></span><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 class="MsoListParagraph" style="text-indent:-18.0pt"><span
            style="color:#1F497D"><span style="">3.<span
                style="font:7.0pt "Times New Roman"">      
              </span></span></span><span style="color:#1F497D">Repair
            the VM</span></p>
        <p class="MsoListParagraph" style="margin-left:54.0pt;
          text-indent:-18.0pt"><span style="color:#1F497D"><span
              style="">-<span style="font:7.0pt "Times New
                Roman"">         
              </span></span></span><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 class="MsoListParagraph" style="margin-left:54.0pt;
          text-indent:-18.0pt"><span style="color:#1F497D"><span
              style="">-<span style="font:7.0pt "Times New
                Roman"">         
              </span></span></span><span style="color:#1F497D">Image
            type CDROM cannot be attached thru VM list page (click on
            the VM -> storage tab)</span></p>
        <p class="MsoListParagraph" style="margin-left:54.0pt;
          text-indent:-18.0pt"><span style="color:#1F497D"><span
              style="">-<span style="font:7.0pt "Times New
                Roman"">         
              </span></span></span><span style="color:#1F497D">Update
            the VM’s template – add disk and choose the ISO image,
            choose boot = cdrom</span></p>
        <p class="MsoListParagraph" style="margin-left:54.0pt;
          text-indent:-18.0pt"><span style="color:#1F497D"><span
              style="">-<span style="font:7.0pt "Times New
                Roman"">         
              </span></span></span><span style="color:#1F497D">Instantiate
            the template and fix the errors using the live CD</span></p>
        <p class="MsoListParagraph" style="margin-left:54.0pt;
          text-indent:-18.0pt"><span style="color:#1F497D"><span
              style="">-<span style="font:7.0pt "Times New
                Roman"">         
              </span></span></span><span style="color:#1F497D">Shutdown
            / delete the running VM</span></p>
        <p class="MsoListParagraph" style="margin-left:54.0pt;
          text-indent:-18.0pt"><span style="color:#1F497D"><span
              style="">-<span style="font:7.0pt "Times New
                Roman"">         
              </span></span></span><span style="color:#1F497D">Update
            the VM’s template – remove the ISO image and choose boot =
            hd</span></p>
        <p class="MsoListParagraph" style="margin-left:54.0pt;
          text-indent:-18.0pt"><span style="color:#1F497D"><span
              style="">-<span style="font:7.0pt "Times New
                Roman"">         
              </span></span></span><span style="color:#1F497D">Instantiate
            the template</span></p>
        <p class="MsoListParagraph" style="margin-left:54.0pt"><span
            style="color:#1F497D"> </span></p>
        <p class="MsoNormal"><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"><span style="color:#1F497D"> </span></p>
        <p class="MsoNormal"><span style="color:#1F497D"> </span></p>
        <p class="MsoNormal"><u><span style="color:#1F497D">Testing
              environment (OpenNebula 4.8)</span></u></p>
        <p class="MsoNormal"><span style="color:#1F497D"> </span></p>
        <p class="MsoNormal"><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"><span style="color:#1F497D"> </span></p>
        <p class="MsoNormal"><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"><span style="color:#1F497D"> </span></p>
        <p class="MsoNormal"><span style="color:#1F497D">So what I think
            Cloud View can be improved is:</span></p>
        <p class="MsoListParagraph" style="margin-left:54.0pt;
          text-indent:-18.0pt"><span style="color:#1F497D"><span
              style="">-<span style="font:7.0pt "Times New
                Roman"">         
              </span></span></span><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 class="MsoListParagraph" style="margin-left:54.0pt;
          text-indent:-18.0pt"><span style="color:#1F497D"><span
              style="">-<span style="font:7.0pt "Times New
                Roman"">         
              </span></span></span><span style="color:#1F497D">Able to
            attach / detach CDROM</span></p>
        <p class="MsoNormal"><span style="color:#1F497D"></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Feel free to
            comment on this and provide some feedback.</span></p>
        <p class="MsoNormal"><span style="color:#1F497D"> </span></p>
        <p class="MsoNormal"><span style="color:#1F497D">--</span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Regards,</span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Anandharaj</span></p>
        <p class="MsoNormal"> </p>
      </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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>