• No results found

Data Deduplication and Tivoli Storage Manager

N/A
N/A
Protected

Academic year: 2021

Share "Data Deduplication and Tivoli Storage Manager"

Copied!
30
0
0

Loading.... (view fulltext now)

Full text

(1)

Data Deduplication and

Tivoli Storage Manager

D

C

Dave Cannon

(2)

Disclaimer

Disclaimer

ƒ

This presentation describes potential future enhancements to the IBM Tivoli

Storage Manager family of products

Storage Manager family of products

ƒ

All statements regarding IBM's future direction and intent are subject to

change or withdrawal without notice and represent goals and objectives

change or withdrawal without notice, and represent goals and objectives

only

ƒ

Information in this presentation does not constitute a commitment to deliver

p

the described enhancements or to do so in a particular timeframe

ƒ

IBM reserves the right to change product plans, features, and delivery

h d l

di

t b i

d

d

i

t

schedules according to business needs and requirements

ƒ

This presentation uses the following designations regarding availability of

potential product enhancements

potential product enhancements

Planned 5.5: Planned for delivery in TSM v5.5 (2007)

Next Release Candidate: Candidate for delivery in the next release after v5.5

Future Candidate: Candidate for delivery in future release

(3)

Topics

Topics

¾

Deduplication technology

(4)

Data Reduction Methods

Data Reduction Methods

ƒEncoding of data to reduce size

Compression

ƒEncoding of data to reduce size

ƒTypically localized, such as to a single file, directory tree or storage volume

ƒA form of compression, usually applied to a large collection of files

Single instance store (SIS)

p , y pp g

in a shared data store

ƒOnly one instance of a file is retained in the data store

ƒDuplicate instances of the file reference the stored instance

ƒAlso known as redundant file elimination

ƒAlso known as redundant file elimination

D t d d li ti

ƒA form of compression, usually applied to a large collection of files in a shared data store

ƒIn contrast to SIS, deduplication often refers to elimination of

Data deduplication redundant subfiles (also known as chunks, blocks, or extents), p

ƒOnly one instance is stored for each common chunk

ƒDuplicate instances of the chunk reference the stored instance

This terminology is not used consistently throughout the industry.

(5)

Deduplication Concept

Deduplication Concept

A

C

J

A

G

B

C

J

H

U i bfil

D

L

C

E

H

B

D

I

B J

Unique subfiles Duplicate subfiles

I

B

E

J

K

C

F

L

G

A

E

H

C

K

F

Data source

K

E

Data source Data source

Target data store

(backup server)

source 1 source 3 source 2

(6)

How Deduplication Works

How Deduplication Works

Data Store

Data Store

Data Store

C

A

B

C

B

A

Data Store

C

A

B

C

B

A

C

A

b

c

B

a

A

A

B

B

A

A

B

B

a

b

B

a

1. Data chunks are

evaluated to determine a

unique signature for each

2. Signature values are

compared to identify all

duplicates

3. Duplicate data chunks

are replaced with pointers

(7)

Data Deduplication Value Proposition

Data Deduplication Value Proposition

Potential advantages

ƒ

Reduced storage capacity required for a given amount of data

ƒ

Ability to store significantly more data on given amount of disk

ƒ

Restore from disk rather than tape may improve ability to meet recovery time objective

Restore from disk rather than tape may improve ability to meet recovery time objective

(RTO)

ƒ

Network bandwidth savings (some implementations)

L

t

t

t

lti

f

d

d t

i

t

ƒ

Lower storage-management cost resulting from reduced storage resource requirements

Potential tradeoffs/limitations

ƒ

Significant CPU and I/O resources required for deduplication processing

ƒ

Deduplication might not be compatible with encryption

ƒ

Increased sensitivity to media failure because many files could be affected by loss of

common chunk

(8)

Deduplication Design Considerations

Deduplication Design Considerations

ƒ

Source-side vs. target-side

ƒ

In-band vs. out-of-band

ƒ

Method used for data chunking

ƒ

How redundant chunks are identified

ƒ

Avoiding false matches

ƒ

Avoiding false matches

(9)

Where Deduplication is Performed

Where Deduplication is Performed

Approach Advantages Disadvantages

ƒDeduplication before ƒDeduplication consumes CPU l th fil /

Source-side (client-side)

Deduplication performed at the data source (e.g., by a

Deduplication before transmission conserves network bandwidth

ƒAwareness of data usage and format may allow more

CPU cycles on the file/ application server

ƒRequires software

deployment at source (and backup client), before transfer

to target location

and format may allow more effective data reduction

ƒProcessing at the source may facilitate scale-out

possibly target) endpoints

ƒDepending on design, may be subject to security attack via spoofing

Target-side (server-side)

Deduplication performed at

ƒNo deployment of client software at endpoints

ƒPossible use of direct

ƒDeduplication consumes CPU cycles on the target server or storage device the target (e.g., by backup

software or storage appliance)

ƒPossible use of direct comparison to confirm duplicates

ƒData may be discarded after being transmitted to the target

(10)

When Deduplication is Performed

When Deduplication is Performed

Approach Advantages Disadvantages

ƒMay be bottleneck for data

In-band

Deduplication performed

ƒImmediate data reduction, minimizing disk storage

i t

ƒMay be bottleneck for data ingestion (e.g., longer backup times)

ƒOnly one deduplication f h I/O t during data processing on the

source or target

requirement

ƒNo post-processing

process for each I/O stream

ƒNo deduplication of legacy data on the target server

Out-of-band

Deduplication performed after

ƒNo impact to data ingestion

ƒPotential for deduplication of legacy data

ƒData must be processed twice (during ingestion and subsequent deduplication) Deduplication performed after

data ingestion at the target

legacy data

ƒPossibility for parallel data deduplication processing

ƒStorage needed to retain data until deduplication occurs

(11)

Generalized Deduplication Processing

Generalized Deduplication Processing

1

. Chunk the objectj 2. Identify duplicate 3. Eliminate redundant

ƒDivide object into logical segments called chunks

chunks

ƒHash each chunk to produce unique identifier

chunks

ƒUpdate index to reference matching chunks

ƒCompare each chunk identifier with index to determine whether chunk is already stored

chunks

ƒDeallocate space for redundant chunks 5 91 5 91 Ch k Ch k 91 17 25 91 17 25

Object Chunks Chunk

identifiers Index

Chunk

(12)

Data Chunking Methods

Data Chunking Methods

Whole file chunking

ƒ Each file is treated as a single chunk

Lowest overhead (CPU, I/O, indexing)

ƒ No detection of duplicate data at subfile level

Fixed-size chunking

ƒ Chunk boundaries occur at fixed intervals irrespective of data content

ƒ Chunk boundaries occur at fixed intervals, irrespective of data content

ƒ Method is unable to detect duplicate data if there is an offset difference

– Because redundant data has shifted due to insertion/deletion

– Because redundant data is embedded within another file or contained in a composite t t

structure

Variable-size chunking

ƒ Rolling hash algorithm is used to determine chunk boundaries to achieve an expected average chunk size

expected average chunk size

ƒ Can detect redundant data, irrespective of offset differences

ƒ Often referred to as fingerprinting (e.g., Rabin fingerprinting)

Format-aware chunking

ƒ In setting chunk boundaries, algorithm considers data format/structure

ƒ Examples: awareness of backup stream formatting; awareness of

Greatest data

reduction PowerPoint slide boundaries; awareness of file boundaries within a g

composite

(13)

Identification of Redundant Chunks

Identification of Redundant Chunks

ƒ

Unique identifier is determined for each chunk

ƒ

Identifiers are typically calculated using a hash function that outputs a

digest based on the data in each chunk

MD5 (message digest algorithm)

MD5 (message-digest algorithm)

SHA (secure hash algorithm)

ƒ

For each chunk, the identifier is compared against an index of identifiers to

,

p

g

determine whether that chunk is already in the data store

ƒ

Selection of hash function involves tradeoffs between

Processing time to compute hash values

Index space required to store hash values

(14)

False Matches

False Matches

ƒ

Possibility exists that two different data chunks could hash to the same

id tifi

(

h

t i

ll d

lli i )

identifier (such an event is called a collision)

