slurmdbd(8)
π slurmdbd(8) β Slurm Daemon π
okay bestie, gather round, because today we're talking about slurmdbd, aka the Slurm Database Daemon, and she is literally the main character of your accounting setup. This page lives in section 8 of the manual (that's the daemons-and-admin-stuff section, iykyk) and it's giving "secure enterprise-wide database access realness." π«Ά
β¨ NAME β¨
slurmdbd β Slurm Database Daemon. that's it, that's the name, short and iconic. π
πΈ SYNOPSIS πΈ
slurmdbd [OPTIONS...]
she takes options. optionally. slay. π
π¦ DESCRIPTION π¦
so here's the tea: slurmdbd provides a secure enterprise-wide interface to a database for Slurm. no cap. and the way that this is particularly useful? for archiving accounting records. πβ¨
like, all those jobs that ran, all that compute you burned β somebody's gotta keep the receipts, and it's her. she's the receipts keeper. the archivist. the girl with the ledger. periodt. π
π OPTIONS π
-Dβ runslurmdbdin the foreground, with logging copied tostdout. very "let me watch everything happen live" energy. lowkey the debugging bestie. π-hβ help!! print a brief summary of the command options and skedaddle. when in doubt, hit her with the-h. π-n <value>β set the daemon's nice value to the specified value, typically a negative number. yes bestie, negative. she's asking for priority. π-sβ change the working directory ofslurmdbdto theLogFilepath if possible, or to/var/tmpotherwise. flexible queen. β¨-uβ only display the Slurm Database version and whether conversion is needed, then exit without taking control. if no conversion is needed,0is returned; if conversion is needed,1is returned. tiny little peek-and-leave. π΅οΈββοΈ-vβ verbose operation! multiple v's can be specified, with eachvbeyond the first increasing verbosity, up to 6 times (i.e.-vvvvvv). that's six v's, bestie. six. the absolute max. don't be greedy. π-Vβ print version information and exit. short and sweet, no notes. π
π ENVIRONMENT VARIABLES π
the following environment variables can be used to override settings compiled into slurmdbd. yes, she reads the room (and the env). π§
ABORT_ON_FATALβ when a fatal error is detected, useabort()instead ofexit()to terminate the process. why would you want that? because it allows backtraces to be captured without recompiling Slurm. so useful. so real. π₯
π CORE FILE LOCATION π
okay this part is important, no skipping. here's the whole vibe, exactly as it goes:
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.
And if neither of the above directories have write permission for SlurmUser? no core file will be produced. that's it. nothing. she tried. π
π SIGNALS π
SIGTERMSIGINTSIGQUITβslurmdbdwill shutdown cleanly, waiting for in-progress rollups to finish. graceful queen behavior. she finishes her plate before she leaves the table. πSIGABRTβslurmdbdwill perform a core dump, then exit. in-progress operations are killed. brutal but honest. πSIGHUPβ reloads the slurm configuration files, similar to'scontrol reconfigure'. glow-up time. β¨SIGTSTPβ stop the process from a terminal. pause her, bestie. π«ΆSIGUSR2β reread the log level from the configs, and then reopen the log file. this should be used when setting uplogrotate(8). rotater girlies know. πSIGCHLDSIGUSR1SIGXCPUSIGPIPESIGALRMβ these signals are explicitly ignored. not even reading them. blocked. π«
β NOTES β
It may be useful to experiment with different slurmctld specific configuration parameters using a distinct configuration file (e.g. timeouts). sounds fun, right?
BUT β and this is the β¨catchβ¨ β 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. like, she's not a mind reader. you have to actually say 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. that's the group chat everyone's actually in. π«
π 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.
yeah bestie, that last part is in ALL CAPS in the original too. it means it. no warranty, fr fr. read the license. π
π SEE ALSO π
and that's the whole page!! π you now know slurmdbd better than she knows herself.
cute little sign-off for you, bestie: this was Slurm 26.05, from the Slurm Daemon corner of the world, and yes, that's the version and date-ish vibe stamped on the page. go forth and archive those accounting records. π¦β¨
π¦ where this page comes from
- arch rolling: slurm-llnl 26.05.5.1-1 Β· GPL-2.0-or-later
- epel 10: slurm-slurmdbd 26.05.5-1.el10_3 Β· GPL-2.0-or-later AND BSD-2-Clause AND BSD-1-Clause
- nixpkgs unstable: slurm 26-05-5-1
- ubuntu stonking: slurmdbd 26.05.4-1ubuntu1 Β· GPL-2.0-or-later WITH OpenSSL exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms