<div dir="ltr">Hi,<div><br></div><div class="gmail_extra"><div class="gmail_quote">On Mon, Sep 22, 2014 at 12:18 PM, Pentium100 <span dir="ltr"><<a href="mailto:pentium100@gmail.com" target="_blank">pentium100@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><div><div><div><div>Hello,<br><br></div>I am testing OpenNebula with local storage (local SSDs are faster than shared storage), however, I do not understand how (and if) OpenNebula monitors the available free space in each hypervisor.<br><br></div>Let's say I add "filesystem" datastore with "ssh" TM. It looks to me like only the free space on the control node is monitored, while hoping the the hypervisors have enough space on them. So, if one HV has some resources left but the storage is full how will it know not to create new VMs there?<br><br></div>Now, I could add each hypervisor as a separate datastore, but I do not see a way to associate "data store X is dedicated to hypervisor X", or OpenNebula would try to create VMs on HV1 with storage on HV2.<br><br></div>Is there a way to make OpenNebula monitor each hypervisor and its free space?</div></div></blockquote><div><br></div><div>OpenNebula is already monitoring the ssh (local) datastores. The information is gathered by the host monitoring probes (IM drivers), and is stored inside each host resource. What may be a bit confusing is that you need to go to the individual host information (through sunstone or with onehost show) to see the local datastore free space. And, of course, the scheduler uses this information to determine if a VM will fit in a host before deploying it.</div><div><br></div><div>There is one more detail worth mentioning. Before the datastore dir is created (e.g. /var/lib/one/datastores/100), the monitorization will provide information for the parent directory. So it may happen that you won't see the free space of a local datastore until the first VM is deployed there. During this time, the scheduler also uses the parent dir free space to determine the VM storage placement.</div><div><br></div><div>Best regards.</div><div>--<br></div><div><div dir="ltr"><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" target="_blank" style="color:rgb(42,93,176)"></a></span></div></div></div></div><div> </div></div><br></div></div>