Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
89cdcc68
Commit
89cdcc68
authored
10 years ago
by
Elvin Sindrilaru
Browse files
Options
Downloads
Patches
Plain Diff
XROOTD: Update the example configuration files for the XRootD daemons
parent
06e826d4
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
xrootd/xrd.cf.manager.etc
+43
-36
43 additions, 36 deletions
xrootd/xrd.cf.manager.etc
xrootd/xrd.cf.server.etc
+20
-25
20 additions, 25 deletions
xrootd/xrd.cf.server.etc
with
63 additions
and
61 deletions
xrootd/xrd.cf.manager.etc
+
43
−
36
View file @
89cdcc68
#
###############################################################################
#
-------------------------------------------------------------------------------
# Location of the plugin OFS library to be loaded
#
###############################################################################
#
-------------------------------------------------------------------------------
xrootd.fslib /usr/lib64/libxrdxcastor2fs.so.2.1
xrootd.chksum adler32
xrd.async off
xr
oot
d.async off
nosf
xrd.sched mint 16 maxt 512 idle 128
all.export /
all.role manager
all.manager localhost 2131
oss.fdlimit 16384 32768
################################################################################
# Namespace Mapping - don't touch
################################################################################
#-------------------------------------------------------------------------------
# Log level which is the same as the one used by syslog. By default it's INFO.
# The filter will print out log messages only from the specified function.
#-------------------------------------------------------------------------------
#xcastor2.loglevel 6
#xcastor2.debugfilter some_function
#-------------------------------------------------------------------------------
# Namespace mapping
#-------------------------------------------------------------------------------
xcastor2.nsmap / /
xcastor2.fs /
################################################################################
# Plugin configuration - don't touch
################################################################################
#-------------------------------------------------------------------------------
# Mapping between paths and svcClasses. The path "/" is considered as the
# default mapping. SvcClasses need to be separated by commas and at the end
# there is the posibility to specify the "nohsm" option. SvcClasses are listed
# in order of their priority. The special character "*" means that any svcClass
# provided by the client is accepted.
#-------------------------------------------------------------------------------
xcastor2.stagermap /castor/cern.ch/dev/ default,dev,diskonly,* nohsm
xcastor2.stagermap / default
#-------------------------------------------------------------------------------
# Role map. Map incoming user to new identity.
#-------------------------------------------------------------------------------
#xcastor2.role user1 user2
#-------------------------------------------------------------------------------
# Set the stagerhost which the XRootD daemon contacts. It must be a fully
# qualified domain name.
#-------------------------------------------------------------------------------
#xcastor2.stagerhost mystager.cern.ch
#-------------------------------------------------------------------------------
# Plugin configuration
#-------------------------------------------------------------------------------
xcastor2.targetport 1095
xcastor2.capability true
xcastor2.privatekey /opt/xrootd/keys/key.pem
xcastor2.tokenlocktime 60
xcastor2.proc /var/log/xroot/manager
#
###############################################################################
# Security
P
lugins
#
###############################################################################
#
-------------------------------------------------------------------------------
# Security
p
lugins
#
-------------------------------------------------------------------------------
xrootd.seclib /usr/lib64/libXrdSec.so
# UNIX authentication
...
...
@@ -41,31 +69,10 @@ sec.protocol gsi -crl:1 -cert:/etc/grid-security/xrootd-server/xrootd-server-cer
# To configure krb5 as the default
#sec.protbind * only krb5
#
c
onfigure unix authentication for diskservers to communicate back with the
#
C
onfigure unix authentication for diskservers to communicate back with the
# redirector. Note: This should really use strong authentication!
#sec.protbind diskserver.domainname only unix
#
c
onfigure gsi+krb5 only at CERN
#
C
onfigure gsi+krb5 only at CERN
#sec.protbind *.cern.ch only krb5 gsi
################################################################################
# Set mapping between paths and svcClasses. The path "/" is considered as the
# default mapping. The svcClasses need to be separated by commas and at the end
# there is the posibility to specify the "nohsm" option. The svcClasses are
# listed in order of their priority. The special character "*" means that any
# svcClass provided by the client is accepted.
################################################################################
xcastor2.stagermap /castor/cern.ch/dev/ default,dev,diskonly,* nohsm
xcastor2.stagermap / default
################################################################################
# Set the stagerhost which the XRootD daemon contacts. It must be a fully
# qualified domain name.
################################################################################
xcastor2.stagerhost mystager.cern.ch
################################################################################
# Log level: INFO by default
################################################################################
#xcastor2.loglevel 6
This diff is collapsed.
Click to expand it.
xrootd/xrd.cf.server.etc
+
20
−
25
View file @
89cdcc68
#-------------------------------------------------------------------------------
# Location of the plugin OFS library to be loaded + XRootD config
#-------------------------------------------------------------------------------
xrootd.fslib /usr/lib64/libxrdxcastor2ofs.so.2.1
xrootd.async off nosf
xrootd.trace emsg login
xrd.port 1095
xrd.network keepalive
xrd.trace conn net
#-------------------------------------------------------------------------------
xrootd.seclib /usr/lib64/libXrdSec.so
sec.protocol /usr/lib64 unix
#-------------------------------------------------------------------------------
all.export / nolock
ofs.trace open close
ofs.persist off
#-------------------------------------------------------------------------------
xrd.port 1095
ofs.authlib /usr/lib64/libxrdxcastor2serveracc.so.2.1
ofs.authorize
# Load access control plugin
#-------------------------------------------------------------------------------
xcastor2.fs /
ofs.authlib /usr/lib64/libxrdxcastor2acc.so.2.1
ofs.authorize
xcastor2.capability true
xcastor2.publickey /opt/xrootd/keys/pkey.pem
xcastor2.ratelimiter true
# Log level: INFO by default
#-------------------------------------------------------------------------------
# Log level which is the same as the one used by syslog. By default it's INFO.
# The filter will print out log messages only from the specified function.
#-------------------------------------------------------------------------------
#xcastor2.loglevel 6
#xcastor2.debugfilter some_function
#-------------------------------------------------------------------------------
# Set the debug level and a filter. The debug levels are similar to the ones used
# by syslog. The debug filter prints out only the messages from a certain function.
# Security plugins
#-------------------------------------------------------------------------------
#xcastor2.loglevel err
#xcastor2.debugfileter main
xrootd.seclib /usr/lib64/libXrdSec.so
sec.protocol /usr/lib64 unix
# to enable persistency on successful close, you have to allow all disk servers
# to call back to the manager by adding
#-------------------------------------------------------------------------------
# To enable persistency on successful close, you have to allow all disk servers
# to call back to the manager by adding the following.
#-------------------------------------------------------------------------------
# sec.protbind lxfs*.cern.ch only unix
xcastor2.posc false
#-------------------------------------------------------------------------------
xcastor2.proc /var/log/xrootd/server/
xcastor2.procuser root@localhost.localdomain
xcastor2.procuser root@localhost
#-------------------------------------------------------------------------------
#3rd party default values
#xcastor2.thirdparty yes
#xcastor2.thirdparty.slots 5
#xcastor2.thirdparty.slotrate 25
# Enable native third-party copy support using xrdcp
#-------------------------------------------------------------------------------
ofs.tpc pgm /usr/bin/xrdcp -f --nopbar
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment