slurmdbd - Man Page
Slurm Database Daemon.
Examples (TL;DR)
Synopsis
slurmdbd [Options...]
Description
slurmdbd provides a secure enterprise-wide interface to a database for Slurm. This is particularly useful for archiving accounting records.
Options
- -D
Run slurmdbd in the foreground with logging copied to stdout.
- -h
Help; print a brief summary of command options.
- -n <value>
Set the daemon's nice value to the specified value, typically a negative number.
- -R[comma separated cluster name list]
Reset the lft and rgt values of the associations in the given cluster list. Lft and rgt values are used to distinguish hierarchical groups in the slurm accounting database. This option should be very rarely used.
- -s
Change working directory of slurmdbd to LogFile path if possible, or to /var/tmp otherwise.
- -v
Verbose operation. Multiple v's can be specified, with each 'v' beyond the first increasing verbosity, up to 6 times (i.e. -vvvvvv).
- -V
Print version information and exit.
Core File Location
If slurmdbd is started with the -D option then the core file will be written to the current working directory. Otherwise if LogFile in "slurmdbd.conf" is a fully qualified path name (starting with a slash), the core file will be written to the same directory as the log file, provided SlurmUser has write permission on the directory. Otherwise the core file will be written to "/var/tmp/" as a last resort. If neither of the above directories have write permission for SlurmUser, no core file will be produced.
Signals
- SIGTERM SIGINT
slurmdbd will shutdown cleanly, waiting for in-progress rollups to finish.
- SIGABRT
slurmdbd will perform a core dump, then exit. In-progress operations are killed.
- SIGHUP
Reloads the slurm configuration files, similar to 'scontrol reconfigure'.
- SIGUSR2
Reread the log level from the configs, and then reopen the log file. This should be used when setting up logrotate(8).
- SIGCHLD SIGUSR1 SIGTSTP SIGXCPU SIGQUIT SIGPIPE SIGALRM
These signals are explicitly ignored.
Notes
It may be useful to experiment with different slurmctld specific configuration parameters using a distinct configuration file (e.g. timeouts). However, this special configuration file will not be used by the slurmd daemon or the Slurm programs, unless you specifically tell each of them to use it. If you desire changing communication ports, the location of the temporary file system, or other parameters used by other Slurm components, change the common configuration file, slurm.conf.
Copying
Copyright (C) 2008 Lawrence Livermore National Security. Copyright (C) 2010-2022 SchedMD LLC. Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). CODE-OCEC-09-009. All rights reserved.
This file is part of Slurm, a resource management program. For details, see <https://slurm.schedmd.com/>.
Slurm is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Slurm is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
See Also
Referenced By
sacctmgr(1), slurm(1), slurm.conf(5), slurmdbd.conf(5), slurmrestd(8), sreport(1), sshare(1).