On 07/07/14 10:32, Jean-Baptiste Denis wrote:
A scan is triggered only if robinhood daemon is started with --scan option.
Check your configuration, init script and init config file (probably
/etc/sysconfig/robinhood)
Aurélien, this is only the case for Lustre 2.x filesystems. For them the
default behavior is reading MDT changelogs.
In the case of other filesystems, robinhood triggers a scan when starting.
Is it so annoying, given that you don't have to change the RPM hourly or
daily :) ?
Regards
This is not what I observe :/
Here is the situation:
$ ps faux|grep -e [r]bh -e [r]obinhood
root 2087 15.8 7.9 1779924 640524 ? Ssl Jul05 422:49
/usr/sbin/robinhood -d -f /etc/robinhood.d/tmpfs/atlas_projets.conf -p
/var/run/rbh.atlas_projets
$ rbh-report -a
...
Last filesystem scan:
status: done
start: 2014/07/05 13:57:07
end: 2014/07/06 19:17:52
duration: 1d 5h 20min 45s
...
$ cat /etc/sysconfig/robinhood
# directory of configuration files for this service
#RH_CONF_DIR=/etc/robinhood.d/tmpfs
# current directory where the daemon is started
#RH_RUN_DIR=/
# path to robinhood command
#DAEMON=/usr/sbin/robinhood
# options for starting the daemon
# eg. --scan --purge (leave empty for default actions).
RBH_OPT=""
Let's stop the robinhood service:
$ sudo /etc/init.d/robinhood stop
Stopping Robinhood for /etc/robinhood.d/tmpfs/atlas_projets[ OK ].
Checking process status ... [ OK ]
$ ps faux|grep -e [r]bh -e [r]obinhood
$
We start it again:
$ /etc/init.d/robinhood start
Starting Robinhood for /etc/robinhood.d/tmpfs/atlas_projets.conf [ OK ]
Checking process status... [ OK ]
$ ps faux|grep -e [r]bh -e [r]obinhood
root 11084 3.3 2.5 1273524 203104 ? Ssl 10:25 0:01
/usr/sbin/robinhood -d -f /etc/robinhood.d/tmpfs/atlas_projets.conf -p
/var/run/rbh.atlas_projets
But when I look at the rbh-report -a output, a scan has been trigerred :
$ rbh-report -a
....
Last filesystem scan:
status: running
start: 2014/07/07 10:25:29 (59s ago)
last action: 2014/07/07 10:25:29 (59s ago)
I'm using the init script from the rpm package. There is no RBH_OPT set inside.
Some information:
$ yum list installed |grep robinhood
robinhood-adm.x86_64 2.5.2-1.noarch @/robinhood-adm-2.5.2-1.noarch.x86_64
robinhood-tmpfs.x86_64 2.5.2-1.el6 @/robinhood-tmpfs-2.5.2-1.el6.x86_64
robinhood-webgui.x86_64 2.5.0-1.noarch @/robinhood-webgui-2.5.0-1.noarch.x86_64
$ rbh-report -V
Product: robinhood reporting tool
Version: 2.5.2-1
Build: 2014-05-21 13:51:54
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
robinhood-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/robinhood-support
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
robinhood-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/robinhood-support