Tape Library Virtualization - SNIA · 2020-02-27 · One Pool of Tape Storage Logical pool of tape...

28
Storage Developer Conference 2008 © 2008 SNIA. All Rights Reserved. www.storage-developer.org Tape Library Virtualization Based on IEEE Standard 1244 Wolfgang Mueller-Friedt, [email protected]

Transcript of Tape Library Virtualization - SNIA · 2020-02-27 · One Pool of Tape Storage Logical pool of tape...

Page 1: Tape Library Virtualization - SNIA · 2020-02-27 · One Pool of Tape Storage Logical pool of tape storage beyond physical library boundaries Applications only have to deal with one

Storage Developer Conference 2008 © 2008 SNIA. All Rights Reserved.

www.storage-developer.org

Tape Library Virtualization

Based on IEEE Standard 1244

Wolfgang Mueller-Friedt, [email protected]

Page 2: Tape Library Virtualization - SNIA · 2020-02-27 · One Pool of Tape Storage Logical pool of tape storage beyond physical library boundaries Applications only have to deal with one

Storage Developer Conference 2008 © 2008 SNIA. All Rights Reserved.

www.storage-developer.org

“Tape and media management is starting to become a problem in the distributed space, and customer requirements are extending beyond the simple tools available in the backup products today.”

Source: Gartner (2003)

Page 3: Tape Library Virtualization - SNIA · 2020-02-27 · One Pool of Tape Storage Logical pool of tape storage beyond physical library boundaries Applications only have to deal with one

Storage Developer Conference 2008 © 2008 SNIA. All Rights Reserved.

www.storage-developer.org

“Dynamic device sharing capabilities replace the practice of each backup server owning its own devices and support dynamic assignment of specific drives to applications as they are needed.”

Source: Gartner (2003)

Page 4: Tape Library Virtualization - SNIA · 2020-02-27 · One Pool of Tape Storage Logical pool of tape storage beyond physical library boundaries Applications only have to deal with one

Storage Developer Conference 2008 © 2008 SNIA. All Rights Reserved.

www.storage-developer.org

IEEE Standard 1244

Media Manager

Applications

Library Manager

DriveManager

Removable Media Hardware

MMP

DMPLMP

Data Model (IEEE 1244.1)• Defines a set of objects, their attributes and their relations• Extends standard relational model by allowing the addition of new attributes to objects

• Allows to integrate every kind of removable media (Tape, CD, DVD, MO, etc.)

MMP: Media Management Protocol (IEEE 1244.3)LMP: Library Management Protocol (IEEE 1244.4)DMP: Drive Management Protocol (IEEE 1244.5)• Asynchronous exchange of text messages over TCP/IP connection (like http, ftp, etc.)

• Commands address the specific needs of media-, library and drive management

• Powerful language

IEEE Standard 1244 for Media Management Systems

Page 5: Tape Library Virtualization - SNIA · 2020-02-27 · One Pool of Tape Storage Logical pool of tape storage beyond physical library boundaries Applications only have to deal with one

Storage Developer Conference 2008 © 2008 SNIA. All Rights Reserved.

www.storage-developer.org

IEEE 1244 Middleware

Control

Media, Library and Drive Management andVirtualization Middleware

Other ApplicationsArchive ApplicationsBackup Applications

Libraries with proprietary interfaces

SCSI/FC

Streaming Devices (Drives)

Media Changer Devices

Removable Media Hardware

Prop Interface

Libraries with SCSI MediaChanger interface

SCSI/FC SCSI/FCStreaming

Devices (Drives)Media Changer

Devices

Removable Media Hardware

Data

MM ServerSAN

IEEE 1244 Media Management Protocol

Page 6: Tape Library Virtualization - SNIA · 2020-02-27 · One Pool of Tape Storage Logical pool of tape storage beyond physical library boundaries Applications only have to deal with one

Storage Developer Conference 2008 © 2008 SNIA. All Rights Reserved.

www.storage-developer.org

MMS Architecture

IRMM

Media Manager

Admin Console

IBM TS3500 IBM 3494

SAN

HDM

LibraryManager