ƒ

Should a collision occur, the chunks could be falsely matched and data loss

could result

ƒ

Collision probability can be calculated from the possible number of unique

identifiers and the number of chunks in the data store

Longer digest Î More unique identifiers Î Lower probability of collisions

Longer digest Î More unique identifiers Î Lower probability of collisions

More chunks Î Higher probability of collisions

ƒ

Approaches to avoiding data loss due to collisions

Use a hash function that produces a long digest to increase the possible number

of unique identifiers

Combine values from multiple hash functions

Combine hash value with other information about the chunk

(15)

Hash Functions

as

u c o s

Hash functions take a message of arbitrary length as input and output a fixed length digest of L bits. They are published algorithms, normally standardized as RFC. Name Output size

L (bits) Performance (cycles/byte) Intel Xeon: C / assembly* Collision chance 50% (or greater) when these many chunks (or

Chance of one collision in a 40 PB archive*** (using 4KB / chunk) Year of the standard C / assembly more) are generated ** MD5 128 9.4 / 3.7 264≈1020 0.5*10-20 1992 SHA-1 160 25 / 8.3 280≈1024 0.5*10-28 1995 SHA-256 256 39 / 20.6 2128≈1040 0.5*10-60 2002 SHA-512 512 135 / 40 2 2256≈1080 0 5*10-140 2002

* “Performance analysis and parallel implementation of dedicated hash functions”, Proc. of EUROCRYPT 2002, pp 165-180, 2002.

SHA-512 512 135 / 40.2 2 ≈10 0.5 10 2002

Whirlpool 512 112 / 36.5 2256≈1080 0.5*10-140 2003

Performance analysis and parallel implementation of dedicated hash functions , Proc. of EUROCRYPT 2002, pp 165 180, 2002. ** The probability of one collision out of k chunks is p≈1-e -(k^2)/2*N , where N=2L; when p=0.5, we get k≈ N1/2 = 2L/2(from birthday

paradox).

*** The probability of one hard-drive bit-error is about 10-14.

Probability of collision is extremely low and can be reduced at the expense of performance by using hash

(16)

Elimination of Redundant Chunks

Elimination of Redundant Chunks

ƒ

For each redundant chunk, the index is updated to reference the matching

chunk

ƒ

Metadata is stored for the object indicating how to reconstruct the object

Metadata is stored for the object indicating how to reconstruct the object

from chunks, some of which may be shared with other objects

A

i d b th

d d t h k

b d ll

t d

d

(17)

Deduplication Ratios

Deduplication Ratios

ƒ

Used to indicate compression achieved by deduplication

ƒ

If deduplication reduces 500 TB of data to 100 TB, ratio is 5:1

ƒ

Deduplication vendors claim ratios in the range 20:1 to 400:1

ƒ

Ratios reflect design tradeoffs involving performance and compression

ƒ

Actual compression ratios will be highly dependent on other variables

Data from each source: redundancy, change rate, retention

Number of data sources and redundancy of data among those sources

Backup methodology: incremental forever full+incremental full+differential

Backup methodology: incremental forever, full+incremental, full+differential

(18)

Deduplication and Encryption

Deduplication and Encryption

Data

Data encryption prior to

source 1

Important text Important text No

encryption

Data encryption prior to

deduplication processing can

subvert data reduction

Data source 2 Data Encryption key 1 Data txpt tnatroemI Data 3

Important text y deduplication

Important text store te tarpIxtntom source 3 Important text Encryption key 2 txpt tnatroemI te tarpIxtntom 2. After encryption, text files do not

match 1. Three data

sources have the same text file

3. Deduplication processing does not

detect redundancy

(19)

Topics

Topics

ƒ

Deduplication technology

(20)

Data Reduction with TSM Today

Data Reduction with TSM Today

Client compression

ƒData compressed by client before transmission

ƒConserves network bandwidth and server

storage Device compressionƒCompression performed by storage hardware by storage hardware

ƒConserves server storage

Client Incremental foreverƒAfter initial backup, file is Server

not backed up again unless it changes

Storage Hierarchy

Subfile backup

ƒOnly changed portions of files are transmitted

ƒConserves network bandwidth and server

unless it changes

ƒConserves network bandwidth and server storage

Appliance deduplication

bandwidth and server

storage ƒby storage appliance (VTL Deduplication performed or NAS)

(21)

Native Data Deduplication in TSM

Native Data Deduplication in TSM

ƒ

TSM’s incremental forever methodology greatly reduces data redundancy as

d

di i

l

h d l i

b

d

i di f ll b k

compared to traditional methodologies based on periodic full backups

ƒ

Consequently, there is less potential for data reduction via deduplication in TSM as

d t

th

b k

d t

compared to other backup products

ƒ

Nevertheless, deduplication is an important function to TSM because it will allow

d t

bj t t b

t

d

i

t f di k f

f t

more data objects to be stored on a given amount of disk for fast access

(22)

TSM Deduplication Overview

TSM Deduplication Overview

Client 1

A Deduplicated disk storage l t A pool stores unique chunks to reduce disk utilization Node File A

Deduplication

Server

B Client 1 A Client 2 B Client 3 C A B

Client 2

Client 3 C TSM Database A B

Tape copy pool stores A, B, and C individually to C C C C individually to avoid performance degradation

Files A, B and C have

common data

Client 3

common data

Allows more objects to be stored on disk for fast access Allows more objects to be stored on disk for fast access

(23)

Design Points for Initial TSM Deduplication Solution

Design Points for Initial TSM Deduplication Solution

Design point Comments

Server-side ƒƒAvoids need for deployment of client softwareEffective for all types of stored data Out of band

ƒAllows deduplication of legacy data in addition to new data

ƒMinimizes impact to backup windows Out-of-band ƒMinimizes impact to backup windows

ƒConcurrent processing to identify duplicate data Index maintained in TSM server

database (DB2) Transactional integrity, scalability, fast queries, disaster protection Variable-size chunking ƒRabin fingerprinting with awareness of TSM data format

SHA-generated identifiers for ƒProbably SHA-1 or SHA-256

ƒLonger identifiers of SHA-256 would reduce collision probability at detection of duplicate chunks ƒLonger identifiers of SHA-256 would reduce collision probability, at

the expense of increased processing and database space usage Average chunk size to be

ƒLarger chunks require less database overhead

ƒLarger chunks reduce the total number of chunks required for given determined amount of data and therefore reduce collision probability

ƒSmaller chunks improve compression Space occupied by redundant

chunks will be recovered during ƒAllows coordinated recovery of space occupied by deleted objects d d d t h k chunks will be recovered during

(24)

Expected Deduplication Behavior

Expected Deduplication Behavior

ƒ

Disk storage requirement reduced via optional data deduplication for FILE storage pools

ƒ

Deduplication processing performed on TSM server and tracked in database

ƒ

Reduced redundancy for

Reduced redundancy for

– Identical objects from same or different client nodes (even if names are different)

– Common data chunks (subfiles, extents) in objects from same or different nodes

ƒ

Post-ingestion (out-of-band) detection of duplicate data on TSM server to minimize

impact to backup windows

ƒ

Space occupied by duplicate data will be removed during reclamation processing

Space occupied by duplicate data will be removed during reclamation processing

ƒ

Allowed for all data types: backup, archive, HSM, TDP, API applications

(25)

Expected Deduplication Behavior

Expected Deduplication Behavior

ƒ

Deployment of new clients or API applications not required

ƒ

Legacy data stored in or moved to enabled FILE storage pools can be deduplicated

D t

i

t d

i d t t

ill b

d li t d t

id

i

ti

d

ƒ

Data migrated or copied to tape will be reduplicated to avoid excessive mounting and

positioning during subsequent access

ƒ

Ability to control number duration and scheduling of CPU intensive background

ƒ

Ability to control number, duration and scheduling of CPU-intensive background

processes for identification of duplicate data

ƒ

Reporting of space savings in deduplicated storage pools

p

g

p

g

p

g p

ƒ

Deduplication will not be effective for client-encrypted data, but should work with

storage-device encryption

(26)

Deduplication Example

Deduplication Example

1. Client1 backs up files A, B, C and D. Files A and C have different names, but the same data.

2. Client2 backs up files E, F and G. File E has data in common with files B and G.

G

Client1

A C

Server Client2 Server

F

B D E G

Vol1 A B C D Vol1 A B C D

Vol2 E F G

3. Server process “chunks” the data and identifies duplicate chunks C1, E2 and G1.

4. Reclamation processing recovers space occupied by duplicate chunks.

(27)

Comparison of TSM Data Reduction Methods

Comparison of TSM Data Reduction Methods

Client compression

Incremental

forever Subfile backup Deduplication compression forever

How data reduction is achieved

Client compresses data

Client only sends changed files

Client only sends changed subfiles

Server eliminates redundant data

chunks

Conserves storage pool

space? Yes Yes Yes Yes

Conserves network Yes Yes Yes No

bandwidth? Yes Yes Yes No

Data supported Backup, archive, HSM, API Backup (Windows only)Backup Backup, archive, HSM, API

Scope of data reduction

Redundant data within same file on

client node

Files that do not change between

backups

Subfiles that do not change between

backups

Redundant data from any files in

storage pool

Avoids storing identical Avoids storing identical files renamed, copied, or relocated on client node?

No No No Yes

Removes redundant data

for files from different No No No Yes

(28)

Considerations for Use of TSM Deduplication

Considerations for Use of TSM Deduplication

ƒ

Consider deduplication if

Data recovery would improve by storing more data objects on limited amount of

disk

Data will remain on disk for extended period of time

Much redundancy in data stored by TSM (e.g., for common operating-system or

project files)

TSM server CPU and disk I/O resources are available for intensive processing to

id tif d li t

h k

identify duplicate chunks

ƒ

Deduplication might not be indicated for

Deduplication might not be indicated for

Mission-critical data, whose recovery could be delayed by accessing chunks that

are not stored contiguously

(29)

Potential Follow-on Enhancements

Potential Follow on Enhancements

ƒ

The initial TSM deduplication solution is designed to allow extensibility

ƒ

Depending on business priorities, possible future extensions to this solution

could include

Option to perform inline deduplication during data ingestion (to achieve immediate

Option to perform inline deduplication during data ingestion (to achieve immediate

compression)

Client-side deduplication (to distribute processing and conserve network

bandwidth)

bandwidth)

Option to control which hash function is used (tradeoff between performance and

probability of false match)

f

Deduplication support for random-access disk or tape storage pools

Policies to control deduplication based on node, filespace, file size, or other criteria

(30)

Summary

Summary

ƒ

Data deduplication can reduce storage requirements, allowing more data to

be retained on disk for fast access

ƒ

Deduplication involves tradeoffs relating to degree of compression

Deduplication involves tradeoffs relating to degree of compression,

performance, risk of data loss and compatibility with encryption

TSM’ i

t l f

th d

id

i di f ll b k

d i

ƒ

TSM’s incremental forever method avoids periodic full backups, reducing

the potential for additional data reduction via deduplication

References

Related documents

The additional PV yield for a PVT collector compared to a not cooled PV-system has been determined in measurement and simulation for a heat pump system with borehole heat exchanger.

Mitchell and Tina J., both age forty-three, filed for bankruptcy after turning to their credit cards to supplement their income after a job loss. Describing their

There were four research objectives: (a) the nature of change in generativity among college student leaders who serve as a Leadership Mentor for three years, (b) the

Direct Feedback Global Evaluation 360 Degree Evaluation Daily Monthly Monthly Critically evaluate practice models using the skills acquired. during the practice

Using Social Network Analysis tools we discuss the results according to (i) the structural, technological and geographical dimensions of knowledge flows, (ii) the influence of

Percentage of live, dead, and total canopy fuel consumed during red-phase fires, by tree mortal - ity level for (A) low, (B) moderate, and (C) high wind speeds... tality gray

Aim 2: Estimate the association between frequency of visits to alcohol outlets and four sexual risk outcomes (unprotected vaginal sex acts, number of sex partners,..

ESG Lab tested the Instant VM Recovery capability of the ExaGrid and Veeam solution, using both an ExaGrid appliance and plain disk as backup targets.. Tests included duration