Download
slide1 n.
Skip this Video
Loading SlideShow in 5 Seconds..
SRM v3.0 Functional Specifications The Details Scientific Data Management Group PowerPoint Presentation
Download Presentation
SRM v3.0 Functional Specifications The Details Scientific Data Management Group

SRM v3.0 Functional Specifications The Details Scientific Data Management Group

144 Views Download Presentation
Download Presentation

SRM v3.0 Functional Specifications The Details Scientific Data Management Group

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. SRM v3.0 Functional Specifications The Details Scientific Data Management Group Computational Research Division Lawrence Berkeley National Laboratory

  2. Organization • Introduction • Notes and Terminology • Common type definitions • Core functions • Advanced Feature Set • Remote Access functions • Space Management functions • Directory Management Functions • Authorization Functions • Request Administration Functions

  3. How it looks • Each function has the following • Short description of what it does • Input and output parameters • Behavior as core function • Behavior with advanced features • Each item has a label, and when issues come up, those labels will be used. • For example,2.1. srmAbortRequestdescriptioninputs/outputs in a table2.1.1 core behaviora) behavior_1b) behavior_2Behavior with advanced featurs2.1.2. Remote Access Featurea) behavior_1

  4. Core functions • srmAbortRequest • srmAbortRequestedFiles • srmChangeFileStorageType • srmChangeFileStorageTypeStatus • srmExtendFileLifetime • srmGetFeatures • srmGetRequestSummary • srmGetRequestTokens • srmGetSRMStorageInfo • srmGetTransferProtocols • srmLs • srmLsStatus • srmPrepareToGet • srmPrepareToPut • srmPutFileDone • srmPutRequestDone • srmReleaseFiles • srmRm • srmRmStatus • srmStatusOfGetRequest • srmStatusOfPutRequest

  5. Core - srmGetFeatures • Discovery function for clients to find out which features an SRM supports • ReturnFeatureSet { EnumSpaceType spaceType, EnumSRMFeatures supportedFeature[]}[] • Will be changed to EnumSRMFeatures supportedFeature[] as we decided in the meeting • SRMFeatures := SRM_CORE SRM_REMOTE_ACCESS SRM_SPACE_MANAGEMENT SRM_DIRECTORY_MANAGEMENT SRM_AUTHORIZATION SRM_ADMINISTRATION SRM_ACCOUNTING

  6. srmGetSRMStorageInfo • To retrieve SRM storage info, such as storage capacity, user quota, etc. • Input • EnumStorageAttributes desiredAttributes[] • Output • SupportedAttributes { EnumStorageAttributes storageAttr, String value, String valueType} [] • EnumStorageAttributes :=   SRM_STORAGE_TYPE SRM_STORAGE_CAPACITY SRM_STORAGE_ACCESS_TYPE SRM_USER_STORAGE_MAX SRM_USER_STORAGE_MIN SRM_USER_STORAGE_DEFAULT_LIFETIME SRM_DEFAULT_FILE_LIFETIME SRM_DEFAULT_FILE_STORAGE_TYPE SRM_REQUEST_INFO_AVAILABILITY SRM_DEFAULT_RETURN_COUNT

  7. srmLs • srmLs on a file returns the file meta data • Permissions reflect unix style • One group associated with the file • Two additional output options will be added • Is the file available on disk for immediate access? • Lifetime on the file • Regular express with minimum wild card support in SURL

  8. Remote Access Functions • srmRemoteCopy • srmStatusOfRemoteCopyRequest

  9. Space Management Functions • srmCleanupFilesFromSpace • srmCompactSpace • srmGetSpaceMetaData • srmGetSpaceTokens • srmReleaseSpace • srmReserveSpace • srmUpdateSpace

  10. srmReserveSpace • ExpectedFileSize[] as a hint for space allocation

  11. Directory Management Functions • srmCp • srmCpStatus • srmMkdir • srmMkdirStatus • srmMv • srmMvStatus • srmRmdir

  12. srmCp, srmMkdir, srmMv • Local operation only • requestToken for output is optional • In case result is fast enough to be returned at once synchronously.

  13. Authorization Functions • srmCheckPermission • srmReassignToUser • srmReassignToUserStatus • srmSetPermission

  14. Request Administration Functions • srmResumeRequest • srmSuspendRequest

  15. Summary • Functions are close to v2.1.1 • A few enhancements and additions • E.g. srmGetFeatures • A few restrictions • E.g. srmRemoteCopy to copies from/to remote sites only and srmCp to local • Easy transition for existing V2.1.1 implementations • Smaller number of functions to implement for SRM-Core providers