1 / 15

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

SRM v3.0 Functional Specifications The Details Scientific Data Management Group Computational Research Division Lawrence Berkeley National Laboratory. Organization. Introduction Notes and Terminology Common type definitions Core functions Advanced Feature Set Remote Access functions

chavez
Télécharger la présentation

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

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

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

More Related