Você está na página 1de 29

IBM Software Group

Support Technical Exchange Understanding Tivoli Storage Manager Active Data Pools
Dave Daun IBM Advanced Technical Support djdaun@us.ibm.com

September 2007 | Advanced Technical Support

2007 IBM Corporation

IBM Software Group | Tivoli software

Agenda

Overview of Active Data Pools Defining Active Data Pools Removing Inactive Files from an Active Data Pool Restoring from Active Data Pools Restrictions and Potential Issues Implementation Ideas Demonstration of Active Data Pools

TSM Active Data Pools | September 2007 l

2007 IBM Corporation

IBM Software Group | Tivoli software

Active Data Pools

New feature in TSM 5.4


Long standing requirement from the TSM community New Storage Pool Type Only for Backup data Only for Sequential Access pools Implementation is similar to Copy Storage Pools Restore will come automatically from the Active Data Pool

Why use Active Data Pools


Faster restore of data


Useful for disaster recovery Minimizes tape mount activity during restore

TSM Active Data Pools | September 2007 l

2007 IBM Corporation

IBM Software Group | Tivoli software

TSM Pool Types

Primary

Random Disk

Sequential Tape

Sequential Disk (FILE)

Copy Pool

Sequential Disk Sequential Tape (FILE)

Active Data Pool

Sequential Tape

Sequential Disk (FILE)

TSM Active Data Pools | September 2007 l

2007 IBM Corporation

IBM Software Group | Tivoli software

Collocation of Active Data


New
Storage hierarchy contains active and inactive data Active-data pool on sequential-access disk for fast restore

Active/inactive data in copy pool for disaster recovery

Active backup versions are those that still reside on client machine (have not been
modified or deleted)

Active data pools are sequential-access--typically sequential-access disk.


also be on tape. pools.

Can

Active backup versions exist in both a primary pool and one or more active data

Active data pools are populated either synchronously with backup or


asynchronously (similar to copy pools)

Synchronous copy via a primary pool definition Asynchronous copy with new command: COPY ACTIVEDATA Asynchronous only for LAN-Free backups
TSM Active Data Pools | September 2007 l

2007 IBM Corporation

IBM Software Group | Tivoli software

Removing Inactive Versions from Active Data Pools

Inactive versions in a Active Data Pool are treated as expired files

Version is inactivated when a new backup version is received from the client

Reclamation removes inactive versions from Active Data Pools


Reclamation must be run regularly MOVE DATA or MOVE NODEDATA will also remove inactive versions from an Active Data Pool

RECONSTRUCT defaults to YES on MOVE DATA or MOVE NODEDATA in an Active Data Pool

TSM Active Data Pools | September 2007 l

2007 IBM Corporation

IBM Software Group | Tivoli software

Active Data Pools Disk vs. Tape

Benefits of Active Data Pools on sequential disk


Optimized access to active versions for fast restore Reduced size of disk pool if only active versions are stored

Reduced data movement in preparation for restore of active data

Benefits of Active Data Pools on sequential tape

Reduced storage requirement (onsite or offsite) while protecting data against media failure or disaster Simplified tape management because of fewer tapes

TSM Active Data Pools | September 2007 l

2007 IBM Corporation

IBM Software Group | Tivoli software

Defining an Active Storage Pool


Define the pool

DEFINE STGPOOL ACTIVE_POOL POOLTYPE=ACTIVEDATA

Add the active data pool to an existing primary pool definition (optional)

UPDATE STGPOOL PRIM_POOL ACTIVEDATAPOOLS=ACTIVE_POOL

Schedule a command to copy from the primary pool to the active pool

COPY ACTIVEDATA PRIM_POOL ACTIVE_POOL MAXPROC=4

Create a new policy domain to enable active data pools (or update an
existing domain)

DEFINE DOMAIN ACT_DOMAIN ACTIVEDESTINATION=ACTIVE_POOL

TSM Active Data Pools | September 2007 l

2007 IBM Corporation

IBM Software Group | Tivoli software

Controlling Which Nodes Use Active Data Pools


Policy Domain ACTIVEDESTINATION Active Pool Policy Set

Management Class

Primary Pool NODES


Copygroup

TSM Active Data Pools | September 2007 l

2007 IBM Corporation

IBM Software Group | Tivoli software

Controlling Which Nodes Use Active Data Pools


1. Use an existing domain:

Simply use the UPDATE DOMAIN command and specify the list of active-data pools in the ACTIVEDESTINATION parameter.

2. Restrict which nodes can write to an active-data pool:


