Manager Configuration File

From GridPP Wiki
Jump to: navigation, search
############################################################################
# Generic Settings
xrootd.fslib /opt/xrootd/lib/libXrdxCastor2Fs.so
xrd.async off
xrd.sched mint 16 maxt 512 idle 128
all.export /
all.role manager
all.manager lcgcc246.gridpp.rl.ac.uk 2131
oss.fdlimit 16384 32768
############################################################################
# Namespace Mapping - don't touch
xcastor2.nsmap / /
xcastor2.fs /

############################################################################
# Scheduling Policies
# note: syntax is <stagerhost>::<serviceclass> schedall|schedread|schedwrite[,nohsm][,mkpath]
xcastor2.stagerpolicy cprestager.ads.rl.ac.uk::* schedall,nohsm

############################################################################
# plugin configuration - don't touch
xcastor2.targetport 1095
xcastor2.capability true
xcastor2.privatekey /opt/xrootd/keys/key.pem
xcastor2.tokenlocktime 60
xcastor2.proc /var/log/xroot/manager

############################################################################
# - Security Plugins
xrootd.seclib /opt/xrootd/lib/libXrdSec.so

# UNIX authentication
sec.protocol /opt/xrootd/lib/ unix

# KRB authentication
#sec.protocol /opt/xrootd/lib krb5 host/<host>@CERN.CH

# SSL authentication
#sec.protocol /opt/xrootd/lib ssl -d:10 -cert:/etc/grid-security/hostcert.pem -key:/etc/grid-security/hostkey.pem

# configure krb5 as the default
#sec.protbind * only krb5

# configure ssl+krb5 only at CERN
#sec.protbind *.cern.ch only krb5 ssl

# Gridmap and VOMS
xcastor2.gridmapfile /etc/grid-security/grid-mapfile
#xcastor2.vomsmapfile /etc/grid-security/voms-mapfile

############################################################################
xcastor2.stagermap /castor/preprod.ral/test/ cprestager.ads.rl.ac.uk::preDisk1Tape0,cprestager.ads.rl.ac.uk::preDisk0Tape1,cprestager.ads.rl.ac.uk::preDisk1Tape1,cprestager.ads.rl.ac.uk::preD1T0A,cprestager.ads.rl.ac.uk::preD1T0B,cprestager.ads.rl.ac.uk::preD0T1
xcastor2.stagermap /castor/preprod.ral  cprestager.ads.rl.ac.uk::preD1T0A
xcastor2.stagermap default              cprestager.ads.rl.ac.uk::preD1T0A