That worked pretty well in that I got more data than I ever have before by a lot. It only goes back about 18 days, but I'm not sure why. The slurmdbd.conf back then contained no directives on retaining logs, which is supposed to mean it defaults to retaining them indefinitely. On another test cluster it shows records back 2 days, which is about when I started fiddling with the settings. Could that have wiped the previous records, if they existed, or have my changes started the saving of older data. Still, this is progress.
Erik ________________________________ From: slurm-users <slurm-users-boun...@lists.schedmd.com> on behalf of Sebastian T Smith <stsm...@unr.edu> Sent: Thursday, November 12, 2020 2:32 PM To: slurm-users@lists.schedmd.com <slurm-users@lists.schedmd.com> Subject: Re: [slurm-users] can't lengthen my jobs log Hi John, Have you tried specifying a start time? The default is 00:00:00 of the current day (depending on other options). Example: sacct -S 2020-11-01T00:00:00 Our accounting database retains all job data from the epoch of our system. Best, Sebastian -- [University of Nevada, Reno]<http://www.unr.edu/> Sebastian Smith High-Performance Computing Engineer Office of Information Technology 1664 North Virginia Street MS 0291 work-phone: 775-682-5050<tel:7756825050> email: stsm...@unr.edu<mailto:stsm...@unr.edu> website: http://rc.unr.edu<http://rc.unr.edu/> ________________________________ From: slurm-users <slurm-users-boun...@lists.schedmd.com> on behalf of john abignail <abignailj...@gmail.com> Sent: Thursday, November 12, 2020 12:57 PM To: slurm-users@lists.schedmd.com <slurm-users@lists.schedmd.com> Subject: [slurm-users] can't lengthen my jobs log Hi, My jobs database empties after about 1 day. "sacct -a" returns no results. I've tried to lengthen that, but have been unsuccessful. I've tried adding the following to slurmdbd.conf and restarting slurmdbd: ArchiveJobs=yes PurgeEventAfter=1month PurgeJobAfter=12month PurgeResvAfter=1month PurgeStepAfter=1month PurgeSuspendAfter=1month PurgeTXNAfter=12month PurgeUsageAfter=24month No job archives appear (in the default /tmp dir) either. What I'd like to do is have the slurm database retain information on jobs for at least a few weeks, writing out data beyond that threshold to files, but mainly I just want to keep job data in the database for longer. Regards, John