TWiki> ArdaGrid Web>DataTransferForTheoryQCD (revision 6)EditAttachPDF

Data Transfer Tools for Theory QCD Application

Grid Tools

We investigate xrootd and FTS for this purpose.

xrootd : the tools are already installed in: /usr/bin

SLC4,SLC5: yam install xrootd-client

SL4,SL5: find and install rpm in extras repository

Alternatively see below to install "from scratch".

Install and setup xrootd client tools "from scratch" (latest development version)

Minimal steps (should be fine for SLC4,SLC5,RHEL):

Get the installer from the xrootd homepage

I installed the latest CVS development version which should in few weeks become the production version. Warning: the version number is likely to change and you should only use it for test for now. Switch to production version as soon as possible to avoid staying with unsupported software.

bash xrd-installer --install --version=vmss_1.7

By default the client tools get installed in ~/xrdserver. You need this:

export LD_LIBRARY_PATH=~/xrdserver/lib:$LD_LIBRARY_PATH
export PATH=~/xrdserver/bin:$PATH

You are ready to go.

Extra steps in case of problems (what I did to get it running on ubuntu 9.10)

If installer fails to compile xrootd packages then check if you have all needed packages on the system (including the dev versions):

To authenticate via Kerberos 5 make sure that you have krb5 package installed and configured to include CERN.CH:

If needed, add CERN.CH to kerberos realms in [realms] section in the configuration file /etc/krb5.conf:

     CERN.CH = {
         default_domain =
         kpasswd_server =
         admin_server =
         kdc =
         kdc =
         kdc =

         v4_name_convert = {
            host = {
              rcmd = host

I also made it default:

        default_realm = CERN.CH

Transfer your files

kinit user@CERN.CH

You are ready to play with Castor transfer:

  • upload: xrdcp /etc/hosts root://
  • download and dump on screen: xrdcp root:// -
  • download in verbose mode and pipe to /dev/null: xrdcp -d 3 -f root://castorpublic//castor/ /dev/null
  • for WAN transfers use -S15 option to use up to 15 parallel streams to speedup transfers

Interactive command line client:

  • xrd
  • browse the tree with dirlist and cd

Some transfer tests done by me

Create a big random file on a local disk:

pcarda75: dd if=/dev/urandom of=20GB.RANDOM.TEST bs=20M count=1000
1000+0 records in
1000+0 records out
20971520000 bytes (21 GB) copied, 5908.11 s, 3.5 MB/s

Copy it to Castor using xrootd (intranet):

time xrdcp 20GB.RANDOM.TEST root://
Disabling apmon monitoring since env variable APMON_CONFIG was not found
[xrootd] Total 20000.00 MB	|====================| 100.00 % [10.9 MB/s]

real	32m6.181s
user	0m9.925s
sys	2m37.810s

Setting up proxy server at CERN with public access

Instructions are here:


Grid tools at CERN

Enable debug output for SOAP clients (srmcp,lcg-cp):

export CGSI_TRACE=1

Setup environment:

source /afs/



globus-url-copy gsi file:///tmp/tmp.test

srmcp from dcache

Possible reason for this error is an outdate client SOAP protocol which is not understood by the server deployed at CERN:

> srmcp srm:// file:///tmp/tmp.txt
WARNING: SRM_PATH is defined, which might cause a wrong version of srm client to be executed
SRMClientV1 : Method 'ns1:get' not implemented: method name or namespace not recognized
SRMClientV1 : get : try # 0 failed with error
SRMClientV1 : Method 'ns1:get' not implemented: method name or namespace not recognized
srm copy of at least one file failed or not completed


lcg-cp srm:// file:///tmp/tmp.txt

-- JakubMoscicki - 12-Jan-2010

Edit | Attach | Watch | Print version | History: r10 | r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r6 - 2010-02-23 - JakubMoscicki
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    ArdaGrid All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback