URL:
<http://savannah.cern.ch/bugs/?98383>
Summary: xrootd.redirect only to single server?
Project: XROOTD
Submitted by: iven
Submitted on: 2012-10-23 08:54
Severity: 2 - Minor
Priority: 3 - Low
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Fixed by commit(s):
_______________________________________________________
Details:
We are trying to use a N2N plugin only for certain requests, and serve
anything with a local filename directly. As per docs, we should be able to
have up to 4 different redirects.
Config file:
xrd.port 1098
ofs.osslib libXrdPss.so
pss.origin eosatlas.cern.ch:1094
## only redirect EOS files directly to EOS
xrootd.redirect eosatlas.cern.ch.:1094 /eos
## try to go to N2N translator for LFN
xrootd.redirect xrdfed16.cern.ch.:1094 /atlas
xrootd.trace all
all.export /
all.role server
## upstream
all.manager atlas-xrd-eu.cern.ch+:1098
all.adminpath /var/spool/xrootd
all.pidpath /var/run/xrootd
The "xrootd.redirect" configuration entries appear to be read correctly in
the beginning of the log, but at the end point to the same (last) server?
Copr. 2007 Stanford University, xrootd version 2.9.7 build v3.2.5
++++++ xrootd protocol initialization started.
=====> xrootd.redirect eosatlas.cern.ch.:1094 /eos
=====> xrootd.redirect xrdfed16.cern.ch.:1094 /atlas
=====> xrootd.trace all
=====> all.export /
=====> all.pidpath /var/run/xrootd
Config exporting /
Config warning: 'xrootd.seclib' not specified; strong authentication
disabled!
++++++ File system initialization started.
=====> ofs.osslib libXrdPss.so
=====> all.role server
Copr. 2007, Stanford University, Pss Version v3.2.5
=====> pss.origin eosatlas.cern.ch:1094
=====> all.export /
------ Proxy storage system initialization completed.
++++++ Configuring server role. . .
121023 08:46:48 24374 cms_Config: atlas-xrd-eu.cern.ch+ -> all.manager
xrdfed04.cern.ch
121023 08:46:48 24374 cms_Config: atlas-xrd-eu.cern.ch+ -> all.manager
xrdfed03.cern.ch
=====> all.manager atlas-xrd-eu.cern.ch+:1098
=====> all.adminpath /var/spool/xrootd
121023 08:46:48 24383 cms_Open: Unable to connect socket to
/var/spool/xrootd/fed/.olb/olbd.admin; connection refused
Config effective /etc/xrd.cf.fed ofs configuration:
ofs.role server
ofs.maxdelay 60
ofs.osslib libXrdPss.so
ofs.persist manual hold 600 logdir
/var/spool/xrootd/fed/.ofs/posc.log
ofs.trace 0
------ File system server initialization completed.
Config warning: 'xrootd.prepare logdir' not specified; prepare tracking
disabled.
Config redirect static /eos to xrdfed16.cern.ch.:1094
Config redirect static /atlas to xrdfed16.cern.ch.:1094
------ xrootd protocol initialization completed.
------ xrootd [log in to unmask]:1098 initialization completed.
Could it be that the server part is just overwritten by the latest entry in
the config file? Or perhaps the multi-redirector syntax is different from
what I had understood.
_______________________________________________________
Reply to this item at:
<http://savannah.cern.ch/bugs/?98383>
_______________________________________________
Message sent via/by LCG Savannah
http://savannah.cern.ch/
########################################################################
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1
|