📣 An issue occured with the embedded container registry on October 25 2021, between 10:30 and 12:10 (UTC+2). Any persisting issues should be reported to CC-IN2P3 Support. 🐛

Commit 256f4148 authored by MUSSET Paul's avatar MUSSET Paul
Browse files

[ansible] addapt xcache config file to xrootd 5

parent 0a8cdd05
Pipeline #109535 passed with stage
in 2 minutes and 47 seconds
all.export /
# roles in the cluster (do not have to be written if its a standalone server)
# all.role proxy server
# remote data source
pss.origin =
# proxy plugin
# Enable XCache
## Proxy plugin
ofs.osslib libXrdPss.so
# Proxy File Cache aka XCache
pss.cachelib libXrdFileCache.so
## Proxy File Cache aka XCache
pss.cachelib default
# remote data source access method
pss.origin =http,https,root,roots,xroot,xroots
# Namespace (contains link to the actual data)
# Physical storage management
## Namespace (contains link to the actual data)
oss.localroot /mnt/xcache/ns/
# Metadata directories (cinfo files)
## Metadata directories (cinfo files)
oss.space meta /mnt/xcache/metadata
# Data directories
## Data directories
oss.space data /mnt/xcache/storage/data*
# Xcache spaces assignement
## Xcache spaces assignement
pfc.spaces data meta
# add http support
if exec xrootd
xrd.protocol http libXrdHttp.so
{% if auth is defined and auth %}
http.cadir /etc/grid-security/certificates
http.cert /run/secrets/xrdcert.pem
http.key /run/secrets/xrdkey.pem
http.secxtractor libXrdSecgsiVOMS.so
http.header2cgi Authorization authz
{% endif %}
fi
# cache log level
# xrootd log
# pss.setopt DebugLevel 4
# pss.trace all
# pfc.trace dump
# oss.trace all
# xrootd.trace all
# xrd.trace all
# sec.trace all
{% if auth is defined and auth %}
# Configure secure protocols (roots/https)
xrd.tls /run/secrets/xrdcert.pem /run/secrets/xrdkey.pem
xrd.tlsca certdir /etc/grid-security/certificates
# authentication
xrootd.seclib libXrdSec.so
sec.protocol gsi -crl:0 -cert:/run/secrets/xrdcert.pem -key:/run/secrets/xrdkey.pem -gridmap:/dev/null -vomsfun:/usr/lib64/libXrdVoms.so -vomsfunparms:vos=escape
sec.protocol gsi -crl:ignore -cert:/run/secrets/xrdcert.pem -key:/run/secrets/xrdkey.pem -gridmap:/dev/null -vomsfun:/usr/lib64/libXrdVoms.so
sec.protbind * gsi
# authorization
ofs.authorize 1
acc.authdb /etc/xrootd/Authfile
ofs.authlib ++ libXrdAccSciTokens.so config=/etc/xrootd/scitokens.cfg
{% endif %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment