This page describes various monitoring tools used for the Fermi Xrootd cluster.
Table of Contents | ||||||
---|---|---|---|---|---|---|
|
Twice a day a cron job runs on each xrootd data server and obtains the disk usage of that server. These values are written to files in nfs and a trscrontab job creates the webpage with the current
free diskspace
The cronjob, running in crontab on each xrootd data server, is
/opt/xrootd/admin/mon_diskspace.sh
It collects the total and free diskspcae as well as the inode usage for ufs file systems (zfs has no inode restrictions).
The disk usage is stored in files:
...
/nfs/farm/g/glast/
...
u18/xrootd/
...
hpss/
...
where server is the server name and YYYYMM is the year and month the values were collected. For example
.bq /nfs/farm/g/glast/u15/xrootd/diskspace/df_wain020_200806
contains all disk usage values for wain021 for Juni, 2008.
Each line in these files shows the disk usage for a particular date. The format is:
Wiki Markup |
---|
bd. DF <date> <server> <totalSpace> <freeSpace> <%Used> \[<inodesFree> <%inodesFree>\] |
...
Contains the listing of files in HPSS. The current format is hl_<topdir><date> where <topdir> is the directory below all files are listed. The common _/glast prefix is omitted. The listing contains filename, the size of a file in bytes and the date the file was put into HPSS. The date format is YYYYMMDDHHMMSS.file_listing/