<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Datastore 0 and datastore 2 will be synchronized frontend + nodes
    (we just use persistent image) so i think datastore 0 just
    synchronized symbolic link.<br>
    If we have problem maybe existing storage box (datastore 1) broken,
    all vm used new storage box ( datastore 100) will not impact with
    datastore 1 because datastore 0 shared and synchronized across
    frontend +nodes. it possible?<br>
    <br>
    Rhesa<br>
    <br>
    <div class="moz-cite-prefix">On 08/26/2014 01:52 PM, Jaime Melis
      wrote:<br>
    </div>
    <blockquote
cite="mid:CA+HrgRrau6BS3dNPJf8F4oLSyT_E23wY3P_+VeXNa8cUYozmSw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Rhesa,
        <div><br>
        </div>
        <div>the problem is datastore 0, it's the system datastore. If
          you move it to the local nodes, it will not be shared and
          synchronized across the nodes, therefore you will lose many
          benefits like live-migration and instant persintant image VM
          deployment.</div>
        <div><br>
        </div>
        <div>Why is it that you want to move datastore 0 to the frontend
          + nodes?</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Tue, Aug 26, 2014 at 8:44 AM, Rhesa
          Mahendra <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:rhesa@lintasmediadanawa.com" target="_blank">rhesa@lintasmediadanawa.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> Jaime, <br>
              <br>
              Thanks for your reply, now datastore 0 and datastore 2 are
              in existing storage box, mounted in frontend + nodes, we
              want to move datastore 0 and datastore 2 from existing
              storage box to frontend + nodes, could it be done?<br>
              <br>
              So in existing storage box just have datastore 1 and in
              new storage box just have datastore 100.<span
                class="HOEnZb"><font color="#888888"><br>
                  <br>
                  Rhesa.</font></span>
              <div>
                <div class="h5"><br>
                  <br>
                  <div>On 08/26/2014 01:34 PM, Jaime Melis wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">Hi,
                      <div><br>
                      </div>
                      <div>I don't entirely understand the difference
                        between both options, could you explain in more
                        detail what you mean by distributing the
                        datastore to all the nodes?</div>
                      <div><br>
                      </div>
                      <div>Assuming your configuration is as follows:
                        NFS Server exports datastores 0 and 1 ->
                        Mounted in Frontend + Nodes</div>
                      <div><br>
                      </div>
                      <div>I recommend the following option:</div>
                      <div>- Create a new Image datastore (it will have
                        ID >= 100, in this example we will assume it
                        has ID: 100)</div>
                      <div>- Create a new exports directive in your new
                        storage box, for example /storage/datastores/100<br>
                      </div>
                      <div>- Mount that mountpoint in all the nodes
                        including the frontend in the following path:
                        /var/lib/one/datastores/100</div>
                      <div><br>
                      </div>
                      <div>Now you can register more images in the new
                        datastore (ID: 100), and since they are all
                        persistent they will not take space in the
                        system datastore (ID: 0)</div>
                      <div><br>
                      </div>
                      <div>Best regards,<br>
                        Jaime</div>
                      <div><br>
                      </div>
                    </div>
                    <div class="gmail_extra"><br>
                      <br>
                      <div class="gmail_quote">On Tue, Aug 26, 2014 at
                        6:05 AM, Rhesa Mahendra <span dir="ltr"><<a
                            moz-do-not-send="true"
                            href="mailto:rhesa@lintasmediadanawa.com"
                            target="_blank">rhesa@lintasmediadanawa.com</a>></span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">
                          <div bgcolor="#FFFFFF" text="#000000"> Guys,
                            please help.
                            <div>
                              <div><br>
                                <div><br>
                                  <br>
                                  -------- Original Message --------
                                  <table border="0" cellpadding="0"
                                    cellspacing="0">
                                    <tbody>
                                      <tr>
                                        <th align="RIGHT"
                                          nowrap="nowrap"
                                          valign="BASELINE">Subject: </th>
                                        <td>Add New Storage Box</td>
                                      </tr>
                                      <tr>
                                        <th align="RIGHT"
                                          nowrap="nowrap"
                                          valign="BASELINE">Date: </th>
                                        <td>Mon, 25 Aug 2014 16:21:13
                                          +0700</td>
                                      </tr>
                                      <tr>
                                        <th align="RIGHT"
                                          nowrap="nowrap"
                                          valign="BASELINE">From: </th>
                                        <td>Rhesa Mahendra <a
                                            moz-do-not-send="true"
                                            href="mailto:rhesa@lintasmediadanawa.com"
                                            target="_blank"><rhesa@lintasmediadanawa.com></a></td>
                                      </tr>
                                      <tr>
                                        <th align="RIGHT"
                                          nowrap="nowrap"
                                          valign="BASELINE">To: </th>
                                        <td><a moz-do-not-send="true"
                                            href="mailto:users@lists.opennebula.org"
                                            target="_blank">users@lists.opennebula.org</a>
                                          <a moz-do-not-send="true"
                                            href="mailto:users@lists.opennebula.org"
                                            target="_blank"><users@lists.opennebula.org></a>,
                                          Javier Fontan <a
                                            moz-do-not-send="true"
                                            href="mailto:jfontan@opennebula.org"
                                            target="_blank"><jfontan@opennebula.org></a></td>
                                      </tr>
                                    </tbody>
                                  </table>
                                  <br>
                                  <br>
                                  <pre>Guys,

We have plan to add a new storage box, Our existing storage :
/var/lib/one/datastore/0 = system
/var/lib/one/datastore/1 = image
/var/lib/one/datastore/2 = file
All type are from one storage box.

We did internal discuss and we get result with two options:

1. We add a new storage box as an image type and define it as 
/var/lib/one/datastore/3 = image2.

Or

2. We will distribute /var/lib/one/datastore/0 = system and 
/var/lib/one/datastore/2 = file to all nodes (all node are synced), then 
we add the new storage box as /var/lib/one/datastore/3 = image2
So with this second option, the nodes only mount two path from the 
storage box (/var/lib/one/datastore/1 = image [from existing storage 
box]  and /var/lib/one/datastore/3 = image2 [from new storage box]). All 
the images are persistent
Please give us some advise with pros and cons within this two options, 
thanks.

Rhesa
</pre>
                                  <br>
                                </div>
                                <br>
                              </div>
                            </div>
                          </div>
                          <br>
_______________________________________________<br>
                          Users mailing list<br>
                          <a moz-do-not-send="true"
                            href="mailto:Users@lists.opennebula.org"
                            target="_blank">Users@lists.opennebula.org</a><br>
                          <a moz-do-not-send="true"
                            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>
                      <br clear="all">
                      <div><br>
                      </div>
                      -- <br>
                      <div dir="ltr">
                        <div>Jaime Melis<br>
                          Project Engineer<br>
                          OpenNebula - Flexible Enterprise Cloud Made
                          Simple<br>
                          <a moz-do-not-send="true"
                            href="http://www.OpenNebula.org"
                            target="_blank">www.OpenNebula.org</a> | <a
                            moz-do-not-send="true"
                            href="mailto:jmelis@opennebula.org"
                            target="_blank">jmelis@opennebula.org</a></div>
                      </div>
                    </div>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            Users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
            <a moz-do-not-send="true"
              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>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div dir="ltr">
          <div>Jaime Melis<br>
            Project Engineer<br>
            OpenNebula - Flexible Enterprise Cloud Made Simple<br>
            <a moz-do-not-send="true" href="http://www.OpenNebula.org"
              target="_blank">www.OpenNebula.org</a> | <a
              moz-do-not-send="true" href="mailto:jmelis@opennebula.org"
              target="_blank">jmelis@opennebula.org</a></div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>