script:/glite/etc/dgas gianduia.conf

From Dgiref
Jump to: navigation, search
# This is the configuration file for the 'gianduia' UR metering daemon, part of
# gLite DGAS, DataGrid Accounting System.
# This file is also used by "outOfBand scripts"
# Author: A.Guarise -- andrea.guarise@to.infn.it
# Author: R.M.Piro -- piro@to.infn.it
# Author: G.Patania -- patania@to.infn.it
#
# You should modify the following parameters according to your needs.
#
# This configuration file is reed by the DGAS 'gianduia' daeomn
# This is the directory wher blapd put the files for the LRMS jobs with
# the information needed by the accounting service
chocolateBox = "/opt/glite/var/dgasRawBox/"
# This is the location of the directory where gianduia puts the files
# with the usage records. It must be the same as dgasURDir specified in
# the dgas_atmClient.conf file
gianduiottiBox = "/opt/glite/var/dgasURBox/"
# this is the location of the directory where garbage files are stored
# for post-mortem analysis
garbageCollector = "/opt/glite/var/garbageCollector/"
# the lock file for glite-dgas-gianduia.pl
lockFileName = "/opt/glite/var/dgas_gianduia.lock"
# the log file name for glite-dgas-gianduia.pl
logFileName = "/opt/glite/var/log/dgas_gianduia.log"
# the lock files for glite-urcollector.pl and HAD
collectorLockFileName = "/opt/glite/var/dgas_gianduia_urCollector.lock"
collectorHADLockFileName = "/opt/glite/var/dgas_gianduia_urCollector_HAD.lock"
# the log file for glite-urcollector.pl
collectorLogFileName = "/opt/glite/var/log/dgas_gianduia_urCollector.log"
# the lock file for out of band jobs:
oobLockFileName = "/opt/glite/var/dgasOOB.lock"
# the buffer file that keeps track of the last processed LRMS job_id and file:
# for dgasOutOfBand_(pbs/lsf).pl
bufferFileName = "/opt/glite/var/dgasOOBuffer"
# the buffer file that keeps track of the last processed LRMS job_id and
# log timestamp for glite-urcollector.pl:
# (Note: the LRMS type specified in lrmsType will automatically be appended
# as suffix, for example: "/opt/glite/var/dgasCollectorBuffer.pbs")
collectorBufferFileName = "/opt/glite/var/dgasCollectorBuffer"
# chocolate Box parse interval (if all jobs have been processed: seconds to wait
before looking for new jobs in chocolateBox):
mainPollInterval = "60"
# if still jobs to process: number of jobs to process at each processing step
# (several steps per mainPollInterval, depending on the number of jobs found
# in chocolateBox):
jobPerTimeInterval = "10"
# time in seconds to sleep after each processing step (if there are still
# jobs to process, otherwise start a new mainPollInterval):
timeInterval = "5"
# garbage clean-up interval in seconds
queuePollInterval = "600"
#siteName parameter can be used to assign to the UsageRecord a tag identifying
# the site. Example: "INFN-TORINO".
siteName = "Example-RZ"
# This defines whether to use the name of the host on which the sensors run
# as the host name of the CE (in case of local jobs), default is "no":
localHostNameAsCEHostName = "no"
# This parameter specifies the LRMS type and _has to be set_. Possible values:
# "pbs", "lsf".
lrmsType = "pbs"
# This is the location of the directory where PBS accounting logs are stored.
pbsAcctLogDir = "/var/spool/torque/server_priv/accounting/"
# This is the location of the directory where LSF accounting logs are stored.
lsfAcctLogDir = "{path_lsf}/mnt/work/{cluster name}/logdir"
# The following option defines whether urcollector shall consider
# a) "grid": ONLY grid jobs, recognized by their presence in the CE's job map
# log file (this REQUIRES useCEJobMap = "yes" and ceJobMapLog to be
# set!)
# b) "local": ONLY local jobs, recognized by their absence in the CE's job map
# log file (this also REQUIRES useCEJobMap = "yes" and ceJobMapLog
# to be set!)
# c) "all": [default] all jobs; grid-related information (apart from the VO)
# is determined only if useCEJobMap = "yes" and ceJobMapLog are set!
# (and of course only for jobs that have such information in the
# CE's log)
#jobsToProcess = "all"
# This is the location of the CE's grid user/grid job -> local job ID map.
# It has to be specified _either_ as a directory (containing file names such as
# "20050307" or "2005-03-07") _or_ as a file name prefix (including path)
#
# Examples for matching log file names:
#
# "<ceJobMapLog>20060309(.gz)" (one file per day; as prefix)
# "<ceJobMapLog>(- or _)20060309(.gz)" (one file per day; as prefix)
# "<ceJobMapLog>/20060309(.gz)" (one file per day: in dir)
#
# "<ceJobMapLog>2006-03-09(.gz)" (one file per day; as prefix)
# "<ceJobMapLog>(- or _)2006-03-09(.gz)" (one file per day; as prefix)
# "<ceJobMapLog>/2006-03-09(.gz)" (one file per day; in dir)
#
# "<ceJobMapLog>(.gz)" (single file; as prefix)
# "<ceJobMapLog>.1(.gz)" (single file rotated; as prefix)
#
# IMPORTANT NOTE: The CE's job log file will be used only if
# useCEJobMap is set to "yes" (default!), otherwise no grid-related
# information (user DN, user FQAN, grid job ID, etc) will be added
# (jobs considered to be local jobs).
# useCEJobMap = "yes"
useCEJobMap = "no"
ceJobMapLog = ""
keyList = "GlueHostBenchmarkSF00,GlueHostBenchmarkSI00"
#ldifDefaultFiles = "file1,file2"
# glueLdifFile = "/opt/glite/etc/glite-ce-ce-plugin/out.ldif"
glueLdifFile = "/opt/glite/etc/dgas_cpu_bench.conf
dgasCeServerdLog = "/opt/glite/var/log/dgasCeServerd.log"
dgasCeServerdLock = "/opt/glite/var/dgasCeServerd.lock"
dgasCeServerdHadLock = "/opt/glite/var/dgasCeServerdHad.lock"
Personal tools