1condor_restart(1)           General Commands Manual          condor_restart(1)
2
3
4

Name

6       condor_restartRestart a set of HTCondor daemons
7

Synopsis

9       condor_restart[-help | -version]
10
11       condor_restart[-debug]  [-graceful | -fast | -peaceful] [-pool central‐
12       managerhostname[:portnumber]]  [  -name   hostname|   hostname|   -addr
13       "<a.b.c.d:port>"|   "<a.b.c.d:port>"|   -constraint  expression|  -all]
14       [-daemon daemonname]
15

Description

17       condor_restartrestarts a set of HTCondor daemons on a set of  machines.
18       The  daemons  will  be  put  into  a consistent state, killed, and then
19       invoked anew.
20
21       If, for example, the condor_masterneeds to be restarted  again  with  a
22       fresh  state,  this is the command that should be used to do so. If the
23       DAEMON_LISTvariable in the configuration file has  been  changed,  this
24       command  is  used  to  restart  the  condor_masterin  order to see this
25       change. The condor_reconfigurecommand cannot be used in the case  where
26       the DAEMON_LISTexpression changes.
27
28       The  command  condor_restartwith  no arguments or with the -daemon mas‐
29       teroption will safely shut down all running jobs and all submitted jobs
30       from  the machine(s) being restarted, then shut down all the child dae‐
31       mons of the condor_master, and then restart the condor_master. This, in
32       turn,  will  allow the condor_masterto start up other daemons as speci‐
33       fied in the DAEMON_LISTconfiguration file entry.
34
35       For security reasons of authentication and authorization, this  command
36       requires ADMINISTRATOR level of access.
37

Options

39       -help
40
41          Display usage information
42
43
44
45       -version
46
47          Display version information
48
49
50
51       -debug
52
53          Causes  debugging  information  to  be  sent to stderr, based on the
54          value of the configuration variable TOOL_DEBUG.
55
56
57
58       -graceful
59
60          Gracefully shutdown daemons (the default) before restarting them
61
62
63
64       -fast
65
66          Quickly shutdown daemons before restarting them
67
68
69
70       -peaceful
71
72          Wait indefinitely for jobs to finish before shutting  down  daemons,
73          prior to restarting them
74
75
76
77       -pool centralmanagerhostname[:portnumber]
78
79          Specify  a  pool  by  giving  the central manager's host name and an
80          optional port number
81
82
83
84       -name hostname
85
86          Send the command to a machine identified by hostname
87
88
89
90       hostname
91
92          Send the command to a machine identified by hostname
93
94
95
96       -addr <a.b.c.d:port>
97
98          Send the command to a machine's master located at "<a.b.c.d:port>"
99
100
101
102       <a.b.c.d:port>
103
104          Send the command to a machine located at "<a.b.c.d:port>"
105
106
107
108       -constraint expression
109
110          Apply this command only  to  machines  matching  the  given  ClassAd
111          expression
112
113
114
115       -all
116
117          Send the command to all machines in the pool
118
119
120
121       -daemon daemonname
122
123          Send  the command to the named daemon. Without this option, the com‐
124          mand is sent to the condor_masterdaemon.
125
126
127
128
129

Exit Status

131       condor_restartwill exit with a status value of 0 (zero)  upon  success,
132       and it will exit with the value 1 (one) upon failure.
133

Examples

135       To restart the condor_masterand all its children on the local host:
136
137       % condor_restart
138
139       To restart only the condor_startdon a named machine:
140
141       % condor_restart -name bluejay -daemon startd
142
143       To  restart  a machine within a pool other than the local pool, use the
144       -pooloption. The argument is the name of the central  manager  for  the
145       pool.  Note that one or more machines within the pool must be specified
146       as the targets for  the  command.  This  command  restarts  the  single
147       machine   named   cae17within  the  pool  of  machines  that  has  con‐
148       dor.cae.wisc.eduas its central manager:
149
150       % condor_restart -pool condor.cae.wisc.edu -name cae17
151

Author

153       Center for High Throughput Computing, University of Wisconsin-Madison
154
156       Copyright (C) 1990-2019 Center for High Throughput Computing,  Computer
157       Sciences  Department, University of Wisconsin-Madison, Madison, WI. All
158       Rights Reserved. Licensed under the Apache License, Version 2.0.
159
160
161
162                                     date                    condor_restart(1)
Impressum