SDM
People Publications Projects

SRM-SPACE: BeStMan SRM-Client Tools User's Guide

Usage

Options

-accesslatency <online¶nearline>
  • Specifies access latency
  • Default=online
-authid <string>
  • Authorization ID to be used in SRM for the request
-change <space_token>
  • Requests to change spaces to the specified space for SURLs
-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 client makes no delegation by default, and automatically handles proxy delegation based on the source URLs.
  • When -delegation is provided, it overrides the automatic handling and forces the user choice.
-extendlifetime <space_token>
  • requests to update the file lifetime for all files in the space specified by the space token
  • Use with -lifetime
-f <path>
  • Path to the xml input file containing the source url information for requests with more than one file
  • Refer to the format and examples below
-forcerelease
  • Requests to release files in a space
  • Default=false
-getspaceinfo <space_token>
  • Retrieves the space info
-getspacetoken
  • Retrieves space tokens that belong to the client
-gsize <int>
  • Specifies the desired guaranteed space size in bytes
-help
  • Show the help message
-lifetime <int>
  • Specifies desired space lifetime in seconds
-log <path>
  • Specifies path to log file
  • Default=./srmclient-event-date-random.log
-proxyfile <path>
  • Path to user grid proxy
-purge <space_token>
  • Requests to purge files from the space
-quiet
  • Suppress output in the console.
  • This option writes the output to the log file.
  • Default=false
-release <space_token>
  • Requests to release the space
-reserve
  • Requests to reserve a space and gets the space token when successful
-retentionpolicy <replica ¶ output ¶ custodial>
  • Specifies retention quality
  • Default=replica
-s <source_url>
  • Source URL
-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
-size <int>
  • Specifies the desired total space size in bytes
-statusmaxtime <int>
  • Max time before status checks get timed out, in seconds
  • Default=600
-statuswaittime <int>
  • Wait time delay between status check, in seconds
  • Default=30
-storageinfo <string>
  • extra storage access information
  • For BeStMan supporting MSS, a formatted input separated by comma is used with following keywords when necessary: for:<source ¶ target ¶ sourcetarget>,login:<string>,passwd:<string>,projectid:<string>,readpasswd:<string>,writepasswd<string>
-update <space_token>
  • Requests to update the space
-usercert <path>
  • Path to user grid certificate
-userdesc <string>
  • Specifies user request description
-userkey <path>
  • Path to user grid certificate key

Notes

Input file format



  
    Source_URL
  



  
    srm://bestman.lbl.gov:8443/srm/v2/server?SFN=/mydir/mypath/myfile
  

Examples

Reserve a space

Release a space

Update a space

Change space for a file

Purge a space

Retrieve space tokens

Retrieve space information

Troubleshooting

See Also