1condor_install(1)           General Commands Manual          condor_install(1)
2
3
4

Name

6       condor_installConfigure or install HTCondor
7

Synopsis

9       condor_configureor condor_install[ -- help] [ -- usage]
10
11       condor_configureor  condor_install[  -- install[=<path/to/release>] ] [
12       -- install-dir=<path>] [ -- prefix=<path>] [ -- local-dir=<path>] [  --
13       make-personal-condor]  [  -- bosco] [ -- type = < submit, execute, man‐
14       ager >] [ -- central-manager = < hostname>] [ -- owner = < ownername >]
15       [ -- maybe-daemon-owner] [ -- install-log = < file >] [ -- overwrite] [
16       -- ignore-missing-libs] [ -- force] [  --  no-env-scripts]  [  --  env-
17       scripts-dir = < directory >] [ -- backup] [ -- credd] [ -- verbose]
18

Description

20       condor_configureand   condor_installrefer   to  a  single  script  that
21       installs and/or configures HTCondor on  Unix  machines.  As  the  names
22       imply,  condor_installis  intended  to perform a HTCondor installation,
23       and condor_configureis intended to configure (or reconfigure) an exist‐
24       ing  installation.  Both  will  run with Perl 5.6.0 or more recent ver‐
25       sions.
26
27       condor_configure(and condor_install) are designed to be run  more  than
28       one  time  where  required. It can install HTCondor when invoked with a
29       correct configuration via
30
31       condor_install
32
33       or
34
35       condor_configure --install
36
37       or, it can change the configuration files when invoked via
38
39       condor_configure
40
41       Note that changes in the configuration files do not result  in  changes
42       while HTCondor is running. To effect changes while HTCondor is running,
43       it is necessary to further use the condor_reconfigor condor_restartcom‐
44       mand.  condor_reconfigis required where the currently executing daemons
45       need to be informed of configuration changes. condor_restartis required
46       where  the  options   -- make-personal-condoror  -- typeare used, since
47       these affect which daemons are running.
48
49       Running condor_configureor condor_installwith no options results  in  a
50       usage screen being printed. The  -- helpoption can be used to display a
51       full help screen.
52
53       Within the options given below, the phrase  release  directoriesis  the
54       list  of  directories  that  are  released  with  HTCondor.  This  list
55       includes: bin, etc, examples, include, lib, libexec, man, sbin,  sqland
56       src.
57

Options

59       &mdash;help
60
61          Print help screen and exit
62
63
64
65
66
67       &mdash;usage
68
69          Print short usage and exit
70
71
72
73
74
75       &mdash;install
76
77          Perform  installation,  assuming  that the current working directory
78          contains the release directories. Without further options, the  con‐
79          figuration  is  that  of a Personal HTCondor, a complete one-machine
80          pool. If used as an upgrade within an existing  installation  direc‐
81          tory,  existing  configuration  files  and  local directory are pre‐
82          served. This is the default behavior of condor_install.
83
84
85
86
87
88       &mdash;install-dir=<path>
89
90          Specifies the path where HTCondor should be installed  or  the  path
91          where  it  already  is installed. The default is the current working
92          directory.
93
94
95
96
97
98       &mdash;prefix=<path>
99
100          This is an alias for &ndash;install-dir.
101
102
103
104
105
106       &mdash;local-dir=<path>
107
108          Specifies the location of the local directory, which is  the  direc‐
109          tory that generally contains the local (machine-specific) configura‐
110          tion file as well as the directories where  HTCondor  daemons  write
111          their  run-time  information (spool, log, execute). This location is
112          indicated by the LOCAL_DIRvariable in the configuration  file.  When
113          installing  (that is, if &ndash;installis specified), condor_config‐
114          urewill properly create the local directory in the  location  speci‐
115          fied. If none is specified, the default value is given by the evalu‐
116          ation of $(RELEASE_DIR)/local.$(HOSTNAME).
117
118          During subsequent invocations of condor_configure(that  is,  without
119          the &mdash;install option), if the &mdash;local-dir option is speci‐
120          fied, the new directory will be created and the log,  spooland  exe‐
121          cutedirectories will be moved there from their current location.
122
123
124
125
126
127       &mdash;make-personal-condor
128
129          Installs  and  configures for Personal HTCondor, a fully-functional,
130          one-machine pool.
131
132
133
134
135
136       &mdash;bosco
137
138          Installs and configures Bosco, a personal HTCondor that submits jobs
139          to remote batch systems.
140
141
142
143
144
145       &mdash;type= < submit, execute, manager >
146
147          One  or  more  of the types may be listed. This determines the roles
148          that a machine may play in a pool. In general, any machine can be  a
149          submit  and/or execute machine, and there is one central manager per
150          pool. In the case of a Personal HTCondor, the machine  fulfills  all
151          three of these roles.
152
153
154
155
156
157       &mdash;central-manager=<hostname>
158
159          Instructs  the  current  HTCondor  installation to use the specified
160          machine as the central  manager.  This  modifies  the  configuration
161          variable  COLLECTOR_HOSTto point to the given host name. The central
162          manager machine's HTCondor configuration needs to  be  independently
163          configured to act as a manager using the option &ndash;type=manager.
164
165
166
167
168
169       &mdash;owner=<ownername>
170
171          Set configuration such that HTCondor daemons will be executed as the
172          given owner. This modifies the ownership on the log,  spooland  exe‐
173          cutedirectories  and  sets  the CONDOR_IDSvalue in the configuration
174          file, to ensure that HTCondor daemons  start  up  as  the  specified
175          effective  user. This is only applicable when condor_configureis run
176          by root. If not run as root, the owner is the user running the  con‐
177          dor_configurecommand.
178
179
180
181
182
183       &mdash;maybe-daemon-owner
184
185          If &ndash;owneris not specified and no appropriate user can be found
186          to run Condor, then this option will allow the  daemon  user  to  be
187          selected.  This  option  is rarely needed by users but can be useful
188          for scripts that invoke condor_configure to install Condor.
189
190
191
192
193
194       &mdash;install-log=<file>
195
196          Save information about the installation in the specified file.  This
197          is normally only needed when condor_configure is called by a higher-
198          level script, not when invoked by a person.
199
200
201
202
203
204       &mdash;overwrite
205
206          Always overwrite the contents of the sbindirectory in the  installa‐
207          tion  directory.  By  default,  condor_installwill not install if it
208          finds an existing sbindirectory with HTCondor  programs  in  it.  In
209          this  case,  condor_installwill  exit with an error message. Specify
210          &ndash;overwriteor &ndash;backupto tell condor_installwhat to do.
211
212          This prevents condor_installfrom moving an sbindirectory out of  the
213          way that it should not move. This is particularly useful when trying
214          to install HTCondor in  a  location  used  by  other  things  (/usr,
215          /usr/local,  etc.) For example: condor_install&ndash;prefix=/usrwill
216          not move /usr/sbinout of the way unless you specify the &ndash;back‐
217          upoption.
218
219          The  &ndash;backupbehavior  is  used  to  prevent condor_installfrom
220          overwriting running daemons &ndash; Unix  semantics  will  keep  the
221          existing  binaries  running,  even  if they have been moved to a new
222          directory.
223
224
225
226
227
228       &mdash;backup
229
230          Always backup the sbindirectory in the  installation  directory.  By
231          default,  condor_installwill  not  install  if  it finds an existing
232          sbindirectory with HTCondor programs  in  it.  In  this  case,  con‐
233          dor_installwith  exit  with  an  error  message.  You  must  specify
234          &ndash;overwriteor &ndash;backupto tell condor_installwhat to do.
235
236          This prevents condor_installfrom moving an sbindirectory out of  the
237          way  that  it should not move. This is particularly useful if you're
238          trying to install HTCondor in a location used by other things (/usr,
239          /usr/local,  etc.) For example: condor_install&ndash;prefix=/usrwill
240          not move /usr/sbinout of the way unless you specify the &ndash;back‐
241          upoption.
242
243          The  &ndash;backupbehavior  is  used  to  prevent condor_installfrom
244          overwriting running daemons &ndash; Unix  semantics  will  keep  the
245          existing  binaries  running,  even  if they have been moved to a new
246          directory.
247
248
249
250
251
252       &mdash;ignore-missing-libs
253
254          Ignore missing shared libraries that are detected by condor_install.
255          By  default, condor_installwill detect missing shared libraries such
256          as libstdc++.so.5on Linux; it will print messages and exit if  miss‐
257          ing libraries are detected. The &mdash;ignore-missing-libswill cause
258          condor_installto not exit, and to proceed with the  installation  if
259          missing libraries are detected.
260
261
262
263
264
265       &mdash;force
266
267          This   is   equivalent  to  enabling  both  the  &mdash;overwriteand
268          &mdash;ignore-missing-libscommand line options.
269
270
271
272
273
274       &mdash;no-env-scripts
275
276          By default, condor_configurewrites simple sh and csh  shell  scripts
277          which  can  be  sourced by their respective shells to set the user's
278          PATHand CONDOR_CONFIGenvironment  variables.  This  option  prevents
279          condor_configurefrom generating these scripts.
280
281
282
283
284
285       &mdash;env-scripts-dir=<directory>
286
287          By  default,  the  simple shand cshshell scripts (see &mdash;no-env-
288          scriptsfor details) are created in the root directory of the  HTCon‐
289          dor  installation.  This  option  causes condor_configureto generate
290          these scripts in the specified directory.
291
292
293
294
295
296       &mdash;credd
297
298          Configure the the condor_credddaemon (credential manager daemon).
299
300
301
302
303
304       &mdash;verbose
305
306          Print information about changes to configuration variables  as  they
307          occur.
308
309
310

Exit Status

312       condor_configurewill exit with a status value of 0 (zero) upon success,
313       and it will exit with a nonzero value upon failure.
314

Examples

316       Install HTCondor on the machine (machine1@cs.wisc.edu) to be the pool's
317       central  manager.  On  machine1, within the directory that contains the
318       unzipped HTCondor distribution directories:
319
320       % condor_install  --type=submit,execute,manager  This  will  allow  the
321       machine  to  submit and execute HTCondor jobs, in addition to being the
322       central manager of the pool.
323
324       To change the configuration such that machine2@cs.wisc.edu is  an  exe‐
325       cute-only  machine  (that is, a dedicated computing node) within a pool
326       with central manager on machine1@cs.wisc.edu, issue the command on that
327       machine2@cs.wisc.edu  from  within  the  directory  where  HTCondor  is
328       installed:
329
330       % condor_configure  --central-manager=machine1@cs.wisc.edu  --type=exe‐
331       cute
332
333       To  change  the location of the LOCAL_DIRdirectory in the configuration
334       file, do (from the directory where HTCondor is installed):
335
336       % condor_configure --local-dir=/path/to/new/local/directory  This  will
337       move  the  log,spool,executedirectories  to /path/to/new/local/directo‐
338       ryfrom the current local directory.
339

Author

341       Center  for  High   Throughput   Computing,   University   of   Wiscon‐
342       sin&ndash;Madison
343
345       Copyright  ©  1990-2019  Center for High Throughput Computing, Computer
346       Sciences Department, University of Wisconsin-Madison, Madison, WI.  All
347       Rights Reserved. Licensed under the Apache License, Version 2.0.
348
349
350
351                                     date                    condor_install(1)
Impressum