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       --help
60
61          Print help screen and exit
62
63
64
65
66
67       --usage
68
69          Print short usage and exit
70
71
72
73
74
75       --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       --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       --prefix=<path>
99
100          This is an alias for -install-dir.
101
102
103
104
105
106       --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 -installis specified), condor_configurewill
114          properly create the local directory in the  location  specified.  If
115          none  is  specified, the default value is given by the evaluation of
116          $(RELEASE_DIR)/local.$(HOSTNAME).
117
118          During subsequent invocations of condor_configure(that  is,  without
119          the  --install  option), if the --local-dir option is specified, the
120          new directory will be created and the log, spooland  executedirecto‐
121          ries will be moved there from their current location.
122
123
124
125
126
127       --make-personal-condor
128
129          Installs  and  configures for Personal HTCondor, a fully-functional,
130          one-machine pool.
131
132
133
134
135
136       --bosco
137
138          Installs and configures Bosco, a personal HTCondor that submits jobs
139          to remote batch systems.
140
141
142
143
144
145       --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       --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 -type=manager.
164
165
166
167
168
169       --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       --maybe-daemon-owner
184
185          If  -owneris  not  specified and no appropriate user can be found to
186          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       --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       --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          -overwriteor -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-prefix=/usrwill not
216          move /usr/sbinout of the way unless you specify the -backupoption.
217
218          The -backupbehavior is used to prevent condor_installfrom  overwrit‐
219          ing running daemons - Unix semantics will keep the existing binaries
220          running, even if they have been moved to a new directory.
221
222
223
224
225
226       --backup
227
228          Always backup the sbindirectory in the  installation  directory.  By
229          default,  condor_installwill  not  install  if  it finds an existing
230          sbindirectory with HTCondor programs  in  it.  In  this  case,  con‐
231          dor_installwith  exit with an error message. You must specify -over‐
232          writeor -backupto tell condor_installwhat to do.
233
234          This prevents condor_installfrom moving an sbindirectory out of  the
235          way  that  it should not move. This is particularly useful if you're
236          trying to install HTCondor in a location used by other things (/usr,
237          /usr/local,  etc.)  For  example: condor_install-prefix=/usrwill not
238          move /usr/sbinout of the way unless you specify the -backupoption.
239
240          The -backupbehavior is used to prevent condor_installfrom  overwrit‐
241          ing running daemons - Unix semantics will keep the existing binaries
242          running, even if they have been moved to a new directory.
243
244
245
246
247
248       --ignore-missing-libs
249
250          Ignore missing shared libraries that are detected by condor_install.
251          By  default, condor_installwill detect missing shared libraries such
252          as libstdc++.so.5on Linux; it will print messages and exit if  miss‐
253          ing libraries are detected. The --ignore-missing-libswill cause con‐
254          dor_installto not exit, and to  proceed  with  the  installation  if
255          missing libraries are detected.
256
257
258
259
260
261       --force
262
263          This  is  equivalent  to  enabling both the --overwriteand --ignore-
264          missing-libscommand line options.
265
266
267
268
269
270       --no-env-scripts
271
272          By default, condor_configurewrites simple sh and csh  shell  scripts
273          which  can  be  sourced by their respective shells to set the user's
274          PATHand CONDOR_CONFIGenvironment  variables.  This  option  prevents
275          condor_configurefrom generating these scripts.
276
277
278
279
280
281       --env-scripts-dir=<directory>
282
283          By default, the simple shand cshshell scripts (see --no-env-scripts‐
284          for details) are created in  the  root  directory  of  the  HTCondor
285          installation.  This  option causes condor_configureto generate these
286          scripts in the specified directory.
287
288
289
290
291
292       --credd
293
294          Configure the the condor_credddaemon (credential manager daemon).
295
296
297
298
299
300       --verbose
301
302          Print information about changes to configuration variables  as  they
303          occur.
304
305
306

Exit Status

308       condor_configurewill exit with a status value of 0 (zero) upon success,
309       and it will exit with a nonzero value upon failure.
310

Examples

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

Author

339       Center for High Throughput Computing, University of Wisconsin-Madison
340
342       Copyright (C) 1990-2019 Center for High Throughput Computing,  Computer
343       Sciences  Department, University of Wisconsin-Madison, Madison, WI. All
344       Rights Reserved. Licensed under the Apache License, Version 2.0.
345
346
347
348                                     date                    condor_install(1)
Impressum