SDM
People Publications Projects

SRM-COPY-STATUS: BeStMan SRM-Client Tools User's Guide

Usage

Options

-authid <string>
  • Authorization ID to be used in SRM for the request
-conf <path>
  • Path to the configuration file.
  • Command line options will override the options from conf file
-connectiontimeout <int>
  • enforces http connection timeout in the given seconds.
  • Default=1800
-debug
  • Specifies debugging output
  • Default=false
-delegation <true¶false>
  • Force proxy delegation.
  • When not provided, srm-copy-status makes no delegation by default, and automatically handles proxy delegation based on the source and/or target URLs.
  • When –delegation is provided, it forces the user choice.
-f <path>
  • Path to the xml input file containing the source url, target url information for requests with more than one file
  • Refer to the format and an example below
-help
  • Show the help message
-log <path>
  • Specifies path to log file
  • Default=./srmclient-event-date-random.log
-proxyfile <path>
  • Path to user grid proxy
-requesttoken <string>
  • Valid request token returned by the SRM server
-requesttype <get¶put¶copy¶bringonline>
  • Specifies the request type
  • GET, PUT, COPY or BringOnline
  • Default=copy
-quiet
  • Suppress output in the console.
  • This option writes the output to the log file.
  • Default=false
-renewproxy
  • Enables automatic proxy renewal upon expiration
  • Works only when -usercert and -userkey are provided
  • Prompts for the pass phrase
  • Default=false
-serviceurl <endpoint>
  • Full web service endpoint
  • Required when source url or target url does not contain web service endpoint information
-sethttptimeout <int>
  • set client-side http connection timeout in the given seconds.
  • Default=600
-usercert <path>
  • Path to user grid certificate
-userkey <path>
  • Path to user grid certificate key

Notes

Input file format



  
    Source_URL
    Target_URL
  



  
    file:////tmp/my.source.data
    srm://bestman.lbl.gov:8443/srm/v2/server?SFN=/mydir/mypath/myfile
  



  
    gsiftp://gridftphost.lbl.gov//tmp/my.source.data
    srm://bestman.lbl.gov:8443/srm/v2/server?SFN=/mydir/mypath/myfile
  



  
    srm://bestman.lbl.gov:8443/srm/v2/server?SFN=/mydir/my.source.file
    srm://bestman2.lbl.gov:8443/srm/v2/server?SFN=/mydir/my.target.file
  



  
    srm://bestman.lbl.gov:8443/srm/v2/server?SFN=/mydir/my.source.file
  

Examples

Check status of a request

Troubleshooting

See also