How to install Xrootd gateway on a dCache site /pnfs/  nfs  ro,intr,noac,hard,nfsvers=2,addr=  0   0
  • usermod -g 0 xrootd
  • configure certificates:
mkdir /etc/grid-security/xrd
cp /etc/grid-security/hostcert.pem /etc/grid-security/xrd/xrdcert.pem
cp /etc/grid-security/hostkey.pem /etc/grid-security/xrd/xrdkey.pem
chown xrootd. /etc/grid-security/xrd/xrdcert.pem
chown xrootd. /etc/grid-security/xrd/xrdkey.pem
  • make a link to work around a problem with dcap library:
ln -s /pnfs/ /store
  • configure /etc/xrootd/xrootd.cfg
# Port specifications; only the redirector needs to use a well-known port
# "any" will cause rooted to bind to any available port.  Change as needed for firewalls.
xrd.port 7070 

# The roles this server will play.
all.role server
all.role manager if
# The known managers
all.manager all 1213

# Allow any path to be exported; this is further refined in the authfile.
all.export / r
oss.localroot /pnfs/ 

# Hosts allowed to use this xrootd cluster
cms.allow host *

### Standard directives
# Simple sites probably don't need to touch these.
# Logging verbosity
xrootd.trace emsg login stall redirect
ofs.trace none
xrd.trace conn
cms.trace all

# Integrate with CMS TFC, placed in /etc/storage.xml
#oss.namelib /usr/lib64/ file:/etc/xrootd/storage.xml?protocol=dcap

# Turn on authorization
ofs.authorize 1
acc.authdb /etc/xrootd/Authfile
acc.audit deny grant

# Security configuration
sec.protocol /usr/lib64 gsi -certdir:/etc/grid-security/certificates -cert:/etc/grid-security/xrd/xrdcert.pem -key:/etc/grid-security/xrd/xrdkey.pem -crl:3

xrootd.seclib /usr/lib64/
xrootd.fslib /usr/lib64/
ofs.osslib /usr/lib64/
all.adminpath /var/run/xrootd
all.pidpath /var/run/xrootd

cms.delay startup 10
cms.fxhold 60s
cms.perf int 30s pgm /usr/bin/XrdOlbMonPerf 30

if exec xrootd every 300s all
  xrootd.monitor all flush 5s mbuff 1k window 1s dest files io info user dest files io info stage user


-- GiacintoDonvito - 09-Feb-2011

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2014-04-14 - TommasoBoccali
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback