- managed storage - lcg storage element - hsm optimizer · dcache : managed disk storage system...

52
dCache dCache dCache is a joint effort between the Deutsches Elektronen Synchrotron (DESY) and the Fermi National Laboratory (FNAL) Patrick Fuhrmann, DESY for the dCache Team - Managed Storage - Managed Storage - LCG Storage Element - LCG Storage Element - HSM optimizer - HSM optimizer

Upload: others

Post on 18-Aug-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

dCachedCache

dCache is a joint effort between the Deutsches Elektronen Synchrotron (DESY)

and the Fermi National Laboratory (FNAL)

Patrick Fuhrmann, DESYfor the dCache Team

- Managed Storage- Managed Storage- LCG Storage Element - LCG Storage Element - HSM optimizer- HSM optimizer

Page 2: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

Support Model

DESYFnal

dCache Collaboration

Grid KAKarlruhe

LCG Deployment

CERNBrookhaven

LCG Tier I / II

CDF

US CMS

Page 3: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

dCache - LCG support model

LHC Tier I / II center

Web Pages Downloads Call Center Ticket System

LCG Deployment

Grid KA

dCache Deployment (DESY)

Web Pages Downloads Call CenterTicket System

DevelopersFERMI DESY

LCG dCache Evaluation Team

Support Tools

Support Tools

Developers

Page 4: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

dCache

the Specs

Page 5: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

Single 'rooted' file system name space tree

Supports multiple internal and external copies of a single file

Data is distributed among a huge amount of disk servers.

Basic Specification

Basic dCache System

File system names space view available through an nfs2/3 interface

dCache : Managed Disk Storage System

Supports 'posix like' (authenticated) access as well as various FTPdialects and the Storage Resource Manager Protocol.

Page 6: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

Automatic load balancing using cost metric and inter pool transfers.

Distributed Movers AND Access Points (Doors)

Scalability

Pool 2 Pool transfers on pool hot spot detection

Handles bunch requests by fast pool selection unit

Basic dCache System

Page 7: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

Automatic HSM migration and restore

Pool to pool transfers on configuration of forbidden transfers

Fine grained configuration of pool attraction scheme.(write pools, subnet, directory tree, storage info)

Convenient HSM connectivity for enstore, osm, tsm, preliminary for Hpss by BNL.

Configuration

Tertiary Storage Manager connectivity

Fine grained tuning : Space vs. Mover cost preference

Basic dCache System

HSM dCache interface by script (shell, perl ...)

Page 8: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

CRC checksum calculation and comparison (partially implemented yet)

Pluggable door / mover pairs (gssdCap,gsiFtp,http ...)(can be extended due to clear interface definition)

Data removed only if space is needed

Using standard 'ssh' protocol for administration interface.

First version of graphical interface available for administration

Administration

Miscellaneous

Large (optionaly) command set per module-> highly customizable.

Admin & more

Page 9: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

DESY dCap lib incorporates with CERN s GFAL library

SRM version ~ 1 (1.7) plus Space Reservation

limited GRIS functionality (script based)

gsiFtp support

LCG Storage Element

Page 10: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

Controls number of copies for each dCache dataset

Makes sure n < copies < m

Adjusts replica count on pool failures

Adjusts replica count on scheduled pool maintenance

no HSM backend (yet, but in preparation)

Resilient dCache

Will be introduced with next offical release @ dCache.Org

In production at various places

Embedded farm node dCache (makes use of local disk space)

Page 11: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

implements I/O and name space operations including 'readdir'

positive tested for Linux, Solaris, Irix ( partially for XP)

available as standard shared object and preload libraryls -l dcap://dcachedoor.desy.de/user/patrick

automatic reconnect on server door and pool failures

supports read ahead buffering and deferred write

supports ssl, kerberos and gsi security mechanisms

Thread safe

Interfaced by ROOT ®

works on mounted pnfs and URL like syntax

dCap Protocol and Implementation

Page 12: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

(gsi,kerberos) dCap Server

dCache Core

Cell Package

Resilent Manager

Ftp Server (gsi, kerberos)

Storage Resource Mgr

GFAL

Storage Element (LCG)

Wide Area dCache

Resilient Cache

Basie Cache System

Pnfs

dCap Client

HSM Adapter

Gris

dCache Functionality Layers

Page 13: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

InsightdCache

Insight dCache

Page 14: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

(gsi,kerberos) dCap Server

Resilent Manager

Ftp Server (gsi, kerberos)

Storage Resource Mgr

dCap Client

dCache Core

Cell Package

Pnfs HSM Adapter

Gris

HSM Flush Manager

Core Layer

Extended

central services

http / httpsAccessLayer

GridLayer

dCache Module Layers

HSM Flush Manager Prestager

Page 15: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

dCache Core ->

PoolManagerFinds best pool for each request.

CleanerForwards 'rm'requests from pnfs filesystem to pools.

Door (Launcher)Starts appropriate door for incoming connections.

Pool

Does space management and launches 'movers'.

PnfsManager

Interface between dCache and filesystem.

dCache Core Module

Page 16: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

Component Toolbox

Pnfs

PnfsManager Cleaner

dCap door

Pool ManagergsiFtp door

SRMPool

dCap moverftp mover

PooldCap mover

ftp mover

PooldCap mover

ftp mover

Page 17: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

Pnfs

PnfsManager Cleaner

Classical Setup

Pool Manager

dCap door

gsiFtp door

PooldCap moverftp mover

PooldCap moverftp mover

Pool Node

SRM

adminDoor

http Engine

Head Node

PooldCap moverftp mover

PooldCap moverftp mover

Pool NodePooldCap moverftp mover

PooldCap moverftp mover

Pool Node(s)

Page 18: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

dCap door

gsiFtp door

PooldCap moverftp moverPool

dCap moverftp mover

PnfsPnfsManager

Cleaner

Grid Setup

Pool Manager

dCap door

gsiFtp door

PooldCap moverftp moverPool

dCap moverftp mover

dCap door

gsiFtp door

PooldCap moverftp moverPool

dCap moverftp mover

dCap door

gsiFtp doorPooldCap moverftp moverPool

dCap moverftp mover

Door / Pool Unit

adminDoor

http Engine

Head Node

dCap door

gsiFtp door

SRM

SRM Node

Prestager

MISC Node

Resilient MGR

Page 19: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

Door Pnfs Pool HSMManager

PoolManager

Messages

DataTransfers

get metadata

prepare datasetget DS from HSM

copy DS to pool

prepare transfer

update cacheinfo

Page 20: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

dCacheThe HSM Interface

Page 21: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

precious

cached

cached

dCache HSMClient

Space needed

File requested

Dataset life cycle

Page 22: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

Deferred HSM flush

Precious data is separately collected per storage class

Each 'storage class queue' has individual parameters, steering theHSM flush operation.

- Maximum time, a file is allowed to be 'precious' per 'storage class'.

- Maximum number of precious bytes per 'storage class'

- Maximum number of precious files per 'storage class'

Maximum number of simultaneous 'HSM flush ' operations can be configured

Multiple HSMs instances and HSM classes are supported simultaneously

Page 23: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

Data FlowClient -> dCache

dCache -> HSM

Time

Data Transferred

Tape Mount

Deferred HSM flush (cont.)

Page 24: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

The Pool Selection MechanismStatic Configuration

Dynamic Behavior

Tuning ...

Page 25: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

Data I/O DirectionClient IP number

Subdirectory (tags)

Request

HSM (e.g. tape set)

Pool Space Costs

Pool Load Costs

dCache vital functionsPreferred Pool

Configuration DB

Decision Units

Permitted Pools

0

1

Pool Selection Mechanism

