Transcription

Tivoli StorageManagement ConceptsIdeal introduction to all aspects ofTivoli Storage ManagementLearn how to protect your vitalapplications and dataEssential reading for allsystems administrators!Charlotte BrooksHans GrossArmando Lemos da Silva FilhoRaghavendra RaoAnna Seok Hoe Tanibm.com/redbooks

International Technical Support OrganizationTivoli Storage Management ConceptsAugust 2000SG24-4877-02

Take Note!Before using this information and the product it supports, be sure to read the general information in Appendix A,“Special notices” on page 291.Third Edition (August 2000)This edition applies to Version 3 Release 7 of Tivoli Storage Manager for AIX, Solaris, HP-UX and NT, program5697-TSM; Version 3 Release 1 of Tivoli Storage Manager for AS/400, program 5697-TSM; Version 3 Release 7 ofTivoli Storage Manager for MVS-OS/390, program 5697-TSO; and Version 3 Release 1 of Tivoli Storage Manager forVM, program 5697-TSO as well as complementary Tivoli Storage Management Solutions.Comments may be addressed to:IBM Corporation, International Technical Support OrganizationDept. 471F Building 80-E2650 Harry RoadSan Jose, California 95120-6099When you send information to IBM, you grant IBM a non-exclusive right to use or distribute the information in anyway it believes appropriate without incurring any obligation to you. Copyright International Business Machines Corporation 1999, 2000. All rights reservedNote to U.S Government Users - Documentation related to restricted rights - Use, duplication or disclosure is subject to restrictionsset forth in GSA ADP Schedule Contract with IBM Corp.

ContentsFigures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiTables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvPreface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviiThe team that wrote this redbook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xviiComments welcome . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xixPart 1. Storage management concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1Chapter 1. Introduction to Tivoli Storage Manager . . . . . . . . . . .1.1 The Tivoli Storage Management solution . . . . . . . . . . . . . . . . .1.2 Tivoli Storage Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.2.1 Tivoli Storage Manager architecture . . . . . . . . . . . . . . . . .1.2.2 Base concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.3 Tivoli Storage Manager complementary products . . . . . . . . . . .1.3.1 Tivoli Space Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.3.2 Tivoli Disaster Recovery Manager . . . . . . . . . . . . . . . . . . .1.3.3 Tivoli Decision Support for Storage Management Analysis1.4 Tivoli Data Protection for Applications . . . . . . . . . . . . . . . . . . . .1.5 Tivoli Data Protection for Workgroups . . . . . . . . . . . . . . . . . . . . .3. .3. .5. .6.13.18.18.19.20.21.23Part 2. Standard base function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25Chapter 2. Backup-Archive client . . . . . . . . . . . . . . . . . . . . . . . .2.1 What is a client? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.2 Client components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.2.1 Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.2.2 Configuration and options files . . . . . . . . . . . . . . . . . . . . .2.2.3 Establishing the session . . . . . . . . . . . . . . . . . . . . . . . . . .2.3 Tivoli Storage Manager multi-session and transaction concepts2.3.1 Multi-session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.3.2 Transaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.4 Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.4.1 Backup key concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.4.2 Incremental backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.4.3 Selective backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.4.4 Include-exclude lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.4.5 Active and inactive file versions. . . . . . . . . . . . . . . . . . . . .2.4.6 Retention . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.4.7 Backup binding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.4.8 Rebinding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.4.9 Backup special considerations . . . . . . . . . . . . . . . . . . . . .2.5 Archive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.5.1 Packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.5.2 Client space reduction. . . . . . . . . . . . . . . . . . . . . . . . . . . .2.5.3 Retention . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.6 Logical volume backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.7 Backup set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.7.1 Backup set planning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Copyright IBM Corp. 42.43.44.45.45.46.46.47.48.50.51iii

2.7.2 Server/client media support .2.8 Restore . . . . . . . . . . . . . . . . . . . .2.8.1 Restartable restore . . . . . . .2.8.2 Point-in-time restore . . . . . .2.8.3 Logical volume restore. . . . .2.8.4 Backup set restore . . . . . . . .2.8.5 Cross-platform restore . . . . .2.9 Retrieve . . . . . . . . . . . . . . . . . . . .2.9.1 Retrieve key concepts . . . . .2.9.2 Packages. . . . . . . . . . . . . . .2.10 Backup versus archive . . . . . . . .2.11 Other considerations . . . . . . . . .2.11.1 Scheduling . . . . . . . . . . . . .2.11.2 Compression . . . . . . . . . . .2.11.3 Client authentication . . . . .iv.515253535656565758585960606061Chapter 3. Data storage policy . . . . . . . .3.1 Data storage policy components . . . . .3.2 Copy groups . . . . . . . . . . . . . . . . . . . .3.2.1 Backup copy group . . . . . . . . . . .3.2.2 Backup mode and frequency . . . .3.2.3 Archive copy group . . . . . . . . . . .3.3 Management class and explicit binding3.4 Policy set . . . . . . . . . . . . . . . . . . . . . . .3.5 Policy domain . . . . . . . . . . . . . . . . . . .3.6 Policy management . . . . . . . . . . . . . . .63636465676768697071Chapter 4. Scheduling . . . . . . . .4.1 Administrative schedules . . . .4.1.1 Scheduling concepts . . .4.2 Client schedules . . . . . . . . . .4.2.1 Client polling . . . . . . . . .4.2.2 Server prompted . . . . . .4.2.3 One-time client schedule4.3 Frequency and duration . . . . .4.4 Retry and randomization . . . .4.5 Event log . . . . . . . . . . . . . . . .73737374767677787879Chapter 5. Data storage . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5.1 Storage pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5.1.1 Primary storage pools . . . . . . . . . . . . . . . . . . . . . . . . .5.1.2 Copy storage pools . . . . . . . . . . . . . . . . . . . . . . . . . . .5.2 Storage pool hierarchy . . . . . . . . . . . . . . . . . . . . . . . . . . . .5.3 Movement of data between storage pools . . . . . . . . . . . . . .5.3.1 Migration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5.3.2 Maxsize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5.4 Reclamation — use less tapes. . . . . . . . . . . . . . . . . . . . . . .5.4.1 Single drive reclamation. . . . . . . . . . . . . . . . . . . . . . . .5.4.2 Reclamation of offsite volumes . . . . . . . . . . . . . . . . . .5.5 Reduce restore times . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5.5.1 Collocation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5.5.2 Disk caching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5.6 Movement of data between Tivoli Storage Manager servers5.6.1 Export/Import . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .81818282838484858587888989919191Tivoli Storage Management Concepts.

5.7 Disk5.7.15.7.25.7.35.7.4storage protection .RAID . . . . . . . . . . .RAID 1 . . . . . . . . .RAID 1 0 . . . . . .RAID 5 . . . . . . . . .93.93.93.94.95Chapter 6. Tivoli Storage Manager licensing6.1 Licensed features . . . . . . . . . . . . . . . . . . . .6.2 License compliance . . . . . . . . . . . . . . . . . .6.3 Tivoli Storage Manager licenses . . . . . . . . . .99. .99. .99.100Chapter 7. Web administrative and client interfaces . . . . . . . . . . . . . . . .1037.1 Web backup-archive client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1037.2 Web administrator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .104Chapter 8. User management .8.1 Administrators . . . . . . . . . . .8.1.1 Authority levels . . . . . .8.1.2 Creation . . . . . . . . . . .8.1.3 Privilege classes . . . . .8.1.4 Operations . . . . . . . . .8.1.5 Security. . . . . . . . . . . .8.1.6 Auditing. . . . . . . . . . . .8.2 Client option sets . . . . . . . .107.107.107.107.108.110.111.112.112Part 3. Advanced functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115Chapter 9. Tivoli Disaster Recovery Manager . . . . . . . . . .9.1 What is disaster recovery? . . . . . . . . . . . . . . . . . . . . . . .9.1.1 Using Tivoli Disaster Recovery Manager . . . . . . . . .9.1.2 Disaster Recovery Manager volume tracking. . . . . .9.1.3 Focus on recovery. . . . . . . . . . . . . . . . . . . . . . . . . .9.1.4 Speed to recovery . . . . . . . . . . . . . . . . . . . . . . . . . .9.2 What should be considered a disaster?. . . . . . . . . . . . . .9.3 Recovery strategy for the Tivoli Storage Manager server9.3.1 Creation of up-to-date disaster recovery plan . . . . .9.3.2 Additional DR issues . . . . . . . . . . . . . . . . . . . . . . . .117.117.118.120.123.125.125.129.129.131Chapter 10. Tivoli Space Manager . . . . . . . .10.1 Introduction . . . . . . . . . . . . . . . . . . . . . . .10.2 HSM migration . . . . . . . . . . . . . . . . . . . .10.2.1 Automatic . . . . . . . . . . . . . . . . . . . .10.2.2 Selective . . . . . . . . . . . . . . . . . . . . .10.2.3 Pre-migration . . . . . . . . . . . . . . . . .10.3 Recall . . . . . . . . . . . . . . . . . . . . . . . . . . .10.3.1 Transparent. . . . . . . . . . . . . . . . . . .10.3.2 Selective . . . . . . . . . . . . . . . . . . . . .10.4 Advanced transparent recall . . . . . . . . . .10.4.1 Migrate-on-close . . . . . . . . . . . . . . .10.4.2 Read-without-recall . . . . . . . . . . . . .10.5 Reconciliation . . . . . . . . . . . . . . . . . . . . .10.5.1 Synchronization. . . . . . . . . . . . . . . .10.5.2 Building a new migration candidates10.6 Options . . . . . . . . . . . . . . . . . . . . . . . . . 36.136.137.137.list.v

