Print

Print


Hello Andreas

You should just need
olb.path w /store
in the config for the redirector.

You can checkout the configuration used at slac:
# redirector-config
http://www.slac.stanford.edu/~wilko/xrd/xrootd.cf_rdr

# dataserver config
http://www.slac.stanford.edu/~wilko/xrd/xrootd.cf_srv

Which xrootd version are you using?
The latest productions version 20070321-1251p1 makes the configuration a 
little bit easier.

Cheers,
    Wilko



On Fri, 22 Jun 2007, Andreas Petzold wrote:

> 	Hi,
>
> I have a redirector and a few dataservers. The servers export a file
> system /prod with write permissions:
>
> olb.path r /store
> olb.path w /prod
> olb.port 3121
> olb.sched cpu 100
> olb.subscribe l01-001-110.gridka.de
> olb.wait
>
> ofs.redirect target
>
> oss.alloc * * 80
> oss.fdlimit * max
> oss.localroot /home/xrootd/disk
>
> xrd.protocol xrootd *
>
> xrootd.async off
> xrootd.chksum crc32 /home/xrootd/bin/getCRC32.sh
> xrootd.export /prod
> xrootd.export /store
>
> No I have the following problem. I want to copy a file to the server pool, but
> the redirector claims that no server is available for writing the file:
>
> xrdcp -d 2 ap_skims.lst root://babar.gridka.de:1094//prod/
> [snip]
> 070622 15:42:19 10305 Xrd: SendGenCommand: Server declared: No servers are
> available to write the file.(error code: 3005)
>
> Interestingly enough, I seem to be able to delete files from the servers via
> xrootd.
>
> How should I configure the dataservers so that I'm able to write to the
> through the redirector?
>
> 	Cheers,
>
> 		Andreas
>