SUN/StorageTek ACSLS Libraries

Host Drive Manager (HDM)

ELM

TSM External Lib. Manager (ELM)

HDM

ELM

HDM

ELM

HDM

ELM

IEEE 1244 compliant: IBM Integrated Removable Media Manager (IRMM)

Page 7: Tape Library Virtualization - SNIA · 2020-02-27 · One Pool of Tape Storage Logical pool of tape storage beyond physical library boundaries Applications only have to deal with one

Storage Developer Conference 2008 © 2008 SNIA. All Rights Reserved.

www.storage-developer.org

MMS Architecture (cont.)

IRMM

Media Manager

Admin Console

IBM TS3500 IBM 3494

SAN LibraryManager

SUN/StorageTek ACSLS Libraries

Designed to:• Coordinate access to

drives and cartridges• Be a central repository• Log all activities

Designed to:• Report slots, drives,

and cartridges to the media manager

• Controls libraries onbehalf of the mediamanager

• Encapsulatelibrary hardware

• Command lineinterface

HDMHost Drive Manager (HDM)

ELM

TSM External Lib. Manager (ELM)

HDM

ELM

HDM

ELM

HDM

ELM

Designed to:• Reports local device

handles to media manager

• Check pathwhen cartridgesis loaded

• Reports statisticaldata to mediamanager whencartridge is unloaded

Page 8: Tape Library Virtualization - SNIA · 2020-02-27 · One Pool of Tape Storage Logical pool of tape storage beyond physical library boundaries Applications only have to deal with one

Storage Developer Conference 2008 © 2008 SNIA. All Rights Reserved.

www.storage-developer.org

MMS Control Flow

IRMM

Media Manager

Admin Console

IBM TS3500 IBM 3494

SAN LibraryManager

SUN/StorageTek ACSLS Libraries

(1.) Tivoli Storage Manager server wants to mount a scratch tape

(2.) Tivoli Storage Manager ELM sends request to Media Manager via TCP/IP

HDMHost Drive Manager (HDM)

ELM

TSM External Lib. Manager (ELM)

HDM

ELM

HDM

ELM

HDM

ELM

Page 9: Tape Library Virtualization - SNIA · 2020-02-27 · One Pool of Tape Storage Logical pool of tape storage beyond physical library boundaries Applications only have to deal with one

Storage Developer Conference 2008 © 2008 SNIA. All Rights Reserved.

www.storage-developer.org

MMS Control Flow (cont.)

IRMM

Media Manager

Admin Console

IBM TS3500 IBM 3494

SAN LibraryManager

SUN/StorageTek ACSLS Libraries

(3.) Media manager selects scratch cartridge and idle drive

(4.) Media manager forwards request via TCP/IP to the LM(6.) Drive manager checks

path to drive (5.) Library manager moves cartridge to drive

HDMHost Drive Manager (HDM)

ELM

TSM External Lib. Manager (ELM)

HDM

ELM

HDM

ELM

HDM

ELM

Page 10: Tape Library Virtualization - SNIA · 2020-02-27 · One Pool of Tape Storage Logical pool of tape storage beyond physical library boundaries Applications only have to deal with one

Storage Developer Conference 2008 © 2008 SNIA. All Rights Reserved.

www.storage-developer.org

MMS Control Flow (cont.)

IRMM

Media Manager

Admin Console

IBM TS3500 IBM 3494

SAN LibraryManager

SUN/StorageTek ACSLS Libraries

(8.) Response to Tivoli Storage Manager server via TCP and ELM

(7.) Media manager updates status

(9.) Direct access to drive

HDMHost Drive Manager (HDM)

ELM

TSM External Lib. Manager (ELM)

HDM

ELM

HDM

ELM

HDM

ELM

Page 11: Tape Library Virtualization - SNIA · 2020-02-27 · One Pool of Tape Storage Logical pool of tape storage beyond physical library boundaries Applications only have to deal with one

Storage Developer Conference 2008 © 2008 SNIA. All Rights Reserved.

www.storage-developer.org

Tape Virtualization Has Many Faces

http://www.infostor.com/display_article/253700/23/ARTCL/none/none/1/Tape-virtualization-has-many-faces/

