Next: condor_glidein
Up: 8. Command Reference Manual
Previous: condor_config_val
Subsections
condor_findhost
find machine(s) in the pool that
can be used with minimal impact on currently running Condor jobs
and best meet any specified constraints
condor_findhost
[-help]
[-m]
[-n num]
[-c c_expr]
[-r r_expr]
[-p pool]
condor_findhost searches a Condor pool of machines for the
best machine or machines that
will have the minimum impact on running Condor jobs
if the machine or machines are taken out of the pool.
The search may be limited to the machine or machines
that match a set of constraints and rank expression.
condor_findhost
returns a fully-qualified domain name for each machine.
The search is limited (constrained) to a specific set of machines
using the -c option.
The search can use the -r option for rank,
the criterion used for selecting a machine or machines from the
constrained list.
Supported options are as follows:
- -help
- Display usage information and exit
- -m
- Only search for entire machines. Virtual
machines within an entire machine are not considered.
- -n num
- Find and list up to num machines that
fulfill the specification. num is an integer greater than zero.
- -c c_expr
- Constrain the search to only consider
machines that result from the evaluation of c_expr.
c_expr is a ClassAd expression.
- -r r_expr
- r_expr is the rank expression
evaluated to use as a basis for machine selection.
r_expr is a ClassAd expression.
- -p poolname
- Specify the name of the pool to
be searched. Without this option, the current pool is searched.
condor_findhost is used to locate a machine
within a pool that can be taken out of the pool with the least
disturbance of the pool.
An administrator should set preemption requirements for
the Condor pool.
The expression
(Interactive =?= TRUE )
will let condor_findhost know that it can claim a machine even
if Condor would not normally preempt a job running on that machine.
The exit status of condor_findhost is zero on success.
If not able to identify as many machines as requested,
it returns one more than the number of machines identified.
For example, if 8 machines are requested, and condor_findhost
only locates 6, the exit status will be 7.
If not able to locate any machines, or an error is encountered,
condor_findhost will return the value 1.
Condor Team, University of Wisconsin-Madison
Copyright © 1990-2001 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.2.2 Manual for
additional notices.
Next: condor_glidein
Up: 8. Command Reference Manual
Previous: condor_config_val
condor-admin@cs.wisc.edu