| Summary: | Reservations recorded in accounting system | ||
|---|---|---|---|
| Product: | Slurm | Reporter: | S Senator <sts> |
| Component: | Accounting | Assignee: | Dominik Bartkiewicz <bart> |
| Status: | RESOLVED INFOGIVEN | QA Contact: | |
| Severity: | 4 - Minor Issue | ||
| Priority: | --- | CC: | bart |
| Version: | 17.02.6 | ||
| Hardware: | Linux | ||
| OS: | Linux | ||
| Site: | LANL | Alineos Sites: | --- |
| Atos/Eviden Sites: | --- | Confidential Site: | --- |
| Coreweave sites: | --- | Cray Sites: | --- |
| DS9 clusters: | --- | HPCnow Sites: | --- |
| HPE Sites: | --- | IBM Sites: | --- |
| NOAA SIte: | --- | OCF Sites: | --- |
| Recursion Pharma Sites: | --- | SFW Sites: | --- |
| SNIC sites: | --- | Linux Distro: | --- |
| Machine Name: | CLE Version: | ||
| Version Fixed: | Target Release: | --- | |
| DevPrio: | --- | Emory-Cloud Sites: | --- |
|
Description
S Senator
2017-08-17 12:44:51 MDT
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. |