Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
6dd16b97
Commit
6dd16b97
authored
14 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
update documentation for slurmdbd.conf
parent
0ca8f266
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/man/man5/slurmdbd.conf.5
+20
-11
20 additions, 11 deletions
doc/man/man5/slurmdbd.conf.5
src/plugins/accounting_storage/mysql/as_mysql_rollup.c
+1
-1
1 addition, 1 deletion
src/plugins/accounting_storage/mysql/as_mysql_rollup.c
with
21 additions
and
12 deletions
doc/man/man5/slurmdbd.conf.5
+
20
−
11
View file @
6dd16b97
.TH "slurmdbd.conf" "
5
" "
February
200
9
" "slurmdbd.conf 2.
0
" "Slurm configuration file"
.TH "slurmdbd.conf" "
19
" "
August
20
1
0" "slurmdbd.conf 2.
2
" "Slurm configuration file"
.SH "NAME"
.SH "NAME"
slurmdbd.conf \- Slurm Database Daemon (SlurmDBD) configuration file
slurmdbd.conf \- Slurm Database Daemon (SlurmDBD) configuration file
...
@@ -23,23 +23,30 @@ The overall configuration parameters available include:
...
@@ -23,23 +23,30 @@ The overall configuration parameters available include:
.TP
.TP
\fBArchiveDir\fR
\fBArchiveDir\fR
If ArchiveScript is not set the slurmdbd will generate a
text
file that can be
If ArchiveScript is not set the slurmdbd will generate a file that can be
read in anytime with sacctmgr load filename. This directory is where the
read in anytime with sacctmgr load filename. This directory is where the
file will be placed archive has ran. Default is /tmp.
file will be placed archive has ran. Default is /tmp. The format for this
files name is
$ArchiveDir/$ClusterName_$ArchiveObject_archive_$BeginTimeStamp_$endTimeStamp
.TP
.TP
\fBArchiveEvents\fR
\fBArchiveEvents\fR
Boolean, yes to archive event data, no other wise. Default is no.
When purging events also achive them. Boolean, yes to archive event data,
no other wise. Default is no.
.TP
.TP
\fBArchiveJobs\fR
\fBArchiveJobs\fR
Boolean, yes to archive job data, no other wise. Default is no.
When purging jobs also achive them. Boolean, yes to archive job data,
no other wise. Default is no.
.TP
.TP
\fBArchiveScript\fR
\fBArchiveScript\fR
This script is executed periodically in order to transfer accounting
This script can be executed every time a rollup happens (every hour,
records out of the database into an archive. The script is executed
day and month), depending on the Purge*After options. This script is used
with a no arguments, The following environment variables are set.
to transfer accounting records out of the database into an archive. It is
used in place of the internal process used to acrhive objects.
The script is executed with a no arguments, The following environment
variables are set.
.RS
.RS
.TP
.TP
\fBSLURM_ARCHIVE_EVENTS\fR
\fBSLURM_ARCHIVE_EVENTS\fR
...
@@ -70,11 +77,13 @@ Time of last suspend start to archive.
...
@@ -70,11 +77,13 @@ Time of last suspend start to archive.
.TP
.TP
\fBArchiveSteps\fR
\fBArchiveSteps\fR
Boolean, yes to archive step data, no other wise. Default is no.
When purging steps also achive them. Boolean, yes to archive step data,
no other wise. Default is no.
.TP
.TP
\fBArchiveSuspend\fR
\fBArchiveSuspend\fR
Boolean, yes to archive suspend data, no other wise. Default is no.
When purging suspend data also achive it. Boolean, yes to archive
suspend data, no other wise. Default is no.
.TP
.TP
\fBAuthInfo\fR
\fBAuthInfo\fR
...
@@ -358,7 +367,7 @@ StorageType=accounting_storage/mysql
...
@@ -358,7 +367,7 @@ StorageType=accounting_storage/mysql
StorageUser=database_mgr
StorageUser=database_mgr
.SH "COPYING"
.SH "COPYING"
Copyright (C) 2008 Lawrence Livermore National Security.
Copyright (C) 2008
-2010
Lawrence Livermore National Security.
Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
CODE\-OCEC\-09\-009. All rights reserved.
CODE\-OCEC\-09\-009. All rights reserved.
.LP
.LP
...
...
This diff is collapsed.
Click to expand it.
src/plugins/accounting_storage/mysql/as_mysql_rollup.c
+
1
−
1
View file @
6dd16b97
...
@@ -1023,7 +1023,7 @@ end_it:
...
@@ -1023,7 +1023,7 @@ end_it:
/* go check to see if we archive and purge */
/* go check to see if we archive and purge */
if
(
rc
==
SLURM_SUCCESS
)
if
(
rc
==
SLURM_SUCCESS
)
rc
=
_process_purge
(
mysql_conn
,
cluster_name
,
archive_data
,
rc
=
_process_purge
(
mysql_conn
,
cluster_name
,
archive_data
,
SLURMDB_PURGE_HOURS
);
SLURMDB_PURGE_HOURS
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment