[one-users] monitor_ds.sh in a shared storage environement

Armin Deliomini armin.deliomini at runtastic.com
Fri Jun 6 05:57:21 PDT 2014


Hi!

Platform: Ubuntu 12.04 + KVM
Opennebula 4.6.1

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.

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.

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.

There are two questions:

 - 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)?

 - 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 ...

Is there a reason for this I am missing?

Thx, Armin


-- 

runtastische Grüße · runtastic regards



*Armin Deliomini*

*Infrastructure engineer*


*Virtualization specialist*

*Storage engineer*

*DevOPS*


*OPS*

*[image: runtastic - makes sports funtastic] <http://www.runtastic.com>*

runtastic GmbH

Pluskaufstraße 7 · Business Center

4061 Pasching / Linz (Austria)

Tel. +43(0)67689692450

Fax. +43(0)7229.23327

armin.deliomini at runtastic.com

www.runtastic.com



<http://www.facebook.com/runtastic>   <http://www.twitter.com/runtastic>
<http://www.youtube.com/user/runtastic>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140606/99e516e9/attachment.htm>


More information about the Users mailing list