The Development of SRM interface for SRB - PowerPoint PPT Presentation

1 / 26
About This Presentation
Title:

The Development of SRM interface for SRB

Description:

... interface for accessing diffident backend storages for diffident middleware. ... Provide space and file management on the storage system. ... – PowerPoint PPT presentation

Number of Views:63
Avg rating:3.0/5.0
Slides: 27
Provided by: Vladimir73
Category:

less

Transcript and Presenter's Notes

Title: The Development of SRM interface for SRB


1
The Development of SRM interface for SRB
  • Tsung-Hsien Lin
  • Academia Sinica Grid Computing
  • ethanlin_at_twgrid.org

2
Outline
  • What is SRM
  • SRM features
  • What is SRB
  • SRM-SRB Architecture
  • Flexible file/sapce types
  • Checking disk status
  • Progress status
  • Future Plan

3
What is SRM?
  • SRM is an unique interface for accessing
    diffident backend storages for diffident
    middleware.
  • Easy to develop applications to adapt different
    backend storages.
  • Provide space and file management on the storage
    system.
  • SRM is the web service interface and the
    implementation usually depends on the backend
    storage technology.

4
Why SRM(Storage resource management)?
  • Storage Elements (SE) can use different type of
    technologies
  • CASTOR, dCache, DPM, BeStMan,...,etc.
  • DRM (Disk Resource Manager)/TRM (Tape Resource
    Manager) /HRM (Hierarchical Resource Manager)
  • Grid middleware needs to access files with an
    uniform interface
  • Manage storage resources
  • Not a file transfer protocol

5
SRM features
  • Provides space management
  • Provides an uniform access interface
  • Manages DRM/Tape/HRM
  • Does not transfer files itself.
  • Manage the life time of file

6
What is SRB (Storage Resource Broker) ?
  • Developed by San Diego Supercomputer Center
  • A distributed file management system (Data Grid),
    based on a client-server architecture.
  • Allows users to access files seamlessly across a
    distributed environment, based upon their
    attributes rather than just their names or
    physical locations.
  • It replicates, syncs, archives, and connects
    heterogeneous resources in a logical and
    abstracted manner.

7
SRB Physical Structure
SRB Vault _at_ location B
SRB Vault _at_ location B
SRB Vault _at_ location D
8
SRM for SRB Our Implementation
9
Architecture Overview
Users/applications
File transfer (gridftp)
SRM API
Core
Web Service
Auxiliary Filecatalog
Data server management
Gridftp/management API
SRBDSI
10
Architecture Overview (cont.)
Put a file (SURL)
Web Service
Any available space?
SURL-gtPath
Auxiliary filecatalog (AMGA)
Core
Data server management
MES Server (GSI enabled)
Non MES (DSI)
Non MES (DSI)
Non MES
Non MES
Non MESDSI
SRB storage space
11
Architecture Overview (cont.)
Return TURL
Web Service
Yes, some space is ready
Transfer to TURL
Auxiliary Filecatalog (AMGA)
Core
Data server management
MES Server (GSI enabled)
Non MES (DSI)
Non MES (DSI)
Non MESDSI
SRB storage space
12
Architecture Overview (cont.)
Web Service
Auxiliary Filecatalog (AMGA)
Core
Upload a file(gridftp)
Data server management
MES Server (GSI enabled)
Non MES (DSI)
Non MES (DSI)
Storage space
Storage space
13
Architecture Overview (cont.)
put file done
Web Service
Set this file has been uploaded
SURL -gt Path
Auxiliary Filecatalog (AMGA)
Core
Data server management
MES Server (GSI enabled)
Non MES (DSI)
Non MES (DSI)
Storage space
Storage space
14
Architecture Overview (cont.)
The Status of PutDone
Web Service
Return the Status of PutDone
Auxiliary filecatalog (AMGA)
Core
Data server management
MES Server (GSI enabled)
Non MES (DSI)
Non MES (DSI)
Storage space
Storage space
15
Support  Flexible File/Space Types
  • SRM system has a caching mechanism and has to
    take care of SRM issues like file lifetime, space
    management,,etc.
  • Volatile space
  • Durable space
  • Permanent space
  • In our implementation
  • Use AMGA as auxiliary catalog and record all
    space usage, space type inside.