Page 12: Tape Library Virtualization - SNIA · 2020-02-27 · One Pool of Tape Storage Logical pool of tape storage beyond physical library boundaries Applications only have to deal with one

Storage Developer Conference 2008 © 2008 SNIA. All Rights Reserved.

www.storage-developer.org

Tape Library Virtualization

Physical Tape Storage

Virtual Libraries

presented by MMS

Backup / Archive

Applications

Page 13: Tape Library Virtualization - SNIA · 2020-02-27 · One Pool of Tape Storage Logical pool of tape storage beyond physical library boundaries Applications only have to deal with one

Storage Developer Conference 2008 © 2008 SNIA. All Rights Reserved.

www.storage-developer.org

One Pool of Tape Storage

Logical pool of tape storage beyond physical library boundaries

Applications only have to deal with one library

Physical storage capacity can easily be added without changes to the application

Scratch mounts still possible as long as one physical library is online

MMS may provide workload balancing by distributing scratch mount requests

Preferably done with homogeneous physical tape drives / media

Page 14: Tape Library Virtualization - SNIA · 2020-02-27 · One Pool of Tape Storage Logical pool of tape storage beyond physical library boundaries Applications only have to deal with one

Storage Developer Conference 2008 © 2008 SNIA. All Rights Reserved.

www.storage-developer.org

Multiple Logical Libraries

Dynamically configurable logical libraries on top of one physical library

IRMM prevents unauthorized application access

Supports heterogeneous environments

Page 15: Tape Library Virtualization - SNIA · 2020-02-27 · One Pool of Tape Storage Logical pool of tape storage beyond physical library boundaries Applications only have to deal with one

Storage Developer Conference 2008 © 2008 SNIA. All Rights Reserved.

www.storage-developer.org

Dynamic grouping of drives and cartridges

DriveGroup 1 DriveGroup 2

CartridgeGroup 1

Cartridge Group 2

Library 1 Library 2

DriveGroups:• Used to aggregate drives• Drives can be added and removed

dynamically• Used to implement access permission

model and preferential usage policy• May span multiple libraries

CartridgesGroups:• Used to aggregate cartridges• Cartridges can be added and removed

dynamically• Used to implement access permission

model and preferential usage policy• May span multiple libraries

Page 16: Tape Library Virtualization - SNIA · 2020-02-27 · One Pool of Tape Storage Logical pool of tape storage beyond physical library boundaries Applications only have to deal with one

Storage Developer Conference 2008 © 2008 SNIA. All Rights Reserved.

www.storage-developer.org

Access Permission Model and Preferential Usage Policy using DriveGroups and CartridgeGroups

DriveGroup 1 DriveGroup 2

CartridgeGroup 1

CartridgeGroup 2

Library

App 1 App 2

Prio 100

Prio 10

10

100

100

100

100

100

Preferential Usage Policy:• DriveGroup-Application relations have

priority attribute• Drives have priority attribute too• Priority is used by IRMM to find drive

for a mount operation

Access Permission Model:• Applications are subject to access control• Two – level access permission model• Administrative applications may access every

Drive• Standard applications may only access Drives

within DriveGroups which have been assigned to them by an administrative application

Page 17: Tape Library Virtualization - SNIA · 2020-02-27 · One Pool of Tape Storage Logical pool of tape storage beyond physical library boundaries Applications only have to deal with one

Storage Developer Conference 2008 © 2008 SNIA. All Rights Reserved.

www.storage-developer.org

SMC vs. IEEE 1244

SCSI Media Changer (SMC) Interface:

In-bandGet slot/drive - element address mapMOVE MEDIUM FROM element address TO element address

IEEE 1244 Interface:Out-of-bandApplication awareness

Authorization, Ownership, Audit Trails

Cartridge state change awareness

Scratch PrivatePrivate Scratch

SQL – like queriesRich MM functionality

Page 18: Tape Library Virtualization - SNIA · 2020-02-27 · One Pool of Tape Storage Logical pool of tape storage beyond physical library boundaries Applications only have to deal with one

Storage Developer Conference 2008 © 2008 SNIA. All Rights Reserved.

