condor_restart(1) | General Commands Manual | condor_restart(1) |
condor_restart Restart - a set of HTCondor daemons
condor_restart [-help -version]
condor_restart[-debug] [-graceful -fast -peaceful] [-pool centralmanagerhostname[:portnumber]] [-name hostnamehostname-addr "<a.b.c.d:port>""<a.b.c.d:port>"-constraint expression-all] [-daemon daemonname]
condor_restartrestarts a set of HTCondor daemons on a set of machines. The daemons will be put into a consistent state, killed, and then invoked anew.
If, for example, the condor_masterneeds 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_masterin order to see this change. The condor_reconfigurecommand cannot be used in the case where the DAEMON_LISTexpression changes.
The command condor_restartwith no arguments or with the -daemon masteroption 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_masterto start up other daemons as specified in the DAEMON_LISTconfiguration file entry.
For security reasons of authentication and authorization, this command requires ADMINISTRATOR level of access.
-help
-version
-debug
-graceful
-fast
-peaceful
-pool centralmanagerhostname[:portnumber]
-name hostname
hostname
-addr <a.b.c.d:port>
<a.b.c.d:port>
-constraint expression
-all
-daemon daemonname
condor_restartwill exit with a status value of 0 (zero) upon success, and it will exit with the value 1 (one) upon failure.
To restart the condor_masterand all its children on the local host:
% condor_restart
To restart only the condor_startdon a named machine:
% condor_restart -name bluejay -daemon startd
To restart a machine within a pool other than the local pool, use the -pooloption. 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 cae17within the pool of machines that has condor.cae.wisc.eduas its central manager:
% condor_restart -pool condor.cae.wisc.edu -name cae17
Center for High Throughput Computing, University of Wisconsin-Madison
Copyright (C) 1990-2016 Center for High Throughput Computing, Computer Sciences Department, University of Wisconsin-Madison, Madison, WI. All Rights Reserved. Licensed under the Apache License, Version 2.0.
May 2022 |