<div dir="ltr">Hi there,<div><br></div><div>On Tue, Nov 26, 2013 at 9:48 AM, 曹海峰 <span dir="ltr"><<a href="mailto:caohf@wedogame.com" target="_blank">caohf@wedogame.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">
<u></u><div style="margin:10px"><div>Thanks for replay!</div><div>But if I use a shared folder ,such as /var/lib/datastore/1/ on host A and mount it on all hosts in a cluster. the whole storage capacity is very small,Opennebula can't use other hosts's disk space.?</div>
</div></blockquote></div><div><br></div><div>On Tue, Nov 26, 2013 at 9:53 AM, Kenneth <span dir="ltr"><<a href="mailto:kenneth@apolloglobal.net" target="_blank">kenneth@apolloglobal.net</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">
<u></u><div style="font-family:Verdana,Geneva,sans-serif"><p>You can of course. But it is up to you to monitor.</p></div></blockquote><div>Not in OpenNebula 4.4 :)</div><div>Local (ssh) system datastores are also monitored, but the storage is reported for each host: in the onehost show output, or selecting the host in Sunstone.</div>
</div><div><br></div><div>Best regards.</div><div class="gmail_extra"><div><div dir="ltr">--<br><div>Carlos Martín, MSc<br>Project Engineer</div><div>OpenNebula - Flexible Enterprise Cloud Made Simple<br><div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a 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 href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
</div></div></div>
<br><br><div class="gmail_quote">On Tue, Nov 26, 2013 at 9:53 AM, Kenneth <span dir="ltr"><<a href="mailto:kenneth@apolloglobal.net" target="_blank">kenneth@apolloglobal.net</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">
<u></u>
<div style="font-family:Verdana,Geneva,sans-serif">
<p>You can of course. But it is up to you to monitor. And using storage on different hosts will cause the VMs to be copied via scp which is pretty slow.</p>
<p>Another way to have a large storage is to remove other drives on the nodes (or use small drives in them) and then plug big capacity drives on the main NFS node. I mean put everything on the host A and let other have a small hard drive just enough for the OS itself.</p>
<div class="im">
<p>---</p>
<div>
<pre><span style="font-size:small;font-family:verdana,geneva"><span style="font-size:x-small;font-family:helvetica">Thanks,
Kenneth</span><br><span style="font-size:x-small;font-family:helvetica">Apollo Global Corp.</span><br></span></pre>
</div>
</div><div><div class="h5"><p>On 11/26/2013 04:48 PM, 曹海峰 wrote:</p>
<blockquote type="cite" style="padding-left:5px;border-left-color:rgb(16,16,255);border-left-width:2px;border-left-style:solid;margin-left:5px;width:100%">
<div>Thanks for replay!</div>
<div>But if I use a shared folder ,such as /var/lib/datastore/1/ on host A and mount it on all hosts in a cluster. the whole storage capacity is very small,Opennebula can't use other hosts's disk space.?</div>
<div> </div>
<div> </div>
<hr style="width:210px;min-height:1px" align="left" size="1">
<div>
<div><span style="font-size:10.5pt"> Best Wishes!</span></div>
<div><span style="font-size:10.5pt"> Dennis</span></div>
</div>
<div> </div>
<div style="border-width:1pt medium medium;border-style:solid none none;padding:3pt 0cm 0cm;border-top-color:rgb(181,196,223)">
<div style="font-size:12px;background-color:rgb(239,239,239);padding:8px">
<div><strong>From:</strong> <a href="mailto:users-bounces@lists.opennebula.org" target="_blank">users-bounces@lists.opennebula.org</a></div>
<div><strong>Date:</strong> <a href="tel:2013-11-26%C2%A016" value="+12013112616" target="_blank">2013-11-26 16</a>:27</div>
<div><strong>To:</strong> <a href="mailto:users@lists.opennebula.org" target="_blank">users@lists.opennebula.org</a></div>
<div><strong>Subject:</strong> Re: [one-users] How do i know the cluster's datastore's capacity?</div>
</div>
</div>
<div>
<div>
<p>That's because you are not using a shared folder for all hosts. A better way to do it is to make the /var/lib/datastore/1/ folder on the sunstone as a NFS folder and then mount it all other hosts on the same location /var/lib/datastore/1/. This will enable you to do live migrations and very fast deployment of vms.</p>
<div>---<br>
<pre><span style="font-family:verdana,geneva;font-size:small"><span style="font-size:x-small;font-family:helvetica">Thanks,
Kenneth</span><br><span style="font-size:x-small;font-family:helvetica">Apollo Global Corp.</span><br></span></pre>
</div>
<p>On 11/26/2013 04:17 PM, caohf wrote:</p>
<blockquote style="border-left-color:rgb(16,16,255);border-left-width:2px;border-left-style:solid;padding-left:5px;width:100%;margin-left:5px">
<div>Dear all:</div>
<div style="text-indent:2em">How do i get the whole capacity for a cluster's datastores,</div>
<div style="text-indent:2em">I have two hosts in a cluster, every host has 100GB space for /var/lib/datastore.</div>
<div style="text-indent:2em">In sunstone i find the capacity of cluster only display the capacity of host where the sunstone deployed.</div>
<div> </div>
<hr style="width:210px;min-height:1px" align="left" size="1">
<div>
<div><span style="font-size:10.5pt"> Best Wishes!</span></div>
<div><span style="font-size:10.5pt"> Dennis</span></div>
</div>
<br>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a>
<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>
</div>
</div>
<br>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a>
<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>
</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>