Using → Shredder Guide
This guide will attempt to outline the use of the Open XDMoD shredder command line utility. The shredder is responsible for loading data from resource manager log files into the Open XDMoD databases. If you are running Slurm, you should first read the Slurm Notes.
In order to make data available to the Open XDMoD portal you will need to use the shredder utility. If you followed the install guide, you will have already used the shredder to populate your database. In addition to the install process, this program is typically used once a day to add jobs from the previous day to the database.
To display the shredder help text from the command line:
$ xdmod-shredder -h
By default the Open XDMoD shredder only outputs what it considers to be warnings or errors. If you would like to see informational output about what is being performed, use the verbose option:
$ xdmod-shredder -v ...
Debugging output is also available:
$ xdmod-shredder --debug ...
You must specify a resource name (the name of your cluster) during the shredding process. This name must match the name that you provided during the setup process. When using Slurm this name must match the cluster name.
$ xdmod-shredder -r mycluster ...
You must specify the format of the log files to be shredded. For HPC job accounting data, the format depends upon the resource manager. For cloud data the format should match that of the event logs. There is only one supported format for storage data.
$ xdmod-shredder -f pbs ... $ xdmod-shredder -f sge ... $ xdmod-shredder -f uge ... $ xdmod-shredder -f slurm ... $ xdmod-shredder -f lsf ...
The shredder accepts two different types of cloud data,
The convention for shredding cloud files is identical to job data:
$ xdmod-shredder -f genericcloud ... $ xdmod-shredder -f openstack ...
The shredder accepts one format for storage data. See the Storage Metrics documentation for an example. The convention for shredding storage files is identical to job data:
$ xdmod-shredder -f storage ...
Files may be shredded one at a time by running the following command. Please note that this is not currently supported for cloud and storage files:
$ xdmod-shredder -i file ...
An entire directory of files may be shredded. For all job formats other than
pbs (see PBS Notes for details) this will shred
every file in the directory. Cloud and storage files must end in
$ xdmod-shredder -d directory ...