Hello Derek
In our test setup writing through the redirector is working.
As far as I can tell your problem is that the oss part is not configured.
I have to talk to Andy to find out if it is possible to get away without
the oss part.
Anyhow, I appended the two config files for our data servers
(xrootd-ddev_1.cf) and redirector (xrootd-ddev_1rdr.cf).
I hope that helps.
Cheers,
Wilko
On Wed, 23 Mar 2005, Derek Feichtinger wrote:
> Hi,
>
> I tried writing files via a redirector (using xrootd-20050321-0425). Although
> I get now a much better error message from the logs and from xrdcp using this
> version, the write via redirector still does not work (but I can write to
> every data server with xrootd if I address it directly). Is this currently
> not supported?
>
> Thanks,
> Derek
>
> --
> Dr. Derek Feichtinger Tel: +41 22 767 10 07
> LCG/ARDA Group email: [log in to unmask]
> CERN http://people.web.psi.ch/feichtinger
> CH-1211 Genève 23
>
>
> Error msgs:
> -----------------
> Error accessing path/file for root://redir:1094//tmp/xrootd/test10.txt
>
> odc_Locate: dfeich.13455:12@pcarda10 given error msg 'No servers have write
> access to the file' by lxn5219 path=/tmp/xrootd/test10.txt
> 050323 11:20:05 6747 dfeich.13455:12@pcarda10 XrootdResponse: 0000 sending err
> 3005: No servers have write access to the file
>
>
> Configs:
> -------------
> #
> # dataserver.cf
> #
> # xrootd
> xrootd.fslib /opt/xrootd/xrootd-20050321-0425/lib/arch/libXrdOfs.so
> xrootd.export /tmp/xrootd
> odc.manager redir
> # olbd
> olb.port 3121
> olb.subscribe redir 3121
>
>
> #
> # redirector.cf
> #
> # xrootd
> xrootd.fslib /opt/xrootd/xrootd-20050321-0425/lib/arch/libXrdOfs.so
> xrootd.export /tmp/xrootd
> odc.manager redir 3121
> #odc.trace redirect
> odc.trace all debug
> ofs.trace all debug
> # olbd
> olb.port 3121
> #olb.ping 30 5 5
> olb.allow host redir.cern.ch
> olb.allow host slave1.cern.ch
> olb.allow host slave2.cern.ch
> olb.trace all debug
>
>
# The Open Distributed Cache Section
#
odc.manager datadevsol12.slac.stanford.edu 3131
odc.manager datadevsol11.slac.stanford.edu 3131
#odc.trace redirect
odc.request repwait 20 noresp 999
# The Open Load Balancer Section
#
olb.allow host datadevsol*.slac.stanford.edu
olb.port 3131
olb.path w /store
olb.path w /prod
olb.perf int 180 pgm /u1/wilko/xrdTest/prod/etc/XrdOlbMonPerf 150
olb.sched cpu 100
olb.subscribe datadevsol12.slac.stanford.edu 3131
olb.subscribe datadevsol11.slac.stanford.edu 3131
olb.wait
# The Open File System Section
#
ofs.redirect target
#The Open Storage System Section (cache & localroot are used by olb)
#
#oss.mssgwcmd /u1/wilko/xrdTest/utils/mssCmd.py
oss.nostage
oss.nocheck
oss.nodread
oss.nomig
oss.alloc * * 80
oss.cache public /u1/wilko/kanga/cache*
oss.fdlimit * max
oss.localroot /u1/wilko/kanga
#oss.remoteroot /u1/wilko/dssdsasadkanga
#oss.path /store check mig
oss.path /store
oss.path /prod
# The XRD Section
#
xrd.protocol xrootd *
xrd.timeout idle 999h
# The XROOTD Section
#
xrootd.fslib /u1/wilko/xrdTest/prod/lib/libXrdOfs.so
xrootd.export /store
xrootd.export /prod
xrootd.async off
xrootd.monitor all dest io files info user datadevlnx04:9930
# xrootd.monitor all window 3 mbuff 1k flush 3s dest files info user noric02:9930
xrootd.chksum crc32 /u1/wilko/xrdTest/utils/getCRC32.sh
#xrootd.trace all
#xrd.trace all
#olb.trace all
#oss.trace all
#ofs.trace all
# The Open Distributed Cache Section
#
odc.manager datadevsol12.slac.stanford.edu 3131
odc.manager datadevsol11.slac.stanford.edu 3131
odc.trace redirect
odc.request repwait 20 noresp 999
# The Open Load Balancer Section
#
olb.allow host datadevsol*.slac.stanford.edu
olb.port 3131
olb.path w /store
olb.path w /prod
olb.perf int 180 pgm /u1/wilko/xrdTest/prod/etc/XrdOlbMonPerf 150
olb.sched cpu 100
olb.subscribe datadevsol12.slac.stanford.edu 3131
olb.subscribe datadevsol11.slac.stanford.edu 3131
# The Open File System Section
#
ofs.forward rm
ofs.redirect remote datadevsol12.slac.stanford.edu
ofs.redirect remote datadevsol11.slac.stanford.edu
# The XRD Section
#
xrd.protocol xrootd *
xrd.timeout idle 999h
# The XROOTD Section
#
xrootd.fslib /u1/wilko/xrdTest/prod/lib/libXrdOfs.so
xrootd.export /store
xrootd.export /prod
xrootd.log all -login
#xrootd.trace all
#xrd.trace all
#olb.trace all
#oss.trace all
#ofs.trace all
|