Decide which nodes are critical and should use Active Data Pools Define a new domain and specify the list of active-data pools in the ACTIVEDESTINATION parameter. Update the node definitions to assign the nodes to the new domain Complete the policy structure

TSM Active Data Pools | September 2007 l

2007 IBM Corporation

10

IBM Software Group | Tivoli software

Getting Active Versions Into an Active Data Pool

Using simultaneous copy (not available for LAN-Free)


New parameter on DEFINE and UPDATE STGPOOL commandACTIVEDATAPOOLS Specifies the names of active-data pools where the server simultaneously writes data during a client backup operation. The combined total number of storage pools in the COPYSTGPOOLS and the ACTIVEDATAPOOLS cannot exceed three.

COPY ACTIVEDATA command


Use this command to copy active versions of backup data from a primary storage pool to an active-data pool.

Similar to BACKUP STGPOOL


Should be used in addition to simultaneous copy

TSM Active Data Pools | September 2007 l

2007 IBM Corporation

11

IBM Software Group | Tivoli software

Removing Inactive Files from an Active Data Pool


When files are deactivated, the logical occupancy of the volume it is
stored on is reduced by the size of the file. This causes reclamation to run sooner for the volume.

Reclamation (reconstruction) is used to remove inactive files from


the active data pool.

Reconstruction will build the new aggregate by copying just the


active files and not any deleted or inactive files.

The COPY ACTIVEDATA command and MOVE DATA/NODEDATA


commands will reconstruct aggregates as they are copied or moved within an active-data pool. Do not specify RECONSTRUCT=NO on the MOVE DATA/NODEDATA commands when dealing with activedata pools.

TSM Active Data Pools | September 2007 l

2007 IBM Corporation

12

IBM Software Group | Tivoli software

Collocation of Active Data An Example


1. Client backs up A0, B0, C0, D0 to primary pool with simultaneous write to active data pool.
A0 B0 C0 D0

2. Client backs up B1, E1 with simultaneous write to active data pool. B0 deactivated.
B1 E1

Client Active data pool Active/inactive primary pool

Server
A0 B0 C0 D0 A0 B0 C0 D0

Client Active data pool Active/inactive primary pool

Server
A0 B0 C0 D0 B1 E1 A0 B0 C0 D0 B1 E1

3. Reclamation removes inactive B0 from active data pool.

4. Client restores active files A0, C0, D0, B1, and E1 from active data pool.
A0 C0 D0 B1 E1

Client Active data pool Active/inactive primary pool

Server
A0 C0 B0 D0 C0 D0 B1 E1 B1 E1 A0 B0 C0 D0 B1 E1

Client Active data pool Active/inactive primary pool

Server
A0 C0 B0 D0 C0 D0 B1 E1 B1 E1 A0 B0 C0 D0 B1 E1

TSM Active Data Pools | September 2007 l

2007 IBM Corporation

13

IBM Software Group | Tivoli software

Client data restore when using Active Data Pools

When restoring client data, the server will select the active version of a file from an Active Data Poll when appropriate. The restore order has been modified to include Active Data Pools:

1. Active Data Pool (FILE) 2. DISK (random) 3. FILE (primary or copypool). 4. Active Data Pool sequential onsite. 5. Sequential onsite-volume (primary, copy or Active Data Pool), priority considers: mounted(idle) -> automated -> manual

TSM Active Data Pools | September 2007 l

2007 IBM Corporation

14

IBM Software Group | Tivoli software

Restoring Volumes or Storage Pools with Active Data Pools

Two new parameters on the RESTORE STGPOOL and RESTORE


VOLUME commands:

ACTIVEDATAONLY

Specifies that active versions of backup files are to be restored from active-data pools only. Specifies the name of the active data pool from which the active versions of backup files are to be restored. If this parameter is not specified, files are restored from any active data pool in which active versions of backup files can be located.

ACTIVEDATAPOOL

Note: Inactive files cannot be restored from active data pool and will
be deleted from the primary pool.

TSM Active Data Pools | September 2007 l

2007 IBM Corporation

15

IBM Software Group | Tivoli software

Active Data Pools - The Q OCC and Q CONTENT commands

Query Occupancy Command:

Number of Files

Reduced when non-aggregated files are deleted during deactivation Reduced by number of logical files only when aggregate is deleted

Physical Size reflects the actual size of the aggregates (as it does today) Logical Space Occupied

Reduced by size of logical file being deleted Reduced by size of logical file that is removed during reclamation (reconstruction)

Query Content Command:

Will show all logical files in an aggregate regardless if it has been removed

TSM Active Data Pools | September 2007 l

2007 IBM Corporation

16

IBM Software Group | Tivoli software