Page 26: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

Expensive (safe) write pools

Cheap commodity read pools

Write and reread ...

Page 27: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

Farm Subnet

Central Cache

DMZ Sub Cache External Subnet

Grid Access

Pool Selection for Grid ...

Page 28: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

Central Cache

Lab A

Lab B

Selection for phy. sep. labs.

Page 29: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

Pool Selection : Tuning (1)

For each request, the central cost module generates two cost values for each pool :

Space : Cost based on available space or LRU timestamp

CPU : Cost based on the number of different movers (in,out,...)

Space vs. Load

The final cost, which is used to determine the best pool, is a linear combination of Space and CPU cost.

The coefficients need to be configured.

Space coefficient << Cpu coefficientPro : Movers are nicely distributed among pools.

Con : Old files are removed rather than filling up empty pools.

Space coefficient >> Cpu coefficient

Pro : Empty pools are filled up before any old file is removed.

Con : 'Clumping' of movers on pools with very old files or much space.

Page 30: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

Pool Selection Tuning (2)

Pool to pool transfers etc. ...Cost Level

0

low Take file from pool with lowest cost, otherwise try to get rid of duplicates.

pool 2 pool Copy file to cheap pool first, before delivering it to client.

from tape Fetch file from Hsm to cheap pool, before delivering to it to client.

squeezeTake file from pool with lowest cost.

PanicPANIC

Not Recommended

Idle

Regular

Exited

Page 31: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

Topic : checksum

Supported Type : adler32

H S M

dCap calculated and sent to dCache

(x) FTP can be sent by 'quote''

Calculated againchecked and stored

Calculated again and checkedChecked on READ

Frequent CHECK on disk

Page 32: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

coming soon .....

coming soon ...

Page 33: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

Coming soon .....

High speed mover queues

Centralized HSM Flush( disk spec aware)

Scaling Web Monitors

nfs3

SRM : Space reservation SRM : Version 2 ...

Scalable StorageElement

Smart Restore (Staging)

Improved Documentation

dCache using VOMS for authorization (authentication)

Chimera (db based pnfs)improved cacheinfo service

Page 34: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

Scalable Storage Element

µ - Cache <= 10 TBytes<= 3 pool nodes

ZERO Service

no HSM

?

macro - Cache

> 150 TBytes

> 80 pool nodes

full HSM support

> 1000 pool nodes for resilient.

Page 35: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

Improved dCache name service

Stolen from Tigrans talk (chep interlaken)

Pnfs Name Service

dCache

Meta Data Database

NFS 2

NFS 3

Production

in Chimera

beta testing

Currently

Page 36: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

Improved (Pre)stager

Collects requests in time bins

Submits requests per 'tape'

Knows about HSM load

Improved HSM connectivity

Central HSM flush monitor

coordinates HSM mover streams

Knows about HSM capability

Known about disk capabilities

Page 37: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

Data movement

Page 38: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

dCache File Transfers

Namespace Provider(Pnfs)

Door

Pool Mover

Application

PoolManager

H S M

AuthenticationModule

Mover

Page 39: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

Resilient dCache

Namespace Provider(Pnfs)

Pool

PoolManager

ReplicaManager

PoolPool

Pool

PoolMoverMover

Page 40: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

dCacheEnd of official presentation

Page 41: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

Pool Selection Mechanism

Pool Selection required for

Client

Client

HSM

dCachedCache

dCache dCachedCache

Pool selection is done in 2 steps

I) Query configuration database :

which pools are allowed for requested operation

II) Query 'allowed pool' for their vital functions :

find pool with lowest cost for requested operation

Page 42: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

Pool Selection Mechanism

Data Direction

Client

Client

HSM

dCachedCache

dCache

Client IP number

Directory Tags

0

1

2

Pools sorted by Pref.

Mode A : fall-back only if all pools of pref. <x> are down.

Request

