On 09/27/2018 05:12 PM, Christopher Benjamin Coffey wrote:> 2.
Purge/archive unneeded jobs/steps before the upgrade, to make the
upgrade as quick as possible:
slurmdbd.conf:
ArchiveDir=/common/adm/slurmdb_archive
ArchiveEvents=yes
ArchiveJobs=yes
ArchiveSteps=no
ArchiveResvs=no
ArchiveSuspend=no
PurgeEventAfter=1month
PurgeJobAfter=6months
PurgeResvAfter=2month
PurgeStepAfter=6months
PurgeSuspendAfter=2month
I haven't seen any discussion or annotated examples of best practices
for the Archive* and Purge* parameters in slurmdbd.conf. The
description and example (at the end) in
https://slurm.schedmd.com/slurmdbd.conf.html is really terse.
Does anyone have a good explanation of usage of the Archive and Purge
features for the Slurm database? For example, how can the archived data
be used for accounting etc.?
Thanks,
Ole