1just-man-pages/condor_restartG(e1n)eral Commands Majnuusatl-man-pages/condor_restart(1)
2
3
4
6 condor_restart Restart a set of HTCondor daemons
7
9 condor_restart [ -help -version ]
10
11 condor_restart [ -debug ] [ -graceful -fast -peaceful ] [ -pool cen‐
12 tralmanagerhostname[:portnumber] ] [ -name hostname hostname -addr
13 <a.b.c.d:port> <a.b.c.d:port> -constraint expression -all ] [ -daemon
14 daemonname ]
15
17 condor_restart restarts 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_master needs to be restarted again with a
22 fresh state, this is the command that should be used to do so. If the
23 DAEMON_LIST variable in the configuration file has been changed, this
24 command is used to restart the condor_master in order to see this
25 change. The condor_reconfigure command cannot be used in the case where
26 the DAEMON_LIST expression changes.
27
28 The command condor_restart with no arguments or with the -daemon master
29 option 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,
32 in turn, will allow the condor_master to start up other daemons as
33 specified in the DAEMON_LIST configuration file entry.
34
35 For security reasons of authentication and authorization, this command
36 requires ADMINISTRATOR level of access.
37
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_master daemon.
125
126
127
128
129
131 condor_restart will exit with a status value of 0 (zero) upon success,
132 and it will exit with the value 1 (one) upon failure.
133
135 To restart the condor_master and all its children on the local host:
136
137 % condor_restart
138
139 To restart only the condor_startd on 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 -pool option. 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 cae17 within the pool of machines that has con‐
148 dor.cae.wisc.edu as its central manager:
149
150 % condor_restart -pool condor.cae.wisc.edu -name cae17
151
153 Center for High Throughput Computing, University of Wisconsin-Madison
154
156 Copyright (C) 1990-2018 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 just-man-pages/condor_restart(1)