next up previous contents index
Next: condor_ rm Up: 9. Command Reference Manual Previous: condor_ reschedule   Contents   Index

Subsections


condor_ restart

Restart the a set of Condor daemons

Synopsis

condor_ restart [-help | -version]

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]

Description

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.

Options

-help
Display usage information
-version
Display version information
-pool centralmanagerhostname[:portnumber]
Specify a pool by giving the central manager's hostname and an optional port number
-name hostname
Send the command to a machine identified by hostname
hostname
Send the command to a machine identified by hostname
-addr "<a.b.c.d:port>"
Send the command to a machine's master located at "<a.b.c.d:port>"
"<a.b.c.d:port>"
Send the command to a machine located at "<a.b.c.d:port>"
-all
Send the command to all machines in the pool
-subsystem master | startd | schedd | collector | negotiator | kbdd | quill
Send the command to the named daemon. Without this option, the command is sent to the condor_ master daemon.
-debug
Causes debugging information to be sent to stderr based on the value of the configuration variable TOOL_DEBUG

Exit Status

condor_ restart will exit with a status value of 0 (zero) upon success, and it will exit with the value 1 (one) upon failure.

Examples

To restart the condor_ master and all its children on the local host:
% 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

Author

Condor Team, University of Wisconsin-Madison

Copyright

Copyright © 1990-2007 Condor Team, Computer Sciences Department, University of Wisconsin-Madison, Madison, WI. All Rights Reserved. No use of the Condor Software Program is authorized without the express consent of the Condor Team. For more information contact: 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.

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.7 Manual for additional notices.


next up previous contents index
Next: condor_ rm Up: 9. Command Reference Manual Previous: condor_ reschedule   Contents   Index
condor-admin@cs.wisc.edu