Print

Print


Hi Derek and Pete,

>From what I see the reason is that the data server's cf file did not declare 
any paths writable. If you look at the manager's log you will like see the 
message "server xxx defaulted r /" which means that it can only read files. 
Please see the "olb.path" directive in the olb manual.

Andy

----- Original Message ----- 
From: "Peter Elmer" <[log in to unmask]>
To: "Derek Feichtinger" <[log in to unmask]>
Cc: "xrootd mailing list" <[log in to unmask]>
Sent: Wednesday, March 23, 2005 2:37 AM
Subject: Re: writing via redirector


>  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
> -------------------------------------------------------------------------
>