1 / 18

What is SRM? Alex Sim

What is SRM? Alex Sim Scientific Data management Research Group Computational Research Division Lawrence Berkeley National Laboratory. What is SRM?. Storage Resource Managers (SRMs) Middleware components in Grid Provide file and space management on shared storage resources

bcooksey
Télécharger la présentation

What is SRM? Alex Sim

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. What is SRM? Alex Sim Scientific Data management Research GroupComputational Research DivisionLawrence Berkeley National Laboratory

  2. What is SRM? • Storage Resource Managers (SRMs) • Middleware components in Grid • Provide file and space management on shared storage resources • Provide dynamic space allocation/reservation • Different implementations for underlying storage systems • Based on the SRM specification

  3. What does that mean? • SRMs in the data grid • Get/put files from/into storage spaces • Archived files on mass storage systems • Based on standard interface • File transfers from/to remote sites, file replication • Negotiate transfer protocols • Manages shared storage space allocation & reservation • important for data intensive applications • File and space management with lifetime • Supports non-blocking (asynchronous) requests • Supports directory management • Interoperate with other SRMs

  4. In summary, Uniform SRM interface client Storage Resource Manager Storage Resource Manager MSS Disk Cache Disk Cache Disk Cache Disk Cache Disk Cache Disk Cache ... Client’s site Client (command line) Client Program Storage Resource Manager network Storage Resource Manager ... ... ... Disk Cache Site 1 Site 2 Site N

  5. How many SRMs out there? • Berkeley Storage Manager (BeStMan) – LBNL • CASTOR – CERN, RAL • dCache – FNAL, DESY, NDGF • Disk Pool Manager (DPM) – CERN • Storage Resource Manager (StoRM) - INFN/CNAF, ICTP/EGRID • SRM on SRB - SINICA – TWGRID/EGEE • OSG supports – BeStMan, dCache • Clients • LBNL SRM clients, FNAL SRM clients, LCG-utils, FTS, Phedex, … • S2, SRM-Tester • SRMs at Work • Europe/Asia/Canada/South America/Australia/Afraca : LCG/EGEE • 250+ deployments, managing more than 10PB (as of 11/11/2008) • US • Estimated at about 70 deployments (as of 5/30/2009) • OSG, ESG, …

  6. Interoperability in SRM dCache dCache CASTOR Fermilab Disk BeStMan DPM Clients StoRM SRM/iRODS SC2008 Demo: Interoperability of 6 SRM implementations at 12 Participating Sites

  7. Summary and Current Status • Storage Resource Management – essential for Grid • OGF Standard • Multiple implementations interoperate • Permits special purpose implementations for unique products • Permits interchanging one SRM product by another • Multiple SRM implementations exist • In production use

  8. Documents and Support • SRM Collaboration and SRM Specifications • http://sdm.lbl.gov/srm-wg • BeStMan (Berkeley Storage Manager) : http://sdm.lbl.gov/bestman • CASTOR (CERN Advanced STORage manager) : http://www.cern.ch/castor • dCache : http://www.dcache.org • DPM (Disk Pool Manager) : https://twiki.cern.ch/twiki/bin/view/LCG/DpmInformation • StoRM (Storage Resource Manager) : http://storm.forge.cnaf.infn.it • SRM-SRB : http://lists.grid.sinica.edu.tw/apwiki/SRM-SRB • Other info • osg-storage@opensciencegrid.org • srm@lbl.gov

  9. Extra

  10. SRM v2.2 Interface • Data transfer functions to get files into SRM spaces from the client's local system or from other remote storage systems, and to retrieve them • srmPrepareToGet, srmPrepareToPut, srmBringOnline, srmCopy • Space management functions to reserve, release, and manage spaces, their types and lifetimes. • srmReserveSpace, srmReleaseSpace, srmUpdateSpace, srmGetSpaceTokens • Lifetime management functions to manage lifetimes of space and files. • srmReleaseFiles, srmPutDone, srmExtendFileLifeTime • Directory management functions to create/remove directories, rename files, remove files and retrieve file information. • srmMkdir, srmRmdir, srmMv, srmRm, srmLs • Request management functions to query status of requests and manage requests • srmStatusOf{Get,Put,Copy,BringOnline}Request, srmGetRequestSummary, srmGetRequestTokens, srmAbortRequest, srmAbortFiles, srmSuspendRequest, srmResumeRequest • Other functions include Discovery and Permission functions • srmPing, srmGetTransferProtocols, srmCheckPermission, srmSetPermission, etc.

  11. Berkeley Storage Manager (BeStMan)LBNL • Java implementation • Designed to work with unix-based disk systems • As well as MSS to stage/archive from/to its own disk (currently HPSS) • Adaptable to other file systems and storages (e.g. NCAR MSS, Hadoop, Lustre, Xrootd) • Uses in-memory database (BerkeleyDB) • Multiple transfer protocols • Space reservation • Directory management (no ACLs) • Can copy files from/to remote SRMs • Can copy entire directory robustly • Large scale data movement of thousands of files • Recovers from transient failures (e.g. MSS maintenance, network down) • Local Policy • Fair request processing • File replacement in disk • Garbage collection

  12. Castor-SRMCERN and Rutherford Appleton Laboratory • CASTOR is the HSM in production at CERN • 21 PB on tape, 5 PB on disk, 100M+ files • Support for any TapeN-DiskM storage class • Designed to meet Large Hadron Collider Computing requirements • Maximize throughput from clients to tape (e.g. LHC experiments data taking) • Also deployed at ASGC, CNAF, RAL • C++ Implementation • Reuse of CASTOR software infrastructure • Derived SRM specific classes • Configurable number of thread pools for both front- and back-ends • ORACLE centric • Front and back ends can be distributed on multiple hosts Slide courtesy: Jan van Eldik Giuseppe Lo Presti Shaun De Witt

  13. dCache-SRMFNAL, DESY, NDGF • Strict name space and data storage separation • Automatic file replication on based on access patterns • HSM Connectivity (Enstore, OSM, TSM, HPSS, DMF) • Automated HSM migration and restore • Scales to Peta-byte range on 1000’s of disks • Supported protocols: • (gsi/krb)FTP, (gsi/krb)dCap, xRoot, NFS 2/3 • Separate IO queues per protocol • Resilient dataset management • Command line and graphical admin interface • Variety of Authorization mechanisms including VOMS • Deployed in a large number of institutions worldwide • SRM 1.1 and SRM 2.2 • Dynamic Space Management • Request queuing and scheduling • Load balancing • Robust replication using SrmCopy functionality via SRM, (gsi)FTP and http protocols Slide courtesy: Timur Perelmutov

  14. Disk Pool Manager (DPM)CERN • Objective • Provide a reliable, secure and robust storage system • Requirements • Store a few hundreds of TB • Easy to install and to manage • Scalable storage system • Interoperable with other SEs • Production • 187 DPM installed • 224 supported VOs • Biggest DPM : 200 TB • Expanding to 400 TB Slide courtesy: Maarten Litmaath Flavia Donno Akos Frohner David Smith Jean-Philippe Baud

  15. DPM: technical aspects • Manages storage on disks only • Security • GSI for authentication • VOMS for authorization • Standard POSIX permissions + ACLs based on user’s DN and VOMS roles • Virtual ids • Accounts created on the fly • Full SRMv2.2 implementation • Standard disk pool manager capabilities • Garbage collector • Replication of hot files • Transfer protocols • GridFTP (v1 and v2) • Secure RFIO • https • xroot • Works on Linux 32/64 bits, MacOSX and OpenSolaris 10 • Supported database backends • MySQL, Postgres, Oracle • Support for IPv6 • High availability • All services except DPM daemon can be load balanced • Resilient: all states are kept in the DB at all times

  16. DPM: user’s point of view • DPM Name Server • Namespace, Authorization, file location • Disk Servers • Physical files • Direct data transfer from/to disk server (no bottleneck) • Supports rfio, gridftp, xrootd and http(s) • Supports SRM • SRM-1.1, 2.2 (since April, 2007) • Support DICOM backend for Biomed VOs • Encryption of DICOM files on the fly + local decryption • Use of GFAL and Hydra to get and decrypt the file

  17. Storage Resource Manager (StoRM)INFN/CNAF - ICTP/EGRID • It's designed to leverage the advantages ofhigh performing parallel file systems in Grid. • Different file systems supported through a driver mechanism: • generic POSIX FS • GPFS • Lustre • XFS • It provides the capability to perform local and secure access to storage resources (file:// access protocol + ACLs on data). StoRM architecture: • Frontends: C/C++ based, expose the SRM interface • Backends: Java based, execute SRM requests. • DB: based on MySQL DBMS, stores requests data and StoRM metadata. • Each component can be replicated and instantiated on a dedicated machine. Slide courtesy: Luca Magnoni

  18. SRM on SRBSINICA – TWGRID/EGEE Hostname: t-ap20.grid.sinica.edu.tw Info: SRB server (SRB-DSI installed) User User Interface File transfer (gridftp) • SRM as a permanent archival storage system • Finished the parts about authorizing users, web service interface and gridftp deployment, and SRB-DSI, and some functions like directory functions, permission functions, etc. • Currently focusing on the implementation of core (data transfer functions and space management) • Use LFC (with a simulated LFC host) to get SURL and use this SURL to connect to SRM server, then get TURL back File transfer (gridftp) SRM API Core Web Service Gridftpmanagement commands File catalog Return some information Data server management SURL Gridftp/management API Gridftp/management API Cache repository TURL Cache server (+gridftp server) SRB+DSI SRB/gridftp Hostname: fct01.grid.sinica.edu.tw The end point: httpg://fct01.grid.sinica.edu.tw:8443/axis/services/srm Info: Cache server (gridftp server) and SRM interface Slide courtesy: Fu-Ming Tsai Wei-Lung Ueng

More Related