Mode B : fall-back if cost of pools of pref. <x> is too high.

Configuration DB

Storage Class

Page 43: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

Pool Selection Mechanism

Pool Group(s) Directory Tag Groups

Link

Client

Client

HSM

dCachedCache

dCache

Link preferences# <n># <m># <l>

Storage Class Group(s)

SubnetGroups

Page 44: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

Pool Selection Mechanism

Dedicated write pools (select by data direction)

Allow 'precious' files on secure disks only.

Support 'group owned' pool sets (select by storage class or tag)

Assign 'experiment data' to 'experiment owned pools'BUT have 'fallback' pools common to all experiments.

Support multiple HSMs (select by storage class)

Assign different pool set to different HSMs (e.g. HSM migration)

Support 'working group' quotas (select by storage class or tag)

Assign different number of pools to different working groups resp. 'data types' (raw,dst...)

Goals / Use cases

Special pools for farm subnets or external subnets

Read requests will trigger p2p to cheap disks. (e.g. datataking)

e.g. : Grid users vers. Internal users.

Page 45: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

Selection by subnet

Farm Subnet

Central CacheDMZ Sub Cache

External Subnet

Grid Access

Page 46: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

HSM decoupling

H S MI

H S MH S MII

Mss Subnet Public Network

Dual InterfaceOne high speed link per drive

Page 47: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

Dynamic pool selection

Frequent update of 'pools vital functions'

- available space

- least recently used 'timestamp'

- number of movers (in,out,store,stage,p2p)

Performing 'smart' guess between updates.

Method

Uniform (even) distribution of requests per pool for requests coming 'in bunches'.

Goal

Page 48: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

Pool Selection : Tuning (1)

For each request, the central cost module generates two cost values for each pool :

Space : Cost based on available space or LRU timestamp

CPU : Cost based on the number of different movers (in,out,...)

Space vs. Load

The final cost, which is used to determine the best pool, is a linear combination of Space and CPU cost.

The coefficients needs to be configured.

Space coefficient << Cpu coefficientPro : Movers are nicely distributed among pools.

Con : Old files are removed rather than filling up empty pools.

Space coefficient >> Cpu coefficient

Pro : Empty pools are filled up before any old file is removed.

Con : 'Clumping' of movers on pools with very old files or much space.

Page 49: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

dCacheEnd of official presentation

Page 50: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

(gsi,kerberos) dCap Server

dCache Core Pnfs

dCap Client

Cell Package

Resilent Manager

Ftp Server (gsi, kerberos)

Storage Resource Manager (SRM)SRM Client

Storage Element

Remotely accessible

Resilient Cache

Basie Cache System

BSD

3 rd party

???

dCache Component License Model

Postgres GdbmGPL? (library LGPL ?) (BSD) (GPL)

Sun Java VM (Sun Binary Code L)

COG (GTPL)

COG (GTPL)

Globus,Cog (GTPL)

Page 51: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

D2 D2 D2

D2 D2 D2

D2D2D2

DMZ

D2

Z Z Z

C C C C C

C C C C C

C C C C C

C C C C C

C Central Cache HH

Local HH

Local Zeuthen

D2 Pre Cache HHZ Cache Zeuthen

World

dCache @ DESY

Page 52: - Managed Storage - LCG Storage Element - HSM optimizer · dCache : Managed Disk Storage System Supports 'posix like' (authenticated) access as well as various FTP dialects and the

Patrick Fuhrmann

dCache.ORGdCache.ORG

dCache, Storage Element and HSM optimizer RAL, April 2005

LCG Storage Element : File access

Source : Michael Ernst 18/5/2004

Wide Area

Access

Physics Application

Grid File Access Library (GFAL)

ReplicaManager

Client ClientSRM Local

I/O I/OI/OrfiodCap rfio

rfioService Service

dCapService

SRMLRC

GridFTPService

MSSService

Local Disk

Posix like I/O

dCacheSE