Guest User

WINDOWSconf

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