Robinhood Team,
Without any Purge_Trigger entries, and even after a full scan,
"rbh-report -a" gives an error: "Storage usage has never been checked".
I'm not sure if this is a bug or a configuration problem on my side or
just missing documentation of the behavior. I'm setting up a very
simple test configuration for now, using robinhood-2.4.3 to scan a
Lustre-1.8.8 file system and start pulling statistics out of it.
>From what I can determine from the source, the output message appears to
be because the "USAGE_MAX_VAR" database variable is never initialized.
That variable is only set in
"src/policy_modules/purge/resmon_triggers.c" in the trigger_check_thr()
subroutine, which is called from Start_ResourceMonitor().
Unfortunately, that routine is only called when purging. Even if using
the "--check-thresholds" option to the robinhood daemon,
Start_ResourceMonitor() has a check at the top of it which fails for our
"simple" configuration, as you can see in the logs:
2013/11/09 17:12:52 robinhood@n448[7493/1]: ResMonitor | No purge
trigger defined in configuration file... Disabling automatic purges.
I believe I have worked around the problem by adding the following
configuration:
Purge_Trigger
{
trigger_on = global_usage ;
high_threshold_pct = 99% ;
low_threshold_pct = 98% ;
check_interval = 30d ;
}
...and then re-running robinhood with the check thresholds option:
# robinhood -f lfstmp.conf --scan -C --once -d
Can you please confirm what the behavior should be?
As it stands now, I don't believe the "Run your first Robinhood
instance" section of the Configuration Tutorial doc works quite as written.
Sorry if I missed something obvious!
Thanks,
Nathan
--
Nathan Dauchy
NOAA R&D HPCS, Senior Systems Engineer
325 Broadway, MS R-GSD2, Boulder, CO 80305
303-497-4675 office, 303-482-7377 mobile
[email protected]
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
robinhood-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/robinhood-support