www.storage-developer.org

Application Interface

1.define library libname libtype=external

2.define path servername libname srctype=server desttype=library externalmanager= /opt/IBM/ermm/client/tsm/elm

3.define devclass devclassname library=libname devtype=3592 mountretention=5 mountlimit=20

4.define stgpool stgpoolname devclassname maxscratch=500

How to define IRMM managed resources:

• That’s all! • You don’t have to define drives and drive paths!

Page 19: Tape Library Virtualization - SNIA · 2020-02-27 · One Pool of Tape Storage Logical pool of tape storage beyond physical library boundaries Applications only have to deal with one

Storage Developer Conference 2008 © 2008 SNIA. All Rights Reserved.

www.storage-developer.org

Volumes Allocated on Cartridges

Page 20: Tape Library Virtualization - SNIA · 2020-02-27 · One Pool of Tape Storage Logical pool of tape storage beyond physical library boundaries Applications only have to deal with one

Storage Developer Conference 2008 © 2008 SNIA. All Rights Reserved.

www.storage-developer.org

Dynamic Assignment of Cartridges to Groups

Page 21: Tape Library Virtualization - SNIA · 2020-02-27 · One Pool of Tape Storage Logical pool of tape storage beyond physical library boundaries Applications only have to deal with one

Storage Developer Conference 2008 © 2008 SNIA. All Rights Reserved.

www.storage-developer.org

CartridgeGroups are assigned to Applications

3494 Emulation on top of MMS

Common Scratch Pool

Private Pool for every Application

Page 22: Tape Library Virtualization - SNIA · 2020-02-27 · One Pool of Tape Storage Logical pool of tape storage beyond physical library boundaries Applications only have to deal with one

Storage Developer Conference 2008 © 2008 SNIA. All Rights Reserved.

www.storage-developer.org

DriveGroups are assigned to Applications

Page 23: Tape Library Virtualization - SNIA · 2020-02-27 · One Pool of Tape Storage Logical pool of tape storage beyond physical library boundaries Applications only have to deal with one

Storage Developer Conference 2008 © 2008 SNIA. All Rights Reserved.

www.storage-developer.org

Three Applications sharing Drives

Page 24: Tape Library Virtualization - SNIA · 2020-02-27 · One Pool of Tape Storage Logical pool of tape storage beyond physical library boundaries Applications only have to deal with one

Storage Developer Conference 2008 © 2008 SNIA. All Rights Reserved.

www.storage-developer.org

Host – Drive Access

Page 25: Tape Library Virtualization - SNIA · 2020-02-27 · One Pool of Tape Storage Logical pool of tape storage beyond physical library boundaries Applications only have to deal with one

Storage Developer Conference 2008 © 2008 SNIA. All Rights Reserved.

www.storage-developer.org

Mount History

Page 26: Tape Library Virtualization - SNIA · 2020-02-27 · One Pool of Tape Storage Logical pool of tape storage beyond physical library boundaries Applications only have to deal with one

Storage Developer Conference 2008 © 2008 SNIA. All Rights Reserved.

www.storage-developer.org

SMI-S and IEEE 1244

Storage Media Library (SML) Profile:

CIM-Mapping for IEEE 1244:

Page 27: Tape Library Virtualization - SNIA · 2020-02-27 · One Pool of Tape Storage Logical pool of tape storage beyond physical library boundaries Applications only have to deal with one

Storage Developer Conference 2008 © 2008 SNIA. All Rights Reserved.

www.storage-developer.org

IEEE 1244 gaining more traction?

http://www.opensolaris.org/os/project/mms/

Page 28: Tape Library Virtualization - SNIA · 2020-02-27 · One Pool of Tape Storage Logical pool of tape storage beyond physical library boundaries Applications only have to deal with one

Storage Developer Conference 2008 © 2008 SNIA. All Rights Reserved.

www.storage-developer.org

Links & References

IEEE Storage Systems Standards Working GroupIBM Integrated Removable Media ManagerMedia Management System for OpenSolarisSGI OpenVaultTroppens, Erkens, Mueller: Storage Networks Explained