If you had older than 6 month data I would expect it to purge on restart
of the slurmdbd. You will see a message in the log when the archive
file is created.
On 03/06/2015 09:58 AM, Paul Edmon wrote:
Okay, that's what I suspected. We set it to 6 months. So I guess
then the purge will happen on April 1st.
-Paul Edmon-
On 03/06/2015 12:33 PM, Danny Auble wrote:
Paul, do you have Purge* set up in the slurmdbd.conf? Archiving
takes place during the Purge process. If no Purge values are set
archiving will never take place since nothing is ever purged. When
Purge values are set the related archivings take place on an hourly,
daily, and monthly basis depending on the units your purge values are
set to.
If PurgeJobs=2months the archive would take place at the beginning of
each month. If it were set to 2hours it would happen each hour. The
purge will also happen on slurmdbd startup as well if running things
for the first time.
Danny
On 03/06/2015 08:20 AM, Paul Edmon wrote:
So we recently turned this on to archive jobs older than 6 months.
However when we restarted slurmdbd nothing happened, at least no
file was deposited at the specified archive location. Is there a way
to force it to purge? When is the archiving scheduled to be done?
We definitely have jobs older than 6 months in the database, I'm
just curious about the schedule of when the archiving is done.
-Paul Edmon-