1slurmctld(8)                     Slurm Daemon                     slurmctld(8)
2
3
4

NAME

6       slurmctld - The central management daemon of Slurm.
7

SYNOPSIS

9       slurmctld [OPTIONS...]
10

DESCRIPTION

12       slurmctld  is  the  central management daemon of Slurm. It monitors all
13       other Slurm daemons and resources, accepts work (jobs),  and  allocates
14       resources to those jobs. Given the critical functionality of slurmctld,
15       there may be a backup server to assume these  functions  in  the  event
16       that the primary server fails.
17
18       OPTIONS
19
20
21       -c     Clear  all  previous  slurmctld  state from its last checkpoint.
22              With this option, all jobs, including both running  and  queued,
23              and all node states, will be deleted.  Without this option, pre‐
24              viously running jobs will be preserved along with node State  of
25              DOWN, DRAINED and DRAINING nodes and the associated Reason field
26              for those nodes.  NOTE: It is rare you would ever  want  to  use
27              this in production as all jobs will be killed.
28
29
30       -d     Run slurmctld in the background.
31
32       -D     Run slurmctld in the foreground with logging copied to stdout.
33
34       -f <file>
35              Read configuration from the specified file. See NOTES below.
36
37       -h     Help; print a brief summary of command options.
38
39       -i     Ignore  errors  found  while  reading in state files on startup.
40              Warning: Use of this option  will  mean  losing  the  data  that
41              wasn't recovered from the state files.
42
43       -L <file>
44              Write log messages to the specified file.
45
46
47       -n <value>
48              Set  the daemon's nice value to the specified value, typically a
49              negative number.
50
51
52       -r     Recover partial  state  from  last  checkpoint:  jobs  and  node
53              DOWN/DRAIN  state  and  reason  information state.  No partition
54              state is recovered.  This is the default action.
55
56
57       -R     Recover full state from last checkpoint: jobs, node, and  parti‐
58              tion  state.   Without this option, previously running jobs will
59              be preserved along with node State of DOWN, DRAINED and DRAINING
60              nodes  and the associated Reason field for those nodes. No other
61              node or partition state will be preserved.
62
63
64       -s     Change working directory of slurmctld to  SlurmctldLogFile  path
65              if  possible, or to SlurmStateSaveLocation otherwise. If both of
66              them fail it will fallback to /var/tmp.
67
68
69       -v     Verbose operation. Multiple -v's increase verbosity.
70
71       -V     Print version information and exit.
72
73

ENVIRONMENT VARIABLES

75       The following environment variables can be used  to  override  settings
76       compiled into slurmctld.
77
78       SLURM_CONF          The  location of the Slurm configuration file. This
79                           is overridden by explicitly naming a  configuration
80                           file on the command line.
81
82

CORE FILE LOCATION

84       If  slurmctld  is started with the -D option then the core file will be
85       written to the current working directory.  Otherwise  if  SlurmctldLog‐
86       File  is  a fully qualified path name (starting with a slash), the core
87       file will be written to the same directory as the  log  file,  provided
88       SlurmUser  has  write  permission on the directory.  Otherwise the core
89       file will be written to the StateSaveLocation, or "/var/tmp/" as a last
90       resort.  If  none  of  the  above directories have write permission for
91       SlurmUser, no core file will be produced.  The command "scontrol abort"
92       can be used to abort the slurmctld daemon and generate a core file.
93
94

SIGNALS

96       SIGTERM SIGINT
97              slurmctld will shutdown cleanly, saving its current state to the
98              state save directory.
99
100       SIGABRT
101              slurmctld will shutdown cleanly, saving its current  state,  and
102              perform a core dump.
103
104       SIGHUP Reloads  the slurm configuration files, similar to 'scontrol re‐
105              configure'.
106
107       SIGUSR2
108              Reread the log level from the configs, and then reopen  the  log
109              file.  This should be used when setting up logrotate(8).
110
111       SIGCHLD SIGUSR1 SIGTSTP SIGXCPU SIGQUIT SIGPIPE SIGALRM
112              These signals are explicitly ignored.
113
114

NOTES

116       It  may  be useful to experiment with different slurmctld specific con‐
117       figuration parameters using a distinct configuration file  (e.g.  time‐
118       outs).   However,  this  special configuration file will not be used by
119       the slurmd daemon or the Slurm programs, unless you  specifically  tell
120       each of them to use it. If you desire changing communication ports, the
121       location of the temporary file system,  or  other  parameters  used  by
122       other   Slurm   components,   change  the  common  configuration  file,
123       slurm.conf.
124
125

COPYING

127       Copyright (C) 2002-2007 The Regents of the  University  of  California.
128       Copyright  (C)  2008-2010  Lawrence Livermore National Security.  Copy‐
129       right (C) 2010-2021 SchedMD LLC.  Produced at  Lawrence  Livermore  Na‐
130       tional  Laboratory  (cf, DISCLAIMER).  CODE-OCEC-09-009. All rights re‐
131       served.
132
133       This file is part of Slurm, a resource  management  program.   For  de‐
134       tails, see <https://slurm.schedmd.com/>.
135
136       Slurm  is free software; you can redistribute it and/or modify it under
137       the terms of the GNU General Public License as published  by  the  Free
138       Software  Foundation;  either version 2 of the License, or (at your op‐
139       tion) any later version.
140
141       Slurm is distributed in the hope that it will be  useful,  but  WITHOUT
142       ANY  WARRANTY;  without even the implied warranty of MERCHANTABILITY or
143       FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General  Public  License
144       for more details.
145
146

SEE ALSO

148       slurm.conf(5), slurmd(8)
149
150
151
152March 2020                       Slurm Daemon                     slurmctld(8)
Impressum