<div dir="ltr"><div class="gmail_default" style="font-size:small">hi,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">any idea on this?</div><div class="gmail_default" style="font-size:small">

<br></div><div class="gmail_default" style="font-size:small">part of that, is /var/lib/one/datastores not necessary export from frontend?</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 19, 2013 at 11:23 AM, Amier Anis <span dir="ltr"><<a href="mailto:mymabma@gmail.com" target="_blank">mymabma@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-size:small"><b>Hi Ruben,</b></div><div style="font-size:small"><br></div><div style="font-size:small">

Thanks give some explanation. Just to ensure I have same picture and understand your words.</div>
<div style="font-size:small"><div><ol><li>I'm planned to use GlusterFS or iSCSI (openfiler) for both my datastore 1 and 2.</li><li>Do you mean default and system (0 and 1) can be expand to external storage?</li>
<li>Is that mean when I use ID 100 for datastore1 (192.168.1.11) then datastore2 (192.168.8.12) must be use ID 101 or must use same ID 100?</li></ol><div>Is the structure look like this?</div></div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">


<div>​/var/lib/one/datastore/0    <-- default created by OpenNebula | default internal storage or can expand to external storage</div><div>​/var/lib/one/datastore/1    <-- default created by OpenNebula | default inernal storage or can expand to external storage</div>


<div>​/var/lib/one/datastore/101   <---- mount point from datastore 1</div><div>​/var/lib/one/datastore/102   <---- mount point from datastore 2</div></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">


<div><br></div></blockquote><div class="gmail_extra">Thanks you.<span class="HOEnZb"><font color="#888888"><br><div><p><br><br><br><b>.: Amier Anis :.</b><br></p></div></font></span><div><div class="h5"><div class="gmail_quote">

On Thu, Sep 19, 2013 at 3:19 AM, Ruben S. Montero <span dir="ltr"><<a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</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 dir="ltr">Hi<div><br></div><div>So I assume that you have 2 different NFS shares (or equivalent):</div>


<div><br></div><div>About Mount Points</div><div><br></div><div>They **must** use the same ID as the one assigned by OpenNebula. So if you want datastore with ID 100 be backed by datastore1 (192.168.8.11), then you must mount the volume on <div style="font-size:small;display:inline">


​​</div>/var/lib/one/datastore/100. Same apply to 0,1 default and system datastores created by OpenNebula by default.</div>

<div><br></div><div>About Datastore Types and Usage<br></div><div><br></div><div>There are two types of Datastores: Images where you usually store base images (e.g. default ID:1) and system where the VMs run from (e.g. system ID:0). And there are three types of images: persistent no copy from image to system datastores (link); no-persistent images are copied (cloned) to the system datastore; and volatile disks, always created in the datastore.</div>




<div><br></div><div>Summary, register an image (oneimage create) will take space from your image DS, deploying a vm (onevm deploy) will take space from your system DS. How much space? It depends on the image (persistent vs non-persistent) and the format raw vs qcow2.</div>




<div><br></div><div>You  also need to consider that checkpoints (suspend/stop a VM) will generate a checkpoint file to be stored also in the system DS</div><div><br></div><div><br></div><div>Hope you can now plan better your storage.</div>




<div><br></div><div>Cheers</div><div><br></div><div>Ruben</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Wed, Sep 18, 2013 at 4:18 PM, Amier Anis <span dir="ltr"><<a href="mailto:mymabma@gmail.com" target="_blank">mymabma@gmail.com</a>></span> wrote:<br>




</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><div dir="ltr"><div style="font-size:small">


Guys,</div><div style="font-size:small">

<br></div><div style="font-size:small">any suggestion or advise. really need your help.</div><div><div>

<div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 17, 2013 at 7:41 PM, Amier Anis <span dir="ltr"><<a href="mailto:mymabma@gmail.com" target="_blank">mymabma@gmail.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 dir="ltr"><div style="font-size:small">Hi,</div><div style="font-size:small"><br></div><div style="font-size:small">I would like to know how I should implement the datastore if I have 2 different size of storage but with same datastore types (shared FS). As I know I need to I need to mount the target datastore to very hosts. </div>







<div style="font-size:small"><br></div><div style="font-size:small">However, I little bit confuse on the datastore structure and where to mount the the first datastore1 (192.168.8.11) and 2nd datastore2 (192.168.8.12). Is that correct if i mount the datastore like this at every node?</div>







<div style="font-size:small"><br></div><div style="font-size:small"><b>Method 1</b></div><div style="font-size:small"><ol><li>datastore1 to /var/lib/one/datastore/0<br>
</li><li>datastore2 to /var/lib/one/datastore/1<br></li></ol><div>or i need to like this</div><div><br></div><div><b>Method 2</b></div><div><ol><li>datastore1 to /var/lib/one/datastore/1<br></li><li>datastore2 to /var/lib/one/datastore/2</li>







</ol></div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div style="font-size:small"><div><div>Is the /var/lib/one/datastore/0 is for frontend use? how much space we need if we have 1TB of datastore or VM?</div>







</div></div></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div style="font-size:small"><div>Is there any specfic number that I must use and cannot use to mount the datastore?</div>
</div></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div style="font-size:small"><div>How do i set the additional datastore?</div></div></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">







<div style="font-size:small"><div><br></div></div></blockquote><div style="font-size:small"><div>Hope you can advise further.<br></div></div><div style="font-size:small">
<br></div><div style="font-size:small">OpenNebula : 4.x<br></div><div style="font-size:small">OpenNebula Sunstone : 192.168.8.10</div><div style="font-size:small">
Storage 1 / Datastore 1 : 192.168.8.11<br></div><div style="font-size:small">Storage 2 / Datastore 2 : 192.168.8.12<br></div><div style="font-size:small"><br></div><div style="font-size:small">
Your kind assistant is highly sought.</div><div><p>Thanks you.<br><br>Regards & Best Wishes,<br><br><br><b>.: Amier Anis :.</b></p></div>
</div>
</blockquote></div><br></div></div></div></div>
<br></div></div>_______________________________________________<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</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><span><font color="#888888"><div dir="ltr"><div><div><div>-- </div><div>Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013</div></div>
<div>-- </div></div>Ruben S. Montero, PhD<br>

Project co-Lead and Chief Architect<br>OpenNebula - The Open Source Solution for Data Center Virtualization<br><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</div>





</font></span></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div>