Skip to content

Example Configuration for a Cluster running rucioN2N for Xcache

Wei Yang edited this page Aug 3, 2019 · 4 revisions

Update 2019-08-02: add "pss.ccmlib ..." line to the config file for release 1.2 and above

The following is an example configuration file for a Xcache cluster using rucioN2N-for-Xcache plugin:

# note the hostname in "$(redirector)" should be FQAN, not short format (hostname -f)
set redirector = rdr.slac.stanford.edu

all.manager $(redirector):1213
all.adminpath /var/spool/xrootd
all.pidpath /var/run/xrootd

oss.localroot  /data/namespace

all.export /atlas/rucio stage r/o
all.export /root:/      stage r/o
all.export /xroot:/     stage r/o

if $(redirector)
    all.role manager
    cms.delay startup 10
else if exec cmsd
    all.role server
    oss.statlib /usr/lib64/XrdName2NameDCP4RUCIO.so 
else
    oss.space meta /data/xrdcinfos
    oss.space data /data/datafiles

    all.role server
    oss.path /atlas/rucio r/w
    oss.path /root:/      r/w
    oss.path /xroot:/     r/w
    ofs.osslib   /usr/lib64/libXrdPss.so
    pss.cachelib /usr/lib64/libXrdFileCache.so
    pss.origin localfile:1094
    pss.config streams 16 
    pss.namelib -lfncache -lfn2pfn /usr/lib64/XrdName2NameDCP4RUCIO.so
    pss.ccmlib /usr/lib64/XrdName2NameDCP4RUCIO.so

    pfc.ram 1g
    pfc.spaces data meta
    pfc.diskusage 2000g 2100g
    pfc.blocksize 1M
    pfc.prefetch 0