Active Data Pools Restrictions and Potential Issues


Can only be used for Backup data, not Archive data or HSM data

NDMP Backups do not go to Active Data Pools

Performing a point-in-time restore from active data pools is not allowed. Must plan for time needed to do active data copies

Concurrent copies will be slower


COPY ACTIVEDATA may be an additional process

COPY ACTIVEDATA runs slower than BACKUP STGPOOL


Difference is due to additional processing needed to verify the active/inactive state of logical files in aggregates and act accordingly. Must check ownership of files and see of Node is authorized to used Active Data Pools for each file

TSM Active Data Pools | September 2007 l

2007 IBM Corporation

17

IBM Software Group | Tivoli software

Active Data Pool Implementation Ideas


Use an Active Data Pool as a substitute for disk only pool

Reduces the size of the disk requirement Faster restores from disk (non-point-in-time restores)
Primary Pool Active Pool

Backups

Migration Tape Copy Pool (for offsite)

TSM Active Data Pools | September 2007 l

2007 IBM Corporation

18

IBM Software Group | Tivoli software

Active Data Pool Implementation Ideas


Use an Active Data Pool for on-site media recovery

Reduces the size of the tape requirement Faster restores from tape (non-point-in-time restores) No DRM support for Active Data Pools offsite would be difficult
Primary Pool Active Pool

Backups

Migration Tape Copy Pool (for offsite)

TSM Active Data Pools | September 2007 l

2007 IBM Corporation

19

IBM Software Group | Tivoli software

Active Data Pool Implementation Ideas


Use an Active Data Pool as a staging area for an anticipated restore

Reduces the size of the disk staging area Faster restores when enough time is available to perform the staging operation Use a special Policy Domain to enable a single node copy
Primary Pool Active Pool Copy when needed Migration Tape Copy Pool (for offsite)

Backups

TSM Active Data Pools | September 2007 l

2007 IBM Corporation

20

IBM Software Group | Tivoli software

Active Data Pool Implementation Ideas

Use an Active Data Pool as an electronic vaulting target


Reduces the amount of data which must be stored in the remote location Faster disaster restores Replaces the Copy Storage Pool

Backups

Primary Pool Extended SAN

Active Pool

Migration

TSM Active Data Pools | September 2007 l

2007 IBM Corporation

21

IBM Software Group | Tivoli software

Active Data Pool Demonstration

Server Layout
NODE DEVCLASS STGPOOL VOLUMES POOL101 POOL102

DISKPOOL1 Random Primary Pool


DISK ACTNODE1 (ACTDOM1) DISKPOOL2 Random Primary Pool

POOL201

ACTNODE2 (ACTDOM2)

ACTDEV

ACTPOOL Sequential Active Data Pool

VOL001 VOL002 .. VOL014

TSM Active Data Pools | September 2007 l

2007 IBM Corporation

22

IBM Software Group | Tivoli software

Active Data Pool Demonstration

Server Scripts
displays the status, utilization and percent reclaimable of the ACTPOOL volumes
FILEVOLS RECLAIM ACTLOG5

runs reclamation on the ACTPOOL with a threshold of 10% displays the last five minutes of Activity Log records marks POOL101 volume in DISKPOOL1 destroyed and

DISK1DESTROY

off-line

Windows Scripts
Touchfiles

updates the last access date of specified number of files

TSM Active Data Pools | September 2007 l

2007 IBM Corporation

23

IBM Software Group | Tivoli software

Active Data Pool Demonstration

Highlights
Backup

repeatedly and run reclamation to see the inactive files removed from the active pool
Backup Use

with concurrent copy to the active pool data from an active data pool a primary volume and restore from the active pool

the COPY ACTIVEDATA command to populate the active pool

Restore Destroy

TSM Active Data Pools | September 2007 l

2007 IBM Corporation

24

IBM Software Group | Tivoli software

Active Data Pools Q DOMAIN

TSM Active Data Pools | September 2007 l

2007 IBM Corporation

25

IBM Software Group | Tivoli software

Active Data Pools Q STGPOOL

TSM Active Data Pools | September 2007 l

2007 IBM Corporation

26

IBM Software Group | Tivoli software

Active Data Pools Q STGPOOL

TSM Active Data Pools | September 2007 l

2007 IBM Corporation

27

IBM Software Group | Tivoli software

Active Data Pools COPY ACTIVEDATA

TSM Active Data Pools | September 2007 l

2007 IBM Corporation

28

IBM Software Group | Tivoli software

Questions???

TSM Active Data Pools | September 2007 l

2007 IBM Corporation

29

Você também pode gostar