<div dir="ltr"><div><div><div><div><div><div>Hi!<br><br></div><div>Platform: Ubuntu 12.04 + KVM<br></div><div>Opennebula 4.6.1<br></div><div><br>I recently upgraded from opennebula 4.2 to 4.6.1 ending up in hosts not beeing monitored anymore. After some investigation I found out, that there is a new remote monitoring script, monitor_ds.sh.<br>
<br></div>I have a shared storage environment (some central Netapps sharing NFS) and so my question is: the script is executed on all the hosts, so all hosts run a du -sLm on all datastores and the base_path (/var/lib/on/datastores) which can consume quite some storage performance unnecessarily.<br>
<br></div>In my case hosts haven't been monitored at all, because there was a driectory containing millions of small files in one of the datastores (used as a temp location without thinking of the consequences) and du would never finish in time.<br>
<br></div>There are two questions: <br><br> - is it needed to check the datastores from every single host (if it is a shared environment and the opennebula server itself has access to the datastores)?<br><br></div> - why is the base_path checked at all? isn't it enough to check the datastores? there is du run on all the directories twice and du is very resource consuming ...<br>
<br></div>Is there a reason for this I am missing?<br><br></div>Thx, Armin<br><div><div><div><div><div><br clear="all"><div><div><div><div><div><div><br>-- <br><div dir="ltr"><p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;color:rgb(0,0,0);line-height:13pt">
<span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(77,77,77);letter-spacing:0.5pt">runtastische Grüße · runtastic regards</span></p><p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;color:rgb(0,0,0);line-height:13pt">
<span style="font-size:5.5pt;color:rgb(64,64,64);letter-spacing:0.5pt"> </span></p><p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;color:rgb(0,0,0);line-height:13pt"><b><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(0,105,209);letter-spacing:0.5pt">Armin Deliomini</span></b></p>
<p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><i><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(77,77,77);letter-spacing:0.5pt">Infrastructure engineer</span></i></p>
<p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><i><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(77,77,77);letter-spacing:0.5pt">Virtualization specialist<br>
</span></i></p><p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><i><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(77,77,77);letter-spacing:0.5pt">Storage engineer</span></i></p>
<p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><i><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(77,77,77);letter-spacing:0.5pt">DevOPS</span></i></p><p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;color:rgb(0,0,0)">
<i><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(77,77,77);letter-spacing:0.5pt">OPS<br></span></i></p><p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;color:rgb(0,0,0)">
<i><a href="http://www.runtastic.com" style="color:purple" target="_blank"><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(77,77,77);letter-spacing:0.5pt;text-decoration:initial"><img src="http://download.runtastic.com/signature/rt.png" alt="runtastic - makes sports funtastic" border="0" height="67" width="253"></span></a></i></p>
<p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;color:rgb(0,0,0);line-height:13pt"><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(127,127,127);letter-spacing:0.5pt">runtastic GmbH</span></p>
<p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;color:rgb(0,0,0);line-height:13pt"><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(127,127,127);letter-spacing:0.5pt">Pluskaufstraße 7 · Business Center</span></p>
<p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;color:rgb(0,0,0);line-height:13pt"><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(127,127,127);letter-spacing:0.5pt">4061 Pasching / Linz (Austria)</span></p>
<p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;color:rgb(0,0,0);line-height:13pt"><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(127,127,127);letter-spacing:0.5pt">Tel. +43(0)67689692450<br>
</span></p><p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;color:rgb(0,0,0);line-height:13pt"><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(127,127,127);letter-spacing:0.5pt">Fax. +43(0)7229.23327</span></p>
<p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;color:rgb(0,0,0);line-height:13pt"><a href="mailto:armin.deliomini@runtastic.com" style="color:rgb(0,105,209);text-decoration:initial;font-size:9pt;font-family:Arial,sans-serif;letter-spacing:0.5pt" target="_blank"><span style="font-size:9pt;letter-spacing:0.5pt">armin.deliomini@runtastic.com</span></a></p>
<p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;color:rgb(0,0,0);line-height:13pt"><a href="http://www.runtastic.com" style="color:rgb(0,105,209);text-decoration:initial;font-size:9pt;font-family:Arial,sans-serif;letter-spacing:0.5pt" target="_blank"><span style="font-size:9pt;letter-spacing:0.5pt">www.runtastic.com</span></a><span style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(64,64,64);letter-spacing:0.5pt"></span></p>
<p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;color:rgb(0,0,0);line-height:13pt"><span style="color:rgb(64,64,64)"> </span></p><p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;color:rgb(0,0,0)">
<a href="http://www.facebook.com/runtastic" style="color:purple" target="_blank"><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(77,77,77);letter-spacing:0.8pt;text-decoration:initial"><img src="http://download.runtastic.com/signature/fb.png" border="0" height="20" width="21"></span></a><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(77,77,77);letter-spacing:0.8pt">  </span><a href="http://www.twitter.com/runtastic" style="color:purple" target="_blank"><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(77,77,77);letter-spacing:0.8pt;text-decoration:initial"><img src="http://download.runtastic.com/signature/tw.png" border="0" height="20" width="20"></span></a><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(77,77,77);letter-spacing:0.8pt">  </span><span style="color:rgb(77,77,77);font-size:10pt;font-family:Arial,sans-serif;letter-spacing:0.8pt;text-decoration:initial"><a href="http://www.youtube.com/user/runtastic" style="color:purple" target="_blank"><img src="http://download.runtastic.com/signature/yt.png" border="0" height="20" width="21"></a></span></p>
</div>
</div></div></div></div></div></div></div></div></div></div></div></div>