Hi Derek,
I'm in a meeting today so it is hard for me to take a look, but this
_should_ work. I've not yet set up the example page for the SLAC r/w
disk buffer, but if it helps I've attached the two config files for that
system.
I think you just need to setup the "olb.path" directives to allow write,
but haven't walked through this myself. (Meetings...)
Pete
On Wed, Mar 23, 2005 at 11:28:21AM +0100, 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
>
-------------------------------------------------------------------------
Peter Elmer E-mail: [log in to unmask] Phone: +41 (22) 767-4644
Address: CERN Division PPE, Bat. 32 2C-14, CH-1211 Geneva 23, Switzerland
-------------------------------------------------------------------------
# The Open Distributed Cache Section
#
odc.manager bbr-rdr-p+ 3121
# odc.trace redirect
odc.request repwait 20 noresp 999
# The Open Load Balancer Section
#
olb.allow host bbrprod*.slac.stanford.edu
olb.allow host bbr-rdr05.slac.stanford.edu
olb.allow host bbr-rdr06.slac.stanford.edu
olb.port 3121
olb.path w /store
olb.path w /prod
olb.perf int 180 pgm /opt/xrootd/prod/etc/XrdOlbMonPerf 150
olb.sched cpu 100
olb.subscribe bbr-rdr-p+ 3121
olb.wait
# The Open File System Section
#
ofs.redirect remote if bbr-rdr-p+
ofs.redirect target if bbrprod*
# The Open Storage System Section (cache & localroot are used by olb)
#
oss.nostage
oss.nocheck
oss.mig
oss.alloc * * 80
oss.cache public /kanga/cache*
oss.fdlimit * max
oss.localroot /kanga
oss.path /store
oss.path /prod
# The XRD Section
#
xrd.protocol xrootd *
xrd.timeout idle 999h
# The XROOTD Section
#
xrootd.fslib /opt/xrootd/prod/lib/libXrdOfs.so
xrootd.export /store
xrootd.export /prod
xrootd.async off
xrootd.monitor all dest files info user xrootd-stats:9930
xrootd.chksum crc32 /opt/xrootd/util/getCRC32.sh
# The Open Distributed Cache Section
#
odc.manager bbr-rdr-p+ 3121
# odc.trace redirect
odc.request repwait 20 noresp 999
# The Open Load Balancer Section
#
olb.allow host bbrprod*.slac.stanford.edu
olb.allow host bbr-rdr05.slac.stanford.edu
olb.allow host bbr-rdr06.slac.stanford.edu
olb.port 3121
olb.path w /store
olb.path w /prod
olb.perf int 180 pgm /opt/xrootd/prod/etc/XrdOlbMonPerf 150
olb.sched cpu 100
olb.subscribe bbr-rdr-p+ 3121
# The Open File System Section
#
ofs.redirect remote if bbr-rdr-p+
ofs.redirect target if bbrprod*
# The Open Storage System Section (cache & localroot are used by olb)
#
# The XRD Section
#
xrd.protocol xrootd *
xrd.timeout idle 999h
# The XROOTD Section
#
xrootd.fslib /opt/xrootd/prod/lib/libXrdOfs.so
xrootd.export /store
xrootd.export /prod
xrootd.async off
|