How to submit a FTS job.

This procedure gives the new Data Manager some low level tools in order to verify his capability to interact with FTS grid services. Please not that the updated list of FTS endpoints is available in the DIRAC CS section /Resources/FTSEndpoints. For sake of simplicity we reported here hard-coded endpoints.
  • Create a valid grid environment
     source /afs/ 
  • Create a valid voms proxy with production capability
     voms-proxy-init --voms lhcb:/lhcb/Role=production
  • Delegate you proxy to the FTS endpoints that you want to test
    glite-delegation-init  -e 600 -f -s
    glite-delegation-init  -e 600 -f -s
    glite-delegation-init  -e 600 -f -s
    glite-delegation-init  -e 600 -f -s
    glite-delegation-init  -e 600 -f -s
    glite-delegation-init  -e 600 -f -s
    glite-delegation-init  -e 600 -f -s
  • Submit your jobs against the 7 FTS servers currently in use by LHCb
    glite-transfer-submit -s -t LHCb_DST -f /tmp/inputfile
    where the file inputfile contains the pairs "source destination" of the test files you want to transfer. Note that FTS services outside CERN manage all incoming transfers. This means that in order to test other FTS servers the input file describing the pairs will look different. To ease the life I report at the end of this document some examples of input files to be used per each FTS server at T1.
     $ cat /tmp/inputfile 
    srm:// srm://
    The submission returns back a guid that identifies the transfer job and that can be used for the subsequent query status.
  • Query the status of your transfer as in the example below
    glite-transfer-status -l -s d8ca5dd6-fee9-11df-ae99-fb422e02068f
      Source:      srm://
      Destination: srm://
      State:       Finished
      Retries:     0
      Reason:      (null)
      Duration:    15
  • Iterate the above points for all FTS endpoints listed below:
    export FTS_FZK=""
    export FTS_IN2P3=""
    export FTS_CNAF=""
    export FTS_RAL=""
    export FTS_SARA=""
    export FTS_PIC=""
    using the respective input files
    > cat input4FZK
    srm:// srm://
    > cat input4IN2P3
    srm:// srm://
    > cat input4CNAF
    srm:// srm://
    > cat input4RAL
    srm:// srm://
    > cat input4SARA
    srm:// srm://
    > cat input4PIC
    srm:// srm://

-- RobertoSantinel - 03-Dec-2010

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2010-12-03 - unknown
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 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