Name
condor_restart - Restart the a set of Condor daemons
Synopsis
condor_restart [ -help -version ]
condor_restart [ -debug ] [ -name name name -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 name ][ -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_LISTvariable 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_LISTexpression 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_LISTconfiguration file entry.
For security purposes (authentication and authorization), this command
requires an administrator’s level of access. See section 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 host name and an
optional port number
-name name
Send the command to a machine identified by name
name
Send the command to a machine identified by name
-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 (C) 1990-2009 Condor Team, Computer Sciences Department,
University of Wisconsin-Madison, Madison, WI. All Rights Reserved.
Licensed under the Apache License, Version 2.0.
See the Condor Version 7.2.4 Manual or
http://www.condorproject.org/licensefor additional notices. condor-
admin@cs.wisc.edu
date just-man-pages/condor_restart(1)