condor_ restart
[-debug]
[-name hostname | hostname | -addr "<a.b.c.d:port>" | "<a.b.c.d:port>" ... ]| [-all]
[-subsystem master | startd | schedd | collector | negotiator
| kbdd | quill]
condor_ restart
[-debug]
[-pool centralmanagerhostname[:portnumber]
| -name hostname ]| [-addr "<a.b.c.d:port>"]
... [ | -all]
[-subsystem master | startd | schedd | collector | negotiator
| kbdd | quill]
condor_ restart restarts a set of Condor daemon(s) on a set of machines. The daemon(s) will be put into a consistent state, killed, and then started anew.
If, for example, the condor_ master needs to be restarted again with a fresh state, this is the command that should be used to do so. If the DAEMON_LIST variable in the configuration file has been changed, this command is used to restart the condor_ master in order to see this change. The condor_ reconfigure command cannot be used in the case where the DAEMON_LIST expression changes.
The command condor_ restart with no arguments or with the -subsystem master option will safely shut down all running jobs and all submitted jobs from the machine(s) being restarted, then shut down all the child daemons of the condor_ master, and then restart the condor_ master. This, in turn, will allow the condor_ master to start up other daemons as specified in the DAEMON_LIST configuration file entry.
For security purposes (authentication and authorization),
this command requires an administrator's level of access.
See
section 3.6.1 on page
for further explanation.
condor_ restart will exit with a status value of 0 (zero) upon success, and it will exit with the value 1 (one) upon failure.
% condor_restart
To restart only the condor_ startd on a named machine:
% condor_restart -name bluejay -subsystem startd
To restart a machine within a pool other than the local pool, use the -pool option. The argument is the name of the central manager for the pool. Note that one or more machines within the pool must be specified as the targets for the command. This command restarts the single machine named cae17 within the pool of machines that has condor.cae.wisc.edu as its central manager:
% condor_restart -pool condor.cae.wisc.edu -name cae17
U.S. Government Rights Restrictions: Use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of The Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 or subparagraphs (c)(1) and (2) of Commercial Computer Software-Restricted Rights at 48 CFR 52.227-19, as applicable, Condor Team, Attention: Professor Miron Livny, 7367 Computer Sciences, 1210 W. Dayton St., Madison, WI 53706-1685, (608) 262-0856 or miron@cs.wisc.edu.
See the Condor Version 6.8.3 Manual for additional notices.