# !!!Removing this file is punished by death !!! # # # # This is a configuration file for XROOTD System # # # # # # XRD Daemon section # # # # it specifies xrd port (we have to setup on 1096, since 1095 is used by redirector or supervisor) xrd.port 1096 # it specifies level of debuging for xrd and xrootd components xrd.trace conn net xrootd.trace login # # # XROOTD Section # # # # here is loading the extended file system support for xrootd xrootd.fslib /star/u/starlib/ROOT/xrootd/lib/libXrdOfs.so #here is loading support of authentication xrootd.seclib /star/u/starlib/ROOT/xrootd/lib/libXrdSec.so # specify a valid path prefix to file requests (export all of them, since we still have PFN) xrootd.export /data0 xrootd.export /data1 xrootd.export /data2 xrootd.export /data3 xrootd.export /home # # # OLB Section # # # # Designate the port number to use for incoming requests from client (this is mandatory directive) olb.port 3122 # Specify how load is computed and reported. olb.perf int 5m pgm /star/u/starlib/ROOT/xrootd/utils/XrdOlbMonPerf.pl 300 # Specify how server are selected for file creation (important for purging tresholds) olb.space linger 0 250m 500m # Designate paths handle by server (r - read, s will be staging) # enable staging only for supervisor nodes (probited on redirectors nodes, since we can have network glitches) if named dataredir olb.path r /home olb.path r /data0 olb.path r /data1 olb.path r /data2 olb.path r /data3 else olb.path rs /data0 olb.path rs /data1 olb.path rs /data2 olb.path rs /data3 olb.path rs /home fi # Tell server olbd's the location of the manager olb.subscribe rcas6132.rcf.bnl.gov 3121 # Indecate the role this server will have based on host name (default is server) olb.role server # Tell level of event loging odc.trace all -debug olb.trace all -debug # # # OFS and OSS Section # # # # Tell the function in redirection mode ofs.redirect target # Restrict access to files only for operation read oss.readonly # Tell level of loging ofs.trace all -debug -aio -read -readdir -write oss.trace all -debug # Control the way a disk cache partition is selected for file placement oss.alloc 250m 10 50 # Control file descriptor's allocating oss.fdlimit * max # Specify command to obtain data from HPSS oss.mssgwcmd /star/u/starlib/ROOT/xrootd/utils/hpss_talk.pl # use mps stage command for dynamic staging and inside call our hpss_talk which knows how to communicate with DataCarousel oss.stagecmd /star/u/starlib/ROOT/xrootd/utils/mps_Stage -F -c /star/u/starlib/ROOT/xrootd/config/configuration.cfg # Restrict access to files only for operation read oss.readonly # Specify processing options for any entry matching the specified path prefix oss.path /data0 oss.path /data1 oss.path /data2 oss.path /data3 oss.path /home # prefix requests with /home/starlib (we don't have any other chance) oss.localroot /home/starlib # Specify the location of a disk cache partition # PJ: Only wildcard would work here. Individual drive would not and crash # xrootd. oss.cache rhstar /data* # number of threads, for beginning take defaults oss.xfr 20 * 30 * # # # MPS section # # # # Where error message go via mail, choose some user mps.adminuser starlib # Specify path where will be placed symlinks mps.scan /home/starlib # set level of debuging for all components (4 -additionally records internal debugging information) mps.debug 2 # is the command to be used to mail files to "adminuser" specified above mps.mailcmd /bin/mail # is the name of the file that is to hold error information mps.errlogfn /star/data08/XROOTD/logs/logerr # specify command for bringing the files from hpss mps.stage.xfrcmd /star/u/starlib/ROOT/xrootd/utils/hpss_stage.pl %sfn %tfn # specify minimum size of free space that must be mantained before trying to stage a file mps.stage.minsize 786432000 # configuration before will execute purging mps.stage.purgecmd /star/u/starlib/ROOT/xrootd/utils/mps_MigrPurg -c /star/u/starlib/ROOT/xrootd/config/configuration.cfg # specify names of log files for every components of MPS separately mps.stage.logfn /star/data08/XROOTD/logs/stage_log mps.purg.logfn /star/data08/XROOTD/logs/purge_log # Set the number of times a failing data transfer operation may be retried. mps.stage.max_retry 1 mps.max_retry 1 #is the name or number of the Unix group that is to be used for newly created files mps.stage.cpgroup rhstar #is the command to be used to communicate with the Mass Storage System. mps.stage.msscmd /star/u/starlib/ROOT/xrootd/utils/hpss_talk.pl #the command to issue in order to obtain free space information about a file system. mps.stage._fs_stat /star/u/starlib/ROOT/xrootd/utils/fs_stat