10.7 Backup/restore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13710.8 Archive/retrieve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138Chapter 11. Enterprise administration . . . . . . . . . . . . . . . . . . . . . . . . . . . 13911.1 Enterprise management features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13911.2 Enterprise administration features . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141Chapter 12. Virtual Volumes . . . . . . . . . . . . . . . . . . . . . . . . .12.1 Setting up source and target servers for virtual volumes .12.2 Performing operations at the source server . . . . . . . . . . .12.2.1 Back up the database . . . . . . . . . . . . . . . . . . . . . . .12.2.2 Back up a storage pool . . . . . . . . . . . . . . . . . . . . . .12.2.3 Store client data on a target server . . . . . . . . . . . . .12.2.4 Migrate source server storage pool to target server .12.2.5 Export server information to a target server . . . . . . .12.2.6 Import server information from a target server . . . . .12.3 Reconciling virtual volumes and archive files . . . . . . . . . .145146148148149149149149150150Chapter 13. Introducing the Tivoli Storage Manager API client .13.1 Who uses the Tivoli Storage Manager API client? . . . . . . . . . .13.2 Understanding configuration files and options files . . . . . . . . .13.3 Setting up the API environment . . . . . . . . . . . . . . . . . . . . . . . .13.4 Using passwordaccess generate without TCA . . . . . . . . . . . . .153153154155156Part 4. Application and database support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157viChapter 14. AFS and DFS overview . . . . . . . . . . . . . . . . . . . .14.1 Andrew File System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14.2 Distributed File System . . . . . . . . . . . . . . . . . . . . . . . . . . .14.3 Tivoli Storage Manager backup support for AFS and DFS .14.3.1 Key features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14.3.2 The BUTC and BUTA backup programs . . . . . . . . . . .14.4 Benefits of using the AFS/DFS BUTA programs . . . . . . . .159159160160161161162Chapter 15. Tivoli Storage Manager and databases . . . . .15.1 Relational databases . . . . . . . . . . . . . . . . . . . . . . . . . . .15.1.1 Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15.1.2 Table spaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15.1.3 Log files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15.1.4 Control files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15.1.5 Initialization parameter and configuration files . . . .15.2 Backup techniques . . . . . . . . . . . . . . . . . . . . . . . . . . . .15.2.1 Disk mirroring . . . . . . . . . . . . . . . . . . . . . . . . . . . .15.2.2 Database export . . . . . . . . . . . . . . . . . . . . . . . . . .15.2.3 Offline backup . . . . . . . . . . . . . . . . . . . . . . . . . . . .15.2.4 Online backup . . . . . . . . . . . . . . . . . . . . . . . . . . . .15.2.5 Full database backup . . . . . . . . . . . . . . . . . . . . . . .15.2.6 Partial database backup . . . . . . . . . . . . . . . . . . . .15.2.7 Log file backup . . . . . . . . . . . . . . . . . . . . . . . . . . .15.2.8 Restore techniques . . . . . . . . . . . . . . . . . . . . . . . .15.3 Which backup and recovery technique should you use?15.4 Exploiting Tivoli Storage Manager . . . . . . . . . . . . . . . . 69170Tivoli Storage Management Concepts.

Chapter 16. Tivoli Storage Manager and DB2 . . .16.1 DB2 V1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16.1.1 Online backup . . . . . . . . . . . . . . . . . . . . .16.1.2 Offline backup . . . . . . . . . . . . . . . . . . . . .16.2 DB2 V2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16.2.1 Partitioning . . . . . . . . . . . . . . . . . . . . . . .16.2.2 Parallel backup and recovery . . . . . . . . .16.2.3 Multiplexing . . . . . . . . . . . . . . . . . . . . . . .16.3 DB2 UDB . . . . . . . . . . . . . . . . . . . . . . . . . . . .16.3.1 DB2 UDB enhanced parallelism . . . . . . .16.3.2 DB2 UDB enhanced recovery and restart16.4 DB2PE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16.5 Integration with Tivoli Storage Manager . . . . 76Chapter 17. Tivoli Storage Manager and Oracle .17.1 Tivoli Storage Manager and Oracle . . . . . . . . .17.2 Backup using Tivoli Data Protection for Oracle17.3 Oracle alter table space utility . . . . . . . . . . . . .177.177.177.178Chapter 18. Tivoli Storage Manager and Informix .18.1 INFORMIX-OnLine provided backup utilities . . .18.2 The tbtape utility . . . . . . . . . . . . . . . . . . . . . . . .18.3 The ontape utility . . . . . . . . . . . . . . . . . . . . . . .18.4 ON-Archive . . . . . . . . . . . . . . . . . . . . . . . . . . . .18.5 ON-Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18.5.1 Components . . . . . . . . . . . . . . . . . . . . . . .181.181.182.183.183.183.184Chapter 19. Tivoli Storage Manager and Sybase . . . . . . .