OperationsMeaning
srmPing This function is used to check the state of the SRM. It works as an are you alive type of call.
srmPrepareToPut This function is used to write files into the storage. Upon the clients request, SRM prepares a TURL so that client can write data into the TURL. Lifetime (pinning expiration time) is assigned on the TURL. When a specified target space token is provided, the files will be located finally in the targeted space associated with the target space token. It is an asynchronous operation, and request token must be returned if the request is valid and accepted to the SRM. The status may be checked through srmStatusOfPutRequest with the returned request token.
srmStatusOfPutRequest This function is used to check the status of the previously requested srmPrepareToPut. Request token from srmPrepareToPut must be provided.
srmPutDone This function is used to notify the SRM that the client completed a file transfer to the TransferURL in the allocated space. This call should normally follow srmPrepareToPut.
srmPrepareToGet This function is used to bring files online upon the clients request and assign TURL so that client can access the file. Lifetime (pinning expiration time) is assigned on the TURL. When specified target space token which must be referred to an online space, the files will be prepared using the space associated with the space token. It is an asynchronous operation, and request token must be returned if request is valid and accepted. The status must be checked through srmStatusOfGetRequest with the returned request token.
srmStatusOfGetRequest This function is used to check the status of the previously requested srmPrepareToGet. Request token from srmPrepareToGet must be provided.
srmReleaseFiles This function is used to release pins on the previously requested copies (or state) of the SURL. This function normally follows srmPrepareToGet or srmBringOnline functions.
srmBringOnline This function is used to bring files online upon the clients request so that client can make certain data readily available for future access. In hierarchical storage systems, it is expected to stage files to the top hierarchy and make sure that the files stay online for a certain period of time. When client specifies target space token which must be referred to an online space, the files will be brought online using the space associated with the space token. It is an asynchronous operation, and request token must be returned if asynchronous operation is necessary in SRM. The status may be checked through srmStatusOfBringOnlineRequest with the returned request token. This function is similar to srmPrepareToGet, but it does not return Transfer URL (TURL).
srmStatusOfBringOnlineRequest This function is used to check the status of the previous request to srmBringOnline, when asynchronous operation is necessary in the SRM. Request token must have been provided in response to the srmBringOnline.
srmLs This function returns a list of files with a basic information. This operation may be asynchronous, and in such case, requestToken must be returned.
srmMv This function is to move a file or a directory to destination.
srmRm This function removes SURLs (the name space entries) in the storage system. Difference from srmPurgeFromSpace is that srmPurgeFromSpace removes only previously requested copies (or state) of the SURL in a particular space, and srmPurgeFromSpace shall not remove SURLs or the name space entries.
srmMkdir This function creates a directory in a local SRM space.
srmRmdir This function removes an empty directory in a local SRM space.
srmReserveSpace This function is used to reserve a space in advance for the upcoming requests to get some guarantee on the file management. Asynchronous space reservation may be necessary for some SRMs to serve many concurrent requests.
srmStatusOfReserveSpaceRequest This function is used to check the status of the previous request to srmReserveSpace, when asynchronous space reservation was necessary with the SRM. Request token must have been provided in response to the srmReserveSpace.
srmGetSpaceMetaData This function is used to get information of a space. Space token must be provided, and space tokens are returned upon a completion of a space reservation through srmReserveSpace or srmStatusOfReserveSpaceRequest.
srmGetSpaceTokens This function returns space tokens for currently allocated spaces.
srmReleaseSpace This function releases an occupied space.
srmGetTransferProtocols This function is to discover what transfer protocols are supported by the SRM.
srmCopy-gsiftp This function is used to copy files from a remote gsiftp storage sites into the targetted SRM storage sites.
srmCopy-pull-SRMSITE This function is used to copy files from source SRM storage sites into the targetted SRM storage sites by PULL mode. The srmCopy request goes to the SRMSITE as SRMSITE is the targetted storage site, and the SRMSITE "pulls" a file from the source SRM to its target.
srmCopy-push-SRMSITE This function is used to copy files from source SRM storage sites into the targetted SRM storage sites by PUSH mode. The srmCopy request goes to the source SRM, and the source SRM "pushs" a file from the source SRM to its target SRMSITE.
GridFTP This shows if GridFTP file transfer was successful or not.
GridFTP-Get This shows if GridFTP file transfer for reading from the gsiftp site was successful or not.
GridFTP-Put This shows if GridFTP file transfer for writing to the gsiftp site was successful or not.