Like many HPC sites, we are requested to generate utilization reports for oversight and accounting. However, our utilization can be strongly influenced by use, and overuse, of human intervention into the scheduling system - especially in the form of reservations. Unfortunately, reservations only appear to be a feature of the transient state or an attribute of a specific job which ran in the reservation. Is it possible to cause a reservation to be recorded directly into the accounting system, so that it could be included in the utilization as a discrete time-bound event, similar to a job? Alternatively, is there a reservation plugin API where we could implement whatever, possibly changing, requirements for reporting of reservations match our current oversight?
Hi You can take this data using sacctmgr eg.: sacctmgr show resv where start=2017-08-01 We don't have dedicated plug-in for it, but you can use ResvProlog,ResvEpilog. From slurm.conf man: ResvEpilog Fully qualified pathname of a program for the slurmctld to exe‐ cute when a reservation ends. The program can be used to cancel jobs, modify partition configuration, etc. The reservation named will be passed as an argument to the program. By default there is no epilog. ResvProlog Fully qualified pathname of a program for the slurmctld to exe‐ cute when a reservation begins. The program can be used to can‐ cel jobs, modify partition configuration, etc. The reservation named will be passed as an argument to the program. By default there is no prolog. Dominik
Hi Also sreport can be used to show reservation accounting data, eg.: sreport -a reservation Utilization sreport generating reports includes unused reservation time to Accounts. also maintenance reservations are properly ascribed to planned down time. If you describe exactly what you need maybe I can give you more precise solutions. Dominik
(In reply to Dominik Bartkiewicz from comment #4) > Hi > > Also sreport can be used to show reservation accounting data, > eg.: sreport -a reservation Utilization > sreport generating reports includes unused reservation time to Accounts. > also maintenance reservations are properly ascribed to planned down time. > If you describe exactly what you need maybe I can give you more precise > solutions. > > Dominik This addresses our immediate needs. Our general goal is to be able to generate reports that distinguish between planned and unplanned down time. Please feel free to close this. If we need additional functionality we will check back in with you.