This guide will attempt to outline the use of the Open XDMoD ingestor command line utility. The ingestor is responsible for preparing data that has already been loaded by the shredder into the Open XDMoD databases so that is can be queried by the Open XDMoD portal. This process also includes aggregating the data in the Open XDMoD database to increase the performance of the queries performed by the Open XDMoD portal.
By default, the ingestor with process new job data entered into the Open XDMoD database whose end times are within the past 7 days.
The ingestor should be run after you have shredded your data. If you have multiple clusters, you may run the shredder multiple times followed by a single use of the ingestor.
To display the ingestor help text from the command line:
$ xdmod-ingestor -h
By default the Open XDMoD ingestor only outputs what it considers to be warnings, errors or notices. If you would like to see informational output about what is being performed, use the verbose option:
$ xdmod-ingestor -v
Debugging output is also available:
$ xdmod-ingestor --debug
Start and End Date
If you have changed any data in the Open XDMoD database it is necessary to re-ingest that data. This can be accomplished by specifying a start and end date, formatted as YYYY-MM-DD, that include the dates associated with the modified data.
$ xdmod-ingestor --start-date *start-date* --end-date *end-date*
Last Modified Start Date
When aggregating data use this date as the basis of what jobs to include. Only jobs ingested on or after this date will be aggregated This defaults to the start of the ingest and aggregation process.
$ xdmod-ingestor --last-modified-start-date *YYYY-MM-DD*