FTS

From T2B Wiki
Revision as of 12:28, 26 August 2015 by Maintenance script (talk | contribs) (Created page with " === Howto === *Setup the environment <pre> export LCG_GFAL_INFOSYS=bdii.iihe.ac.be:2170 export GLITE_SD_PLUGIN=bdii # lyon export GLITE_SD_SITE=IN2P3-CC expo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Howto

  • Setup the environment
  export LCG_GFAL_INFOSYS=bdii.iihe.ac.be:2170
  export GLITE_SD_PLUGIN=bdii
  # lyon
  export GLITE_SD_SITE=IN2P3-CC
  export GLITE_SD_VO=cms
  • get one of the admins in as channel manager to setup and control the channel
  • try the user side glite-transfer- commands

Submit Transfers from a UI

Transfers are submitted from a UI (LCG 2_7_0) .

  • Before any transfer, one needs a valid proxy stored by a MyProxy server to allow the FTS server to renew proxy when expiring during transfer. We can use myproxy-fts.cern.ch as the default for FTS.
 To store a proxy on a MyProxy server:
grid-proxy-init
myproxy-init -s myproxy-fts.cern.ch -d 

Transfers submitted by a DN are not accessible from another DN.

Checking FTS channels

 /opt/glite/bin/glite-transfer-channel-list -s https://cclcgftsli01.in2p3.fr:8443/glite-data-transfer-fts/services/ChannelManagement

Submission

 glite-transfer-submit -s https://cclcgftsli01.in2p3.fr:8443/glite-data-transfer-fts/services/FileTransfer     <SOURCE-SURL> <DEST-SURL>
    • (sample of SURL : srm://ccsrm.in2p3.fr:8443/srm/managerv1?SFN=/pnfs/in2p3.fr/data/dteam/hpss/test/test_fts_bnl2lyon_jul14.1)

This command returns a UID (ex.: 604c290c-04fa-11da-816d-adeeeb012d0c) which is used to track the transfer status.

Transfer status

 glite-transfer-status -s https://cclcgftsli01.in2p3.fr:8443/glite-data-transfer-fts/services/FileTransfer -l 604c290c-04fa-11da-816d-adeeeb012d0c 

Here is the possible ouput of this command :

 Done
 Source: srm://ccsrm.in2p3.fr:8443/srm/managerv1?SFN=/pnfs/in2p3.fr/data/atlas/test/test_fts_bnl2lyon_jul14.1
 Destination: srm://ccsrm.in2p3.fr:8443/srm/managerv1?SFN=/pnfs/in2p3.fr/data/atlas/test/2005-08-04.1654
 State:       Done
 Retries:     0
 Reason:      (null)
 Duration:    25 

Destroying a transfer

 glite-transfer-cancel -s https://cclcgftsli01.in2p3.fr:8443/glite-data-transfer-fts/services/FileTransfer 604c290c-04fa-11da-816d-adeeeb012d0c
 glite-transfer-list -s https://cclcgftsli01.in2p3.fr:8443/glite-data-transfer-fts/services/FileTransfer -c <NOM-du-CANAL>

More options with this command available with argument -help.

Deleting files in SRM

You can not delete a file on SRM using FTS. It handles only transfers. So once test transfers are done please delete test files with:

 srm-advisory-delete <SRM path>

Modification of channel parameters

To be able to change the channel parameters, you need to be a channle manager.

 glite-transfer-channel-set -s https://cclcgftsli01.in2p3.fr:8443/glite-data-transfer-fts/services/ChannelManagement  -f <number-of-files> -T <number-fo-streams> <CHANNEL_NAME>

To get a list of all channels:

 glite-transfer-channel-list -s https://cclcgftsli01.in2p3.fr:8443/glite-data-transfer-fts/services/ChannelManagement

To get detailed inof on a channel:

 glite-transfer-channel-list -s https://cclcgftsli01.in2p3.fr:8443/glite-data-transfer-fts/services/ChannelManagement <CHANNEL_NAME>

Test scripts

Links


Template:TracNotice