Robinhood Team,

I am trying to get a simple test configuration working, using
robinhood-2.4.3 to scan a Lustre-1.8.8 file system and start pulling
statistics out of it.  A scan --once of the file system seems to
complete fully, except that nothing ever makes it into the ENTRIES table.

Below are the commands I used.  Is there something obvious that I am
doing wrong, or can you provide suggestions of where to look for more
hints why it isn't working?

Thanks much,
Nathan


# rbh-config create_db lfstmp % `cat /etc/robinhood.d/.dbpassword`
secretpass

# robinhood -f lfstmp.conf --scan -C --once --partial-scan
/mnt/lfstmp/projects/jetmgmt
Using config file '/etc/robinhood.d/tmpfs/lfstmp.conf'.

# head robinhood_lfstmp.log
2013/11/12 22:02:12 robinhood@n448[2505/1]: CheckFS | /mnt/lfstmp is
under mountpoint /mnt/lfstmp, type=lustre,
fs=10.179.16.101@o2ib:10.179.16.102@o2ib:/lfstmp
2013/11/12 22:02:12 robinhood@n448[2505/1]: CheckFS | '/mnt/lfstmp'
matches mount point '/mnt/lfstmp', type=lustre,
fs=10.179.16.101@o2ib:10.179.16.102@o2ib:/lfstmp
2013/11/12 22:02:12 robinhood@n448[2505/1]: FSInfo | fs_key:
hash(fsname)=F305037F
2013/11/12 22:02:12 robinhood@n448[2505/1]: Main | Signal handler thread
started successfully
2013/11/12 22:02:12 robinhood@n448[2505/2]: SigHdlr | Signals SIGTERM
and SIGINT (daemon shutdown) are ready to be used
2013/11/12 22:02:12 robinhood@n448[2505/2]: SigHdlr | Signal SIGHUP
(config reloading) is ready to be used
2013/11/12 22:02:12 robinhood@n448[2505/2]: SigHdlr | Signal SIGUSR1
(stats dump) is ready to be used
2013/11/12 22:02:12 robinhood@n448[2505/1]: ListMgr | Logged on to
database 'lfstmp' successfully
2013/11/12 22:02:12 robinhood@n448[2505/1]: ListMgr | Checking database
schema
2013/11/12 22:02:12 robinhood@n448[2505/1]: ListMgr | SQL query: SHOW
COLUMNS FROM VARS

# tail robinhood_lfstmp.log
2013/11/12 22:02:19 robinhood@n448[2505/28]: ListMgr | Logged on to
database 'lfstmp' successfully
2013/11/12 22:02:19 robinhood@n448[2505/29]: ListMgr | Logged on to
database 'lfstmp' successfully
2013/11/12 22:02:19 robinhood@n448[2505/29]: ResMonitor | Checking
trigger #0 (never checked)
2013/11/12 22:02:19 robinhood@n448[2505/29]: ResMonitor | Filesystem
usage: 75.11% (22718693438 blocks) / high threshold: 99.00% (29944634860
blocks)
2013/11/12 22:02:19 robinhood@n448[2505/29]: ResMonitor | Filesystem
usage is under high threshold: nothing to do.
2013/11/12 22:02:19 robinhood@n448[2505/29]: ListMgr | SQL query: INSERT
INTO VARS (varname, value) VALUES ('MaxUsage', '75.11') ON DUPLICATE KEY
UPDATE value = '75.11'
2013/11/12 22:02:19 robinhood@n448[2505/29]: ResMonitor | Current usage
max is 75.11%
2013/11/12 22:02:19 robinhood@n448[2505/29]: ListMgr | Database
connection closed
2013/11/12 22:02:19 robinhood@n448[2505/1]: Main | ResourceMonitor
terminated its task
2013/11/12 22:02:19 robinhood@n448[2505/1]: Main | All tasks done! Exiting.


# rbh-report -i -f lfstmp.conf
Using config file '/etc/robinhood.d/tmpfs/lfstmp.conf'.

Total: 0 entries, 0 bytes (0)
[root@Jet:n448 robinhood]# rbh-report -a -f lfstmp.conf
Using config file '/etc/robinhood.d/tmpfs/lfstmp.conf'.

Filesystem scan activity:

    Current scan interval:   6.0h

    Last filesystem scan:
            status:          partial (/mnt/lfstmp/projects/jetmgmt)
            start:           2013/11/12 22:02:12
            end:             2013/11/12 22:02:19
            duration:        07s

         Statistics:
            entries scanned: 232748
            errors:          0
            timeouts:        0
            # threads:       12
            average speed:   35294.12 entries/sec

Storage unit usage max:   75.11%

No purge was performed on this filesystem


# mysql -D lfstmp -u robinhood -p

mysql> select * from ENTRIES;
Empty set (0.00 sec)


----- lfstmp.conf (cleaned up just a bit) -----

General
{
    fs_path = "/mnt/lfstmp" ;
    fs_type = "lustre" ;
    fs_key = fsname ;
}
Log
{
    debug_level = FULL;
}
ListManager
{
    commit_behavior = autocommit ;
    connect_retry_interval_min = 1 ;
    connect_retry_interval_max = 300 ;
    MySQL
    {
        db     = "lfstmp" ;
        server = "n448" ;
        user   = "robinhood" ;
        password_file = "/etc/robinhood.d/.dbpassword" ;
        innodb = enabled ;
    }
}
%include "includes/lfs_common.conf"


----- includes/lfs_common.conf -----

# How does this Log section augment/replace the earlier one?
Log
{
    debug_level = EVENT ;
    alert_mail = "root@localhost" ;
    stats_interval = 60min ;
    batch_alert_max = 50 ;
    alert_show_attrs = FALSE ;
}

EntryProcessor
{
    Alert       Too_many_entries_in_directory
    {
        type == directory
        and
        dircount > 10000
    }
    Alert       Large_file
    {
        type == file
        and
        size > 100GB
    }
    max_pending_operations = 10000 ;
}

FS_Scan
{
    scan_interval      =   6h ;
    nb_threads_scan        =     12 ;
    Ignore
    {
        type == directory
        and
        ( name == "lost+found" )
    }
}

# There has to be at least one trigger defined(?)
Purge_Trigger
{
    trigger_on = global_usage ;
    high_threshold_pct = 99% ;
    low_threshold_pct = 98% ;
    check_interval = 30d ;
}

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

Reply via email to