16
Checking Disk Status
  • How to get the disk usage of the space?
  • Need to know the free and used space on SRB
    server
  • SRB does not provide the mechanism to monitor
    resource usage
  • We need to know the usage
  • Space management
  • In our implementation
  • InfoServer
  • Deployed on non-Mcat enabled SRB server
  • SRBInfoServer
  • Deployed on Mcat-enabled SRB server

17
Checking Disk Status(Cont.)
Web Service
  • Auxiliary Filecatalog
  • (AMGA)

Core
Update all resource information
Data server management
Query SRBInfoServer
SRBInfoServer
Query InfoServer
Query InfoServer
MES Server (GSI enabled)
InfoServer
InfoServer
Non MES (DSI)
Non MES (DSI)
Storage space
Storage space
18
Checking Disk Status(Cont.)
Web Service
Update status of each resource
  • Auxiliary Filecatalog
  • (AMGA)

Core
Resource info
Data server management
Logical Resource info
SRBInfoServer
Resource info
Resource info
MES Server (GSI enabled)
InfoServer
InfoServer
Non MES (DSI)
Non MES (DSI)
Storage space
Storage space
19
Typical Use Case
20
Testbed deployment
  • Hostname t-ap20.grid.sinica.edu.tw
  • Info SRB server (SRB-DSI installed)
  • User Interface
  • Return some information
  • Gridftp/management commands
  • Hostnamet-ap51.grid.sinca.edu.tw
  • Info AMGA server
  • SURL
  • Host information
  • TURL
  • Hostname fct01.grid.sinica.edu.tw
  • The end point httpg//fct01.grid.sinica.edu.tw84
    43/axis/services/srm
  • Info SRM interface

21
Demo
  • Test the functions that we have implemented.
  • Access data in
  • SRB server
  • Use LFC (just a simulated LFC host) to get SURL
    and use this SURL to connect to SRM server, then
    get TURL back.

22
Demo(1)
  • Test the following functions
  • SrmPing
  • SrmGetTransferProtocols
  • SrmCheckPermission
  • SrmGetPermission
  • SrmMkdir
  • SrmRmdir
  • SrmPrepareToPut (need modifying) choose the
    largest volume however, does not take care of
    file type or space type.
  • SrmPutDone
  • SrmPrepareToGet
  • SrmReleaseFiles
  • SrmRm
  • SrmLs(partially)

23
Demo(2)
  • Put/get data in/from cache env through SRM
  • Put/get data in/from cache SRB env through SRM

24
Demo(3)
User needs to store data in SE (from a UI)
  • Create a new LFN entry in LFC, return a SURL.
  • srmPrepateToPut (SURL)
  • Transfer the file
  • srmPutDone (SURL)

25
Demo(3)
User needs to retrieve (onto the UI) data stored
into SE
  • Query the file catalog to retrieve the SURL from
    the LFN.
  • srmPrepateToGet (SURL)
  • Transfer the file (read)
  • srmReleaseFile (SURL)

26
Progress
  • What we have done
  • We have finished the parts about authorizing
    users, web service interface (just interface)
    and gridftp deployment, and SRB-DSI, and some
    functions like directory functions, permission
    functions,..,etc.
  • What we are doing
  • Now, we are focusing on the implementation of our
    core (data transfer functions and space
    management).

27
Future Plan
  • Short term
  • Implement interface compatible SRM version 2.2.
  • Mid-term
  • Interact and test with other data management
    systems such as Castor, dCache,,etc.
  • Long-term
  • Interoperate with gLite.
  • Hope glite users who join VO can access files and
    resources in SRB and vice versa.

28
Future Plan
29
Future Plan
SRM
SRB
30
References
  • SRM-SRB interface project wiki page
  • http//lists.grid.sinica.edu.tw/apwiki/SRM-SRB
  • SRM working group
  • http//sdm.lbl.gov/srm-wg/
  • SRB
  • http//www.sdsc.edu/srb/index.php/Main_Page
  • AMGA
  • http//amga.web.cern.ch/amga
  • Globus
  • http//www.globus.org
  • CoG
  • http//wiki.cogkit.org/index.php/Main_Page
  • Axis
  • http//ws.apache.org/axis/

31
Thanks for your attention
Write a Comment
User Comments (0)
About PowerShow.com