Warning, /harvester/templates/panda/panda_harvester.cfg.rpmnew.template is written in an unsupported language. File is not indexed.
0001 #########################
0002 #
0003 # Master parameters
0004 #
0005
0006 [master]
0007
0008 # user name of the daemon process
0009 uname = FIXME
0010
0011 # group name of the daemon process
0012 gname = FIXME
0013
0014 # logger name
0015 loggername = harvester
0016
0017 # harvester id - unique id as registered also in panda server
0018 harvester_id = FIXME
0019
0020 # port number of debugger
0021 debugger_port = 19550
0022
0023 # capability to dynamically change plugins
0024 dynamic_plugin_change = False
0025
0026
0027
0028
0029 ##########################
0030 #
0031 # Database parameters
0032 #
0033
0034 [db]
0035
0036 # verbose
0037 verbose = False
0038
0039 # use inspect for decorator of verbose messages
0040 useInspect = False
0041
0042 # number of database connections in each process
0043 nConnections = 10
0044
0045 # database engine : sqlite or mariadb
0046 engine = sqlite
0047
0048 # database filename for sqlite. Better to use local disk if possible since sqlite doesn't like NAS
0049 database_filename = FIXME
0050
0051 # use MySQLdb for mariadb access
0052 useMySQLdb = False
0053
0054 # user name for MariaDB. N/A for sqlite
0055 user = harvester
0056
0057 # password for MariaDB. N/A for sqlite
0058 password = FIXME
0059
0060 # schema for MariaDB. N/A for sqlite
0061 schema = HARVESTER
0062
0063 # host name for MariaDB. N/A for sqlite
0064 host = localhost
0065
0066 # port number for MariaDB. N/A for sqlite
0067 port = 3306
0068
0069 # max time in seconds to keep trying to reconnect DB before timeout
0070 reconnectTimeout = 300
0071
0072 # synchronize max workerID when starting up
0073 syncMaxWorkerID = False
0074
0075
0076
0077
0078 ##########################
0079 #
0080 # FIFO parameters
0081 #
0082
0083 [fifo]
0084
0085 # module and class names to provide the fifo queue
0086 fifoModule = pandaharvester.harvesterfifo.sqlite_fifo
0087 fifoClass = SqliteFifo
0088
0089 # database filename for sqlite fifo plugin
0090 # must be different from main Harvester DB and other fifo DBs if using sqlite
0091 # different db filenames for fifos of different titles
0092 # a titile can be named after a harvester agent (e.g. monitor) or other special components
0093 # placeholder $(TITLE) should be used in filename; it will then be changed to the title name
0094 database_filename = /dev/shm/$(TITLE)_fifo.db
0095
0096
0097
0098
0099 ##########################
0100 #
0101 # Communicator parameters
0102 #
0103
0104 [communicator]
0105
0106 # module name of Communicator
0107 moduleName = pandaharvester.harvestercommunicator.panda_communicator
0108
0109 # class name of Communicator
0110 className = PandaCommunicator
0111
0112 # number of connections
0113 nConnections = 5
0114
0115
0116
0117
0118 ##########################
0119 #
0120 # Panda Connection parameters
0121 # (required only when PandaCommunicator is used to communicate with WMS)
0122 #
0123
0124 [pandacon]
0125
0126 # timeout
0127 timeout = 180
0128
0129 # auth type x509 (default) or oidc
0130 auth_type = x509
0131
0132 # CA file
0133 ca_cert = /etc/pki/tls/certs/CERN-bundle.pem
0134
0135 # certificate for x509
0136 cert_file = FIXME
0137
0138 # key for x509
0139 key_file = FIXME
0140
0141 # token for oidc. bare string or filename (file:/path)
0142 auth_token = FIXME
0143
0144 # origin for oidc
0145 auth_origin = FIXME
0146
0147 # base URL via http
0148 pandaURL = http://pandaserver.cern.ch:25080/server/panda
0149 server_api_url = http://pandaserver.cern.ch:25080/api/v1
0150
0151 # base URL via https
0152 pandaURLSSL = https://pandaserver.cern.ch:25443/server/panda
0153 server_api_url_ssl = https://pandaserver.cern.ch:25443/api/v1
0154
0155 # base URL for write access to log cache server
0156 pandaCacheURL_W = https://aipanda011.cern.ch:25443/server/panda
0157 cache_api_url_ssl = https://pandacache.cern.ch:25443/api/v1
0158
0159 # base URL for read access to log cache server
0160 pandaCacheURL_R = https://aipanda011.cern.ch:25443/cache
0161
0162 # verbose
0163 verbose = False
0164
0165 # use inspect for decorator of verbose messages
0166 useInspect = False
0167
0168 # event size when getting events
0169 getEventsChunkSize = 5120
0170
0171 # configuration file to support multiple auth types with various hosts: a json dump of
0172 # {"host:port": {"auth_type": "x509 or oidc", "cert_file": /path/to/cert, "key_file": /path/to/key,
0173 # "ca_cert": /path/to/ca_cert, "auth_token": "token or file:/path/to/token"},
0174 # ...}
0175 # the default values specified in cfg are used if the host:port or keys are not found in the json
0176
0177 #multihost_auth_config = /path/to/multihost_auth_config.json
0178
0179
0180 ##########################
0181 #
0182 # Queue Config parameters
0183 #
0184
0185 [qconf]
0186
0187 # config file
0188 configFile = panda_queueconfig.json
0189
0190 # enable config from cacher "queues_config_file"
0191 configFromCacher = False
0192
0193 # queue list : one queue name following a whitespace per line. Or just ALL if all queues in the configFile are used
0194 queueList =
0195 FIXME_1
0196 FIXME_2
0197
0198 # module and class names to resolve queue names to panda queue names
0199 resolverModule = pandaharvester.harvestermisc.info_utils
0200 resolverClass = PandaQueuesDict
0201
0202 # configuration of the resolver in JSON
0203 #resolverConfig =
0204 # {
0205 # "refreshPeriod": 300
0206 # }
0207
0208 # enable auto-blacklisting of resolver which returns status='offline' to blacklist the queue
0209 autoBlacklist = False
0210
0211 # restrict to a certain pilot version (optional)
0212 #pilotVersion = 2
0213
0214 # update interval in sec (default: 600) - period to update qconf
0215 updateInterval = 600
0216
0217 # check interval in sec (default: 5) - period for other agent threads to check last qconf update
0218 checkInterval = 5
0219
0220
0221 ##########################
0222 #
0223 # Command manager parameters
0224 #
0225 [commandmanager]
0226
0227 # bulk size for panda server interactions
0228 commands_bulk_size = 20
0229
0230 # sleep interval in sec
0231 sleepTime = 5
0232
0233
0234
0235
0236 ##########################
0237 #
0238 # Job Fetcher parameters
0239 #
0240
0241 [jobfetcher]
0242
0243 # number of threads
0244 nThreads = 3
0245
0246 # number of queues to fetch jobs in one cycle
0247 nQueues = 5
0248
0249 # max number of jobs in one cycle
0250 maxJobs = 500
0251
0252 # lookup interval in sec
0253 lookupTime = 60
0254
0255 # sleep interval in sec
0256 sleepTime = 60
0257
0258
0259
0260
0261 ##########################
0262 #
0263 # Propagator parameters
0264 #
0265
0266 [propagator]
0267
0268 # number of threads
0269 nThreads = 3
0270
0271 # max number of jobs to update in one cycle
0272 maxJobs = 100
0273
0274 # number of jobs in bulk update
0275 nJobsInBulk = 100
0276
0277 # max number of workers to update in one cycle
0278 maxWorkers = 100
0279
0280 # number of workers in bulk update
0281 nWorkersInBulk = 100
0282
0283 # number of dialog message to send
0284 maxDialogs = 50
0285
0286 # minimum level of dialog messages to send. INFO, WARNING, or ERROR
0287 minMessageLevel = WARNING
0288
0289 # lock interval in sec
0290 lockInterval = 600
0291
0292 # update interval in sec
0293 updateInterval = 1800
0294
0295 # sleep interval in sec
0296 sleepTime = 60
0297
0298
0299
0300
0301 ##########################
0302 #
0303 # Preparator parameters
0304 #
0305
0306 [preparator]
0307
0308 # number of threads
0309 nThreads = 3
0310
0311 # max number of jobs to check in one cycle
0312 maxJobsToCheck = 100
0313
0314 # max number of jobs to trigger in one cycle
0315 maxJobsToTrigger = 100
0316
0317 # max number of files per job to check in one cycle : 0 to be unlimited
0318 maxFilesPerJobToCheck = 0
0319
0320 # max number of files per job to prepare in one cycle : 0 to be unlimited
0321 maxFilesPerJobToPrepare = 0
0322
0323 # lock interval in sec
0324 lockInterval = 600
0325
0326 # check interval in sec
0327 checkInterval = 180
0328
0329 # trigger interval in sec
0330 triggerInterval = 180
0331
0332 # sleep interval in sec
0333 sleepTime = 60
0334
0335
0336
0337
0338 ##########################
0339 #
0340 # Submitter parameters
0341 #
0342
0343 [submitter]
0344
0345 # number of threads
0346 nThreads = 3
0347
0348 # max number of queues to try in one cycle
0349 nQueues = 3
0350
0351 # interval for queue lookup
0352 lookupTime = 60
0353
0354 # interval for queue lock
0355 queueLockInterval = 300
0356
0357 # lock interval in sec
0358 lockInterval = 600
0359
0360 # check interval in sec
0361 checkInterval = 60
0362
0363 # minimum interval in sec between submissions to the same queue
0364 minSubmissionInterval = 0
0365
0366 # sleep interval in sec
0367 sleepTime = 60
0368
0369 # max number of workers per queue to try in one cycle
0370 maxNewWorkers = 1000
0371
0372 # respect sleep time
0373 respectSleepTime = False
0374
0375 # factor to adjust workers
0376 #activateWorkerFactor = auto
0377
0378 # job statistics (job_statistics.json) missing or older than this in sec give no demand from activated jobs; 0 to disable
0379 #jobStatsMaxAge = 90
0380
0381 ##########################
0382 #
0383 # Monitor parameters
0384 #
0385
0386 [monitor]
0387
0388 # number of threads
0389 nThreads = 3
0390
0391 # max number of workers to try in one cycle
0392 maxWorkers = 500
0393
0394 # lock interval in sec
0395 lockInterval = 600
0396
0397 # check interval in sec
0398 checkInterval = 300
0399
0400 # timeout in sec to give up checking if it keeps failing
0401 checkTimeout = 3600
0402
0403 # sleep interval in sec
0404 sleepTime = 600
0405
0406 # whether to use fifo
0407 fifoEnable = False
0408
0409 # sleep interval in millisecond using fifo
0410 fifoSleepTimeMilli = 15000
0411
0412 # check interval in fifo in sec
0413 fifoCheckInterval = 120
0414
0415 # check duration of a fifo cycle in sec
0416 fifoCheckDuration = 60
0417
0418 # interval of force enqueue in sec
0419 fifoForceEnqueueInterval = 1500
0420
0421 # max number of workers to be populated into fifo
0422 #fifoMaxWorkersToPopulate = 100000
0423
0424 # max number of workers in a chunk to enqueue
0425 fifoMaxWorkersPerChunk = 500
0426
0427 # max interval in sec a post-processing worker can preempt in fifo
0428 fifoMaxPreemptInterval = 60
0429
0430 # upper bound in sec on the fifo check interval of every worker, including workers whose queue configuration predates a change; 0 for none
0431 #fifoMaxCheckInterval = 30
0432
0433 # lower bound in sec on useCondorHistoryMaxAge of HTCondorMonitor, including workers whose queue configuration predates a change; 0 for none
0434 #historyMaxAgeFloor = 86400
0435
0436 # plugin cache parameters (used if monitor plugin supports)
0437 #pluginCacheEnable = True
0438 #pluginCacheRefreshInterval = 300
0439
0440 # workers will be killed if stuck queuing (submitted) for longer than this
0441 workerQueueTimeLimit = 172800
0442
0443 # enable event-based monitor check. Only works when fifoEnable is True
0444 eventBasedEnable = False
0445
0446 # list of plugins for event-based check. Mandatory when eventBasedEnable is True
0447 #eventBasedPlugins =
0448 # [
0449 # {
0450 # "module": "pandaharvester.harvestermonitor.htcondor_monitor",
0451 # "name": "HTCondorMonitor",
0452 # "condorHostConfig_list": [
0453 # "/opt/harvester/etc/panda/condor_host_config.json"
0454 # ]
0455 # }
0456 # ]
0457
0458 # interval of event-based check to query with plugin, in sec
0459 #eventBasedCheckInterval = 300
0460
0461 # time window of event-based check to check within, in sec
0462 #eventBasedTimeWindow = 450
0463
0464 # max number of events of event-based check to handle in one cycle
0465 #eventBasedCheckMaxEvents = 500
0466
0467 # lifetime of an event in event-based check, in sec
0468 #eventBasedEventLifetime = 1800
0469
0470 # max number of expired events to remove in one cycle
0471 #eventBasedRemoveMaxEvents = 2000
0472
0473 # timeout for post-processing in minutes. 0 to give up immediately
0474 postProcessTimeout = 0
0475
0476
0477
0478
0479
0480 ##########################
0481 #
0482 # Credential Manager parameters
0483 #
0484 # Notes : This is an example to manage two credentials, one with production role and the other with pilot role.
0485 # One credential data following a whitespace per line. Empty lines are not allowed, so that a dummy string
0486 # like 'dummy' needs to be added if some parameters like voms are unnecessary.
0487
0488 [credmanager]
0489
0490 # module name
0491 moduleName =
0492 pandaharvester.harvestercredmanager.no_voms_cred_manager
0493 pandaharvester.harvestercredmanager.no_voms_cred_manager
0494
0495 # class name
0496 className =
0497 NoVomsCredManager
0498 NoVomsCredManager
0499
0500 # original certificate file to generate new short-lived certificate
0501 inCertFile =
0502 /path_to/FIXME_original_cert_for_proxy_with_production_role
0503 /path_to/FIXME_original_cert_for_proxy_with_pilot_role
0504
0505 # the name of short-lived certificate
0506 outCertFile =
0507 /path_to/FIXME_proxy_production
0508 /path_to/FIXME_proxy_pilot
0509
0510 # voms
0511 voms =
0512 atlas:/atlas/Role=production
0513 atlas:/atlas/Role=pilot
0514
0515 # plugin configs in json
0516 # pluginConfigs =
0517 # [
0518 # {
0519 # "module": "pandaharvester.harvestercredmanager.no_voms_cred_manager",
0520 # "name": "NoVomsCredManager",
0521 # "configs": {
0522 # "production": {
0523 # "inCertFile": "/data/atlpan/proxy/atlpilo1RFC.plain",
0524 # "outCertFile": "/data/atlpan/proxy/x509up_u25606_prod",
0525 # "voms": "atlas:/atlas/Role=production"
0526 # },
0527 # "pilot": {
0528 # "inCertFile": "/data/atlpan/proxy/atlpilo1RFC.plain",
0529 # "outCertFile": "/data/atlpan/proxy/x509up_u25606_pilot",
0530 # "voms": "atlas:/atlas/Role=pilot"
0531 # }
0532 # }
0533 # }
0534 # ]
0535
0536
0537 # sleep interval in sec
0538 sleepTime = 1800
0539
0540
0541
0542
0543
0544 ##########################
0545 #
0546 # Stager parameters
0547 #
0548
0549 [stager]
0550
0551 # number of threads
0552 nThreads = 3
0553
0554 # max number of jobs to check in one cycle
0555 maxJobsToCheck = 100
0556
0557 # max number of jobs to trigger in one cycle
0558 maxJobsToTrigger = 100
0559
0560 # max number of jobs to zip in one cycle : OBSOLETE, should be set in [zipper]
0561 maxJobsToZip = 100
0562
0563 # max number of files per job to check in one cycle : 0 to be unlimited
0564 maxFilesPerJobToCheck = 0
0565
0566 # max number of files per job to trigger stage-out in one cycle : 0 to be unlimited
0567 maxFilesPerJobToTrigger = 0
0568
0569 # max number of files per job to zip in one cycle : 0 to be unlimited : OBSOLETE, should be set in [zipper]
0570 maxFilesPerJobToZip = 0
0571
0572 # use two staged zipping : OBSOLETE, should be set in [zipper]
0573 usePostZipping = False
0574
0575 # lock interval in sec
0576 lockInterval = 600
0577
0578 # check interval in sec
0579 checkInterval = 180
0580
0581 # trigger interval in sec
0582 triggerInterval = 180
0583
0584 # zip interval in sec : OBSOLETE, should be set in [zipper]
0585 zipInterval = 180
0586
0587 # number of threads for zip making : OBSOLETE, should be set in [zipper]
0588 nThreadsForZip = 4
0589
0590 # sleep interval in sec
0591 sleepTime = 60
0592
0593
0594
0595
0596
0597 ##########################
0598 #
0599 # Zipper parameters
0600 #
0601
0602 [zipper]
0603
0604 # max number of jobs to zip in one cycle
0605 maxJobsToZip = 100
0606
0607 # max number of files per job to zip in one cycle : 0 to be unlimited
0608 maxFilesPerJobToZip = 0
0609
0610 # use two staged zipping
0611 usePostZipping = False
0612
0613 # lock interval in sec
0614 lockInterval = 600
0615
0616 # zip interval in sec
0617 zipInterval = 180
0618
0619 # number of threads for zip making
0620 nThreadsForZip = 4
0621
0622
0623
0624
0625
0626 ##########################
0627 #
0628 # EventFeeder parameters
0629 #
0630
0631 [eventfeeder]
0632
0633 # number of threads
0634 nThreads = 3
0635
0636 # max number of workers to try in one cycle
0637 maxWorkers = 500
0638
0639 # lock interval in sec
0640 lockInterval = 600
0641
0642 # sleep interval in sec
0643 sleepTime = 60
0644
0645
0646
0647
0648 ##########################
0649 #
0650 # Cacher parameters
0651 #
0652
0653 [cacher]
0654
0655 # one data ( main_key_name|sub_key_name|URL|dump_file(optional) ) following a white space per line
0656 #
0657 # Notes: This example is for five data. ddm_endpoints and panda_queues json files are retrieved using http.
0658 # It also caches proxy files which are renewed by Credential Manager. Access key for BNL object store
0659 # is retrieved from panda.
0660 data =
0661 ddmendpoints_objectstores.json||https://atlas-cric.cern.ch/api/atlas/ddmendpoint/query/?json&state=ACTIVE&site_state=ACTIVE&preset=dict&json_pretty=1&type[]=OS_LOGS&type[]=OS_ES
0662 panda_queues.json||https://atlas-cric.cern.ch/api/atlas/pandaqueue/query/?json
0663 agis_ddmendpoints.json||https://atlas-cric.cern.ch/api/atlas/ddmendpoint/query/list/?json&state=ACTIVE&site_state=ACTIVE&preset=dict&json_pretty=1
0664 grid_services.json||https://atlas-cric.cern.ch/api/core/service/query/?json
0665 proxy_pilot||file://path_to/FIXME_proxy_pilot
0666 proxy_production||file://path_to/FIXME_proxy_production
0667 resource_types.json||panda_server:get_resource_types
0668 job_statistics.json||panda_server:get_job_stats
0669 job_statistics_new.json||panda_server:get_job_stats_new
0670 worker_statistics.json||panda_server:get_worker_stats_from_panda
0671 # BNL_key||panda_cache:BNL_ObjectStoreKey.pub&BNL_ObjectStoreKey
0672 # globus_secret||panda_cache:GlobusClientID_1&GlobusRefreshToken_1
0673
0674 # refresh interval in minint
0675 refreshInterval = 10
0676
0677 # refresh interval in sec for the main keys listed, instead of refreshInterval
0678 #refreshSecondsByKey =
0679 # {"job_statistics.json": 30, "job_statistics_new.json": 30}
0680
0681 # sleep interval in sec
0682 sleepTime = 60
0683
0684
0685
0686
0687
0688 ##########################
0689 #
0690 # Payload interaction parameters
0691 #
0692
0693 [payload_interaction]
0694
0695 # worker attributes
0696 workerAttributesFile = worker_attributes.json
0697
0698 # job report
0699 jobReportFile = jobReport.json
0700
0701 # event status dump file in json
0702 eventStatusDumpJsonFile = event_status.dump.json
0703
0704 # event status dump file in xml
0705 eventStatusDumpXmlFile = _event_status.dump
0706
0707 # job request
0708 jobRequestFile = worker_requestjob.json
0709
0710 # job spec file
0711 jobSpecFile = HPCJobs.json
0712
0713 # event request
0714 eventRequestFile = worker_requestevents.json
0715
0716 # event ranges file
0717 eventRangesFile = JobsEventRanges.json
0718
0719 # update events
0720 updateEventsFile = worker_updateevents.json
0721
0722 # PFC for input files
0723 xmlPoolCatalogFile = PoolFileCatalog_H.xml
0724
0725 # get PandaIDs
0726 pandaIDsFile = worker_pandaids.json
0727
0728 # request to be killed
0729 killWorkerFile = kill_worker.json
0730
0731 # heartbeat from worker
0732 heartbeatFile = worker_heartbeat.json
0733
0734
0735
0736 ##########################
0737 #
0738 # Front-end parameters
0739 #
0740
0741 [frontend]
0742
0743 # port number for simple http frontend. For apache frontend port number is set in httpd.conf
0744 portNumber = 25080
0745
0746 # number of threads
0747 nThreads = 10
0748
0749 # verbose
0750 verbose = False
0751
0752 # type : simple or apache
0753 type = simple
0754
0755 # enable token authentication of apache frontend; default is True
0756 authEnable = True
0757
0758 # file of secret used in token signature
0759 secretFile = /FIXME
0760
0761 # whether to verify token (of its signature, expiration, etc.) when decoding token
0762 verifyToken = True
0763
0764
0765
0766
0767 ##########################
0768 #
0769 # Sweeper parameters
0770 #
0771
0772 [sweeper]
0773
0774 # number of threads
0775 nThreads = 3
0776
0777 # max number of workers to try in one cycle
0778 maxWorkers = 500
0779
0780 # check interval in sec
0781 checkInterval = 180
0782
0783 # sleep interval in sec
0784 sleepTime = 60
0785
0786 # duration in hours to keep finished workers
0787 keepFinished = 24
0788
0789 # duration in hours to keep failed workers
0790 keepFailed = 72
0791
0792 # duration in hours to keep cancelled workers
0793 keepCancelled = 72
0794
0795 # duration in hours to keep missed workers
0796 keepMissed = 24
0797
0798 # disk cleaning interval in hours
0799 #diskCleanUpInterval = 1
0800
0801 # comma-concatenated list of directory_name|high_watermark_in_GB to be cleaned up
0802 #diskHighWatermark = /dir1/subdir1|1000,/dir2/subdir2|5000
0803
0804
0805
0806 ##########################
0807 #
0808 # Watcher parameters
0809 #
0810
0811 [watcher]
0812
0813 # a comma-concatenated list of file name of logs to watch (default: panda-db_proxy.log)
0814 logFileNameList = panda-db_proxy.log
0815
0816 # action is taken when the last message is older than maxStalled sec. set 0 to disable the action
0817 maxStalled = 300
0818
0819 # the number of messages to check interval
0820 nMessages = 1000
0821
0822 # action is taken when it took more than maxDuration sec to generate nMessages messages. set 0 to disable the action
0823 maxDuration = 600
0824
0825 # check interval in sec
0826 checkInterval = 180
0827
0828 # sleep interval in sec
0829 sleepTime = 60
0830
0831 # a comma-concatenated list of actions (email: to send alarms, kill: to kill forcefully, terminate: to kill with SIGTERM). or empty if no action
0832 actions =
0833
0834 # name of env variable to keep pass-phrase
0835 passphraseEnv = HARVESTER_WATCHER_PASSPHRASE
0836
0837 # hostname of SMTP server. note that parameters with the prefix of "mail" are required on
0838 mailServer = localhost
0839
0840 # port of SMTP server
0841 mailPort = 25
0842
0843 # use SSL for SMTP
0844 mailUseSSL = False
0845
0846 # login user of SMTP server if any. leave it empty if SMTP doesn't need to logon
0847 mailUser =
0848
0849 # login password of SMTP server if any. leave it empty if SMTP doesn't need to logon
0850 mailPassword =
0851
0852 # email sender
0853 mailFrom = example_from@example.com
0854
0855 # a comma-concatenated list of email recipients
0856 mailTo = example_to_1@example.com,example_to_2@example.com
0857
0858 ##########################
0859 #
0860 # APF monitoring parameters
0861 #
0862 [apfmon]
0863 active = True
0864
0865 ##########################
0866 #
0867 # Service monitor parameters
0868 #
0869
0870 [service_monitor]
0871 active = True
0872
0873 # optional in case you want to monitor any disk volume
0874 disk_volumes = data
0875
0876 # pidfile only necessary when running in uwsgi
0877 pidfile = /var/log/harvester/panda_harvester.pid
0878
0879 ##########################
0880 #
0881 # Google cloud parameters
0882 #
0883
0884 [googlecloud]
0885
0886 # zone where you are booting up your VMs and storage, e.g. us-east1-b
0887 zone = us-east1-b
0888 # project defined in the google compute account, where the activity will be billed
0889 project = atlas-harvester
0890 # private service account json generated in the google cloud management console
0891 service_account_file = /path/to/service_file.json
0892 # file with the user data to send to CERN VM
0893 user_data_file = /path/to/user_data.txt
0894 # image to use
0895 image = https://www.googleapis.com/compute/v1/projects/atlas-harvester/global/images/cernvm4-micro-3-0-6
0896 # harvester frontend
0897 harvester_frontend = aipanda170.cern.ch:25443
0898
0899
0900
0901
0902 ##########################
0903 #
0904 # File Syncer parameters
0905 #
0906
0907 [file_syncer]
0908
0909 # plugin configs in json
0910 # pluginConfigs =
0911 # [
0912 # {
0913 # "module": "pandaharvester.harvesterfilesyncer.git_file_syncer",
0914 # "name": "GitFileSyncer",
0915 # "configs": {
0916 # "grid_qconf": {
0917 # "targetDir": "/data/atlpan/harvester_configurations",
0918 # "sourceURL": "https://github.com/PanDAWMS/harvester_configurations.git",
0919 # "sourceBranch": "master",
0920 # "sourceRemoteName": "origin",
0921 # "sourceSubdir": "GRID/condor_sdf_templates"
0922 # }
0923 # }
0924 # }
0925 # ]
0926
0927 # sleep interval in sec
0928 sleepTime = 600
0929
0930
0931
0932 ##########################
0933 #
0934 # Log level parameters
0935 #
0936 # To set logging level for each logger
0937 #
0938 # Notes: Global logging level is set by log_level in panda_common.cfg
0939
0940 [log_level]
0941
0942 # logger_name = level (CRITICAL, ERROR, WARNING, INFO, DEBUG, NOTSET)
0943 #
0944 # E.g. to set INFO level to panda-monitor.log
0945 # monitor = INFO