Guest User

WINDOWSconf

a guest
Jun 5th, 2013
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 109.32 KB | None | 0 0
  1. ######################################################################
  2. ##
  3. ## condor_config
  4. ##
  5. ## This is the global configuration file for condor. Any settings
  6. ## made here may potentially be overridden in the local configuration
  7. ## file. KEEP THAT IN MIND! To double-check that a variable is
  8. ## getting set from the configuration file that you expect, use
  9. ## condor_config_val -v <variable name>
  10. ##
  11. ## The file is divided into four main parts:
  12. ## Part 1: Settings you likely want to customize
  13. ## Part 2: Settings you may want to customize
  14. ## Part 3: Settings that control the policy of when condor will
  15. ## start and stop jobs on your machines
  16. ## Part 4: Settings you should probably leave alone (unless you
  17. ## know what you're doing)
  18. ##
  19. ## Please read the INSTALL file (or the Install chapter in the
  20. ## Condor Administrator's Manual) for detailed explanations of the
  21. ## various settings in here and possible ways to configure your
  22. ## pool.
  23. ##
  24. ## Unless otherwise specified, settings that are commented out show
  25. ## the defaults that are used if you don't define a value. Settings
  26. ## that are defined here MUST BE DEFINED since they have no default
  27. ## value.
  28. ##
  29. ## Unless otherwise indicated, all settings which specify a time are
  30. ## defined in seconds.
  31. ##
  32. ######################################################################
  33.  
  34. ######################################################################
  35. ######################################################################
  36. ##
  37. ## ###### #
  38. ## # # ## ##### ##### ##
  39. ## # # # # # # # # #
  40. ## ###### # # # # # #
  41. ## # ###### ##### # #
  42. ## # # # # # # #
  43. ## # # # # # # #####
  44. ##
  45. ## Part 1: Settings you likely want to customize:
  46. ######################################################################
  47. ######################################################################
  48.  
  49. ## What machine is your central manager?
  50. CONDOR_HOST=<ip>
  51.  
  52. ##--------------------------------------------------------------------
  53. ## Pathnames:
  54. ##--------------------------------------------------------------------
  55. ## Where have you installed the bin, sbin and lib condor directories?
  56. RELEASE_DIR=C:\condor
  57.  
  58. ## Where is the local condor directory for each host?
  59. ## This is where the local config file(s), logs and
  60. ## spool/execute directories are located
  61. LOCAL_DIR = $(RELEASE_DIR)
  62. #LOCAL_DIR = $(RELEASE_DIR)/hosts/$(HOSTNAME)
  63.  
  64. ## Where is the machine-specific local config file for each host?
  65. LOCAL_CONFIG_FILE = $(LOCAL_DIR)/condor_config.local
  66. #LOCAL_CONFIG_FILE = $(RELEASE_DIR)/etc/$(HOSTNAME).local
  67.  
  68. ## Where are optional machine-specific local config files located?
  69. ## Config files are included in lexicographic order.
  70. LOCAL_CONFIG_DIR = $(LOCAL_DIR)/config
  71. #LOCAL_CONFIG_DIR = $(LOCAL_DIR)/config
  72.  
  73. ## Blacklist for file processing in the LOCAL_CONFIG_DIR
  74. ## LOCAL_CONFIG_DIR_EXCLUDE_REGEXP = ^((\..*)|(.*~)|(#.*)|(.*\.rpmsave)|(.*\.rpmnew))$
  75.  
  76. ## If the local config file is not present, is it an error?
  77. ## WARNING: This is a potential security issue.
  78. ## If not specified, the default is True
  79. REQUIRE_LOCAL_CONFIG_FILE = FALSE
  80.  
  81. ##--------------------------------------------------------------------
  82. ## Mail parameters:
  83. ##--------------------------------------------------------------------
  84. ## When something goes wrong with condor at your site, who should get
  85. ## the email?
  86.  
  87. ## Full path to a mail delivery program that understands that "-s"
  88. ## means you want to specify a subject:
  89. MAIL = $(BIN)/condor_mail.exe
  90.  
  91. ## For Condor on Win32 we need to specify an SMTP server so
  92. ## that Condor is able to send email.
  93. SMTP_SERVER=smtp.uncw.edu
  94.  
  95. ## For Condor on Win32 we may need to specify a "from"
  96. ## address so that a valid address is used in the from
  97. ## field.
  98. MAIL_FROM =
  99.  
  100.  
  101. ##--------------------------------------------------------------------
  102. ## Network domain parameters:
  103. ##--------------------------------------------------------------------
  104. ## Internet domain of machines sharing a common UID space. If your
  105. ## machines don't share a common UID space, set it to
  106. ## UID_DOMAIN = $(FULL_HOSTNAME)
  107. ## to specify that each machine has its own UID space.
  108. UID_DOMAIN=uncw.edu
  109.  
  110. ## Internet domain of machines sharing a common file system.
  111. ## If your machines don't use a network file system, set it to
  112. ## FILESYSTEM_DOMAIN = $(FULL_HOSTNAME)
  113. ## to specify that each machine has its own file system.
  114. #FILESYSTEM_DOMAIN = $(FULL_HOSTNAME)
  115.  
  116. ## This macro is used to specify a short description of your pool.
  117. ## It should be about 20 characters long. For example, the name of
  118. ## the UW-Madison Computer Science Condor Pool is ``UW-Madison CS''.
  119. COLLECTOR_NAME = My Pool - $(CONDOR_HOST)
  120.  
  121. ######################################################################
  122. ######################################################################
  123. ##
  124. ## ###### #####
  125. ## # # ## ##### ##### # #
  126. ## # # # # # # # #
  127. ## ###### # # # # # #####
  128. ## # ###### ##### # #
  129. ## # # # # # # #
  130. ## # # # # # # #######
  131. ##
  132. ## Part 2: Settings you may want to customize:
  133. ## (it is generally safe to leave these untouched)
  134. ######################################################################
  135. ######################################################################
  136.  
  137. ##
  138. ## The user/group ID <uid>.<gid> of the "Condor" user.
  139. ## (this can also be specified in the environment)
  140. ## Note: the CONDOR_IDS setting is ignored on Win32 platforms
  141. #CONDOR_IDS=x.x
  142.  
  143. ##--------------------------------------------------------------------
  144. ## Flocking: Submitting jobs to more than one pool
  145. ##--------------------------------------------------------------------
  146. ## Flocking allows you to run your jobs in other pools, or lets
  147. ## others run jobs in your pool.
  148. ##
  149. ## To let others flock to you, define FLOCK_FROM.
  150. ##
  151. ## To flock to others, define FLOCK_TO.
  152.  
  153. ## FLOCK_FROM defines the machines where you would like to grant
  154. ## people access to your pool via flocking. (i.e. you are granting
  155. ## access to these machines to join your pool).
  156. FLOCK_FROM =
  157. ## An example of this is:
  158. #FLOCK_FROM = somehost.friendly.domain, anotherhost.friendly.domain
  159.  
  160. ## FLOCK_TO defines the central managers of the pools that you want
  161. ## to flock to. (i.e. you are specifying the machines that you
  162. ## want your jobs to be negotiated at -- thereby specifying the
  163. ## pools they will run in.)
  164. FLOCK_TO =
  165. ## An example of this is:
  166. #FLOCK_TO = central_manager.friendly.domain, condor.cs.wisc.edu
  167.  
  168. ## FLOCK_COLLECTOR_HOSTS should almost always be the same as
  169. ## FLOCK_NEGOTIATOR_HOSTS (as shown below). The only reason it would be
  170. ## different is if the collector and negotiator in the pool that you are
  171. ## flocking too are running on different machines (not recommended).
  172. ## The collectors must be specified in the same corresponding order as
  173. ## the FLOCK_NEGOTIATOR_HOSTS list.
  174. FLOCK_NEGOTIATOR_HOSTS = $(FLOCK_TO)
  175. FLOCK_COLLECTOR_HOSTS = $(FLOCK_TO)
  176. ## An example of having the negotiator and the collector on different
  177. ## machines is:
  178. #FLOCK_NEGOTIATOR_HOSTS = condor.cs.wisc.edu, condor-negotiator.friendly.domain
  179. #FLOCK_COLLECTOR_HOSTS = condor.cs.wisc.edu, condor-collector.friendly.domain
  180.  
  181. ##--------------------------------------------------------------------
  182. ## Host/IP access levels
  183. ##--------------------------------------------------------------------
  184. ## Please see the administrator's manual for details on these
  185. ## settings, what they're for, and how to use them.
  186.  
  187. ## What machines have administrative rights for your pool? This
  188. ## defaults to your central manager. You should set it to the
  189. ## machine(s) where whoever is the condor administrator(s) works
  190. ## (assuming you trust all the users who log into that/those
  191. ## machine(s), since this is machine-wide access you're granting).
  192. ALLOW_ADMINISTRATOR=*
  193.  
  194. ## If there are no machines that should have administrative access
  195. ## to your pool (for example, there's no machine where only trusted
  196. ## users have accounts), you can uncomment this setting.
  197. ## Unfortunately, this will mean that administering your pool will
  198. ## be more difficult.
  199. #DENY_ADMINISTRATOR = *
  200.  
  201. ## What machines should have "owner" access to your machines, meaning
  202. ## they can issue commands that a machine owner should be able to
  203. ## issue to their own machine (like condor_vacate). This defaults to
  204. ## machines with administrator access, and the local machine. This
  205. ## is probably what you want.
  206. ALLOW_OWNER = $(FULL_HOSTNAME), $(ALLOW_ADMINISTRATOR)
  207.  
  208. ## Read access. Machines listed as allow (and/or not listed as deny)
  209. ## can view the status of your pool, but cannot join your pool
  210. ## or run jobs.
  211. ## NOTE: By default, without these entries customized, you
  212. ## are granting read access to the whole world. You may want to
  213. ## restrict that to hosts in your domain. If possible, please also
  214. ## grant read access to "*.cs.wisc.edu", so the Condor developers
  215. ## will be able to view the status of your pool and more easily help
  216. ## you install, configure or debug your Condor installation.
  217. ## It is important to have this defined.
  218. ALLOW_READ=*
  219. #ALLOW_READ = *.your.domain, *.cs.wisc.edu
  220. #DENY_READ = *.bad.subnet, bad-machine.your.domain, 144.77.88.*
  221.  
  222. ## Write access. Machines listed here can join your pool, submit
  223. ## jobs, etc. Note: Any machine which has WRITE access must
  224. ## also be granted READ access. Granting WRITE access below does
  225. ## not also automatically grant READ access; you must change
  226. ## ALLOW_READ above as well.
  227. ##
  228. ## You must set this to something else before Condor will run.
  229. ## This most simple option is:
  230. ## ALLOW_WRITE = *
  231. ## but note that this will allow anyone to submit jobs or add
  232. ## machines to your pool and is a serious security risk.
  233.  
  234. ALLOW_WRITE=*
  235. #ALLOW_WRITE = *.your.domain, your-friend's-machine.other.domain
  236. #DENY_WRITE = bad-machine.your.domain
  237.  
  238. ## Are you upgrading to a new version of Condor and confused about
  239. ## why the above ALLOW_WRITE setting is causing Condor to refuse to
  240. ## start up? If you are upgrading from a configuration that uses
  241. ## HOSTALLOW/HOSTDENY instead of ALLOW/DENY we recommend that you
  242. ## convert all uses of the former to the latter. The syntax of the
  243. ## authorization settings is identical. They both support
  244. ## unauthenticated IP-based authorization as well as authenticated
  245. ## user-based authorization. To avoid confusion, the use of
  246. ## HOSTALLOW/HOSTDENY is discouraged. Support for it may be removed
  247. ## in the future.
  248.  
  249. ## Negotiator access. Machines listed here are trusted central
  250. ## managers. You should normally not have to change this.
  251. ALLOW_NEGOTIATOR = $(CONDOR_HOST), $(IP_ADDRESS)
  252. ## Now, with flocking we need to let the SCHEDD trust the other
  253. ## negotiators we are flocking with as well. You should normally
  254. ## not have to change this either.
  255. ALLOW_NEGOTIATOR_SCHEDD = $(CONDOR_HOST), $(FLOCK_NEGOTIATOR_HOSTS), $(IP_ADDRESS)
  256.  
  257. ## Config access. Machines listed here can use the condor_config_val
  258. ## tool to modify all daemon configurations. This level of host-wide
  259. ## access should only be granted with extreme caution. By default,
  260. ## config access is denied from all hosts.
  261. #ALLOW_CONFIG = trusted-host.your.domain
  262.  
  263. ## Flocking Configs. These are the real things that Condor looks at,
  264. ## but we set them from the FLOCK_FROM/TO macros above. It is safe
  265. ## to leave these unchanged.
  266. ALLOW_WRITE_COLLECTOR = $(ALLOW_WRITE), $(FLOCK_FROM)
  267. ALLOW_WRITE_STARTD = $(ALLOW_WRITE), $(FLOCK_FROM)
  268. ALLOW_READ_COLLECTOR = $(ALLOW_READ), $(FLOCK_FROM)
  269. ALLOW_READ_STARTD = $(ALLOW_READ), $(FLOCK_FROM)
  270.  
  271.  
  272. ##--------------------------------------------------------------------
  273. ## Security parameters for setting configuration values remotely:
  274. ##--------------------------------------------------------------------
  275. ## These parameters define the list of attributes that can be set
  276. ## remotely with condor_config_val for the security access levels
  277. ## defined above (for example, WRITE, ADMINISTRATOR, CONFIG, etc).
  278. ## Please see the administrator's manual for further details on these
  279. ## settings, what they're for, and how to use them. There are no
  280. ## default values for any of these settings. If they are not
  281. ## defined, no attributes can be set with condor_config_val.
  282.  
  283. ## Do you want to allow condor_config_val -reset to work at all?
  284. ## This feature is disabled by default, so to enable, you must
  285. ## uncomment the following setting and change the value to "True".
  286. ## Note: changing this requires a restart not just a reconfig.
  287. #ENABLE_RUNTIME_CONFIG = False
  288.  
  289. ## Do you want to allow condor_config_val -set to work at all?
  290. ## This feature is disabled by default, so to enable, you must
  291. ## uncomment the following setting and change the value to "True".
  292. ## Note: changing this requires a restart not just a reconfig.
  293. #ENABLE_PERSISTENT_CONFIG = False
  294.  
  295. ## Directory where daemons should write persistent config files (used
  296. ## to support condor_config_val -set). This directory should *ONLY*
  297. ## be writable by root (or the user the Condor daemons are running as
  298. ## if non-root). There is no default, administrators must define this.
  299. ## Note: changing this requires a restart not just a reconfig.
  300. #PERSISTENT_CONFIG_DIR = /full/path/to/root-only/local/directory
  301.  
  302. ## Attributes that can be set by hosts with "CONFIG" permission (as
  303. ## defined with ALLOW_CONFIG and DENY_CONFIG above).
  304. ## The commented-out value here was the default behavior of Condor
  305. ## prior to version 6.3.3. If you don't need this behavior, you
  306. ## should leave this commented out.
  307. #SETTABLE_ATTRS_CONFIG = *
  308.  
  309. ## Attributes that can be set by hosts with "ADMINISTRATOR"
  310. ## permission (as defined above)
  311. #SETTABLE_ATTRS_ADMINISTRATOR = *_DEBUG, MAX_*_LOG
  312.  
  313. ## Attributes that can be set by hosts with "OWNER" permission (as
  314. ## defined above) NOTE: any Condor job running on a given host will
  315. ## have OWNER permission on that host by default. If you grant this
  316. ## kind of access, Condor jobs will be able to modify any attributes
  317. ## you list below on the machine where they are running. This has
  318. ## obvious security implications, so only grant this kind of
  319. ## permission for custom attributes that you define for your own use
  320. ## at your pool (custom attributes about your machines that are
  321. ## published with the STARTD_ATTRS setting, for example).
  322. #SETTABLE_ATTRS_OWNER = your_custom_attribute, another_custom_attr
  323.  
  324. ## You can also define daemon-specific versions of each of these
  325. ## settings. For example, to define settings that can only be
  326. ## changed in the condor_startd's configuration by hosts with OWNER
  327. ## permission, you would use:
  328. #STARTD_SETTABLE_ATTRS_OWNER = your_custom_attribute_name
  329.  
  330.  
  331. ##--------------------------------------------------------------------
  332. ## Network filesystem parameters:
  333. ##--------------------------------------------------------------------
  334. ## Do you want to use NFS for file access instead of remote system
  335. ## calls?
  336. #USE_NFS = False
  337.  
  338. ## Do you want to use AFS for file access instead of remote system
  339. ## calls?
  340. #USE_AFS = False
  341.  
  342. ##--------------------------------------------------------------------
  343. ## Checkpoint server:
  344. ##--------------------------------------------------------------------
  345. ## Do you want to use a checkpoint server if one is available? If a
  346. ## checkpoint server isn't available or USE_CKPT_SERVER is set to
  347. ## False, checkpoints will be written to the local SPOOL directory on
  348. ## the submission machine.
  349. #USE_CKPT_SERVER = True
  350.  
  351. ## What's the hostname of this machine's nearest checkpoint server?
  352. #CKPT_SERVER_HOST = checkpoint-server-hostname.your.domain
  353.  
  354. ## Do you want the starter on the execute machine to choose the
  355. ## checkpoint server? If False, the CKPT_SERVER_HOST set on
  356. ## the submit machine is used. Otherwise, the CKPT_SERVER_HOST set
  357. ## on the execute machine is used. The default is true.
  358. #STARTER_CHOOSES_CKPT_SERVER = True
  359.  
  360. ##--------------------------------------------------------------------
  361. ## Miscellaneous:
  362. ##--------------------------------------------------------------------
  363. ## Try to save this much swap space by not starting new shadows.
  364. ## Specified in megabytes.
  365. #RESERVED_SWAP = 0
  366.  
  367. ## What's the maximum number of jobs you want a single submit machine
  368. ## to spawn shadows for? The default is a function of $(DETECTED_MEMORY)
  369. ## and a guess at the number of ephemeral ports available.
  370.  
  371. ## Example 1:
  372. #MAX_JOBS_RUNNING = 10000
  373.  
  374. ## Example 2:
  375. ## This is more complicated, but it produces the same limit as the default.
  376. ## First define some expressions to use in our calculation.
  377. ## Assume we can use up to 80% of memory and estimate shadow private data
  378. ## size of 800k.
  379. #MAX_SHADOWS_MEM = ceiling($(DETECTED_MEMORY)*0.8*1024/800)
  380. ## Assume we can use ~21,000 ephemeral ports (avg ~2.1 per shadow).
  381. ## Under Linux, the range is set in /proc/sys/net/ipv4/ip_local_port_range.
  382. #MAX_SHADOWS_PORTS = 10000
  383. ## Under windows, things are much less scalable, currently.
  384. ## Note that this can probably be safely increased a bit under 64-bit windows.
  385. #MAX_SHADOWS_OPSYS = ifThenElse(regexp("WIN.*","$(OPSYS)"),200,100000)
  386. ## Now build up the expression for MAX_JOBS_RUNNING. This is complicated
  387. ## due to lack of a min() function.
  388. #MAX_JOBS_RUNNING = $(MAX_SHADOWS_MEM)
  389. #MAX_JOBS_RUNNING = \
  390. # ifThenElse( $(MAX_SHADOWS_PORTS) < $(MAX_JOBS_RUNNING), \
  391. # $(MAX_SHADOWS_PORTS), \
  392. # $(MAX_JOBS_RUNNING) )
  393. #MAX_JOBS_RUNNING = \
  394. # ifThenElse( $(MAX_SHADOWS_OPSYS) < $(MAX_JOBS_RUNNING), \
  395. # $(MAX_SHADOWS_OPSYS), \
  396. # $(MAX_JOBS_RUNNING) )
  397.  
  398.  
  399. ## Maximum number of simultaneous downloads of output files from
  400. ## execute machines to the submit machine (limit applied per schedd).
  401. ## The value 0 means unlimited.
  402. #MAX_CONCURRENT_DOWNLOADS = 10
  403.  
  404. ## Maximum number of simultaneous uploads of input files from the
  405. ## submit machine to execute machines (limit applied per schedd).
  406. ## The value 0 means unlimited.
  407. #MAX_CONCURRENT_UPLOADS = 10
  408.  
  409. ## Condor needs to create a few lock files to synchronize access to
  410. ## various log files. Because of problems we've had with network
  411. ## filesystems and file locking over the years, we HIGHLY recommend
  412. ## that you put these lock files on a local partition on each
  413. ## machine. If you don't have your LOCAL_DIR on a local partition,
  414. ## be sure to change this entry. Whatever user (or group) condor is
  415. ## running as needs to have write access to this directory. If
  416. ## you're not running as root, this is whatever user you started up
  417. ## the condor_master as. If you are running as root, and there's a
  418. ## condor account, it's probably condor. Otherwise, it's whatever
  419. ## you've set in the CONDOR_IDS environment variable. See the Admin
  420. ## manual for details on this.
  421. LOCK = $(LOG)
  422.  
  423. ## If you don't use a fully qualified name in your /etc/hosts file
  424. ## (or NIS, etc.) for either your official hostname or as an alias,
  425. ## Condor wouldn't normally be able to use fully qualified names in
  426. ## places that it'd like to. You can set this parameter to the
  427. ## domain you'd like appended to your hostname, if changing your host
  428. ## information isn't a good option. This parameter must be set in
  429. ## the global config file (not the LOCAL_CONFIG_FILE from above).
  430. #DEFAULT_DOMAIN_NAME = your.domain.name
  431.  
  432. ## If you don't have DNS set up, Condor will normally fail in many
  433. ## places because it can't resolve hostnames to IP addresses and
  434. ## vice-versa. If you enable this option, Condor will use
  435. ## pseudo-hostnames constructed from a machine's IP address and the
  436. ## DEFAULT_DOMAIN_NAME. Both NO_DNS and DEFAULT_DOMAIN must be set in
  437. ## your top-level config file for this mode of operation to work
  438. ## properly.
  439. #NO_DNS = True
  440.  
  441. ## Condor can be told whether or not you want the Condor daemons to
  442. ## create a core file if something really bad happens. This just
  443. ## sets the resource limit for the size of a core file. By default,
  444. ## we don't do anything, and leave in place whatever limit was in
  445. ## effect when you started the Condor daemons. If this parameter is
  446. ## set and "True", we increase the limit to as large as it gets. If
  447. ## it's set to "False", we set the limit at 0 (which means that no
  448. ## core files are even created). Core files greatly help the Condor
  449. ## developers debug any problems you might be having.
  450. #CREATE_CORE_FILES = True
  451.  
  452. ## When Condor daemons detect a fatal internal exception, they
  453. ## normally log an error message and exit. If you have turned on
  454. ## CREATE_CORE_FILES, in some cases you may also want to turn on
  455. ## ABORT_ON_EXCEPTION so that core files are generated when an
  456. ## exception occurs. Set the following to True if that is what you
  457. ## want.
  458. #ABORT_ON_EXCEPTION = False
  459.  
  460. ## If your site needs to use UID_DOMAIN settings (defined above) that
  461. ## are not real Internet domains that match the hostnames, you can
  462. ## tell Condor to trust whatever UID_DOMAIN a submit machine gives to
  463. ## the execute machine and just make sure the two strings match. The
  464. ## default for this setting is False, since it is more secure this
  465. ## way.
  466. TRUST_UID_DOMAIN = True
  467.  
  468. ## If you would like to be informed in near real-time via condor_q when
  469. ## a vanilla/standard/java job is in a suspension state, set this attribute to
  470. ## TRUE. However, this real-time update of the condor_schedd by the shadows
  471. ## could cause performance issues if there are thousands of concurrently
  472. ## running vanilla/standard/java jobs under a single condor_schedd and they
  473. ## are allowed to suspend and resume.
  474. #REAL_TIME_JOB_SUSPEND_UPDATES = False
  475.  
  476. ## A standard universe job can perform arbitrary shell calls via the
  477. ## libc 'system()' function. This function call is routed back to the shadow
  478. ## which performs the actual system() invocation in the initial directory of the
  479. ## running program and as the user who submitted the job. However, since the
  480. ## user job can request ARBITRARY shell commands to be run by the shadow, this
  481. ## is a generally unsafe practice. This should only be made available if it is
  482. ## actually needed. If this attribute is not defined, then it is the same as
  483. ## it being defined to False. Set it to True to allow the shadow to execute
  484. ## arbitrary shell code from the user job.
  485. #SHADOW_ALLOW_UNSAFE_REMOTE_EXEC = False
  486.  
  487. ## KEEP_OUTPUT_SANDBOX is an optional feature to tell Condor-G to not
  488. ## remove the job spool when the job leaves the queue. To use, just
  489. ## set to TRUE. Since you will be operating Condor-G in this manner,
  490. ## you may want to put leave_in_queue = false in your job submit
  491. ## description files, to tell Condor-G to simply remove the job from
  492. ## the queue immediately when the job completes (since the output files
  493. ## will stick around no matter what).
  494. #KEEP_OUTPUT_SANDBOX = False
  495.  
  496. ## This setting tells the negotiator to ignore user priorities. This
  497. ## avoids problems where jobs from different users won't run when using
  498. ## condor_advertise instead of a full-blown startd (some of the user
  499. ## priority system in Condor relies on information from the startd --
  500. ## we will remove this reliance when we support the user priority
  501. ## system for grid sites in the negotiator; for now, this setting will
  502. ## just disable it).
  503. #NEGOTIATOR_IGNORE_USER_PRIORITIES = False
  504.  
  505. ## This is a list of libraries containing ClassAd plug-in functions.
  506. #CLASSAD_USER_LIBS =
  507.  
  508. ## This setting tells Condor whether to delegate or copy GSI X509
  509. ## credentials when sending them over the wire between daemons.
  510. ## Delegation can take up to a second, which is very slow when
  511. ## submitting a large number of jobs. Copying exposes the credential
  512. ## to third parties if Condor isn't set to encrypt communications.
  513. ## By default, Condor will delegate rather than copy.
  514. #DELEGATE_JOB_GSI_CREDENTIALS = True
  515.  
  516. ## This setting controls whether Condor delegates a full or limited
  517. ## X509 credential for jobs. Currently, this only affects grid-type
  518. ## gt2 grid universe jobs. The default is False.
  519. #DELEGATE_FULL_JOB_GSI_CREDENTIALS = False
  520.  
  521. ## This setting controls the default behavior for the spooling of files
  522. ## into, or out of, the Condor system by such tools as condor_submit
  523. ## and condor_transfer_data. Here is the list of valid settings for this
  524. ## parameter and what they mean:
  525. ##
  526. ## stm_use_schedd_only
  527. ## Ask the condor_schedd to solely store/retrieve the sandbox
  528. ##
  529. ## stm_use_transferd
  530. ## Ask the condor_schedd for a location of a condor_transferd, then
  531. ## store/retrieve the sandbox from the transferd itself.
  532. ##
  533. ## The allowed values are case insensitive.
  534. ## The default of this parameter if not specified is: stm_use_schedd_only
  535. #SANDBOX_TRANSFER_METHOD = stm_use_schedd_only
  536.  
  537. ## This setting specifies an IP address that depends on the setting of
  538. ## BIND_ALL_INTERFACES. If BIND_ALL_INTERFACES is True (the default), then
  539. ## this variable controls what IP address will be advertised as the public
  540. ## address of the daemon. If BIND_ALL_INTERFACES is False, then this variable
  541. ## specifies which IP address to bind network sockets to. If
  542. ## BIND_ALL_INTERFACES is False and NETWORK_INTERFACE is not defined, Condor
  543. ## chooses a network interface automatically. It tries to choose a public
  544. ## interface if one is available. If it cannot decide which of two interfaces
  545. ## to choose from, it will pick the first one.
  546. #NETWORK_INTERFACE =
  547.  
  548. ##--------------------------------------------------------------------
  549. ## Settings that control the daemon's debugging output:
  550. ##--------------------------------------------------------------------
  551.  
  552. ##
  553. ## The flags given in ALL_DEBUG are shared between all daemons.
  554. ##
  555.  
  556. ALL_DEBUG =
  557.  
  558. MAX_COLLECTOR_LOG = 1000000
  559. COLLECTOR_DEBUG =
  560.  
  561. MAX_KBDD_LOG = 1000000
  562. KBDD_DEBUG =
  563.  
  564. MAX_NEGOTIATOR_LOG = 1000000
  565. NEGOTIATOR_DEBUG = D_MATCH
  566. MAX_NEGOTIATOR_MATCH_LOG = 1000000
  567.  
  568. MAX_SCHEDD_LOG = 1000000
  569. SCHEDD_DEBUG = D_PID
  570.  
  571. MAX_SHADOW_LOG = 1000000
  572. SHADOW_DEBUG =
  573.  
  574. MAX_STARTD_LOG = 1000000
  575. STARTD_DEBUG =
  576.  
  577. MAX_STARTER_LOG = 1000000
  578.  
  579. MAX_MASTER_LOG = 1000000
  580. MASTER_DEBUG =
  581. ## When the master starts up, should it truncate it's log file?
  582. #TRUNC_MASTER_LOG_ON_OPEN = False
  583.  
  584. MAX_JOB_ROUTER_LOG = 1000000
  585. JOB_ROUTER_DEBUG =
  586.  
  587. MAX_ROOSTER_LOG = 1000000
  588. ROOSTER_DEBUG =
  589.  
  590. MAX_SHARED_PORT_LOG = 1000000
  591. SHARED_PORT_DEBUG =
  592.  
  593. MAX_HDFS_LOG = 1000000
  594. HDFS_DEBUG =
  595.  
  596. # High Availability Logs
  597. MAX_HAD_LOG = 1000000
  598. HAD_DEBUG =
  599. MAX_REPLICATION_LOG = 1000000
  600. REPLICATION_DEBUG =
  601. MAX_TRANSFERER_LOG = 1000000
  602. TRANSFERER_DEBUG =
  603.  
  604.  
  605. ## The daemons touch their log file periodically, even when they have
  606. ## nothing to write. When a daemon starts up, it prints the last time
  607. ## the log file was modified. This lets you estimate when a previous
  608. ## instance of a daemon stopped running. This parameter controls how often
  609. ## the daemons touch the file (in seconds).
  610. #TOUCH_LOG_INTERVAL = 60
  611.  
  612. ######################################################################
  613. ######################################################################
  614. ##
  615. ## ###### #####
  616. ## # # ## ##### ##### # #
  617. ## # # # # # # # #
  618. ## ###### # # # # # #####
  619. ## # ###### ##### # #
  620. ## # # # # # # # #
  621. ## # # # # # # #####
  622. ##
  623. ## Part 3: Settings control the policy for running, stopping, and
  624. ## periodically check-pointing condor jobs:
  625. ######################################################################
  626. ######################################################################
  627.  
  628. ## This section contains macros are here to help write legible
  629. ## expressions:
  630. MINUTE = 60
  631. HOUR = (60 * $(MINUTE))
  632. StateTimer = (time() - EnteredCurrentState)
  633. ActivityTimer = (time() - EnteredCurrentActivity)
  634. ActivationTimer = ifThenElse(JobStart =!= UNDEFINED, (time() - JobStart), 0)
  635. LastCkpt = (time() - LastPeriodicCheckpoint)
  636.  
  637. ## The JobUniverse attribute is just an int. These macros can be
  638. ## used to specify the universe in a human-readable way:
  639. STANDARD = 1
  640. VANILLA = 5
  641. MPI = 8
  642. VM = 13
  643. IsMPI = (TARGET.JobUniverse == $(MPI))
  644. IsVanilla = (TARGET.JobUniverse == $(VANILLA))
  645. IsStandard = (TARGET.JobUniverse == $(STANDARD))
  646. IsVM = (TARGET.JobUniverse == $(VM))
  647.  
  648. NonCondorLoadAvg = (LoadAvg - CondorLoadAvg)
  649. BackgroundLoad = 0.3
  650. HighLoad = 0.5
  651. StartIdleTime = 15 * $(MINUTE)
  652. ContinueIdleTime = 5 * $(MINUTE)
  653. MaxSuspendTime = 10 * $(MINUTE)
  654. MaxVacateTime = 10 * $(MINUTE)
  655.  
  656. KeyboardBusy = (KeyboardIdle < $(MINUTE))
  657. ConsoleBusy = (ConsoleIdle < $(MINUTE))
  658. CPUIdle = ($(NonCondorLoadAvg) <= $(BackgroundLoad))
  659. CPUBusy = ($(NonCondorLoadAvg) >= $(HighLoad))
  660. KeyboardNotBusy = ($(KeyboardBusy) == False)
  661.  
  662. BigJob = (TARGET.ImageSize >= (50 * 1024))
  663. MediumJob = (TARGET.ImageSize >= (15 * 1024) && TARGET.ImageSize < (50 * 1024))
  664. SmallJob = (TARGET.ImageSize < (15 * 1024))
  665.  
  666. JustCPU = ($(CPUBusy) && ($(KeyboardBusy) == False))
  667. MachineBusy = ($(CPUBusy) || $(KeyboardBusy))
  668.  
  669. ## The RANK expression controls which jobs this machine prefers to
  670. ## run over others. Some examples from the manual include:
  671. ## RANK = TARGET.ImageSize
  672. ## RANK = (Owner == "coltrane") + (Owner == "tyner") \
  673. ## + ((Owner == "garrison") * 10) + (Owner == "jones")
  674. ## By default, RANK is always 0, meaning that all jobs have an equal
  675. ## ranking.
  676. #RANK = 0
  677.  
  678.  
  679. #####################################################################
  680. ## This where you choose the configuration that you would like to
  681. ## use. It has no defaults so it must be defined. We start this
  682. ## file off with the UWCS_* policy.
  683. ######################################################################
  684.  
  685. ## Also here is what is referred to as the TESTINGMODE_*, which is
  686. ## a quick hardwired way to test Condor with a simple no-preemption policy.
  687. ## Replace UWCS_* with TESTINGMODE_* if you wish to do testing mode.
  688. ## For example:
  689. ## WANT_SUSPEND = $(UWCS_WANT_SUSPEND)
  690. ## becomes
  691. ## WANT_SUSPEND = $(TESTINGMODE_WANT_SUSPEND)
  692.  
  693. # When should we only consider SUSPEND instead of PREEMPT?
  694. WANT_SUSPEND=TRUE
  695.  
  696. # When should we preempt gracefully instead of hard-killing?
  697. WANT_VACATE=FALSE
  698.  
  699. ## When is this machine willing to start a job?
  700. START=TRUE
  701.  
  702. ## When should a local universe job be allowed to start?
  703. #START_LOCAL_UNIVERSE = TotalLocalJobsRunning < 200
  704.  
  705. ## When should a scheduler universe job be allowed to start?
  706. #START_SCHEDULER_UNIVERSE = TotalSchedulerJobsRunning < 200
  707.  
  708. ## When to suspend a job?
  709. SUSPEND=FALSE
  710.  
  711. ## When to resume a suspended job?
  712. CONTINUE = $(UWCS_CONTINUE)
  713.  
  714. ## When to nicely stop a job?
  715. ## (as opposed to killing it instantaneously)
  716. PREEMPT=FALSE
  717.  
  718. ## When to instantaneously kill a preempting job
  719. ## (e.g. if a job is in the pre-empting stage for too long)
  720. KILL = $(UWCS_KILL)
  721.  
  722. PERIODIC_CHECKPOINT = $(UWCS_PERIODIC_CHECKPOINT)
  723. PREEMPTION_REQUIREMENTS = $(UWCS_PREEMPTION_REQUIREMENTS)
  724. PREEMPTION_RANK = $(UWCS_PREEMPTION_RANK)
  725. NEGOTIATOR_PRE_JOB_RANK = $(UWCS_NEGOTIATOR_PRE_JOB_RANK)
  726. NEGOTIATOR_POST_JOB_RANK = $(UWCS_NEGOTIATOR_POST_JOB_RANK)
  727. MaxJobRetirementTime = $(UWCS_MaxJobRetirementTime)
  728. CLAIM_WORKLIFE = $(UWCS_CLAIM_WORKLIFE)
  729.  
  730. #####################################################################
  731. ## This is the UWisc - CS Department Configuration.
  732. #####################################################################
  733.  
  734. # When should we only consider SUSPEND instead of PREEMPT?
  735. # Only when SUSPEND is True and one of the following is also true:
  736. # - the job is small
  737. # - the keyboard is idle
  738. # - it is a vanilla universe job
  739. UWCS_WANT_SUSPEND = ( $(SmallJob) || $(KeyboardNotBusy) || $(IsVanilla) ) && \
  740. ( $(SUSPEND) )
  741.  
  742. # When should we preempt gracefully instead of hard-killing?
  743. UWCS_WANT_VACATE = ( $(ActivationTimer) > 10 * $(MINUTE) || $(IsVanilla) )
  744.  
  745. # Only start jobs if:
  746. # 1) the keyboard has been idle long enough, AND
  747. # 2) the load average is low enough OR the machine is currently
  748. # running a Condor job
  749. # (NOTE: Condor will only run 1 job at a time on a given resource.
  750. # The reasons Condor might consider running a different job while
  751. # already running one are machine Rank (defined above), and user
  752. # priorities.)
  753. UWCS_START = ( (KeyboardIdle > $(StartIdleTime)) \
  754. && ( $(CPUIdle) || \
  755. (State != "Unclaimed" && State != "Owner")) )
  756.  
  757. # Suspend jobs if:
  758. # 1) the keyboard has been touched, OR
  759. # 2a) The CPU has been busy for more than 2 minutes, AND
  760. # 2b) the job has been running for more than 90 seconds
  761. UWCS_SUSPEND = ( $(KeyboardBusy) || \
  762. ( (CpuBusyTime > 2 * $(MINUTE)) \
  763. && $(ActivationTimer) > 90 ) )
  764.  
  765. # Continue jobs if:
  766. # 1) the cpu is idle, AND
  767. # 2) we've been suspended more than 10 seconds, AND
  768. # 3) the keyboard hasn't been touched in a while
  769. UWCS_CONTINUE = ( $(CPUIdle) && ($(ActivityTimer) > 10) \
  770. && (KeyboardIdle > $(ContinueIdleTime)) )
  771.  
  772. # Preempt jobs if:
  773. # 1) The job is suspended and has been suspended longer than we want
  774. # 2) OR, we don't want to suspend this job, but the conditions to
  775. # suspend jobs have been met (someone is using the machine)
  776. UWCS_PREEMPT = ( ((Activity == "Suspended") && \
  777. ($(ActivityTimer) > $(MaxSuspendTime))) \
  778. || (SUSPEND && (WANT_SUSPEND == False)) )
  779.  
  780. # Maximum time (in seconds) to wait for a job to finish before kicking
  781. # it off (due to PREEMPT, a higher priority claim, or the startd
  782. # gracefully shutting down). This is computed from the time the job
  783. # was started, minus any suspension time. Once the retirement time runs
  784. # out, the usual preemption process will take place. The job may
  785. # self-limit the retirement time to _less_ than what is given here.
  786. # By default, nice user jobs and standard universe jobs set their
  787. # MaxJobRetirementTime to 0, so they will not wait in retirement.
  788.  
  789. UWCS_MaxJobRetirementTime = 0
  790.  
  791. ## If you completely disable preemption of claims to machines, you
  792. ## should consider limiting the time span over which new jobs will be
  793. ## accepted on the same claim. See the manual section on disabling
  794. ## preemption for a comprehensive discussion. Since this example
  795. ## configuration does not disable preemption of claims, we leave
  796. ## CLAIM_WORKLIFE undefined (infinite).
  797. #UWCS_CLAIM_WORKLIFE = 1200
  798.  
  799. # How long to allow a job to vacate gracefully. After this time,
  800. # the job is killed.
  801. MachineMaxVacateTime = $(MaxVacateTime)
  802.  
  803. # Abort graceful eviction of a job, even though it has not
  804. # yet used all the time allotted by MachineMaxVacateTime.
  805. UWCS_KILL = false
  806.  
  807. ## Only define vanilla versions of these if you want to make them
  808. ## different from the above settings.
  809. #SUSPEND_VANILLA = ( $(KeyboardBusy) || \
  810. # ((CpuBusyTime > 2 * $(MINUTE)) && $(ActivationTimer) > 90) )
  811. #CONTINUE_VANILLA = ( $(CPUIdle) && ($(ActivityTimer) > 10) \
  812. # && (KeyboardIdle > $(ContinueIdleTime)) )
  813. #PREEMPT_VANILLA = ( ((Activity == "Suspended") && \
  814. # ($(ActivityTimer) > $(MaxSuspendTime))) \
  815. # || (SUSPEND_VANILLA && (WANT_SUSPEND == False)) )
  816. #KILL_VANILLA = false
  817.  
  818. ## Checkpoint every 3 hours on average, with a +-30 minute random
  819. ## factor to avoid having many jobs hit the checkpoint server at
  820. ## the same time.
  821. UWCS_PERIODIC_CHECKPOINT = $(LastCkpt) > (3 * $(HOUR) + \
  822. $RANDOM_INTEGER(-30,30,1) * $(MINUTE) )
  823.  
  824. ## You might want to checkpoint a little less often. A good
  825. ## example of this is below. For jobs smaller than 60 megabytes, we
  826. ## periodic checkpoint every 6 hours. For larger jobs, we only
  827. ## checkpoint every 12 hours.
  828. #UWCS_PERIODIC_CHECKPOINT = \
  829. # ( (TARGET.ImageSize < 60000) && \
  830. # ($(LastCkpt) > (6 * $(HOUR) + $RANDOM_INTEGER(-30,30,1))) ) || \
  831. # ( $(LastCkpt) > (12 * $(HOUR) + $RANDOM_INTEGER(-30,30,1)) )
  832.  
  833. ## The rank expressions used by the negotiator are configured below.
  834. ## This is the order in which ranks are applied by the negotiator:
  835. ## 1. NEGOTIATOR_PRE_JOB_RANK
  836. ## 2. rank in job ClassAd
  837. ## 3. NEGOTIATOR_POST_JOB_RANK
  838. ## 4. cause of preemption (0=user priority,1=startd rank,2=no preemption)
  839. ## 5. PREEMPTION_RANK
  840.  
  841. ## The NEGOTIATOR_PRE_JOB_RANK expression overrides all other ranks
  842. ## that are used to pick a match from the set of possibilities.
  843. ## The following expression matches jobs to unclaimed resources
  844. ## whenever possible, regardless of the job-supplied rank.
  845. UWCS_NEGOTIATOR_PRE_JOB_RANK = RemoteOwner =?= UNDEFINED
  846.  
  847. ## The NEGOTIATOR_POST_JOB_RANK expression chooses between
  848. ## resources that are equally preferred by the job.
  849. ## The following example expression steers jobs toward
  850. ## faster machines and tends to fill a cluster of multiprocessors
  851. ## breadth-first instead of depth-first. It also prefers online
  852. ## machines over offline (hibernating) ones. In this example,
  853. ## the expression is chosen to have no effect when preemption
  854. ## would take place, allowing control to pass on to
  855. ## PREEMPTION_RANK.
  856. UWCS_NEGOTIATOR_POST_JOB_RANK = \
  857. (RemoteOwner =?= UNDEFINED) * (KFlops - SlotID - 1.0e10*(Offline=?=True))
  858.  
  859. ## The negotiator will not preempt a job running on a given machine
  860. ## unless the PREEMPTION_REQUIREMENTS expression evaluates to true
  861. ## and the owner of the idle job has a better priority than the owner
  862. ## of the running job. This expression defaults to true.
  863. UWCS_PREEMPTION_REQUIREMENTS = ((SubmitterGroup =?= RemoteGroup) \
  864. && ($(StateTimer) > (1 * $(HOUR))) \
  865. && (RemoteUserPrio > TARGET.SubmitterUserPrio * 1.2)) \
  866. || (MY.NiceUser == True)
  867.  
  868. ## The PREEMPTION_RANK expression is used in a case where preemption
  869. ## is the only option and all other negotiation ranks are equal. For
  870. ## example, if the job has no preference, it is usually preferable to
  871. ## preempt a job with a small ImageSize instead of a job with a large
  872. ## ImageSize. The default is to rank all preemptable matches the
  873. ## same. However, the negotiator will always prefer to match the job
  874. ## with an idle machine over a preemptable machine, if all other
  875. ## negotiation ranks are equal.
  876. UWCS_PREEMPTION_RANK = (RemoteUserPrio * 1000000) - TARGET.ImageSize
  877.  
  878.  
  879. #####################################################################
  880. ## This is a Configuration that will cause your Condor jobs to
  881. ## always run. This is intended for testing only.
  882. ######################################################################
  883.  
  884. ## This mode will cause your jobs to start on a machine an will let
  885. ## them run to completion. Condor will ignore all of what is going
  886. ## on in the machine (load average, keyboard activity, etc.)
  887.  
  888. TESTINGMODE_WANT_SUSPEND = False
  889. TESTINGMODE_WANT_VACATE = False
  890. TESTINGMODE_START = True
  891. TESTINGMODE_SUSPEND = False
  892. TESTINGMODE_CONTINUE = True
  893. TESTINGMODE_PREEMPT = False
  894. TESTINGMODE_KILL = False
  895. TESTINGMODE_PERIODIC_CHECKPOINT = False
  896. TESTINGMODE_PREEMPTION_REQUIREMENTS = False
  897. TESTINGMODE_PREEMPTION_RANK = 0
  898.  
  899. # Prevent machine claims from being reused indefinitely, since
  900. # preemption of claims is disabled in the TESTINGMODE configuration.
  901. TESTINGMODE_CLAIM_WORKLIFE = 1200
  902.  
  903.  
  904. ######################################################################
  905. ######################################################################
  906. ##
  907. ## ###### #
  908. ## # # ## ##### ##### # #
  909. ## # # # # # # # # #
  910. ## ###### # # # # # # #
  911. ## # ###### ##### # #######
  912. ## # # # # # # #
  913. ## # # # # # # #
  914. ##
  915. ## Part 4: Settings you should probably leave alone:
  916. ## (unless you know what you're doing)
  917. ######################################################################
  918. ######################################################################
  919.  
  920. ######################################################################
  921. ## Daemon-wide settings:
  922. ######################################################################
  923.  
  924. ## Pathnames
  925. LOG = $(LOCAL_DIR)/log
  926. SPOOL = $(LOCAL_DIR)/spool
  927. EXECUTE = $(LOCAL_DIR)/execute
  928. BIN = $(RELEASE_DIR)/bin
  929. LIB = $(RELEASE_DIR)/lib
  930. INCLUDE = $(RELEASE_DIR)/include
  931. SBIN = $(BIN)
  932. LIBEXEC = $(BIN)
  933.  
  934. ## If you leave HISTORY undefined (comment it out), no history file
  935. ## will be created.
  936. HISTORY = $(SPOOL)/history
  937.  
  938. ## Log files
  939. COLLECTOR_LOG = $(LOG)/CollectorLog
  940. KBDD_LOG = $(LOG)/KbdLog
  941. MASTER_LOG = $(LOG)/MasterLog
  942. NEGOTIATOR_LOG = $(LOG)/NegotiatorLog
  943. NEGOTIATOR_MATCH_LOG = $(LOG)/MatchLog
  944. SCHEDD_LOG = $(LOG)/SchedLog
  945. SHADOW_LOG = $(LOG)/ShadowLog
  946. STARTD_LOG = $(LOG)/StartLog
  947. STARTER_LOG = $(LOG)/StarterLog
  948. JOB_ROUTER_LOG = $(LOG)/JobRouterLog
  949. ROOSTER_LOG = $(LOG)/RoosterLog
  950. SHARED_PORT_LOG = $(LOG)/SharedPortLog
  951. # High Availability Logs
  952. HAD_LOG = $(LOG)/HADLog
  953. REPLICATION_LOG = $(LOG)/ReplicationLog
  954. TRANSFERER_LOG = $(LOG)/TransfererLog
  955. HDFS_LOG = $(LOG)/HDFSLog
  956.  
  957. ## Lock files
  958. SHADOW_LOCK = $(LOCK)/ShadowLock
  959.  
  960. ## This setting controls how often any lock files currently in use have their
  961. ## time stamp updated. Updating the time stamp prevents administrative programs
  962. ## like 'tmpwatch' from deleting long lived lock files. The parameter is
  963. ## an integer in seconds with a minimum of 60 seconds. The default if not
  964. ## specified is 28800 seconds, or 8 hours.
  965. ## This attribute only takes effect on restart of the daemons or at the next
  966. ## update time.
  967. # LOCK_FILE_UPDATE_INTERVAL = 28800
  968.  
  969. ## This setting primarily allows you to change the port that the
  970. ## collector is listening on. By default, the collector uses port
  971. ## 9618, but you can set the port with a ":port", such as:
  972. ## COLLECTOR_HOST = $(CONDOR_HOST):1234
  973. COLLECTOR_HOST = $(CONDOR_HOST)
  974.  
  975. ## The NEGOTIATOR_HOST parameter has been deprecated. The port where
  976. ## the negotiator is listening is now dynamically allocated and the IP
  977. ## and port are now obtained from the collector, just like all the
  978. ## other daemons. However, if your pool contains any machines that
  979. ## are running version 6.7.3 or earlier, you can uncomment this
  980. ## setting to go back to the old fixed-port (9614) for the negotiator.
  981. #NEGOTIATOR_HOST = $(CONDOR_HOST)
  982.  
  983. ## How long are you willing to let daemons try their graceful
  984. ## shutdown methods before they do a hard shutdown? (30 minutes)
  985. #SHUTDOWN_GRACEFUL_TIMEOUT = 1800
  986.  
  987. ## How much disk space would you like reserved from Condor? In
  988. ## places where Condor is computing the free disk space on various
  989. ## partitions, it subtracts the amount it really finds by this
  990. ## many megabytes. (If undefined, defaults to 0).
  991. RESERVED_DISK = 5
  992.  
  993. ## If your machine is running AFS and the AFS cache lives on the same
  994. ## partition as the other Condor directories, and you want Condor to
  995. ## reserve the space that your AFS cache is configured to use, set
  996. ## this to true.
  997. #RESERVE_AFS_CACHE = False
  998.  
  999. ## By default, if a user does not specify "notify_user" in the submit
  1000. ## description file, any email Condor sends about that job will go to
  1001. ## "username@UID_DOMAIN". If your machines all share a common UID
  1002. ## domain (so that you would set UID_DOMAIN to be the same across all
  1003. ## machines in your pool), *BUT* email to user@UID_DOMAIN is *NOT*
  1004. ## the right place for Condor to send email for your site, you can
  1005. ## define the default domain to use for email. A common example
  1006. ## would be to set EMAIL_DOMAIN to the fully qualified hostname of
  1007. ## each machine in your pool, so users submitting jobs from a
  1008. ## specific machine would get email sent to [email protected],
  1009. ## instead of [email protected]. In general, you should leave this
  1010. ## setting commented out unless two things are true: 1) UID_DOMAIN is
  1011. ## set to your domain, not $(FULL_HOSTNAME), and 2) email to
  1012. ## user@UID_DOMAIN won't work.
  1013. #EMAIL_DOMAIN = $(FULL_HOSTNAME)
  1014.  
  1015. ## Should Condor daemons create a UDP command socket (for incoming
  1016. ## UDP-based commands) in addition to the TCP command socket? By
  1017. ## default, classified ad updates sent to the collector use UDP, in
  1018. ## addition to some keep alive messages and other non-essential
  1019. ## communication. However, in certain situations, it might be
  1020. ## desirable to disable the UDP command port (for example, to reduce
  1021. ## the number of ports represented by a CCB broker, etc). If not
  1022. ## defined, the UDP command socket is enabled by default, and to
  1023. ## modify this, you must restart your Condor daemons. Also, this
  1024. ## setting must be defined machine-wide. For example, setting
  1025. ## "STARTD.WANT_UDP_COMMAND_SOCKET = False" while the global setting
  1026. ## is "True" will still result in the startd creating a UDP socket.
  1027. #WANT_UDP_COMMAND_SOCKET = True
  1028.  
  1029. ## If your site needs to use TCP updates to the collector, instead of
  1030. ## UDP, you can enable this feature. HOWEVER, WE DO NOT RECOMMEND
  1031. ## THIS FOR MOST SITES! In general, the only sites that might want
  1032. ## this feature are pools made up of machines connected via a
  1033. ## wide-area network where UDP packets are frequently or always
  1034. ## dropped. If you enable this feature, you *MUST* turn on the
  1035. ## COLLECTOR_SOCKET_CACHE_SIZE setting at your collector, and each
  1036. ## entry in the socket cache uses another file descriptor. If not
  1037. ## defined, this feature is disabled by default.
  1038. #UPDATE_COLLECTOR_WITH_TCP = True
  1039.  
  1040. ## HIGHPORT and LOWPORT let you set the range of ports that Condor
  1041. ## will use. This may be useful if you are behind a firewall. By
  1042. ## default, Condor uses port 9618 for the collector, 9614 for the
  1043. ## negotiator, and system-assigned (apparently random) ports for
  1044. ## everything else. HIGHPORT and LOWPORT only affect these
  1045. ## system-assigned ports, but will restrict them to the range you
  1046. ## specify here. If you want to change the well-known ports for the
  1047. ## collector or negotiator, see COLLECTOR_HOST or NEGOTIATOR_HOST.
  1048. ## Note that both LOWPORT and HIGHPORT must be at least 1024 if you
  1049. ## are not starting your daemons as root. You may also specify
  1050. ## different port ranges for incoming and outgoing connections by
  1051. ## using IN_HIGHPORT/IN_LOWPORT and OUT_HIGHPORT/OUT_LOWPORT.
  1052. #HIGHPORT = 9700
  1053. #LOWPORT = 9600
  1054.  
  1055. ## If a daemon doesn't respond for too long, do you want go generate
  1056. ## a core file? This basically controls the type of the signal
  1057. ## sent to the child process, and mostly affects the Condor Master
  1058. #NOT_RESPONDING_WANT_CORE = False
  1059.  
  1060.  
  1061. ######################################################################
  1062. ## Daemon-specific settings:
  1063. ######################################################################
  1064.  
  1065. ##--------------------------------------------------------------------
  1066. ## condor_master
  1067. ##--------------------------------------------------------------------
  1068. ## Daemons you want the master to keep running for you:
  1069. DAEMON_LIST=MASTER SCHEDD STARTD KBDD
  1070.  
  1071. ## Which daemons use the Condor DaemonCore library (i.e., not the
  1072. ## checkpoint server or custom user daemons)?
  1073. #DC_DAEMON_LIST = \
  1074. #MASTER, STARTD, SCHEDD, KBDD, COLLECTOR, NEGOTIATOR, EVENTD, \
  1075. #VIEW_SERVER, CONDOR_VIEW, VIEW_COLLECTOR, HAWKEYE, CREDD, HAD, \
  1076. #DBMSD, QUILL, JOB_ROUTER, ROOSTER, LEASEMANAGER, HDFS, SHARED_PORT, \
  1077. #DEFRAG
  1078.  
  1079.  
  1080. ## Where are the binaries for these daemons?
  1081. MASTER = $(SBIN)/condor_master.exe
  1082. STARTD = $(SBIN)/condor_startd.exe
  1083. SCHEDD = $(SBIN)/condor_schedd.exe
  1084. KBDD = $(SBIN)/condor_kbdd.exe
  1085. NEGOTIATOR = $(SBIN)/condor_negotiator.exe
  1086. COLLECTOR = $(SBIN)/condor_collector.exe
  1087. CKPT_SERVER = $(SBIN)/condor_ckpt_server.exe
  1088. STARTER_LOCAL = $(SBIN)/condor_starter.exe
  1089. JOB_ROUTER = $(LIBEXEC)/condor_job_router.exe
  1090. ROOSTER = $(LIBEXEC)/condor_rooster.exe
  1091. HDFS = $(SBIN)/condor_hdfs.exe
  1092. SHARED_PORT = $(LIBEXEC)/condor_shared_port.exe
  1093. TRANSFERER = $(LIBEXEC)/condor_transferer.exe
  1094. DEFRAG = $(LIBEXEC)/condor_defrag.exe
  1095.  
  1096. ## When the master starts up, it can place it's address (IP and port)
  1097. ## into a file. This way, tools running on the local machine don't
  1098. ## need to query the central manager to find the master. This
  1099. ## feature can be turned off by commenting out this setting.
  1100. MASTER_ADDRESS_FILE = $(LOG)/.master_address
  1101.  
  1102. ## Where should the master find the condor_preen binary? If you don't
  1103. ## want preen to run at all, set it to nothing.
  1104. PREEN = $(SBIN)/condor_preen.exe
  1105.  
  1106. ## How do you want preen to behave? The "-m" means you want email
  1107. ## about files preen finds that it thinks it should remove. The "-r"
  1108. ## means you want preen to actually remove these files. If you don't
  1109. ## want either of those things to happen, just remove the appropriate
  1110. ## one from this setting.
  1111. PREEN_ARGS = -m -r
  1112.  
  1113. ## How often should the master start up condor_preen? (once a day)
  1114. #PREEN_INTERVAL = 86400
  1115.  
  1116. ## If a daemon dies an unnatural death, do you want email about it?
  1117. #PUBLISH_OBITUARIES = True
  1118.  
  1119. ## If you're getting obituaries, how many lines of the end of that
  1120. ## daemon's log file do you want included in the obituary?
  1121. #OBITUARY_LOG_LENGTH = 20
  1122.  
  1123. ## Should the master run?
  1124. #START_MASTER = True
  1125.  
  1126. ## Should the master start up the daemons you want it to?
  1127. #START_DAEMONS = True
  1128.  
  1129. ## How often do you want the master to send an update to the central
  1130. ## manager?
  1131. #MASTER_UPDATE_INTERVAL = 300
  1132.  
  1133. ## How often do you want the master to check the time stamps of the
  1134. ## daemons it's running? If any daemons have been modified, the
  1135. ## master restarts them.
  1136. #MASTER_CHECK_NEW_EXEC_INTERVAL = 300
  1137.  
  1138. ## Once you notice new binaries, how long should you wait before you
  1139. ## try to execute them?
  1140. #MASTER_NEW_BINARY_DELAY = 120
  1141.  
  1142. ## What's the maximum amount of time you're willing to give the
  1143. ## daemons to quickly shutdown before you just kill them outright?
  1144. #SHUTDOWN_FAST_TIMEOUT = 120
  1145.  
  1146. ######
  1147. ## Exponential back off settings:
  1148. ######
  1149. ## When a daemon keeps crashing, we use "exponential back off" so we
  1150. ## wait longer and longer before restarting it. This is the base of
  1151. ## the exponent used to determine how long to wait before starting
  1152. ## the daemon again:
  1153. #MASTER_BACKOFF_FACTOR = 2.0
  1154.  
  1155. ## What's the maximum amount of time you want the master to wait
  1156. ## between attempts to start a given daemon? (With 2.0 as the
  1157. ## MASTER_BACKOFF_FACTOR, you'd hit 1 hour in 12 restarts...)
  1158. #MASTER_BACKOFF_CEILING = 3600
  1159.  
  1160. ## How long should a daemon run without crashing before we consider
  1161. ## it "recovered". Once a daemon has recovered, we reset the number
  1162. ## of restarts so the exponential back off stuff goes back to normal.
  1163. #MASTER_RECOVER_FACTOR = 300
  1164.  
  1165.  
  1166. ##--------------------------------------------------------------------
  1167. ## condor_collector
  1168. ##--------------------------------------------------------------------
  1169. ## Address to which Condor will send a weekly e-mail with output of
  1170. ## condor_status.
  1171. #CONDOR_DEVELOPERS = [email protected]
  1172.  
  1173. ## Global Collector to periodically advertise basic information about
  1174. ## your pool.
  1175. #CONDOR_DEVELOPERS_COLLECTOR = condor.cs.wisc.edu
  1176.  
  1177. ## When the collector starts up, it can place it's address (IP and port)
  1178. ## into a file. This way, tools running on the local machine don't
  1179. ## need to query the central manager to find the collector. This
  1180. ## feature can be turned off by commenting out this setting.
  1181. ## This is essential when using a port of "0" (automatic) for the
  1182. ## COLLECTOR_HOST, a useful technique for personal Condor installs.
  1183. COLLECTOR_ADDRESS_FILE = $(LOG)/.collector_address
  1184.  
  1185.  
  1186. ##--------------------------------------------------------------------
  1187. ## condor_negotiator
  1188. ##--------------------------------------------------------------------
  1189. ## Determine if the Negotiator will honor SlotWeight attributes, which
  1190. ## may be used to give a slot greater weight when calculating usage.
  1191. #NEGOTIATOR_USE_SLOT_WEIGHTS = True
  1192.  
  1193.  
  1194. ## How often the Negotaitor starts a negotiation cycle, defined in
  1195. ## seconds.
  1196. #NEGOTIATOR_INTERVAL = 60
  1197.  
  1198. ## Should the Negotiator publish an update to the Collector after
  1199. ## every negotiation cycle. It is useful to have this set to True
  1200. ## to get immediate updates on LastNegotiationCycle statistics.
  1201. #NEGOTIATOR_UPDATE_AFTER_CYCLE = False
  1202.  
  1203.  
  1204. ##--------------------------------------------------------------------
  1205. ## condor_startd
  1206. ##--------------------------------------------------------------------
  1207. ## Where are the various condor_starter binaries installed?
  1208. STARTER_LIST = STARTER
  1209. STARTER = $(SBIN)/condor_starter.exe
  1210. STARTER_STANDARD = $(SBIN)/condor_starter.std.exe
  1211. STARTER_LOCAL = $(SBIN)/condor_starter.exe
  1212.  
  1213. ## When the startd starts up, it can place it's address (IP and port)
  1214. ## into a file. This way, tools running on the local machine don't
  1215. ## need to query the central manager to find the startd. This
  1216. ## feature can be turned off by commenting out this setting.
  1217. STARTD_ADDRESS_FILE = $(LOG)/.startd_address
  1218.  
  1219. ## When a machine is claimed, how often should we poll the state of
  1220. ## the machine to see if we need to evict/suspend the job, etc?
  1221. #POLLING_INTERVAL = 5
  1222.  
  1223. ## How often should the startd send updates to the central manager?
  1224. #UPDATE_INTERVAL = 300
  1225.  
  1226. ## How long is the startd willing to stay in the "matched" state?
  1227. #MATCH_TIMEOUT = 300
  1228.  
  1229. ## How long is the startd willing to stay in the preempting/killing
  1230. ## state before it just kills the starter directly?
  1231. #KILLING_TIMEOUT = 30
  1232.  
  1233. ## When a machine unclaimed, when should it run benchmarks?
  1234. ## LastBenchmark is initialized to 0, so this expression says as soon
  1235. ## as we're unclaimed, run the benchmarks. Thereafter, if we're
  1236. ## unclaimed and it's been at least 4 hours since we ran the last
  1237. ## benchmarks, run them again. The startd keeps a weighted average
  1238. ## of the benchmark results to provide more accurate values.
  1239. ## Note, if you don't want any benchmarks run at all, either comment
  1240. ## RunBenchmarks out, or set it to "False".
  1241. BenchmarkTimer = (time() - LastBenchmark)
  1242. RunBenchmarks : (LastBenchmark == 0 ) || ($(BenchmarkTimer) >= (4 * $(HOUR)))
  1243. #RunBenchmarks : False
  1244.  
  1245. ## When the startd does benchmarks, which set of benchmarks should we
  1246. ## run? The default is the same as pre-7.5.6: MIPS and KFLOPS.
  1247. benchmarks_joblist = mips kflops
  1248.  
  1249. ## What's the max "load" of all running benchmarks? With the default
  1250. ## (1.01), the startd will run the benchmarks serially.
  1251. benchmarks_max_job_load = 1.0
  1252.  
  1253. # MIPS (Dhrystone 2.1) benchmark: load 1.0
  1254. benchmarks_mips_executable = $(LIBEXEC)/condor_mips.exe
  1255. benchmarks_mips_job_load = 1.0
  1256.  
  1257. # KFLOPS (clinpack) benchmark: load 1.0
  1258. benchmarks_kflops_executable = $(LIBEXEC)/condor_kflops.exe
  1259. benchmarks_kflops_job_load = 1.0
  1260.  
  1261.  
  1262. ## Normally, when the startd is computing the idle time of all the
  1263. ## users of the machine (both local and remote), it checks the utmp
  1264. ## file to find all the currently active ttys, and only checks access
  1265. ## time of the devices associated with active logins. Unfortunately,
  1266. ## on some systems, utmp is unreliable, and the startd might miss
  1267. ## keyboard activity by doing this. So, if your utmp is unreliable,
  1268. ## set this setting to True and the startd will check the access time
  1269. ## on all tty and pty devices.
  1270. #STARTD_HAS_BAD_UTMP = False
  1271.  
  1272. ## This entry allows the startd to monitor console (keyboard and
  1273. ## mouse) activity by checking the access times on special files in
  1274. ## /dev. Activity on these files shows up as "ConsoleIdle" time in
  1275. ## the startd's ClassAd. Just give a comma-separated list of the
  1276. ## names of devices you want considered the console, without the
  1277. ## "/dev/" portion of the pathname.
  1278. #CONSOLE_DEVICES = mouse, console
  1279.  
  1280.  
  1281. ## The STARTD_ATTRS (and legacy STARTD_EXPRS) entry allows you to
  1282. ## have the startd advertise arbitrary attributes from the config
  1283. ## file in its ClassAd. Give the comma-separated list of entries
  1284. ## from the config file you want in the startd ClassAd.
  1285. ## NOTE: because of the different syntax of the config file and
  1286. ## ClassAds, you might have to do a little extra work to get a given
  1287. ## entry into the ClassAd. In particular, ClassAds require double
  1288. ## quotes (") around your strings. Numeric values can go in
  1289. ## directly, as can boolean expressions. For example, if you wanted
  1290. ## the startd to advertise its list of console devices, when it's
  1291. ## configured to run benchmarks, and how often it sends updates to
  1292. ## the central manager, you'd have to define the following helper
  1293. ## macro:
  1294. #MY_CONSOLE_DEVICES = "$(CONSOLE_DEVICES)"
  1295. ## Note: this must come before you define STARTD_ATTRS because macros
  1296. ## must be defined before you use them in other macros or
  1297. ## expressions.
  1298. ## Then, you'd set the STARTD_ATTRS setting to this:
  1299. #STARTD_ATTRS = MY_CONSOLE_DEVICES, RunBenchmarks, UPDATE_INTERVAL
  1300. ##
  1301. ## STARTD_ATTRS can also be defined on a per-slot basis. The startd
  1302. ## builds the list of attributes to advertise by combining the lists
  1303. ## in this order: STARTD_ATTRS, SLOTx_STARTD_ATTRS. In the below
  1304. ## example, the startd ad for slot1 will have the value for
  1305. ## favorite_color, favorite_season, and favorite_movie, and slot2
  1306. ## will have favorite_color, favorite_season, and favorite_song.
  1307. ##
  1308. #STARTD_ATTRS = favorite_color, favorite_season
  1309. #SLOT1_STARTD_ATTRS = favorite_movie
  1310. #SLOT2_STARTD_ATTRS = favorite_song
  1311. ##
  1312. ## Attributes in the STARTD_ATTRS list can also be on a per-slot basis.
  1313. ## For example, the following configuration:
  1314. ##
  1315. #favorite_color = "blue"
  1316. #favorite_season = "spring"
  1317. #SLOT2_favorite_color = "green"
  1318. #SLOT3_favorite_season = "summer"
  1319. #STARTD_ATTRS = favorite_color, favorite_season
  1320. ##
  1321. ## will result in the following attributes in the slot classified
  1322. ## ads:
  1323. ##
  1324. ## slot1 - favorite_color = "blue"; favorite_season = "spring"
  1325. ## slot2 - favorite_color = "green"; favorite_season = "spring"
  1326. ## slot3 - favorite_color = "blue"; favorite_season = "summer"
  1327. ##
  1328. ## Finally, the recommended default value for this setting, is to
  1329. ## publish the COLLECTOR_HOST setting as a string. This can be
  1330. ## useful using the "$$(COLLECTOR_HOST)" syntax in the submit file
  1331. ## for jobs to know (for example, via their environment) what pool
  1332. ## they're running in.
  1333. COLLECTOR_HOST_STRING = "$(COLLECTOR_HOST)"
  1334. STARTD_ATTRS = COLLECTOR_HOST_STRING
  1335.  
  1336. ## When the startd is claimed by a remote user, it can also advertise
  1337. ## arbitrary attributes from the ClassAd of the job its working on.
  1338. ## Just list the attribute names you want advertised.
  1339. ## Note: since this is already a ClassAd, you don't have to do
  1340. ## anything funny with strings, etc. This feature can be turned off
  1341. ## by commenting out this setting (there is no default).
  1342. STARTD_JOB_EXPRS = ImageSize, ExecutableSize, JobUniverse, NiceUser
  1343.  
  1344. ## If you want to "lie" to Condor about how many CPUs your machine
  1345. ## has, you can use this setting to override Condor's automatic
  1346. ## computation. If you modify this, you must restart the startd for
  1347. ## the change to take effect (a simple condor_reconfig will not do).
  1348. ## Please read the section on "condor_startd Configuration File
  1349. ## Macros" in the Condor Administrators Manual for a further
  1350. ## discussion of this setting. Its use is not recommended. This
  1351. ## must be an integer ("N" isn't a valid setting, that's just used to
  1352. ## represent the default).
  1353. #NUM_CPUS = N
  1354.  
  1355. ## If you never want Condor to detect more the "N" CPUs, uncomment this
  1356. ## line out. You must restart the startd for this setting to take
  1357. ## effect. If set to 0 or a negative number, it is ignored.
  1358. ## By default, it is ignored. Otherwise, it must be a positive
  1359. ## integer ("N" isn't a valid setting, that's just used to
  1360. ## represent the default).
  1361. #MAX_NUM_CPUS = N
  1362.  
  1363. ## Normally, Condor will automatically detect the amount of physical
  1364. ## memory available on your machine. Define MEMORY to tell Condor
  1365. ## how much physical memory (in MB) your machine has, overriding the
  1366. ## value Condor computes automatically. For example:
  1367. #MEMORY = 128
  1368.  
  1369. ## How much memory would you like reserved from Condor? By default,
  1370. ## Condor considers all the physical memory of your machine as
  1371. ## available to be used by Condor jobs. If RESERVED_MEMORY is
  1372. ## defined, Condor subtracts it from the amount of memory it
  1373. ## advertises as available.
  1374. #RESERVED_MEMORY = 0
  1375.  
  1376. ######
  1377. ## SMP startd settings
  1378. ##
  1379. ## By default, Condor will evenly divide the resources in an SMP
  1380. ## machine (such as RAM, swap space and disk space) among all the
  1381. ## CPUs, and advertise each CPU as its own slot with an even share of
  1382. ## the system resources. If you want something other than this,
  1383. ## there are a few options available to you. Please read the section
  1384. ## on "Configuring The Startd for SMP Machines" in the Condor
  1385. ## Administrator's Manual for full details. The various settings are
  1386. ## only briefly listed and described here.
  1387. ######
  1388.  
  1389. ## The maximum number of different slot types.
  1390. #MAX_SLOT_TYPES = 10
  1391.  
  1392. ## Use this setting to define your own slot types. This
  1393. ## allows you to divide system resources unevenly among your CPUs.
  1394. ## You must use a different setting for each different type you
  1395. ## define. The "<N>" in the name of the macro listed below must be
  1396. ## an integer from 1 to MAX_SLOT_TYPES (defined above),
  1397. ## and you use this number to refer to your type. There are many
  1398. ## different formats these settings can take, so be sure to refer to
  1399. ## the section on "Configuring The Startd for SMP Machines" in the
  1400. ## Condor Administrator's Manual for full details. In particular,
  1401. ## read the section titled "Defining Slot Types" to help
  1402. ## understand this setting. If you modify any of these settings, you
  1403. ## must restart the condor_start for the change to take effect.
  1404. #SLOT_TYPE_<N> = 1/4
  1405. #SLOT_TYPE_<N> = cpus=1, ram=25%, swap=1/4, disk=1/4
  1406. # For example:
  1407. #SLOT_TYPE_1 = 1/8
  1408. #SLOT_TYPE_2 = 1/4
  1409.  
  1410. ## If you define your own slot types, you must specify how
  1411. ## many slots of each type you wish to advertise. You do
  1412. ## this with the setting below, replacing the "<N>" with the
  1413. ## corresponding integer you used to define the type above. You can
  1414. ## change the number of a given type being advertised at run-time,
  1415. ## with a simple condor_reconfig.
  1416. #NUM_SLOTS_TYPE_<N> = M
  1417. # For example:
  1418. #NUM_SLOTS_TYPE_1 = 6
  1419. #NUM_SLOTS_TYPE_2 = 1
  1420.  
  1421. ## The number of evenly-divided slots you want Condor to
  1422. ## report to your pool (if less than the total number of CPUs). This
  1423. ## setting is only considered if the "type" settings described above
  1424. ## are not in use. By default, all CPUs are reported. This setting
  1425. ## must be an integer ("N" isn't a valid setting, that's just used to
  1426. ## represent the default).
  1427. #NUM_SLOTS = N
  1428.  
  1429. ## How many of the slots the startd is representing should
  1430. ## be "connected" to the console (in other words, notice when there's
  1431. ## console activity)? This defaults to all slots (N in a
  1432. ## machine with N CPUs). This must be an integer ("N" isn't a valid
  1433. ## setting, that's just used to represent the default).
  1434. #SLOTS_CONNECTED_TO_CONSOLE = N
  1435.  
  1436. ## How many of the slots the startd is representing should
  1437. ## be "connected" to the keyboard (for remote tty activity, as well
  1438. ## as console activity). Defaults to 1.
  1439. #SLOTS_CONNECTED_TO_KEYBOARD = 1
  1440.  
  1441. ## If there are slots that aren't connected to the
  1442. ## keyboard or the console (see the above two settings), the
  1443. ## corresponding idle time reported will be the time since the startd
  1444. ## was spawned, plus the value of this parameter. It defaults to 20
  1445. ## minutes. We do this because, if the slot is configured
  1446. ## not to care about keyboard activity, we want it to be available to
  1447. ## Condor jobs as soon as the startd starts up, instead of having to
  1448. ## wait for 15 minutes or more (which is the default time a machine
  1449. ## must be idle before Condor will start a job). If you don't want
  1450. ## this boost, just set the value to 0. If you change your START
  1451. ## expression to require more than 15 minutes before a job starts,
  1452. ## but you still want jobs to start right away on some of your SMP
  1453. ## nodes, just increase this parameter.
  1454. #DISCONNECTED_KEYBOARD_IDLE_BOOST = 1200
  1455.  
  1456. ######
  1457. ## Settings for computing optional resource availability statistics:
  1458. ######
  1459. ## If STARTD_COMPUTE_AVAIL_STATS = True, the startd will compute
  1460. ## statistics about resource availability to be included in the
  1461. ## classad(s) sent to the collector describing the resource(s) the
  1462. ## startd manages. The following attributes will always be included
  1463. ## in the resource classad(s) if STARTD_COMPUTE_AVAIL_STATS = True:
  1464. ## AvailTime = What proportion of the time (between 0.0 and 1.0)
  1465. ## has this resource been in a state other than "Owner"?
  1466. ## LastAvailInterval = What was the duration (in seconds) of the
  1467. ## last period between "Owner" states?
  1468. ## The following attributes will also be included if the resource is
  1469. ## not in the "Owner" state:
  1470. ## AvailSince = At what time did the resource last leave the
  1471. ## "Owner" state? Measured in the number of seconds since the
  1472. ## epoch (00:00:00 UTC, Jan 1, 1970).
  1473. ## AvailTimeEstimate = Based on past history, this is an estimate
  1474. ## of how long the current period between "Owner" states will
  1475. ## last.
  1476. #STARTD_COMPUTE_AVAIL_STATS = False
  1477.  
  1478. ## If STARTD_COMPUTE_AVAIL_STATS = True, STARTD_AVAIL_CONFIDENCE sets
  1479. ## the confidence level of the AvailTimeEstimate. By default, the
  1480. ## estimate is based on the 80th percentile of past values.
  1481. #STARTD_AVAIL_CONFIDENCE = 0.8
  1482.  
  1483. ## STARTD_MAX_AVAIL_PERIOD_SAMPLES limits the number of samples of
  1484. ## past available intervals stored by the startd to limit memory and
  1485. ## disk consumption. Each sample requires 4 bytes of memory and
  1486. ## approximately 10 bytes of disk space.
  1487. #STARTD_MAX_AVAIL_PERIOD_SAMPLES = 100
  1488.  
  1489. ## CKPT_PROBE is the location of a program which computes aspects of the
  1490. ## CheckpointPlatform classad attribute. By default the location of this
  1491. ## executable will be here: $(LIBEXEC)/condor_ckpt_probe.exe
  1492. CKPT_PROBE = $(LIBEXEC)/condor_ckpt_probe.exe
  1493.  
  1494. ##--------------------------------------------------------------------
  1495. ## condor_schedd
  1496. ##--------------------------------------------------------------------
  1497. ## Where are the various shadow binaries installed?
  1498. SHADOW_LIST = SHADOW
  1499. SHADOW = $(SBIN)/condor_shadow.exe
  1500. SHADOW_STANDARD = $(SBIN)/condor_shadow.std.exe
  1501.  
  1502. ## When the schedd starts up, it can place it's address (IP and port)
  1503. ## into a file. This way, tools running on the local machine don't
  1504. ## need to query the central manager to find the schedd. This
  1505. ## feature can be turned off by commenting out this setting.
  1506. SCHEDD_ADDRESS_FILE = $(SPOOL)/.schedd_address
  1507.  
  1508. ## Additionally, a daemon may store its ClassAd on the local filesystem
  1509. ## as well as sending it to the collector. This way, tools that need
  1510. ## information about a daemon do not have to contact the central manager
  1511. ## to get information about a daemon on the same machine.
  1512. ## This feature is necessary for Quill to work.
  1513. SCHEDD_DAEMON_AD_FILE = $(SPOOL)/.schedd_classad
  1514.  
  1515. ## How often should the schedd send an update to the central manager?
  1516. #SCHEDD_INTERVAL = 300
  1517.  
  1518. ## How long should the schedd wait between spawning each shadow?
  1519. #JOB_START_DELAY = 2
  1520.  
  1521. ## How many concurrent sub-processes should the schedd spawn to handle
  1522. ## queries? (Unix only)
  1523. #SCHEDD_QUERY_WORKERS = 3
  1524.  
  1525. ## How often should the schedd send a keep alive message to any
  1526. ## startds it has claimed? (5 minutes)
  1527. #ALIVE_INTERVAL = 300
  1528.  
  1529. ## This setting controls the maximum number of times that a
  1530. ## condor_shadow processes can have a fatal error (exception) before
  1531. ## the condor_schedd will simply relinquish the match associated with
  1532. ## the dying shadow.
  1533. #MAX_SHADOW_EXCEPTIONS = 5
  1534.  
  1535. ## Estimated virtual memory size of each condor_shadow process.
  1536. ## Specified in kilobytes.
  1537. # SHADOW_SIZE_ESTIMATE = 800
  1538.  
  1539. ## The condor_schedd can renice the condor_shadow processes on your
  1540. ## submit machines. How "nice" do you want the shadows? (1-19).
  1541. ## The higher the number, the lower priority the shadows have.
  1542. # SHADOW_RENICE_INCREMENT = 0
  1543.  
  1544. ## The condor_schedd can renice scheduler universe processes
  1545. ## (e.g. DAGMan) on your submit machines. How "nice" do you want the
  1546. ## scheduler universe processes? (1-19). The higher the number, the
  1547. ## lower priority the processes have.
  1548. # SCHED_UNIV_RENICE_INCREMENT = 0
  1549.  
  1550. ## By default, when the schedd fails to start an idle job, it will
  1551. ## not try to start any other idle jobs in the same cluster during
  1552. ## that negotiation cycle. This makes negotiation much more
  1553. ## efficient for large job clusters. However, in some cases other
  1554. ## jobs in the cluster can be started even though an earlier job
  1555. ## can't. For example, the jobs' requirements may differ, because of
  1556. ## different disk space, memory, or operating system requirements.
  1557. ## Or, machines may be willing to run only some jobs in the cluster,
  1558. ## because their requirements reference the jobs' virtual memory size
  1559. ## or other attribute. Setting NEGOTIATE_ALL_JOBS_IN_CLUSTER to True
  1560. ## will force the schedd to try to start all idle jobs in each
  1561. ## negotiation cycle. This will make negotiation cycles last longer,
  1562. ## but it will ensure that all jobs that can be started will be
  1563. ## started.
  1564. #NEGOTIATE_ALL_JOBS_IN_CLUSTER = False
  1565.  
  1566. ## This setting controls how often, in seconds, the schedd considers
  1567. ## periodic job actions given by the user in the submit file.
  1568. ## (Currently, these are periodic_hold, periodic_release, and periodic_remove.)
  1569. #PERIODIC_EXPR_INTERVAL = 60
  1570.  
  1571. ######
  1572. ## Queue management settings:
  1573. ######
  1574. ## How often should the schedd truncate it's job queue transaction
  1575. ## log? (Specified in seconds, once a day is the default.)
  1576. #QUEUE_CLEAN_INTERVAL = 86400
  1577.  
  1578. ## How often should the schedd commit "wall clock" run time for jobs
  1579. ## to the queue, so run time statistics remain accurate when the
  1580. ## schedd crashes? (Specified in seconds, once per hour is the
  1581. ## default. Set to 0 to disable.)
  1582. #WALL_CLOCK_CKPT_INTERVAL = 3600
  1583.  
  1584. ## What users do you want to grant super user access to this job
  1585. ## queue? (These users will be able to remove other user's jobs).
  1586. ## By default, this only includes root.
  1587. QUEUE_SUPER_USERS = condor, SYSTEM
  1588.  
  1589.  
  1590. ##--------------------------------------------------------------------
  1591. ## condor_shadow
  1592. ##--------------------------------------------------------------------
  1593. ## If the shadow is unable to read a checkpoint file from the
  1594. ## checkpoint server, it keeps trying only if the job has accumulated
  1595. ## more than MAX_DISCARDED_RUN_TIME seconds of CPU usage. Otherwise,
  1596. ## the job is started from scratch. Defaults to 1 hour. This
  1597. ## setting is only used if USE_CKPT_SERVER (from above) is True.
  1598. #MAX_DISCARDED_RUN_TIME = 3600
  1599.  
  1600. ## Should periodic checkpoints be compressed?
  1601. #COMPRESS_PERIODIC_CKPT = False
  1602.  
  1603. ## Should vacate checkpoints be compressed?
  1604. #COMPRESS_VACATE_CKPT = False
  1605.  
  1606. ## Should we commit the application's dirty memory pages to swap
  1607. ## space during a periodic checkpoint?
  1608. #PERIODIC_MEMORY_SYNC = False
  1609.  
  1610. ## Should we write vacate checkpoints slowly? If nonzero, this
  1611. ## parameter specifies the speed at which vacate checkpoints should
  1612. ## be written, in kilobytes per second.
  1613. #SLOW_CKPT_SPEED = 0
  1614.  
  1615. ## How often should the shadow update the job queue with job
  1616. ## attributes that periodically change? Specified in seconds.
  1617. #SHADOW_QUEUE_UPDATE_INTERVAL = 15 * 60
  1618.  
  1619. ## Should the shadow wait to update certain job attributes for the
  1620. ## next periodic update, or should it immediately these update
  1621. ## attributes as they change? Due to performance concerns of
  1622. ## aggressive updates to a busy condor_schedd, the default is True.
  1623. #SHADOW_LAZY_QUEUE_UPDATE = TRUE
  1624.  
  1625.  
  1626. ##--------------------------------------------------------------------
  1627. ## condor_starter
  1628. ##--------------------------------------------------------------------
  1629. ## The condor_starter can renice the processes of Condor
  1630. ## jobs on your execute machines. If you want this, uncomment the
  1631. ## following entry and set it to how "nice" you want the user
  1632. ## jobs. (1-19) The larger the number, the lower priority the
  1633. ## process gets on your machines.
  1634. ## Note on Win32 platforms, this number needs to be greater than
  1635. ## zero (i.e. the job must be reniced) or the mechanism that
  1636. ## monitors CPU load on Win32 systems will give erratic results.
  1637. JOB_RENICE_INCREMENT = 10
  1638.  
  1639. ## Should the starter do local logging to its own log file, or send
  1640. ## debug information back to the condor_shadow where it will end up
  1641. ## in the ShadowLog?
  1642. #STARTER_LOCAL_LOGGING = TRUE
  1643.  
  1644. ## If the UID_DOMAIN settings match on both the execute and submit
  1645. ## machines, but the UID of the user who submitted the job isn't in
  1646. ## the passwd file of the execute machine, the starter will normally
  1647. ## exit with an error. Do you want the starter to just start up the
  1648. ## job with the specified UID, even if it's not in the passwd file?
  1649. SOFT_UID_DOMAIN = TRUE
  1650.  
  1651. ## honor the run_as_owner option from the condor submit file.
  1652. ##
  1653. #STARTER_ALLOW_RUNAS_OWNER = TRUE
  1654.  
  1655. ## Tell the Starter/Startd what program to use to remove a directory
  1656. ## condor_rmdir.exe is a windows-only command that does a better job
  1657. ## than the built-in rmdir command when it is run with elevated privileges
  1658. ## Such as when when Condor is running as a service.
  1659. ## /s is delete sub-directories
  1660. ## /c is continue on error
  1661. WINDOWS_RMDIR = $(SBIN)\condor_rmdir.exe
  1662. #WINDOWS_RMDIR_OPTIONS = /s /c
  1663.  
  1664. ##--------------------------------------------------------------------
  1665. ## condor_procd
  1666. ##--------------------------------------------------------------------
  1667. ##
  1668. # the path to the procd binary
  1669. #
  1670. PROCD = $(SBIN)/condor_procd.exe
  1671.  
  1672. # the path to the procd "address"
  1673. # - on UNIX this will be a named pipe; we'll put it in the
  1674. # $(LOCK) directory by default (note that multiple named pipes
  1675. # will be created in this directory for when the procd responds
  1676. # to its clients)
  1677. # - on Windows, this will be a named pipe as well (but named pipes on
  1678. # Windows are not even close to the same thing as named pipes on
  1679. # UNIX); the name will be something like:
  1680. # \\.\pipe\condor_procd
  1681. #
  1682. PROCD_ADDRESS = \\.\pipe\condor_procd_pipe
  1683.  
  1684. # Note that in other Condor daemons, turning on D_PROCFAMILY will
  1685. # result in that daemon logging all of its interactions with the
  1686. # ProcD.
  1687. #
  1688. PROCD_LOG = $(LOG)/ProcLog
  1689.  
  1690. # This is the maximum period that the procd will use for taking
  1691. # snapshots (the actual period may be lower if a condor daemon registers
  1692. # a family for which it wants more frequent snapshots)
  1693. #
  1694. PROCD_MAX_SNAPSHOT_INTERVAL = 60
  1695.  
  1696. # On Windows, we send a process a "soft kill" via a WM_CLOSE message.
  1697. # This binary is used by the ProcD (and other Condor daemons if PRIVSEP
  1698. # is not enabled) to help when sending soft kills.
  1699. WINDOWS_SOFTKILL = $(SBIN)/condor_softkill.exe
  1700.  
  1701. ##--------------------------------------------------------------------
  1702. ## condor_submit
  1703. ##--------------------------------------------------------------------
  1704. ## If you want condor_submit to automatically append an expression to
  1705. ## the Requirements expression or Rank expression of jobs at your
  1706. ## site, uncomment these entries.
  1707. #APPEND_REQUIREMENTS = (expression to append job requirements)
  1708. #APPEND_RANK = (expression to append job rank)
  1709.  
  1710. ## If you want expressions only appended for either standard or
  1711. ## vanilla universe jobs, you can uncomment these entries. If any of
  1712. ## them are defined, they are used for the given universe, instead of
  1713. ## the generic entries above.
  1714. #APPEND_REQ_VANILLA = (expression to append to vanilla job requirements)
  1715. #APPEND_REQ_STANDARD = (expression to append to standard job requirements)
  1716. #APPEND_RANK_STANDARD = (expression to append to vanilla job rank)
  1717. #APPEND_RANK_VANILLA = (expression to append to standard job rank)
  1718.  
  1719. ## This can be used to define a default value for the rank expression
  1720. ## if one is not specified in the submit file.
  1721. #DEFAULT_RANK = (default rank expression for all jobs)
  1722.  
  1723. ## If you want universe-specific defaults, you can use the following
  1724. ## entries:
  1725. #DEFAULT_RANK_VANILLA = (default rank expression for vanilla jobs)
  1726. #DEFAULT_RANK_STANDARD = (default rank expression for standard jobs)
  1727.  
  1728. ## If you want condor_submit to automatically append expressions to
  1729. ## the job ClassAds it creates, you can uncomment and define the
  1730. ## SUBMIT_EXPRS setting. It works just like the STARTD_EXPRS
  1731. ## described above with respect to ClassAd vs. config file syntax,
  1732. ## strings, etc. One common use would be to have the full hostname
  1733. ## of the machine where a job was submitted placed in the job
  1734. ## ClassAd. You would do this by uncommenting the following lines:
  1735. #MACHINE = "$(FULL_HOSTNAME)"
  1736. #SUBMIT_EXPRS = MACHINE
  1737.  
  1738. ## Condor keeps a buffer of recently-used data for each file an
  1739. ## application opens. This macro specifies the default maximum number
  1740. ## of bytes to be buffered for each open file at the executing
  1741. ## machine.
  1742. #DEFAULT_IO_BUFFER_SIZE = 524288
  1743.  
  1744. ## Condor will attempt to consolidate small read and write operations
  1745. ## into large blocks. This macro specifies the default block size
  1746. ## Condor will use.
  1747. #DEFAULT_IO_BUFFER_BLOCK_SIZE = 32768
  1748.  
  1749. ##--------------------------------------------------------------------
  1750. ## condor_preen
  1751. ##--------------------------------------------------------------------
  1752. ## Who should condor_preen send email to?
  1753. #PREEN_ADMIN = $(CONDOR_ADMIN)
  1754.  
  1755. ## What files should condor_preen leave in the spool directory?
  1756. VALID_SPOOL_FILES = job_queue.log, job_queue.log.tmp, history, \
  1757. Accountant.log, Accountantnew.log, \
  1758. local_univ_execute, .quillwritepassword, \
  1759. .pgpass, \
  1760. .schedd_address, .schedd_classad
  1761.  
  1762. ## What files should condor_preen remove from the log directory?
  1763. INVALID_LOG_FILES = core
  1764.  
  1765. ##--------------------------------------------------------------------
  1766. ## Java parameters:
  1767. ##--------------------------------------------------------------------
  1768. ## If you would like this machine to be able to run Java jobs,
  1769. ## then set JAVA to the path of your JVM binary. If you are not
  1770. ## interested in Java, there is no harm in leaving this entry
  1771. ## empty or incorrect.
  1772.  
  1773. JAVA=C:\PROGRA~1\Java\jre7\bin\java.exe
  1774.  
  1775. ## JAVA_CLASSPATH_DEFAULT gives the default set of paths in which
  1776. ## Java classes are to be found. Each path is separated by spaces.
  1777. ## If your JVM needs to be informed of additional directories, add
  1778. ## them here. However, do not remove the existing entries, as Condor
  1779. ## needs them.
  1780.  
  1781. JAVA_CLASSPATH_DEFAULT = $(BIN) $(BIN)/scimark2lib.jar .
  1782.  
  1783. ## JAVA_CLASSPATH_ARGUMENT describes the command-line parameter
  1784. ## used to introduce a new classpath:
  1785.  
  1786. JAVA_CLASSPATH_ARGUMENT = -classpath
  1787.  
  1788. ## JAVA_CLASSPATH_SEPARATOR describes the character used to mark
  1789. ## one path element from another:
  1790.  
  1791. JAVA_CLASSPATH_SEPARATOR= ;
  1792. JAVA_CLASSPATH_SEPARATOR = :
  1793.  
  1794. ## JAVA_BENCHMARK_TIME describes the number of seconds for which
  1795. ## to run Java benchmarks. A longer time yields a more accurate
  1796. ## benchmark, but consumes more otherwise useful CPU time.
  1797. ## If this time is zero or undefined, no Java benchmarks will be run.
  1798.  
  1799. JAVA_BENCHMARK_TIME = 2
  1800.  
  1801. ## If your JVM requires any special arguments not mentioned in
  1802. ## the options above, then give them here.
  1803.  
  1804. JAVA_EXTRA_ARGUMENTS =
  1805.  
  1806. ##
  1807. ##--------------------------------------------------------------------
  1808. ## Condor-G settings
  1809. ##--------------------------------------------------------------------
  1810. ## Where is the GridManager binary installed?
  1811.  
  1812. GRIDMANAGER = $(SBIN)/condor_gridmanager.exe
  1813. GT2_GAHP = $(SBIN)/gahp_server
  1814. GRID_MONITOR = $(SBIN)/grid_monitor
  1815.  
  1816. ##--------------------------------------------------------------------
  1817. ## Settings that control the daemon's debugging output:
  1818. ##--------------------------------------------------------------------
  1819. ##
  1820. ## Note that the Gridmanager runs as the User, not a Condor daemon, so
  1821. ## all users must have write permission to the directory that the
  1822. ## Gridmanager will use for it's logfile. Our suggestion is to create a
  1823. ## directory called GridLogs in $(LOG) with UNIX permissions 1777
  1824. ## (just like /tmp )
  1825. ## Another option is to use /tmp as the location of the GridManager log.
  1826. ##
  1827.  
  1828. MAX_GRIDMANAGER_LOG = 1000000
  1829. GRIDMANAGER_DEBUG =
  1830.  
  1831. GRIDMANAGER_LOG = $(LOG)/GridmanagerLog.$(USERNAME)
  1832. GRIDMANAGER_LOCK = $(LOCK)/GridmanagerLock.$(USERNAME)
  1833.  
  1834. ##--------------------------------------------------------------------
  1835. ## Various other settings that the Condor-G can use.
  1836. ##--------------------------------------------------------------------
  1837.  
  1838. ## The number of seconds between status update requests. You can make
  1839. ## this short (5 seconds) if you want Condor to respond quickly to
  1840. ## instances as they terminate, or you can make it long (300 seconds = 5
  1841. ## minutes) if you know your instances will run for awhile and don't
  1842. ## mind delay between when they stop and when Condor responds to them
  1843. ## stopping.
  1844. GRIDMANAGER_JOB_PROBE_INTERVAL = 300
  1845.  
  1846. ## For grid-type gt2 jobs (pre-WS GRAM), limit the number of jobmanager
  1847. ## processes the gridmanager will let run on the headnode. Letting too
  1848. ## many jobmanagers run causes severe load on the headnode.
  1849. GRIDMANAGER_MAX_JOBMANAGERS_PER_RESOURCE = 10
  1850.  
  1851. ## If we're talking to a Globus 2.0 resource, Condor-G will use the new
  1852. ## version of the GRAM protocol. The first option is how often to check the
  1853. ## proxy on the submit site of things. If the GridManager discovers a new
  1854. ## proxy, it will restart itself and use the new proxy for all future
  1855. ## jobs launched. In seconds, and defaults to 10 minutes
  1856. #GRIDMANAGER_CHECKPROXY_INTERVAL = 600
  1857.  
  1858. ## The GridManager will shut things down 3 minutes before loosing Contact
  1859. ## because of an expired proxy.
  1860. ## In seconds, and defaults to 3 minutes
  1861. #GRDIMANAGER_MINIMUM_PROXY_TIME = 180
  1862.  
  1863. ## Condor requires that each submitted job be designated to run under a
  1864. ## particular "universe".
  1865. ##
  1866. ## If no universe is specified in the submit file, Condor must pick one
  1867. ## for the job to use. By default, it chooses the "vanilla" universe.
  1868. ## The default can be overridden in the config file with the DEFAULT_UNIVERSE
  1869. ## setting, which is a string to insert into a job submit description if the
  1870. ## job does not try and define it's own universe
  1871. ##
  1872. #DEFAULT_UNIVERSE = vanilla
  1873.  
  1874. #
  1875. # The Cred_min_time_left is the first-pass at making sure that Condor-G
  1876. # does not submit your job without it having enough time left for the
  1877. # job to finish. For example, if you have a job that runs for 20 minutes, and
  1878. # you might spend 40 minutes in the queue, it's a bad idea to submit with less
  1879. # than an hour left before your proxy expires.
  1880. # 2 hours seemed like a reasonable default.
  1881. #
  1882. CRED_MIN_TIME_LEFT = 120
  1883.  
  1884.  
  1885. ##
  1886. ## The GridMonitor allows you to submit many more jobs to a GT2 GRAM server
  1887. ## than is normally possible.
  1888. #ENABLE_GRID_MONITOR = TRUE
  1889.  
  1890. ##
  1891. ## When an error occurs with the GridMonitor, how long should the
  1892. ## gridmanager wait before trying to submit a new GridMonitor job?
  1893. ## The default is 1 hour (3600 seconds).
  1894. #GRID_MONITOR_DISABLE_TIME = 3600
  1895.  
  1896. ##
  1897. ## The location of the wrapper for invoking
  1898. ## Condor GAHP server
  1899. ##
  1900. CONDOR_GAHP = $(SBIN)/condor_c-gahp.exe
  1901. CONDOR_GAHP_WORKER = $(SBIN)/condor_c-gahp_worker_thread.exe
  1902.  
  1903. ##
  1904. ## The Condor GAHP server has its own log. Like the Gridmanager, the
  1905. ## GAHP server is run as the User, not a Condor daemon, so all users must
  1906. ## have write permission to the directory used for the logfile. Our
  1907. ## suggestion is to create a directory called GridLogs in $(LOG) with
  1908. ## UNIX permissions 1777 (just like /tmp )
  1909. ## Another option is to use /tmp as the location of the CGAHP log.
  1910. ##
  1911. MAX_C_GAHP_LOG = 1000000
  1912.  
  1913. #C_GAHP_LOG = $(LOG)/GridLogs/CGAHPLog.$(USERNAME)
  1914. C_GAHP_LOG = NUL
  1915. C_GAHP_LOCK = NUL
  1916. C_GAHP_WORKER_THREAD_LOG = NUL
  1917. C_GAHP_WORKER_THREAD_LOCK = NUL
  1918.  
  1919. ##
  1920. ## Location of the PBS/LSF gahp and its associated binaries
  1921. ##
  1922. GLITE_LOCATION = $(LIBEXEC)/glite
  1923. BATCH_GAHP = $(GLITE_LOCATION)/bin/batch_gahp
  1924.  
  1925. ##
  1926. ## The location of the wrapper for invoking the Unicore GAHP server
  1927. ##
  1928. UNICORE_GAHP = $(SBIN)/unicore_gahp
  1929.  
  1930. ##
  1931. ## The location of the wrapper for invoking the NorduGrid GAHP server
  1932. ##
  1933. NORDUGRID_GAHP = $(SBIN)/nordugrid_gahp
  1934.  
  1935. ## The location of the CREAM GAHP server
  1936. CREAM_GAHP = $(SBIN)/cream_gahp
  1937.  
  1938. ## Condor-G and CredD can use MyProxy to refresh GSI proxies which are
  1939. ## about to expire.
  1940. #MYPROXY_GET_DELEGATION = /path/to/myproxy-get-delegation
  1941.  
  1942. ## The location of the Deltacloud GAHP server
  1943. DELTACLOUD_GAHP = $(SBIN)/deltacloud_gahp
  1944.  
  1945. ##
  1946. ## EC2 (REST): Universe = Grid, Grid_Resource = ec2
  1947. ##
  1948.  
  1949. ## The location of the ec2_gahp program, required
  1950. EC2_GAHP = $(SBIN)/ec2_gahp
  1951.  
  1952. ## Location of log files, useful for debugging, must be in
  1953. ## a directory writable by any user, such as /tmp
  1954. #EC2_GAHP_DEBUG = D_FULLDEBUG
  1955. EC2_GAHP_LOG = /tmp/EC2GahpLog.$(USERNAME)
  1956.  
  1957. ## As of this writing EC2 has a hard limit of 20 concurrently
  1958. ## running instances, so a limit of 20 is imposed so the GridManager
  1959. ## does not waste its time sending requests that will be rejected.
  1960. GRIDMANAGER_MAX_SUBMITTED_JOBS_PER_RESOURCE_EC2 = 20
  1961.  
  1962. ##
  1963. ##--------------------------------------------------------------------
  1964. ## condor_credd credential management daemon
  1965. ##--------------------------------------------------------------------
  1966. ## Where is the CredD binary installed?
  1967. CREDD = $(SBIN)/condor_credd.exe
  1968.  
  1969. ## When the credd starts up, it can place it's address (IP and port)
  1970. ## into a file. This way, tools running on the local machine don't
  1971. ## need an additional "-n host:port" command line option. This
  1972. ## feature can be turned off by commenting out this setting.
  1973. CREDD_ADDRESS_FILE = $(LOG)/.credd_address
  1974.  
  1975. ## Specify a remote credd server here,
  1976. #CREDD_HOST = $(CONDOR_HOST):$(CREDD_PORT)
  1977.  
  1978. ## CredD startup arguments
  1979. ## Start the CredD on a well-known port. Uncomment to to simplify
  1980. ## connecting to a remote CredD. Note: that this interface may change
  1981. ## in a future release.
  1982. CREDD_PORT = 9620
  1983. CREDD_ARGS = -p $(CREDD_PORT) -f
  1984.  
  1985. ## CredD daemon debugging log
  1986. CREDD_LOG = $(LOG)/CredLog
  1987. CREDD_DEBUG = D_FULLDEBUG
  1988. MAX_CREDD_LOG = 4000000
  1989.  
  1990. ## The credential owner submits the credential. This list specififies
  1991. ## other user who are also permitted to see all credentials. Defaults
  1992. ## to root on Unix systems, and Administrator on Windows systems.
  1993. #CRED_SUPER_USERS =
  1994.  
  1995. ## Credential storage location. This directory must exist
  1996. ## prior to starting condor_credd. It is highly recommended to
  1997. ## restrict access permissions to _only_ the directory owner.
  1998. CRED_STORE_DIR = $(LOCAL_DIR)/cred_dir
  1999.  
  2000. ## Index file path of saved credentials.
  2001. ## This file will be automatically created if it does not exist.
  2002. #CRED_INDEX_FILE = $(CRED_STORE_DIR/cred-index
  2003.  
  2004. ## condor_credd will attempt to refresh credentials when their
  2005. ## remaining lifespan is less than this value. Units = seconds.
  2006. #DEFAULT_CRED_EXPIRE_THRESHOLD = 3600
  2007.  
  2008. ## condor-credd periodically checks remaining lifespan of stored
  2009. ## credentials, at this interval.
  2010. #CRED_CHECK_INTERVAL = 60
  2011.  
  2012. ##
  2013. ##--------------------------------------------------------------------
  2014. ## Stork data placement server
  2015. ##--------------------------------------------------------------------
  2016. ## Where is the Stork binary installed?
  2017. STORK = $(SBIN)/stork_server
  2018.  
  2019. ## When Stork starts up, it can place it's address (IP and port)
  2020. ## into a file. This way, tools running on the local machine don't
  2021. ## need an additional "-n host:port" command line option. This
  2022. ## feature can be turned off by commenting out this setting.
  2023. STORK_ADDRESS_FILE = $(LOG)/.stork_address
  2024.  
  2025. ## Specify a remote Stork server here,
  2026. #STORK_HOST = $(CONDOR_HOST):$(STORK_PORT)
  2027.  
  2028. ## STORK_LOG_BASE specifies the basename for heritage Stork log files.
  2029. ## Stork uses this macro to create the following output log files:
  2030. ## $(STORK_LOG_BASE): Stork server job queue classad collection
  2031. ## journal file.
  2032. ## $(STORK_LOG_BASE).history: Used to track completed jobs.
  2033. ## $(STORK_LOG_BASE).user_log: User level log, also used by DAGMan.
  2034. STORK_LOG_BASE = $(LOG)/Stork
  2035.  
  2036. ## Modern Condor DaemonCore logging feature.
  2037. STORK_LOG = $(LOG)/StorkLog
  2038. STORK_DEBUG = D_FULLDEBUG
  2039. MAX_STORK_LOG = 4000000
  2040.  
  2041. ## Stork startup arguments
  2042. ## Start Stork on a well-known port. Uncomment to to simplify
  2043. ## connecting to a remote Stork. Note: that this interface may change
  2044. ## in a future release.
  2045. #STORK_PORT = 34048
  2046. STORK_PORT = 9621
  2047. STORK_ARGS = -p $(STORK_PORT) -f -Serverlog $(STORK_LOG_BASE)
  2048.  
  2049. ## Stork environment. Stork modules may require external programs and
  2050. ## shared object libraries. These are located using the PATH and
  2051. ## LD_LIBRARY_PATH environments. Further, some modules may require
  2052. ## further specific environments. By default, Stork inherits a full
  2053. ## environment when invoked from condor_master or the shell. If the
  2054. ## default environment is not adequate for all Stork modules, specify
  2055. ## a replacement environment here. This environment will be set by
  2056. ## condor_master before starting Stork, but does not apply if Stork is
  2057. ## started directly from the command line.
  2058. #STORK_ENVIRONMENT = TMP=/tmp;CONDOR_CONFIG=/special/config;PATH=/lib
  2059.  
  2060. ## Limits the number of concurrent data placements handled by Stork.
  2061. #STORK_MAX_NUM_JOBS = 5
  2062.  
  2063. ## Limits the number of retries for a failed data placement.
  2064. #STORK_MAX_RETRY = 5
  2065.  
  2066. ## Limits the run time for a data placement job, after which the
  2067. ## placement is considered failed.
  2068. #STORK_MAXDELAY_INMINUTES = 10
  2069.  
  2070. ## Temporary credential storage directory used by Stork.
  2071. #STORK_TMP_CRED_DIR = /tmp
  2072.  
  2073. ## Directory containing Stork modules.
  2074. #STORK_MODULE_DIR = $(LIBEXEC)
  2075.  
  2076. ##
  2077. ##--------------------------------------------------------------------
  2078. ## Quill Job Queue Mirroring Server
  2079. ##--------------------------------------------------------------------
  2080. ## Where is the Quill binary installed and what arguments should be passed?
  2081. QUILL = $(SBIN)/condor_quill.exe
  2082. #QUILL_ARGS =
  2083.  
  2084. # Where is the log file for the quill daemon?
  2085. QUILL_LOG = $(LOG)/QuillLog
  2086.  
  2087. # The identification and location of the quill daemon for local clients.
  2088. QUILL_ADDRESS_FILE = $(LOG)/.quill_address
  2089.  
  2090. # If this is set to true, then the rest of the QUILL arguments must be defined
  2091. # for quill to function. If it is False or left undefined, then quill will not
  2092. # be consulted by either the scheduler or the tools, but in the case of a
  2093. # remote quill query where the local client has quill turned off, but the
  2094. # remote client has quill turned on, things will still function normally.
  2095. #QUILL_ENABLED = TRUE
  2096.  
  2097. #
  2098. # If Quill is enabled, by default it will only mirror the current job
  2099. # queue into the database. For historical jobs, and classads from other
  2100. # sources, the SQL Log must be enabled.
  2101. #QUILL_USE_SQL_LOG=FALSE
  2102.  
  2103. #
  2104. # The SQL Log can be enabled on a per-daemon basis. For example, to collect
  2105. # historical job information, but store no information about execute machines,
  2106. # uncomment these two lines
  2107. #QUILL_USE_SQL_LOG = FALSE
  2108. #SCHEDD.QUILL_USE_SQL_LOG = TRUE
  2109.  
  2110. # This will be the name of a quill daemon using this config file. This name
  2111. # should not conflict with any other quill name--or schedd name.
  2112. #QUILL_NAME = [email protected]
  2113.  
  2114. # The Postgreql server requires usernames that can manipulate tables. This will
  2115. # be the username associated with this instance of the quill daemon mirroring
  2116. # a schedd's job queue. Each quill daemon must have a unique username
  2117. # associated with it otherwise multiple quill daemons will corrupt the data
  2118. # held under an identical user name.
  2119. #QUILL_DB_NAME = name_of_db
  2120.  
  2121. # The required password for the DB user which quill will use to read
  2122. # information from the database about the queue.
  2123. #QUILL_DB_QUERY_PASSWORD = foobar
  2124.  
  2125. # What kind of database server is this?
  2126. # For now, only PGSQL is supported
  2127. #QUILL_DB_TYPE = PGSQL
  2128.  
  2129. # The machine and port of the postgres server.
  2130. # Although this says IP Addr, it can be a DNS name.
  2131. # It must match whatever format you used for the .pgpass file, however
  2132. #QUILL_DB_IP_ADDR = machine.domain.com:5432
  2133.  
  2134. # The login to use to attach to the database for updating information.
  2135. # There should be an entry in file $SPOOL/.pgpass that gives the password
  2136. # for this login id.
  2137. #QUILL_DB_USER = quillwriter
  2138.  
  2139. # Polling period, in seconds, for when quill reads transactions out of the
  2140. # schedd's job queue log file and puts them into the database.
  2141. #QUILL_POLLING_PERIOD = 10
  2142.  
  2143. # Allows or disallows a remote query to the quill daemon and database
  2144. # which is reading this log file. Defaults to true.
  2145. #QUILL_IS_REMOTELY_QUERYABLE = TRUE
  2146.  
  2147. # Add debugging flags to here if you need to debug quill for some reason.
  2148. #QUILL_DEBUG = D_FULLDEBUG
  2149.  
  2150. # Number of seconds the master should wait for the Quill daemon to respond
  2151. # before killing it. This number might need to be increased for very
  2152. # large logfiles.
  2153. # The default is 3600 (one hour), but kicking it up to a few hours won't hurt
  2154. #QUILL_NOT_RESPONDING_TIMEOUT = 3600
  2155.  
  2156. # Should Quill hold open a database connection to the DBMSD?
  2157. # Each open connection consumes resources at the server, so large pools
  2158. # (100 or more machines) should set this variable to FALSE. Note the
  2159. # default is TRUE.
  2160. #QUILL_MAINTAIN_DB_CONN = TRUE
  2161.  
  2162. ##
  2163. ##--------------------------------------------------------------------
  2164. ## Database Management Daemon settings
  2165. ##--------------------------------------------------------------------
  2166. ## Where is the DBMSd binary installed and what arguments should be passed?
  2167. DBMSD = $(SBIN)/condor_dbmsd.exe
  2168. DBMSD_ARGS = -f
  2169.  
  2170. # Where is the log file for the quill daemon?
  2171. DBMSD_LOG = $(LOG)/DbmsdLog
  2172.  
  2173. # Interval between consecutive purging calls (in seconds)
  2174. #DATABASE_PURGE_INTERVAL = 86400
  2175.  
  2176. # Interval between consecutive database reindexing operations
  2177. # This is only used when dbtype = PGSQL
  2178. #DATABASE_REINDEX_INTERVAL = 86400
  2179.  
  2180. # Number of days before purging resource classad history
  2181. # This includes things like machine ads, daemon ads, submitters
  2182. #QUILL_RESOURCE_HISTORY_DURATION = 7
  2183.  
  2184. # Number of days before purging job run information
  2185. # This includes job events, file transfers, matchmaker matches, etc
  2186. # This does NOT include the final job ad. condor_history does not need
  2187. # any of this information to work.
  2188. #QUILL_RUN_HISTORY_DURATION = 7
  2189.  
  2190. # Number of days before purging job classad history
  2191. # This is the information needed to run condor_history
  2192. #QUILL_JOB_HISTORY_DURATION = 3650
  2193.  
  2194. # DB size threshold for warning the condor administrator. This is checked
  2195. # after every purge. The size is given in gigabytes.
  2196. #QUILL_DBSIZE_LIMIT = 20
  2197.  
  2198. # Number of seconds the master should wait for the DBMSD to respond before
  2199. # killing it. This number might need to be increased for very large databases
  2200. # The default is 3600 (one hour).
  2201. #DBMSD_NOT_RESPONDING_TIMEOUT = 3600
  2202.  
  2203. ##
  2204. ##--------------------------------------------------------------------
  2205. ## VM Universe Parameters
  2206. ##--------------------------------------------------------------------
  2207. ## Where is the Condor VM-GAHP installed? (Required)
  2208. VM_GAHP_SERVER = $(SBIN)/condor_vm-gahp.exe
  2209.  
  2210. ## If the VM-GAHP is to have its own log, define
  2211. ## the location of log file.
  2212. ##
  2213. ## Optionally, if you do NOT define VM_GAHP_LOG, logs of VM-GAHP will
  2214. ## be stored in the starter's log file.
  2215. ## However, on Windows machine you must always define VM_GAHP_LOG.
  2216. #
  2217. VM_GAHP_LOG = NUL
  2218. MAX_VM_GAHP_LOG = 1000000
  2219. #VM_GAHP_DEBUG = D_FULLDEBUG
  2220.  
  2221. ## What kind of virtual machine program will be used for
  2222. ## the VM universe?
  2223. ## The three primary options are KVM, Xen and VMware. (Required: no default)
  2224. VM_TYPE =
  2225.  
  2226. ## How much memory can be used for the VM universe? (Required)
  2227. ## This value is the maximum amount of memory that can be used by the
  2228. ## virtual machine program.
  2229. VM_MEMORY = 128
  2230.  
  2231. ## Want to support networking for VM universe?
  2232. ## Default value is FALSE
  2233. VM_NETWORKING = FALSE
  2234.  
  2235. ## What kind of networking types are supported?
  2236. ##
  2237. ## If you set VM_NETWORKING to TRUE, you must define this parameter.
  2238. ## VM_NETWORKING_TYPE = nat
  2239. ## VM_NETWORKING_TYPE = bridge
  2240. ## VM_NETWORKING_TYPE = nat, bridge
  2241. ##
  2242. ## If multiple networking types are defined, you may define
  2243. ## VM_NETWORKING_DEFAULT_TYPE for default networking type.
  2244. ## Otherwise, nat is used for default networking type.
  2245. ## VM_NETWORKING_DEFAULT_TYPE = nat
  2246. VM_NETWORKING_DEFAULT_TYPE = nat
  2247. VM_NETWORKING_TYPE = nat
  2248.  
  2249. ## In default, the number of possible virtual machines is same as
  2250. ## NUM_CPUS.
  2251. ## Since too many virtual machines can cause the system to be too slow
  2252. ## and lead to unexpected problems, limit the number of running
  2253. ## virtual machines on this machine with
  2254. VM_MAX_NUMBER = $(NUM_CPUS)
  2255.  
  2256. ## When a VM universe job is started, a status command is sent
  2257. ## to the VM-GAHP to see if the job is finished.
  2258. ## If the interval between checks is too short, it will consume
  2259. ## too much of the CPU. If the VM-GAHP fails to get status 5 times in a row,
  2260. ## an error will be reported to startd, and then startd will check
  2261. ## the availability of VM universe.
  2262. ## Default value is 60 seconds and minimum value is 30 seconds
  2263. #VM_STATUS_INTERVAL = 60
  2264.  
  2265. ## How long will we wait for a request sent to the VM-GAHP to be completed?
  2266. ## If a request is not completed within the timeout, an error will be reported
  2267. ## to the startd, and then the startd will check
  2268. ## the availability of vm universe. Default value is 5 minutes.
  2269. #VM_GAHP_REQ_TIMEOUT = 300
  2270.  
  2271. ## When VMware or Xen causes an error, the startd will disable the
  2272. ## VM universe. However, because some errors are just transient,
  2273. ## we will test one more
  2274. ## whether vm universe is still unavailable after some time.
  2275. ## In default, startd will recheck vm universe after 10 minutes.
  2276. ## If the test also fails, vm universe will be disabled.
  2277. #VM_RECHECK_INTERVAL = 600
  2278.  
  2279. ## Usually, when we suspend a VM, the memory being used by the VM
  2280. ## will be saved into a file and then freed.
  2281. ## However, when we use soft suspend, neither saving nor memory freeing
  2282. ## will occur.
  2283. ## For VMware, we send SIGSTOP to a process for VM in order to
  2284. ## stop the VM temporarily and send SIGCONT to resume the VM.
  2285. ## For Xen, we pause CPU. Pausing CPU doesn't save the memory of VM
  2286. ## into a file. It only stops the execution of a VM temporarily.
  2287. #VM_SOFT_SUSPEND = TRUE
  2288.  
  2289. ## If Condor runs as root and a job comes from a different UID domain,
  2290. ## Condor generally uses "nobody", unless SLOTx_USER is defined.
  2291. ## If "VM_UNIV_NOBODY_USER" is defined, a VM universe job will run
  2292. ## as the user defined in "VM_UNIV_NOBODY_USER" instead of "nobody".
  2293. ##
  2294. ## Notice: In VMware VM universe, "nobody" can not create a VMware VM.
  2295. ## So we need to define "VM_UNIV_NOBODY_USER" with a regular user.
  2296. ## For VMware, the user defined in "VM_UNIV_NOBODY_USER" must have a
  2297. ## home directory. So SOFT_UID_DOMAIN doesn't work for VMware VM universe job.
  2298. ## If neither "VM_UNIV_NOBODY_USER" nor "SLOTx_VMUSER"/"SLOTx_USER" is defined,
  2299. ## VMware VM universe job will run as "condor" instead of "nobody".
  2300. ## As a result, the preference of local users for a VMware VM universe job
  2301. ## which comes from the different UID domain is
  2302. ## "VM_UNIV_NOBODY_USER" -> "SLOTx_VMUSER" -> "SLOTx_USER" -> "condor".
  2303. #VM_UNIV_NOBODY_USER = login name of a user who has home directory
  2304.  
  2305. ## If Condor runs as root and "ALWAYS_VM_UNIV_USE_NOBODY" is set to TRUE,
  2306. ## all VM universe jobs will run as a user defined in "VM_UNIV_NOBODY_USER".
  2307. #ALWAYS_VM_UNIV_USE_NOBODY = FALSE
  2308.  
  2309. ##--------------------------------------------------------------------
  2310. ## VM Universe Parameters Specific to VMware
  2311. ##--------------------------------------------------------------------
  2312.  
  2313. ## Where is perl program? (Required)
  2314. VMWARE_PERL = perl
  2315.  
  2316. ## Where is the Condor script program to control VMware? (Required)
  2317. VMWARE_SCRIPT = $(SBIN)/condor_vm_vmware.exe
  2318.  
  2319. ## Networking parameters for VMware
  2320. ##
  2321. ## What kind of VMware networking is used?
  2322. ##
  2323. ## If multiple networking types are defined, you may specify different
  2324. ## parameters for each networking type.
  2325. ##
  2326. ## Examples
  2327. ## (e.g.) VMWARE_NAT_NETWORKING_TYPE = nat
  2328. ## (e.g.) VMWARE_BRIDGE_NETWORKING_TYPE = bridged
  2329. ##
  2330. ## If there is no parameter for specific networking type, VMWARE_NETWORKING_TYPE is used.
  2331. ##
  2332. VMWARE_NAT_NETWORKING_TYPE = nat
  2333. VMWARE_BRIDGE_NETWORKING_TYPE = bridged
  2334. VMWARE_NETWORKING_TYPE = nat
  2335.  
  2336. ## The contents of this file will be inserted into the .vmx file of
  2337. ## the VMware virtual machine before Condor starts it.
  2338. VMWARE_LOCAL_SETTINGS_FILE = $(RELEASE_DIR)/condor_vmware_local_settings
  2339.  
  2340. ##--------------------------------------------------------------------
  2341. ## VM Universe Parameters common to libvirt controlled vm's (xen & kvm)
  2342. ##--------------------------------------------------------------------
  2343.  
  2344. ## Networking parameters for Xen & KVM
  2345. ##
  2346. ## This is the path to the XML helper command; the libvirt_simple_script.awk
  2347. ## script just reproduces what Condor already does for the kvm/xen VM
  2348. ## universe
  2349. LIBVIRT_XML_SCRIPT = $(LIBEXEC)/libvirt_simple_script.awk
  2350.  
  2351. ## This is the optional debugging output file for the xml helper
  2352. ## script. Scripts that need to output debugging messages should
  2353. ## write them to the file specified by this argument, which will be
  2354. ## passed as the second command line argument when the script is
  2355. ## executed
  2356.  
  2357. #LIBVRT_XML_SCRIPT_ARGS = /dev/stderr
  2358.  
  2359. ##--------------------------------------------------------------------
  2360. ## VM Universe Parameters Specific to Xen
  2361. ##--------------------------------------------------------------------
  2362.  
  2363. ## Where is bootloader for Xen domainU? (Required)
  2364. ##
  2365. ## The bootloader will be used in the case that a kernel image includes
  2366. ## a disk image
  2367. #XEN_BOOTLOADER = /usr/bin/pygrub
  2368.  
  2369. ##
  2370. ##--------------------------------------------------------------------
  2371. ## condor_lease_manager lease manager daemon
  2372. ##--------------------------------------------------------------------
  2373. ## Where is the LeaseManager binary installed?
  2374. LeaseManager = $(SBIN)/condor_lease_manager.exe
  2375.  
  2376. # Turn on the lease manager
  2377. #DAEMON_LIST = $(DAEMON_LIST), LeaseManager
  2378.  
  2379. # The identification and location of the lease manager for local clients.
  2380. LeaseManger_ADDRESS_FILE = $(LOG)/.lease_manager_address
  2381.  
  2382. ## LeaseManager startup arguments
  2383. #LeaseManager_ARGS = -local-name generic
  2384.  
  2385. ## LeaseManager daemon debugging log
  2386. LeaseManager_LOG = $(LOG)/LeaseManagerLog
  2387. LeaseManager_DEBUG = D_FULLDEBUG
  2388. MAX_LeaseManager_LOG = 1000000
  2389.  
  2390. # Basic parameters
  2391. LeaseManager.GETADS_INTERVAL = 60
  2392. LeaseManager.UPDATE_INTERVAL = 300
  2393. LeaseManager.PRUNE_INTERVAL = 60
  2394. LeaseManager.DEBUG_ADS = False
  2395.  
  2396. LeaseManager.CLASSAD_LOG = $(SPOOL)/LeaseManagerState
  2397. #LeaseManager.QUERY_ADTYPE = Any
  2398. #LeaseManager.QUERY_CONSTRAINTS = MyType == "SomeType"
  2399. #LeaseManager.QUERY_CONSTRAINTS = TargetType == "SomeType"
  2400.  
  2401. ##
  2402. ##--------------------------------------------------------------------
  2403. ## KBDD - keyboard activity detection daemon
  2404. ##--------------------------------------------------------------------
  2405. ## When the KBDD starts up, it can place it's address (IP and port)
  2406. ## into a file. This way, tools running on the local machine don't
  2407. ## need an additional "-n host:port" command line option. This
  2408. ## feature can be turned off by commenting out this setting.
  2409. KBDD_ADDRESS_FILE = $(LOG)/.kbdd_address
  2410.  
  2411. ##
  2412. ##--------------------------------------------------------------------
  2413. ## condor_ssh_to_job
  2414. ##--------------------------------------------------------------------
  2415. # NOTE: condor_ssh_to_job is not supported under Windows.
  2416.  
  2417. # Tell the starter (execute side) whether to allow the job owner or
  2418. # queue super user on the schedd from which the job was submitted to
  2419. # use condor_ssh_to_job to access the job interactively (e.g. for
  2420. # debugging). TARGET is the job; MY is the machine.
  2421. #ENABLE_SSH_TO_JOB = true
  2422.  
  2423. # Tell the schedd (submit side) whether to allow the job owner or
  2424. # queue super user to use condor_ssh_to_job to access the job
  2425. # interactively (e.g. for debugging). MY is the job; TARGET is not
  2426. # defined.
  2427. #SCHEDD_ENABLE_SSH_TO_JOB = true
  2428.  
  2429. # Command condor_ssh_to_job should use to invoke the ssh client.
  2430. # %h --> remote host
  2431. # %i --> ssh key file
  2432. # %k --> known hosts file
  2433. # %u --> remote user
  2434. # %x --> proxy command
  2435. # %% --> %
  2436. #SSH_TO_JOB_SSH_CMD = "ssh -oUser=%u -oIdentityFile=%i -oStrictHostKeyChecking=yes -oUserKnownHostsFile=%k -oGlobalKnownHostsFile=%k -oProxyCommand=%x %h"
  2437.  
  2438. # Additional ssh clients may be configured. They all have the same
  2439. # default as ssh, except for scp, which omits the %h:
  2440. #SSH_TO_JOB_SCP_CMD = "scp -oUser=%u -oIdentityFile=%i -oStrictHostKeyChecking=yes -oUserKnownHostsFile=%k -oGlobalKnownHostsFile=%k -oProxyCommand=%x"
  2441.  
  2442. # Path to sshd
  2443. #SSH_TO_JOB_SSHD = /usr/sbin/sshd
  2444.  
  2445. # Arguments the starter should use to invoke sshd in inetd mode.
  2446. # %f --> sshd config file
  2447. # %% --> %
  2448. #SSH_TO_JOB_SSHD_ARGS = "-i -e -f %f"
  2449.  
  2450. # sshd configuration template used by condor_ssh_to_job_sshd_setup.
  2451. #SSH_TO_JOB_SSHD_CONFIG_TEMPLATE = $(LIB)/condor_ssh_to_job_sshd_config_template
  2452.  
  2453. # Path to ssh-keygen
  2454. #SSH_TO_JOB_SSH_KEYGEN = /usr/bin/ssh-keygen
  2455.  
  2456. # Arguments to ssh-keygen
  2457. # %f --> key file to generate
  2458. # %% --> %
  2459. #SSH_TO_JOB_SSH_KEYGEN_ARGS = "-N '' -C '' -q -f %f -t rsa"
  2460.  
  2461. ######################################################################
  2462. ##
  2463. ## Condor HDFS
  2464. ##
  2465. ## This is the default local configuration file for configuring Condor
  2466. ## daemon responsible for running services related to hadoop
  2467. ## distributed storage system. You should copy this file to the
  2468. ## appropriate location and customize it for your needs.
  2469. ##
  2470. ## Unless otherwise specified, settings that are commented out show
  2471. ## the defaults that are used if you don't define a value. Settings
  2472. ## that are defined here MUST BE DEFINED since they have no default
  2473. ## value.
  2474. ##
  2475. ######################################################################
  2476.  
  2477. ######################################################################
  2478. ## FOLLOWING MUST BE CHANGED
  2479. ######################################################################
  2480.  
  2481. ## The location for hadoop installation directory. The default location
  2482. ## is under 'libexec' directory. The directory pointed by HDFS_HOME
  2483. ## should contain a lib folder that contains all the required Jars necessary
  2484. ## to run HDFS name and data nodes.
  2485. #HDFS_HOME = $(RELEASE_DIR)/libexec/hdfs
  2486.  
  2487. ## The host and port for hadoop's name node. If this machine is the
  2488. ## name node (see HDFS_SERVICES) then the specified port will be used
  2489. ## to run name node.
  2490. HDFS_NAMENODE = hdfs://example.com:9000
  2491. HDFS_NAMENODE_WEB = example.com:8000
  2492.  
  2493. HDFS_BACKUPNODE = hdfs://example.com:50100
  2494. HDFS_BACKUPNODE_WEB = example.com:50105
  2495.  
  2496. ## You need to pick one machine as name node by setting this parameter
  2497. ## to HDFS_NAMENODE. The remaining machines in a storage cluster will
  2498. ## act as data nodes (HDFS_DATANODE).
  2499. HDFS_NODETYPE = HDFS_DATANODE
  2500.  
  2501. ## If machine is selected to be NameNode then by a role should defined.
  2502. ## If it selected to be DataNode then this parameter is ignored.
  2503. ## Available options:
  2504. ## ACTIVE: Active NameNode role (default value)
  2505. ## BACKUP: Always synchronized with the active NameNode state, thus
  2506. ## creating a backup of the namespace. Currently the NameNode
  2507. ## supports one Backup node at a time.
  2508. ## CHECKPOINT: Periodically creates checkpoints of the namespace.
  2509. HDFS_NAMENODE_ROLE = ACTIVE
  2510.  
  2511. ## The two set of directories that are required by HDFS are for name
  2512. ## node (HDFS_NAMENODE_DIR) and data node (HDFS_DATANODE_DIR). The
  2513. ## directory for name node is only required for a machine running
  2514. ## name node service and is used to store critical meta data for
  2515. ## files. The data node needs its directory to store file blocks and
  2516. ## their replicas.
  2517. HDFS_NAMENODE_DIR = /tmp/hadoop_name
  2518. HDFS_DATANODE_DIR = /scratch/tmp/hadoop_data
  2519.  
  2520. ## Unlike name node address settings (HDFS_NAMENODE), that needs to be
  2521. ## well known across the storage cluster, data node can run on any
  2522. ## arbitrary port of given host.
  2523. #HDFS_DATANODE_ADDRESS = 0.0.0.0:0
  2524.  
  2525. ####################################################################
  2526. ## OPTIONAL
  2527. #####################################################################
  2528.  
  2529. ## Sets the log4j debug level. All the emitted debug output from HDFS
  2530. ## will go in 'hdfs.log' under $(LOG) directory.
  2531. #HDFS_LOG4J=DEBUG
  2532.  
  2533. ## The access to HDFS services both name node and data node can be
  2534. ## restricted by specifying IP/host based filters. By default settings
  2535. ## from ALLOW_READ/ALLOW_WRITE and DENY_READ/DENY_WRITE
  2536. ## are used to specify allow and deny list. The below two parameters can
  2537. ## be used to override these settings. Read the Condor manual for
  2538. ## specification of these filters.
  2539. ## WARN: HDFS doesn't make any distinction between read or write based connection.
  2540. #HDFS_ALLOW=*
  2541. #HDFS_DENY=*
  2542.  
  2543. #Fully qualified name for Name node and Datanode class.
  2544. #HDFS_NAMENODE_CLASS=org.apache.hadoop.hdfs.server.namenode.NameNode
  2545. #HDFS_DATANODE_CLASS=org.apache.hadoop.hdfs.server.datanode.DataNode
  2546. #HDFS_DFSADMIN_CLASS=org.apache.hadoop.hdfs.tools.DFSAdmin
  2547.  
  2548. ## In case an old name for hdfs configuration files is required.
  2549. #HDFS_SITE_FILE = hdfs-site.xml
  2550.  
  2551.  
  2552. ##
  2553. ##--------------------------------------------------------------------
  2554. ## file transfer plugin defaults
  2555. ##--------------------------------------------------------------------
  2556. FILETRANSFER_PLUGINS = $(LIBEXEC)/curl_plugin, $(LIBEXEC)/data_plugin
Add Comment
Please, Sign In to add comment