ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

648
IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One Instructor’s Training Guide S150-2386-00 June 2007

Upload: banking-at-ho-chi-minh-city

Post on 20-Aug-2015

863 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part OneInstructor’s Training GuideS150-2386-00

June 2007

Page 2: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

Copyright Notice

Copyright © 2007 IBM Corporation, including this documentation and all software. All rights reserved. May only be used pursuant to a Tivoli Systems Software License Agreement, an IBM Soft-ware License Agreement, or Addendum for Tivoli Products to IBM Customer or License Agreement. No part of this publication may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any computer language, in any form or by any means, electronic, mechanical, magnetic, optical, chemical, manual, or otherwise, without prior written permission of IBM Corpora-tion. IBM Corporation grants you limited permission to make hardcopy or other reproductions of any machine-readable documentation for your own use, provided that each such reproduction shall carry the IBM Corporation copyright notice. No other rights under copyright are granted without prior writ-ten permission of IBM Corporation. The document is not intended for production and is furnished “as is” without warranty of any kind. All warranties on this document are hereby disclaimed, including the warranties of merchantability and fitness for a particular purpose.

Note to U.S. Government Users—Documentation related to restricted rights—Use, duplication or disclosure is subject to restrictions set forth in GSA ADP Schedule Contract with IBM Corporation.

Trademarks

The following are trademarks of IBM Corporation or Tivoli Systems Inc.: IBM, Tivoli, AIX, Cross-Site, NetView, OS/2, Planet Tivoli, RS/6000, Tivoli Certified, Tivoli Enterprise, Tivoli Ready, TME. In Den-mark, Tivoli is a trademark licensed from Kjøbenhavns Sommer - Tivoli A/S.

Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both.

UNIX is a registered trademark of The Open Group in the United States and other countries.

C-bus is a trademark of Corollary, Inc. in the United States, other countries, or both.

Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.

Lotus is a registered trademark of Lotus Development Corporation.

PC Direct is a trademark of Ziff Communications Company in the United States, other countries, or both and is used by IBM Corporation under license.

ActionMedia, LANDesk, MMX, Pentium, and ProShare are trademarks of Intel Corporation in the United States, other countries, or both.

SET and the SET Logo are trademarks owned by SET Secure Electronic Transaction LLC. For fur-ther information, see http://www.setco.org/aboutmark.html.

Other company, product, and service names may be trademarks or service marks of others.

Notices

References in this publication to Tivoli Systems or IBM products, programs, or services do not imply that they will be available in all countries in which Tivoli Systems or IBM operates. Any reference to these products, programs, or services is not intended to imply that only Tivoli Systems or IBM prod-ucts, programs, or services can be used. Subject to valid intellectual property or other legally pro-tectable right of Tivoli Systems or IBM, any functionally equivalent product, program, or service can be used instead of the referenced product, program, or service. The evaluation and verification of operation in conjunction with other products, except those expressly designated by Tivoli Systems or IBM, are the responsibility of the user. Tivoli Systems or IBM may have patents or pending patent applications covering subject matter in this document. The furnishing of this document does not give you any license to these patents. You can send license inquiries, in writing, to the IBM Director of Licensing, IBM Corporation, North Castle Drive, Armonk, New York 10504-1785, U.S.A.

Page 3: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

• • • ••

1

Course Revision History

Introduction

The Tivoli Worldwide Education Course Development team, IBM Tivoli Support and Services, the GEO Delivery Managers, and instructors from all three geographical regions have been involved in the design, development, and review of IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One. This is an update of IBM Tivoli Storage Manager 5.3.2 Implementation.

General Revisions to this Course

Student’s Training Guide

• The course title was changed.

• All materials have been reviewed for grammatical and consistent format errors and corrected.

• The Instructor fix requests received from the GEO Delivery Managers were evaluated and applied where appropriate.

• The course objectives were simplified.

• The storage pool hierarchy graphics have been updated to remove the optical device.

• References to the new Administration Center have been removed.

• Screen captures have been updated for TSM 5.4.

• Active-data pools, changes to backup sets, preventing unwanted schedule actions, and changes in stored passwords were added.

• The unit on Protecting the Database and Storage Pools was moved to follow the unit on Backup-Archive Client Functions.

• See the Detailed Revisions for unit-by-unit changes.

Page 4: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

2 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Course Revision History

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Instructor’s Training Guide

New Instructor Notes were added.

Detailed Revisions

There are recorded presentations of the changes to the slides on your Instructor’s Resources CD.

TSM Implementation 5.4 Changes from TSM Implementation 5.3.2

(December 2005) Units

Preface New Training Roadmap has been added.

Unit 1: IBM Tivoli Storage Manager Overview

Mapping solutions to problems slides were moved from Unit 1 to Appendix B. The two pages on policy management were combined.

Unit 2: Installing IBM Tivoli Storage Manager

The flow was changed to follow the steps in the Installation Guide:

– Installing Tivoli Storage Manager

– Installing the Integrated Solutions Console (ISC)

– Installing the Administration Center

Tivoli Storage Manager on AIX steps are included.

Unit 3: Administrative Interfaces and Privileges

This unit was reorganized and the navigation of the Administration Center was simplified. The lesson on Administrative Authority was also reduced to an overview. There was too much detailed information too soon in the course.

Unit 4: Storage Media Devices Introduction

Finding devices on UNIX was added. The Life Cycle of Tape Cartridges was replaced by the graphic from previous versions of the course. Checking Out Volumes is before Checking In Volumes.Additional suggested changes will be made in the next revision.

Unit 5: Managing Storage Pools and Storage Pool Volumes

Active-data pools have been incorporated into the unit. The Storage Destination and Migration slides were improved.

Page 5: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 3

• • •••

Course Revision History

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Unit 6: Policy Management

All define copygroup command parameters are explained. Expire inventory syntax added. Storage Management Archive File Management slide was changed from days to months. Bind and Rebinding moved to the end of the unit.

Unit 7: Customizing the TSM Database and Recovery Log

Estimating Space Requirement was simplified. Two step mirroring was removed.

Unit 8: Client Configuration

Formerly Unit 9.Backup Operators Group added. Example of a dsm.opt file was included. Copy cloptset command was added. New encryption key password was added.

Unit 9: Backup-Archive Client Functions

Formerly Unit 10.Changes to the Types of Backup slides. A slide comparing the types of backup replaces the individual slides on different backups. Open File Support, Image Snapshot, Logical Volume Image Backup, Subfile Backup, and NAS File System Backup were moved the end of the unit. New features for Backup Sets were added. The difference in classic and no query backups was moved to IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part Two (formerly IBM Tivoli Storage Manager 5.x Administration).

Unit 10: Protecting the Database And Storage Pools

Formerly Unit 8.New Lesson 1: Tivoli Storage Manager Database and Storage Pool Protection Requirements. Disaster Recovery overview was added. Database Recovery lesson was rearranged. Active-data pools incorporated into the unit.

Unit 11: Automating Operations

The content was organized into the following lessons:Lesson 1: Scheduling OptionsLesson 2: Client SchedulingLesson 3: Administrative Tasks

Unit 12: Monitoring and Event Logging Client Log Files slide was added.

Appendix A No Changes

Appendix B No changes.

TSM Implementation 5.4 Changes from TSM Implementation 5.3.2

(December 2005) Units

Page 6: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

4 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Course Revision History

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Course Materials

The following table contains the part numbers for the course materials, along with any part numbers that are being replaced.

Item Part Number Replaces

IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One Student’s Training Guide

S150-2387-00 S150-2076-00

IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One Instructor’s Training Guide

S150-2386-00 S150-2079-00

IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One Student Exercises for AIX

S150-2388-00 S150-2078-00

IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One Student Exercises for Windows

S150-2385-00 S150-2077-00

IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One Student Resources CD

SK5T-7295-00 SK5T-6253-00

IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One Instructor Resources CD

SK5T-7296-00 SK5T-6254-00

IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One Classroom Setup CD

SK5T-7297-00 SK5T-6255-00

Page 7: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

• • • ••

1

Instructor Preparation

Introduction

This section is a compilation of notes by the course developer to help others deliver IBM Tivoli Storage Manager 5.4 Implementation and Aministration, Part One. It gives an overview of the course, instructions for setting up the classroom, and other information that instructors should have to make the class a success.

This is an updated version of the IBM Tivoli Storage Manager 5.3.2 Implementation course.

Course Components

The following materials and equipment are needed to deliver the training.

The Instructor Kit:

• Instructor’s Training Guide

• Instructor Resources CD, including, printable Instructor Notes, the PowerPoint Slideshow, and recordings of the course changes, by unit.

• Course Setup Guide CD

• Student Exercises for AIX

• Student Exercises for Windows

The Student Kit, for each student:

• Student’s Training Guide

• Student Exercises for AIX

• Student Exercises for Windows

• Student Resources CD, including documentation, RedBooks, PowerPoint presentation on Operational Reporting, Field Guides, Technical Notes, and policy planning worksheets.

Page 8: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

2 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Instructor Preparation

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Classroom Setup Instructions

Follow the instructions on the Classroom Setup Guide on the Classroom Setup CD. Files needed for backup exercises are on the Classroom Setup CD, as well.

PC Projection Unit

Much of the day is spent on a lengthy slide presentation delivered with a PC-based projection unit. The make and operation of the projection system is apt to vary among classrooms, but there are some common considerations that need to be taken into account. First, the slides are best viewed on a typical 4’ x 4’ screen. This means arranging for the projector to be a good distance from the screen, not on the instructor's podium where an overhead project might belong. Most projectors have remote controls, so it is not necessary to place it in reach of the instructor. (It behooves the instructor to get in some practice operating the projector from the remote prior to class.)

Most projectors can be adjusted for different graphics resolutions and screen sizes. Some experimentation prior to class may be required to get the best results. It is necessary to project the entire area of the slide, since some utilize the whole frame.

Many projection systems cannot support video output to the projector and the PC monitor at the same time. This means the instructor must be prepared to deliver the lecture without turning around to look at the projection screen. This is best accomplished by working from the Instructor’s Training Guide, which contains all the slides used in the lectures. The Instructor Notes table has room for you personal comments and reminders for delivery.

Page 9: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 3

• • •••

Instructor Preparation

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Timing Guidelines

Reasonable target times for pacing the course lecture and exercises are shown below.

* The Appendices can be reduced or expanded to fit the remaining time.

Unit Hours

Day 1

Unit 1 1

Unit 2 2

Unit 3 3

Day 2

Unit 4 1

Unit 5 2.5

Unit 6 2.5

Day 3

Unit 7 2.5

Unit 8 3.5

Day 4

Unit 9 3

Unit 10 3

Day 5

Unit 11 2

Unit 12 2

Appendix A 1*

Appendix B 1*

Page 10: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

4 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Instructor Preparation

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Suggestions for Delivery

Audience

This course is intended for System Administrators and Implementers who will be responsible for implementing an IBM Tivoli Storage Manager 5.4 solution.

Required Skills/Knowledge

The following list contains the prerequisite knowledge or Tivoli product knowledge an attendee must have prior to taking the course:

• All students should have a working knowledge of Internet browsers.

• All students should have a basic understanding of client-server concepts.

• For classes taught on a Windows platform, the students should have the skills to navigate through Windows 2003 applications.

• For classes taught on a AIX platform, the students should have experience using the AIX command-line interface, allocating file system space, and connecting devices to an AIX server.

Demonstrations

Prompts for instructor demonstrations have been removed from the PowerPoint Slideshow presentation. Suggested demonstrations are in the Instructor Notes, which are included on the Instructor Resources CD.

The students will not be installing the Integrated Solutions Console (ISC) and Administration Center, due to time constraints. The demonstration of the ISC and Administration Center installation, as well as navigation demonstrations of the Administration Center, would be very beneficial for the students.

Page 11: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 5

• • •••

Instructor Preparation

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

There are two Student Exercise Guides: Windows and AIX. These exercises have been tested successfully, by a variety of Course Developers, on a variety of Windows 2003 and AIX machines. If you are having a problem during course preparation testing or in the classroom, please verify the hardware and software requirements in the Course Setup Guide.

Altering the Flow of the Course

If you have a preferred delivery that differs from the design of the course, please ensure the altered sequence meets the course and unit learning objectives. As you test the lab exercises, you will note that some of the exercises depend on the previous exercise’s successful completion. If you change the course flow, you will need to make adjustments to the exercises.

At the end of the course, please have the students fill out the course evaluation.

Instructor Notes

The Instructor Notes table follows this document. A printable table of Instructor Notes is also available on the Instructor Resources CD.

Page 12: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

6 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Instructor Preparation

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Page 13: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One Instructor Notes

Instructor Notes for IBM Tivoli Storage Manager 5.4 Implementation June, 2007 Location Topic Note Preface This course is designed to give the students the

necessary skills to install and run TSM. Emphasize the use of the Administration Center in the class, as it is the preferred method of administering TSM (as requested by Development and Support). In many cases there are multiple methods or commands to perform the same function. You can share additional methods with the students. Where applicable, demonstrate the Administration Center.

Unit 1

1-1 Introduction This Overview includes the most basic elements of Storage Manager. Assure students that more detailed information will be provided as each subject is addressed in upcoming units.

1-15 Backup-Restore Functions Demonstrate the backup-archive GUI.

©Copyright IBM Corp. 6/1/07 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One This document may be reproduced for use in classroom training.

1

Page 14: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One Instructor Notes

Unit 2 Topic Note

2-1 Introduction Emphasize the importance of carefully reviewing all of the documentation material provided with the product before beginning an installation. The course follows the suggested installation flow: TSM Server, ISC, Administration Center.

2-5 TSM System Requirements

SNMP DPI –You can configure the SNMP subagent to send traps to an SNMP manager, such as NetView, and to provide support for a management information base (MIB). For details about configuring SNMP for use with Tivoli Storage Manager, see the IBM Tivoli Storage Manager Administrator's Guide. The subagent communicates with the snmpd daemon, which in turn communicates with a management application. The snmpd daemon must support the DPI

(R) protocol. Agents are available on

AIX . The subagent process is separate from the Tivoli Storage Manager server process, but the subagent gets the information from a server options file. When the SNMP management application is enabled, it can get information and messages from servers.

2-7 ISC Installation The students do not install the ISC or Administration Center in their lab exercises, due to time constraints. There are scree captures for the installation steps. Suggestion: Demonstrate the installation of the ICS and Administration Center while covering this unit.

2-16 Device Drivers-Windows

RSM services should be disabled. See Installation Guide.

2-37 Web Browser To determine JRE level, type java fullversion at OS prompt.

2-36 Student Exercises

Let students know that the MMC is now partially functional.

©Copyright IBM Corp. 6/1/07 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One This document may be reproduced for use in classroom training.

2

Page 15: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One Instructor Notes

2-43 Query System The query system command consolidates the output from a number of query commands with a number of SQL SELECT commands. The query commands can obtain detailed information about specific areas of the server, while the SELECT statements can produce summaries of certain key areas. In many situations it is helpful to both the TSM administrator and other support personnel to obtain an overview of the TSM installation. This is addressed by the introduction of the query system command. Commands which can be issued by administrators with various privileges are also presented; however, the detailed syntax is not discussed.

©Copyright IBM Corp. 6/1/07 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One This document may be reproduced for use in classroom training.

3

Page 16: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One Instructor Notes

Unit

3 Topic Note

3-4 ISC, Administration Center Introduction

Demonstrate opening and navigating the ISC and Administration Center.

3-8 Navigating the Administration Center

These slides show the opening of each task in the tree and the actions available for the tasks. This is a good place to do a demonstration.

3-19 Support Utility Appendix B has tips on what to do before calling IBM Support.

3-29 Lesson 4: GUI At this point, you enter TSM.

3-30 Backup-Archive Gui

The dsmcad process must be started (dsm or dsmj on UNIX).

3-32 Command Line You can add the Use Command Line action to the Administration Center Favorites.

3-32 Command Line Let the students know that the Administrative command line is invoked when executing the dsmadmc.exe program found in the baclient directory (C:\Program Files\Tivoli\TSM\baclient) The default TCP/IP port address is 1580. Trivia: Program naming convention appears to be DSM=for product code, formerly ADSM; ADM=for administrator; C=for command line.

©Copyright IBM Corp. 6/1/07 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One This document may be reproduced for use in classroom training.

4

Page 17: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One Instructor Notes

3-32 Command Line Experience has shown that students get confused in lab exercises with the differences between the Administrative command-line interface and the backup-archive command-line client. It is important that you make sure students understand the difference between the command-line interfaces, DSMADMC for administrative and DSMC for clients.

3-39 Administrator Authority

Refer to the IBM Tivoli Storage Manager Administrator’s Guide and the IBM Tivoli Storage Manager Administrator’s Reference for complete lists of the commands and the list of tasks that the different levels of TSM administrator privilege can perform.

3-47 Privilege Classes

There are two differences between what an administrator with restricted and unrestricted privilege can do: • The unrestricted administrator can issue commands which affect all domains and pools, whereas the restricted administrator can only issue commands which affect the domain and pools to which they are authorized. • The unrestricted administrator can issue all policy and storage commands, whereas the restricted administrator can only issue a subset of those commands.

©Copyright IBM Corp. 6/1/07 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One This document may be reproduced for use in classroom training.

5

Page 18: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One Instructor Notes

Unit 4 Topic Note

4-4 Connect a SCSI library

For other types of libraries, such as fibre channel libraries, refer to the procedures provided by the manufacturer. Mention the A-Tape library.

4-8 Element number

3494 libraries can automatically detect the element number.

4-11 Working with Media

If you define a volume explicitly with Define Vol, the volume becomes private and empty.

4-13 Labeling tapes The use of dsmlabel is no longer a supported method now that autolabel, label libvolume, and the Administration Center can perform the function.

©Copyright IBM Corp. 6/1/07 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One This document may be reproduced for use in classroom training.

6

Page 19: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One Instructor Notes

Unit 5 Topic Note

5-12 Defining Storage Pools

The “devclass” in the define stgpool command is the name of the previously defined devicetype TSM object.

5-16 Storage Destination

If backing up a mail server, it is best to go directly to tape.

5-22 Deleting Storage Pools and Volumes

The q content command looks to a TSM table and not to the tape cartridge.

5-24 Move Data Use the parameter reconstruct=yes with aggregates.

5-33 Reclamation Mention the possible problems with aggregate migration.

5-34 Single Drive Reclamation

Check to see if students have a single drive library. If nobody has one, skip the next 2 pages.

5-38

Collocation Example

The data belonging to Client D will go to the volume with the most free space.

©Copyright IBM Corp. 6/1/07 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One This document may be reproduced for use in classroom training.

7

Page 20: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One Instructor Notes

Unit

6 Topic Note

6-1 Introduction Begin to introduce the concept of having business requirements for data management or service level agreement between the client and TSM administration personnel in the IT organization.

6-10 Policy Set Created automatically when you use the Administration Center.

6-11 Defining MC Include-Exclude is covered in Unit 8.

6-14 Copy Group A copy group contains the parameters regarding how to manage the data (objects) belonging to the client, how many versions of backup to keep, and how long to keep the archive data. Notice that you can specify zero, one or two copy groups in a management class. If a management class is defined with no copy groups, users will receive warning messages if they choose to bind their files to this management class. When bound to this management class, files will never be backed up or archived. However, as a precautionary measure, TSM is designed to cover this problem by using the grace retention periods for backup and archive defined in the policy domain.

6-23 Expiration, Part 1

This chart is to be used to go through what happens as TSM is backing up a changed file every day. Use the letter A for active and the letter I for inactive. Notice on day 6, the file goes unchanged. Go through the process for each day. If possible, project slides on a writable surface. If not, draw the diagram on a writable surface. On day 1 the file is changed or created. That evening it is backed up. Ask the students if the file on TSM storage would be Active or Inactive. Answer: Active. Write the letter A under the box for backup 1 on day 1. Follow this logic through to day 4. Write the letter I on all the extra versions. Ask the students what happens on day 4 to backup version 1. Answer: It will expire, since we are only keeping three versions of the file. Cross out the versions other than the first three on days 4, 5, and 6.

©Copyright IBM Corp. 6/1/07 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One This document may be reproduced for use in classroom training.

8

Page 21: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One Instructor Notes

©Copyright IBM Corp. 6/1/07 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One This document may be reproduced for use in classroom training.

6-24 Expiration, Part 2

This takes over where we left off in the previous slide. Fill in active and inactive under the boxes. You should have done this on the board in the previous visual. Ask the students why backup 1 on day 4 is gone. Answer: Because we are keeping only three versions based on VERExist=3. Notice that the file goes unchanged from day 5 on. Ask the students what happens to extra backup 2 and 3 and on what days. Answer: On day 33 extra backup 2 should expire. Fill in active and inactive under the boxes. Cross it off the board and write 33 by the first ?. Ask the students why, if we were keeping three versions, there is only one left. Answer: Because retainextra is set to 30 and needs to be no limit if you always want three versions. This is very important emphasize. Ask the students when the active backup will expire. Answer: It will not expire. Ask the students why backup 2 expired on day 33. Answer: It became inactive on day 3 and you add 30 days based on RETEXTRA=30. Use a story about a resume being updated daily. Then on Day 5 no more changes are made because the salary was doubled and the person was given a car as a bonus.

6-25 Expiration, Part 3

Complete the process by erasing the file on the morning of day 4. Ask the students what happens now. Answer: Backup 3 will go inactive. Mark it on the board with the letter I. Ask the students how many extra copies will be there after the incremental backup on day 4. Verdeleted is set to 1 so we lose backups 2 and 1. Mark them out on the board. Ask the students when the only backup will expire. Answer: Around day 64. Retonly is set to 60. Now, resume.doc is expired. The employee likes the new car and decides to stay with the company, and no longer needs the resume.

6-31 Validate and Activate Policy Set

Point out what happens when you activate a policy set. But first review what a domain is. Ask students what goes inside a domain. Answer: Policy sets. Ask students what goes inside a policy set. Answer: Management classes. Ask students what goes inside management classes. Answer: Copy groups. With each answer write the name on the board in the visual in the appropriate box that is policy set, management class, and copy group. Ask students what happens when you activate. Answer: TSM makes a copy of the policy set, and names it ACTIVE. You cannot change the active policy set. You can change only the one from which it was activated. Ask students what is the minimum number of policy sets you can have in an active valid configuration. Answer: Two, the one you defined, and the active one.

9

Page 22: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One Instructor Notes

6-32 Binding MC Be sure students understand the difference between active and inactive.

6-33 Summary If time allows, walk through another expiration example.

©Copyright IBM Corp. 6/1/07 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One This document may be reproduced for use in classroom training.

10

Page 23: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One Instructor Notes

Unit 7 Topic Note

7-9 Recovery Log Space

If the volumes are physically allocated on the same disk, it would be best to allocate a single volume and optional mirrors to avoid performance problems. It is not advisable to use optical storage for the database or the recovery log because of performance characteristics. Increasing the recovery log size can increase the TSM server start-up time.

7-13 Estimate Recovery Log Size

Common practice is to set the recovery log size to the maximum. An alternate method is qlog f=d, backup the database, reset logconsumption.

7-13 Estimate Recovery Log Size

In both normal mode and roll-forward mode, the volume of TSM transactions affects how large you should make your recovery log. As more clients are added and the volume of concurrent transactions increases, you should extend the size of the log. In roll-forward mode you must also consider how often you perform database backups. In this mode, the recovery log keeps all transactions since the last database backup and typically requires significantly more space than is required in normal mode.

7-17 Creating Additional Volumes

Each time you define a new database or recovery log volume, you provide additional space to the database or recovery log. For performance reasons, define more than one volume for the database and recovery log, and place these volumes on separate disks to allow simultaneous access to different parts of the database or recovery log. When possible, assign each database and recovery log volume to separate disk strings, preferably on disks with different control units and channels. To protect database and recovery log volumes from media failure, you can use the mirroring feature. To use disk space efficiently, allocate a few large disk volumes rather than many small disk volumes. In this way, you avoid losing space to TSM overhead processing.

©Copyright IBM Corp. 6/1/07 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One This document may be reproduced for use in classroom training.

11

Page 24: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One Instructor Notes

7-19 Mirroring TSM provides non-disruptive and immediate recovery from physical failures on database and recovery log volumes through mirroring. If a mirrored volume encounters a media failure, the server automatically places the failing volume offline and continues database operations using the mirrored copies. Once the failed disk is replaced and made available to the server, it is automatically synchronized with the intact copies. The hardware dual copy could also be used to provide protection from media failures. The advantage of using dual copy is faster write performance because the server issues a single write and the storage control asynchronously writes the additional copy. With mirroring, multiple writes are issued at the same time. Mirroring is not recommended with RAID 5, unless it is mirrored to a separate RAID array.

7-19 Mirroring Database volume copies increase the availability of the database and provide safeguards against media failure. You can have as many as two volume copies of an existing database volume. After each database volume copy is defined, the server attempts to synchronize the volume copy with the database. Recovery log volume copies increase the availability of the recovery log and provide safeguards against media failure. You can have as many as two volume copies of an existing recovery log volume. After each recovery log volume copy is defined, the server attempts to synchronize the volume copy with the recovery log. The 2-step process (dsmfmt and define) is not covered in order to make the topic less confusing for beginning storage administrators. You can include it if you want to.

7-23 The define spacetrigger command

If space trigger was set during installation, you can only modify it using the command line. Mention the define spacetrigger stg command and how it differs from space triggers for the database and recovery log.

©Copyright IBM Corp. 6/1/07 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One This document may be reproduced for use in classroom training.

12

Page 25: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One Instructor Notes

Unit 8 Topic Note

8-4 Command Line Refer to the IBM Tivoli Storage Manager Administrator Reference Guides for other platforms.

8-7 GUI Demonstrate navigation of backup-archive GUI.

8-16 Client Options The backup-archive client is enhanced to support backup and restore of directories in a more intuitive and logical way. If none of the options are used, both directories and files are backed up or restored. The DIRSONLY and FILESONLY options can only be specified on backup or restore commands using the backup-archive command line client. The options cannot be put in the client user options file (dsm.opt).

8-20 Graphical Options Editor

Defining a TSM client option set is a two-step process. First, the client option set is defined, and then, the options are defined to it. A graphical options editor (available under Edit > Preferences) is provided with the backup-archive GUI. The graphical options editor makes the process of updating the TSM client options more user friendly and less error prone. The options editor groups the options in the following categories:

• General: Set general processing options for TSM such as nodename and errorlog.

• Backup: Set backup processing options. • Restore: Set restore processing options such as file

replace. • Include-Exclude: Specify Include-Exclude processing

options. • Scheduler: Specify processing options for scheduled

TSM work. For example, options that influence scheduling services such as schedule mode and schedule log file handling.

• Regional Settings: Set locale options for your client node. • Authorization: Specify authorization options for your

client. • Web Client: Specify processing options for your TSM

Web client. • Command Line: Specify TSM command-line client

processing options. • Diagnostic: Specify type of tracing to perform in the event

of a problem with your TSM client. • Communication: Update TCP/IP communication options

such as TSM server name, TCP window and buffer sizes. • Refer to the TSM Client Options chart.

©Copyright IBM Corp. 6/1/07 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One This document may be reproduced for use in classroom training.

13

Page 26: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One Instructor Notes

8-31 Include-Exclude Determine if the files specified will be selected for backup based upon the include-exclude list provided. Remember, if it is not excluded, it is included.

bob.log is excluded (matched on line 1)

fileone is included (matched on default)

/home/nobody/data/file1.dat is excluded (matched on line 2)

/usr/lwp/resume.ibm (included matched on line 4)

/usr/lwp/data/file1.dat is excluded (matched on line 3)

©Copyright IBM Corp. 6/1/07 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One This document may be reproduced for use in classroom training.

14

Page 27: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One Instructor Notes

Unit 9 Topic Note

9-5 Without Journal Use when the backup window is exceeded.

9-6 Incremental by Date

Mention that Incremental by Date is not often used.

9-22 Restore The difference in No Query Restore and Classic Restore was take from this class and put into the Part Two class, so as to not overload the students. You might want to give a brief overview.

9-25 Point-in-Time Restore

A point-in-time restore recovers a file space or a directory to the state it had at a prior date and time. A point-in-time restore is difficult to perform using the TODATE and TOTIME options with the restore command. A point-in-time restore is selected from the backup-archive GUI by selecting a point-in-time date from the Restore window. Point-in-time restores are started from the TSM backup-archive command line by using the command-line options. The use of point-in-time restore has a number of dependencies and considerations. Incremental backups performed using the Incremental by Date method are not true incremental backups. A point-in-time restore cannot be performed when this type of incremental backup is used. When performing a point-in-time restore, file filtering is done by the TSM server as opposed to other restores where all the file filtering is done by the TSM client. Having the TSM client server doing the file filtering can potentially lead to reduced restore times. Copy group values with no limits such as VEREXIST and VERDELETED can result in large numbers of backup copies being maintained by the server. This is compounded in situations where users can run multiple incremental backups a day. If such values are to be used, use of the copygroup FREQUENCY parameter, to control the interval between incremental backups, should be considered.

©Copyright IBM Corp. 6/1/07 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One This document may be reproduced for use in classroom training.

15

Page 28: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One Instructor Notes

Unit 10

Topic Note

10-16 Database Backup Related Commands

The last database backup cannot be deleted unless the parameter force=yes is used.

10-25 Restoring the Server

Review how Disaster Recovery Manager automated this process.

10-26 Restoring The Database

Ask the students where TSM will get the needed information to restore the database if it is damaged and the VOLHISTORY and DEVCONFIG files are not present. Answer: You would have to know the volumes to mount in the correct order and you would have to rebuild the device config file manually. To restore the database to a specific point in time, use the dsmserv restore db command. TSM restores the database as follows: • Reads the volume history file to locate the last regular backup that occurred on or before the specified date and time. • Using the device configuration file, requests a mount of the first volume, which should contain the beginning of the regular backup. • Restores the backup data from the first volume.

10-28 Best Practices Ask the students if they would mirror the database or the recovery log, if there was only space to mirror one. Answer: Mirror the recovery log, since the database can be backed up.

10-34 Define A Copy Storage Pool

Emphasize the importance of multiple copy storage pools

10-36 Backup Storage Pool Hierarchy

Ask the students how many commands would have to be issued to back up the primary pool hierarchy for local media failure and disaster recovery (both on-site and off-site). Answer: 4. Ask the students to give the command to back up the storage pool hierarchy from their TSM server in lab to a copy storage pool named on-site. Answer: backup stgpool backuppool on-site backup stpool archivepool on-site

10-46 Accessing Damaged Files

Use the preview option.

©Copyright IBM Corp. 6/1/07 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One This document may be reproduced for use in classroom training.

16

Page 29: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One Instructor Notes

Unit 11 Topic Note

11-13 Additional Client Polling Options

Restart scheduler after resetting mode.

11-17 Randomization Use this scenario to show the alternative to randomizing. There are 450 clients around the country that need to be backed up. We could assign one person the task of coming up with 450 individual schedules to evenly spread the work over the six hour window. Remember that randomizing does not evenly spread the work around but randomly spreads the work around. With 450 individual schedules we could start one backup at 1:00 and one at 1:06, and so on. We could even allow for the fact that one node backs up faster than another and set the schedules’ start time appropriately. That would take a lot of administrative work. A better approach would be to define ONE schedule for all nodes. Set the start time to 01:00:00. Write that in the STARTTIME box. Tell the students that our current TSM server MAXSESSIONS it set to 100. Write that in the box. MAXSCHEDULED SESSIONS is set to 80%. Write that in the box. Ask the students how many schedules will start at 01:00. Answer: 80. Ask the class what will happen when one of the 80 schedules is completed. Answer: Another will start. Ask the class when the TSM server will stop starting new schedules. Answer: When all schedules have run or the startup window is past. Ask the class what if in the morning we find that there are some schedules that did not run, but we had network and server resources available? Answer: We can adjust MAXSESSIONS or MAXSCHEDULE SESSIONS up. Ask the class what if the reverse was true. Answer: Lower those values. This can be a big advantage to server prompted scheduling. We can adjust the amount of work and not have to rewrite schedules.

11-18 Defining Schedules

Ask the class what happens if a client is associated with two schedules that have the same startup time. Answer: TSM provides a way of prioritizing schedules so that the more critical scheduled operation is completed first by the client.

11-37 Command Line to Query Schedule

Demonstrate how to set up a client backup at 21:00 (9:00 p.m.) every night.

©Copyright IBM Corp. 6/1/07 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One This document may be reproduced for use in classroom training.

17

Page 30: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One Instructor Notes

Unit 12 Topic Note

12-8 Event Receiving Client messages eligible for sending to the server are formatted as client events. This ensures that all client events have a common format.

12-9 Event Filtering Before client events can be passed to the server they have to be enabled at the server. The enable event command has been added to manage central logging and monitoring. It enables logging of client and server events.

12-15 Enabling Client Events

One of the main goals when designing the central logging function is to provide an efficient solution. Only a set of client messages are logged as events to the server.

12-17 Storing Client Events in the Activity Log

Client events can be disabled for the activity log. Show command: disable events actlog info node=<nodename>

12-25 Operational Reporting Optional Windows Exercise

If time permits, have the students perform an optional exercise on installation and configuration of Operational Reporting. Use the Installing Operational Reporting.pdf, file, and excerpt from the IBM Tivoli Storage Manager 5.4 Administration Guide, located on the Instructor and Student Resources CDs.

©Copyright IBM Corp. 6/1/07 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One This document may be reproduced for use in classroom training.

18

Page 31: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One Instructor Notes

Appendix

A Topic Note

A-1 Additional TSM Product Information

If time permits, you can cover this material. The slides are in your PowerPoint Slideshow.

Appendix

B Topic Note

B-1 Problem Determination

If time permits, you can cover this material. The slides are in your PowerPoint Slideshow.

©Copyright IBM Corp. 6/1/07 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One This document may be reproduced for use in classroom training.

19

Page 32: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One Instructor Notes

©Copyright IBM Corp. 6/1/07 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One This document may be reproduced for use in classroom training.

20

Page 33: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 1

• • •••

Table of Contents

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Table of Contents

Preface Course Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16Curriculum Roadmap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

Implementer and Administrator Role . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17Where to Find the Training Schedules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18Course Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19Course Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20Agenda . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21Course Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22Typographical Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Product Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

Software Release Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Product Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25Recommendations in this Course . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25

Unit 1: IBM Tivoli Storage Manager OverviewIntroduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3

Lesson 1: Protecting Data with IBM Tivoli Storage Manager . . . . . . . . . . . . . .1-4IBM Tivoli Storage Manager: An Enterprise-Wide Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4Components of the IBM Tivoli Storage Manager 5.4 Solution . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5

Administrative Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6Tivoli Storage Manager Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7Scheduler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8Backup-Archive Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9Tivoli Storage Manager Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-10Tivoli Storage Manager Recovery Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-11Storage Pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-12Policy-Based Approach to Data Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-13Tape Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-14

Backup-Restore Functionality Provided by IBM Tivoli Storage Manager . . . . . . . . . . . . . . . . . 1-15Long-Term Storage Capabilities Provided through the Archive-Retrieve Function . . . . . . . . . 1-16Administrator Management Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-17The Administration Center on the Integrated Solutions Console . . . . . . . . . . . . . . . . . . . . . . . 1-18Managing IBM Tivoli Storage Manager with the Administration Center . . . . . . . . . . . . . . . . . . 1-19

Automation Capabilities Provided by IBM Tivoli Storage Manager . . . . . . . . . . . . . . . . . . . . 1-19

Lesson 2: Data Storage and Data Management . . . . . . . . . . . . . . . . . . . . . .1-20Types of Storage Media on which Tivoli Storage Manager Stores Data . . . . . . . . . . . . . . . . . 1-20Optional IBM Tivoli Storage Manager Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-21

IBM Tivoli Storage Manager’s Disaster Preparation and Recovery . . . . . . . . . . . . . . . . . . . 1-22

Lesson 3: Licensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-23IBM Tivoli Storage Manager Licensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-23

Upgrading from IBM Tivoli Storage Manager Express . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-23Review Questions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-24Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-27

Page 34: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

2 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Table of Contents

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage Devices

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2

Lesson 1: Installation Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-3IBM Tivoli Storage Manager 5.4 Packaging Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3

System Requirements for IBM Tivoli Storage Manager Server . . . . . . . . . . . . . . . . . . . . . . . . . 2-5Backup-Archive Client Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6

Integrated Solutions Console and TSM Administration Center . . . . . . . . . . . . . . . . . . . . . . . . . 2-7ISC and Administration Center Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8

Lesson 2: Installing IBM Tivoli Storage Manager . . . . . . . . . . . . . . . . . . . . . . .2-9Installing IBM Tivoli Storage Manager on Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9

Select Product to Install . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10Install TSM Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11

Follow the Wizard Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12Installing and Completing the InstallShield Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13

TSM Server Licenses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14Install Language Packs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15Install Device Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16

Installing Tivoli Storage Manager on AIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17Smit or Smitty Installation Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-18

Installation Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-19Installation Steps, continued . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20Installing Message Catalog (Languages) and Device Driver . . . . . . . . . . . . . . . . . . . . . . . 2-21

Lesson 3: What the Server Installs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-22Basic Components Installed by IBM Tivoli Storage Manager . . . . . . . . . . . . . . . . . . . . . . . . . 2-22Files Created during Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-24Verify that the Server Installation Has Completed Successfully . . . . . . . . . . . . . . . . . . . . . . . . 2-25

Lesson 4: Installing the IBM Integrated Solutions Console ISC . . . . . . . . . . .2-26Verify Space Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-27Accept License Agreement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-28Select Directory, Paths, and Review Installation Information . . . . . . . . . . . . . . . . . . . . . . . . 2-29ISC Installation Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-30

Lesson 5: Administration Center Installation . . . . . . . . . . . . . . . . . . . . . . . . .2-31ISC Configuration and Option Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-32InstallShield Installs the Administration Center . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-33

Lesson 6: Installing the Backup-Archive Client . . . . . . . . . . . . . . . . . . . . . . .2-34Destination Folder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-35Custom Install . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-36Web Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-37

Lesson 7: Initial Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-38Initial Configuration Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-38

Environmental Wizard Performance Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-39Server Initialization Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-40Server Volume Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-41Client Node Configuration and Prepare Media Wizards . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-42

Lesson 8: The Query Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-43The Powerful Query System Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-43Standard Format Query Result . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-44Detailed Format Query Result . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-45Query Activity Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-46

Student Exercise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-47Review Questions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-48

Page 35: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 3

• • •••

Table of Contents

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-51

Unit 3: Administrative Interfaces and PrivilegesIntroduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2

Lesson 1: Interfaces for Tivoli Storage Manager . . . . . . . . . . . . . . . . . . . . . . .3-3Available Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3

Lesson 2: The Integrated Solutions Console and Administration Center . . . . .3-4Overview of the Integrated Solutions Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4Tivoli Storage Manager’s Administration Center . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5Logging on to the Integrated Solutions Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6How the Integrated Solutions Console Recognizes Your Tivoli Storage Manager Authority . . . 3-7Navigating the Administration Center . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8

Exploring the Task Trees . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8Navigating the Administration Center . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9

Menus and Wizards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-10Select Action Menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-11

Health Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-12Enterprise Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13Storage Devices; Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-14Policy Domains and Client Nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-15Server Maintenance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-16Reporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-17Disaster Recovery Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-18

Starting and Stopping the Administration Center . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-19Administration Center Support Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-20

Adjusting the Session Timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-21

Lesson 3: Using the ISC to Manage Tivoli Storage Manager . . . . . . . . . . . . .3-22Creating a Tivoli Storage Manager Administrator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-22

Creating a Tivoli Storage Manager Administrator, continued . . . . . . . . . . . . . . . . . . . . . . . . 3-23Associate an ISC Login ID with a Tivoli Storage Manager User ID . . . . . . . . . . . . . . . . . . . . . 3-24Adding a Tivoli Storage Manager Server to the Administration Center . . . . . . . . . . . . . . . . . . 3-25Using the Health Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-26

Configuring the Health Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-27Database and Recovery Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-28

Tivoli Storage Manager database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-28Tivoli Storage Manager recovery log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-28

Activity Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-29

Lesson 4: IBM Tivoli Storage Manager’s Graphical User Interface (GUI) . . .3-30Tivoli Storage Manager Windows Server GUI - Management Console . . . . . . . . . . . . . . . . 3-30

The GUI for Backup-Archive Clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-31Web Backup-Archive Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-32

Lesson 5: Command Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-33Using Syntax Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-35

Example of Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-36Accessing the Tivoli Storage Manager Administrative Command Line from the Administration

Center . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-37Output of a Command-line Query . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-38

Lesson 6: Administrative Authority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-40Privilege Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-41Registering an Administrator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-42Managing Administrative Authority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-43

Granting Authority to Administrators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-43Extending Authority for Administrators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-43

Page 36: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

4 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Table of Contents

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Reducing Authority for Administrators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-44Reducing Privilege Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-44Revoking Authority for Administrators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-44

Removing an Administrator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-45

Lesson 7: Export/Import . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-46Export/Import of Administrator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-46Student Exercise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-47Review Questions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-48Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-49

Unit 4: Storage Media Devices Introduction

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2

Lesson 1: Installing and Configuring a Tape Library Attached to the IBM Tivoli Storage Manager Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-3

Installing and Configuring a Tape Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3Connecting a SCSI Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4Supported Device Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5Getting Device Information from the Tivoli Storage Manager Device Driver . . . . . . . . . . . . . . . 4-6

Use tsmdlst to Find Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-7Determining Numbers for Libraries with Multiple Drives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8Configuring Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10

Lesson 2: Working with Media . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-11The Difference between Scratch and Private Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-11The Life Cycle of Tape Cartridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-12Labeling Tapes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13

Label Libvolume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13AUTOLABEL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-14

Checking Out Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-15Checking In Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-16Auditing a Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-17Review Questions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-18Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-21

Unit 5: Managing Storage Pools and Storage Pool Volumes

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2

Lesson 1: Storage Pools, Hierarchies, and Storage Pool Volumes . . . . . . . . .5-3Storage Pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3Storage Pool Hierarchies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-4Active-data Pools and the Storage Hierarchy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-5Device Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-6Device Class and Storage Pool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-9Storage Destination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-10Disk-Only or Tapeless Backup Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-11Defining Storage Pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-12Update and Query Storage Pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-13Active-data Pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-14Before Storing Data in an Active-data Pool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-15Using the Administration Center’s Create Storage Pool Wizard . . . . . . . . . . . . . . . . . . . . . . . 5-16

Create Storage Pool Wizard, continued . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-17Policy Domain Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-18

Creating or Defining Storage Pool Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-19

Page 37: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 5

• • •••

Table of Contents

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Defining Storage Pool Volumes for Disk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-21Deleting Storage Pools and Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-22How to Move Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-24Overflow Location for Storage Pool Media . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-26

Database Tracking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-26

Lesson 2: Automatic Data Movement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-28Migration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-28Storage Pool Migration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-29Using the Administration Center for Migration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-31Reclamation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-33Single Drive Reclamation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-34Example of Single Drive Reclamation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-35Collocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-36Collocation by Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-37Collocation Volume Selection Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-38Collocation Volume Selection Example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-39Collocation of Active Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-40

Collocation of Active Data with the Administration Center . . . . . . . . . . . . . . . . . . . . . . . . . . 5-41Copy Active Data Form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-42

Student Exercise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-43Review Questions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-44Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-48

Unit 6: Policy ManagementIntroduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2

Lesson 1: How TSM Manages Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-3Centrally Managed by Business Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-3Policy Management Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-4How Tivoli Storage Manager Stores Client Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-5

Lesson 2: Defining Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-6Policy Domain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-6Using the Administration Center to Define Policy Domains . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-7Using the Command Line to Define a Domain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-8Define a New Policy Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-9Using the Command Line to Define a Policy Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-10Defining Management Classes for Policy-Driven Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-11Using the Administration Center to Define Management Class . . . . . . . . . . . . . . . . . . . . . . . . 6-12Using Command Line to Define Management Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-13

Lesson 3: Working With Copy Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-14Copy Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-14Using the Command Line to Define a Copy Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-15Using the Command Line to Define a Copy Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-17

Copy Group Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-17Default Server Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-19Policy Settings in STANDARD Domain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-20Related Server Option: EXPINterval Hours . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-21

Lesson 4: Expiration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-22Expire inventory manually starts inventory expiration processing. The inventory expiration process

removes client backup and archive file copies from server storage based on policy specified in the backup and archive copy groups of the management classes to which the files are bound. . . . 6-22

Example of Expiration Processing: Part 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-23Example of Expiration Processing: Part 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-24Example of Expiration Processing: Part 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-25

Page 38: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

6 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Table of Contents

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Storage Management Archive File Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-27Specifying the Management Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-28Policy Domain Grace Retention Periods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-29Assign Default Management Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-30Validate and Activate Policy Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-31Binding and Rebinding the Management Class (MC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-32Rebinding Management Classes to Backup Versions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-33Export/Import of Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-34Student Exercise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-35Review Questions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-36Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-39

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery Log

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2

Lesson 1: The Purpose of the Database and Recovery Log . . . . . . . . . . . . . .7-3Database and Recovery Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-3Transactions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-5Recovery Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-6

Normal Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-6Roll-Forward Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-7

Database Space Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-8Determine How Many Database Volumes You Need . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-8

Recovery Log Space Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-9Determine How Many Database Volumes You Need . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-9

Lesson 2: Sizing the Database and Recovery Log . . . . . . . . . . . . . . . . . . . . .7-10Estimating Space Requirements for the Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-10Cached Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-12Estimating the Size of the Recovery Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-13

Lesson 3: Adding Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-14Creating Additional Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-14Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-15

UNIX Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-15Windows Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-15Database and Recovery Log Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-16Using the Administration Center . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-17

Lesson 4: Reducing the Database and Recovery Log Space . . . . . . . . . . . .7-18Lesson 5: Mirroring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-19Database and Recovery Log Mirroring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-19

Using the Administration Center to Mirror . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-20Mirroring Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-21

Lesson 6: BUFPOOLSIZE Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-22Lesson 7: Space Triggers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-23Define Spacetrigger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-23Student Exercise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-25Review Questions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-26Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-29

Page 39: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 7

• • •••

Table of Contents

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Unit 8: Client ConfigurationIntroduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2

Lesson 1: Client Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-3Identify the Client Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-3The Backup-Archive Command Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-4

Using the Command-Line Interface Loop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-5Backup-Archive Command-Line Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-5The Web Client Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-6The Backup-Archive GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-7Utilities Menu Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-8

Change Password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-8Node Access List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-8Access Another Node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-8View Policy Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-9Delete Archived Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-9Delete Backup Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-9Delete Filespace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-9Setup Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-10Preview Include-Exclude . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-10Query DiskInfo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-10

Lesson 2: Administrative Control of Access . . . . . . . . . . . . . . . . . . . . . . . . . .8-11Registration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-11Password Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-12

Set Password Expiration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-12Set Invalid Sign-On Limit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-12Set Minimum Password Length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-13

Prevent Client Nodes from Accessing the Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-14Backup Operators Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-15

Lesson 3: Managing Client Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-16Configuration Client Option Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-17

Example of DSM.OPT and DSM.SYS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-18Editing the Client Options File with the GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-19

Using the Graphical Options Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-20Configure Client Access to the Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-21PASSWORDACCESS GENERATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-23Additional Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-24

Identify Precedence of Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-24Override Configuration Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-24

The Domain Option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-25Domain for Backup—Client Configuration Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-26

Lesson 4: Client Performance and Options . . . . . . . . . . . . . . . . . . . . . . . . . .8-27Client Options Available to Configure and Improve Performance . . . . . . . . . . . . . . . . . . . . . . 8-27Sever Option—TXNGROUPMAX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-28Configuring Error Logging Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-29

DSMSCHED.LOG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-30

Lesson 5: Include-Exclude Processing Rules . . . . . . . . . . . . . . . . . . . . . . . .8-31Include-Exclude Processing Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-32

Exclude Directories from Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-33EXCLUDE.DIR Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-33Backup of Excluded Directories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-34Compression, Encryption, and Adaptive Subfile Backup Processing . . . . . . . . . . . . . . . . . . 8-35

Identify Files to Be Included or Excluded from Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-36Include-Exclude Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-38Include-Exclude Using the Backup-Archive Tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-39

Page 40: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Table of Contents

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Include-Exclude Exercise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-40

Lesson 6: Client Option Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-41Identify the Value of Client Option Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-43

Define Include-Exclude Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-43Use Sequence Numbers in an Option Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-44

Use the FORCE Option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-44Copy, Query, Delete, or Update a Client Option Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-45

Create an Option Set with the Administration Center . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-46Summary of Client Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-47

Lesson 7: Delete Backup Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-48Lesson 8: Encryption and Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-50

The Benefit of Encryption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-50Encryption Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-51 Encryption and Archiving . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-51 Encryption and Unattended Restores . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-51

Student Exercise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-53Review Questions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-54Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-57

Unit 9: Backup-Archive Client FunctionsIntroduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2

Lesson 1: Types of Backups Available . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-3Types of Backups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-3How Journal-based Backups Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-5Incremental (Complete) Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-6Incremental by Date Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-6Incremental (without Journal) Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-6Selective (Always Backup) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-7File Level Backups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-8

Lesson 2: Overview of Backup Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-9Backup Set Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-9Additional Backup Set Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-10

Point-in-time File Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-11Backup Set Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-12

Lesson 3: Performing Client Backups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-13Using the TSM Backup-Archive GUI and Web Client to Back Up Files from a Client . . . . . . . 9-13

Select Files and Perform a Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-14Review Backup Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-16Use the Find Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-17Results of a Filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-18Use the Estimate Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-19Select Always Backup as Type of Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-19

Using the GUI to Delete Backup Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-20

Lesson 4: Restoring Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-21Restore Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-21Restore Files Using the GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-22

Active and Inactive Version of a File to Restore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-23Modify Restore Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-24

Point-in-Time Restore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-25Backup set GUI for Restore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-26

Restartable Restores . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-27Restartable Restore Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-28

Page 41: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9

• • •••

Table of Contents

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Restartable Restore Database Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-30Student Exercise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-31

Lesson 5: Archive and Retrieve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-32Overview of Archive and Retrieve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-32

Archive and Retrieve Using the GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-34First-Time Archive Processes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-35Archiving Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-36Archive Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-37

Archive Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-37Unique Archive Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-37Archive Packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-38

Override Archive Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-39V2 Archive (files only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-39

How Retrieve Works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-40Retrieving Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-41Retrieve Using the GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-42

Retrieve Archive Packages Using the GUI Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-42Retrieve Options: Modify Retrieve and Collision Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-43

Lesson 6: Backup and Restore with the Command Line . . . . . . . . . . . . . . . .9-44Using the Backup-Archive Command Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-44Perform an Incremental Backup on the Command Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-46Selective Backup Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-47Use the Query Filespace Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-48Delete Backup Command Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-49Restore Backed Up Files Using the dsmc restore Command . . . . . . . . . . . . . . . . . . . . . . . . . 9-50Use the dsmc restore Command with the PICK Option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-51Using the dsmc restore Command with Overwrite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-52Use the LATEST Option with the dsmc restore Command . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-53Restore to New Location Using PRESERVEPATH Restore Option . . . . . . . . . . . . . . . . . . . . 9-54Use the IFNEWER with the dsmc restore Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-55Using the PITDATE and PITTIME Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-56Restartable Restore Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-56

Lesson 7: Archive and Retrieve Command Line . . . . . . . . . . . . . . . . . . . . . .9-57Lesson 8: Command Options for Backup, Archive, Restore, and Retrieve . .9-59Backup, Archive, Restore, and Retrieve of Directories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-61

Lesson 9: The Types of backups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-62Image Backup Overview: Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-62Windows Snapshot Image Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-63

Open File Support with LVSA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-63Windows Incremental Image (Date Only) Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-64Logical Volume Image Backup (UNIX) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-65Subfile Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-66NAS File System Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-67Student Exercise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-69Review Questions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-70Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-73

Unit 10: Protecting the Database and Storage PoolsIntroduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-2Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-2

Lesson 1: Tivoli Storage Manager Database and Storage Pool Protection Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-3

Tivoli Disaster Recovery Manager Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-4The Disaster Recovery Plan File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-5

Page 42: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Table of Contents

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Using the Administration Center for Disaster Recovery Management . . . . . . . . . . . . . . . . . 10-6

Lesson 2: Backing Up the Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-7Tivoli Storage Manager Database Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-7Full Backup Plus Incremental Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-8Database (Snapshot) Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-9Database Backup Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-10Initiating a Database Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-12DBBackuptrigger and Log Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-13

Define DBBackuptrigger Command Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-14

Database Backup Related Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-16Query DB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-16Query Volhistory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-16Delete Volhistory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-17

Lesson 3: Database Recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-18Restoring the Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-19Roll-Forward Recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-20Point-in-Time Recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-21Backing Up Volume-Related and Device-Related Information . . . . . . . . . . . . . . . . . . . . . . . . 10-23Restoring the Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-25Database Restore Command Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-26

Restoring to a Specific Point in Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-26Best Practices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-28

Lesson 4: Storage Pool Backup and Recovery . . . . . . . . . . . . . . . . . . . . . .10-30Backup of Storage Pool Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-32Define a Copy Storage Pool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-34

Define Stgpool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-34Define Stgpool Command Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-34

Define Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-35Backing Up the Storage Pool Hierarchy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-36Simultaneous Write to Multiple-Copy Storage Pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-37

Using Simultaneous Write with Active-data Pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-38Setting up Simultaneous Write with the Administration Center . . . . . . . . . . . . . . . . . . . . . . 10-39

Handling Off-Site Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-40Update Volumes * Access=Offsite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-41

Reclamation of Off-Site Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-42Update Volume * Access=Readwrite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-43

Restoration of Storage Pool Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-44Accessing Damaged Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-46Maintaining the Integrity of Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-48Recovering from a Media Loss . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-49Restore Volume Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-51

Restore Volume Command Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-51Recovering Storage Pool Volumes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-53

Determine the copy pool volumes needed to restore. . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-53Set the access mode of the copy volumes to UNAVAILABLE. . . . . . . . . . . . . . . . . . . . . . 10-53Bring the identified volumes to the on-site location. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-53Restore the destroyed files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-53Set the access mode of the volumes to OFFSITE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-53Return the volumes to the off-site location. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-53

Restore Storage Pool Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-54Backup and Recovery Best Practices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-55

Suggestions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-55Protecting Your Database and Storage Pool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-57

REUSEDELAY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-57Daily Administration Cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-58

Lesson 5: Tivoli Storage Manager Maintenance Plans . . . . . . . . . . . . . . . .10-59

Page 43: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 11

• • •••

Table of Contents

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

How to Set Up a Maintenance Plan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-60TSM Database Management Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-67Student Exercise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-69Review Questions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-70Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-73

Unit 11: Automating OperationsIntroduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-2Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-2

Lesson 1: Scheduling Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-3Overview of Schedules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-3Scheduling Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-4

Lesson 2: Client Scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-5Traditional Scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-6

About CAD-managed Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-6Central Scheduling Mode: Client Polling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-7Central Schedule Mode: Server Prompted . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-8Selecting Schedule Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-9Additional Client Scheduling Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-11

MAXSCHEDSESSIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-12Additional Client Polling Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-13Additional Server Prompted Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-14Pre-Schedule and Post-Schedule Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-15Consistent Client Return Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-16Example of Randomizing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-17Defining Schedules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-18

Parameters for Defining Schedules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-19Defining Schedules, Server Prompted Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-22

Defining Schedules Using the Administration Center . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-23Client Node Schedules with the Administration Center . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-24

Using the Command Line to Define a Schedule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-25Enhanced Scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-26

Examples of Calendar-based Schedules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-27Schedule Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-28Relative Date and Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-29

Relative Date . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-29Relative Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-29

Copying a Schedule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-30Using the Command Line to Define an Association . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-31One-Time Scheduled Client Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-33Preventing Unwanted Schedule Actions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-35

Options to Prevent Unwanted Schedule Actions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-36Using the Command Line to Query Schedule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-37

Lesson 3: Administrative Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-38Automating Administrative Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-38Scheduling an Administrative Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-40Administrator Scheduling Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-41Examples of Defining Administrative Schedules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-42Defining Administrative Schedules Using the Administration Center . . . . . . . . . . . . . . . . . . . 11-43Additional Functions to Schedule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-44Student Exercise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-45Review Questions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-46Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-49

Page 44: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

12 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Table of Contents

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Unit 12: Monitoring and Event LoggingIntroduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-2Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-2

Lesson 1: Client Event Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12-3Monitoring and Logging Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-3Client Message Candidates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-4

Loggable Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-4Nonloggable Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-4API Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-5

Client Event Formatting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-6Common Message Repository . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-6Event Formatting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-6Event Content . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-7

Message Formatting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-7

Lesson 2: Event Receiving . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12-8Event Filtering and Logging Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-9

Begin Eventlogging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-9Enable Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-9Disable Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-10Query Enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-11End Eventlogging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-12

Lesson 3: Working with Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12-13Client Event Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-13Enabling Client Events for the Tivoli Storage Manager Console . . . . . . . . . . . . . . . . . . . . . . 12-14Storing Client Events in the Activity Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-16

Pruning the Activity Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-17Retention Period Parameter ACTLOGRET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-17

Querying Client Events in the Activity Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-18Managing Event Logs with the Administration Center . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-20

Client Log Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-21

Lesson 4: Monitoring and Reporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12-22Database Reporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-22SQL Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-23

Lesson 5: IBM Tivoli Storage Manager Operational Reporting . . . . . . . . . .12-24Benefits of Operational Reporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-25

Operational Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-26Hourly Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-27Automatic Backup Failure Notification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-28

For More Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-28Student Exercise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-29Review Questions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-30Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-33

Appendix A: Additional TSM Product InformationIBM Tivoli Storage Manager Product Information on the Web . . . . . . . . . . . . . . . . . . . . . . . . . . A-2Optional Products for IBM Tivoli Storage Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-3

IBM Tivoli Storage Manager for System Backup and Recovery, and Bare Machine Recovery A-5

IBM System Storage Archive Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-6Optional Additions to IBM Tivoli Storage Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-7Hierarchical Storage Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-8

IBM Tivoli Storage Manager for Space Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-9IBM Tivoli Storage Manager HSM for Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-10

Page 45: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 13

• • •••

Table of Contents

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

IBM Tivoli Storage Manager for Storage Area Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-11Continuous Data Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-12

Appendix B: Problem DeterminationResolving Problems with Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-2Problem Determination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-4

Diagnosing the Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-5TSM Problem Determination Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-7What To Do before Calling Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-9Additional Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-10

Education . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-11Education Roadmaps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-12

Product Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-13Other Publications and Product Web Sites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-14TSM Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-15

Additional Assistance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-16

Tivoli Professional Certification

Special Offer For Having Taken This Course . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IWhy Get Certified? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IWhat Is Role-based Certification? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IWhen Should I Attempt a Certification Exam? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IIWhere Can I Take a Certification Exam and How Much Do They Cost? . . . . . . . . . . . . . . . . . . . . IIWhere Can I Get More Information? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . II

Page 46: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

14 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Table of Contents

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Page 47: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

• • • ••

1

Preface

IBM TIVOLI STORAGE MANAGER 5.4 IMPLEMENTATION AND ADMINISTRATION,

PART ONE

Page 48: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

2 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Preface

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Course Description

This five-day instructor-led course provides hands-on practice in implementing a data management strategy with IBM Tivoli Storage Manager 5.4. The course begins with installing the IBM Tivoli Storage Manager 5.4 server, backup-archive clients, and the Integrated Solution Console Administration Center. Students create simple storage pools and subsequently learn to configure hierarchies of storage pools to manage the flow of data from disk to tape media. Next, storage pools are mapped to the data sent by client nodes through IBM Tivoli Storage Manager policies that provide the rules to implement data management service level agreements. Students define new policy domains, policy sets, management classes, backup copy groups, and archive copy groups. To authorize administrators to perform specific storage tasks, students register administrators and grant the privileges required to support specified responsibilities.

Students back up and restore client data, as well as manage long-term and off-site data management through archiving and retrieving of client data. After learning to backup-restore and archive-retrieve data, students practice automating client operations by creating new IBM Tivoli Storage Manager schedules. To monitor client operations, students subsequently learn to configure and manage storage events. Finally, students will learn how to protect their IBM Tivoli Storage Manager server by automating the backup and restore of the IBM Tivoli Storage Manager databases and storage pools from off-site data storage pools.

The Student Exercises are written for Windows 2003 and AIX 5.3. The lecture material covers all supported Intel and UNIX platforms.

This course should be followed by IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part Two.

Audience

This course is intended for system administrators and implementers who will be responsible for implementing an IBM Tivoli Storage Manager 5.4 solution.

Page 49: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 3

• • •••

Preface

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Curriculum Roadmap

Implementer and Administrator Role

This role is for the storage administrator who will be installing and administrating the IBM Tivoli Storage Manager 5.4.

2

IBM Tivoli Storage Manager 5.4 Curriculum Roadmap for Implementers and Administrators

IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One

IBM Tivoli Storage Manager Extended Edition 5.4 Disaster

Recovery

IBM Tivoli Storage Manager 5.4 HSM

and Space Management

IBM Tivoli Storage Manager 5.4

Implementation and Administration, Part

Two

After completing this course, IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One, there are three courses you can take, in any order.

For IBM Tivoli Storage Manager operators, see the online curriculum roadmaps.

You arehere

Page 50: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

4 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Preface

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Where to Find the Training Schedules

The latest information about IBM Tivoli education offerings can be found online at

http://www.ibm.com/software/tivoli/education/.

If you have any questions about IBM education offerings, send an e-mail to the appropriate alias for your region:

– Americas: [email protected]

– Asia Pacific: [email protected]

– EMEA: [email protected]

3

Where to Find More InformationTraining Roadmaps Onlinehttp://www-306.ibm.com/software/tivoli/education/

Page 51: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 5

• • •••

Preface

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Course Prerequisites

The following list contains the prerequisite knowledge or Tivoli product knowledge that you must have before taking the course:

• All students should have a working knowledge of Internet browsers.

• All students should have a basic understanding of client-server concepts.

• For classes taught on a Windows platform, the students should have the skills to navigate through Windows 2000 applications.

• For classes taught on a UNIX platform, you should have experience using the UNIX command-line interface, allocating filesystem space, and connecting devices to a UNIX server.

Page 52: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

6 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Preface

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Course Objectives

4

Course Objectives

• Discuss the features of IBM Tivoli Storage Manager.• Install IBM Tivoli Storage Manager server and backup-archive client.• Navigate the Administrative interfaces. • Explain the concepts of attaching a tape library and preparing media.

• Create and manage storage pools and storage pool volumes.• Define policy management to meet business requirements.• Customize the IBM Tivoli Storage Manager database and recovery log.

• Configure the backup-archive client.• Backup, restore, archive, and retrieve client data.• Protect the IBM Tivoli Storage Manager database and storage pools.• Schedule administrative tasks.• Monitor server and client messages and events.

Upon completion of this course, you will be able to:

Page 53: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 7

• • •••

Preface

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Agenda

5

AgendaDay 1 : •Unit 1: IBM Tivoli Storage Manager Overview•Unit 2: Installing IBM Tivoli Storage Manager Server and Client•Unit 3: Administrative Interfaces and Privileges

Day 2:•Unit 4: Storage Media Devices Introduction•Unit 5: Managing Storage Pools and Storage Pool Volumes•Unit 6: Policy Management

Day 3:•Unit 7: Customizing the Tivoli Storage Manager Database and Recovery Log

•Unit 8: Client Configuration

6

Agenda, continued

Day 4:•Unit 9: Backup-Archive Client Functions•Unit 10: Protecting the Database and Storage Pools

Day 5:•Unit 11: Automating Operations •Unit 12: Monitoring and Event Logging•Appendix A•Appendix B

Page 54: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Preface

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Course Outline

The following is a high-level description of the contents of this course.

This course contains 12 units. Each unit has an overview presentation, and most have a series of student exercises designed to reinforce the concepts presented. This course contains the following units:

• Unit 1: IBM Tivoli Storage Manager Overview

This unit provides an introduction to IBM Tivoli Storage Manager and describes the major functions and features that are currently available. Unless otherwise stated, the topics introduced in this unit will be explained in greater detail in following units.

• Unit 2: Installing IBM Tivoli Storage Manager Server and Client

This unit provides the requirements for the Integrated Solutions Console and the IBM Tivoli Storage Manager components. Topics include basic installation and configuration of the IBM Tivoli Administration Center, IBM Tivoli Storage Manager server, backup-archive client, and device driver.

• Unit 3: Administrative Interfaces and Privileges

This unit explores the new IBM Tivoli Storage Manager’s Administration Center, as well as the other available user interfaces for managing IBM Tivoli Storage Manager. The levels of administrative authority required to administer IBM Tivoli Storage Manager are also presented.

• Unit 4: Storage Media Devices Introduction

This unit introduces devices used to store data. Basic concepts of attaching a tape library and preparing media to work with IBM Tivoli Storage Manager are also discussed.

• Unit 5: Managing Storage Pools and Storage Pool Volumes

In this unit, you will see how to create hierarchical storage pools of different media types to allow for efficient management of your data.

• Unit 6: Policy Management

Policy management enables the administrator to determine a set of rules explaining how IBM Tivoli Storage Manager will treat data. This set of rules is composed of policy domains, policy sets, management classes, and copy groups.

Page 55: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9

• • •••

Preface

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

• Unit 7: Customizing The Tivoli Storage Manager Database and Recovery Log

The Tivoli Storage Manager database is used by the server to manage information about client files. The Tivoli Storage Manager recovery log is used to ensure the consistency and availability of the database. This unit covers how to choose the size and location of the database and recovery log. You will also configure the database and recovery log for improved performance.

• Unit 8: Client Configuration

This unit describes how to manage and configure client options and invoke the backup-archive interfaces available with IBM Tivoli Storage Manager.

• Unit 9: Backup-Archive Client Functions

The backup-archive client communicates with the server and invokes the client functions of Tivoli Storage Manager. The backup-archive client is supported on a variety of platforms that might reside on a user workstation or a LAN server. This unit describes the various methods available to back up, restore, archive, and retrieve data, and what options are available to customize these processes to fit your needs.

• Unit 10: Protecting the Database and Storage Pools

This unit covers backing up and recovering the Tivoli Storage Manager database, recovery log, and storage pools.

• Unit 11: Automating Operations

Central scheduling enables automation of backup, archive, and other processes. Scheduling of IBM Tivoli Storage Manager operations can be done with an external scheduler or with the built-in Tivoli Storage Manager scheduler. The Tivoli Storage Manager administrative interfaces for defining, updating, and deleting schedules will be described in this unit.

• Unit 12: Monitoring and Event Logging

Tivoli Storage Manager provides the ability to log client messages as server events. This unit introduces Tivoli Storage Manager logging and monitoring functions.

Page 56: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Preface

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Typographical Conventions

In this course, the following typographical conventions are used.

Product Information

Software Release Numbers

The Tivoli software and release numbers referred to in this guide are shown in the following table:

Convention Usage

BOLD UPPERCASE Options and parameters, when not shown in examples, will appear in BOLD UPPERCASE.

BoldCommands, keywords, file names, authorization roles, URLs, or other information that you must use literally appear in bold.

ItalicsVariables and values that you must provide appear in italics. Words and phrases that are emphasized also appear in italics.

Bold ItalicsNew terms appear in bold italics when they are defined in the text.

MonospaceCommand examples, output, and system messages appear in a monospace font.

>In this manual, the arrow character is used as a path arrow. The arrow indicates the path to the named window.

Tivoli Software Release Number

IBM Tivoli Storage Manager 5.4

Page 57: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 11

• • •••

Preface

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Product Documentation

IBM Tivoli product documentation is available on the Student Resources CD. For access to documentation outside the classroom environment, visit the IBM Web site.

Suggestions in this Course

Suggestions and best practices provided in this course are the results of product testing and monitoring in a variety of test and production environments. Results may vary in your environment. Refer to the documentation for your platform for more information.

Page 58: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

12 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Preface

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Page 59: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

• • • ••

1-1

Unit 1: IBM Tivoli Storage Manager Overview

Unit 1: IBM Tivoli Storage Manager Overview

Page 60: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

1-2 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 1: IBM Tivoli Storage Manager Overview

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Introduction

This unit provides an introduction to IBM Tivoli Storage Manager and describes the major functions and features that are currently available. Unless otherwise stated, the topics introduced in this unit will be explained in greater detail in following units.

Note: In this course, IBM Tivoli Storage Manager is also referred to as Tivoli Storage Manager and TSM.

Most of the IBM Tivoli Storage Manager commands are platform independent. The examples in this course are shown for Windows and AIX platforms. Refer to the documentation for the other supported platforms for specifics pertaining to commands issued outside of Tivoli Storage Manager.

When commands are shown in mixed case, the capitalized letters are the command shortcut. For the command to query the system, you only need to type q sys. The shortcut looks like this:

Query SYStem

Other terms used in this course:

• Administrative Client – a program that is used to manage the TSM server

• API – application program interface

• Backup-Archive Client – a program that allows backup and recovery of data

• Client (TSM client) – a TSM managed node

• GUI – graphical user interface

• LAN – local area network

• Navigation Tree – an expandable menu that shows directory structures

• Node (managed node) – a workstation or file server with the client installed

• SAN – storage area network

• Select action menu – drop-down menu or expandable text box menu in the Administration Center

• Server (TSM server) – a program that manages Tivoli Storage Manager functions

• Storage Agent – a program that allows backup and recovery on a SAN

• WAN –wide area network

Page 61: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 1-3

• • •••

Unit 1: IBM Tivoli Storage Manager Overview

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Objectives

2

Objectives

Upon completion of this unit, you will be able to:

• Identify how IBM Tivoli Storage Manager serves as a tool for data management and protection.

• Identify major components of the IBM Tivoli Storage Manager solution.

• Identify the IBM Tivoli Data optional products that are part of the IBM Tivoli Storage Manager solution.

Page 62: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

1-4 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 1: IBM Tivoli Storage Manager OverviewProtecting Data with IBM Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 1: Protecting Data with IBM Tivoli Storage Manager

IBM Tivoli Storage Manager: An Enterprise-Wide Solution

IBM Tivoli Storage Manager protects your organization’s data from hardware failures and other errors by managing backup and archive copies of data. These copies should be stored off-site. Designed for a heterogeneous environment, IBM Tivoli Storage Manager connects over the local area network (LAN), wide area network (WAN), Internet, and storage area network (SAN) to provide smart data move and store techniques, comprehensive policy-based automation and data management. Optional modules allow business-critical applications that must run twenty-four hours a day, seven days a week (24x7), to use Tivoli Storage Manager’s centralized data protection with no interruption to their service.

3

Overview of IBM Tivoli Storage Manager: An Enterprise-Wide Solution

•IBM Tivoli Storage Manager stores copies of data off-site.

• IBM Tivoli Storage Manager scales to protect hundreds of computers running a variety of operating systems.

• IBM Tivoli Storage Manager provides intelligent data move and store techniques.

Local Area Network

Storage Area Network

Page 63: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 1-5

• • •••

Unit 1: IBM Tivoli Storage Manager OverviewProtecting Data with IBM Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Components of the IBM Tivoli Storage Manager 5.4 Solution

• Administrative Interface

• Tivoli Storage Manager Server

• Scheduler

• Backup-Archive Client

• Tivoli Storage Manager Database

• Tivoli Storage Manager Recovery Log

• Storage Pools

• Policy-Based Management

• Tape Library

For information about supported devices, check the IBM Tivoli Storage Manager supported devices links at http://www.ibm.com/software/tivoli/products/storage-mgr/platforms.html.

4

IBM Tivoli Storage Manager Components

recovery log

TSM database

storage pools

policy-based management

backup-archivescheduler

Administration Center

storage devices

TSM backup-archiveand Web clients

administrativescheduler

TSM server

Page 64: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

1-6 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 1: IBM Tivoli Storage Manager OverviewProtecting Data with IBM Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Administrative Interface

The Tivoli Storage Manager Administration Center, which operates on the Integrated Solutions Console (ISC), provides a task-oriented graphical user interface for storage administrators. Tasks such as creating server maintenance scripts, scheduling, adding storage devices, setting policy domains, user management, and viewing the Health Monitor are some of the tasks the Administration Center provides.

Command line, graphical user interface (GUI) and a Web client are also provided.

Administrative interfaces are covered in Unit 3.

5

Interfaces

Windows MMC ConsoleTSM Sever GUI

dsmadmc, Administration Center, and Server Console

TSM Server Command Line

dsmcBA Client Command Line

Web browser and port 1581Web Client GUI

dsm (Windows)

dsmj (UNIX)

Backup-Archive (BA) Client GUI

ISC logonAdministration Center GUI

How interface is accessed:Interface:

Page 65: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 1-7

• • •••

Unit 1: IBM Tivoli Storage Manager OverviewProtecting Data with IBM Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Tivoli Storage Manager Server

6

Tivoli Storage Manager Server

In a traditional LAN configuration, the role of a Tivoli StorageManager server is to store the backup or archive data from the backup-archive clients that it supports to storage media. The server also has a database of information to keep track of the data it manages, including policy management objects, users and administrators, and client nodes.

Tivoli Storage Manager server refers to an instance, not a physical system. You can have multiple instances of the server on the same system.

Page 66: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

1-8 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 1: IBM Tivoli Storage Manager OverviewProtecting Data with IBM Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Scheduler

Administrative scheduling and client scheduling are covered in Unit 11.

7

Scheduler

Administrator-defined schedules allow for the automation of Tivoli Storage Manager server and backup-archive client operations. A comprehensive and integrated set of schedules can provide the basis for efficient data management with little need for intervention during normal operations.

Scheduling Tivoli Storage Manager backup-archive client operations consists of schedules on the Tivoli Storage Manager server and a scheduler component that runs on the Tivoli StorageManager backup-archive client machine.

Page 67: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 1-9

• • •••

Unit 1: IBM Tivoli Storage Manager OverviewProtecting Data with IBM Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Backup-Archive Client

A backup-archive client can actually be a server. Application servers and file servers, as well as desktop workstations and portable PCs, are backup-archive clients to the Tivoli Storage Manager server.

8

Backup-Archive Client

The TSM backup-archive client is a service which sends data to and retrieves data from, a TSM server. The TSM backup-archive client must be installed on every machine that needs to transferdata to server-managed storage called storage pools. The TSM server uses a unique node name to identify each TSM backup-archive client instance. The TSM backup-archive client supports encryption, and a password can be used to authenticate communications between the TSM backup-archive client and server. Data can be recovered to the same client machine that initially transferred it or to another client with a compatible file system format if that client has provided permission.

Page 68: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

1-10 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 1: IBM Tivoli Storage Manager OverviewProtecting Data with IBM Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Tivoli Storage Manager Database

The Tivoli Storage Manager database does not require database administration skills to manage.

The TSM database is discussed in Unit 7.

9

Tivoli Storage Manager Database

Tivoli Storage Manager saves information in the Tivoli Storage Manager database about each file, raw logical volume, or database that it backs up, archives, or migrates. This information includes the file name, file size, management class, copy group, location of the files in Tivoli Storage Manager server storage, and all other information except for the data. Data is stored in a storage pool.

The Tivoli Storage Manager database is the heart of IBM Tivoli Storage Manager. Later in this course you will see how to protect the TSM database, because without the database, data cannot be restored.

Page 69: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 1-11

• • •••

Unit 1: IBM Tivoli Storage Manager OverviewProtecting Data with IBM Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Tivoli Storage Manager Recovery Log

The recovery log is covered in Unit 7.

10

Tivoli Storage Manager Recovery Log

The recovery log, which is structured like the Tivoli Storage Manager database, keeps track of all changes made to the database. If a system outage were to occur, a record of the changes would be available for recovery.

Page 70: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

1-12 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 1: IBM Tivoli Storage Manager OverviewProtecting Data with IBM Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Storage Pools

Managing storage pools and storage pool volumes is covered in Unit 5. In Unit 10, protecting the storage pools is described.

A storage pool volume is the basic unit of storage for the IBM Tivoli Storage Manager storage pools. A volume can be a logical volume, a standard file system file, a tape cartridge, or an optical cartridge. Each volume is identified by a unique volume identifier.

11

Storage Pools

Storage pools are collections of like media that provide storage for backed up, archived, and migrated files. These pools can be chained in order to create a storage hierarchy. The representation below shows the example of data migrating from disk to disks or files to tape pools. Any supported sequential media can be used in the lower two pools.

Page 71: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 1-13

• • •••

Unit 1: IBM Tivoli Storage Manager OverviewProtecting Data with IBM Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Policy-Based Approach to Data Management

Backup-archive client data is centrally managed by business policy. Policies are created by the administrator and stored in the database on the server.

Policies are defined based on the business requirements for data backup and retention. These requirements, sometimes referred to as a storage service level agreement, identify when backups will be performed, how long and how many copies of files will be retained, and other requirements specified by the customer. This feature makes it possible for different departments with different types of data to have their own customized storage management plan.

Policies are covered in Unit 6.

12

Policy-Based Approach to Data Management

Policies enable data management based on business requirements bydefining:

• Which files are eligible for back up• Which files are eligible for archive• Where the data is stored• How long the data is retained• How many versions are retained

Page 72: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

1-14 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 1: IBM Tivoli Storage Manager OverviewProtecting Data with IBM Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Tape Library

Configuration steps for adding a tape library are discussed in Unit 4.

13

Tape Library

IBM Tivoli Storage Manager supports a variety of library types, including manual libraries, SCSI libraries, 349X and 358X (LTO) libraries, and external libraries. A tape library is essentially a box that holds drives and cartridges, and provides automation for tape operation.

Page 73: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 1-15

• • •••

Unit 1: IBM Tivoli Storage Manager OverviewProtecting Data with IBM Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Backup-Restore Functionality Provided by IBM Tivoli Storage Manager

Tivoli Storage Manager can perform backups of both files and raw logical volumes. When backing up files, the Tivoli Storage Manager server database keeps a list of all files and their attributes (time, date, size, access control lists, and extended attributes).

Raw logical volumes are treated as separate entities, and the management class policy is applied to the entire image as a whole. There is no tracking of individual files in an image backup because it is treated as a separate object.

• Backup – Creates a copy of a file to protect against the operational loss or destruction of that file. Customers control backups by defining the backup frequency and number of versions.

• Restore – Places backup copies of files into a customer-designated system or workstation after the loss of a file. By default, the most recent version of each active file requested is replaced.

There are four levels of backup available: byte level (small amounts of data, like on notebook computers), block level (bigger amounts of data, between 40 KB and 2 MB), file level (normal files), and image level (includes file system and files).

IBM Tivoli Storage Manager uses Progressive Backup Methodology, also known as Incremental backups. Backup and restore functions are covered in Unit 10.

14

Backup-Restore Functionality with IBM Tivoli Storage Manager

BACKUP

The backup-archiveclients send copies of files to Tivoli Storage Manager server.

RESTORE

The files are returned to the backup-archive client..

The Tivoli Storage Manager server stores the copies in the storage pools.

When a restore is requested by the backup-archive client, the storage pool sends the copy back to the server.

Page 74: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

1-16 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 1: IBM Tivoli Storage Manager OverviewProtecting Data with IBM Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Long-Term Storage Capabilities Provided through the Archive-Retrieve Function

The Tivoli Storage Manager archive function stores selected files unconditionally on the server, according to the applicable management class limits. Unconditionally means that there is no version limit, and the files will be retained for the defined time period regardless of whether they are deleted on the client.

Archiving is useful when you want to store data that is infrequently accessed but must still be kept available. Also it is not uncommon to have a legal requirement to archive business records for extended periods of time, and the archive function is ideal for this purpose. IBM Tivoli Storage Manager has the capability of archiving for 30 years.

• Archive – Creates a copy of a file or set of files for vital record retention of data, such as patent information, financial information, or customer records. Customers control archive by defining the retention period. This feature enables customers to keep unlimited archive copies of a file.

• Retrieve – Allows users to copy an archive file from the storage pool to the workstation. The archive copy in the storage pool is not affected.

Archive and retrieve functions are covered in Unit 9.

15

ARCHIVE

The backup-archiveclients send copies of files for retention to Tivoli Storage Manager server.

RETRIEVE

A copy of the files are returned to the backup-archive client..

The Tivoli Storage Manager server stores the copies in the storage pools.

When a retrieve is requested by the backup-archive client, the storage pool sends a copy of the data retained in the storage pool.

Archive-Retrieve Functionality with IBM Tivoli Storage Manager

Page 75: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 1-17

• • •••

Unit 1: IBM Tivoli Storage Manager OverviewProtecting Data with IBM Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Administrator Management Capabilities

IBM Tivoli Storage Manager enables customers to register administrators and to grant administrators the ability to accomplish specific tasks. Administrators can access the user interfaces to issue queries and perform Tivoli Storage Manager tasks. To perform other server functions, administrators must be granted authority by being assigned one or more administrative privilege classes.

E

16

Administrator Management Capabilities

Storage Privileges Database, recovery log, and storage pool management.

System Privileges All Tivoli Storage Manager server tasks.

Analyst Privileges Review and reset server statistics.

Node Privileges Client actions, product usage, and activity monitoring.

Operator Privileges Commands for server availability, resource usage, and physical media management.

Policy Privileges Policy domain, policy set, management class, copy group, and schedule management.

Page 76: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

1-18 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 1: IBM Tivoli Storage Manager OverviewProtecting Data with IBM Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

The Administration Center on the Integrated Solutions Console

The graphical user interface (GUI) for managing IBM Tivoli Storage Manager administrative functions is called the Administration Center. This GUI runs on IBM’s Integrated Solutions Console (ISC), a WebSphere application designed for centralized management of IBM enterprise applications, including IBM Tivoli Storage Manager.

17

IBM Tivoli Storage Manager’s Administration Center on the Integrated Solutions Console

The Administration Center provides centralized IBM Tivoli Storage Manager enterprise management from the Integrated Solutions Console (ISC).

Page 77: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 1-19

• • •••

Unit 1: IBM Tivoli Storage Manager OverviewProtecting Data with IBM Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Managing IBM Tivoli Storage Manager with the Administration Center

These tasks will be explored in detail in the following units of this course.

Automation Capabilities Provided by IBM Tivoli Storage Manager

IBM Tivoli Storage Manager includes a central scheduling component that allows the automatic processing of administrative commands and backup-archive client operations during a specific time period when the schedule is activated. An administrator is responsible for creating and maintaining the schedules in each policy domain. Tivoli Storage Manager scheduling is split into two categories: administrative scheduling and backup-archive client scheduling.

Note: IBM Tivoli Storage Manager’s administration functions can also be issued from a command line. Some command-line examples are included in this course. For details on command-line syntax, refer to the user’s documentation provided with your product.

18

Benefits of the IBM Tivoli Storage Manager Administrative Center:• Centralized Web administration of multiple TSM servers• Access to administrative command line• Administrative task wizards to manage:

• Enterprise configuration• Storage devices• Policies• Client nodes• Service maintenance

Managing IBM Tivoli Storage Manager with the Administration Center

Administration Center

Page 78: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

1-20 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 1: IBM Tivoli Storage Manager OverviewData Storage and Data Management

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 2: Data Storage and Data Management

Types of Storage Media on which Tivoli Storage Manager Stores Data

Storage media can be disks and sequential media, like optical and tape, assigned to a storage pool, which is the data area on the Tivoli Storage Manager server that holds client backup-archive data.

For sequential access storage, Tivoli Storage Manager supports many device and media types. To obtain the most recent list of supported devices, check the IBM Web site.

Storage pools contain backup files, archived files and space managed files. These storage pools are chained in order to create a storage hierarchy. The disk pool is usually first in the chain and is generally followed by tape. This is called a hierarchy.

19

Types of Storage Media on which Tivoli Storage Manager Stores Data

Tivoli Storage Manager supports many tape and optical libraries and a variety of storage media types, such as:

WORMOpticalDisk

CD-RWDVD-RAMFile

storage pool

Tivoli Storage Manager server

Page 79: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 1-21

• • •••

Unit 1: IBM Tivoli Storage Manager OverviewData Storage and Data Management

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Optional IBM Tivoli Storage Manager Products

This course covers the basic IBM Tivoli Storage Manager functions. These additional products and features are briefly discussed in Appendix A and covered in other IBM Tivoli Storage Manager classes.

20

Optional Products for IBM Tivoli Storage Manager

• IBM Tivoli Storage Manager for Mail• IBM Tivoli Storage Manager for Hardware• IBM Tivoli Storage Manager for Databases• IBM Tivoli Storage Manager for Application Servers• IBM Tivoli Storage Manager for Enterprise Resource Planning

• These products were previously known as Tivoli Data Protection agents, or TDPs.

• IBM Tivoli Storage Manager for System Backup and Recovery• Previously known as Tivoli SysBack

• IBM System Storage Archive Manager• Previously known as IBM Tivoli Storage Manager for Data Retention

Page 80: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

1-22 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 1: IBM Tivoli Storage Manager OverviewData Storage and Data Management

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

IBM Tivoli Storage Manager’s Disaster Preparation and Recovery

IBM Tivoli Storage Manager’s Disaster Preparation and Recovery, or Disaster Recovery Manager (DRM), is covered in detail in the IBM Tivoli Storage Manager Extended Edition 5.4 Disaster Recovery Manager course (see the IBM Web site for IBM Tivoli Storage Manager curriculum roadmap). It is discussed here, since DRM is mentioned as a best practice for protecting your TSM database.

IBM Tivoli Storage Manager’s Disaster Preparation and Recovery offers various options to configure, control, and automatically generate a disaster recovery plan containing the information, scripts, and procedures needed to automate restoration and help ensure quick recovery of your data after a disaster. It also manages and tracks the media on which your data is stored, whether on-site, in transit, or in a vault, so that your data can be easily located if disaster strikes. The scripts can help you document your basic information technology recovery strategy, the steps to rebuild your core systems, and the critical machines that you must recover.

21

IBM Tivoli Storage Manager’s Disaster Preparation and Recovery

With Disaster Recovery Management, you can:• Prepare a disaster recovery plan.• Manage your off-site volumes and track media.• Manage your client data.

Page 81: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 1-23

• • •••

Unit 1: IBM Tivoli Storage Manager OverviewLicensing

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 3: Licensing

IBM Tivoli Storage Manager Licensing

There are three license types for IBM Tivoli Storage Manager version 5.4. They are tsmbasic.lic for the basic version of IBM Tivoli Storage Manager 5.4, tsmee.lic for the Extended Edition of IBM Tivoli Storage Manager version 5.4, and dataret.lic for the IBM Tivoli Storage Manager for Data Retention version 5.4.

For the Extended Edition license, you choose the advanced storage management functions you will need.

Always read the documentation shipped with the product code for the latest information on licensing.

Upgrading from IBM Tivoli Storage Manager Express

When the TSM Extended Edition license is installed on a system upgrading from TSM Express, it automatically upgrades the Express license.

22

IBM Tivoli Storage Manager Licensing

•Licensing for all systems must be at either the IBM Tivoli Storage Manager or IBM Tivoli Storage Manager Extended Edition level.

•Licenses cannot be mixed at a site level.•There are three license files:

• tsmbasic.lic• tsmee.lic• dataret.lic

For licensing information, refer to the document titled IBM Tivoli Storage Manager Read This First.

Page 82: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

1-24 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 1: IBM Tivoli Storage Manager OverviewLicensing

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Review Questions

1. Which of these actions copies the file, and then copies the changed portion of that file to protect it against operational loss or destruction?

a. archive

b. backup

c. retrieve

d. restore

2. Which of the following functions returns the backup copies of files?

a. return

b. recall

c. retrieve

d. restore

3. IBM Tivoli Storage Manager uses a _______________ backup methodology to back up only changed data.

4. The Tivoli Storage Manager ___________ client must be installed on every machine that will transfer data to server-managed storage.

5. IBM Tivoli Storage Manager saves information in the TSM _________________ about each file that it backs up, archives, or migrates.

Page 83: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

Unit 1: IBM Tivoli Storage Manager OverviewLicensing

Review answers begin on the next page.

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 1-25

• • •••

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Page 84: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

1-26 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 1: IBM Tivoli Storage Manager OverviewLicensing

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Review Answers

1. Which of these actions copies the file, and then copies the changed portion of that file to protect it against operational loss or destruction?

a. archive

b. backup

c. retrieve

d. restore

b. backup

2. Which of the following functions returns the backup copies of files?

a. return

b. recall

c. retrieve

d. restore

d. restore

3. IBM Tivoli Storage Manager uses a _______________ backup methodology to back up only changed data.

progressive or incremental

4. The Tivoli Storage Manager ___________ client must be installed on every machine that will transfer data to server-managed storage.

backup-archive

5. IBM Tivoli Storage Manager saves information in the Tivoli Storage Manager _________________ about each file that it backs up, archives, or migrates.

database

Page 85: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 1-27

• • •••

Unit 1: IBM Tivoli Storage Manager OverviewLicensing

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Summary

23

Summary

You should now be able to:

• Identify how IBM Tivoli Storage Manager serves as a tool for data management and protection.

• Identify major components of the IBM Tivoli Storage Manager solution.

• Identify the IBM Tivoli Data Protection products that are part of the IBM Tivoli Storage Manager solution.

Page 86: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

1-28 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 1: IBM Tivoli Storage Manager OverviewLicensing

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Page 87: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

• • • ••

2-1

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage Devices

Unit 2: Installing IBM Tivoli Storage Manager

Page 88: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

2-2 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage Devices

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Introduction

This unit provides the requirements for the Integrated Solutions Console and the IBM Tivoli Storage Manager components. Topics include basic installation and configuration of the IBM Tivoli Administration Center, IBM Tivoli Storage Manager server, backup-archive client, and device driver.

Objectives

2

Objectives

Upon completion of this unit, you will be able to:

• Describe the Integrated Solutions Console installation requirements.

• Install IBM Tivoli Storage Manager Administration Center. • Install IBM Tivoli Storage Manager server.• Install IBM Tivoli Storage Manager backup-archive clients.• Install the administrative command line.• Describe the IBM Tivoli Storage Manager device driver

installation.

Page 89: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 2-3

• • •••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInstallation Overview

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 1: Installation Overview

IBM Tivoli Storage Manager 5.4 Packaging Contents

Tivoli Storage Manager:

• Operational Reporting

• Administration Center

• Linux Server

• HP-UX Server

• Solaris Server

• Windows Server

• AIX Server

• Desktop Clients (Windows Clients)

3

Installation Overview

Refer to the Installation Guidefor your platform for the steps to perform the installation.

TSM 5.4 Installation Guide

The following components will need to be installed:

• IBM Tivoli Storage Manager Server• IBM Tivoli Storage Manager Backup-Archive Client• IBM Integrated Solutions Console (ISC)• IBM Tivoli Storage Manager Administration Center

Page 90: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

2-4 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInstallation Overview

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

• AIX Clients

• OS/400 API Clients

• Linux CLients

• UNIX Clients (non-AIX)

IBM Integrated Solutions Console version 6.0.1.1 (version 6.0.1 with fix pack 1):

• AIX for use with Tivoli Storage Manager Administration Center

• Windows for use with Tivoli Storage Manager Administration Center

• Linux xSeries for use with Tivoli Storage Manager Administration Center

• Solaris for use with Tivoli Storage Manager Administration Center

Note:

• If ISC 5.1 is installed, the package will install ISC 6.0.1.0 and then install ISC Fix Pack 1.

• If ISC 6.0.1.0 is already installed, the package will only install ISC Fix Pack 1.

• In all cases, ISC 6.0.1.1 will become the installed version.

Page 91: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 2-5

• • •••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInstallation Overview

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

System Requirements for IBM Tivoli Storage Manager Server

This course describes performing a new installation. To update an existing version of Tivoli Storage Manager, refer to the product documentation.

Install and use JRE 1.4.1 to optimize performance of the Java backup-archive client.

Tivoli Storage Manager implements a simple network management protocol (SNMP) subagent. You can configure the SNMP subagent to send traps to an SNMP manager, such as Tivoli NetView, and to provide support for a management information base (MIB). For details about configuring SNMP for use with Tivoli Storage Manager, see the Administrator's Guide.

Note: Refer to the IBM Web site for the latest information about supported operating environments for Tivoli Storage Manager.

4System Requirements for IBM Tivoli Storage Manager Server

TCP/IPNamed PipesShared Memory

TCP/IPSNMP DPI ®Shared Memory

ClientCommunication Method

Microsoft Internet Explorer 6.xMozilla 1.0.2, 1.3, and 1.4

Mozilla 1.0.2, 1.3, and 1.4Mozilla Firefox 1.0

Web Browser

128 MB (256 MB is preferred)

1 GB Memory

110 MB200 MB Disk Space

Microsoft Windows 2003 Server

AIX ® 5.1 or aboveOperating System

Intel Pentium ® processor or compatible multiprocessor based system

RISC System/6000 ® or pSeries system

Hardware

WindowsAIXRequirements for:

Page 92: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

2-6 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInstallation Overview

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Backup-Archive Client Prerequisites

IBM Tivoli Storage Manager, version 5.3 clients are supported on the following operating systems:

• AIX 5.1, 5.2, and 5.3 (32-bit and 64-bit)

• HP/UX 11.0, 11i (32-bit and 64-bit)

• Linux x86 2.4 kernel (Red Hat 7.2, 7.3, 8, and Advanced Server 2.1; SuSE 7.3, 8.0, 8.1, and SLES 7 and 8; TurboLinux 7.5, and 8.0)

• Linux for pSeries 2.4 kernel (SuSE 8.0)

• Linux/390 and zSeries 2.4 kernel (SuSE Linux Enterprise Server 7 and 8)

• Macintosh, X(10).x

• Novell NetWare 5.1, 6

• OS/390, zSeries USS (S/390 V2R10 with SMP/E, z/OS V1R1, V1R2, V1R3, and V1R4)

• OS/400 5.1 or 5.2 API client

• SGI IRIX UNIX, Release 6.5 with EFS or XFS File Systems (with V5.1 functional client)

• Sun Solaris, 7, 8, or 9 (32-bit or 64 bit)

• Tru64 UNIX, Version 5.1A (with V5.1 functional client)

• Windows XP (32 bit and 64 bit), Windows Server 2003 (32 bit or 64 bit), Windows 2000 Professional, Advanced Server, and Datacenter Server

• Windows NT 4.0 SP5 and SP6a (with V5.1 functional client)

• Check the IBM Web site for a complete list.

Page 93: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 2-7

• • •••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInstallation Overview

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Integrated Solutions Console and TSM Administration Center

The Administration Center is a Web-based interface that can be used to centrally configure and manage IBM Tivoli Storage Manager servers. The Administration Center is installed as an IBM Integrated Solutions Console component. The Integrated Solutions Console, an IBM WebSphere application, allows you to install and access components provided by multiple IBM applications. It makes tasks easier by grouping previously separate tasks together to make a process simpler such as adding hardware or creating new storage pools.

5

Integrated Solutions Console and TSM Administration Center

TSMServer

TSMServer

TSMServer

B-AClient

B-AClient

B-AClient B-A

ClientB-A

Client

B-AClient

B-AClient

B-AClient

B-AClientTSM

AdministrationCenter

ISC

Page 94: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

2-8 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInstallation Overview

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

ISC and Administration Center Requirements

See the README file for details regarding operating system fixes and patches.

6ISC and Administration Center—Hardware Requirements

Refer to the Installation Guide and README file (on your Student Resources CD).

Processor

A network adapter and connection to a physical network that can carry IP packets

Network connectivity

Double the physical memoryVirtual memory or swap space

Installation media location: 505 MBTemporary space: 75 MBInstallation location: 650 MB

Disk space

1 GB or more for runtime installationsPhysical memory

Also required:• Port 8421• A static IP address• A configured, fullyqualified host name

Always check the IBM Web site for latest requirements.

7

Administration Center Requirements

• Only ISC 6.0.1.1 is supported. • ISC platforms supported:

SUSE Linux Enterprise Server (SLES) 10Solaris 10 Red Hat Enterprise Linux (RHEL) 5 Internet Explorer 7 for XP Internet Explorer 7 for Vista Firefox 2.0

• TSM Server 5.3.0 or higher. • Migration is handled by the install package.

Always check the IBM Web site for latest requirements

Browsers:• Microsoft Internet Explorer 6.x (Windows only)• Mozilla 1.0.2, 1.3 and 1.4, including Mozilla Firefox 1.0• JRE 1.4.1 or higher• Macromedia Flash Plug-in (required for the included tutorials)

Page 95: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 2-9

• • •••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInstalling IBM Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 2: Installing IBM Tivoli Storage Manager

Installing IBM Tivoli Storage Manager on Windows

After inserting the IBM Tivoli Storage Manager Windows Server CD, the CD browser appears with a main menu. IBM Tivoli Storage Manager will let you know if it detects a previous version installed.

Installing Tivoli Storage Manager Server on Windows is a simple InstallShield process. You will be prompted to enter the language for the installation. This language setting applies only to the language used for the installation.

8

Installing IBM Tivoli Storage Manager Server on Windows: Main Menu

Page 96: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

2-10 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInstalling IBM Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Select Product to Install

Selecting Install Products will display the Install Products window. The installation sequence is indicated by the product layout provided on the Install Products screen.

The default user ID is admin and the default password is admin.

9

Select Product to Install

Page 97: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 2-11

• • •••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInstalling IBM Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Install TSM Server

10

Install TSM Server

11

Start Installation and Accept License Agreement

Page 98: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

2-12 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInstalling IBM Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Follow the Wizard Steps

Use the Custom installation type if you want to specify parameters such as an installation directory or language support.

Note: If all of your servers have the default name, SERVER1, you will be able to add only one of them to the Administration Center. Use the set servername command to specify the new server name.

12

Customer Information and Select Type Screens

Page 99: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 2-13

• • •••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInstalling IBM Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Installing and Completing the InstallShield Wizard

13

Installing

14

Server Installation is Complete

Page 100: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

2-14 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInstalling IBM Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

TSM Server Licenses

15

TSM Server Licenses

16

Complete all wizard steps.

License Installation

Page 101: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 2-15

• • •••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInstalling IBM Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Install Language Packs

.

17

Install Language Packs, If Required

Page 102: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

2-16 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInstalling IBM Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Install Device Drivers

To use a device, you must install the appropriate device driver. Tivoli Storage Manager provides its own device driver for non-IBM devices. For Windows platforms, an InstallShield Wizard is provided for modifying, repairing, installing, or removing the IBM Tivoli Storage Manager device driver.

Tivoli Storage Manager also supports non-IBM vendor device drivers if the devices are associated with the GENERICTAPE device class and the hardware vendor also supports that device driver. Using a device class other than GENERICTAPE with a non-IBM vendor device driver is not suggested.

The Tivoli Storage Manager device driver is generally preferred for use with Tivoli Storage Manager. It is required for use with automated library devices and optical disk devices unless you are using Windows Removable Storage Manager to manage media. Refer to your device manufacturer’s documentation.

18

Complete all wizard steps.

Install Device Drivers

Use IBM device drivers for IBM libraries.

Page 103: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 2-17

• • •••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInstalling IBM Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Installing Tivoli Storage Manager on AIX

The AIX installation of IBM Tivoli Storage Manager 5.4 is performed using smit or smitty. Choose Software Installation and Maintenance > Install and Update Software > Install and Update from ALL Available Software. Select the input device, list and select software, and accept new license agreements.

The server directory (/usr/tivoli/tsm/server/bin) contains:

• Storage pool volumes (backup.dsm, archive.dsm, spcmgmt.dsm)

• Database volume (db.dsm)

• Recovery log volume (log.dsm)

• Server code and licensing

Using smit or smitty, fill in the fields to install the Tivoli Storage Manager server.

When installing the IBM Tivoli Storage Manager Server on AIX, you will choose between the 32-bit platform and the 64-bit platform files.

Issue the following command to see if your AIX system is 32 bit or 64 bit.

bootinfo -K

19

Installing Tivoli Storage Manager on AIX

The packages selected during the server installation on AIX include:

•Server code•Message catalog•License support

smitty

Page 104: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

2-18 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInstalling IBM Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

The following packages install the Tivoli Storage Manager server:

• tivoli.tsm.server.com (for both 32 bit and 64 bit)

• tivoli.tsm.server.rte for 32 bit

• tivoli.tsm.server.aix5.rte

Smit or Smitty Installation Fields

20

Complete the Smit or Smitty Installation Fields

Page 105: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 2-19

• • •••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInstalling IBM Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Installation Steps

21

1. Halt the Tivoli Storage Manager server from the Tivoli Storage Manager server console or from an Administrative client session.

2. Log in as the root user. If you do not log in as root, certain key Tivoli Storage Manager functions will not work properly.

3. Load the AIX server CD into the selected drive. 4. Access smit and make selections according to the level of

your AIX operating system.

5. Then select

AIX Installation Steps

smitty install_update

Install and Update Software Install and Update from ALL Available Software

22

AIX Installation Steps, continued

6. Select the INPUT device that you are using for the installation. You can enter the drive name in the window or press F4 to access the device list. If you press F4, select the CD drive that you are using for the installation (for example, /dev/cd0).

7. Press Enter. 8. Select Software to Install. The value of the environment

variable LANG controls which translated messages, help, and device selection messages in smit are automatically installed.

9. Press F4 or Esc + 4 for the latest available software packages.

10. Select the appropriate file sets to install for your configuration: F7 or Esc + 7.

11. Accept new license agreements. 12. If you are working in a language other than U.S. English,

you must also install your specific language pack in addition to the required U.S. English language pack.

13. Press Enter.

Page 106: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

2-20 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInstalling IBM Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Installation Steps, continued

23

AIX Installation Steps, continued

14. Set COMMIT software updates? to yes: F4 or Esc + 4. 15. Set SAVE replaced files? to No. 16. Check the default settings for the options on this window.

Ensure all your selected file sets show success. 17. Press Enter. 18. smit responds:

19. Press Enter. This installation can take several minutes. 20. After the installation is complete, press F10 to exit from

smit, and remove the CD.

ARE YOU SURE?...

Page 107: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 2-21

• • •••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInstalling IBM Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Installing Message Catalog (Languages) and Device Driver

24

Installing a Message Catalog for a Specific Language on AIX

For example:

tivoli.tsm.msg.en_US.server

If you are running with 32-bit or 64-bit hardware, install the message catalogs that correspond to the appropriate language for the environment.

25

Installing the Device Driver on AIX

The packages installed during the server installation process that provide SCSI and Fibre Channel Protocol (FCP) support are:

• tivoli.tsm.msg.en-US.devices• tivoli.tsm.devices.aix5.rte

For AIX 5.1 and later, tivoli.tsm.devices.aix5.rte is required, regardless of the kernel mode.

Use IBM device drivers for IBM libraries.

Page 108: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

2-22 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesWhat the Server Installs

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 3: What the Server Installs

When the installation is complete, the TSM server will have created the components listed on the slide. These components will be explored in greater detail in following units.

Basic Components Installed by IBM Tivoli Storage Manager

The basic Tivoli Storage Manager server installation will create the following:

• TSM Database – Contains information about policy, schedules, and the activity log.

• Recovery Log – Contains information about all changes to the database.

• DSMSERV.OPT – Contains server configuration options.

• DSMSERV.DSK – (on most platforms) Identifies the fully qualified name of the database and recovery log.

26

Basic Components Installed by IBM Tivoli Storage Manager

TSMdatabase

recoverylog

schedule

DSMSERV.OPTDSMSERV.DSK

policy

BACKUPPOOL

ARCHIVEPOOL

SPACEMGPOOLDISKPOOL(Windows)

FILPOOL1(Windows;

Minimum Configuration)

Page 109: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 2-23

• • •••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesWhat the Server Installs

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

• BACKUPPOOL – Disk storage for backed up data.

• ARCHIVEPOOL – Disk storage for archived data.

• SPACEMGPOOL – Disk storage for data. This pool is used to save space.

• DISKPOOL – Disk storage on Windows only.

• FILPOOL1 – Disk storage with a device class of file, on Windows (using the minimal configuration option) only.

• POLICIES – The two default Policy Sets are named ACTIVE and STANDARD.

• SCHEDULES – The two default schedules are named DAILY_INCR and WEEKLY_INCR.

Page 110: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

2-24 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesWhat the Server Installs

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Files Created during Installation

When installing with the minimal configuration method, Filpool1 is created.

27

Files Created during Installation

Points to diskpoolspcmgmt.dsm8 MB

Spacemgpool fileSpacemgpool size

disk1.dsm4 MB

not applicableDiskpool fileDiskpool size

Points to diskpoolarchive.dsm8 MB

Archivepool fileArchivepool size

Points to diskpoolbackup.dsm8 MB

Backuppool fileBackuppool size

dsmserv.optdsmserv.optServer option file

log1.dsm9 MB

log.dsm9 MB

Recovery log fileRecovery log size

db1.dsm13 MB

db.dsm17 MB

Database fileDatabase size

WindowsAIXServer installation created files

Page 111: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 2-25

• • •••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesWhat the Server Installs

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Verify that the Server Installation Has Completed Successfully

Installations can be verified on Windows systems by viewing the initserv.log file. On AIX systems, examine the contents of the install.trace file located in the TSM server installation directory.

28

Verify that the Server Installation Has Completed Successfully

initserv.log (Windows)

install.trace (AIX)

Once you have the backup-archive client installed, back up client data from a backup-archive client to verify the server was installed successfully. Do not exceed your storage pool capacity.

TSM server

Page 112: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

2-26 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInstalling the IBM Integrated Solutions Console ISC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 4: Installing the IBM Integrated Solutions Console ISC

Course prerequisites assume program installation knowledge on your Tivoli Storage Manager server and client platform. Installation is one case where platform-specific issues come up. This classuses the Windows 2003 or AIX platform for the exercises.

After reading the README file for system fixes and patches, install the ISC by following the InstallShield steps.

29

Installing the IBM Integrated Solutions Console (ISC)

Page 113: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 2-27

• • •••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInstalling the IBM Integrated Solutions Console ISC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Verify Space Requirements

Use the information in the README file to plan which server to use for the ISC.

30

Space for Installation

Page 114: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

2-28 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInstalling the IBM Integrated Solutions Console ISC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Accept License Agreement

In the lab exercises, the user ID is iscadmin and the password is iscadmin.

31

License Agreement

32

User ID and Password

Page 115: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 2-29

• • •••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInstalling the IBM Integrated Solutions Console ISC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Select Directory, Paths, and Review Installation Information

33

Directory and Ports

34

Review before Installing

Page 116: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

2-30 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInstalling the IBM Integrated Solutions Console ISC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

ISC Installation Steps

35

Installation Steps

36

ISC Installation Summary

Page 117: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 2-31

• • •••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesAdministration Center Installation

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 5: Administration Center Installation

After installing the ISC, install the IBM Tivoli Storage Manager Administration Center.

37

Administration Center Installation

Page 118: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

2-32 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesAdministration Center Installation

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

ISC Configuration and Option Summary

38

After accepting the license agreement, verify or update ISC information.

Verify or Update ISC Configuration Information

39

After entering the ISC ID and password and enabling non-English language support if updating from a previous version, review theinstallation summary page and begin the installation.

Installation Options Summary

Page 119: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 2-33

• • •••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesAdministration Center Installation

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

InstallShield Installs the Administration Center

40

InStallShield Wizard

41

http://<hostname>:8421/ibm/console

Successful Installation

Page 120: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

2-34 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInstalling the Backup-Archive Client

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 6: Installing the Backup-Archive Client

The Windows platform provides an InstallShield Wizard for the IBM Tivoli Storage Manager client. Note that you must do a Custom installation in order to have the administrative client installed. Be sure to read all readme documentation provided before you start installing any Tivoli Storage Manager code.

42

Backup-Archive Client Installation

Page 121: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 2-35

• • •••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInstalling the Backup-Archive Client

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Destination Folder

The default user ID and password are client.

43

Destination Folder

Page 122: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

2-36 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInstalling the Backup-Archive Client

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Custom Install

On AIX, the dsmadmc interface is installed automatically.

44

Custom Install – Include Administrative Client Command Line

45

Language Packs

Page 123: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

Web Client

46

Web Client

The Web client runs on port 1581 with the following browsers:

• Microsoft Internet Explorer 5.0 or higher with JRE 1.4.1 or higher.

• Mozilla 1.4 or higher, or Mozilla Firefox 1.0 with (JRE 1.4.1 or higher AIX and Linux clients).

To run the Web client from Mozilla browsers, enable JavaScript must be selected. This setting is enabled by default, but to verify it:

1. Open Mozilla’s Edit menu and select Preferences. 2. In the Preferences window under Category, select Advanced

and Scripts & Plug-ins. 3. Ensure there is a check mark next to Enable JavaScript for

Navigator.

Page 124: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

2-38 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInitial Configuration

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 7: Initial Configuration

Initial Configuration Tasks

47

Initial Configuration Tasks

The Configuration Wizards will guide you through configuring your server.

Page 125: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 2-39

• • •••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInitial Configuration

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Environmental Wizard Performance Options

48

Environmental Wizard Performance Options

Page 126: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

2-40 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInitial Configuration

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Server Initialization Wizard

The default directory for Windows is c:\program files\tivoli\tsm\server1.

49

Server Initialization Wizard

Page 127: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 2-41

• • •••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInitial Configuration

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Server Volume Information

Set the path and initial size of the

• database volume

• recovery log volume

• disk storage pool volume

50

Server Volume Information

Page 128: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

2-42 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesInitial Configuration

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Client Node Configuration and Prepare Media Wizards

51

Client Node Configuration Wizard

52

Prepare Media Wizard

Page 129: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 2-43

• • •••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesThe Query Command

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 8: The Query Command

Throughout this course you will be use the query command to gather information about the components and operations of Tivoli Storage Manager. For a complete list of query commands, refer to the IBM Tivoli Administrator’s Reference Guide for your platform.

Note: Query commands are not case-sensitive.

The Powerful Query System Command

The Query System command is a single command that gathers consolidated information regarding Tivoli Storage Manager configuration and capacity. Query System command combines the query and select commands to list information such as:

• Server options and status

• Processes and sessions

• DB and log configuration

53

Introducing the Query Command

? ? ? ? ???How much…What is the status of…

The power of Q

Use the query command to obtain information about TSM components and operations.

Page 130: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

2-44 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesThe Query Command

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

• Storage pool configuration

• Device configuration

• Policies information

• Schedules and nodes

Standard Format Query Result

These examples show the results of the query administrator and query storagepool commands when issued from the command line. The format of the output is called STANDARD.

These commands will be covered later in the course. They are displayed here to demonstrate the different formats you can use with the query command.

54

Standard Format Query Result

Q ADMIN

Q STG

To query administrators:

To query storage pools:

Page 131: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 2-45

• • •••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesThe Query Command

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Detailed Format Query Result

These examples show the results of the query administrator format=detail and query storagepool format=detail commands when issued from the command line. The format of the output is called detail. These query commands can be shortened as: q admin f=d and q stg f=d.

55

Detailed Format Query Result

Q ADMIN F=D Q STG F=D

For a detailed query, use the Format=Detail option (F=D).

Page 132: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

2-46 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesThe Query Command

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Query Activity Log

Examples of messages sent to the activity log include:

• When client sessions start or end

• When migration starts and ends

• When backup versions expire

• What data is exported to tape

• When expiration processing is performed

• What export or import processing is performed

56

Query Activity Log

The activity log records all the messages sent to the server console during server operations, with the exception of query commands issued on the console. Any error messages sent to the server console are also stored in the activity log, as seen in this log.

Page 133: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 2-47

• • •••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesThe Query Command

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercise

Open your Student Exercises and perform the exercises for this unit.

57

Student Exercise

Page 134: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

2-48 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesThe Query Command

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Review Questions

1. The IBM Tivoli Storage Manager ___________________, which is part of the Integrated Solutions Console, allows the administrator to centrally configure and manage IBM Tivoli Storage Manager servers.

2. What is the best way to find out which platforms or devices are supported for the most current version of IBM Tivoli Storage Manager?

a. Look at the Student's Training Guide.

b. Check the IBM Tivoli Storage Manager Web site for the latest information.

c. Assume that any device or platform will work.

d. Check any Quick Start Guide.

3. True or False? Install and use JRE 1.4.1 or higher to optimize performance of the Java backup-archive client.

4. True or False? Installations can be verified on Windows systems by viewing the installserv.log file.

Page 135: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesThe Query Command

Review answers begin on the next page.

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 2-49

• • •••

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Page 136: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

2-50 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesThe Query Command

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Review Answers

1. The IBM Tivoli Storage Manager ___________________, which is part of the Integrated Solutions Console, allows the administrator to centrally configure and manage IBM Tivoli Storage Manager servers.

Administration Center

2. What is the best way to find out which platforms or devices are supported for the most current version of IBM Tivoli Storage Manager?

a. Look at the Student's Training Guide.

b. Check the IBM Tivoli Storage Manager Web site for the latest information.

c. Assume that any device or platform will work.

d. Check any Quick Start Guide.

b. Check the IBM Tivoli Storage Manager Web site for the latest information.

3. True or False? Install and use JRE 1.4.1 or higher to optimize performance of the Java backup-archive client.

true

4. True or False? Installations can be verified on Windows systems by viewing the installserv.log file.

false

Page 137: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 2-51

• • •••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesThe Query Command

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Summary

58

Summary

You should now be able to:

• Describe the Integrated Solutions Console installation requirements.

• Install IBM Tivoli Storage Manager’s Administration Center. • Install IBM Tivoli Storage Manager server.• Install IBM Tivoli Storage Manager backup-archive clients.• Install the administrative command line.• Describe the IBM Tivoli Storage Manager device driver

installation.

Page 138: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

2-52 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 2: Installing IBM Tivoli Storage Manager Server, Clients, and Storage DevicesThe Query Command

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Page 139: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

• • • ••

3-1

Unit 3: Administrative Interfaces and Privileges

Unit 3: Administrative Interfaces and Privileges

Page 140: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

3-2 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 3: Administrative Interfaces and Privileges

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Introduction

This unit explores the new IBM Tivoli Storage Manager’s Administration Center, as well as the other available user interfaces for managing IBM Tivoli Storage Manager. The levels of administrative authority required to administer IBM Tivoli Storage Manager are also presented.

Objectives

2

Objectives

Upon completion of this unit, you will be able to:

• Identify the types of interfaces available.•Navigate the Administration Center on the Integrated Solutions Console.

• Identify the levels of authority for the different job roles.

•Create and remove a TSM administrator.

Page 141: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part one 3-3

• • •••

Unit 3: Administrative Interfaces and PrivilegesInterfaces for Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 1: Interfaces for Tivoli Storage Manager

Available Interfaces

Once an administrator accesses the Administration Center with an Administration Center user ID and password, all TSM servers controlled through the Administration Center can be managed.

In this unit you will explore all the interfaces, including navigation of the Administration Center.

3

Available Interfaces

Windows MMC ConsoleTSM Sever GUI

dsmadmc, Administration Center, and Server Console

TSM Server Command Line

dsmcBA Client Command Line

Web browser and port 1581Web Client GUI

dsm (Windows)

dsmj (UNIX)

Backup-Archive (BA) Client GUI

ISC logonAdministration Center GUI

How interface is accessed:Interface:

Page 142: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

3-4 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 3: Administrative Interfaces and PrivilegesThe Integrated Solutions Console and Administration Center

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 2: The Integrated Solutions Console and Administration Center

Overview of the Integrated Solutions Console

The IBM Tivoli Storage Manager Administration Center is launched from the Integrated Solutions Console.

4

Overview of the Integrated Solutions Console (ISC)

•The Integrated Solutions Console allows you to install components provided by multiple IBM applications and access them from a single interface.

•This course addresses the IBM Tivoli Storage Manager’s Administration Center, which runs on the ISC.

Page 143: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part one 3-5

• • •••

Unit 3: Administrative Interfaces and PrivilegesThe Integrated Solutions Console and Administration Center

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Tivoli Storage Manager’s Administration Center

5

IBM Tivoli Storage Manager Administration Center

The Administration Center: • Allows access to the

Tivoli Storage Manager server functions from any workstation, using a supported Web browser.

• Allows Web access to the command line.

6

Benefits of the Administration Center

• Makes learning Tivoli Storage Manager easier for the new user.

• Implements a task-oriented user interface.• The Administration Center uses wizards to simplify the

following:• Running reports• Creating server maintenance scripts• Scheduling• Adding storage devices

• The Administration Center provides a new server status Health Monitor which makes TSM server status easier to visualize.

• Only a single login is required once the Tivoli Storage Manager server connection has been added.

Page 144: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

3-6 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 3: Administrative Interfaces and PrivilegesThe Integrated Solutions Console and Administration Center

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Logging on to the Integrated Solutions Console

7

Logging on to the Integrated Solutions Console

A single login to remember.

The Integrated Solutions Console can be used to manage multiple software products.

http://<hostname>:8421/ibm/console

Page 145: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part one 3-7

• • •••

Unit 3: Administrative Interfaces and PrivilegesThe Integrated Solutions Console and Administration Center

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

How the Integrated Solutions Console Recognizes Your Tivoli Storage Manager Authority

Once ISC users log in to the console, they must add a Tivoli Storage Manager server connection, providing their Tivoli Storage Manager administrative ID and password. When a connection is established, the administrative privilege associated with the Tivoli Storage Manager ID is recognized by the ISC user ID. Now only one login is necessary.

If the authority of the Tivoli Storage Manager administrative ID is changed, the change is immediately effective in the ISC. There is no need to log out and log back in to the ISC.

8

How the ISC Recognizes Your TSM Authority

All people who use the Integrated Solutions Console to work with Tivoli Storage Manager need to have their own ISC login ID and password, and their own TSM administrative ID and password.

ISC user ID TSM AdministrativeID and Authority

Add aTSM serverconnection

ISC authority mapped to TSM user ID

Page 146: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

3-8 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 3: Administrative Interfaces and PrivilegesThe Integrated Solutions Console and Administration Center

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Navigating the Administration Center

Exploring the Task Trees

The items in the left panel expand to show the tasks you can perform with the Administration Center.

9

Exploring the Administration Center Tasks

Tivoli Storage Manager tree

for Administration Center tasks

Integrated Solutions Console settings

Page 147: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part one 3-9

• • •••

Unit 3: Administrative Interfaces and PrivilegesThe Integrated Solutions Console and Administration Center

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Navigating the Administration Center

10

Navigating the Administration Center:Welcome

11

Administration Center Tutorials

http://publib.boulder.ibm.com/infocenter/ieduasst/tivv1r0/index.jsp

Page 148: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

3-10 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 3: Administrative Interfaces and PrivilegesThe Integrated Solutions Console and Administration Center

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Menus and Wizards

12

Selecting Actions

1

2

1. In the servers table, select server. 2. Open the …Select Action… menu.

13

Wizards

The wizard will guide you through the form to complete theAction and then summarize the actions.

Page 149: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part one 3-11

• • •••

Unit 3: Administrative Interfaces and PrivilegesThe Integrated Solutions Console and Administration Center

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Select Action Menus

Health Monitor

14

Health Monitor

Use the Health Monitor to determine the overall status of server operations and to obtain detailed information about client node schedules, the server database and recovery log, and the status of storage devices managed by the server. The health monitor also provides access to the server activity log, which allows you to view messages generated during server operations.

Health Monitor actions

Page 150: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

3-12 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 3: Administrative Interfaces and PrivilegesThe Integrated Solutions Console and Administration Center

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Enterprise Management

15

Enterprise Management

The table shows all servers that you have added to the console. Use enterprise management to define servers to one another, which allows them to communicate and transfer data. Defined servers can be centrally managed using the command-routing feature. A defined server can also be configured to store another server's data using virtual volumes. A server's enterprise configuration role determines whether it can distribute or receive configuration information.

Enterprise Management actions

Page 151: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part one 3-13

• • •••

Unit 3: Administrative Interfaces and PrivilegesThe Integrated Solutions Console and Administration Center

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Storage Devices, Servers

16

Storage Devices, Servers

Select a server and use the table action list to work with its storage pools, device classes, and data movers. The table shows all servers that have been added to the console.

Storage Devices servers actions

Page 152: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

3-14 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 3: Administrative Interfaces and PrivilegesThe Integrated Solutions Console and Administration Center

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Policy Domains and Client Nodes

17

Policy Domains and Client Nodes

The table shows the servers you have added to the console, and the policy domains defined for those servers. Policy domains help you to apply consistent rules for data management to groups of client nodes. Click a server name to work with its policy domains.

Policy Domains and Client Nodes actions

Page 153: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part one 3-15

• • •••

Unit 3: Administrative Interfaces and PrivilegesThe Integrated Solutions Console and Administration Center

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Server Maintenance

18

Server Maintenance

The table shows the servers you have added to the console, and identifies the servers for which maintenance scripts have been created. Maintenance scripts perform routine server maintenance operations according to a schedule you specify. As a best practice, create a maintenance script for every server.

Server Maintenance actions

Page 154: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

3-16 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 3: Administrative Interfaces and PrivilegesThe Integrated Solutions Console and Administration Center

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Reporting

19

Reporting

The table shows the reports you can run against one or more servers. Use reports to view detailed information about your Tivoli Storage Manager environment.

Reporting actions

Page 155: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part one 3-17

• • •••

Unit 3: Administrative Interfaces and PrivilegesThe Integrated Solutions Console and Administration Center

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Disaster Recovery Management

20

Disaster Recovery Management

The table shows all of the servers that have been added to the Administration Center by the current administrator. For the servers that are licensed for IBM Tivoli Storage Manager Extended Edition, you can use the Disaster Recovery Manager function to automatically generate a disaster recovery plan and track media.

Disaster Recovery Management actions

Page 156: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

3-18 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 3: Administrative Interfaces and PrivilegesThe Integrated Solutions Console and Administration Center

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Starting and Stopping the Administration Center

The installation program automatically starts the Integrated Solutions Console after a successful installation. If you shut down the system after the initial installation, any servers that were started will be stopped.

21

Starting and Stopping the Administration Center

To start the server on Windows:your_isc_root PortalServer\bin\startISC.bat administrator password

To stop the server on Windows:your_isc_root PortalServer\bin\stopISC.bat administrator password

Where:• your_isc_root is the root directory for your Integrated Solutions Console• administrator is the administrator user ID for your Integrated Solutions Console• password is the password for the administrator

The commands to start and stop the ISC are case sensitive, as are many of the search fields in the ISC. Read the Installation Guide for your platform for more details.

Page 157: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part one 3-19

• • •••

Unit 3: Administrative Interfaces and PrivilegesThe Integrated Solutions Console and Administration Center

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Administration Center Support Utility

22

Administration Center Support Utility

The Administration Center Support Utility is used to:

1. Turn all tracing on.2. Turn all tracing off.3. Turn a single trace class on.4. Update the maximum memory size Administration Center can use.5. Update the Administration Center session timeout setting.6. Collect trace files, logs and system information to send to support.7. View the log file for this utility.

Page 158: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

3-20 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 3: Administrative Interfaces and PrivilegesThe Integrated Solutions Console and Administration Center

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Adjusting the Session Timeout

23

Adjusting the Session Timeout

The session timeout is the amount of idle time that the server will wait before forcing the Administrator to log in again. Thedefault is 30 minutes.

To change the session timeout:1. Start the Administration Center Support Utility. 2. Go to the ISC directory under Tivoli\dsm\bin and type supportUtil.bat on Windows, or supportUtil.shon UNIX.

3. After starting the tool, press option 5 to update the session timeout setting.

These commands are case-sensitive.

24

C:\Program Files\IBM\ISC\Tivoli\dsm\bin>supportUtil.bat

Administration Center Support Utility - Main Menu==================================================

1. Turn all tracing on2. Turn all tracing off3. Turn a single trace class on4. Update the maximum memory size Administration Center

can use5. Update the Administration Center session timeout

setting6. Collect trace files, logs and system information to

send to support7. View the log file for this utility8. .9. ExitEnter Selection: 5

Adjusting the Session Timeout on Windows

Page 159: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part one 3-21

• • •••

Unit 3: Administrative Interfaces and PrivilegesUsing the ISC to Manage Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 3: Using the ISC to Manage Tivoli Storage Manager

Creating a Tivoli Storage Manager Administrator

25

Creating a Tivoli Storage Manager Administrator

Page 160: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

3-22 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 3: Administrative Interfaces and PrivilegesUsing the ISC to Manage Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Creating a Tivoli Storage Manager Administrator, continued

In the example here, the authority is Operator.

26

Creating a Tivoli Storage Manager Administrator, continued

Page 161: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part one 3-23

• • •••

Unit 3: Administrative Interfaces and PrivilegesUsing the ISC to Manage Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Associate an ISC Login ID with a Tivoli Storage Manager User ID

30

Associate an ISC Login ID with a Tivoli Storage Manager User ID

Page 162: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

3-24 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 3: Administrative Interfaces and PrivilegesUsing the ISC to Manage Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Adding a Tivoli Storage Manager Server to the Administration Center

31

Adding a Tivoli Storage Manager Server to the Administration Center

Page 163: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part one 3-25

• • •••

Unit 3: Administrative Interfaces and PrivilegesUsing the ISC to Manage Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Using the Health Monitor

32

The Health Monitor: Detailed Health Information for Tivoli Storage Manager

• Schedule Information• Database and Recovery Log Information• Activity Log• Storage Device Status

You can view details including:

33

Preparing to Configure

Page 164: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

3-26 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 3: Administrative Interfaces and PrivilegesUsing the ISC to Manage Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Configuring the Health Monitor

34

Configuring the Health Monitor

Change the password here. The initial password is ADMIN_CENTER.

35

View Health Details

Select the radio button next to a server, and from the Select Action menu choose View Health Details.

Page 165: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part one 3-27

• • •••

Unit 3: Administrative Interfaces and PrivilegesUsing the ISC to Manage Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Database and Recovery Log

Tivoli Storage Manager database

Tivoli Storage Manager saves information in the Tivoli Storage Manager database about each file, raw logical volume, or database that it backs up, archives, or migrates.

Tivoli Storage Manager recovery log

The recovery log, which is structured like the Tivoli Storage Manager database, keeps track of all changes made to the database.

36

TSM Administration Center’s Database and Recovery Log Tasks

Page 166: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

3-28 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 3: Administrative Interfaces and PrivilegesUsing the ISC to Manage Tivoli Storage Manager

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Activity Log

37

Activity Log

38

Activity Log Information

Using the Filtering options provided, you can limit the amount of information presented in the table.

Page 167: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part one 3-29

• • •••

Unit 3: Administrative Interfaces and PrivilegesIBM Tivoli Storage Manager’s Graphical User Interface (GUI)

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 4: IBM Tivoli Storage Manager’s Graphical User Interface (GUI)

Tivoli Storage Manager Windows Server GUI - Management Console

The Tivoli Storage Manager Console is a Microsoft Management Console snap-in that provides:

– Wizards to assist with Tivoli Storage Manager administration and configuration tasks.

– A method to access the command line.

– A Windows-style tree view of the storage management resource network.

– Network scan utilities that can be used to locate Tivoli Storage Manager client nodes and server nodes for remote management.

– A notification feature that can be used to alert operators of Tivoli Storage Manager mount requests and status messages.

39

Tivoli Storage Manager Windows Server GUI—Management ConsoleAccess the IBM Tivoli Storage Manager Console from the program folder: Programs >Tivoli Storage Manager > Management Console

Page 168: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

3-30 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 3: Administrative Interfaces and PrivilegesIBM Tivoli Storage Manager’s Graphical User Interface (GUI)

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

The GUI for Backup-Archive Clients

Use this interface to perform backup, restore, archive, and retrieve of client data.

40

The GUI for Backup-Archive Clients

DSM will start the GUI from the Windows command line, or access the Backup-Archive GUI from Programs > Tivoli Storage Manager > Backup-Archive GUI.

DSMJ will start the GUI from the UNIX command line.

Page 169: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part one 3-31

• • •••

Unit 3: Administrative Interfaces and PrivilegesIBM Tivoli Storage Manager’s Graphical User Interface (GUI)

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Web Backup-Archive Client

41

Web Backup-Archive Client

•Once the Web client is installed, you can use the Web client to perform backup, archive, restore, and retrieve operations from any browser that is running Java Runtime Environment (JRE) 1.4.1 or above.

•You will need a TSM administrative user ID with system privilege, policy privilege, client access authority, or client owner authority.

•To access the Web client, enter the following URL from any supported browser: http://your_machine_name:1581 where your_machine_name is the host name of the machine running the Web client.

• Port 1581 is the default port number. You can set a different port number using the httpport option.

The Web client GUI can be launched in the Administration Center without the administrator needing to sign on again. In order for this to be fully secured, SSL needs to be enabled for the Integrated Solutions Console server.

Page 170: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

3-32 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 3: Administrative Interfaces and PrivilegesCommand Lines

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 5: Command Lines

The backup-archive command line is used to perform backup, restore, archive and retrieve functions. The administrative command line allows administrators to control and monitor the server through administrative commands.

Use the console mode from an administrative client to monitor export or import operations or to capture processing messages to an output file. For example, you can keep a console open to watch processes for successful completion. Manual tape mount requests can also be viewed on the console.

To start an administrative session in console mode, enter:

dsmadmc -consolemode

Command recall is available for both the administrative client and the backup-archive client. This enables you to recall and edit previously entered commands.

42

BACKUP-ARCHIVE CLIENT COMMAND LINE:

Start the backup-archive client command line at the operating system prompt. The paths may vary, but the default paths are as follows:

Windows: Program Files > Tivoli > TSM > baclientAIX: /usr/tivoli/tsm/client/ba/binTo start the backup-archive client command line, type: dsmc

On Windows, the backup-archive command line can be opened fromPrograms > Tivoli Storage Manager > Backup-Archive Command Line.

Command Lines

ADMINISTRATIVE COMMAND LINE:

Start the administrative command line at the operating system prompt. The paths may vary, but the default paths are as follows:Windows: Program Files > Tivoli > TSM > baclientAIX: /usr/tivoli/tsm/client/ba/binTo start the administrative command line, type: dsmadmc

From the Administration Center, select Server, click Select Action, select Use Command Line.

Page 171: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part one 3-33

• • •••

Unit 3: Administrative Interfaces and PrivilegesCommand Lines

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Some keyboard keys used

Key Description

F3 or ESC Exits the command line.

Ctrl C Cancels the command line.

Backspace Moves the cursor one space back and deletes text.

Left arrow Moves the cursor one space to the left.

Right arrow Moves the cursor one space to the right.

Up arrow Displays the command last entered.

Down arrowDisplays the command entered after the command currently displayed.

Tab Moves the cursor five positions to the right.

Left Tab Moves the cursor five positions to the left.

Ctrl Left arrow or Ctrl LMoves the cursor to the beginning of the previous word.

Ctrl Right arrow or Ctrl R Moves the cursor to the beginning of the next word.

Home Moves the cursor to the beginning of the line.

End Moves the cursor to the end of the line.

Ctrl D or Ctrl Delete Deletes the text from the cursor to the end of the line.

Enter Executes the command.

Page 172: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

3-34 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 3: Administrative Interfaces and PrivilegesCommand Lines

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Using Syntax Diagrams

43

How to Read Syntax Diagrams

This excerpt is from the IBM Tivoli Storage Manager for Windows Administrator’s Reference.

44

Update Storagepool Syntax Diagram

This excerpt is from the IBM Tivoli Storage Manager for Windows Administrator’s Reference.

Page 173: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part one 3-35

• • •••

Unit 3: Administrative Interfaces and PrivilegesCommand Lines

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Example of Parameters

45

Example of Parameters

Page 174: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

3-36 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 3: Administrative Interfaces and PrivilegesCommand Lines

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Accessing the Tivoli Storage Manager Administrative Command Line from the Administration Center

46

Accessing the Tivoli Storage Manager Administrative Command Line from the Administration Center

You can access the command line from any Select Action window.

Page 175: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part one 3-37

• • •••

Unit 3: Administrative Interfaces and PrivilegesCommand Lines

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Output of a Command-line Query

47

Output of a Command-Line Query

48

Rearranging the Data in Output

Page 176: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

3-38 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 3: Administrative Interfaces and PrivilegesCommand Lines

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Syntax of many of the common query commands are available.

49

Command Assistance

Page 177: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part one 3-39

• • •••

Unit 3: Administrative Interfaces and PrivilegesAdministrative Authority

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 6: Administrative Authority

IBM Tivoli Storage Manager enables customers to register administrators and to grant administrators the ability to accomplish specific tasks. After administrators are registered, they can make queries and request help from the command line. To perform other server functions, they must be granted authority by being assigned one or more administrative privilege classes.

50

TSM Administrator Management Capabilities

Storage Privileges Database, recovery log, and storage pool management.

System Privileges All Tivoli Storage Manager server tasks.

Analyst Privileges Review and reset server statistics.

Node Privileges Client actions, product usage and activity monitoring.

Operator Privileges Commands for server availability, resource usage, and physical media management.

Policy Privileges Policy domain, policy set, management class, copy group, and schedule management.

Page 178: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

3-40 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 3: Administrative Interfaces and PrivilegesAdministrative Authority

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Privilege Classes

An administrator with system privilege can distribute administrative tasks by:

• Registering administrators.

• Granting one or more administrative privilege classes to other administrators.

• Allowing separation of tasks.

• Allowing delegation of authority.

• Varying commands by privilege class.

This slide shows how you can divide the administrative tasks through the five privilege classes.

51

TSM Privilege Classes

Page 179: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part one 3-41

• • •••

Unit 3: Administrative Interfaces and PrivilegesAdministrative Authority

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Registering an Administrator

To register an administrator, use the following command:

52

Registering an Administrator

Syntax:REGister Admin userid password

FORCEPwreset=No|Yes

Contact=contactinfo

Example:REGister Admin RSander rs1paswd Passexp=120 contact=“R. Sanders, x1234”

Using the Administration Center:1. Click Enterprise Management in the Tivoli Storage

Manager tree.2. In the Servers table, select a server.3. Click Select Action, select Server Properties.4. In the server’s properties notebook, click the

Administrators tab.5. In the table, click Select Action, select Add

Administrator.

TSM server

Page 180: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

3-42 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 3: Administrative Interfaces and PrivilegesAdministrative Authority

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Managing Administrative Authority

Granting Authority to Administrators

You can grant authority with the grant authority command. For example, to grant to administrator Mac restricted policy privilege for the domain SALESPOLDOM, enter the following command:

grant authority mac domains=salespoldom

Extending Authority for Administrators

You can grant and extend authority with the grant authority command. If an ID already has some level of authority, granting additional authority adds to any existing privilege classes; it does not override those classes. For example, Jenny was just promoted from operator to storage administrator for the labs. To add unrestricted storage privilege and restricted policy privilege for both LAB domains for Jenny, enter the following command:

grant authority jenny class=storage domains=LAB1, LAB2

53

Managing Administrative Authority

Administrative authority can be assigned and managed according to each individual’s job requirements. The privilegeclass determines which administrative tasks the administrator can perform.

GRANT AUTHORITYREVOKE AUTHORITY

You must have one of the following privileges to grant or revokeclient access or client owner authority:• System privilege• Policy privilege in the client’s domain

Page 181: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part one 3-43

• • •••

Unit 3: Administrative Interfaces and PrivilegesAdministrative Authority

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Reducing Authority for Administrators

You can revoke part of the authority of an administrator with the revoke authority command. For example, rather than revoking all of the privilege classes for administrator Suki, you want to revoke only the operator authority and the policy authority to policy domain SERVPOLDOM. You enter the following command:

revoke authority Suki classes=operator domains=servpoldom

Reducing Privilege Classes

You can reduce the authority of an administrator simply by revoking one or more privilege classes and granting one or more other classes. For example, administrator Lotty has system authority. To reduce authority for Lotty to the operator privilege class, do the following:

1. Revoke the system privilege class by entering:

revoke authority lotty classes=system

2. Grant operator privilege class by entering:

grant authority lotty classes=operator

Revoking Authority for Administrators

You can revoke the authority of an administrator with the revoke authority command. To revoke all administrative privilege classes, do not specify any privilege classes, policy domains, or storage pools. For example, to revoke both the storage and operator privilege classes from administrator Lucy enter:

revoke authority lucy

Page 182: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

3-44 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 3: Administrative Interfaces and PrivilegesAdministrative Authority

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Removing an Administrator

You can also remove an administrator who will no longer be responsible for IBM Tivoli Storage Manager operations by using the remove admin command.

54

Removing an Administrator

You cannot remove the last administrator with system privilege from the system.

You also cannot remove the SERVER_CONSOLE user ID (which has system privilege) from the system.

Syntax:

REMove Admin userid

Example:

remove admin ctaylor

TSM server

Page 183: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part one 3-45

• • •••

Unit 3: Administrative Interfaces and PrivilegesExport/Import

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 7: Export/Import

You can export or import administrator, node, server, or policy information. You can export the complete server or just parts of it. For example, clients of just one department and their stored data can be exported.

The export commands are operating system independent, and create a copy of specified server information or client data. This copyis not a substitute for disaster recovery.

Export and import are relatively time-consuming processes. So it is designed primarily for one-time data movement.

Data can be exported to sequential media or to another IBM Tivoli Storage Manager server on the network.

Export/Import of Administrator

The export admin command moves administrator information such as name, password, privilege classes, and whether the administrator is locked from server access.

55

Export/Import of Administrator

Use the export admin command to export administrator definitions, such as name, password, contact information, administrative privilege classes, and whether the client node ID is locked.

Export admin * toserver=serverpink previewimport=yes

Page 184: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

3-46 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 3: Administrative Interfaces and PrivilegesExport/Import

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercise

Open your Student Exercises and perform the exercises for this unit.

56

Student Exercise

Page 185: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part one 3-47

• • •••

Unit 3: Administrative Interfaces and PrivilegesExport/Import

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Review Questions

1. In the Administration Center, you can use the __________________ to determine the overall status of server operations.

2. True or False? The only way to access the Tivoli Storage Manager command line is from the console of the operating system.

3. True or False? The IBM Tivoli Storage Manager Console is a Microsoft Management Console snap-in that provides a backup-archive utility for client data.

4. If you have _________________ authority you can perform all IBM Tivoli Storage Manager tasks.

5. What command starts an administrative command line?

a. adsm

b. dsmc

c. admc

d. dsmadmc

Page 186: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

3-48 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 3: Administrative Interfaces and PrivilegesExport/Import

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Review Answers

1. In the Administration Center, you can use the __________________ to determine the overall status of server operations.

Health Monitor

2. True or False? The only way to access the Tivoli Storage Manager command line is from the console of the operating system.

false

3. True or False? The IBM Tivoli Storage Manager Console is a Microsoft Management Console snap-in that provides a backup-archive utility for client data.

false

4. If you have _________________ authority you can perform all IBM Tivoli Storage Manager tasks.

system

5. What command starts an administrative command line?

a. adsm

b. dsmc

c. admc

d. dsmadmc

d. dsmadmc

Page 187: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part one 3-49

• • •••

Unit 3: Administrative Interfaces and PrivilegesExport/Import

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Summary

57

Summary

You should now be able to:

• Identify the types of interfaces available.•Navigate the Administration Center on the Integrated Solutions Console.

• Identify the levels of authority for the different job roles.

•Create and remove an TSM administrator.

Page 188: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

3-50 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 3: Administrative Interfaces and PrivilegesExport/Import

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Page 189: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

• • • ••

4-1

Unit 4: Storage Media Devices Introduction

Unit 4: Storage Media Devices Introduction

Page 190: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

4-2 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 4: Storage Media Devices Introduction

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Introduction

This unit introduces devices used to store data. Basic concepts of attaching a tape library and preparing media to work with IBM Tivoli Storage Manager are also discussed..

Objectives

2

Objectives

Upon completion of this unit, you will be able to:

• Identify the device types.• Explain how to configure a locally attached tape library to IBM Tivoli Storage Manager.

• Explain how to prepare tape cartridges for use in an IBM Tivoli Storage Manager managed tape library.

• Explain how to check media in and out of the library.

Page 191: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 4-3

• • •••

Unit 4: Storage Media Devices IntroductionInstalling and Configuring a Tape Library Attached to the IBM Tivoli Storage Manager Server

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 1: Installing and Configuring a Tape Library Attached to the IBM Tivoli Storage Manager Server

Installing and Configuring a Tape Library

The combination of the library, drives, and their device class represents the physical device environment. A physical library is a collection of one or more drives that share similar media mounting requirements. Each drive mechanism within a device (that uses removable media) is represented by a drive object.

For devices with multiple drives, including automated libraries, each drive is separately defined and must be associated with a library. A drive is a hardware device capable of performing operations on a specific type of sequential media. Drive definitions can include such information as the element address (for drives in SCSI libraries), how often the drive is cleaned (for tape drives), and whether or not the drive is online.

3

Installing and Configuring a Media LibraryLibrary – A device that organizes and holds one or more media (tape or disk) volumes, and an optional robotic mechanism. Use define library command.

Device Class – Represents a device type which defines the media used in the library. A virtual library. Use the define devclasscommand.

Drive – A hardware device capable of performing operations on a specific type of sequential media. Use the define drivecommand.

Slot – The storage media location in the library. Use the define path command.

Page 192: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

4-4 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 4: Storage Media Devices IntroductionInstalling and Configuring a Tape Library Attached to the IBM Tivoli Storage Manager Server

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Connecting a SCSI Library

Perform the following steps to attach an automated library device:

1. Install the SCSI adapter card in your system, if not already installed.

2. Determine the SCSI IDs available on the adapter card to which you are attaching the device. Find one unused SCSI ID for each drive, and one for the library or autochanger controller. In some automated libraries, the drives and the autochanger share a single SCSI ID but have different logical unit numbers (LUNs). For these libraries, only a single SCSI ID is required. Check the documentation for your device.

3. Follow the instructions from the manufacturer to set the SCSI ID for the drives and library controller to the unused SCSI IDs that you found. Usually you need to set switches on the back of the device.

Note: Each device connected in a chain to a single SCSI bus must be set to a unique SCSI ID. If each device does not have a unique SCSI ID, you may have serious system problems.

4. Follow the instructions from the manufacturerto attach the device to your server system hardware.

Note: Power off your system before attaching a device to prevent damage to the hardware. Also, you must attach a terminator to the last device in the chain of

4

Connecting a SCSI Library

.

Page 193: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 4-5

• • •••

Unit 4: Storage Media Devices IntroductionInstalling and Configuring a Tape Library Attached to the IBM Tivoli Storage Manager Server

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

devices connected on one SCSI adapter card. Detailed instructions should be in the documentation that came with your hardware.

Supported Device Types

Note: If your device is not listed on the supported list of devices, it is very likely that it is not supported.

5

Supported Device Types

The list of supported device types is available online at: Go to the IBM Web site, and then navigate to:

Select one of the following under Supported Devices:

• AIX, HP, SUN, and Windows• iSeries• Linux

www.ibm.com/software/sysmgmt/products/support/IBMTivoliStorageManager.html

Page 194: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

4-6 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 4: Storage Media Devices IntroductionInstalling and Configuring a Tape Library Attached to the IBM Tivoli Storage Manager Server

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Getting Device Information from the Tivoli Storage Manager Device Driver

Use the wizards associated with the TSM Management Console to initiate the Device Configuration wizard and view existing device configuration information.

IBM devices require IBM device drivers. Non-IBM devices require TSM device drivers.

6

Getting Device Information from the Tivoli Storage Manager Wizard

All connected libraries will be listed in the wizard.

Page 195: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 4-7

• • •••

Unit 4: Storage Media Devices IntroductionInstalling and Configuring a Tape Library Attached to the IBM Tivoli Storage Manager Server

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Use tsmdlst to Find Devices

To view a listing of devices and their attributes, you can use the tsmdlst command.

7

Use tsmdlst to Find Devices on Windows

1. Click Start > Programs > Accessories > Command Prompt. The command prompt dialog box appears.

2. Change directories to the directory in which the Tivoli Storage Manager Console been installed. For default installations, the path is:

c:\program files\tivoli\tsm\console

3. To view the information, enter the following command:tsmdlst > devlist.txt

4. To view the file, enter the following command:notepad devlist.txt

8

Finding Devices on AIX

# lsdev -Cc diskhdisk0 Available 40-60-00-4,0 16 Bit SCSI Disk Drive

# lsdev -Cc tapermt0 Available 1P-08-00-0,0 4.0 GB 4mm Tape Drivermt1 Available 1P-08-00-2,0 4.0 GB 4mm Tape Drivesmc0 Available 1P-08-00-3,0 IBM 7336 Tape Medium Changer

# lsdev -Cc adsmtapemt0 Available 1P-08-00-0,0 Tivoli Storage Manager Tape Drivemt1 Available 1P-08-00-2,0 Tivoli Storage Manager Tape Drive

Page 196: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

4-8 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 4: Storage Media Devices IntroductionInstalling and Configuring a Tape Library Attached to the IBM Tivoli Storage Manager Server

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Determining Numbers for Libraries with Multiple Drives

The element number indicates the physical location of a drive within an automated library. IBM Tivoli Storage Manager needs the element number to connect the physical location of the drive to the drive's SCSI address. When you define a drive, the element numbers are only required for SCSI type libraries, not for 3494, StorageTek with ACSLS, or manual type libraries.

Go to the following Web page:

http://www.ibm.com/software/sysmgmt/products/support/ IBMTivoliStorageManagerExtendedEdition.html

Find the device worksheet that applies to your device, and determine the alias name for the device. The device name for each drive has the form mtx. The device name for the library controller has the form lbx. In both cases, x is the number assigned when the drive and library were set up with its device driver.

Alias names appear in the form mtx.y.z.n or lbx.y.z.n or opx.y.z.n, where:

• mt – Indicates the device is a tape device.

For example: mt3 (Tape drive at SCSI ID 3, LUN 0, bus 0, port 0) mt5.0.0.1 (Tape drive at SCSI ID 5, LUN 0, bus 0, port 1).

9

Determining Numbers for Libraries with Multiple Drives

Worksheet from IBM Web site

Page 197: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 4-9

• • •••

Unit 4: Storage Media Devices IntroductionInstalling and Configuring a Tape Library Attached to the IBM Tivoli Storage Manager Server

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

• lb – Indicates the device is the controller for an automated library device.

For example: lb4.1 (Library at SCSI ID 4, LUN 1, bus 0, port 0.).

• op – Indicates the device is an optical device.

For example: op4 (Optical drive at SCSI ID 4, LUN 0, bus 0, port 0).

• x – Indicates the SCSI ID for the targeted device.

• y – Indicates the logical unit number (LUN) for the targeted device.

• z – Indicates the bus number supported by the adapter device driver.

• n – Indicates the port number for the SCSI adapter device driver.

Enter the device special file name in the worksheet.

Keep the Worksheets: The information you record on the worksheets can help you when you need to perform operations such as adding volumes to an autochanger. Keep them for future reference.

The element number can be detected automatically depending on the capabilities of the library. ELEMENT=AUTODETECT may not be supported. In this case you will have to supply the element number. This is dependent on the hardware.

Page 198: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

4-10 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 4: Storage Media Devices IntroductionInstalling and Configuring a Tape Library Attached to the IBM Tivoli Storage Manager Server

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Configuring Devices

After the device is installed and recognized by the operating system, you will need to configure the device.

Use the audit library command and check the activity log to ensure you were successful.

Perform the steps, in the order shown on the slide, for each drive.

10

Commands to Configure SCSI Devices

Define a library:define library robotmount libtype=scsi

Define a tape path for the library:define path server1 robotmount srctype=server desttype=library device=lb3.0.0.0

Define a drive:define drive robotmount tap01 elem=autodetect

Define a path for the drive:define path server1 tap01 srctype=server desttype=drive library=robotmount device=mt3.0.0.0

Page 199: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 4-11

• • •••

Unit 4: Storage Media Devices IntroductionWorking with Media

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 2: Working with Media

The Difference between Scratch and Private Volumes

Tivoli Storage Manager classifies its volumes into two categories: private and scratch.

A private volume is a labeled volume that is in use or owned by an application and may contain valid data. You must define each private volume, and it can only be used to satisfy a request to mount that volume by name. Private volumes do not return to scratch when they become empty.

A scratch volume is a labeled volume that is empty or contains no valid data and can be used to satisfy any request to mount a scratch volume. When data is written to a scratch volume, its status is changed to private.

You can change the status of volumes by issuing the update libvolume command. The command allows you to assign a private status to a scratch volume or to assign a scratch status to a private volume. The private volumes must be administrator-defined volumes

11

SCRATCH VOLUMES:•Are empty or contain no valid data.•Change status to PRIVATE when data is written to them.•Can be used to satisfy any request to mount a scratch volume.

PRIVATE VOLUMES:•May contain valid data.•Are used or owned by an application.•Can only be used to satisfy a request to mount the specified volume.

The Difference between Scratch and Private Volumes

Page 200: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

4-12 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 4: Storage Media Devices IntroductionWorking with Media

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

with either no data or invalid data. They cannot be partially written volumes containing active data. Volume statistics are lost when volume statuses are modified.

The Life Cycle of Tape Cartridges

Tapes must first be labeled and then added to the inventory of tapes available to IBM Tivoli Storage Manager. Tapes may be checked into IBM Tivoli Storage Manager as either scratch or private. Tapes that are part of the scratch pool are eligible to be selected for use. Once a tape is selected, data remains on the tape until it has expired or moved. The tape can then be reclaimed and returned to the scratch pool.

There are several methods for checking in a tape. They can be checked in online or offline. You can label and check in all in one step (label libvol), or use the autolabel=yes feature when defining a 349X, ACSLS, SCSI, external, or manual library.

12

The Life Cycle of Tape Cartridges

Start reuse if defined to storage pool.

Page 201: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 4-13

• • •••

Unit 4: Storage Media Devices IntroductionWorking with Media

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Labeling Tapes

Label Libvolume

If you label volumes with the label libvolume command, you can issue the CHECKIN parameter.

You can label volumes with the label libvolume command. The following example demonstrates using the label libvolume command to label tapes for both manual and automated libraries. Assume the automated device is attached to SCSI address 4, and the manual device is attached to SCSI address 5. You want to insert media into the entry and exit ports of the device, and you want the bar code reader to read bar code labels and overwrite existing labels with the information on the bar code label.

To search the entry and exit port, enter:

Search=bulk

To search inside the library, enter:

Search=yes

13

Labeling Tapes

The label libvolume command:

label libvolume storagelibname checkin=scratch search=bulk labelsource=barcode

orThe AUTOLABEL parameter with the define library command:

define library autodltlib libtype=scsi autolabel=yes

Page 202: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

4-14 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 4: Storage Media Devices IntroductionWorking with Media

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

AUTOLABEL

The AUTOLABEL parameter:

• Can be used with the define library and update library commands.

• Can be more efficient than using the label libvolume command, which requires you to mount volumes separately.

• Can be used with all library types except shared.

• Will use the barcode values for 349X, ACSLS, and SCSI libraries, and whatever volume name given by the external application for external libraries.

• Will prompt you for a label with manual libraries.

The AUTOLABEL parameter allows you to checkin volumes without a label. The server will label both blank and incorrectly labeled tapes when they are initially mounted, using the barcode as the volume name. Using the AUTOLABEL parameter eliminates the need to prelabel a set of tapes.

AUTOLABEL is specified as a parameter on the library with possible values of NO (default), YES, or OVERWRITE.

If you use the AUTOLABEL parameter, you must check in tapes by specifying CHECKLABEL=BARCODE on the checkin libvolume command.

Page 203: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 4-15

• • •••

Unit 4: Storage Media Devices IntroductionWorking with Media

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Checking Out Volumes

You can remove volumes from automated libraries by issuing the checkout libvolume command.

For automated libraries with multiple entry and exit ports, you can issue the checkout libvolume command with the REMOVE=BULK parameter. Tivoli Storage Manager ejects the volume to the next available entry and exit port.

14

Checking Out VolumesTSM mounts each volume and verifies the internal label before checking it out.

After being checked out, the volume is moved to the entry or exit port if the device has one. If it does not, the operator is requested to remove the volume from the drive within the device.

checkout libvolumecheckout libvolume tapelib volx checklabel=yes remove=bulk

You can also check out volumes for a library from the Administration Center:

1. Click Storage Devices in the Tivoli Storage Manager tree.2. In the Libraries for all Servers table, click a library name.3. In the properties notebook for the library, click the Volumes tab.4. In the Volumes table, click Select Action, select Check Out Volumes.

Page 204: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

4-16 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 4: Storage Media Devices IntroductionWorking with Media

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Checking In Volumes

After the volumes have been labeled, make the volumes available to Tivoli Storage Manager devices by checking the volumes into the library volume inventory using the checkin libvolume command. Checking media into an automated library involves adding them to the library volume inventory.

15

Checking In Volumes

checkin libvolume tapelib volx search=no status=scratchcheckin libvolume tapelib search=yes status=scratch

checklabel=barcodequery libvolume

You can check in and label volumes for a library from the Administration Center:

1. Click Storage Devices in the Tivoli Storage Manager tree.2. In the Libraries for all Servers table, click a library name.3. In the library’s properties notebook, click the Volumes tab.4. In the Volumes table, click Select Action, select Add Volumes.

Page 205: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

Auditing a Library

You can issue the audit library command to audit the volume inventories of automated libraries.

Auditing the volume inventory ensures that the information maintained by the Tivoli Storage Manager server is consistent with the physical media in the library. The audit is useful when the inventory has been physically moved. Tivoli Storage Manager deletes missing volumes and updates the locations of volumes that have moved since the last audit. Tivoli Storage Manager cannot add new volumes during an audit.

It is suggested that you not move tapes within the library.

16

Auditing a Library

In step 2, vol007 and vol008 are manually removed and replaced.

The AUDIT LIBRARY command will update the library inventory.

vol002

vol007

vol008

vol007

vol008

vol002

Page 206: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

4-18 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 4: Storage Media Devices IntroductionWorking with Media

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Review Questions

1. Tivoli Storage Manager has two status types for a tape volume. A ___________ volume is a labeled volume that is in use or owned by Tivoli Storage Manager, and may contain valid data.

2. A ___________ volume is empty or contains no valid data, and can be used to satisfy any request to mount a scratch volume.

3. The __________ command is useful when the inventory has been physically moved.

4. The _____________ is a number that indicates the physical location of a drive within an automated library.

Page 207: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

Unit 4: Storage Media Devices IntroductionWorking with Media

Review answers begin on the next page.

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 4-19

• • •••

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Page 208: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

4-20 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 4: Storage Media Devices IntroductionWorking with Media

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Review Answers

1. Tivoli Storage Manager has two status types for a tape volume. A ___________ volume is a labeled volume that is in use or owned by Tivoli Storage Manager, and may contain valid data.

private

2. A ___________ volume is empty or contains no valid data, and can be used to satisfy any request to mount a scratch volume.

scratch

3. The __________ command is useful when the inventory has been physically moved.

audit library

4. The _____________ is a number that indicates the physical location of a drive within an automated library.

element number

Page 209: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 4-21

• • •••

Unit 4: Storage Media Devices IntroductionWorking with Media

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Summary

17

Summary

You should now be able to:

• Identify the device types.• Explain how to configure a locally attached tape library to

IBM Tivoli Storage Manager.• Explain how to prepare tape cartridges for use in an IBM

Tivoli Storage Manager managed tape library.• Explain how to check media in and out of tape library.

Page 210: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

4-22 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 4: Storage Media Devices IntroductionWorking with Media

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Page 211: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

• • • ••

5-1

Unit 5: Managing Storage Pools and Storage Pool Volumes

Unit 5: Managing Storage Pools and Storage Pool Volumes

Page 212: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

5-2 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 5: Managing Storage Pools and Storage Pool Volumes

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Introduction

In this unit, you will see how to create hierarchical storage pools of different media types to allow for efficient management of your data.

Objectives

2

Objectives

Upon completion of this unit, you will be able to:

•Describe the purpose of storage pools, storage pool hierarchies, and storage pool volumes.

•Create a storage pool.•Design and configure storage pools based on given customer requirements.

•Manage storage pool volumes.

Page 213: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 5-3

• • •••

Unit 5: Managing Storage Pools and Storage Pool VolumesStorage Pools, Hierarchies, and Storage Pool Volumes

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 1: Storage Pools, Hierarchies, and Storage Pool Volumes

Storage Pools

Data storage pools are where the server stores files that are backed up and archived. The database serves as the inventory or index to client files within data storage.

Data storage may be composed of direct access storage and sequential tape media.

Files may be initially placed on different storage pools according to the desired storage management policy. Files are automatically moved to other devices to satisfy free space, space utilization, performance, and recovery requirements.

An administrator with system, storage, or operator privilege can manage data storage. This includes planning, preparing, monitoring, and deleting storage volumes and storage pools depending on level of privilege class.

Data storage is actually defined as a collection of storage pools.

3

Storage Pools

Storage pools:• Are a collection of like media (same device class)• Provide storage for backed up, archived, or migrated files• Support a variety of devices • Can be chained together to create storage hierarchy

Data is moved from disk pool to next defined storage pool.

Server records data storage information in TSM database.

Client sends data to server.

Server writes data to disk pool.

Page 214: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

5-4 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 5: Managing Storage Pools and Storage Pool VolumesStorage Pools, Hierarchies, and Storage Pool Volumes

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Storage Pool Hierarchies

A storage pool is a named set of volumes, belonging to the same device class, which is the destination of backed up or archived data. A device class is a grouping of like devices, such as disk or tape.

The purpose of storage pools is to match user requirements for data with the physical characteristics of storage devices. For example, if users need immediate access to certain data, you can define a storage pool, which consists of storage volumes residing on high-performance DASD (direct access storage device – an IBM term for a hard disk). Then, users can associate this storage pool as a destination for their files by binding the appropriate management class.

Storage pools can be chained to create a storage hierarchy.

4

Storage Pool Hierarchies

mo

re expen

siveless exp

ensive

fast

ersl

ow

er

Storage pools can be chainedto create a storage hierarchy.

Page 215: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 5-5

• • •••

Unit 5: Managing Storage Pools and Storage Pool VolumesStorage Pools, Hierarchies, and Storage Pool Volumes

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Active-data Pools and the Storage Hierarchy

• Active-data pools:

– Can be used with sequential-access disk (FILE)

– Can be used with sequential-access tape or optical

– Can collocate active versions of backup data

– Can be used for backup data only; no archive or HSM data

• Benefits of active-data pools on sequential-access disk (FILE):

– 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 tape:

– Reduced storage requirement (on-site or off-site) while protecting data against media failure or disaster

– Simplified tape management because of fewer tapes

5

Active-data Pools and the Storage Hierarchy

Copy storage pool: Copies of active or inactive data from primary storage pools for offsite storage.

Active-data pools on disk: Copies of active data for fast restore of client data.

Active-data pools on tape: Copies of active data to reduce the number of tapes stored offsite.

storage hierarchy with active and inactive data

Page 216: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

5-6 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 5: Managing Storage Pools and Storage Pool VolumesStorage Pools, Hierarchies, and Storage Pool Volumes

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Device Classes

A device class represents a set of storage devices with similar availability, performance, and storage characteristics. These device types are managed by Tivoli Storage Manager. Tivoli Storage Manager uses the device class to determine which device and storage volume type to use to:

• Store backup, archive, or space-managed data (primary storage pools).

• Store copies of primary storage pool data (copy storage pools).

• Store database backups.

• Export or import Tivoli Storage Manager data.

One device class can be associated with multiple storage pools. Each storage pool is associated with only one device class. Each device class is characterized by its device type, which indicates the type of storage volumes that are used to store data.

For random access storage, Tivoli Storage Manager supports only the DISK device class. The DISK device class is predefined by Tivoli Storage Manager. However, you can define many storage pools associated with the DISK device class. You cannot modify the DISK device class.

For sequential access storage, Tivoli Storage Manager supports the following device types, including the FILE device class; drive space designated for use as a virtual storage device.

6

Device ClassesRandom Access:

Sequential Access:

Define additional tape device classes to reflect specific devices, media, and procedures.

DEFine DEVClass DEVType=type of device

def devc autodlt_class devt=dlt format=drive library=autodltlib00

Page 217: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 5-7

• • •••

Unit 5: Managing Storage Pools and Storage Pool VolumesStorage Pools, Hierarchies, and Storage Pool Volumes

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Device Type Description

3570 IBM 3570 cartridge tape devices

3583 IBM 3583 tape drives

3590 IBM 3590 tape drives

3592 IBM 3592 tape drives

4 MM 4 mm tape drives, such as IBM 7206-005

8 MM8 mm tape drives, such as IBM 7208-001 and 7208-011

DLT Digital linear tape (DLT) drives

DTF Digital tape format

FILEStandard files are used to represent individual media volumes. Data is written to file volumes sequentially, as if they were tape volumes.

GENERICTAPE Tape drives supported by a Windows tape device driver

OPTICALOptical drives that use 5.25-inch rewritable optical cartridges

QICQuarter-inch cartridge tape drives, such as the IBM 7207

REMOVABLEFILERemovable media devices that are attached as local, removable file systems (for example, Iomega Zip or Jaz drives, or CD media)

SERVERStorage volumes that are actually files archived in the server storage of another Tivoli Storage Manager server (a target server)

WORMOptical drives that use 5.25-inch write-once read-many optical cartridges

EcartridgeA device type for StorageTek drives in a LAN-free configuration (except VOLSAFE which has its own devtype)

LTO Linear Tape-Open (LTO) devices

NAS Network-attached storage devices

VOLSAFEAlso StorageTek tape media – referred to as WORM (Write Once Read Many) tape technology

Page 218: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

5-8 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 5: Managing Storage Pools and Storage Pool VolumesStorage Pools, Hierarchies, and Storage Pool Volumes

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Based on the tape environment, an administrator with system privilege can define as many different device classes for tape storage pools as needed. Each tape device class is uniquely identified by its name. Not all device classes are available on all platforms.

Tape device classes allow the installation to control the following:

• Whether you will be using cartridge or reel tape (DEVtype).

• The maximum tapes that can be simultaneously mounted (MOUNTLimit).

• The maximum minutes before idle tape is demounted (MOUNTRetention).

• The tape volume naming convention (PREFIX).

• The estimated volume capacity (ESTCAPacity), since the default does not consider the use of compression by the client or tape hardware.

Page 219: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 5-9

• • •••

Unit 5: Managing Storage Pools and Storage Pool VolumesStorage Pools, Hierarchies, and Storage Pool Volumes

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Device Class and Storage Pool

Each device is associated with a device class that specifies the device type and how the device manages the media. If you have two libraries you will need two device classes.

Storage pools are mapped to a device class. Through this mapping, when data is written to, or accessed from a storage pool, Tivoli Storage Manager knows the device characteristics of the storage pool media and how to access it.

If the device is not listed on the IBM support page, it is probably not supported.

7

Device Class and Storage Pool

DEFine DEVClass DEVType=type of device

Page 220: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

5-10 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 5: Managing Storage Pools and Storage Pool VolumesStorage Pools, Hierarchies, and Storage Pool Volumes

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Storage Destination

A storage destination identifies the storage pool where client data is sent when it is backed up, archived, or migrated. It is specified in the backup and archive copy group definitions that are included in the management class, whichis part of policy management. Policy management is covered in Unit 6.

Data placement is also influenced by storage pool settings that may restrict read/write access and limit the size of files placed in the storage pool.

8

Storage Destination

backup-archive clients

Accounting

Sales

Sales

Accounting

Page 221: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 5-11

• • •••

Unit 5: Managing Storage Pools and Storage Pool VolumesStorage Pools, Hierarchies, and Storage Pool Volumes

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Disk-Only or Tapeless Backup Overview

The storage volumes are actually files. Data is written sequentially into standard files in the file system of the server machine. You can define this device class by issuing a define devclass command with the DEVTYPE=FILE parameter.

Both disk storage pool formats also have the capability of providing a space trigger for automatic allocation of storage pool space, which can result in increased efficiency of disk storage pools.

This will reduce the potential for disk fragmentation and maintenance downtime.

Do not use raw partitions with a device class type of FILE.

9

To create large, sequential access file-type storage pools, issue the following command:

Since each volume in a file device class is a file, the volume name must be a fully-qualified file name.

There are two types of disk pools:

• Random accessTivoli Storage Manager provides a predefined disk device class that is used with all disk devices.

• Sequential access

Disk-Only or Tapeless Backup Overview

define devclass devclassname devtype=file

Page 222: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

5-12 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 5: Managing Storage Pools and Storage Pool VolumesStorage Pools, Hierarchies, and Storage Pool Volumes

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Defining Storage Pools

The following tasks are associated with managing storage pools and their volumes.

During installation, Tivoli Storage Manager provides predefined random access storage pools:

• BACKUPPOOL: A storage destination for user files that are backed up to the server.

• ARCHIVEPOOL: A storage destination for user files that are archived to the server.

• SPACEMGPOOL: A storage destination for files migrated from user nodes.

• DISKPOOL: Only for Windows systems.

• FILPOOL1: A default storage pool of device class FILEDEV1 created as a default Next Storage Pool for both ARCHIVEPOOL and BACKUPOOL when you install a minimum configuration on Windows only.

Example:

define stgpool pool1 disk description="test1 storage pool" maxsize=5m highmig=70 lowmig=30 cache=yes nextstgpool=test2

10

Creating or Defining Storage Pools

Use the following command to define a storage pool:

DEFine STGpool poolname devclass

DEFine STGpool lastinchain devclass=disk

Create a storage pool from the Administration Center:1. Click Storage Devices in the Tivoli Storage Manager tree.2. In the Servers table, select a server.3. Click Select Action, select View Storage Pools.4. In the storage pools portlet for the server, click Select Action, select Create a Storage Pool.

For example:

Page 223: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 5-13

• • •••

Unit 5: Managing Storage Pools and Storage Pool VolumesStorage Pools, Hierarchies, and Storage Pool Volumes

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Update and Query Storage Pools

Use the update stgpool command to change any parameters in an existing storage pool.

You can use this command to modify selected parameters for the specified storage pool. If you do not explicitly update a parameter, it remains unchanged. The parameters to update are the same as the parameters when you define a storage pool.

Use the query stgpool command to display information about one or more storage pools.

For the syntax of the commands, refer to the IBM Tivoli Storage Manager Administrator's Guide or issue the help update stg or help query command as an administrator.

11

Update and Query Storage Pools

Commands to update and query storage pools are as follows:

UPDate STGpool poolname

Query STGpool poolname

You can also use the Administration Center to view and modify storage pools.

Page 224: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

5-14 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 5: Managing Storage Pools and Storage Pool VolumesStorage Pools, Hierarchies, and Storage Pool Volumes

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Active-data Pools

12

Active-data Pools

The parameter for the DEFINE STGPOOL and UPDATE STGPOOL commands is ACTIVEDATAPOOLS.

DEFine STGpool poolname devclassACTIVEDATApool active-data pool name

DEFine STGpool poolname devclassACTIVEDATApool active-data pool name

Refer to the IBM Tivoli Storage Manager Administrator’s Reference Guide for all parameters and syntax.

You can also use the Administration Center to define active-data pools.

Page 225: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 5-15

• • •••

Unit 5: Managing Storage Pools and Storage Pool VolumesStorage Pools, Hierarchies, and Storage Pool Volumes

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Before Storing Data in an Active-data Pool

Administrators must decide whether to use an existing domain or establish a new policy in which the domain will authorize nodes to store data into an active-data pool

13

Before Storing Data in an Active-data Pool

Domains are used to filter which nodes can store data into anactive-data pool. Before Tivoli Storage Manager writes data to an active-data pool, it verifies that the node owning the data is assigned to a domain that has the active-data pool defined in the ACTIVEDESTINATION parameter. Domains are covered in Unit 6.

To use an existing domain: • Use the UPDATE DOMAIN command and specify the list of active-

data pools in the ACTIVEDESTINATION parameter.

To restrict which nodes can write to an active-data pool:• 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.

Page 226: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

5-16 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 5: Managing Storage Pools and Storage Pool VolumesStorage Pools, Hierarchies, and Storage Pool Volumes

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Using the Administration Center’s Create Storage Pool Wizard

14

Create Storage Pool Wizard; General Step

15

Create Storage Pool Wizard; Active-data Pool Step

Page 227: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 5-17

• • •••

Unit 5: Managing Storage Pools and Storage Pool VolumesStorage Pools, Hierarchies, and Storage Pool Volumes

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Create Storage Pool Wizard, continued

16

Create Storage Pool Wizard; Active-data Pool (ADP) Domain Step

17

Create Storage Pool Wizard; Summary Panel

Page 228: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

5-18 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 5: Managing Storage Pools and Storage Pool VolumesStorage Pools, Hierarchies, and Storage Pool Volumes

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Policy Domain Wizard

18

Policy Domain Wizard

Policy Domains are covered in Unit 6.

19

Domain Wizard: Summary, Command Issued

The command used:UPDATE DOMAIN <user_domain_name> <other user

parameters..> ACTIVEDEST=‘ADP1,ADP2’

Page 229: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 5-19

• • •••

Unit 5: Managing Storage Pools and Storage Pool VolumesStorage Pools, Hierarchies, and Storage Pool Volumes

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Creating or Defining Storage Pool Volumes

Use the define volume command to assign a random or sequential access volume to be used for storage within an existing storage pool. You can define a volume to either a primary storage pool or a copy storage pool.

You must define each volume to be used in a storage pool unless you allow scratch volumes for the storage pool. Before issuing this command for a random access volume, you must allocate and format the volume by using Tivoli Storage Manager command define volume with the FORMATSIZE parameter.

For sequential access storage pools with a device type other than FILE or SERVER, you must prepare volumes for use. When the server accesses a sequential access volume, it checks the volume name in the header to ensure that the correct volume is being accessed.

20

Creating or Defining Storage Pool Volumes

Command to define storage pool volumes:

DEFine VOLume poolname volname

Create volumes in a storage pool from the Administration Center:

1. Click Storage Devices in the Tivoli Storage Manager tree.2. In the Servers table, select a server.3. Click Select Action, select View Storage Pools.4. In the storage pools portlet for the server, click a storage pool name.5. In the properties notebook for the storage pool, click the Volumes tab.6. In the volumes table, click Select Action, select Add Volume.

Page 230: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

5-20 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 5: Managing Storage Pools and Storage Pool VolumesStorage Pools, Hierarchies, and Storage Pool Volumes

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

To prepare a volume:

1. Label the volume.

2. For storage pools in automated libraries, use the checkin libvolume command to check the volume into the library.

3. Use the define volume command unless you allowed scratch volumes in the storage pool by specifying a nonzero MAXSCRATCH parameter.

>>--DEFine Volume--poolname--volume----------------------->

+-ACCess--=--READWrite-------+

>--+----------------------------+--------------------------

+-ACCess--=---+-READWrite----+ (2)

+-READOnly-----+

+-UNAVailable--+

| (1) |

‘-OFfsite-----‘

>--+------------------------------------------------+--->

| (2) .-Wait--=--No----- . |

‘-Formatsize---=--megabytes--+-------------------+’

.-Wait--=--No----- .

>--+------------------------------------------------+---> | (3) ‘-LOcation------=--location-‘

(1) This value is valid only for volumes assigned to copy storage pools.(2) This parameter is valid only for random access volumes.(3) This parameter is valid only for sequential access volumes.

Page 231: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 5-21

• • •••

Unit 5: Managing Storage Pools and Storage Pool VolumesStorage Pools, Hierarchies, and Storage Pool Volumes

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Defining Storage Pool Volumes for Disk

21

Defining Storage Pool Volumes for Disk

Commands to define storage pool volumes:

DEFine VOLume poolname volname Formatsize=Format_size

DEFine VOL BACKUPPOOL /usr/tivoli/tsm/dbvol/vol6 Formatsize=200

DEFine VOL ARCHIVEPOOL E:\dbvol\vol5 F=200

Page 232: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

5-22 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 5: Managing Storage Pools and Storage Pool VolumesStorage Pools, Hierarchies, and Storage Pool Volumes

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Deleting Storage Pools and Volumes

Before you begin deleting all volumes that belong to the storage pool, change the access mode of the storage pool to unavailable so that no files can be written to or read from volumes in the storage pool.

To delete an empty storage pool volume, use the delete volume command:

DELete VOLume volumename

Tivoli Storage Manager does not allow you to delete a volume that contains data unless you specify DISCARDDATA=YES on the delete volume command.

DELete VOLume volumename DISCARDData=YES

The delete volume command can be used to delete a volume assigned to either a primary or copy storage pool. If during the processing of this command for a primary storage pool volume, Tivoli Storage Manager deletes the primary copy of a file (not a cached copy), then Tivoli Storage Manager also deletes any copies of that file residing in copy storage pools.

If you are deleting several volumes, it is suggested that you delete the volumes one at a time. Concurrent volume deletion can adversely affect server performance.

If archive retention protection is enabled, the data cannot be deleted until the retention period has been met.

22

Deleting Storage Pools and Volumes

Before deleting a storage pool, you must delete all volumes in that storage pool.

Delete storage pools and storage volumes with the following commands:

DELete VOLume volumename

Query CONtent

DELete STGpool poolname

Page 233: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 5-23

• • •••

Unit 5: Managing Storage Pools and Storage Pool VolumesStorage Pools, Hierarchies, and Storage Pool Volumes

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

The query content command is used to determine the contents stored on a volume by querying a Tivoli Storage Manager database table.

Use the delete stgpool command to delete a storage pool.

In order to use this command, you must first delete all volumes assigned to the specified storage pool.

You cannot delete a storage pool that is defined as a subordinate storage pool. For more information on subordinate storage pools, see the NEXTSTGPOOL parameter in the define stgpool command.

Do not delete a storage pool that is specified as a destination for a management class or copy group in the ACTIVE policy set.

For additional parameters, refer to the Administrator’s Reference Guide for your platform.

Page 234: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

5-24 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 5: Managing Storage Pools and Storage Pool VolumesStorage Pools, Hierarchies, and Storage Pool Volumes

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

How to Move Data

Before deleting a storage pool, be sure you have moved all the data you need to retain by issuing the move data command to move the data to another storage pool. To move data from stgvol.1 to stgvol.2 in the same storage pool, issue the following command:

MOVe Data stgvol.1 stgvol.2

The move nodedata command can be used to move data in a sequential access storage pool for one or more nodes and is useful for consolidating data for a specific node within a storage pool. This is helpful for reducing number of volume mounts required during a restore operation.

The move nodedata command can also be used to move data for a node to a different storage pool. This is helpful for preparing for client restore processing by first moving data to a random access storage pool.

The move nodedata process performs the following tasks:

• Creates a list of nodes and file spaces to move based on the criteria of the user specified in the move nodedata command.

• Starts a queue thread to determine a list of volumes to process.

23

move nodedata nodename fromstgpool=source_STGpooltostgpool=target_STGpool

How to Move Data

MOVE DATA

You can move files from one volume to another volume in the same or a different storage pool using the MOVE DATAcommand.

MOVE NODEDATA

You can use the MOVE NODEDATA command to move file spaces for a node from one storage pool to another.

move data source_vol_name target_STGpool

Page 235: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 5-25

• • •••

Unit 5: Managing Storage Pools and Storage Pool VolumesStorage Pools, Hierarchies, and Storage Pool Volumes

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Τhe volumes added to this list meet the following criteria:

• Access of READWRITE or READONLY.

• Have data for the node and file spaces specified by the user.

The volumes list created also becomes the list of volumes to exclude. Once the queue thread is complete a process thread is started. The number of process threads started is determined by the MAXPROCESS parameter.

Each process thread that is started performs the following tasks:

• Selects a volume from the volume list.

• Processes each bitfile in the volume to determine whether it should be moved.

• Uses the move data functions to batch up the file and to move the bitfile.

The RECONSTRUCT option specifies whether to reconstruct file aggregates during data movement. Reconstruction removes empty space that has accumulated during deletion of logical files from an aggregate.

Page 236: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

5-26 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 5: Managing Storage Pools and Storage Pool VolumesStorage Pools, Hierarchies, and Storage Pool Volumes

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Overflow Location for Storage Pool Media

Database Tracking

Use database tracking to update volume location to specified overflow location. Overflow storage pools allow the Tivoli Storage Manager administrator to better manage storage pools that grow beyond the capacity of the library. Database tracking is intended to be used primarily for long-term archive storage pools where the data is maintained on-site but is rarely retrieved for Tivoli Storage Manager processing.

The first stage in implementing an overflow storage pool is to define the location of the volumes when they overflow from the library. This may be done either with the define stgpool or update stgpool command and the OVFLOCATION parameter. This parameter is a text description of where the volumes may be found. There is no default value for this parameter. The description may be up to 255 characters in length.

The second step is to move the media to the overflow location. Issue the move media command to move media from the library to the overflow location. For example, to move all full volumes in the specified storage pool out of the library.

move media * stgpool=archivepool

At this point, you can check in new scratch volumes.

24

Overflow Location for Storage Pool Media

• Text that lists physical location, shown with the MOVE MEDIA command. • Used when library becomes full.• Applicable to primary or copypool volumes.• Volumes must be manually moved to overflow location.• Used to associate location of volumes outside of the library.

update stgpool archivepool ovflocation=locker24

Page 237: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 5-27

• • •••

Unit 5: Managing Storage Pools and Storage Pool VolumesStorage Pools, Hierarchies, and Storage Pool Volumes

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

The overflow location for a storage pool may be displayed by using the query stgpool f=d (format=detail) command. This command produces output showing the storage pool name, type, associated device class, estimated capacity, and the overflow location.

Page 238: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

5-28 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 5: Managing Storage Pools and Storage Pool VolumesAutomatic Data Movement

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 2: Automatic Data Movement

Migration

Automatic data movement between storage pools is used to balance the performance and cost of different storage devices while ensuring adequate free space to satisfy new space allocations. This process is known as migration. For each storage pool, you define low and high migration thresholds. The low threshold identifies the amount of free space needed to satisfy the daily processing requirements of your business. The high threshold is used to trigger migration and ensure that enough free space is available while migration is performed. The difference between the high and low thresholds indicates the approximate amount of data that will be migrated.

To reduce tape mounts and to use the space on tape volumes most effectively (when collocation is not used), ensure that the amount of data that is migrated from a disk storage pool is a multiple of the capacity of a tape volume in the next storage pool. Automatic data movement is also used to free up space on tape volumes by consolidating active data from fragmented tape volumes onto a single volume, leaving the original volumes available for reuse. This process is known as reclamation. For each tape storage pool, you define a reclamation threshold, which indicates the amount of space consumed by data that is no

25

Automatic Data Movement—Migration

backup-archive clientsbackup-archive clients

Accounting

Sales

Accounting Migration Path:

1. SP_A (disk)2. SP_B (file)3. SP_C (tape)

Sales Migration Path:

1. SP_A (disk)2. SP_C (tape)

Page 239: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 5-29

• • •••

Unit 5: Managing Storage Pools and Storage Pool VolumesAutomatic Data Movement

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

longer valid before triggering reclamation. The best practice is to specify a value not less than 50% in order to avoid tape volume reclamation to multiple volumes.

Storage Pool Migration

When the high migration threshold is reached in a storage pool, Tivoli Storage Manager migrates files from the pool to the next-in-chain storage pool. No migration occurs if there is no next storage pool. Tivoli Storage Manager first identifies which client node has backed up or migrated the largest single file space, or has archived files that occupy the most space. When the server identifies the client node based on these criteria, the server migrates all files from every file space belonging to that client. The migration applies to those files whose number of days in the storage pool exceeds the value specified by the MIGDELAY parameter.

After the files for the first client node are migrated to the next storage pool, the server checks the low migration threshold for the storage pool to determine if the migration process should be stopped. If the amount of space used in the storage pool is now below the low migration threshold, migration ends. If not, using the same criteria as previously described, Tivoli Storage Manager chooses another client node, and the migration process continues.

If the value for MIGCONTINUE has been set to YES, then Tivoli Storage Manager continues the migration process based on how long the files have been in the storage pool. The oldest files are migrated first until the low migration threshold is reached. If the value

26

Storage Pool Migration

Page 240: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

5-30 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 5: Managing Storage Pools and Storage Pool VolumesAutomatic Data Movement

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

for MIGCONTINUE has been set to NO, then the migration process ends, and a warning message will be issued to the administrator.

If multiple migration processes are running (controlled by the MIGPROCESS parameter of the define stgpool command), the files for more than one node may be chosen for migration at the same time.

If the cache option is enabled, files that are migrated remain on disk storage (that is, the files are cached) until space is needed for new files. You can enable caching by specifying CACHE=YES when you define or update a disk storage pool. When caching is enabled, the migration process leaves behind duplicate copies of files on disk after the server migrates these files to subordinate storage pools in the storage hierarchy. The copies remain in the disk storage pool, but in a cached state, so that subsequent retrieval requests can be satisfied quickly. However, if space is needed to store new data in the disk storage pool, cached files are erased and the space they occupied is used for the new data.

The advantage of using a cache for a disk storage pool is that caching can improve how quickly the server retrieves some files. When you use a cache, a copy of the file remains on fast disk storage after the server migrates the primary file to another storage pool. You may want to consider using a disk storage pool with caching enabled for storing space-managed files that are frequently accessed by clients.

However, using a cache has some important disadvantages, such as:

• It can increase the time for client backup operations to complete.

• It can require more space for the Tivoli Storage Manager database.

The migrate stgpool command allows you to manually run migration for a random access or sequential access primary storage pool.

Page 241: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 5-31

• • •••

Unit 5: Managing Storage Pools and Storage Pool VolumesAutomatic Data Movement

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Using the Administration Center for Migration

27

Using the Administration Center for Migration, Screen 1

1. Click Storage Devices in the Tivoli Storage Manager tree. 2. In the Servers table, select a server. 3. Click Select Action, select View Storage Pools.4. In the storage pools portlet for the server, click a storage pool name. 5. In the properties notebook for the storage pool, click the Migration tab.

28

1. Click Storage Devices in the Tivoli Storage Manager tree. 2. In the Servers table, select a server. 3. Click Select Action, select View Storage Pools.4. In the storage pools portlet for the server, click a storage pool name.5. In the properties notebook for the storage pool, click the Migration tab.

Using the Administration Center for Migration, Screen 2

Page 242: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

5-32 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 5: Managing Storage Pools and Storage Pool VolumesAutomatic Data Movement

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

29

Select the Next storage pool

Using the Administration Center for Migration, Screen 3

30

1. Click Storage Devices in the Tivoli Storage Manager tree. 2. In the Servers table, select a server. 3. Click Select Action, select View Storage Pools.4. In the server’s storage pools portlet, click a storage pool name. 5. In the storage pool’s properties notebook, click the Migration tab.

Using the Administration Center for Migration, Screen 4

(caching)

Page 243: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 5-33

• • •••

Unit 5: Managing Storage Pools and Storage Pool VolumesAutomatic Data Movement

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Reclamation

Space on a sequential volume becomes reclaimable as files expire or are deleted from the volume. Reclamation is the process of reclaiming this space. For example, files become obsolete because of aging or limits on the number of versions of a file.

When the percentage of reclaimable space exceeds a specified level (the reclamation threshold), the volume is eligible for reclamation. The server checks whether reclamation is needed at least once per hour and begins space reclamation for eligible volumes. You can set a reclamation threshold for each sequential access storage pool when you define or update the pool.

When multiple volumes are eligible for reclamation, Tivoli Storage Manager reclaims the eligible volumes in random order.

Space within aggregate files is also reclaimed during the reclamation process. An aggregate is a physical file that contains multiple logical files backed up or archived from a client in a single transaction. Unused space from expired or deleted logical files is removed as the aggregate file is copied to another volume during reclamation.

The reclaimstgpool command allows you to manually run reclamation for a sequential access primary or copy storage pool.

31

Reclamation

• Use the RECLAIM STGPOOL command to initiate an automatic drive reclamation for a sequential access primary or copy storage pool.

• Empty tapes move back to scratch or private pools. • Reclamation of an active-data pool recovers space used by inactive and

deleted files.

Reclamation is a process of consolidating the remaining data from many sequential access volumes onto fewer new sequential access volumes. Lower threshold = more tapes; faster reclamation. Higher threshold = fewer tapes, longer reclamation.

TAPE_SP1

100% reclamation threshold 60%

Page 244: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

5-34 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 5: Managing Storage Pools and Storage Pool VolumesAutomatic Data Movement

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Single Drive Reclamation

The reclaimstgpool command points to another storage pool that can be used as the holding area for the data being consolidated.

The storage pool specified as the reclaim storage pool may be any primary storage pool on the system or a new primary storage pool created for this purpose. The only disk pool allowed is one with DEVTYPE=FILE. A copy storage pool may not be defined as a reclaim storage pool because data may be only copied to or from a copy storage pool, not moved.

32

Single Drive Reclamation

• Space reclamation• Sequential access media storage pools

• RECLAIM STGPOOL storage pool parameter• Used as a staging area during reclamation

• Space requirements• No minimum size

• Size related to reclamation threshold or storage pool to be reclaimed

Page 245: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 5-35

• • •••

Unit 5: Managing Storage Pools and Storage Pool VolumesAutomatic Data Movement

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Example of Single Drive Reclamation

Single drive reclamation is effectively an automation of the move data command and storage pool migration. The move data process moves only the data which has not expired from the storage pool to be reclaimed to the reclaimstgpool. This data may then be migrated back down the Tivoli Storage Manager storage hierarchy to the now empty storage pool volumes.

The second half of the single drive reclamation process involves Tivoli Storage Manager migration. A reclaim storage pool should have the storage pool being reclaimed as its next storage pool in the Tivoli Storage Manager hierarchy. This allows data moved into the reclaim storage pool by the reclamation process to be migrated back down through the Tivoli Storage Manager hierarchy.

In the example shown above, the TAPEPOOL is a storage pool defined within a single drive library. The TAPEPOOL is defined with the DISKPOOL as its reclaim storage pool, and the DISKPOOL is defined with the TAPEPOOL as its next storage pool.

33

Example of Single Drive Reclamation

Reclaim storage pool:

• Enables data to be reclaimed within the hierarchy.• Must be sequential access media.• Has the pool being reclaimed as its next storage pool.

define stg filepool file

define stg tapepool 3570 reclaimstg=filepool

upd stg filepool next=tapepool

Page 246: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

5-36 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 5: Managing Storage Pools and Storage Pool VolumesAutomatic Data Movement

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Collocation

Collocation is a process in which the server attempts to keep files belonging to a single client node or to a single file space of a client node on a minimal number of sequential access storage volumes. You can set collocation for each sequential access storage pool when you define or update the pool.

There are four options for collocation when using the define stgpool or update stgpool commands:

• No

• Group

• Node

• File Space

By using collocation, you reduce the number of volume mount operations required when users restore, retrieve, or recall many files from the storage pool. Collocation thus improves access time for these operations.

If collocation is enabled and reclamation occurs, the server tries to reclaim the files for each client node or client file space onto a minimal number of volumes.

Collocation cannot collocate data already in a storage pool volume.

34

Collocation

• Keeps client data together• Can significantly reduce tape mount requests• Has faster retrieval but less media utilization

20%

30% 40%

filling

filling

filling

Page 247: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 5-37

• • •••

Unit 5: Managing Storage Pools and Storage Pool VolumesAutomatic Data Movement

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Collocation by Groups

The define collocgroup command is used to define the group for collocation.

define collocgroup groupname

The define collocmember command is used to add a client node to a collocation group.

define collocmember groupname node1,node2

Some of the benefits of collocation by group are as follows:

• Reduces unused tape capacity by allowing more collocated data on individual tapes.

• Minimizes mounts of target volumes.

• Minimizes database scanning and reduce tape passes for sequential-to-sequential transfer.

• Minimizes database scanning which reduces tape passes for sequential-to-sequential transfers, such as reclamation.

35

Collocation by Groups

Production

Accounting

Accounting

Production

Groups of nodes can be defined, and the server can then collocate data based on these groups.

Page 248: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

5-38 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 5: Managing Storage Pools and Storage Pool VolumesAutomatic Data Movement

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Collocation Volume Selection Example 1

Setting COLLOCATION=NODE will cause Tivoli Storage Manager to try to put data for one node on as few volumes as possible, using the following selection criteria:

• A volume that already contains files from the same client node.

• An empty predefined volume.

• An empty scratch volume.

• A volume with the most free space among volumes that already contain data.

Setting COLLOCATION=FILESPACE will cause Tivoli Storage Manager to try to put data for file space for one client node on as few volumes as possible, using the following selection criteria:

• A volume that already contains files from the same file space of that client node.

• An empty predefined volume.

• An empty scratch volume.

• A volume containing data from the same client node.

• Among volumes that contain data, the one with the most free space.

36

Collocation Volume Selection Example 1

empty

filling

filling

filling20

%30

% 40%

Where did data for Client D go?(Assuming there is another empty tape in another storage pool, reserved for the database backup.)

Page 249: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 5-39

• • •••

Unit 5: Managing Storage Pools and Storage Pool VolumesAutomatic Data Movement

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Collocation Volume Selection Example 2

With only three tapes defined to the storage pool, where will the data for Client D go?

After the data for Client D goes to the tape fro Client A, and a new tape is added, use the move data command to recollocate.

37

Collocation Volume Selection Example 2

Where did Client D’s data go?

Page 250: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

5-40 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 5: Managing Storage Pools and Storage Pool VolumesAutomatic Data Movement

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Collocation of Active Data

38

Collocation of Active Data

There are two ways active data can be collocated to active-data pools:

• Writing data to multiple pools by using simultaneous write.

• Simultaneous write is covered in Unit 10.

• Copying data to an active-data pool using the COPY ACTIVEDATA

command.

• Only active versions of backup data is copied from a primary storage pool to an active-data pool.

copy activedata primary pool name activedata pool name

You can also use the Administration Center to copy active data.

Page 251: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 5-41

• • •••

Unit 5: Managing Storage Pools and Storage Pool VolumesAutomatic Data Movement

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Collocation of Active Data with the Administration Center

Active-data pool related actions:

• Create Storage Pool

• Modify Stprage Pool

• Copy Active Data

39

View Storage Pools Actions

Page 252: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

5-42 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 5: Managing Storage Pools and Storage Pool VolumesAutomatic Data Movement

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Copy Active Data Form

The Copy Active-data form:

• Is similar to Backup Storage Pool, but handles active-data pools.

• Is valid for pools with NATIVE or NONBLOCK format.

• Enforces that pool data format is the same as source primary pool.

40

Copy Active-data Form

Page 253: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 5-43

• • •••

Unit 5: Managing Storage Pools and Storage Pool VolumesAutomatic Data Movement

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercise

Open your Student Exercises and perform the exercises for this unit.

41

Student Exercise

Page 254: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

5-44 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 5: Managing Storage Pools and Storage Pool VolumesAutomatic Data Movement

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Review Questions

1. Data that is backed up or archived is stored on _______________ in a storage pool.

2. A storage pool is a named set of volumes that all use the same _________ class.

3. Storage pools are chained to create a ______________.

4. The _______________ command is used to define a storage pool.

5. The _______________ command is used to update any parameters in an existing storage pool.

6. The _______________ command is used to query information about one or more storage pools.

7. ________________ is an option in which the Tivoli Storage Manager server attempts to keep files belonging to a single client node or to a single file space of a client node on a minimal number of tape volumes.

8. To have Tivoli Storage Manager collocate data in a storage pool by client file system, set the collocation option to __________.

9. What do you call the process that automatically moves data from a pool to the next storage pool?

10. Which command is available to move the data from a single node out of one storage pool and into another storage pool?

Page 255: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

Unit 5: Managing Storage Pools and Storage Pool VolumesAutomatic Data Movement

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 5-45

• • •••

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Page 256: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

5-46 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 5: Managing Storage Pools and Storage Pool VolumesAutomatic Data Movement

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Review Answers

1. Data that is backed up or archived is stored on _______________ in a storage pool.

volumes

2. A storage pool is a named set of volumes that all use the same ___________ class.

device

3. Storage pools are chained to create a ______________.

hierarchy

4. The _______________ command is used to define a storage pool.

DEFine STGpool

5. The _______________ command is used to update any parameters in an existing storage pool.

UPDate STGpool

6. The _______________ command is used to query information about one or more storage pools.

Query STGpool

7. ________________ is an option in which the Tivoli Storage Manager server attempts to keep files belonging to a single client node or to a single file space of a client node on a minimal number of tape volumes.

Collocation

8. To have Tivoli Storage Manager collocate data in a storage pool by client file system, set the collocation option to __________.

filespace

9. What do you call the process that automatically moves data from a pool to the next storage pool?

migration

Page 257: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 5-47

• • •••

Unit 5: Managing Storage Pools and Storage Pool VolumesAutomatic Data Movement

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

10. Which command is available to move the data from a single node out of one storage pool into another storage pool?

the move nodedata command

Page 258: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

5-48 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 5: Managing Storage Pools and Storage Pool VolumesAutomatic Data Movement

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Summary

42

Summary

You should now be able to:

•Describe the purpose of storage pools, storage pool hierarchies, and storage pool volumes.

•Create a storage pool.•Design and configure storage pools based on given customer requirements.

•Manage storage pool volumes.

Page 259: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

• • • ••

6-1

Unit 6: Policy Management

Unit 6: Policy Management

Page 260: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

6-2 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 6: Policy Management

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Introduction

Policy management enables the administrator to determine a set of rules explaining how IBM Tivoli Storage Manager will treat data. This set of rules is composed of policy domains, policy sets, management classes, and copy groups.

Objectives

2

Objectives

Upon completion of this unit, you will be able to:

• Define a new policy domain.• Define a new policy set.• Define a new management class.• Define a new backup copy group.• Assign a default management class.• Validate a policy set.• Activate a policy set.• Manage policies with the Administration Center.

Page 261: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 6-3

• • •••

Unit 6: Policy ManagementHow TSM Manages Data

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 1: How TSM Manages Data

Centrally Managed by Business Policy

3

Centrally Managed by Business Policy

• What Data to Backup • What Data to Archive • Where to Store the Data• Number of Versions to Retain• The Retention Period

Business Requirements for Data Management

Page 262: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

6-4 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 6: Policy ManagementHow TSM Manages Data

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Policy Management Overview

Policies, which are created by the administrator and stored in the database on the server, can be updated and the updates retroactively applied to already managed data. You might have one policy or many depending on business needs.

Policies include several elements:

• Policy Domain: A set of rules applied to a group of nodes managed by the same set of policy constraints as defined by the policy sets. A node may only be defined to one policy domain per server. A node may be defined to more than one Tivoli Storage Manager server.

• Policy Set: A collection of management class (MC) definitions. A policy domain may contain a number of policy sets, however, only one policy set in a domain can be active at a time.

• Management Class: A collection of management attributes describing backup and archive characteristics. There are two sets of MC attributes, one for backup and one for archive. A set of attributes is called a copy group. There is a backup copy group and an archive copy group. For Tivoli Space Manager clients only, there are parameters that affect space management.

4

Policy Management Overview

Policy Domain

Active Policy Set

Management Class

ArchiveCopyGroup

ArchiveCopyGroup

BackupCopyGroup

BackupCopyGroup

TSM servers

Page 263: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 6-5

• • •••

Unit 6: Policy ManagementHow TSM Manages Data

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

How Tivoli Storage Manager Stores Client Data

5

How Tivoli Storage Manager Stores Client Data

The client binds files to management class.

The file information is stored in the TSM database.

The files are stored in storage pools.

Page 264: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

6-6 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 6: Policy ManagementDefining Policy

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 2: Defining Policy

Policy Domain

A policy domain provides you with a logical way of managing backup and archive policies for a group of nodes with common needs. It is a collection of one or more nodes and one or more policies. Each domain is an object stored in the Tivoli Storage Manager database with a name that contains from 1 to 30 characters. Policy domain names should be meaningful. There is no limit to the number of policy domains that can be defined on a Tivoli Storage Manager server.

A client node can be associated with only one policy domain on a specific Tivoli Storage Manager server. However, a client or node may be registered (defined) to more than one server. Each domain may have one or more clients or nodes associated with it. The clients or nodes may be running on the same or different platforms. Some installations may only require a single policy domain.

A policy domain also contains a grace period backup and an archive retention period. This grace period acts as a safety net to insure that data backed up or archived in a storage pool is not inadvertently deleted.

6

Management Class

ArchiveCopyGroup

ArchiveCopyGroup

Default Policy SetDefault Policy Set

BackupCopyGroup

BackupCopyGroup

ArchiveCopyGroup

ArchiveCopyGroup

BackupCopyGroup

BackupCopyGroup

Policy DomainPolicy Domain

Active Policy Set

Management Class

ArchiveCopyGroup

ArchiveCopyGroup

Default Policy SetDefault Policy Set

BackupCopyGroup

BackupCopyGroup

•Client nodes are assigned to a policy domain.

•Policy domains are groups of one or more policies.

•Policy domains are stored in the TSM database.

•Policy domain names may be from 1 to 30 characters.

•There is no limit to the number of defined policy domains.

•A client node can only be associated with one policy domain.

Page 265: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 6-7

• • •••

Unit 6: Policy ManagementDefining Policy

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Using the Administration Center to Define Policy Domains

1. Click Policy Domains and Client Nodes in the Tivoli Storage Manager tree.

2. In the Servers table, select the name of a server.

3. In the policy domains notebook of the server, click Select Action, select Create a Policy Domain.

7

Policy Management with the Administration Center—Policy Domain

Page 266: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

6-8 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 6: Policy ManagementDefining Policy

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Using the Command Line to Define a Domain

• Domainname: Specifies the name of the policy domain to be defined. This parameter is required. The maximum length of this name is 32 characters.

• DESCription=description: Specifies a text string that describes the policy domain. This parameter is optional, but it is suggested to provide a meaningful description. The maximum length of the description is 255 characters.

• BACKRETention=bkretvalue: Specifies the number of days (from the date the backup versions became inactive) to retain backup versions of files that no longer exists on the client system. This is a grace period.

• ARCHRETention=arch: Specifies the number of days (from the date of archive) to retain archive copies that are bound to a management class that no longer exists on the client system. This is a grace period.

Related commands include: update domain and delete domain.

Remember, a policy domain also contains a grace period backup and an archive retention period.

8

Management Class

ArchiveCopyGroup

ArchiveCopyGroup

Default Policy SetDefault Policy Set

BackupCopyGroup

BackupCopyGroup

ArchiveCopyGroup

ArchiveCopyGroup

BackupCopyGroup

BackupCopyGroup

Using the Command Line to Define a Domain

Policy Domain UNIXActive Policy Set

Management Class

ArchiveCopyGroup

ArchiveCopyGroup

Default Policy SetDefault Policy Set

BackupCopyGroup

BackupCopyGroup

Use the define domaincommand to define a policy domain for the UNIX clients.

define domain UNIX description=“Policy domain for UNIX clients”

Page 267: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 6-9

• • •••

Unit 6: Policy ManagementDefining Policy

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Define a New Policy Set

Each policy set contains a default management class and can contain any number of additional management classes. Policy sets are used to implement different policies based on user and business requirements.

Use the assign defmgmtclass command to specify an existing management class as the default management class for a particular policy set. You must assign a default management class for a policy set before you can activate that policy set. It is suggested that the default management class contains both an archive copy group and a backup copy group.

ASsign DEFMGmtclass domainname setname classname

In the Administration Center, you work only with the active policy set.

9

Policy Set

•There can be only one active policy set per policy domain.

•There may be any number of inactive policy sets.

•The policy set is stored in the server database.

•Policy set names may be from 1 to 30 characters.

•A policy set is a collection of management classes.

•A policy set contains one default management class.

Policy Domain

Active Policy Set

Management Class

ArchiveCopyGroup

ArchiveCopyGroup

Default Policy SetDefault Policy Set

BackupCopyGroup

BackupCopyGroup

Page 268: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

6-10 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 6: Policy ManagementDefining Policy

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Using the Command Line to Define a Policy Set

• Domainname: Specifies the name of the policy domain to which the policy set belongs. This parameter is required.

• Setname: Specifies the name you want to assign to the policy set. This parameter is required. The maximum length of this name is 30 characters.

• Description: Describes the new policy set using a text string. This parameter is optional. The maximum length of the description is 255 characters. It is suggested you use the description since this will define the policy set once it becomes active.

10

Using the Command Line to Define a Policy SetPolicy Domain UNIX

Active Policy Set lab

Management Class

ArchiveCopyGroup

ArchiveCopyGroup

Default Policy SetDefault Policy Set

BackupCopyGroup

BackupCopyGroup

Use the define policysetcommand to define a policy set named lab in the UNIX policy domain.

define policyset UNIX lab description='Policy set for UNIX clients in the lab'

Page 269: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 6-11

• • •••

Unit 6: Policy ManagementDefining Policy

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Defining Management Classes for Policy-Driven Backup

A management class associates backup and archive groups with files and specifies if and how client node files are migrated to storage pools. Users can bind (which means, associate) their files to a management class through the include-exclude list. Include-exclude lists are discussed in Unit 9.

11

Management Classes (MC)Policy Domain

Active Policy Set

Management Class

ArchiveCopyGroup

ArchiveCopyGroup

Default Policy SetDefault Policy Set

BackupCopyGroup

BackupCopyGroup

• A management class represents a business requirements policy or service level agreement.

• A management class is associated with a backup copy group and archive copy group.

• The default management class does not require a backup copy group or an archive copy group, but it is a good idea.

• Clients may explicitly select a management class.

• Management class information is stored in the server database.

• Management class names may contain from 1 to 30 characters.

• A management class can contain a backup copy group, an archive copy group, both copy groups or no copy groups.

Page 270: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

6-12 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 6: Policy ManagementDefining Policy

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Using the Administration Center to Define Management Class

To define a management class using the Administration Center, perform the following steps:

1. Click Policy Domains and Client Nodes in the Tivoli Storage Manager tree.

2. In the Servers table, select the name of a server.

3. In the policy domains notebook of the server, select the name of a domain.

4. In the properties portlet of the domain, click Management Classes.

5. In the table, click Select Action, select Create Management Class.

12

Policy Management with the Administration Center—Management Class

Page 271: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 6-13

• • •••

Unit 6: Policy ManagementDefining Policy

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Using Command Line to Define Management Class

The parameters of the define mgmtclass command are shown below:

• Domainname: Specifies the name of the policy domain to which the management class belongs. This parameter is required.

• Setname: Specifies the name of the policy set to which the management class belongs. This parameter is required.

• Classname: Specifies the name of the new management class. This parameter is required.

• Description: Specifies a description of the management class. This parameter is optional. The maximum length of the description is 255 characters. Enclose the description in quotation marks if it contains any blank characters.

13

Using Command Line to Define Management Class Policy Domain UNIX

Active Policy Set lab

Management Class UNIXMC

ArchiveCopyGroup

ArchiveCopyGroup

Default Policy SetDefault Policy Set

BackupCopyGroup

BackupCopyGroup

Use the define mgmtclasscommand to define the management class that is named UNIXMC.

define mgmtclass UNIX lab UNIXMC

Page 272: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

6-14 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 6: Policy ManagementWorking With Copy Groups

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 3: Working With Copy Groups

Copy Groups

A copy group contains the specific storage management attributes that describe how the server is to manage backed up or archived files.

14

Copy Groups

•Copy groups contain the parameters that control the generation and expiration of backup and archive data.

•There are two types of copy groups: backup and archive.

•Each management class can contain up to two copy groups. If there are two copy groups, they will be:

• One for backups• One for archives

•All copy groups are named STANDARD.

Policy Domain

Active Policy Set

Management Class

ArchiveCopyGroup

ArchiveCopyGroup

Default Policy SetDefault Policy Set

BackupCopyGroup

BackupCopyGroup

Page 273: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 6-15

• • •••

Unit 6: Policy ManagementWorking With Copy Groups

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Using the Command Line to Define a Copy Group

Use the define copygroup command to define a new backup or archive copy group within a specified policy domain, policy set, and management class.

Additional define copygroup command parameters:

• DOMAINNAME: Specifies the name of the policy domain for which you are defining the copy group. This parameter is required.

• SETNAME: Specifies the name of the policy set for which you are defining the copy group. This parameter is required.

• CLASSNAME: Specifies the name of the management class for which you are defining the copy group. This parameter is required.

• STANDARD: Specifies the name of the copy group as STANDARD. This parameter is optional. The name of the copy group must be STANDARD, which is the default value.

• Type=Backup: Specifies that you want to define a backup copy group. The default parameter is BACKUP. This parameter is optional.

• Type=Archive: Specifies that you want to define an archive copy group. The default parameter is ARCHIVE. This parameter is optional.

15

Define Copygroup ParametersPolicy Domain

Active Policy Set

Management Class

ArchiveCopyGroup

ArchiveCopyGroup

Default Policy SetDefault Policy Set

BackupCopyGroup

BackupCopyGroup

• DOMAINNAME • SETNAME• CLASSNAME• STANDARD• TYPE=BACKUP (optional; default)

• TYPE=ARCHIVE• DESTINATION• FREQUENCY=FREQVALUE• VEREXISTS (Backup only)

• VERDELETE (Backup only)

• RETEXTRA (Backup only)

• RETONLY (Backup only)

• RETVER (Archive only)

• RETINIT (Archive only)

• RETMIN (Archive only)

• MODE=MODE• SERIALIZATION=SERIALVALUE

Page 274: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

6-16 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 6: Policy ManagementWorking With Copy Groups

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

• FREQuency=freqvalue: Specifies the minimum interval, in days, between successive backups. This parameter is optional.

• VERExists: Specifies the maximum number of backup versions to retain for files that are currently on the client file system. This parameter is optional. The default value is 2.

• VERDelete: Specifies the maximum number of backup versions to retain for files that have been deleted from the client file system after being backed up using Tivoli Storage Manager. This parameter is optional. The default value is 1.

• RETExtra: Specifies the number of days to retain a backup version after that version becomes inactive. A version of a file becomes inactive when the client stores a more recent backup version, or when the client deletes the file from the workstation and then runs a full incremental backup. The server deletes inactive versions based on retention time even if the number of inactive versions does not exceed the number allowed by the VEREXISTS or VERDELETED parameters. This parameter is optional. The default value is 30 days.

• RETOnly: Specifies the number of days to retain the last backup version of a file that has been deleted from the client file system. This parameter is optional. The default value is 60.

• RETVer: Specifies the number of days to keep an archive copy. This parameter is optional. The default value is 365.

• RETInit: Specifies when the retention time specified by the RETVER attribute is initiated. This parameter is optional. The default value is CREATION.

• RETMin: Specifies the minimum number of days to keep an archive copy after it has been archived. This parameter is optional. The default value is 365.

• MODE=mode: Specifies whether a file should be backed up based on changes made to the file since the last time it was backed up. This parameter is optional. The MODE value is only used for incremental backup. This value is ignored during selective backup. The default value is MODIFIED.

• SERialization=serialvalue: Specifies how files or directories are handled if they are modified during backup processing and what Tivoli Storage Manager should do if a modification occurs. This parameter is optional. The default value is SHRSTATIC.

Page 275: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 6-17

• • •••

Unit 6: Policy ManagementWorking With Copy Groups

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Using the Command Line to Define a Copy Group

Copy Group Attributes

The attributes in the copy group define:

• The storage pool destination where the backed up or archived data is to be stored.

• The minimal interval, in days, between backup and archive operations.

• Whether the file is to be backed up regardless of whether it has been modified since the last backup.

• Whether the file can be in use when a user attempts to back up or archive the file.

• The maximum number of different backup versions that may be retained for files no longer on the file system of the client.

• The retention period, in days, for all but the most recent backup version, and for the last remaining backup version that is no longer on the file system of the client.

• The number of days that an archive copy is to be retained.

16

Using the Command Line to Define a Copy Group

Policy Domain UNIX

Active Policy Set lab

Management Class UNIXMC

ArchiveCopyGroup

ArchiveCopyGroup

Default Policy SetDefault Policy Set

BackupCopyGroup

BackupCopyGroup

Use the define copygroupcommand to define the backup copy group and archive copy group for the UNIXMC management class.

define copygroup UNIX lab UNIXMC standard destination=diskpool

define copygroup UNIX lab UNIXMC standard type=archive destination=archivepool

Page 276: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

6-18 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 6: Policy ManagementWorking With Copy Groups

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

The set of backup parameters defines the following attributes:

• frequency

• mode (modified or absolute)

• destination

• copy serialization

• number of versions

• number of versions when the file is deleted

• retention days for all but the last version

• retention days for the last version when the file is deleted

The set of archive parameters defines the following attributes:

• frequency (always CMD)

• mode (always ABSOLUTE)

• destination

• copy serialization

• retention days for archive copies

Page 277: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 6-19

• • •••

Unit 6: Policy ManagementWorking With Copy Groups

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Default Server Policies

Tivoli Storage Manager provides a predefined policy domain, policy set, management class, backup copy group, and archive copy group. Each policy is stored on the server and named STANDARD. Using the policy objects provided in Tivoli Storage Manager allows you to begin using IBM Tivoli Storage Manager immediately. As you become familiar with Tivoli Storage Manager you can tailor the standard policies.

• Backup Retention Grace Period: Specifies the number of days to retain a backup version when the server is unable to rebind the file to an appropriate management class. The default is 30 days.

• Archive Retention Grace Period: Specifies the number of days to retain an archive copy when the server is unable to rebind the file to an appropriate management class. The default is 365 days.

Issuing the register client node command will fail if STANDARD is deleted.

17

Default Server Policies

STANDARD Policy Domain

Active Policy Set

Management Class

ArchiveCopyGroup

BackupCopyGroup BACKRETention=30

ARCHRETention=365

default domainon REGisternode

Page 278: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

6-20 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 6: Policy ManagementWorking With Copy Groups

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Policy Settings in STANDARD Domain

18

These values come with Tivoli Storage Manager in the STANDARD Domain:

Type = Backup DESTination = Backuppool VERExists = 2 VERDeleted = 1 RETExtra = 30 RETOnly = 60 SERialization = SHRSTatic

Type = Archive DESTination = Archivepool FREQuency = Cmd RETver = 365 MODE = ABSolute SERialization = SHRSTatic

Policy Settings in STANDARD Domain

Page 279: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 6-21

• • •••

Unit 6: Policy ManagementExpiration

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 4: Expiration

Expiration is the process by which files are identified for deletion because their expiration date or retention period has passed. Backed up or archived files are marked expired by IBM Tivoli Storage Manager based on the criteria defined in the backup or archive copy group.

Expire inventory manually starts inventory expiration processing. The inventory expiration process removes client backup and archive file copies from server storage based on policy specified in the backup and archive copy groups of the management classes to which the files are bound.

19

Expire Inventory

Page 280: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

6-22 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 6: Policy ManagementExpiration

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Related Server Option: EXPINterval Hours

Copies of files that have expired are not deleted from server storage until expiration processing occurs. You can run expiration processing either automatically or by command. You control automatic expiration processing by using the expiration interval option (EXPINTERVAL) in the Tivoli Storage Manager options file (dsmserv.opt).

Expiration processing then deletes eligible backup versions and archive file copies. Backup versions are eligible based on policy in the backup copy group (how long and how many inactive versions are kept). Archive file copies are eligible based on policy in the archive copy group (how long archived copies are kept).

If you need to cancel inventory expiration, use the command

cancel expiration.

Do not cancel the process.

20

Related Server Option: EXPINterval Hours

The EXPINterval Hours option:

•Specifies the number of hours between automatic inventory expiration runs.

•Has a minimum value of 0, where automatic expiration does not occur and must be started with the expire inventory command.

•Has a maximum value of 336 hours (14 days).•Has a default value of 24 hours.

Inventory expiration is resource intensive. You can set the EXPINterval to 0 and schedule expiration during slower periods.

Page 281: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 6-23

• • •••

Unit 6: Policy ManagementExpiration

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Example of Expiration Processing: Part 1

The slide shows the life cycle of a backed up client file as it is stored in a TSM storage pool. A scheduled incremental backup and expire inventory run every day and the copy group values for this file are:

– Frequency = 0

– Verexists = 3 (Maximum)

– Verdeleted = 1

– Retextra = 30 (File exists on workstation)

– Retonly = 60 (File deleted from workstation)

– Mode = modified

Use the chart in the slide to consider what happens as TSM is backing up a changed file

every day. For this scenario, on day 6, the file goes unchanged.

On day 1 the file is changed or created. That evening it is backed up. The file would be

marked as active. The same logic applies through day 4. Follow this logic through to day 4. Put the letter I (for inactive) on the extra versions. On day 4, because we are only keep-ing three versions of the file, the fourth backup is removed. Versions beyond the first three

for days 4, 5, and 6 would not be kept.

21

Example of Expiration Processing: Part 1

Frequency = 0Verexists = 3Verdeleted = 1Retextra = 30 Retonly = 60Mode = modified

resu

me.

do

c

day backup versions

changed

changed

changed

changed

changed

Page 282: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

6-24 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 6: Policy ManagementExpiration

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Example of Expiration Processing: Part 2

Assume a scheduled incremental backup and expire inventory run every day and that backup and copy group values for this file are:

– Frequency = 0

– Verexists = 3 (Maximum)

– Verdeleted = 1

– Retextra = 30 (File exists on workstation)

– Retonly = 60 (File deleted from workstation)

– Mode = modified

In this example, notice that the backup 1 on day 4 is gone because we are keeping only three versions based on VERExist=3. Notice, too, that the file goes unchanged after day 4. In this case, can you predict the results for day 33?

On day 33, you would expect to see only one version. This is because RETAINEXTRA is set to 30 and needs to be NO LIMIT if you always want three versions.

Can you predict when backup 2 would expire?

22

Example of Expiration Processing: Part 2

Frequency = 0Verexists = 3Verdeleted = 1Retextra = 30 Retonly = 60Mode = modified

resu

me.

do

c

day backup versions

A = activeI = inactive

changed

changed

changed

changed

Page 283: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 6-25

• • •••

Unit 6: Policy ManagementExpiration

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Backup 2 would expire on day 33 because it became inactive on day 3 and you would add 30 days based on RETEXTRA=30.

Tivoli Storage Manager File Backup Processing: Part 3

Assume a scheduled incremental backup and expire inventory run every day and that copy group values for this file are:

– Frequency = 0

– Verexists = 3 (Maximum)

– Verdeleted = 1

– Retextra = 30 (File exists on workstation)

– Retonly = 60 (File deleted from workstation)

– Mode = modified

Can you predict what happens if the file is erased on the morning of day 4?

Backup 3 will go inactive if the file is deleted.

How many extra copies will be there after the incremental backup on day 4?

23

Example of Expiration Processing: Part 3

Frequency = 0Verexists = 3Verdeleted = 1Retextra = 30 Retonly = 60Mode = modified

resu

me.

do

c

day backup versions

changed

changed

changed

A = activeI = inactive

Page 284: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

6-26 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 6: Policy ManagementExpiration

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

To determine this, notice that VERDELETED is set to 1. This means that backups 1 and 2 will be lost.

Can you predict when the only backup will go away?

The only backup will go away on day 64 because RETONLY is set to 60.

Page 285: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 6-27

• • •••

Unit 6: Policy ManagementExpiration

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Storage Management Archive File Management

The RETAIN VERSION that is specified in the archive copy group specifies the number of days an archived copy remains in data storage. When the specified number of days elapses for the archived copy of the file, IBM Tivoli Storage Manager deletes the file from data storage.

Unlike the backup function, archive does not allow multiple versions of data files and directories.

24

Storage Management Archive File Management

Retain archive copy

for 12 months.

There is no versioning with archiving.

The expiration processing is run.

Nov 2007

Jan 2007

Dec 2007

Feb 2007

Oct 2007

Jun 2007

Mar 2007

Apr 2007 May 2007

Jul 2007 Sep 2007Aug 2007

Jan 2008

Page 286: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

6-28 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 6: Policy ManagementExpiration

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Specifying the Management Class

The management class specified in the policy domain defines the backup and archive criteria for client nodes in the policy domain.

Client users have the option of creating an include-exclude list to identify what files are eligible for backup services and to specify how IBM Tivoli Storage Manager will manage backed up or archived files.

The INCLUDE and EXCLUDE options are specified in the client option file.

If you do not specify the Management Class, the default Management Class is used.

25

Specifying the Management Class

Page 287: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 6-29

• • •••

Unit 6: Policy ManagementExpiration

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Policy Domain Grace Retention Periods

Each policy domain contains a backup grace retention period and an archive grace retention period. The grace retention period is used to protect backup versions and archive copies from immediately being deleted when the default management class does not contain a backup or archive copy group.

26

Policy Domain Grace Retention Periods

The policy domain grace retention period is specified in define domain command.

• Backup retention grace period defaults to 30 (BACKRETention=30).• Archive retention grace period defaults to 365 (ARCHRETention=365).

The policy domain grace retention period is used when default MGMTCLASS has no copy group for backup and archive.

One of the following situations must also apply:• MGMTCLASS for backup no longer contains backup copy group.• MGMTCLASS for an archive no longer contains archive copy group.• MGMTCLASS no longer exists.

Page 288: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

6-30 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 6: Policy ManagementExpiration

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Assign Default Management Class

You must assign a default management class for a policy set before you can activate that policy set. To ensure clients can always back up and archive files, choose a default management class that contains both an archive copy group and a backup copy group.

• DOMAIN_NAME: Specifies the policy domain to which the management class belongs.

• POLICY_SET_NAME: Specifies the policy set for which you want to assign a default management class. You cannot assign a default management class to the ACTIVE policy set.

• CLASS_NAME: Specifies the management class that is to be the default management class for the policy set.

27

Assign Default Management Class

Use the assign defmgmtclass command to specify a management class as default.

ASSIGN DEFMGMTCLASS UNIX lab UNIXMC

Page 289: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 6-31

• • •••

Unit 6: Policy ManagementExpiration

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Validate and Activate Policy Sets

The validate command examines the management class and copy group definitions in a specified policy set and reports on conditions that need to be considered if the policy set is to be activated. After a change is made to a policy set, and the policy set is validated, then the policy set must be activated to make it the ACTIVE policy set.

The validate policy set command will fail if any of the following conditions exist:

• A default management class is not defined for the policy set.

• A copy group within the policy set specifies a copy storage pool as a destination.

• A management class specifies a copy pool as the destination for space-managed files.

When a policy set is activated, the contents of the policy set are copied to a policy set that has the reserved name ACTIVE. Once activated, there is no real relationship between the policy set that has been activated (copied to ACTIVE) and the contents of the ACTIVE policy set. The original policy set can still be modified, but the copied definitions in the ACTIVE policy set can only be modified by activating another policy set.

28

Validate and Activate Policy Sets

Use the validate policyset command to verify that a policy set is complete and valid prior to activating it.

VALIDATE POLICYSET UNIX lab

Use the activate policyset command to specify a policy set as the Active policy set for a policy domain.

ACTIVATE POLICYSET UNIX lab

When a policy set is activated, its contents are copied to a policy set that has the reserved name ACTIVE.

Policy sets are automatically validated and activated when you use the Administration Center to define or modify the management class.

Page 290: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

6-32 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 6: Policy ManagementExpiration

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Binding and Rebinding the Management Class (MC)

Binding is the process of associating a file name with a management class name. Files are bound to a management class name when:

• A user can bind a file to a specific management class name using the INCLUDE option on an include-exclude list.

• A user can bind a file to a management class name using the ARCHMC option when archiving a file.

• A user can bind a directory to a management class name using the DIRMC option when backing up a file.

• The client node can bind a file to the default management class in the active policy set, when a user does not bind to a specific management class name.

Rebinding is the process of associating a file with a new management class name.

Archive files are never rebound since each archive operation creates a different archive copy.

29

Binding and Rebinding the Management Class (MC)

• The MC is bound to the file during archive.

• Archive files are never re-bound to a different MC.

• Different archives of the same file may have a different MC.

MyDoc.txt MyDoc.txt

MyDoc.txt

• The MC is bound to the file during backups.

• All backup versions of a file are bound to the same MC.

• Backup versions of a file can be re-bound to a different MC.

Page 291: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 6-33

• • •••

Unit 6: Policy ManagementExpiration

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Rebinding Management Classes to Backup Versions

All backup versions are re-bound to the new MGMTCLASS

If the management class to which files are bound is deleted, IBM Tivoli Storage Manager uses the attributes of the default management class to manage the backup versions.

30

Rebinding Management Classes to Backup Versions

Backup versions are re-bound to a different management class name in the following cases:

• Users change the management class assigned to a file by specifying a different management class in an include-exclude list and then performing an incremental or selective backup.

• An administrator activates a policy that does not contain the management class.

• An administrator assigns a client node to a different policy domain and the active policy set in that policy domain does not have a management class with the same name.

Page 292: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

6-34 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 6: Policy ManagementExpiration

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Export/Import of Policy

The export policy command moves policy information from one or more policy domains.

Policy information includes policy domain and set definitions, management class definitions, backup, copy group and archive group definitions, schedule definitions for each policy domain, and client node associations.

31

Export/Import of Policy

Use the export policy command to export definitions for policy domains, policy sets, management classes, backup and archive copy groups, and schedules to another server.

export policy replacedefs=yes toserver=serverpink

Page 293: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 6-35

• • •••

Unit 6: Policy ManagementExpiration

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercise

Open your Student Exercises and perform the exercises for this unit.

32

Student Exercise

Page 294: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

6-36 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 6: Policy ManagementExpiration

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Review Questions

1. The __________ command examines the management class and copy group definitions in a specified policy set and reports on conditions that need to be considered if the policy set is to be activated.

a. activate

b. bind

c. validate

d. reclamation

2. Each management class can contain up to ______ copy groups.

3. Each policy is stored on the server and named ___________.

4. True or False? A TSM client node can be associated with multiple policy domains on the same Tivoli Storage Manager server.

5. Copies of files that have expired are not deleted from server storage until ______________________ occurs.

Page 295: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

Unit 6: Policy ManagementExpiration

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 6-37

• • •••

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Page 296: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

6-38 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 6: Policy ManagementExpiration

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Review Answers

1. The __________ command examines the management class and copy group definitions in a specified policy set and reports on conditions that need to be considered if the policy set is to be activated.

a. activate

b. bind

c. validate

d. reclamation

c. validate

2. Each management class can contain up to ______ copy groups.

two

3. Each policy is stored on the server and named ___________.

Standard

4. True or False? A TSM client node can be associated with multiple policy domains on the same Tivoli Storage Manager server.

false

5. Copies of files that have expired are not deleted from server storage until _______________ occurs.

expiration processing

Page 297: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 6-39

• • •••

Unit 6: Policy ManagementExpiration

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Summary

33

Summary

You should now be able to:

• Define a new policy domain.• Define a new policy set.• Define a new management class.• Define a new backup copy group.• Assign a default management class.• Validate a policy set.• Activate a policy set.• Manage policies with the Administration Center.

Page 298: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

6-40 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 6: Policy ManagementExpiration

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Page 299: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

• • • ••

7-1

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery Log

Unit 7: Customizing the Storage Manager Database and Recovery Log

Page 300: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

7-2 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery Log

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Introduction

The Tivoli Storage Manager database is used by the server to manage information about client files. The Tivoli Storage Manager recovery log is used to ensure the consistency and availability of the database. This unit covers how to choose the size and location of the database and recovery log. You will also configure the database and recovery log for improved performance.

Objectives

2

Objectives

Upon completion of this unit, you will be able to:

• Identify the purpose of the database and recovery log volumes.

•Choose the location of the database and recovery log.•Determine the size of the database and recovery log.•Configure the database and recovery log to optimize performance.

•Configure the database and recovery log for high availability.

Page 301: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 7-3

• • •••

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery LogThe Purpose of the Database and Recovery Log

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 1: The Purpose of the Database and Recovery Log

Database and Recovery Log

The Tivoli Storage Manager database contains information that is needed for server operations and information about client data that has been backed up, archived, and space-managed. The database does not store client data. Instead, the database points to the locations of the client files in the storage pools.

The database includes information about:

• Client nodes and administrators

• Policies and schedules

• Server settings

• Locations of client files on server storage

• Server operations (for example, activity logs and event records)

3

Database and Recovery Log

The TSM database is used by the server to manage information about client files.

The recovery log ensures consistency and availability of the database.

backup-archiveclient

TSM server

Page 302: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

7-4 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery LogThe Purpose of the Database and Recovery Log

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

The recovery log contains information about database updates that have not yet been committed. Updates can include activities such as defining a management class, backing up a client file, and registering a client node. Changes to the database are recorded in the recovery log to maintain a consistent database image.

Page 303: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 7-5

• • •••

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery LogThe Purpose of the Database and Recovery Log

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Transactions

The transaction records remain in the buffer pool until the active buffer becomes full or IBM Tivoli Storage Manager forces log records to the recovery log. The log records are moved to the recovery log volume disk when the transaction is committed.

Changes resulting from transactions are held in the buffer pool temporarily and are not made to the database immediately. Therefore, the database and recovery log are not always consistent. When all records for a transaction are written to the recovery log, IBM Tivoli Storage Manager updates the database. The transaction is then committed to the database. At some point after a transaction is committed, the server deletes the transaction record from the recovery log.

When a transaction occurs, the Tivoli Storage Manager server performs the following actions:

1. Reads a database page into the database buffer and updates it. A page is a 4096 byte block that is transferred as a unit between memory and disk storage.

2. Writes a transaction log record to the recovery log to describe the action that is occurring and associates it with the database page in case the database page needs to be rolled back during recovery.

3. Writes the database page to the database, releasing it from the buffer pool. The page remains in the buffer pool until buffer space is needed for another page.

4

Transactions

•A transaction is the unit of work exchanged between the TSM client and TSM server.

•To support multiple transactions from concurrent client sessions, the server holds the transaction log records in the recovery log buffer until they can be written to the recovery log.

•The transaction is committed. TRANSACTION COMMIT is the writing of all the log records for that transaction to the recovery log.

•The TSM database is updated.

recovery log buffer

backup-archiveclients

Page 304: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

7-6 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery LogThe Purpose of the Database and Recovery Log

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Recovery Log

The recovery log is used by the server to keep a record of all changes to the database. When a change occurs, the recovery log is updated with some transaction information prior to the database being updated. This enables uncommitted transactions to be rolled back during recovery, so the database remains consistent.

The recovery log functions in two modes: normal mode and roll-forward mode.

Normal Mode

When the transaction log record is written to the recovery log, a recovery point is recorded in it, and the data is committed to the database. A point of consistency is a time when all recoverable information in the database matches the data managed by the server. If the database needs to be recovered, the server uses the recovery point in the recovery log to bring the database back to its last point of consistency. If a failure occurs before a transaction is committed to the database, the server rolls back any changes made to the database pages.

The log is treated as a circular array of blocks with the head (the newest log records) always chasing the tail (oldest records). The server will never let the head overtake and overwrite the tail; it must take some other action. As transactions commit, they free up log space and allow the tail to move forward. The recovery log saves some records for transactions that

5

Recovery Log

•Log space in normal modeis managed as a circular array of blocks.

•Out of log space causes in-process transactions to stop.

•Log space is freed when transactions commit or stop.

• Log records changes prior to database update.

Old

New

Use normal mode for first complete backup, then change to roll-forward.

Page 305: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 7-7

• • •••

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery LogThe Purpose of the Database and Recovery Log

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

have already been committed, but only to the extent necessary to perform redo processing on recovery.

Roll-Forward Mode

In roll-forward mode, all changes made to the database since the last database backup are saved in the recovery log. With roll-forward mode and an intact recovery log, you can recover the database up to its most current state (the point at which the database was lost).

The recovery log keeps all transactions since the last database backup. In this mode you should significantly increase the recovery log size.

However, frequent database backups reduce recovery log storage requirements (after a backup is completed, recovery log records preceding the backup are deleted).

Page 306: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

7-8 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery LogThe Purpose of the Database and Recovery Log

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Database Space Allocation

? N

Determine How Many Database Volumes You Need

Database access is predominately read-oriented. Placing the database volumes over multiple physical volumes may improve performance because this allows the logical volume manager to spread the I/O load over more volumes. This is also true when mirroring is used because the logical volume manager schedules read operations to the least busy volume in a mirror set. However, keep the number of volumes reasonable (less than 12), to reduce space used for logical volume manager overhead. The maximum database size limit is 530 GB.

If you notice a performance problem, consider adding another TSM server.

6

TSM Database Space Allocation

Considerations:

• The database is predominately read-oriented. • The TSM database volumes should be distributed across disks

for improved performance.

Refer to the IBM Tivoli Storage Manager Performance Tuning Guide for more information.

Page 307: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 7-9

• • •••

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery LogThe Purpose of the Database and Recovery Log

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Recovery Log Space Allocation

Determine How Many Database Volumes You Need

Access to the recovery log is predominately write-oriented with the writes and the few reads clustered together. The writes are done in a moving cursor format, which does not lend itself to multiple volume optimizations. Therefore, fewer recovery log volumes are appropriate. Mirroring has little effect on the performance of the recovery log. The maximum log file size limit is 13 GB.

Using the Administration Center, you can create 12 GB recovery logs.

Volumes used to contain the database and the recovery log must be disk volumes.

7

Recovery Log Space Allocation

Considerations:•The recovery log is predominately write-oriented. •The recovery log should not be distribute over multiple disks.•The log file maximum size limit is 13 GB.

Refer to the IBM Tivoli Storage Manager Performance Tuning Guidefor more information.

Allocate on separate physical volume from database.

Page 308: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

7-10 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery LogSizing the Database and Recovery Log

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 2: Sizing the Database and Recovery Log

Estimating Space Requirements for the Database

The size of your Tivoli Storage Manager database depends on the number of client files to be stored and how Tivoli Storage Manager manages them. If you can estimate the maximum number of files that might be in server storage at any time, you can use the following information to come up with a useful database size estimate:

• Each version of a file that Tivoli Storage Manager stores requires about 400 to 600 bytes of database space.

• Each cached or copy storage pool copy of a file requires about 100 to 200 bytes of database space. Caching is turned off by default. It is only used for moving from one storage pool to next.

• Overhead could increase the required space up to an additional 25%.

8

Estimating Space Requirements

•Each version of a file that Tivoli Storage Manager stores requires about 400 to 600 bytes of database space.

•Each cached file, copy storage pool file, and active-data pool file requires about 100 to 200 bytes of database space.

• Caching is turned off by default. It is only used for moving from one storage pool to next.

•Overhead could increase the required space up to an additional 25%.

Page 309: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 7-11

• • •••

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery LogSizing the Database and Recovery Log

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

In the following example, the computations are probable maximums.The numbers are not based on the use of file aggregation. In general, the more that small files are aggregated, the less database space required.

9

Estimating the Size of the Database

Backed up files Up to 500,000 client files might be backed up. Storage policies call for retaining up to three copies of backed up files.Archived files Up to 100,000 files might be archived copies of client files.Space-managed files Up to 200,000 files migrated from client workstations might be in server storage.

[(500,000 X 3 ) + 100,000 + 200,000)] x 600 bytes = 1.0 GBCopy storage pool files All primary storage pools are backed up to the copy storage pool:

(1,500,000 + 100,000 + 200,000) x 200 bytes = 343 MBActive-data pool files All the active client backup data in primary storage pools is copied to the active-data pool. Assume that 500,000 versions of the 1,500,000 backup files in the primary storage pool are active.

500,000 x 200 bytes = 95 MB

Estimated database size is 1.5 GBFile space (1.0 GB) + copy space (343 MB + 95 MB = 438 MB)

Page 310: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

7-12 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery LogSizing the Database and Recovery Log

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Cached Files

10

Cached Files

Disk pool caching:•Cached copy requires 100 - 200 bytes of database space.•Average file size is about 10 KB.•About 100,000 files are in cache at any one time.

100,000 files x 200 bytes = 20 MB

Caching is enabled in the disk storage pool. The disk pool has acapacity of 5 GB and uses the default high migration threshold (90%) and low migration threshold (70%). Thus, if migration begins at 90% and stops at 70%, 20% of the disk pool, or 1 GB, is occupied by cached files.

Page 311: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 7-13

• • •••

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery LogSizing the Database and Recovery Log

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Estimating the Size of the Recovery Log

In both normal mode and roll-forward mode, the volume of Tivoli Storage Manager transactions affects how large you should make your recovery log. As more clients are added and the volume of concurrent transactions increases, you should extend the size of the log. In roll-forward mode you must also consider how often you perform database backups. In this mode, the recovery log keeps all transactions since the last database backup and typically requires significantly more space than is required in normal mode.

In roll-forward mode, you need to determine how much recovery log space is used between database backups. For example, if you plan daily incremental backups, you should check your daily usage over a period of time.

You can use the following procedure to make your estimate:

For example, over a period of a week the highest cumulative consumption value was 500 MB. If you set your recovery log to 650 MB you should have sufficient space between daily backups.

11

Estimating the Size of the Recovery Log

Easy estimation rules for recovery log size requirements:

1 KB of recovery log space x daily number of transactionsor

5% to 10% of total database size for normal modeand

10% to 15% of total database size for roll-forward mode

Page 312: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

7-14 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery LogAdding Space

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 3: Adding Space

Creating Additional Volumes

Define: Use the define dbvolume command to define a new database volume and use the define logvolume command to define a new recovery log volume.

Another method to allocate a new Tivoli Storage Manager database volume is by using the define dbvolume command with the FORMATSIZE option from either the Tivoli Storage Manager console or an administrative client.

Extend: Use the extend db command to increase the amount of space that can be used by the database within all the database volumes previously allocated to Tivoli Storage Manager. Use the extend log command to increase the amount of space that can be used by the recovery log within all the recovery log volumes previously allocated to Tivoli Storage Manager.

12

Creating Additional Volumes

DEFine DBVolume volume_name Formatsize=format sizeEXTend DB mb

DEFine LOGVolume volume_name Formatsize=format sizeEXTend LOG mb

Page 313: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 7-15

• • •••

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery LogAdding Space

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Examples

UNIX Example

DEFine DBVolume volume_name Formatsize=[format size]DEF DBVol /usr/tivoli/TSM/server/dbvol/db2.dsm F=12

DEFine LOGVolume volume_name Formatsize=[format size] DEF LOGVol /usr/tivoli/TSM/server/rclog/log2.dsm F=8

EXTend DB mbEXTend LOG mb

EXT db 12EXT log 8

Note: For UNIX users, the database name is case sensitive. Remember this when typing in the name of your volume. It is a best practice not to have your database and logs in the /bin directory.

Windows Example

DEFine DBVolume volume_name Formatsize=[format size] DEF DBVol D:\TSM\SERVER\db2.dsm F=12

DEFine LOGVolume volume_name Formatsize=[format size] DEF LOGVol D:\TSM\SERVER\log2.dsm F=8

EXTend DB mbEXTend LOG mb

EXT db 12EXT log 8

Page 314: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

7-16 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery LogAdding Space

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Database and Recovery Log Space

Volumes used to contain the database and the recovery log must be disk volumes.

IBM Tivoli Storage Manager treats all volumes associated with the database or with the recovery log as a single logical volume. The logical volume manager maps data between logical and physical storage, allowing database and recovery log data to span physical disks. No reorganization of the database or recovery log is required.

The amount of available space for the database or recovery log equals the combined space of all volumes defined to the database or recovery log. As data is added, Tivoli Storage Manager tracks the percentage of utilization, which is the amount of space used at a specific point in time. Be aware that the maximum amount of space used by the recovery log can vary significantly throughout the day, as it is proportional to the transaction load on the system. The maximum amount of space used by the database is more consistent with the utilization percentage, because the amount of database space consumed grows in proportion to the number of objects inserted into the database.

Note: It is a good practice to always have extension space available.

16

Database and Recovery Log Space Considerations

Available Space

Assigned Capacity Maximum Extension

Maximum % Used

Maximum Reduction

% Utilization

Volumes used for database and recovery log must be disk volumes.All volumes treated as a single logical volume.

Page 315: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 7-17

• • •••

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery LogAdding Space

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Using the Administration Center

13

Using the Administration Center to Create, View, and Modify Database and Log Volumes

15

TSM Administration Center’s Database and Recovery Log Tasks

Page 316: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

7-18 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery LogReducing the Database and Recovery Log Space

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 4: Reducing the Database and Recovery Log Space

There are some additional commands that can be used to decrease both database and recovery log space.

• Use the reduce db command to decrease the amount of space that can be used by the database. To reduce the capacity of the database, you must reduce the database in 4 MB increments. If you do not specify the reduction in 4 MB increments, Tivoli Storage Manager rounds the number to the next 4 MB partition.

• Use the reduce log command to decrease the amount of space that can be used by the recovery log. To reduce the capacity of the recovery log, you must reduce the recovery log in 4 MB increments. If you do not specify the reduction in 4 MB increments, Tivoli Storage Manager rounds the number to the next 4 MB partition. The log must be in normal mode.

For example, if you specify 11 MB, the server will round up to 12 MB when doing the extend or reduce operation. This does not apply to data storage. There is no notion of extending or reducing storage pool storage other than in volume increments.

15

Reducing the Database and Recovery Log Space

REDUCE DB size

REDUCE LOG size

You should only need to run these commands if you want to redesign the volume layouts, or if you redefine volume to Tivoli Storage Manager.

Page 317: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 7-19

• • •••

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery LogMirroring

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 5: Mirroring

Database and Recovery Log Mirroring

The availability of the database and recovery log is ensured, by providing protection from logical errors and from device or media failures.

Mirroring offers additional flexibility to that of using a hardware dual copy. Mirroring has the following benefits:

• Three copies can be supported.

• You have finer control over what is mirrored.

• Copies may be on physical volumes that reside on different storage control units.

• Support for multiple and different direct access storage device types.

• Read performance improves with mirroring because the server will read from the device with the best response time.

17

Database and Recovery Log Mirroring

Reads from device with best response time.

Does not disruptrecovery.

mirror

log1

DB1

log1copy

DB1copy

Page 318: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

7-20 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery LogMirroring

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Note: It is not advisable to independently mirror volumes used for the database or recovery log, although it is allowed.

Using the Administration Center to Mirror

18

Using the Administration Center to Mirror Volumes

Page 319: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 7-21

• • •••

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery LogMirroring

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Mirroring Examples

To format and define a mirror, issue the following command:

define database copy primary copy mirror copy formatsize=size

19

Mirroring Examples

Mirror database volume 4:

define database copy primary copy mirror copy Formatsize=size

def dbcopy e:\tsmdata\server1\db4.dsm k:\mirs\db4mir.dsm f=12

def dbcopy /usr/tivoli/tsm/server/bin/db4.dsm/usr/tivoli/tsm/server/mirs/db4mir.dsm f=12

Mirror log volume 2:

define log copy primary copy mirror copy Formatsize=size

def logcopy e:\tsmdata\server1\log2.dsm k:\mirs\log2mir.dsm f=8

def logcopy /usr/tivoli/tsm/server/bin/log2.dsm/usr/tivoli/tsm/server/mirs/log2mir.dsm f=8

Page 320: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

7-22 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery LogBUFPOOLSIZE Parameters

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 6: BUFPOOLSIZE Parameters

IBM Tivoli Storage Manager can dynamically adjust the size of the database buffer pool or you can adjust it manually.

The database buffer pool is storage that is used as a cache allowing database pages to remain in memory for long periods of time. This enables the server to make continuous updates to pages without requiring input or output operations from external storage.

To have the server automatically tune the BUFPOOLSIZE option, set the SELFTUNEBUFPOOLSIZE option to YES. The default is NO. If you specify YES for the SELFTUNEBUFPOOLSIZE server option, the database buffer pool is dynamically adjusted. The cache hit ratio statistics for the buffer pool are reset at the beginning of expiration. After expiration processing completes, the buffer pool size is adjusted dynamically.

Use the setopt bufpoolsize command to change the buffer pool size.

20

BUFPOOLSIZE Parameters

• Server expiration processing resets the database buffer pool before the next processing starts and examines if the database buffer pool cache hit ratio is above 98%.

• If the cache hit ratio is lower than 98%, the database buffer pool will be increased; if it is higher, the buffer pool size will not change.

• Increasing the database buffer pool will not use more than 10% of available real storage.

BUFPOOLSIZE

• The minimum size is 256 KB• The maximum size is limited by available memory• The default is 32768 KB

Suggested size is 131072 KB for server with 1 GB real memory (10% to 15% of real memory).

Page 321: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 7-23

• • •••

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery LogSpace Triggers

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 7: Space Triggers

Define Spacetrigger

When the server performs an internal data movement operation, such as migration, reclamation, move data, or storage pool backup or restore, it will adjust the values of automatic performance tuning parameters, if configured, to achieve optimal performance. To prevent running out of log space during these operations, use the define spacetrigger command to allow for expansion of the recovery log.

Administrator-defined space triggers tell the Tivoli Storage Manager server when to increase the size of the database or log. Space triggers define a maximum utilization percentage. When that utilization percentage is reached, the first step is to increase the size of the database or log, using space previously allocated but not used. The extend command is used to do this.

If there is no previously allocated space, or if there is insufficient space to reduce the utilization percentage below the trigger value, the database or log is expanded. The first step in expanding the database is to allocate a new volume. A volume prefix name and the amount of space by which to extend as a percentage of the existing database or log must be predefined. A constraining upper limit can be defined for the database or log to prevent

21

Define Spacetrigger

DEFine SPACETrigger db fullpct=80 spaceexpansion=20 expansionprefix=c:\tsmserver\mirrorprefixes=“f:\mirvol1\,g:\mirvol2\” max=10000

DEFine DBCopyQuery SPACETrigger db

500 Operation Results:

DB FullPercentage

----------80

DB SpaceExpansion

Percentage-----------

20

DB Expansion Prefix

------------C:\tsmserver

DB MaximumSize

(Megabytes)-----------

10000

Space triggers can be created, viewed, and modified with the Administration Center.

Use the define spacetrigger command to define settings for triggers that determine when and how Tivoli Storage Manager prepares additional space when predetermined thresholds have been exceeded in the database and recovery logs.

Mirror Prefix2

----------F:\mirvol2\

Mirror Prefix1

------------F:\mirvol1\

Page 322: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

7-24 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery LogSpace Triggers

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

extension beyond a certain point. When volume allocation formatting is finished, the database or log will be extended by the size of the newly allocated volumes. Mirrored volumes will be allocated as well if the database or log is mirrored.

The define spacetrigger command defines settings for the database and recovery log that determine when and how Tivoli Storage Manager deals with space shortages in the database and recovery log.

The first parameter specifies whether the database or log is to be managed by automatic space trigger extension (the exampleshown is for a database). Database triggers are covered in Unit 10. The following parameters can be added:

Note: To specify a directory as your prefix and allow the server to create files in that directory, use a backslash at the end of the directory you are specifying. Put quotation marks around the mirror prefix to ensure the directory separator characters are interpreted correctly.

Parameter Description

Fullpct=percentageSpecifies that when this value is reached Tivoli Storage Manager will acquire more space for expansion.

SPACEexpansion= percentage

Specifies the expansion size as a percentage of the existing size. Tivoli Storage Manager creates new volumes in multiples of 9 MB to achieve the required size.

EXPansionprefix= prefixname

Specifies the prefix to use when creating the expanded files. The prefix name can include one or more directory separator characters (for example: J:\tsmtivoli storage managerserv\). Storage Manager does not check the prefix name for validity and automatic expansion can fail if invalid.

MAXimumsize=number

Specifies the maximum allowable size of the database or log. If below this size when the utilization trigger is reached, the expansion will proceed, even if the expanded size exceeds this maximum size setting. Subsequent expansions will then fail because this size was exceeded.

MIRRORprefixesSpecifies the prefix or prefixes that Tivoli Storage Manager uses to create new files for database or recovery log copy volumes.

Page 323: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 7-25

• • •••

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery LogSpace Triggers

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercise

Open your Student Exercises and perform the exercises for this unit.

22

Student Exercise

Page 324: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

7-26 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery LogSpace Triggers

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Review Questions

1. True or False? The recovery log is predominately read-oriented.

2. In which mode is the recovery log treated as a circular array of blocks with the head (the newest log records) always chasing the tail (oldest records)?

a. Normal mode

b. Roll-forward mode

3. In which mode does the recovery log track all transactions between database backups?

a. Normal mode

b. Roll-forward mode

4. To prevent running out of log space during these operations, use the ____________command to allow for expansion of the recovery log.

5. To have the server automatically tune the BUFPOOLSIZE option, set the ___________________________ option to YES.

a. BUFFPOOLMEMSIZEON

b. SELFTUNEBUFPOOLSIZE

c. MAXSIZEBUFFPOOL

d. SELFTUNEBUFPOOLMEM

Page 325: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery LogSpace Triggers

Review answers begin on the next page.

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 7-27

• • •••

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Page 326: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

7-28 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery LogSpace Triggers

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Review Answers

1. True or False? The recovery log is predominately read-oriented.

false

2. In which mode is the recovery log treated as a circular array of blocks with the head (the newest log records) always chasing the tail (oldest records)?

a. Normal mode

b. Roll-forward mode

a. Normal mode

3. In which mode does the recovery log track all transactions between database backups?

a. Normal mode

b. Roll-forward mode

b. Roll-forward mode

4. To prevent running out of log space during these operations, use the ____________command to allow for expansion of the recovery log.

define spacetrigger

5. To have the server automatically tune the BUFPOOLSIZE option, set the ___________________________ option to YES.

a. BUFFPOOLMEMSIZEON

b. SELFTUNEBUFPOOLSIZE

c. MAXSIZEBUFFPOOL

d. SELFTUNEBUFPOOLMEM

b. SELFTUNEBUFPOOLSIZE

Page 327: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 7-29

• • •••

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery LogSpace Triggers

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Summary

23

Summary

You should now be able to:

• Identify the purpose of the database and recovery log volumes.

• Choose the location of the database and recovery log.• Determine the size of the database and recovery log.• Configure the database and recovery log to optimize

performance.• Configure the database and recovery log for high

availability.

Page 328: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

7-30 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 7: Customizing the Tivoli Storage Manager Database and Recovery LogSpace Triggers

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Page 329: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

• • • ••

8-1

Unit 8: Client Configuration

Unit 8: Client Configuration

Page 330: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8-2 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 8: Client Configuration

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Introduction

This unit describes how to manage and configure client options and invoke the backup-archive interfaces available with IBM Tivoli Storage Manager.

Objectives

2

Objectives

Upon completion of this unit you will be able to:

• Identify the types of clients and how to invoke them.• Register client nodes.• Configure client access to the server.• Control client access to the server.• Set up client options.• Use include-exclude to control client backup processing.

Page 331: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 8-3

• • •••

Unit 8: Client ConfigurationClient Interfaces

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 1: Client Interfaces

Identify the Client Interfaces

You can use the graphical user interface (GUI), the command line, or the Web client to perform tasks. More information on all these interfaces is available online and in the product manuals.

3

Identify the Client Interfaces

Command LineWeb Client SessionBackup-Archive GUI

Page 332: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8-4 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 8: Client ConfigurationClient Interfaces

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

The Backup-Archive Command Line

The client can be invoked by using the command line and typing dsmc at the system command prompt in the directory path where the client was installed.

For example:

c:\Program Files\Tivoli\tsm\baclient dsmc

The client invokes a session with the server until the command is completed. The command dsmc can be followed by a keyword. For example, the dsmc incremental command is shown below:

dsmc i

When authentication is on, a password must be entered on the command line or the user will be prompted to enter a password. The password is encrypted and will not display when prompted.

For Solaris, HU-UX and Linux, start the backup-archive client command line from:

/opt/tivoli/tsm/client/ba/bin

4

The Backup-Archive Command Line

Start the client command line at the operating system prompt. Your path may vary, but the default paths are as follows:

Windows:Program Files > Tivoli > TSM > baclient

AIX:/usr/tivoli/tsm/client/ba/bin

dsmcTSMserver

backup-archivecommand line

Page 333: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 8-5

• • •••

Unit 8: Client ConfigurationClient Interfaces

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Using the Command-Line Interface Loop

The dsmc loop command is another command-line interface option used to enter a series of Tivoli Storage Manager commands. The loop will invoke a server session until the quit command causes the session to drop.

While in the loop you can enter as many commands as you like without preceding the command with the dsmc command-line interface prefix. Entering dsmc without a parameter will invoke the command-line interface loop.

Backup-Archive Command-Line Syntax

5

Backup-Archive Command-Line Syntax

Rules of command-line syntax are as follows:

•When using the command line, the command syntax rules must be followed. All commands begin with dsmc (in lower case letters on some platforms).

•Options are always preceded with a dash (-), and often times followed by an equal sign (=) with a value assigned to the option.

•The file specification follows the rules of the platform. For example, a DOS file specification might read: C:\USER\MYFILE.DAT

•Wildcard metacharacters are also allowed.

•HELP is available on all commands using the help or ?command following the dsmc prefix.

Page 334: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8-6 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 8: Client ConfigurationClient Interfaces

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

The Web Client Interface

To use the Web client, specify the URL of the client machine running the Web client in your browser, and the client port 1581. For example:

http://x.x.x.x:1581

Refer to the Backup-Archive Client Requirements section for the specific operating system levels supported for the Web clients. TCP/IP is the only communication protocol supported for this client interface.

6

The Web Client Interface

The Web client runs on the following browsers:

•Mozilla 1.4 or higher. •Microsoft Internet Explorer 5.0 or later.

Browser must have JRE (Java Runtime Environment) 1.4.1 or higher.

http://x.x.x.x:1581

Page 335: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 8-7

• • •••

Unit 8: Client ConfigurationClient Interfaces

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

The Backup-Archive GUI

7

The Backup-Archive GUI

The dsm command will start the GUI from the Windows command line. The dsmj command will start the Java GUI from a UNIX command line.

Page 336: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8-8 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 8: Client ConfigurationClient Interfaces

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Utilities Menu Commands

Change Password

A password is required when authorization is on. The change password function allows you to change your password at any time.

Node Access List

This option is used in conjunction with the access another node command. In this window, you are able to create or modify rules that will enable another node to access your file spaces backed up on a Tivoli Storage Manager server.

Access Another Node

One user can give another user access to their files on the Tivoli Storage Manager server by way of the Node Access List window. This window is found in the Tivoli Storage

8

Utilities Menu Commands

These functions are available to the client through the Utilities Menu of the Backup-Archive GUI:

•Change Password•Node Access List•Access Another Node•View Policy Information•Delete Archive Data•Delete Backup Data•Delete Filespace•Setup Wizard•Preview Include-Exclude•Query Diskinfo•Create ASR Diskette

Page 337: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 8-9

• • •••

Unit 8: Client ConfigurationClient Interfaces

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Manager client GUI. Node access can also be granted with the set access command on the command line. The second user may use the Access Another Node window in the Tivoli Storage Manager client GUI. The FROMNODE option when used with the restore or retrieve command can return node objects from one client to another. The Access Another Node functionality is supported in the Tivoli Storage Manager Web client. This allows one node to restore objects backed up or archived from one node to another node with a Tivoli Storage Manager Web client agent.

View Policy Information

The View Policy Information window displays the management classes available to you. This information includes the copy group information for both the backup and archive copy groups.

Delete Archived Data

You can delete the entire archive package or individual files you no longer need stored on the Tivoli Storage Manager server. The administrator can override this option. This applies only if the object is not protected by data retention protection policies.

Delete Backup Data

You can delete individual backup copies from the Tivoli Storage Manager server without deleting the entire file space, if your administrator has given you authority. An example would be to delete files that were backed up, but were later found to contain viruses.

Delete Filespace

Use this utility if you do not need a file space. When you select the delete filespace command from the menu a delete confirmation request prompt displays. You can also remove a file space using the delete filespace command at the command line.

Page 338: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8-10 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 8: Client ConfigurationClient Interfaces

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Setup Wizard

The client configuration wizard is accessible from here. The Setup Wizard will run you through all the steps necessary to configure the Tivoli Storage Manager client and Web client.

Preview Include-Exclude

The preview command allows you to view the objects to be backed up or archived according to the include-exclude list, prior to sending any data to the server.

Query DiskInfo Command

The query diskinfo command is available to the client through the Utilities Menu of the Web interface.

The query diskinfo command allows users and administrators to get the LUNs and serial IDs of all disks accessible by the client machine without having to actually log on to the client machines. During Tivoli Storage Manager configuration for server-free data movement, the administrator must obtain the information for the disks that will used for storage. This is necessary to ensure that only one client node will be able to perform a server-free backup or restore operation for any given disk in the Storage Area Network (SAN).

Create ASR Diskette

You should create a recovery diskette any time there is a hardware configuration change or service pack update to your machine. Tivoli Storage Manager generates and backs up the required ASR files during system object (Windows XP) and system state (Windows 2003) backup. The ASR recovery diskette creation process will place the latest backup of these files on the diskette. You must have administrative authority to create a ASR diskette.

Page 339: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 8-11

• • •••

Unit 8: Client ConfigurationAdministrative Control of Access

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 2: Administrative Control of Access

Registration

Before a user can request Tivoli Storage Manager services, the node must be registered with the server.

Registration can be set to open or closed. Open means the client node is automatically registered when a session is started. The administrator does not have to register this node. Closed registration means the client node must be registered by the administrator.

9

Registration

From the Administration Center:1. Click Policy Domains and Client Nodes in Tivoli Storage Manager tree.2. In the Servers table, click a server name.3. In the policy domains notebook for the server, click a domain name.4. In the properties portlet for domain, click Client Nodes .5. In the table, click Select Action, select Create a Client Node.Client nodes can also be viewed and modified with the Administration Center.

Each node must be registered with the server and requires an option file with a pointer to the server. This can be done several ways.

Register a node at the administrative command line with:register node nodename password userid=none

Page 340: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8-12 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 8: Client ConfigurationAdministrative Control of Access

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Password Management

Administrators have a variety of commands and options that can be used to limit and control access to the system.

Set Password Expiration

By default, the server sets a password expiration of 90 days. The expiration period begins when an administrator or client node is first registered to the server. If a user password is not changed within this period, the server prompts the user to change the password the next time the user tries to access the server.

set PASSExp 120 node=lab1or set PASSExp 120 admin=testadmin

Set Invalid Sign-on Limit

By default, IBM Tivoli Storage Manager does not check the number of times a user attempts to log in with an invalid password. You can set a limit on consecutive invalid password attempts for all client nodes. When the limit is exceeded, the server locks the

10

Password Management

• Set password expiration

• Set invalid sign-on limit

• Set minimum password length

set PASSExp days node=nodename

set invalidpwlimit number of attempts

set minpwlength number of characters

How many attempts do I

have?

How long must my password

be?

When will my password expire?

Page 341: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 8-13

• • •••

Unit 8: Client ConfigurationAdministrative Control of Access

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

node. The following example sets a system-wide limit of three consecutive invalid password attempts:

set invalidpwlimit 3

Set Minimum Password Length

By default, IBM Tivoli Storage Manager does not check the length of a password. The administrator can specify a minimum password length that is required for IBM Tivoli Storage Manager passwords. The following example shows how to set the minimum password length to eight characters:

set minpwlength 8

Page 342: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8-14 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 8: Client ConfigurationAdministrative Control of Access

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Prevent Client Nodes from Accessing the Server

You can prevent a client node from accessing the system by using the lock node command. When you lock a node when it already has a session, the lock will not take effect until the system is restarted.

You can reverse this by using the unlock node command.

There are several reasons why a node might be locked.

• A node locks when there are too many invalid password attempts.

• An administrator may choose to lock a node to keep it from being included in an upcoming scheduled event.

11

Prevent Client Nodes from Accessing the Server

lock node nodenameunlock node nodename

TSM Administrator

Page 343: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 8-15

• • •••

Unit 8: Client ConfigurationAdministrative Control of Access

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Backup Operators Group

12

Backup Operators Group

• Members of the backup operators group can override security restrictions for the sole purpose of backing up or restoring files.

• Storage administrators do not need to use an Administrator ID for purposes of backup and recovery.

• Backup operators are users or groups which have the back up and restore of files and directories security settings.

• Members of the backup operators group can backup and restore an entire machine, including system state and system services data.

• Supported on Windows 2003 and Vista • Not supported on Windows 2000 or XP

Page 344: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8-16 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 8: Client ConfigurationManaging Client Options

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 3: Managing Client Options

13

Managing Client Options

There are three ways to manage client options:

•Text editor•Utilities menu in the backup-archive GUI•Server generated option sets

Page 345: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 8-17

• • •••

Unit 8: Client ConfigurationManaging Client Options

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Configuration Client Option Files

On multi-user systems, like UNIX, the client options are in both files: dsm.opt and dsm.sys. The dsm.sys file contains the system-wide options, where dsm.opt is specific to the client.

On other systems, like Windows 2000, the client options are in dsm.opt. This is a file that a client can edit, containing a default set of processing options that identify the server, communication method, backup and archive options, and scheduling options.

The server can manage client option sets, which is covered later in this unit.

14

Configuring Client Options

There are two files which retain client options, and whichever is used depends on the operating systems:

dsm.opt dsm.opt

dsm.sysWindows UNIX

Page 346: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8-18 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 8: Client ConfigurationManaging Client Options

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Example of DSM.OPT and DSM.SYS

15

Example of DSM.OPT

Page 347: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 8-19

• • •••

Unit 8: Client ConfigurationManaging Client Options

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Editing the Client Options File with the GUI

Using the backup-archive GUI (more options available):

• Open the Edit menu and select Preferences.

• Make any necessary changes, then click OK to save those changes.

Using the Setup Wizard (basic options only):

• Open the Utilities menu and select Setup Wizard.

• Select the Help me configure the TSM Backup Archive Client check box.

• Click the Next button.

• Select the Update my options file radio button.

16

Editing the Client Options File with the GUI

Edit from the GUI• From the Utilities menu, select Setup Wizard. This will launch the

Tivoli Storage Manager Client Configuration Wizard.• On the first panel of the Tivoli Storage Manager Client Configuration

Wizard, make sure Help me configure the TSM Backup Archive Client is selected.

Edit from the GUI graphical options editor Edit >> Preferences

Page 348: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8-20 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 8: Client ConfigurationManaging Client Options

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Using the Graphical Options Editor

Changing the backup-archive client configuration files using a text editor is potentially an error-prone task.

The graphical options editor will query the server for options that are stored centrally in client option set on the server. It is important to note that the graphical options editor will only update or add client options to the options files on the client. Client option sets on the Tivoli Storage Manager server are not updated. The centrally stored options are displayed by the graphical options editor. Only client options that the backup-archive client is authorized to update can be changed with the graphical options editor.

17

Using the Graphical Options Editor

•The graphical options editor appends options to the end of the option file.

•The graphical options editor updates the client configuration files DSM.OPT and DSM.SYS (UNIX clients only) if any options are changed.

•The client configuration files can still be updated using a text editor on the clients.

•The graphical options editor uses the Tivoli Storage Manager variables DSM_DIR and DSM_CONFIG to locate the client configuration file.

Page 349: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 8-21

• • •••

Unit 8: Client ConfigurationManaging Client Options

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Configure Client Access to the Server

IBM Tivoli Storage Manager uses several communications parameters that must be set. These options are TCPPORT, TCPSERVERADDRESS, COMMMETHOD, and NODENAME.

TCPPORT: Use the TCPPORT option to specify a TCP/IP port address of the server. The TCP/IP port address is used to communicate with a Tivoli Storage Manager server. The range of values is 1000 to 32767. The default is 1500.

TCPPORT port_address

TCPSERVERADDRESS: Use the TCPSERVERADDRESS option to specify the TCP/IP address for a Tivoli Storage Manager server. To use the TCP/IP communication protocol, you must include the TCPSERVERADDRESS option in your client option file. The other TCP/IP options have default values which you can modify only if you want to change the default value.

Provide a 1- to 64-character TCP/IP address for a Tivoli Storage Manager server. The value you specify for this parameter can be a TCP/IP Internet domain name or an IP address.

COMMMETHOD: Use the COMMMETHOD option to specify the communication method you are using to provide connectivity for client-server communication. Some of the communication methods that can be used with the COMMMETHOD option include:

18

Configure Client Access to the Server

The following communication parameters must be set in the client options file:

• TCPPORT• TCPServeraddress• COMMMethod• NODename

node name

communication methodTCP portTCP server address

Page 350: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8-22 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 8: Client ConfigurationManaging Client Options

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

• SHAREDMEM: The Shared Memory communication method. This communication method option is possible when the Tivoli Storage Manager Server and Tivoli Storage Manager Client are on the same machine.

• TCPIP: The Transmission Control Protocol/Internet Protocol (TCP/IP) communication method.

• NAMEDPIPE: The Named Pipe option specifies the name of a named pipe to use for communication between a Tivoli Storage Manager server and Tivoli Storage Manager client on the same Windows workstation.

Please refer to the Tivoli online documentation for a complete listing of communication methods.

NODENAME: Use the NODENAME option to identify your workstation to the server. The nodename can be a 1- to 64-character name that will be used to identify the node for which you want to request Tivoli Storage Manager services. For Windows systems, the default is the name of the machine if you do not use this option. For UNIX, the default is the same as the name returned by the hostname command.

The NODENAME option goes in your client system options file dsm.sys. For UNIX environments, dsm.opt is used.

Page 351: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 8-23

• • •••

Unit 8: Client ConfigurationManaging Client Options

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

PASSWORDACCESS GENERATE

The password of the IBM Tivoli Storage Manager backup-archive client is encrypted and stored in a file on the client system. If a client receives a return code from the IBM Tivoli Storage Manager server indicating that the password has expired, the client generates a new random password.

The PASSWORDDIR backup-archive client option is used to specify the location of the encrypted password file. The Win32 backup-archive client is an exception to this rule as it stores the encrypted IBM Tivoli Storage Manager client password in the registry.

19

PASSWORDACCESS GENERATE

Passwordaccess generate support is activated by specifying PASSWORDACCESS GENERATE in a client option file.

PASSWORDACCESSGENERATE

Page 352: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8-24 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 8: Client ConfigurationManaging Client Options

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Additional Options

Identify Precedence of Options

If you have an option in both the central client option set and in the client option file (dsm.opt) the central client option set will override the client option file.

Override Configuration Options

An administrator at the server can override a subset of client options, for instance, scheduling mode.

Options can be specified when invoking the command line or GUI client, which then overrides the options without having to make a change to the actual options file. The exception is the DOMAIN statement that is added to the client option file.

When the options are changed, the client should be restarted.

20

Additional Options

There are several groups of options. We will discuss some of them in detail. Here is a global overview of the groups:

• Communication options• Node options• Backup and archive processing options• Restore and retrieve processing options• Scheduling options• Format and language options• Command processing options• Authorization options• Error processing options• Transaction processing options• Web client options• Diagnostics options

Some options are not available in the graphical options editor.

Page 353: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 8-25

• • •••

Unit 8: Client ConfigurationManaging Client Options

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

The Domain Option

This description applies generally to all platforms. Consider the term local drives to mean volumes or file systems if one of those terms applies to your platform. For more specific information about this option, see the appropriate IBM Tivoli Storage Manager Backup-Archive Client Installation and User’s Guide manual for your platform.

Use the DOMAIN option to specify the drives you want to include in your client domain for incremental backup. When you use this option in your client option file, it defines your default client domain. The DOMAIN option is an additive option, so it will not override other options.

IBM Tivoli Storage Manager uses your default client domain to determine which local drives to process during an incremental backup in the following situations:

• You run an incremental backup using the incremental command without specifying which local drives to process.

• Your IBM Tivoli Storage Manager administrator defines a schedule to run an incremental backup for you, but does not specify which local drives to process.

For UNIX clients, this option goes in the client user options file.

ALL-LOCAL backs up all local hard drives, the systemobject domain (Windows 2000, XP), the systemstate domain (Windows Server 2003), and the systemservices domain (Windows Server 2003). This is the default.

21

To include all the local drives except for the c: drive and systemobject domain, enter the following command:

dsmc incremental -domain=“ALL-LOCAL -c: -systemobject”

The Domain Option

If you do not specify local drives with the DOMAIN option in your client options file, the default is all local drives.

When you use this option with the incremental command, it adds the local drives you specify to what is defined in your client options file. For example, if you enter:

DOMAIN C: D: E:

in the client option file and you enter:

dsmc incremental –domain=“g: h:”

on the command line, IBM Tivoli Storage Manager performs an incremental backup for your c:, d:, e:, g:, and h: local drives.(g: and h: are added by using –domain)

Page 354: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8-26 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 8: Client ConfigurationManaging Client Options

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Domain for Backup—Client Configuration Wizard

Using the IBM Tivoli Storage Manager Client Configuration Wizard, select the domains and type of backup from a list.

22

Domain for Backup—Client Configuration Wizard

Page 355: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 8-27

• • •••

Unit 8: Client ConfigurationClient Performance and Options

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 4: Client Performance and Options

Client Options Available to Configure and Improve Performance

There are some client options that are valid on the initial command line only. Many of these options establish the run-time environment, such as the COMMMETHOD and OPTFILE options. Options in this category are not valid in interactive, macro, or scheduler modes. They generate an error and cause processing to stop.

Refer to the Performance and Tuning Guide for more details.

23

Client Options Available to Configure and Improve Performance

Initial command line only option.

Refer to the Performance and Tuning Guide

The TXNBYTELIMIT option specifies the number of kilobytes the client program buffers before it sends a transaction to the server.

TSM Server

Page 356: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8-28 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 8: Client ConfigurationClient Performance and Options

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Sever Option—TXNGROUPMAX

TXNGROUPMAX is the number of files that are transferred as a group between a client and the server between transaction commit points. It is possible to affect the performance of client backup, archive, restore, and retrieve operations by using a larger value for the TXNGROUPMAX option.

You can use the TXNGROUPMAX option to increase performance when Tivoli Storage Manager writes to tape. This performance can be considerable when a user transfers multiple small files.

Either set the TXNGROUPMAX option by editing the dsmserv.opt file on the server, or use the setopt command. The value range is 4 - 65,000. The default is 256 objects.

For more tips on performance tuning, refer to the IBM Tivoli Storage Manager Performance and Tuning Guide.

24

Server Option: TXNGROUPMAX

Set the TXNGROUPMAX option in the dsmserv.opt file.

The TXNGROUPMAX option in the server options fileindicates the maximum number of logical files (client files)that a client may send to the server in a single transaction.

Maximum number of files

single transaction

Page 357: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 8-29

• • •••

Unit 8: Client ConfigurationClient Performance and Options

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Configuring Error Logging Options

• ERRORLOGNAME: Use the ERRORLOGNAME option to specify the path and name of the file where you want Tivoli Storage Manager to store information about errors that occur during processing.

• ERRORLOGRETENTION: Use the ERRORLOGRETENTION option to specify the number of days to keep entries in the error log, and whether to save the pruned entries. The error log is pruned when the first error is written to the log after a Tivoli Storage Manager session is started and after every schedule is run. If the only Tivoli Storage Manager session you run is the scheduler, and you run it 24 hours a day, the error log might not be pruned according to your expectations. You must stop the session and restart it to allow the log to be pruned when the next error is written. It is suggested that you set your log to be kept for 7 days.

• ERRORLOGMAX: The ERRORLOGMAX option specifies the maximum size of the error log, in megabytes. If you change from ERRORLOGMAX to ERRORLOGRETENTION, all existing log entries are retained and the log is pruned using the ERRORLOGRETENTION criteria. If you change from ERRORLOGRETENTION to ERRORLOGMAX, all records in the existing log are copied to the pruned log, the existing log is emptied, and logging begins under the new log-wrapping criteria. If you change the value of the ERRORLOGMAX option, the existing log is extended or shortened to accommodate the new size. If the value is reduced, the oldest entries are deleted to reduce the file to the new size.

25

Configuring Error Logging Options

Place these options in the client option file:• errorlogname• errorlogretention• errorlogmax

Unless you specify QUIET, messages will display on your screen during Tivoli Storage Manager processes.

Page 358: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8-30 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 8: Client ConfigurationClient Performance and Options

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

• QUIET: The QUIET option prevents messages from displaying on your screen during Tivoli Storage Manager processing. For example, when you run either the incremental or selective backup command, Tivoli Storage Manager displays information about each file it backs up. Use the QUIET option to reduce the number of entries you have to look through. When you use the QUIET option, certain error information still displays on your screen, and messages are written to log files. If you do not specify QUIET, Tivoli Storage Manager uses the default option, VERBOSE. It is suggested that you set this to QUIET.

DSMSCHED.LOG

To specify the number of days to keep log file entries in the schedule log, use the SCHEDLOGRETENTION option. This is covered in Unit 11.

26

DSMSCHED.LOG

When you run the schedule command as a service, output is directed to the dsmsched.log file, as well as the application event log.

By default, the dsmsched.log file is in the current directory unless you change the path and file name using the SCHEDLOGNAME option.

The amount of detail is determined by whether VERBOSE orQUIET is set in the dsm.opt file.

After scheduled work is performed, check the schedule log for the following entry to verify that all work completed successfully:

Scheduled event eventname completed successfully.

Page 359: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 8-31

• • •••

Unit 8: Client ConfigurationInclude-Exclude Processing Rules

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 5: Include-Exclude Processing Rules

27

Include-Exclude Processing Rules

The list is read from the

BOTTOM UP. STOP (when

you make a match).

If it is not EXCLUDED,

it is INCLUDED.

1

2

3

Page 360: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8-32 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 8: Client ConfigurationInclude-Exclude Processing Rules

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Include-Exclude Processing Example

Use the flowchart to determine whether a file will be included or excluded from processing according to the include-exclude rules provided.

The include-exclude process is a bottom up process in that the last include-exclude statement is checked first. When the file matches the statement, exclude processing ends for that file. The include-exclude list is generated in the configuration options file. The exclude list in the options file can be overridden by the include-exclude options on the command. The graphic shows an example.

28

Include-Exclude Processing Example

D:\TSM\critproj1\form.txt(default)

C:\TSM\critproj2\user.doc(rule 2)

E:\TSM\data\base.doc(rule 1)

C:\TSM\critproj1\my.doc(rule 3)

No

YesYes

Yes

Page 361: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 8-33

• • •••

Unit 8: Client ConfigurationInclude-Exclude Processing Rules

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Exclude Directories from Backup

EXCLUDE.DIR Statement

• EXCLUDE.DIR

Excludes a directory structure from backup and from being traversed during incremental backup.

• EXCLUDE.FILE

Can be abbreviated to EXCLUDE and excludes files from backup. A directory is traversed even if all the files from that directory are excluded.

If a directory structure is excluded using EXCLUDE.DIR, subdirectories in the excluded directory tree are not eligible for backup. Any INCLUDE statement that includes part of an excluded directory structure is ignored at backup time.

29

Exclude Directories from Backup

If you use the following EXCLUDE.DIR statement:

• What will happen to the costs file? • What will happen to the plans file? • What will happen to the dates file?

EXCLude.dir c:\TSM\critproj2\subdir1

The EXCLUDE.DIR statement excludes a directory structure from the internal traverse tree that the Tivoli Storage Manager backup-archive client builds internally before performing the backup. It prevents directories and directory attributes from being backed up.

Page 362: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8-34 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 8: Client ConfigurationInclude-Exclude Processing Rules

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Backup of Excluded Directories

Even though a directory structure is excluded using the new EXCLUDE.DIR statement, subdirectories and files within the excluded directory structure can be explicitly backed up.

The exclude statement goes in the client user option file (DSM.OPT) on single user Tivoli Storage Manager clients like Windows, and in the include-exclude file referred to by the client system option file (DSM.SYS) on multiuser operating systems like UNIX.

include /home/dir1/subdir2exclude.dir /home/dir1include /home/dir1/subdir1

In the previous example, the include statement for the /home/dir1/subdir1 and /home/dir1/subdir2 directory is ignored when an incremental backup is performed. This is because the subdirectory has been excluded using an EXCLUDE.DIR statement.

dsmc> selective -subdir=yes /home/*dsmc> selective /home/dir1/subdir1/*

The first selective backup command backs up all files, except files in the excluded directory (home/dir1). This is because the EXCLUDE.DIR statement is honored for subdirectories. The second selective backup command backs up files in the /home/dir1/subdir1. This is an explicit backup of an excluded directory that overrides the EXCLUDE.DIR statement.

What will happen to the costs file? (excluded)

What will happen to the plans file? (included)

What will happen to the dates file? (included)

Page 363: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 8-35

• • •••

Unit 8: Client ConfigurationInclude-Exclude Processing Rules

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Compression, Encryption, and Adaptive Subfile Backup Processing

COPMPRESSION: The compression option compresses files before you send them to the server.

ENCRYPTION: You can encrypt the data that is sent to the server during a backup or archive operation using standard encryption.

ADAPTIVRE SUBFILE BACKUP: Allows you to perform a backup over a network device with limited bandwidth, such as a modem. An adaptive subfile backup sends only changed portions of a file to the server during successive backup operations instead of sending the entire file.

If you want to include specific files or groups of files for compression, encryption, and adaptive subfile backup processing during a backup or archive operation, you must set the compression option to yes to enable processing for: the following actions

• Compression

• Encryption

• Adaptive subfile backup processing

30

Compression, Encryption, and Adaptive Subfile Backup Processing

Tivoli Storage Manager processes exclude.dir and other include-exclude statements first.

Tivoli Storage Manager then considers: • include.compression• include.encrypt• include.subfile

For example, consider the following include-exclude list: exclude c:\lab\file.txtinclude.compression c:\lab\file.txtinclude.encrypt c:\lab\file.txtinclude.subfile c:\lab\file.txt

Tivoli Storage Manager examines the exclude c:\lab\file.txt statement first and determines that c:\lab\file.txt is excluded from backup processing and is, therefore, not a candidate for compression, encryption, or adaptive subfile backup processing.

Page 364: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8-36 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 8: Client ConfigurationInclude-Exclude Processing Rules

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Identify Files to Be Included or Excluded from Backup

The include-exclude list allows you to establish files that are to be included in or excluded from backup processing. The include statement is used for two purposes. One is to specify exceptions to the exclude list. The other is to associate a management class with a file or group of files. The include statement is also used during archive to determine the management class, while the exclude statement is not checked during the archive processing.

Unless you have the EXCLUDE.DIR statement, directory type files are always included in the backup, even when all the files within the directory are excluded.

The include-exclude list uses metacharacters to select files to be included or excluded. Some metacharacters differ depending on the client platform. These metacharacters allow you to specify wildcard processing. The metacharacters can also be used in the command line to specify the file specification on most commands.

31

Identify Files to Be Included or Excluded from Backup

Include c:\tsm\critproj2\costs\* critproj

You can assign a management class for a file or file group by using an INCLUDE statement in your client options file.For example, to associate all the files in the costs directory with a management class named critproj, you would enter:

TSM server

Page 365: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 8-37

• • •••

Unit 8: Client ConfigurationInclude-Exclude Processing Rules

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Metacharacters

Character Function Example

? One and only one character matched as a wildcard us?r.doc

* Match any number of characters as a wildcar us*.doc

\... Windows: Match any directory \...\user.doc

/... UNIX: Match any directory /.../user.doc

Some Examples of Metacharacters on Selected Platforms

Objective AIX DOS HP Win Mac Lin Sun

Match one character ? ? ? ? ? ? ?

Match n characters * * * * * * *

Match n directories /... \... /... \... .... /... /...

Directory separator / \ / \ : / /

Open character class [ [ [ [ [ [ [

Character class range - - - - - - -

Close character class ] ] ] ] ] ] ]

Literal escape \ \ \ \ \ \ \

Drive separator none : : : : : :

Page 366: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8-38 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 8: Client ConfigurationInclude-Exclude Processing Rules

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Include-Exclude Wizard

32

Include-Exclude Wizard• The wizard helps users create an

include-exclude statement that is intuitive and easy to use.

• The exclude wizard window opens for already included files.

• The include wizard window opens for excluded files.

• The files section is disabled for Directory objects.

• The Preview the include-excludestatement check box should be selected to view excluded files.

Page 367: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 8-39

• • •••

Unit 8: Client ConfigurationInclude-Exclude Processing Rules

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Include-Exclude Using the Backup-Archive Tree

You can include or exclude a file in the backup-archive tree, by selecting the file, then clicking the include or exclude button.

33

Include-Exclude in the Backup-Archive Tree

Excluded directories appear on the backup-archive tree with this icon:

Exclude Include

Page 368: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8-40 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 8: Client ConfigurationInclude-Exclude Processing Rules

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Include-Exclude Exercise

Determine if the files specified will be selected for backup based upon the include-exclude list provided. Remember, if it is not excluded, it is included.

34

Include-Exclude Exercise

Domain: /usr/ /home/ 1. Exclude /home/admin/*.*2. Exclude /home/nobody/.../*3. Exclude /usr/lwp/*4. Include /usr/lwp/resume.*

Included or Excluded?

__________ /home/admin/bob.log __________ /home/admin/fileone __________ /home/nobody/data/file1.dat __________ /usr/lwp/resume.ibm __________ /usr/lwp/data/file1.dat

STOP (when

you make a match).

Page 369: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 8-41

• • •••

Unit 8: Client ConfigurationClient Option Sets

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 6: Client Option Sets

Perform the following steps to create a client option set and have the clients use the option set:

1. Create the client option set with the define cloptset command.

The define cloptset command defines the option set name and description. The name can be up to 64 characters in length and should not include embedded blanks. The option set description can be up to 255 characters in length and should be enclosed in quotation marks if embedded blanks are used. To issue this command, the administrator needs to have system or unrestricted policy privilege.

2. Add client options to the option set with the define clientopt command.

Once the option set has been defined to Tivoli Storage Manager, options and their values must be defined to the option set. This is done with the define clientopt command. The options set name, option name, and option value must be supplied. Optionally, either or both a sequence number and force value may be supplied.

35

Client Option Sets

The client option set is empty when it is first defined.

Use client option sets to set options for groups of clients.

Option sets can be created with the Administration Center.

Client option sets can be centrally managed for multiple clients. When a client option set is created, you define a name for the option set, and can provide a description of the option set.

For example:

define cloptset prodbackup description=“Backup options for Production.dept.”

Page 370: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8-42 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 8: Client ConfigurationClient Option Sets

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

3. Specify which clients should use the option set with the register node or update node command.

Once a client option set and the client options have been defined, nodes may be associated with that set. This is done by using either the CLOPTSET option on the register node command for new nodes, or on the update node command for existing nodes.

Clients can be attached to only one client option set, but client option sets can be used to centrally manage multiple clients.

Page 371: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 8-43

• • •••

Unit 8: Client ConfigurationClient Option Sets

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Identify the Value of Client Option Sets

Sequence numbers identify the order for processing.

Client option sets allow the administrator to specify additional options that may not be included in the option file (dsm.opt) for the client. You can specify which clients use the option set with the register node or update node commands. The client can use these defined options during a backup, archive, restore, or retrieve process.

The options defined in a client option set are a subset of the available client options. Options such as communication method are still stored on the client machine. To allow the administrator to control these options centrally, it is possible to specify that individual options cannot be overridden in the client machine.

Define Include-Exclude Options

Two of the options that may be defined to a client option set are INCLUDE and EXCLUDE. When these parameters are specified in client option files, an additional parameter for the management class to be used also may be provided.

36

Identify the Value of Client Option Sets

prodbackupclient option set

TSM server

Backup-archive clients: Production department

The server automatically assigns sequence numbers to the specified options, or you can choose to specify the sequence number for order of processing. For example:

define clientopt prodbackup inclexcl “include d:/plans”seqnumber=20 define clientopt prodbackup inclexcl “include c:/patents”seqnumber=10

plans

patents

first

second

Page 372: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8-44 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 8: Client ConfigurationClient Option Sets

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Use Sequence Numbers in an Option Set

The options are processed starting with the highest sequence number. Any include-exclude statements in the server client option set have priority over the include-exclude statements in the local client option sets. The server include-exclude statements are always enforced and placed at the bottom of the include-exclude list and evaluated before the client include-exclude statements.

If the server option set has several include-exclude statements, the statements are processed starting with the highest sequence number. The client can use the query inclexcl command to view the include-exclude statements in the order in which they are processed. query inclexcl also displays the source of each include-exclude statement. Use double-digit numbers like 10 and 20, so that you have more space between sequence numbers to add in new statements.

Use the FORCE Option

The sequence number assigned to a client option is used when the same option is defined more than once. Options such as INCLUDE may be defined to a client option set many times and the sequence is crucial. The FORCE option is used to specify options that cannot be overridden by the local option file for the client. To stop an option being overridden by the client, it should be defined to the option set with FORCE=YES. The default is NO.

37

Use the FORCE Option

The FORCE parameter allows an administrator to specify whether a client node can override an option value. The default is NO.If FORCE=YES, the client cannot override the value. The following example shows how to prevent a client from performing a subfile backup:

define clientopt prodbackup subfilebackup no force=yes

TSM administratorTSM

server

Backup-archive clients: Production

department

Page 373: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 8-45

• • •••

Unit 8: Client ConfigurationClient Option Sets

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Copy, Query, Delete, or Update a Client Option Set

Client option sets can be copied, queried, deleted, or updated using the copy, query, delete, and update cloptset commands. Individual client options within an option set can be deleted using the delete clientopt command. The sequence number of a client option may be changed using the update clientopt command.

It is also possible to create a file that has include-exclude statements, and you can point a client to that file. This is convenient when you want to create one set of statements and point multiple clients at it.

38

Copy, Query, Delete, or Update a Client Option Set

QUERY CLOPTSET prodbackup

DELETE CLOPTSET prodbackup

UPDATE CLOPTSET prodbackup

The update command is used to change the description and sequence option.

From the Administration Center:1. Click Policy Domains and Client Nodes in Tivoli Storage Manager tree.2. In the Servers table, click the name of a server.3. In the policy domains notebook for the server, click the name of a domain.4. In the properties portlet for the domain, click Option Sets.5. In the table, select an option set.6. Click Select Action, select Modify Option Set.

COPY CLOPTSET prodbackup newcloptset

Page 374: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8-46 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 8: Client ConfigurationClient Option Sets

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Create an Option Set with the Administration Center

Client options sets are defined in the server database and are used by the clients that you designate.

1. Select Policy Domains and Client Nodes in the Tivoli Storage Manager tree.

2. Click the Domain Name with which you want to work. The Domain Properties are displayed.

3. Click the triangle next to Option Sets to expand it.

4. Select Create an Option Set.

39

Create an Option Set with the Administration Center

Page 375: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 8-47

• • •••

Unit 8: Client ConfigurationClient Option Sets

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Summary of Client Options

40

Summary of Client Options

1. Options defined on the server with server-enforced client options. The server overrides client values with FORCE=YES.

2. Options entered locally on the command line.3. Options defined on the server for a schedule using the

options parameters.

4. Options entered locally in the options file.5. Options received from the server with client options not

enforced by the server. The server does not override client values when FORCE=NO is used.

6. Default option values.

Client options are a group of options that are set in the clientoptions file.

IBM Tivoli Storage Manager processes options in the following order:

Page 376: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8-48 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 8: Client ConfigurationDelete Backup Files

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 7: Delete Backup Files

A good example of the reason a backed up file would need to be deleted is the removal of a file infected with a virus.

41

Delete a Backup File

• Files that have been backed up can be deleted by an authorized administrator.

• A client node that has been authorized can also delete backup data.

• Does not apply to files protected with IBM Tivoli Storage Manager for Data Retention.

Download_file.doc

Virus Scan Report:

The GrindingHaltvirus has been detected in

Download_file.doc.

X

Page 377: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 8-49

• • •••

Unit 8: Client ConfigurationDelete Backup Files

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

42

Client Settings to Authorize Client Node Authority to Delete

Navigate to the client node and display properties.

43

Give the Client Node Authority to Delete

Page 378: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8-50 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 8: Client ConfigurationEncryption and Security

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 8: Encryption and Security

The Benefit of Encryption

• Encryption enables the user to choose which files are subject to encryption with include-exclude processing.

• Encryption uses a very simple key management system, which means that the user either must remember the encryption key password during restore or store it locally on the client system.

• The encryption processing is the last task on the client system before the data is sent to the server; other client operations such as compression happen before encryption is done.

• Encryption works for backup as well as for archive.

44

Benefit of Encryption

To ensure the security of the backed up data, the Tivoli Storage Manager client implements an encryption function, which allows for encrypting the data before sending it to the TSM server.

Encryption helps secure backed up data during transmission. Once the data is stored on the Tivoli Storage Manager server, it is unreadable.

Page 379: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 8-51

• • •••

Unit 8: Client ConfigurationEncryption and Security

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Encryption Considerations

Encryption is CPU-intensive.

Because of the nature of the encryption process, it adds a lot of additional computing requirements on the client CPU. You should decide very carefully which data items really need to be encrypted and control them using the include-exclude statements. The administrator has the option to overwrite client selections using client options sets.

Encryption and Archiving

Especially in the case of long-term archiving of data, problems can occur with the simple key management scheme. If data is archived using encryption, organizational rules have to ensure that the encryption key password remains available for retrieve. Cyclic password changes or no external password management can cause situations in which data cannot be retrieved successfully.

Encryption and Unattended Restores

When restoring data using the scheduling function, it is possible that files will not be restored because the needed encryption key password is not stored locally (PROMPT mode) or the restored files are encrypted with a different key than the stored encryption key password. No key, no data.

Page 380: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8-52 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 8: Client ConfigurationEncryption and Security

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Unlike the IBM Tivoli Storage Manager user password, the encryption key password is case-sensitive. If the password is lost or forgotten, the encrypted data cannot be decrypted, which means that the data is lost.

• Only the currently accessed password record is migrated.

• For example, you connect to server SERVER1 with node MYNODE. You find the record using server-node pair and migrate it to new format (and location, on Windows). Other records remain unchanged.

• On restore of encrypted files, if the new encryption key password does not match the encrypted data, the old one is tried.

• It is a best practice to make a copy of the TSM.PWD and registry subtree before migrating to IBM Tivoli Storage Manager 5.4. Older clients won't be able to use the new password records.

• TSM.PWD can now be moved from one host to another (assuming the same nodename is used).

• TSM.PWD can now be shared between two cluster machines without clusternode yes.

45

Tivoli Storage Manager client stores node passwords and encryption key passwords locally so the user does not have to enter a password every time the client runs.

• Activated by setting PASSWORDACCESS GENERATE• UNIX, Mac, Netware – TSM.PWD file• Windows – registry

If you are upgrading from a previous version of IBM Tivoli Storage Manager, keep a copy of the old encryption key password in TSM.PWD (UNIX, Mac, and Netware) or in the registry value EncryptOld (Windows) to help with restore of the old data.

• A constant nodename is used to generate encryption key for password storage.

• Stored node passwords are automatically migrated .• Stored encryption key passwords are not automatically migrated.

The user is prompted.

Encryption Key Passwords

Page 381: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 8-53

• • •••

Unit 8: Client ConfigurationEncryption and Security

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercise

Open your Student Exercises and perform the exercises for this unit.

46

Student Exercise

Page 382: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8-54 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 8: Client ConfigurationEncryption and Security

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Review Questions

1. The administrator defines a clientopt value in the central client option set. What is the default value for the FORCE option: yes or no?

2. True or False? There is more than one way to access and create or update a client option set.

3. True or False? The client include-exclude list is processed differently on different client platforms.

4. True or False? Before a user can request Tivoli Storage Manager services, the node must be registered with the server.

5. True or False? There is no default archive description.

6. True or False? The backup-archive client acts differently depending on the Tivoli Storage Manager server platform.

Page 383: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

Unit 8: Client ConfigurationEncryption and Security

Review answers begin on the next page.

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 8-55

• • •••

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Page 384: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8-56 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 8: Client ConfigurationEncryption and Security

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Review Answers

1. The administrator defines a clientopt value in the central client option set. What is the default value for the FORCE option: yes or no?

no

2. True or False? There is more than one way to access and create or update a client option set.

true

3. True or False? The client Include-Exclude list is processed differently on different client platforms.

false

4. True or False? Before a user can request Tivoli Storage Manager services, the node must be registered with the server.

true

5. True or False? There is no default archive description.

false

6. True or False? The backup-archive client acts differently depending on the Tivoli Storage Manager server platform.

false

Page 385: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 8-57

• • •••

Unit 8: Client ConfigurationEncryption and Security

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Summary

47

Summary

You should now be able to:

• Identify the types of clients and how to invoke them.• Register client nodes.• Configure client access to the server.• Control client access to the server.• Set up client options.• Use include-exclude to control client backup processing.

Page 386: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

8-58 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 8: Client ConfigurationEncryption and Security

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Page 387: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

• • • ••

9-1

Unit 9: Backup-Archive Client Functions

Unit 9: Backup-Archive Client Functions

Page 388: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-2 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client Functions

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Introduction

The backup-archive client communicates with the server and invokes the client functions of Tivoli Storage Manager. The backup-archive client is supported on a variety of platforms that might reside on a user workstation or a LAN server. This unit describes the various methods available to back up, restore, archive, and retrieve data, and what options are available to customize these processes to fit your needs.

Objectives

2

Objectives

Upon completion of this unit, you will be able to:

• Describe and compare the kinds of backups possible.• Use the Tivoli Storage Manager Backup-Archive Graphical

User Interface to back up and restore files from a client.• Use the command line to back up and restore files from a

client.• Use the Tivoli Storage Manager Backup-Archive Graphical

User Interface to archive and retrieve client files.

Page 389: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-3

• • •••

Unit 9: Backup-Archive Client FunctionsTypes of Backups Available

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 1: Types of Backups Available

Types of Backups

IBM Tivoli Storage Manager uses by default the intelligent Progressive or Incremental backup strategy. Only files that have changed or that are new are backed up, reducing the amount of data transfer on your network and system. Progressive backup does away with the need to do resource intensive nightly full backups, and gives you faster restores because it only needs to restore the version of the file requested. Progressive backup needs to back up less data, thus saving network bandwidth, tapes, and management overhead.

Selective backups are backups of files specified by the user. The files are backed up regardless of whether or not the file has changed. This is a full backup.

Journal-based Windows backups improve performance of Incremental and Selective backups by utilizing the journal engine service to note the changed files, rather than file scanning.

3

Progressive or Incremental Backup•Complete•Date Only•Without Journal

Selective Backup(Always Backup)Journal-Based BackupsImage BackupLogical Volume BackupSubfile BackupNAS File System BackupBackup Sets

Types of Backups

Page 390: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-4 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsTypes of Backups Available

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Image backups are full volume backups for Windows clients, which uses the snapshot function of Tivoli Storage Manager.

Logical volume backups are used to improve restoration performance. Periodically, the logical volume is backed up, before the scheduled daily incremental backups. If a logical volume needs to be restored, the logical volume backup is restored first, followed by the subsequent incrementals.

With subfile backup, the Windows backup-archive client dynamically determines the most efficient approach for creating backup copies to improve backup performance over dial-up connections. Backups are either performed by changed bytes, changed blocks, or changed files.

Network attached storage (NAS) filesystem backups are enabled through the support of Network Data Management Protocol (NDMP). Tivoli Storage Manager Windows, AIX, and Solaris servers can efficiently back up and restore network attached storage (NAS) file system images to automated tape drives or libraries that are attached to Network Appliance and EMC Celerra NAS file servers. NDMP support is available only on IBM Tivoli Storage Manager Extended Edition.

Backup sets are portable, self-contained copies of backups, which can result in a rapid recovery without the TSM server or network availability. Backup sets are created by an administrator.

Note: With UNIX symbolic links, only the path information that the symbolic link contains is backed up.

For more information on logical volume, subfile, image and NAS filesystem backups, refer to your IBM Tivoli Storage Manager Administrator’s Guide.

Page 391: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-5

• • •••

Unit 9: Backup-Archive Client FunctionsTypes of Backups Available

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Incremental (Complete) Backup

The incremental backup function, also known as incremental (complete), backs up all your files that have changed since they were last backed up and all your files that were created since the last backup. The incremental backup function does not back up files that are excluded by your include-exclude list.

Incremental by Date Backup

For a disk or volume to be eligible for incremental by date backups, you must have performed at least one full incremental backup of that entire disk or volume. Running an incremental backup of only a directory branch or individual file will not make the disk or volume eligible for incremental by date backups.

To perform an incremental by date backup using the GUI, select the Incremental (date only) option from the type of backup pull-down menu or use the incrbydate option with the incremental command.

The client backs up only those files whose modification date and time is later than the date and time of the last incremental backup of the file system on which the file resides. Files added by the client after the last incremental backup, but with a modification date earlier than the last incremental backup, are not backed up. Files that were renamed after the last incremental backup, but otherwise remain unchanged will not be backed up.

Incremental by date however, will not check for frequency, new files, deleted files, changes in file attributes, or rebinding of files.

Incremental (without Journal) Backup

The process of running an incremental (without journal) backup proceeds as follows:

1. The client starts the session, and asks for the backup information.

2. There is a search in the TSM database for the information about the client files.

3. If there is no information, meaning there has never been a backup before, a full incremental backup will take place.

4. If there is information in the database, that information about which files have been changed is relayed, and then TSM performs an incremental backup.

Page 392: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-6 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsTypes of Backups Available

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Selective (Always Backup)

The selective backup always attempts to back up the objects you selected. Use a selective backup when you want to back up specific files or directories regardless of whether a current copy of those files exists on the server.

Page 393: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-7

• • •••

Unit 9: Backup-Archive Client FunctionsTypes of Backups Available

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

How Journal-based Backups Work

Journal-based backup is supported on all Windows clients. If you install the journal engine service and it is running, then by default the incremental command will automatically perform a journal-based backup on selected file systems that are being monitored by the journal engine service. IBM Tivoli Storage Manager does not use the journaling facility inherent in Windows NTFS file systems or any other journaled file system. In order to successfully perform a journal-based backup, several conditions must be met, which include:

• The journal service must be set up to monitor the file system that contains the files and directories being backed up.

• A full incremental backup has to have been run successfully at least once on the file system being backed up.

• The file space image of the file system at the server must not have been modified by an administrative command since the last full incremental backup.

The storage management policy for the files being backed up must not have been updated since the last full incremental backup.

4

How Journal-based Backups Work

On clients with the journal engine service running, file and directory changes are recorded in a journal. This list of changes in the journal enables incremental backups to proceed without either querying the server or scanning the local file system.

Journal-based backups are supported for Windows XP, and 2003 (32- and 64-bit) clients.

The main difference between journal-based backup and incremental backup is how TSM creates the list of files to be backed up.

• In a progressive incremental backup the list of files is created by scanning the entire file system on the client and comparing that list with a list of files on the server.

• With journal-based backup, the TSM backup-archive client gets the list of backups by examining the entries created by the Journal Based Backup Daemon.

Page 394: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-8 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsTypes of Backups Available

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

File Level Backups

5

D

C

B

A

Apr. 4 Apr. 5 Apr. 6 Apr. 7Apr. 4

filemodified

Apr. 4

filemodified

Apr. 4

filemodified

Apr. 4

filemodified

Apr. 4

filemodified

Apr. 5

filemodifiedApr. 4

filemodified

Apr. 4

filemodifiedApr. 4

filemodifiedApr. 5

filemodifiedApr. 5

filemodified

Apr. 7

filemodified

Apr. 4

filemodifiedApr. 4

File Level Backups; Scenario

6

Apr. 4 Apr. 5 Apr. 6 Apr. 7Apr. 4

Comparison of File Level Backups

Incremental complete; journaling Backed upDelete notify

Incremental; no journaling Backed upDelete notify

Incremental mode=absolute Backed upDelete notify

Selective Backed upDelete notify

Incremental by date Backed upDelete notify

A,B,C

A,B,C

A,B,C

A,B,C

A,B,C

A,B,C A,B,C,D

A,B,C A,B,C,D

B,C,DA

B,C,D

C

C

C D

D

D

DA

DA

Page 395: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-9

• • •••

Unit 9: Backup-Archive Client FunctionsOverview of Backup Sets

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 2: Overview of Backup Sets

Although the creation of backup sets is not a client function, they are an important feature of backups.

Using the most recent backup versions stored on the server, a Tivoli Storage Manager administrator can generate a complete set of client files (backup set).

These backup sets can be used to retain a copy of client files for a longer period of time (Instant Archive) or for recovery of a client system, without server or network, when the backup set is copied onto portable media and restored locally (Rapid Recovery).

The generate backupset command runs as a background process on the server.

The restore backupset command restores a backup set from the server, a local file, or a local tape device.

Backup Set Considerations

• Administrator generates backup set.

7

Overview of Backup Sets

Backup

set

A backup set is a group of active versions of files, copied onto portable media.

Backup sets can be restored on the client, locally, without the TSM server being available.

Must be generated by an administrator.

Page 396: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-10 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsOverview of Backup Sets

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

• System, policy or owner authority required.

• Carefully consider the FORMAT parameter defined in the device class.

• Sequential media must be readable on the local drive of the client machine.

• Device class maps a tape device common with client.

• Unique description for easy management.

• Retention option to define the backup set expiration.

• Backup set volumes tracked in volume history file.

• Command line only for file level restore.

Additional Backup Set Commands

QUERY BACKUPSETUPDATE BACKUPSETDELETE BACKUPSETQUERY BACKUPSETCONTENTQUERY VOLHISTORY TYPE=BACKUPSET

Note: Backup sets can also be generated in the Administration Center.

Page 397: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-11

• • •••

Unit 9: Backup-Archive Client FunctionsOverview of Backup Sets

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Point-in-time File Selection

8

Point-in-time File Selection

• Backup sets allow a point-in-time to be specified (default is TODAY, NOW).

• Files that were active at a specified date and time are includedin backup sets.

• In-progress backups do not affect selection of files.

Note:Backup sets cannot include deleted or expired files. Backup set date and time is PITDATE and PITTIME. If PITDATE is specified, the default PITTIME is midnight.

9

Data Type: File

1. An active-data pool associated with a FILE device class

2. A random-access disk (DISK) storage pool 3. A primary or copy storage pool associated with a FILE device class 4. An active-data pool associated with onsite removable media (tape or

optical) 5. A mounted (idle) sequential-access volume from a primary, copy, or active-

data pool 6. A sequential-access volume available in an automated library

7. A sequential-access volume available in a manual library

• All backup set commands add DATATYPE or WHEREDATATYPE parameter

• Data types cannot coexist; a given backup set has a specific data type• Node name, backup set name, and data type are needed to uniquely identify a

backup set.

When generating backup sets, the server will search for the active version of a file in an active-data pool associated with a FILE device class, if such a pool is available. The following search order is used:

Page 398: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-12 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsOverview of Backup Sets

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Backup Set Table of Contents

10

Backup Set Table of Contents

• Tables of contents (TOC) for backup sets are created as part of backup set generation.

• By default, when generating a backup set containing files and directories, the server will attempt to create a table of contents for a new backup set, but will not fail the backup set generation process if it cannot do so. You can, however, choose to require a table of contents by setting the TOC parameter to YES.

• When generating a backup set that contains API data or images, the server will require that a table of contents is generated. You cannot override this default. In either case, if a table of contents is required and the server cannot create it, the backup set generation process will fail.

11

Backup Set Table of Contents, continued

Tables of contents:

• Are stored on the server even if the media for the backup set has been moved offsite.

• Can be generated for existing backup sets that do not contain a table of contents.

• Can be re-generated when a backup set is defined on a new server, or if using a user-generated copy on a different medium.

The GENERATE BACKUPSETTOC command allows a table of contents to be created for backup sets that do not have one.

GENERATE BACKUPSETTOC may be used after a backup set is added to the server with the DEFINE BACKUPSET command or for backup sets that were generated by an earlier release of the Tivoli Storage Manager server.

Page 399: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-13

• • •••

Unit 9: Backup-Archive Client FunctionsPerforming Client Backups

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 3: Performing Client Backups

Using the TSM Backup-Archive GUI and Web Client to Back Up Files from a Client

12

Backup-Archive GUI; Backup

Page 400: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-14 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsPerforming Client Backups

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Select Files and Perform a Backup

From the Windows system command line, type dsm to start the GUI.

From a UNIX system command line, type dsmj to start the GUI.

To access the Web client, use port 1581 and a supported Web browser.

1. Select Backup from the GUI main window.

2. Expand directory tree to see folders and files.

3. Select objects to back up.

4. Select the type of backup from Select Action menu:

– Incremental (complete)

– Incremental (date only)

– Always Backup

– Incremental (without journal)

5. Click Backup.

13

Click the Backup button.

Select Files and Perform a Backup

5

Select the objects to back up.

Select the type of backup.

3

4

Click the folder next to the directory to see the list of files selected for backup.

Click the box to the left of the directory to select all files in a directory for backup.

21

Page 401: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-15

• • •••

Unit 9: Backup-Archive Client FunctionsPerforming Client Backups

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Take a moment to look over the backup-archive GUI directory tree. You will see that your local files, network files, RAW volumes, removable objects, and system objects are represented in the tree.

The selection box next to a branch can have the following states:

• Not selected (empty)

• Partially selected (partially filled)

• Implicitly selected (filled)

• Fully selected (checked)

Page 402: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-16 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsPerforming Client Backups

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Review Backup Results

While the backup is running, this window will be displayed, which shows the progress of your backup. When it is finished, the window will show the results of the backup.

14

Review Backup Results

Page 403: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-17

• • •••

Unit 9: Backup-Archive Client FunctionsPerforming Client Backups

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Use the Find Function

Click the button at the top of the screen that looks like a flashlight or select Edit > Find to start the Find function. Notice the names of the files in the TSM directory.

The Find function filters or searches for files stored locally on a client's disk or for files on the TSM server. Invoking the Find function starts a window to filter files or search for files matching certain criteria. The files matching the filter of find criteria can then be selected to perform a Tivoli Storage Manager action (back up, archive, retrieve, restore, or delete archive file).

The Find Function is case sensitive.

15

Use the Find Function

From the backup menu select Edit > Find and you get the screen shown. Fill in your criteria and click Search. You get a separate screen with files that fit your criteria.

Page 404: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-18 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsPerforming Client Backups

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Results of a Filter

When you select names that start with the letter T and then click the Filter button instead of Find, the file names listed from the TSM directory will include just the file names that begin with the letter T. So, Find Files gives you another window from which you can select files, and Filter modifies the files displayed in the backup window.

16

Results of a Filter

Similar to the search function, the filter displays results as shown.

11/08/200411/10/200401/21/2005

04/21/200104/21/200104/21/2001

Page 405: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-19

• • •••

Unit 9: Backup-Archive Client FunctionsPerforming Client Backups

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Use the Estimate Function

The estimate function uses information gathered during previous backups (historical data) to estimate how long it will take for a backup to complete. If you have never backed up an item before, there will be no estimate information available. The estimation is calculated using the average transfer rate and average compression rate from previous operations. The estimate function calculates the number of bytes the currently selected objects occupy by scanning the selected directories or requesting file information from the TSM server.

The historical data is stored on disk for the client. If the client connects to multiple servers, then it is recorded on a per server basis.

Select Always Backup as Type of Backup

Selecting files when performing a selective backup is the same as with the incremental back-up. The Find Files and Filter options can also be used with the selective backup just as with the incremental backup.

17

Select Always Backup as Type of Backup

.

For a selective backup, choose Always backupfrom the menu.

Page 406: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-20 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsPerforming Client Backups

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Using the GUI to Delete Backup Data

Select the Delete option from the menu. You can delete active objects, inactive objects, or all objects. Select a folder of files that have been previously backed up from the directory tree on the left. The items will appear in the right pane. In the right pane, select the backup object to be deleted, and click the Delete button.

18

Using the GUI to Delete Backup Data

Page 407: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-21

• • •••

Unit 9: Backup-Archive Client FunctionsRestoring Files

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 4: Restoring Files

Restore Overview

If a file is damaged, the user (Tivoli Storage Manager client) can request that the system restore the current or a specific backup version without the aid of an administrator. A user may only restore files that he or she has backed up unless he or she has been granted authority to the backup files of another person.

When a user restores a backup version of a file, Tivoli Storage Manager sends a copy of the file to the client node. The backup version remains in the Tivoli Storage Manager server. If more than one backup version exists, a user can restore the active backup version of the file or any inactive backup versions.

19

Restore OverviewRestore is the process of copying a backup version of a file from the Tivoli Storage Manager server to the client system over the specified communication method.

• Users must request to restore their own files.

• Users can restore the files of others as authorized.

• Tivoli Storage Manager server sends a copy of file to client, but the backup remains on the server.

• The user is able to restore backed up files to a specific point in time.

• Users can do restores through the GUI, client command line, or through a schedule.

• A user can restore files to a location other than where they were backed up

Page 408: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-22 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsRestoring Files

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Restore Files Using the GUI

The restore GUI queries the TSM server for a list of files that have been backed up and presents them in the same format as the backup GUI. Simply select the files you want to restore.

You can also use the Find function to select files. The Find function gives you the same options as those for doing a backup but will look for backed up files on the TSM server from which to select for restoring.

20

Backup-Archive GUI; Restore

Page 409: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-23

• • •••

Unit 9: Backup-Archive Client FunctionsRestoring Files

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Active and Inactive Version of a File to Restore

In order to restore a specific version of a file, you must select View and display. When the screen shown is presented, select Original location. The preserve path options are covered later in this unit.

21

Active and Inactive Versions of a File to Restore

Before you select the file you want to restore:1. Click View2. Select Display active/inactive files.

When you select the files you want to restore, you have a list of active and inactive files.

1

2

Page 410: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-24 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsRestoring Files

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Modify Restore Options

The Modify restore and collision options panel offers several choices for your restore process.

• Choosing All selected files and directories recovers both files and directories.

• Choosing Files only recovers files only.

• Choosing Directories only recovers directories only.

You can also specify what actions to take on files that already exist. You can even specify how to restore for image by choosing image only, or image plus incremental directories and files.

The options you specify are effective during the current client operation, but they are not saved for the next operation.

22

Modify Restore Options

1. Select a file to restore and click Options. 2. Select Replace from the menu, and click OK, and Restore.

1

2

Page 411: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-25

• • •••

Unit 9: Backup-Archive Client FunctionsRestoring Files

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Point-in-Time Restore

Tivoli Storage Manager uses a point-in-time (PIT) restore to restore a file space, directory, or file to the version equal to or before the point in time. Incremental backups are necessary to capture the fact that files have been deleted. Support for PIT restore is essential to be able to recover a file space or directory to a time when it was known to be in a good or consistent state. For example, a PIT restore can eliminate the effect of data corruption or recover a configuration to a prior date or time. When a PIT restore is performed, new files that have been created on the client after the PIT date are not deleted.

Point-in-time restores that do include deleted files are possible when incremental backups are run on the client because the server is only notified about files that are deleted from a client file space during an incremental backup. Incremental backups should run frequently enough to provide the necessary point-in-time resolution. Files that have been deleted from a client file space between two incremental backups might be restored during a point-in-time restore.

23

Point-in-Time RestoreA Point-in-time Restore restores files to a past state that existed at a specific date and time, as opposed to the current state of the last backup. Options for GUI and command-line point-in-time restores:

• File space, directory, or file level restore• GUI window

• PITTIME hh:mm:ss• PITDATE mm/dd/yyyy

• NLS enabled

Incremental backups notify of deleted files.• Frequency determines point-in-time resolution for deleted files

No query restore process used.• Fault tolerant restore• Restartable restore

Policy definition considerations.• Backup retention period• Number of backup versions kept

Page 412: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-26 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsRestoring Files

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Backup set GUI for Restore

24

Backup Set GUI for Restore

Page 413: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-27

• • •••

Unit 9: Backup-Archive Client FunctionsRestoring Files

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Restartable Restores

If an error occurs in the middle of a restore, the user can start another restore specifying the same source and destination. If the restore is started within the restart period allowed, the restore will start from where it left off. If a restore is restarted, some files may be restored again depending on how much of the Tivoli Storage Manager transaction was complete when the error occurred. A restarted restore starts at a transaction boundary as defined by the TSM client and server options TXNGROUPMAX and TXNBYTELIMIT.

25

Restartable Restores

•Resumes at point of interruption

New restore states–Active–Restartable–Restarts on transaction boundary

•Transparent to clientNo Query Restore process used

Restore progress

Point of restart

Restore failure

Transactions

Page 414: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-28 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsRestoring Files

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Restartable Restore Commands

The backup archive GUI and command-line support restartable restores. The backup archive GUI contains a menu option to restart a restartable restore.The query restore command, reports active restores with the associated session number. Restartable restores are reported with negative session numbers, which makes them easier to identify.

• Query restore: Lists the active and restartable sessions.

• Restart restore: Restarts a restartable restore session. The user is presented a list of restartable restore sessions by number.

• Cancel restore: Cancels a restartable restore session and removes it from the list by asking the user which session to cancel.

26

Restartable Restore Commands

Restart not performed when canceled by administrator.Client can restart the restore.

cancel sessions(administrative command)

Restart not performed when canceled by administrator.Client cannot restart the restore.

cancel restore(administrative command)

Select from list of restartable restores.

Restore continues from point of interruption.

restart restore

Lists restartable restores.Displays file specification, destination, nodename, and owner.

query restore

Page 415: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-29

• • •••

Unit 9: Backup-Archive Client FunctionsRestoring Files

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Restore sessions can also be canceled in the normal manner by an administrator using the cancel session command. Doing this stops the session but leaves a restartable restore session.

To ensure a consistent restore, the client file space that is restored during a restartable restore is locked when a restartable restore is in running state. All Tivoli Storage Manager move operations for sequential media containing files from the node or file space are prevented. TSM client backups that affect data being restored are also prevented.

Cancel session When a restartable restore session is canceled using the cancel session administrative command, the client node can restart the restartable restore session using the restart command.

Cancel restore When a restartable restore session is canceled using the cancel restore administrative command, the client node cannot restart the session.

Page 416: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-30 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsRestoring Files

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Restartable Restore Database Information

The server option, RESTOREINTERVAL, sets the length of time restartable restore sessions are held in the restartable state. Information regarding the status of the restore is kept in the Tivoli Storage Manager database. The default is to keep the restartable restore session information for 24 hours. RESTOREINTERVAL is defined in the server options file (DSMSERV.OPT) and can be changed dynamically.

The restartable restore state is removed from the Tivoli Storage Manager database following a successful restore or when the restore is canceled by either the client or a Tivoli Storage Manager administrator.

The restartable restore state is also removed by some TSM server processes after the RESTOREINTERVAL has elapsed. Server data movement operations such as migration, reclamation, and move data commands remove the restartable restore state from the Tivoli Storage Manager database when they run. The restore state is also removed during the expiration process. Expiration process is when files are identified for deletion because their expiration date or retention period has passed.

27

Restartable Restore Database Information

•Server option RESTOREINTERVAL:• Defines how long a restore session can be restarted.• Default 24 hours, maximum 1 week.

• Restartable restores expire:• After a successful restore.• When the following command is issued: CANCEL RESTORE

• When the TSM process RESTOREINTERVAL has passed.• When a move operation is initiated, such as:

– Migration– Reclaim– Move data

• During expiration processing.

Page 417: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-31

• • •••

Unit 9: Backup-Archive Client FunctionsRestoring Files

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercise, Part 1

Open your Student Exercises and perform the exercises for the preceding lessons.

28

Student Exercise, Part 1

Page 418: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-32 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsArchive and Retrieve

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 5: Archive and Retrieve

Overview of Archive and Retrieve

• Archiving is used to preserve files for later use or for records.

• Archiving can be used to request Tivoli Storage Manager to copy files, subdirectories, and directories for long-term storage on media controlled by Tivoli Storage Manager.

• When users archive files, they can choose to have Tivoli Storage Manager erase the original files from their workstation after the files are archived. Do so with caution.

• Tivoli Storage Manager uses archive packages to identify groups of archived files.

• Tivoli Storage Manager retrieves the directories first, and then adds the files to the directories.

• Archived copies can be retrieved from the directory tree.

• Filters can be used to identify copies from the directory tree.

29

Overview of Archive and Retrieve

Archive creates a copy of specified files and stores them for a specified time.

Retrieve copies archived files from the storage pool to the client node for use. The retrieve operation does not affect the archive copy in the storage pool.

Page 419: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-33

• • •••

Unit 9: Backup-Archive Client FunctionsArchive and Retrieve

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

• Authorized users can retrieve archive copies of files owned by someone else.

• For UNIX symbolic links, the file to which the symbolic link points can be archived, but under the name of the symbolic link.

Page 420: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-34 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsArchive and Retrieve

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Archive and Retrieve Using the GUI

The archive GUI presents a list of files in the same format as seen in the backup GUI. Select the files you want to archive and click the Archive button.

You can also use the Find function to select files. The Find function gives you the same options as those for performing a backup.

30

Archive and Retrieve Using the GUI

This is the Archive and Retrieve section of the Tivoli Storage Manager GUI. Click the Archive button, and TSM will begin preparations for use.

Page 421: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-35

• • •••

Unit 9: Backup-Archive Client FunctionsArchive and Retrieve

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

First-time Archive Processes

The first time you select the Archive button on the main menu, these two messages will be displayed. For the first message click Yes, and for the second message, click OK. These messages will not appear again.

31

First-time Archive Processes

Page 422: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-36 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsArchive and Retrieve

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Archiving Files

You can archive multiple files, directories, or subdirectories together.

Archiving is processed differently from backup in that a copy is stored on the server regardless of change status or frequency of backup.

Files can be grouped by description for easy retrieval.

Archives can trigger the deletion of the original file or can just make a copy of the original file.

You can add a descriptive tag onto a file for easy retrieval.

A separate copy group is used for archive and backup so that each management class can handle the differences between backup and archive.

32

Archiving Files

The archive function allows you to group important files by an associated description to archive and later retrieve.

Page 423: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-37

• • •••

Unit 9: Backup-Archive Client FunctionsArchive and Retrieve

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Archive Descriptions

When files are archived using the backup-archive client, an archive description is required. The archive description is a 255-byte text field that can contain information relevant to the files and directories archived. TSM stores the archive descriptions in a new format internally in the TSM database. An initial conversion process occurs when you starts a GUI archive function. This conversion process can be long running if you own a large number of archived files. The conversion process can be canceled and restarted at a later time.

Archive Descriptions

The archive description can be used to locate and identify files and directories without the knowledge of the physical client file spaces from which they were archived.

Unique Archive Descriptions

When the archive function is selected from the backup-archive GUI, a list of all previously used archive descriptions is displayed. The displayed archive descriptions can be used on subsequent archives.

33

Archive Descriptions

Archive descriptions are added to expedite the retrieval of files by ensuring the correct file is found.

An archive description is a 255-character text field that identifies archived files and directories.

If you do not enter a description, Tivoli Storage Manager assigns the following default archive description:

Archive Date: mm/dd/yyyy(where mm/dd/yyyy is the current date)

Page 424: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-38 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsArchive and Retrieve

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Archive Packages

An archive package is a set of files and directories archived with a common, unique archive description. All files archived require a description. Specifying a unique archive description creates a new package.

Archive packages can be encrytped and use password management.

Note: Remember, passwords may change for each archive and can potentially be required for up to 30 years.

34

Archive Packages

•Archived files with common description•Archive or retrieve

• Archive or retrieve complete package.• Retrieve individual files in package.• Add files to existing package.

• Delete files from package.

•New package• Created using unique archive description.• Default description

Archive Date: mm/dd/yyyy

•Retrieve using the GUI client• Display archived files hierarchically.

• Grouped by archive descriptions.

file

Page 425: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-39

• • •••

Unit 9: Backup-Archive Client FunctionsArchive and Retrieve

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Override Archive Options

In the Archive Options window you can:

• Compress or compress always

• Have TSM delete the files from your workstation after they are successfully archived

• Choose to override the include list

• Select the management class you want for this file

V2 Archive (files only)

Select V2 Archive to archive only selected files without archiving the entire directory of the files (as in ADSM Version 2 archiving).

The default action is for the entire directory of selected files to be archived unless you specify the V2 Archive option. In addition, if you select a directory to archive, all files and subdirectories in its path are archived. However, by clicking V2 Archive, any selected directory and its subdirectories are not archived, but only the files in its path.

35

Override Archive Options

Use the filter option to select files that match a pattern. 1. Select Delete files after Archive.2. Click OK. 1

2

Page 426: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-40 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsArchive and Retrieve

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

The option you specify is effective during the current client operation, but it is not saved for the next operation.

Select Override include-exclude list to override the management classes associated with objects using the include-exclude list.

How Retrieve Works

36

How Retrieve Works

•When you retrieve a file, TSM sends a copy of the file to the client node.

•The archived file remains on the TSM server.

•Tivoli Storage Manager retrieves the directories first, then adds the files to the directories.

•Archive copies can be retrieved from the directory tree.

•Authorized users can retrieve archive copies of files owned by someone else.

Page 427: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-41

• • •••

Unit 9: Backup-Archive Client FunctionsArchive and Retrieve

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Retrieving Files

37

Retrieving Files

The retrieve function allows you to copy an archived file from the storage pool back to your system.

Page 428: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-42 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsArchive and Retrieve

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Retrieve Using the GUI

• The retrieve GUI looks just like the restore GUI. Expand the directory tree where it shows client node name and observe the differences that archive packages introduced.

• The retrieve Find function works similarly to the restore Find function. You can select files based upon modified, accessed, or archived dates. If you click the set button on the Archived line you will be able to specify various options for archived dates.

Note: For more information on retrieve, see the appropriate reference manual for your platform.

The retrieve window shows objects that you have previously archived to the server. You can use this window to select objects that you want to retrieve. You can also run an estimate for the retrieve or change processing options.

Retrieve Archive Packages Using the GUI Client

The retrieve GUI displays archived files hierarchically in a collapsible directory tree. The files are grouped by their archive descriptions. Expanding the collapsible description tree displays the individual directories and files of which the archive package consists.

38

Retrieve Using the GUI

Once you select Retrieve from the main panel:

1. Expand the tree to find archive files to retrieve. 2. Select the files. 3. Click the Retrieve button.

3

1

2

Page 429: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-43

• • •••

Unit 9: Backup-Archive Client FunctionsArchive and Retrieve

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Retrieve Options – Modify Retrieve and Collision Options

The modify retrieve and collision options screen allows you to specify what objects to retrieve and what actions to take for files that already exist.

39

Retrieve Options — Modify Retrieve and Collision Options

Page 430: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-44 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsBackup and Restore with the Command Line

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 6: Backup and Restore with the Command Line

Using the Backup-Archive Command Line

The backup-archive command line offers more options to back up and restore data. There is also more than one method to invoke the same command line.

Syntax for command line:

dsmc action keyword -option=value filespec

Options available to this command include:

– DOMAIN

– PASSWORD

– COMPRESSION

– QUIET/VERBOSE

40

Using the Backup-Archive Command Line

dsmc

Change directories to the backup-archive client and type dsmc to start the command line.

C:\Program Files\Tivoli\TSM\baclient>dsmc

Or navigate to the backup-archive command line.

Page 431: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-45

• • •••

Unit 9: Backup-Archive Client FunctionsBackup and Restore with the Command Line

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

For other options, refer to the Administrator’s Guides for your platform.

All options on the command line override the options specified in the configuration options file, except the domain option which adds to the options file domain option.

The file specification filename parameter is different than the -DOMAIN= option in that this parameter will override the domain option in the configuration options file.

Page 432: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-46 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsBackup and Restore with the Command Line

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Perform an Incremental Backup on the Command Line

When you run an incremental backup on the command line, you see a breakdown of the results from start to finish.

41

Perform an Incremental Backup on the Command Line

Page 433: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-47

• • •••

Unit 9: Backup-Archive Client FunctionsBackup and Restore with the Command Line

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Selective Backup Examples

The selective command backs up files that you specify. If these files become damaged or lost, you can replace them with backup versions from the server. When you run a selective backup, all the files are candidates for backup unless you exclude them from backup, or if they do not meet management class requirements for serialization.

42

Selective Backup Examples

To back up all the files in the d:\proj directory, use the following command:

dsmc sel d:\proj\*

To include all subdirectories for the same backup:

dsmc sel -subdir=yes d:\proj\*

Page 434: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-48 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsBackup and Restore with the Command Line

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Use the Query Filespace Command

The query filespace command displays a list of file spaces in Tivoli Storage Manager storage. You can also specify a single file space name to query.

43

Use the Query Filespace Command

Issue the command:

Query FILESpace

from the backup-archive client to see whether the Last Incr Date signifies that a recently performed incremental backup has completed successfully.

Page 435: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-49

• • •••

Unit 9: Backup-Archive Client FunctionsBackup and Restore with the Command Line

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Delete Backup Command Syntax

44

Delete Backup Command Syntax

Windows: • To delete all files backed up from the d:\proj directory with the extension of .txt, issue the following command: delete backup d:\proj\*.txt

• To select files to delete, that were backed up from the d:\proj directory, use the –pick option: delete backup -pick d:\proj\*.*

UNIX:• To delete all files backed up from the /usr/lab/proj directory with a file extension of .txt, issue the following command:delete backup "/usr/lab/proj/*.txt"

• To select files to delete, that were backed up from the /usr/lab/projdirectory, use the –pick option:delete backup –pick “/usr/lab/proj/*"

Page 436: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-50 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsBackup and Restore with the Command Line

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Restore Backed Up Files Using the dsmc restore Command

The default restore method is the no query method, unless inactive, pick, latest, fromdate, and todate are specified, or it is a restore of NetWare NDS.

To force the use of classic restore, use ?* in the source file specification rather than *. For example:

c:\critproj\2004\?* or /home/critproj/2004/?*

You can only use a single specification.

45

Restore Backed Up Files Using the dsmc restore Command

Restore the c:\Program Files\lab.ppt file to its original directory.

If you do not specify a destination, the files are restored to their original location.

dsmc restore c:\”Program Files”\lab.ppt

lab.ppt strat.doc strat.xls

Page 437: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-51

• • •••

Unit 9: Backup-Archive Client FunctionsBackup and Restore with the Command Line

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Use the dsmc restore Command with the PICK Option

The restore function allows you to restore files from the command line.

The restore command is:

• Preceded by dsmc.

• Followed by options and a file specification of files to restore from the server.

Use the PICK option to list active and inactive backups stored on the server. It can be used to choose a backup version that is older than the most recent backup. Use the INACTIVE option to instruct Tivoli Storage Manager to restore an inactive backup if an active one is not available.

46

Use the dsmc restore Command with the PICK Option

The PICK option creates a list of backup versions, images, or archive copies that match the file specification you enter. From the list, you can select the versions to process. Include the INACTIVE option to view both active and inactive objects.

dsmc restore -pick -inactive c:\data\*

lab.ppt strat.xlsstrat.doc

Page 438: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-52 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsBackup and Restore with the Command Line

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Using the dsmc restore Command with Overwrite

47

Using the dsmc restore Command with Overwrite

Restore all the files matching strat*.doc to their original locations, overwriting existing files.

dsmc restore –replace=yes c:\Data\strat*.doc

lab.pptstrat.doc

strat2.doc

strat.doc strat2.docstrat.xls

Page 439: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-53

• • •••

Unit 9: Backup-Archive Client FunctionsBackup and Restore with the Command Line

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Use the LATEST Option with the dsmc restore Command

48

Use the LATEST Option with the dsmc restore CommandUse the LATEST option with the following commands to restore the most recent backup version of a file, even if the backup is inactive.

restorerestore grouprestore was

Only active versions are considered for a restore unless you use either the INACTIVE or the LATEST option.

dsmc restore –latest c:\data\*

lab.ppt strat.xls strat.docstrat.doclatestversion

Page 440: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-54 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsBackup and Restore with the Command Line

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Restore to New Location Using PRESERVEPATH Restore Option

The PRESERVEPATH restore option is available with the backup-archive command line. This option allows users to specify how directory structures are handled when performing restore to a new location. It creates the lowest-level source directory as a subdirectory of the target directory. Files from the source directory are stored in the new subdirectory.

The PRESERVEPATH restore option can be specified with one of the following options:

• Partial or subtree: Creates the lowest-level source directory as a subdirectory of the target directory. Files from the source directory are stored in the new subdirectory. Subtree is the default.

• Complete: Restores the entire path, starting from the root, into the specified directory. The entire path includes all the directories except the file space name.

• Nobase: Restores the contents of the source directory without the lowest-level, or base directory, into the specified destination directory.

• None: Restores all selected source files to the target directory. No part of the source path at or above the source directory is reproduced at the target.

If you specify subdir=yes, Tivoli Storage Manager restores all files in the source directories to the single target directory.

49

Restore to New Location Using PRESERVEPATH Restore Option

• Restore preserving directory structure• Complete: restores complete path• Partial: restores partial path• None: does not preserve directory structure

• PRESERVEPATH command-line option• Complete, Partial (subtree), Nobase, or None

• The default is Partial

directories to restore

Page 441: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-55

• • •••

Unit 9: Backup-Archive Client FunctionsBackup and Restore with the Command Line

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Use the IFNEWER with the dsmc restore Command

Use the IFNEWER option to instruct Tivoli Storage Manager to replace an existing file with the backup if the backup is newer than the existing file.

50

Use the IFNEWER Option with the dsmc restore Command

dsmc restore –ifnewer c:\Temp\strat.doc

strat.doc01/22/07strat.doc

01/23/07

strat.xlslab.ppt

The IFNEWER option replaces an existing file with the latest backup version only if the backup version is newer than the existing file.

Page 442: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-56 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsBackup and Restore with the Command Line

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Using the PITDATE and PITTIME Options

The TODATE and TOTIME or FROMDATE and FROMTIME options specify a date and time range for restore processing.

TODATE: Use the TODATE option to specify the latest date of files to be listed. TSM does not list files backed up after the specified date. Use this option with the FROMDATE option to list files backed up between the from date and the to date.

TOTIME: Use the TOTIME and TODATE with FROMTIME and FROMDATE to request a list of files that were backed up within a window of time.

You cannot use the no query method with the todate option.

Restartable Restore Commands

The restartable restore can be performed from the command line as well. You can use the query restore command to find out if your client has any restartable restore sessions in the server database. Restartable restore sessions have a negative session number.

Do not select a pittime during a backup window.

51

Using the PITDATE and PITTIME Options

Use the PITDATE option with the PITTIME option to establish a point in time for which you want to display or restore the latest version of your backups. If PITTIME is not specified, it defaults to 23:59:59.

dsmc restore –pitt=09:00:00 –pitd=01/22/07 c:\”Program Files”\lab.ppt

lab.ppt01/22/0709:00am

strat.doc strat.xls lab.ppt01/23/0708:00am

Page 443: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-57

• • •••

Unit 9: Backup-Archive Client FunctionsArchive and Retrieve Command Line

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 7: Archive and Retrieve Command Line

The archive command archives a single file, selected files, or all files in a directory and its subdirectories on a TSM server. Directories are archived.

You can archive files that you want to keep in their present condition. To release storage space on your workstation, delete files as you archive them. Retrieve the archived files to your workstation whenever you need them again.

The options available for Archive are:

• ARCHMC: Use the ARCHMC option to name the available management class in the active policy set of your policy domain.

• DELETEFILES: Use the DELETEFILES option to delete archived files from your workstation after they are stored on the server.

52

Archive Using the Command Line

dsmc archive

dsmc archive

Archive all files in the c:\lab1\critproj directory with a file extension of .txt.

dsmc archive c:\lab1\critproj\*.txt

Archive the d:\lab2\compl.doc file and assign a description to the archive.

dsmc archive /home/lab2/2006/compl.doc -description=“Compliance standards for 2006”

Page 444: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-58 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsArchive and Retrieve Command Line

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

• DESCRIPTION: Use the DESCRIPTION option to assign a description to a file when you archive it. If you do not remember the name of an archived file, you can use the DESCRIPTION option to retrieve the file.

• DIRSONLY: Use the DIRSONLY option to back up and restore only directories.

• FILESONLY: Use the FILESONLY option to back up and restore only files.

When you archive a symbolic link, TSM archives the file to which the symbolic link points. It does not archive path information for the directory. If you archive a symbolic link that points to a directory, TSM archives the files contained in the directory (and its subdirectories if the SUBDIR option is set to yes) under the name of the symbolic link.

You can use the retrieve command to retrieve files.

• Indicate the file you want to retrieve and a destination.

• If you do not indicate a destination, the files are retrieved to their original location.

53

Retrieve Using the Command Line

dsmc

retrieve

Retrieve the c:\lab1\critproj\*.txt file to its original directory.

dsmc retrieve c:\lab1\critproj\*.txt

Retrieve the /home/lab2/2004/compl.doc file under a new name and directory.

dsmc retrieve /home/lab2/2006/compl.doc /home/lab2/2005/compl.doc -description=“Compliance standards for 2006”

Page 445: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-59

• • •••

Unit 9: Backup-Archive Client FunctionsCommand Options for Backup, Archive, Restore, and Retrieve

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 8: Command Options for Backup, Archive, Restore, and Retrieve

• FROMTIME: Use the FROMTIME option with the FROMDATE and TOTIME option to specify a beginning time or a window of time.

• TODATE: Use the TODATE option to specify the latest date of files to be listed. TSM does not list files backed up or archived after the specified date. Use this option with the FROMDATE option to list files backed up or archived between the from date and the to date.

• TOTIME: Use the TOTIME and TODATE with FROMTIME and FROMDATE to request a list of files that were backed up or archived within a window of time. For example, you could request files that were backed up or archived between 6:00 a.m. on June 1, 2002, and 11:59 p.m. on June 30, 2002.

• FROMNODE: Use the FROMNODE option to see a list of file space names on another node on whose behalf you can restore or retrieve files.

• FROMOWNER: Use the FROMOWNER option to specify an alternative owner from which to restore files. The owner must grant access to use the files.

54

Command Options

The following command options are available:

• FROMTIME• TODATE• FROMDATE• TOTIME• FROMNODE• FROMOWNER• PICK• VIRTUALNODENAME• SUBDIR

Page 446: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-60 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsCommand Options for Backup, Archive, Restore, and Retrieve

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

• PICK: Use the PICK option to display a list of backed up or archived files that match the file specification you enter. From the list, you can select the versions to restore.

• VIRTUALNODENAME: The VIRTUALNODENAME option specifies the node name of your workstation when you want to restore or retrieve files to a different workstation.

• SUBDIR: The SUBDIR option specifies whether you want to include subdirectories of named directories for processing on the following commands:

• archive

• delete archive

• delete backup

• incremental

• query archive

• query backup

• restore

• restore backupset

• retrieve

• selective

Page 447: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-61

• • •••

Unit 9: Backup-Archive Client FunctionsCommand Options for Backup, Archive, Restore, and Retrieve

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Backup, Archive, Restore, and Retrieve of Directories

The backup-archive client supports archiving and retrieving of directories. Directories with associated access control lists (ACL) or trustee rights are archived when the files are archived and are retrieved when the files are retrieved.

Directories that are archived use the same archive description as the files with which they are archived.

55

Backup, Archive, Restore, and Retrieve of Directories

Command-line options are provided to support archive and retrieve of directories.

DIRSONLYWhen this option is specified, only the directories and their attributes are archived or retrieved.

FILESONLYWhen this command-line option is specified, only the files and their attributes are archived or retrieved. The default is to archive or retrieve both directories and files.

Page 448: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-62 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsThe Types of backups

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 9: The Types of backups

Image Backup Overview: Windows

From your local workstation, you can back up one or more volumes as a single object (image backup) on your system. These volumes can be formatted FAT, FAT32, NTFS, or unformatted RAW volumes. If a volume is NTFS-formatted, only those blocks used by the file system will be backed up. You cannot restore single files from an image backup, only a full image restore. Image backup is visible only if the image plug-in is installed and the client is connecting to a server running IBM Tivoli Storage Manager V5.1 or higher.

Example of an option file entry for image backups:

INCLUDE.IMAGE “C:” IMAGETYPE=SNAPSHOT SNAPSHOTFSIDLERETRIES=50 SNAPSHOTFSIDLEWAIT=1S,100MS SNAPSHOTCACHELOCATION=“D:\:”

include.fs D: fileleveltype=dynamic

DOMAIN.IMAGE C:

56

Image Backup Overview: Windows

The Image Backup (Windows 2000, XP, and 2003 32-bit):

• Performs an online or offline image backup depending on the image type setting in your Include.Image statement in the Include-Exclude Preferences page or in the client options file.

• If the image type is set to Snapshot, then the client performs an online image backup.

• If the image type is set to Static, then the client performs an offline image backup.

• If there is no Include.Image statement or no image type setting, then the client defaults to performing an online image backup if the Logical Volume Snapshot Agent (LVSA) is installed.

• If the LVSA is not installed, then the client defaults to performing an offline image backup.

Page 449: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-63

• • •••

Unit 9: Backup-Archive Client FunctionsThe Types of backups

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Windows Snapshot Image Backup

A snapshot image backup performs an online image backup of a volume in which the volume remains active and available for read and write operations during the backup. This function is available only if the Tivoli Storage Manager Logical Volume Snapshot Agent is installed and available. This item is visible only if the image plug-in is installed and the client is connecting to a server running IBM Tivoli Storage Manager V5.1 or higher.

You cannot do an image backup of the system drive or the volume containing the snapshot cache.

Open File Support with LVSA

The IBM Tivoli Storage Manager client for 32-bit Windows 2000, XP, and 2003 have the Logical Volume Snapshot Agent (LVSA) that allows a snapshot backup of files that are open (or locked) by other applications.

If you do not have the LVSA installed, Tivoli Storage Manager attempts to back up open files. Some files are open exclusively for the application that opened them. If Tivoli Storage Manager encounters such a file, it cannot read it for backup purposes. If you are aware of such file types in your environment, you should exclude them from backup to avoid seeing error messages in the log file.

57

Windows Snapshot Image Backup

• Faster backup and restore of file systems containing a large number of many small files.

• Conserves resources on the server during backups since only one entry is required for the image.

• Provides a point-in-time logical volume restore. • Restores a file system or raw logical volume that has been corrupted.

• Provides a baseline for Disaster Recovery Management.

A nondisruptive, online backup for Windows clients, using the Tivoli Storage Manager snapshot function. This function allows a backup of an entire file system or raw volume as a single object. An imagebackup provides the following benefits:

Page 450: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-64 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsThe Types of backups

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Windows Incremental Image (Date Only) Backup

You can perform incremental-by-date of last image backup regardless of whether the full image was backed up using offline or online image backup. Use the image backup in combination with the regular incremental backups to make restore easier.

58

Windows Incremental Image (Date Only) Backup

Incremental Image (Date Only) Backup does the following:

•Performs an incremental-by-date of last image backup.•Backs up files that have changed in your volume since your last image backup.

•Does not mark files inactive on the server for files that have been deleted from your client machine.

Page 451: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-65

• • •••

Unit 9: Backup-Archive Client FunctionsThe Types of backups

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Logical Volume Image Backup (UNIX)

Options file entry:

include.image /<dir> imagetype=<image type>

Command-line syntax:

-imagetype=<image type>

Image types:

Dynamic: Use if the volume cannot be unmounted and remounted read-only. Tivoli Storage Manager backs up the volume as is without remounting it read-only. Corruption of the backup may occur if applications write to the volume while the backup is in progress. In this case, run fsck after a restore. Valid for AIX, Solaris, HP-UX, Linux86, Linux IA64, Linux pSeries, Linux iSeries, and Linux zSeries.

Static: Performs an image backup during which the volume is unmounted and remounted read-only. This is the default for AIX, HP-UX, and Solaris. Valid for AIX, Solaris, HP-UX, Linux86, Linux IA64, Linux pSeries, Linux iSeries, and Linux zSeries.

Snapshot: Specifies that you want to perform a snapshot image backup during which the volume is available to other system applications. This is the default for file systems residing on a logical volume created by the Linux Logical Volume Manager. Valid for Linux86 and Linux IA64 clients only.

59

Logical Volume Image Backup Overview: UNIXAIX:• Back up a logical volume as a single object (image backup) on your system.

• The traditional static image backup prevents write access to the volume by other system applications during the operation.

• Use the imagetype=dynamic option to back up the volume as iswithout remounting it read-only.

WARNING: Corruption of the backup may occur if applications write to the volume while the backup is in progress.

• Use the imagetype option with the backup image command or the Include.Image option to specify whether to perform a static, dynamic, or snapshot image backup.

For Linux86 and Linux IA64:• By default, Tivoli Storage Manager performs a snapshot image backup of file systems residing on a logical volume created by the Linux Logical Volume Manager, during which the volume is available to other system applications.

Page 452: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-66 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsThe Types of backups

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Subfile Backup

Sometimes, if communication lines are slow or unreliable, you will want to send the minimal amount of data over the communication line.

With the subfile backup feature you can back up only the changed portion of a file instead of transferring the whole file to the server every time. Only the changed portion of the file is backed up relative to the last complete backup of the file. A full backup is the base or reference file. The changed portion is called a delta file. All changes since the last complete backup of the file are included in this delta file.

As you can see in the graphic, on the first day the file is created and backed up. On day two a change is made and only the changed portion is backed up. On the third day another change is made, so now the two changes are combined and backed up as one file. The same with the third day. All three changes are combined and saved as one delta file.

In the case of a restore, this allows for the restore of the whole file by restoring only two subfile components, one delta file containing all three changes and the last complete backup of the base file.

The adaptive subfile backup, as well as the restore of a base and delta file, is a background process. All necessary file data separations or reconstructions happen in the background on the backup-archive client. All other TSM features, such as policy management or fault-tolerant backup and restore, still fully apply. Adaptive subfile backups can be used with incremental and selective backups and will work together with client data compression and encryption.

60

base file

Subfile BackupsBackups

day 1

day 2

day 3

day 4

file on client backed up object

base file

delta file 1

delta file 2

delta file 3

Restore

+ =

backed up objectsDelta file 3

restored file on client

Page 453: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-67

• • •••

Unit 9: Backup-Archive Client FunctionsThe Types of backups

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Subfile backup technology is not used for very small files (less than 1 KB in size) or for very large files (greater than 2 GB). If the delta file size exceeds 60 percent of the base file, a new base file will be transferred.

NAS File System Backup

When backing up NAS files systems, the Tivoli Storage Manager server uses Network Data Management Protocol, or NDMP, to connect to the NAS file server to initiate, to control, and to monitor a file system backup or restore operation.

Since TSM is using NDMP on the NAS file server, the NAS file servers are essentially backup-ready. With this feature of TSM, you can back up to storage devices without moving the data over the LAN. The storage devices have to be under the direct control of the NAS file server, which means that they have to be directly attached or connected through a supported SAN environment.

An NDMP backup is usually an image backup because the NAS filer performs the backup as an entity without telling TSM about the content. So the TSM server administers only one image object that has been backed up. Additionally, TSM can create a table of contents (TOC) during backup and store the TOC afterwards in a dedicated storage pool. The TOC enables TSM to restore a single file from a NAS backup image. Each time a single file restore from an NAS image backup is performed, IBM Tivoli Storage Manager will load the TOC from the dedicated storage pool into a temporary database table. You are able to

61

NAS File System Backup

data

LAN/WAN (tcp/ip)

TSMserver

backup-archiveclient NAS file server

control

Page 454: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-68 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsThe Types of backups

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

configure how long the TOC is stored in the temporary table. Even without the TOC you are able to restore single files from a NAS backup image. In that special case exact information about the single file and the image it resides in must be provided for restore.

Although an NDMP backup is usually started and controlled by a TSM server, a TSM Web client is also able to initiate and control an NDMP backup or restore.

NDMP support is available only on IBM Tivoli Storage Manager Extended Edition.

Page 455: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-69

• • •••

Unit 9: Backup-Archive Client FunctionsThe Types of backups

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercise, Part 2

Open your Student Exercises and perform the exercises for the preceding lessons.

62

Student Exercise, Part 2

Page 456: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-70 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsThe Types of backups

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Review Questions

1. Which type of backup performs an online Windows 2000 image backup of a volume in which the volume remains active and available for read and write operations during the backup?

2. Use a(n) _______________ backup when you want to back up specific files or directories regardless of whether a current copy of those files exists on the server.

3. In order to successfully perform a journal-based backup, ____________ must be set up to monitor the file system that contains the files and directories being backed up.

4. Use the ____________ option on the command line with the dsmc restore command to list active and inactive backups stored on the server. This option is used to choose a backup version that is older than the most recent backup.

5. Use the ____________ option on the command line dsmc restore to instruct Tivoli Storage Manager to replace an existing file with the backup if the backup is newer than the existing file.

Page 457: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

Unit 9: Backup-Archive Client FunctionsThe Types of backups

Review answers begin on the next page.

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-71

• • •••

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Page 458: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-72 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsThe Types of backups

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Review Answers

1. Which type of backup performs an online Windows 2000 image backup of a volume in which the volume remains active and available for read and write operations during the backup?

Snapshot Image Backup

2. Use a(n) _______________ backup when you want to back up specific files or directories regardless of whether a current copy of those files exists on the server.

Always (Selective)

3. In order to successfully perform a journal-based backup, ____________ must be set up to monitor the file system that contains the files and directories being backed up.

the journal engine service

4. Use the ____________ option on the command line with the dsmc restore command to list active and inactive backups stored on the server. This option is used to choose a backup version that is older than the most recent backup.

PICK

5. Use the ____________ option on the command line dsmc restore to instruct Tivoli Storage Manager to replace an existing file with the backup if the backup is newer than the existing file.

IFNEWER

Page 459: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 9-73

• • •••

Unit 9: Backup-Archive Client FunctionsThe Types of backups

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Summary

63

Summary

You should now be able to:

• Describe and compare the kinds of backups possible.• Use the Tivoli Storage Manager Backup-Archive Graphical

User Interface to back up and restore files from a client.• Use the command line to back up and restore files from a

client.• Use the Tivoli Storage Manager Backup-Archive Graphical

User Interface to archive and retrieve client files.

Page 460: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

9-74 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 9: Backup-Archive Client FunctionsThe Types of backups

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Page 461: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

• • • ••

10-1

Unit 10: Protecting the Database and Storage Pools

Unit 10: Protecting the Database and Storage Pools

Page 462: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-2 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage Pools

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Introduction

This unit covers backing up and recovering the Tivoli Storage Manager database, recovery log, and storage pools.

Objectives

2

Objectives

Upon completion of this unit, you will be able to:

• Back up the IBM Tivoli Storage Manager database.• Recover the IBM Tivoli Storage Manager database.• Back up the storage pools.• Recover the storage pools.

Page 463: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-3

• • •••

Unit 10: Protecting the Database and Storage PoolsTivoli Storage Manager Database and Storage Pool Protection Requirements

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 1: Tivoli Storage Manager Database and Storage Pool Protection Requirements

3

Tivoli Storage Manager Database and Storage Pool Protection Requirements

•Have a copy of the Tivoli Storage Manager database for a sufficient number of days.

• Number of days to retain copy depends on the business requirements. For example, a company with a five-day work week may want to keep copies for at least three days.

•Have at least one copy of all storage pool data.• Consider having two copies. One copy is kept on-site; one copy is kept off-site.

• Active-data pools are good for on-site copies, if you want to restore current files only.

Page 464: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-4 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsTivoli Storage Manager Database and Storage Pool Protection Requirements

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Tivoli Disaster Recovery Manager Functions

Disaster Recovery Manager is a function within IBM Tivoli Storage Manager Extended Edition that assists you in preparing a disaster recovery plan. You can use the plan as a guide for disaster recovery and for auditing purposes to certify IBM Tivoli Storage Manager server’s ability to recover. The following functions are provided:

• Generates a Disaster Recovery Plan file

• Handles off-site recovery media

• Maintains client recovery information in the IBM Tivoli Storage Manager server database

• Centralizes the management of the disaster recovery process

• Provides scripts to automate recovery

• Provides electronic vaulting of storage pool and database backups

IBM Tivoli Storage Manager Extended Edition must be installed and licensed before you can use IBM Tivoli Disaster Recovery Manager (DRM).

Server-to-server communication, included in TSM Extended Edition, allows the use of a remote server for electronic vaulting.

4

Tivoli Disaster Recovery Manager Functions

Page 465: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-5

• • •••

Unit 10: Protecting the Database and Storage PoolsTivoli Storage Manager Database and Storage Pool Protection Requirements

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

The Disaster Recovery Plan File

With DRM you can create a Disaster Recovery Plan file to help you restore your Tivoli Storage Manager server. After storage pool and database backups, the backup volumes and the Plan are sent off-site. Every time you run the prepare command, a new Recovery Plan file is created. This function has also been added to the Administration Center. The Recovery Plan file contains the following stanzas that make up the Plan:

• Instructions that you define (for example: contact names and telephone numbers)

• The recovery procedure

• A list of required database and storage pool backup volumes and their location

• Types of devices that are required to read the volumes

• Database and recovery log space requirements

• Copies of the server options file

• Device configuration and volume history information

• Commands for performing database recovery, primary storage pool recovery, and registering licenses

• Machine and recovery media information that you define

5

The Disaster Recovery Plan File

For more information on Disaster Recovery Manager, refer to the curriculum roadmap for scheduling and enrollment in:IBM Tivoli Storage Manager Extended Edition 5.4 Disaster Recovery

Page 466: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-6 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsTivoli Storage Manager Database and Storage Pool Protection Requirements

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Using the Administration Center for Disaster Recovery Management

6

Disaster Recovery Management

The table shows all of the servers that have been added to the Administration Center by the current administrator. For the servers that are licensed for IBM Tivoli Storage Manager Extended Edition, you can use the Disaster Recovery Manager function to automatically generate a disaster recovery plan and track media.

Disaster Recovery Management actions

Page 467: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-7

• • •••

Unit 10: Protecting the Database and Storage PoolsBacking Up the Database

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 2: Backing Up the Database

Tivoli Storage Manager Database Backup

Tivoli Storage Manager can perform full plus incremental backups of the database to tape while the server is running and available to clients. With the Tivoli Storage Manager recovery log in normal mode, the backup media can then be stored on-site or off-site and can be used to recover the database up to the point of the backup. You can run full or incremental backups as often as needed to ensure that the database can be restored to an acceptable point in time.

You can provide even more complete protection if you specify that Tivoli Storage Manager run roll-forward mode. With Tivoli Storage Manager in roll-forward mode and with an intact recovery log, you can recover the database up to its most current status.

7

Types of Storage Manager Database Backup

• Full backup + Incremental backups

• Database out-of-band (snapshot) backup

+

Page 468: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-8 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsBacking Up the Database

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Full Backup Plus Incremental Backup

For backups, an administrator can weigh the trade-offs between running full backups and running incremental backups.

A full backup takes longer to run than an incremental because it copies the entire database. However, recovery time is faster with a full backup because only one set of volumes needs to be loaded to restore the entire database. A full backup is required under specific conditions, but an administrator can choose to run as many as 32 incremental backups between each full backup.

An incremental backup takes less time to run because it copies only those database pages that have changed since the last time the database was backed up. However, incremental backups increase the time it takes to recover a database because a regular backup must be loaded first, followed by some or all of the incremental backups in the same database backup series.

8

Full Database Backups

A full backup occurs when:

• Database has never been backed up.• Maximum incremental backups reached.• Database has been extended or reduced.• Recovery log mode changed to roll-forward (default = normal).

Page 469: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-9

• • •••

Unit 10: Protecting the Database and Storage PoolsBacking Up the Database

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Database (Snapshot) Backup

A snapshot backup is a full backup that does not interrupt the full plus incremental backup series. It is also referred to as an out-of-band database backup. This backup can be stored off-site for disaster recovery purposes.

A database snapshot backup is tracked by the volume history and can be used for a restore of the Tivoli Storage Manager database to the point in time when the snapshot was performed.

A database snapshot backup does not empty the recovery log.

9

Database Snapshot Backup

A database snapshot backup:

• Does not interrupt the normal backup series.• Is integrated into Disaster Recovery Manager processing as well as volume history processing.

• Can be taken off-site.• Full + incremental backup series stay on-site for availability.

Page 470: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-10 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsBacking Up the Database

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Database Backup Command

Use the backup db command to back up the database.

Parameter Description

DEVCLASS=DEVCLASSNAME

Specifies the name of the sequential access device class to use for the backup. Be sure that you have used the DEVCONFIG option in the DSMSERV.OPT file to specify an external file in which to store a backup copy of device class definitions. If you do not have this file and your Tivoli Storage Manager database is damaged or lost and must be restored, the definitions created by using the define devclass command will not be available and must be recreated manually. This parameter is required.

TYPE=TYPEVALUESpecifies the type of backup to run. This parameter is optional. The default value is INCREMENTAL.

VOLUMENAMES=VOLNAME

Specifies the volumes to use for the backup. You can specify more than one volume by separating each volume name with a comma, with no intervening spaces.

10

Database Backup CommandBackup DB DEVclass=devclassnameType=Incremental|Full|DBSnapshotVOLumenames=volname(s)Scratch=Yes|No Wait=Yes|No

Page 471: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-11

• • •••

Unit 10: Protecting the Database and Storage PoolsBacking Up the Database

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

SCRATCH=SCRATCHVALUESpecifies whether scratch volumes can be used for the backup. This parameter is optional. The default value is YES.

WAIT=WAITVALUE

Specifies whether to wait for the server to complete processing this command in the foreground. The default value is NO. The first backup of your database must be a regular backup. You can run up to 32 incremental backups between regular backups. To perform a regular backup of your database to the TAPECLASS device class, for example, enter:

backup db type=full devclass=tapeclass

In this example, Tivoli Storage Manager writes the backup data to scratch volumes. You can also specify volumes by name. After a regular backup, you can perform incremental backups, which copy only the changes to the database since the previous backup. Run an incremental backup of the database, using a scratch volume. Assume a device class of FILE for the backup:

backup db devclass=file type=incremental

Parameter Description

Page 472: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-12 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsBacking Up the Database

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Initiating a Database Backup

The Tivoli Storage Manager administrator can choose any combination of the following methods to back up the Tivoli Storage Manager database:

• Scheduled backups

• Backups based upon trigger levels

• Manual backups

11

Initiating a Database Backup

•Scheduling backups •Backup db command•Suggested way to do backups

•Specifying automatic backups •Define dbbackuptrigger command•Based on recovery log threshold•Complements the scheduled backups•Safety valve: ensures you do not run out of log space•Only with roll-forward mode

•Running manual backups •Can be initiated at any time

Page 473: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-13

• • •••

Unit 10: Protecting the Database and Storage PoolsBacking Up the Database

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

DBBackuptrigger and Log Mode

By setting a database backup trigger you can reduce the likelihood that the recovery log will run out of space before the next backup.

12

DEFine DBBackuptrigger DEVclass=devclassnameLOGFullpct=percentage (50% default)NUMINCremental=number (6 default)

DBBackuptrigger and Log Mode

The following commands are used to define the database backup trigger and log modes:

The database and log backup triggers, and setting the log mode can be managed with the Administration Center.

set logmode rollforward

Page 474: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-14 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsBacking Up the Database

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Define DBBackuptrigger Command Syntax

Example

Define the setting of the database backup trigger at 80%. Run two incremental backups to every regular backup of the database. Assume a device class of FILE for the backup. Use the following command.

define dbbackuptrigger devclass=file logfullpct=80 numincremental=2

Run the query status command, and it will return the mode the recovery log is in.

Parameter Description

DEVCLASS=DEVCLASSNAME

Specifies the name of the sequential access device class to use for backups. This parameter is required. If the mount limit for the device class specified has already been reached (all drives are busy) when the backup runs, Tivoli Storage Manager automatically cancels lower priority operations, such as reclamation, to make a mount point available for the backup.

INCRDEVCLASSSpecifies the name of the sequential access device class to use for incremental backups.

LOGFULLPCT=PERCENTAGE

Specifies when Tivoli Storage Manager automatically backs up the database, based on the percentage of available space used for the recovery log. When the percentage of space used for the recovery log exceeds this value, Tivoli Storage Manager performs an automatic backup of the database and removes unnecessary records from the recovery log.

NUMINCREMENTAL=NUMBER

Specifies the maximum number of incremental backups that can be run before a regular backup is required. You can specify a value from 0-32, where 0 specifies that Tivoli Storage Manager runs only regular backups automatically. This parameter is optional.

Page 475: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-15

• • •••

Unit 10: Protecting the Database and Storage PoolsBacking Up the Database

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

SET LOGMODE

Description

NORMALSpecifies that Tivoli Storage Manager saves only those recovery log records that are needed to recover the database in case of a system failure. This is the default for the log mode.

ROLLFORWARD

Specifies that Tivoli Storage Manager saves enough log records to ensure that the database can be restored to its most current state using the most recent database backup series and recovery log records.

Page 476: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-16 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsBacking Up the Database

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Database Backup Related Commands

Query DB

To help you determine how much storage space a regular or incremental backup will require, use the q db command. This command displays the number of changed megabytes in the database.

Query Volhistory

Use the q volh command to display sequential volume history information that has been collected by the server. Volume history information includes data such as date and time of use for the following types of volumes:

• Volumes not in storage pools.

• Volumes used to back up a Tivoli Storage Manager database (regular or incremental).

• Volumes used to dump a Tivoli Storage Manager database.

13

3rd time to run backup

full backup

1 tape

Database Backup Related Commands

DELete VOLHistory TODate=TODAY-7 Type=DBBACKUP

Query VOLHistoryQuery DB Format=Detail

Volume history can be deleted with the Administration Center.

Tivoli Disaster Recovery Manager (DRM) can manage the volume history file. If you have implemented DRM, this step is not necessary.

Page 477: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-17

• • •••

Unit 10: Protecting the Database and Storage PoolsBacking Up the Database

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

• Volumes used to export administrator, node, policy, or server data.

• Backup sets.

Query VOLHistory Type=typevalue

The TYPEVALUE specifies the type of records to display from the volume history file. This parameter is optional. The default is ALL. Possible values are:

Delete Volhistory

Use the delete volhistory command to delete sequential volume history information collected by the server when the information is no longer needed. For example, you may want to delete information about volumes used for obsolete database backups.

When volume history information about volumes that are not in storage pools is deleted, the volumes return to scratch status if they were acquired by Tivoli Storage Manager as scratch volumes. For scratch volumes with device type FILE, the files are deleted.

Do not delete sequential volume history information until you no longer need it. Do not delete the volume history information for database dump, database backup, or export volumes that reside in automated libraries unless you want to return the volumes to scratch status. When the delete volhistory command removes volume information for database dump, database backup, or export volumes, the volumes are automatically returned to scratch status if they reside in automated libraries. These volumes are then available for reuse by the server, and the information stored on them may be overwritten when the server reuses the volume for some other purpose, such as storage pool volumes or other database backups.

Typevalue Description

ALL Specifies that all history information is displayed.

DBBACKUPSpecifies to display only records that contain information about volumes used for backups (regular or incremental).

DBSNAPSHOTSpecifies a full backup that does not interrupt the current full plus incremental backup series. Also referred to as database out-of band or snapshot backup.

DBDUMPSpecifies to display only records that contain information about volumes used for online database dumps.

EXPORTSpecifies to display only records that contain information about volumes used for exporting data.

Page 478: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-18 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsDatabase Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 3: Database Recovery

14

TSM Database Recovery

= = Restore

The TSM database contains all information required to perform backup and restore functions.

If you lose the TSM database, you can no longer restore files.

Page 479: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-19

• • •••

Unit 10: Protecting the Database and Storage PoolsDatabase Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Restoring the Database

15

Restoring the Database

•Point-in-time recovery

•Roll-forward to most recent state recovery

•Single database volume recovery

XTivoli Storage Manager provides three types of recovery, all initiated with the command:

DSMSERV RESTORE DB

Page 480: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-20 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsDatabase Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Roll-Forward Recovery

Roll-forward recovery to most recent state provides the ability to restore a database to its most current state if the recovery log is available. Mirroring and roll-forward recovery together provide the most comprehensive protection for a Tivoli Storage Manager database. Here are some considerations when enabling roll-forward recovery:

• Restoring the database to its most current state allows a site to protect against loss of client and server files due to a hardware failure on the Tivoli Storage Manager server.

• Since there is no requirement for auditing the database and storage pools after a database restore the recovery time is much faster.

• If there is a media failure on a database volume, only that volume needs to be restored, which reduces the time to recover the Tivoli Storage Manager database.

• The recovery log must be defined with a larger size because Tivoli Storage Manager must save additional recovery log records. The size of the recovery log depends on the frequency of required backups, how the database backup trigger is set, and the volume of Tivoli Storage Manager transactions. The maximum size of the recovery log is 13 GB.

• Mirrored copies of the recovery log consume additional disk space because of the larger recovery log size. However, it is still advisable to mirror your recovery log as well as the database, if you have enough disk space.

16

Roll-Forward Recovery

mirroring + roll-forward = comprehensive protectionBenefits of a roll-forward recovery of the TSM database:• Database can be restored to most recent state.• Single database volume can be restored.

• No auditing of the database or storage pools is required after the restore.• If the copy of the log is not available, you will need to audit the

storage pools.

1 full + up to 32 incremental database backups + roll-forward log

+ +…++++ …+++

Page 481: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-21

• • •••

Unit 10: Protecting the Database and Storage PoolsDatabase Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Point-in-Time Recovery

Point-in-time recovery is normally used for exceptional situations such as disaster recovery or removing the effects of software logic or other types of errors that can cause an inconsistency in the database. If an administrator enables roll-forward recovery, point-in-time recovery is also available.

For disaster recovery purposes, an administrator can run regular or incremental backups as often as necessary to ensure that a Tivoli Storage Manager database can be restored to an acceptable point in time and can send those backups to an off-site location for safekeeping. It is important to perform database backup with storage pool backup to provide disaster recovery services for the server.

To restore a database to a specific point in time to remove the effects of an error that caused an inconsistency in a database, an administrator can use some or all of the backups contained in a database backup series.

An administrator can also choose to enable point-in-time recovery only. The considerations of enabling point-in-time recovery only are:

• When only point-in-time recovery is enabled, the recovery log can be defined with a smaller size, and mirrored copies of the recovery log consume less disk space.

• Since there is no requirement for auditing the database after a database restore, the recovery time is much faster compared to the database salvage utility.

17

Point-in-Time Recovery

1 full + up to 32 incremental database backupsin a database backup series.

Performing a point-in-time recovery of the TSM database:• The recovery log is smaller.• Database audit is not need after the restore.• The most recent state cannot be restored.• Single database volume cannot be restored.• Auditing of storage pools is required after a database restore.

+ …+++

Page 482: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-22 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsDatabase Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

• The database cannot be restored to its most current state. It can only be restored to the point in time when the particular backup series used to restore the database was created.

• Because restoring a single database volume requires roll-forward recovery, the entire database must be restored, even if only one volume is damaged.

• After the database has been restored, you have to audit the sequential storage pool volumes based on the information in the volume history file. You also must audit the disk storage pool volumes.

You will still need to mirror the recovery log, even if you use only point-in-time recovery. If the recovery log is gone, you will need to run the audit storagepool command.

Page 483: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-23

• • •••

Unit 10: Protecting the Database and Storage PoolsDatabase Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Backing Up Volume and Device-Related Information

Volume history information is automatically collected by the server for use in performing database recovery. The volume history information collected by the server is maintained in the Tivoli Storage Manager database. The Tivoli Storage Manager server collects the following types of volume history information:

• Volumes used to back up a Tivoli Storage Manager database.

• Volumes used to export administrator, node, policy, or server data.

• Sequential access storage pool volumes that have been reused, added, or deleted.

Use the backup volhistory command to request that the server save sequential volume history information to one or more files. Volume history information includes data such as date and time of use for the following types of volumes:

• Volumes used to back up a Tivoli Storage Manager database (regular or incremental).

• Volumes used to dump a Tivoli Storage Manager database.

• Volumes used to export administrator, node, policy, or server data.

• Sequential access volumes that have been added to storage pools.

18

Backing Up Volume and Device-Related Information

volume history files

device configuration files

backup devconfig

backup volhist

Page 484: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-24 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsDatabase Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

• Sequential access volumes that have been reused in storage pools reclamation or move data operations.

• Sequential access volumes that have been removed by using the del volume command or removed during reclamation of scratch volumes.

Device, drive, and library definitions are also stored in the Tivoli Storage Manager database. Device configuration information consists of device class definitions created using the define devclass command. On an AIX server, it also includes drive and library definitions created using the define drive and define library commands.

Use the backup devconfig command to specify one or more files in which to store a backup copy of the device class definitions created using the define devclass command, library definitions created using the define library command, and drive definitions created using the define drive command.

Page 485: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-25

• • •••

Unit 10: Protecting the Database and Storage PoolsDatabase Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Restoring the Server

Keep current copies of these files off-site for safekeeping. Keep the output of the query system file off-site.

19

Restoring the Server

volhist.outdsmserv.optdevconfig.out

database backupstorage pool backup

You will need copies of these files and backups to restore your server…

…or you can use Tivoli Disaster Recovery Manager.

Use the dsmserv loadformat command to recreate the dsmserv.dsk file.

Page 486: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-26 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsDatabase Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Database Restore Command Examples

The dsmserv restore db utility uses backed up versions of the database either created manually with the backup db command or versions created with the automatically triggered database backups.

Restoring to a Specific Point in Time

If a backup copy of volume history information is available, you can restore a database to a specific point in time.

TODate = date specifies the date to which to restore the database. This parameter is required.

Possible values are:

• MM/DD/YYYY – Specifies that you want to restore a database using the most recent backup series that was created prior to a specific date.

• TODAY – Specifies that you want to restore a database using the most recent backup series that was created prior to the current date.

20

Database Restore Command Examples

Restoring a database to its most current state: DSMSERV RESTORE DB PREVIEW=No|Yes

Restoring a single database volume to its most current state: DSMSERV RESTORE DB DBVolume=volnamePREVIEW=No|Yes

Restoring a database to a specific point in time; history file available:

DSMSERV RESTORE DB TODate=date TOTime=time

Source=DBBackup|DBSnapshot

PREVIEW=No|Yes

Page 487: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-27

• • •••

Unit 10: Protecting the Database and Storage PoolsDatabase Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

If the volume history file is unavailable, you can use one or more dsmserv restore db utilities to restore a Tivoli Storage Manager database to a specific point in time. For example, if you need to load a regular backup and one or more incremental backups, you can issue a dsmserv restore db command to restore the regular backup, and then issue an additional dsmserv restore db command for each incremental backup.

When you use multiple dsmserv restore db utilities, you must specify COMMIT = NO for each command except the last one you issue. For the last dsmserv restore db command, you must specify COMMIT = YES to place the database in a consistent and usable state.

If the volume history file is not available, you need to tell restore db which volumes to restore.

VOLNAME: Specifies the names of one or more volumes to use to restore the database. You can specify more than one backup volume by separating each volume name with a comma, with no intervening spaces. You must list the volumes in the order in which the backup was stored.

For example, if you want to use the backup volumes TAPE01, TAPE02, and TAPE03, specify the following volumes:

VOLUMENAMES=TAPE01,TAPE02,TAPE03

Page 488: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-28 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsDatabase Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Best Practices

With the space management function, Tivoli Storage Manager is able to store active client data. In order to restore the database to the most recent state the roll-forward mode must be set. Using this mode, you are able to restore the database up to the last ended transaction.

• Use automatic backup triggers.

By defining the database trigger you are protected from a situation that the database recovery log becomes full before the scheduled backup is run. If the automatic backup is run too often, you must adjust the size of the recovery log or change the percent of space used to trigger backup to run automatically.

• Use space trigger.

Use the space trigger to increase the size of the database and recovery log by defining the percentage you will increase the database and recovery log, when a specified utilization percentage is reached.

• Use recovery log mirroring if you have enough space.

The recovery log is vital for restoring to the most recent state. If you are using mirroring for recovery log, you are protected against media failure, and you can always restore to the most recent state even if one of the recovery logs suffers from a media failure.

21

Best Practices• Use automatic backup triggers.

• Use space triggers.

• Use recovery log mirroring.• Store backup of DEVCNFG.OUT, VOLHIST.OUT, and

DSMSERV.OPT off-site.

• Complement with database mirroring for 24 x 7 environments (operate 24 hours a day, 7 days a week).

• Define volume history and device class backup files.• Back up the database using administrator scheduling

facility.

• Schedule database backup immediately following storage pool backup.

• Store backup volumes off-site.

• Use Disaster Recovery Manager to automate the recovery of the TSM database.

Page 489: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-29

• • •••

Unit 10: Protecting the Database and Storage PoolsDatabase Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

• Store backup volumes off-site.

All backup volumes should be stored off-site to protect them from a disaster at the installation site.

• Store backup of DSMSERV.OPT and DSMSERV.DSK off-site.

Copies of the DSMSERV.OPT and DSMSERV.DSK files should be stored off-site to protect them from disaster recovery at the installation site.

• Complement with database mirroring for environments that operate 24 hours a day.

For those sites that are running operations 24 hours a day, the database mirroring feature is the only way to protect against a database media failure.

• Define volume history and device class backup files.

The volume history and device class backup files are used during database restore operation. If the volume history information is not available when doing point-in-time restore, you will not know which storage pool to audit. Consequently, you woild need to audit all storage pools. If the device configuration is not available you have to define all device classes, drives and libraries manually.

• Back up database using the administrator scheduling facility.

Schedule a regular backup once a week and an incremental once a day.

• Schedule database backup immediately after the storage pool backup.

If you are using the storage pool copy to take a backup of the primary storage pool, you should schedule the database backup to be run when the storage copy pool has been completed. If you do that, you will have a database backup that reflects the storage pool backup. If there is a disaster recovery situation, you can use the database backup and the storage copy pool backups to restore the Tivoli Storage Manager environment. These backups would restore the environment to the time backups were sent to an off-site location.

• Consider using Disaster Recovery Manager. Refer to the Training Roadmap on the IBM Web site for information on IBM Tivoli Disaster Recovery Manager education.

Page 490: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-30 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsStorage Pool Backup and Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 4: Storage Pool Backup and Recovery

• Back up without interruption of services.

The design allows incremental backups to be taken while the server is operational and available to clients. The administrator can decide which storage pools should be backed up, and then can also schedule these backups using the central scheduling feature of TSM. The storage pool backups can be run at a time convenient for the business.

• Restore one volume in a storage pool.

Restore individual volumes within a storage pool to recover from a media failure.

• Restore a complete storage pool.

Restore all damaged volumes within a storage pool to recover from a complete loss of a storage pool.

22

Storage Pool Backup and Recovery

•Automatically switches to a duplicate copy if the primary file is damaged.

•Backs up without interruption of service.•Restores one volume in a storage pool.restore volume

•Restores a complete storage pool.restore stgpool

•Supports disaster recovery.

Storage pool backup and recovery:

With incremental backups, have a copy storage pool for every primary storage pool.

Page 491: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-31

• • •••

Unit 10: Protecting the Database and Storage PoolsStorage Pool Backup and Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

• Support disaster recovery.

Identify removable media volumes containing storage pool backup data to be sent to an off-site location for disaster recovery purposes. Provide management for the volumes that are stored off-site for disaster recovery protection. Address the issues of file expiration, volume reclamation, and volume rotation. Identify which volumes will return to the on-site location if you need to recover from a major disaster or from loss of a few volumes at the on-site location.

• Automatically switch to a duplicate copy if the primary file is damaged.

If you cannot obtain the primary file, the duplicate copy should automatically be used, if one is available.

Page 492: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-32 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsStorage Pool Backup and Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Backup of Storage Pool Files

Use the backup stgpool command to create backup copies of files that reside in a primary storage pool, and store the backup copies in a copy storage pool. If a file is already duplicated in the specified copy storage pool, a new copy of the file is not made in that copy pool.

One primary pool can use multiple copy storage pools. You have many copy storage pools for each primary storage pool; you are not limited to two or three backup copies. Each copy pool requires additional database and storage pool space, a potentially important consideration.

By supporting multiple copy storage pools, TSM supports both media and disaster recovery by physically separating these copies. This separation reduces the risk of losing data as a result of a disaster.

You create multiple backup copies of a primary pool by initiating the backup of the primary storage pool for each copy pool. The incremental backup is performed for each copy storage pool. The files are copied only if they are not already in that copy or if the copy in the copy pool has a different insertion date (that is, the file has changed since it was last copied into the copy pool).

The copy pool with all on-site volumes is used for media failure. Because all volumes are stored on-site, they may be destroyed if a disaster occurs.

23

Backup of Storage Pool Files

Copy storage pool:• Sequential only.• Multiple primary pools can use one copy pool.

• Back up each primary storage pool hierarchy to same copy pool.

Back up to copy pool:• Is independent of client backups.• Retains file level granularity.• Is an incremental backup of files.

Initiate backup:• Manually with command or Administration Center.

• Automatically with administrative command scheduling.

• Once per primary pool.

primarybackup

pool

copypool

copy pool

primaryarchive

pool

Page 493: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-33

• • •••

Unit 10: Protecting the Database and Storage PoolsStorage Pool Backup and Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

You can use the copy pool with on-site volumes to provide a way to reduce the potential for data integrity loss due to media failure or other problems. If the primary file is not available or becomes corrupted, TSM will access and use a duplicate file from a copy storage pool.

The purpose of providing copy storage pools with off-site volumes is for disaster recovery.

Off-site volumes in this disaster recovery copy storage pool are never automatically used by TSM. The volumes in this copy pool should be marked with the access mode of OFFSITE to make sure that TSM does not request a mount of the volume.

The off-site volumes in the disaster recovery copy storage pool should be stored off-site with the database backup to make sure that you can recover the TSM environment if there is a disaster.

You will get an error message when trying to access files from a copy storage pool that contains off-site volumes only. You can temporarily move the volume on-site and recover the files from volumes that belong to the disaster recovery storage pool.

Page 494: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-34 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsStorage Pool Backup and Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Define a Copy Storage Pool

Define Stgpool

Use the define stgpool command to name a set of volumes as a primary storage pool or a copy storage pool. The volumes in a pool belong to the same device class. A copy storage pool is used to store backup copies of files that are in primary storage pools.

Define Stgpool Command Syntax

Parameter Description

POOLNAMESpecifies the name of the copy storage pool to be defined. This parameter is required. The maximum length of the name is 30 characters.

24

Define a Copy Storage Pool

DEFine STGpool poolname deviceclassname POoltype=COpyDESCription=description ACCess=READWrite|READOnly|UNAViableCOLlocate=No|GRoup|NODe|Filespace REClaim=percent RECLAIMPRocess number RECLAMATIONType=THRESHold OFFSITERECLAIMLimit= NOLimit|number MAXSCRatch=numberREUsedelay=0|days OVFLOcation=location DATAFormat=NATive|NONblock CRData=Yes|No

You can use the Administration Center to copy storage pools.

Page 495: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-35

• • •••

Unit 10: Protecting the Database and Storage PoolsStorage Pool Backup and Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

For more options, refer to the IBM Tivoli Storage Manager Administrator’s Reference Guide for your platform.

Define Volume

Use the define volume command to assign a random or sequential access volume to be used for storage within an existing storage pool. You can define a volume to either a primary storage pool or a copy storage pool.

You must define each volume to be used in a storage pool, unless you allow scratch volumes for the storage pool.

DEVCLASSNAME

Specifies the name of the sequential access device class to which this copy storage pool is assigned. This parameter is required. You can specify any device class except DISK.

POOLTYPE=COPYSpecifies that you want to define a copy storage pool. This parameter is required.

DESCRIPTION=DESCRIPTIONSpecifies a description of the copy storage pool to be defined. This parameter is optional. The maximum length of the description is 255 characters.

ACCESS=ACCESSMODE

Specifies how users and system processes (like reclamation) can access files in the copy storage pool. This parameter is optional. The default value is READWRITE.

COLLOCATE=COLLOCATION

Specifies whether TSM attempts to keep data belonging to a single client node or group of nodes assigned to as few volumes as possible. This parameter is optional. The default value is NO.

RECLAIM=RECLAIMVALUESpecifies when to initiate reclamation of fragmented space on volumes in the copy storage pool, based on the percentage of reclaimable space on a volume.

MAXSCRATCH=MAXSCRATCHVALUE

Specifies the maximum number of scratch volumes that can be requested by TSM. This parameter is required.

Parameter Description

Page 496: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-36 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsStorage Pool Backup and Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Backing Up the Storage Pool Hierarchy

To back up files in a primary storage pool hierarchy to an on-site copy storage pool, issue the following commands:

backup stgpool primary_disk onsite backup stgpool primary_tape onsite

The number specified by MAXPROCESS does not limit the number of tape drives used.

25

Backing Up the Storage Pool Hierarchy

Backup STGpool primarypool copypool MAXPRocess=1 Preview=NO|YES|VOLumesonly

Page 497: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-37

• • •••

Unit 10: Protecting the Database and Storage PoolsStorage Pool Backup and Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Simultaneous Write to Multiple Copy Storage Pools

To allow for client data to be written simultaneously to multiple copy storage pools, the storage pool must contain a list of the additional copy storage pools (up to ten).

• Do not change the copy storage pool list in the storage pool hierarchy. If there is a different copy storage pool list, then all resources currently held are released in order to obtain the resources of the new copy storage pool list.

• Once the session has a storage pool that has a copy storage pool list, the operation session will continue to use the Simultaneous Write path.

• Target pools can have different device classes.

• There can be limited availability of mount points.

• Simultaneous writes should be used in conjunction with storage pool backup.

26

Simultaneous Write to Multiple Copy Storage Pools and Active-Data Pools

Simultaneous writes to primary pools and up to three copy pools and active-data pools take place during:

• Client backup, archive, and space-management operations.• Server import operations.

active-data pool_1

copypool_1

copypool_2storage hierarchy

Page 498: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-38 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsStorage Pool Backup and Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Using Simultaneous Write with Active-data Pools

Use the simultaneous write function to automatically copy client data to two copy storage pools, COPYPOOL1 and COPYPOOL2, and an active-data pool, ACTIVEDATAPOOL, during a backup operation.

With DISKPOOL and TAPEPOOL already defined as your storage pool hierarchy, issue the following commands to enable simultaneous write:

define stgpool copypool1 mytapedevice pooltype=copydefine stgpool copypool2 mytapedevice pooltype=copy define stgpool activedatapool mydiskdevice pooltype=activedata update stgpool diskpool copystgpools=copypool1,copypool2 activedatapools=activedatapool

Refer to the IBM Tivoli Storage Manager Administrative Guide for more information.

27

Using Simultaneous Write with Active-Data Pools

Use the ACTIVEDATAPOOLS parameter for the DEFINE STGPOOL and UPDATE STGPOOL commands. This practice specifies the names of active-data pools where the server simultaneously writes data during a client backup operation.

Page 499: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-39

• • •••

Unit 10: Protecting the Database and Storage PoolsStorage Pool Backup and Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Setting up Simultaneous Write with the Administration Center

28

Setting up Simultaneous Write with the Administration Center

Modify Storage Pool Notebook

Page 500: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-40 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsStorage Pool Backup and Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Handling Off-Site Volumes

You will need to change the status of the tapes that were used to perform the copy storage pool for off-site disaster recovery as not available to TSM. The status change is done with the update volume command specifying ACCESS = OFFSITE. TSM does not issue mount requests for off-site volumes.

.

29

Handling Off-Site Volumes

UPDate Volume Volname ACCess=Offsite Location=‘Vault’

Set access mode to OFFSITE• Use location• No mount request

Page 501: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-41

• • •••

Unit 10: Protecting the Database and Storage PoolsStorage Pool Backup and Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Update Volumes * Access=Offsite

This process can be automated with Disaster Recovery Manager.

30

UPDATE VOLUME * ACCESS=OFFSITE

Update each volume used during the backup one at a time, or use the following command to update all volumes used with one command.

update volume * access=offsite location=“Stone Mountain” wherestgpool=off-site whereaccess=readwrite,readonly wherestatus=filling,full

Use the following command to create a list of volumes to send off-site:query media * stg=* wherestgpool=off-site whereaccess=readwrite,readonly wherestatus=filling,full

Page 502: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-42 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsStorage Pool Backup and Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Reclamation of Off-Site Volumes

This sequence ensures that the files on the new copy storage pool volumes are sent off-site and are not inadvertently kept on-site because of reclamation.

31

Reclamation of Off-Site Volumes

Reclamation 100%

Query VOLumeUPDate VOLume

ON-Site

file B

file A

file B

file A

.....How? INSTALL

CUSTOMI

From: Fo cal Point

To: Server 011

Software Package----- FRAGIL E -----

file Afile B

OFF-Site

Page 503: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-43

• • •••

Unit 10: Protecting the Database and Storage PoolsStorage Pool Backup and Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Update Volume * Access=Readwrite

The administrator periodically returns outdated backup database volumes. These volumes are displayed with the query volhistory command and can be released for reuse with the delete volhistory command.

Consider scheduling this task.

32

UPDATE VOLUME * ACCESS=READWRITE

To obtain a list of empty off-site volumes, you could issue the following command:

query volume * access=offsite status=empty stg=OFF-SITE

Bring the volumes identified above on-site and update their access to readwrite:

update volume * access=readwrite location=”Back Home” wherestgpool=off-site whereaccess=offsite wherestatus=empty

Page 504: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-44 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsStorage Pool Backup and Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Restoration of Storage Pool Files

• File Level Backups

TSM does storage pool backups on the file level to allow for recovery at different levels. Depending on the situation, you sometimes have to restore only files that have been damaged. In the event of a media failure, you can restore individual volumes, or you may have to restore multiple primary storage pool volumes becasue of a major failure. TSM supports recovery in all these situations.

• Damaged Files

A damaged file is one for which a data integrity error has been detected, such as when a client attempts to restore, retrieve, or recall the file or during an audit volume operation. If a data integrity error is detected for a file in either a primary or a copy storage pool, that copy of the file is marked as damaged in the database. If the same file is stored in other storage pools, the status of those file copies is not changed. File copies which have been marked as damaged are not:

– Restored, retrieved, or recalled to clients

– Moved with migration, reclamation, or move data

– Restored during a restore stgpool or restore volume operation (if the backup copy in the copy storage pool is damaged)

33

Restoration of Storage Pool Files

copypools

Restore damaged files.

Restore damaged volumes.

Restore damaged volumes within a storage pool.

Page 505: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-45

• • •••

Unit 10: Protecting the Database and Storage PoolsStorage Pool Backup and Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

To facilitate restore processing of entire volumes, DESTROYED volume access mode is introduced. If a volume has an access mode of DESTROYED, it is not mounted for either read or write access.

The restore volume command recreates files that reside on a volume or volumes in the same primary storage pool. This command can be used to recreate files for one or more primary volumes that have been lost or physically damaged. When you issue the restore command against a storage pool volume, the volume will have an access mode of DESTROYED, and all files that have been backed up from this volume will be restored to the other volumes in that pool.

• Damaged Volumes within a Storage Pool

The restore stgpool command restores files on any volumes that have been designated as DESTROYED using the update volume command. This command also restores all files in a storage pool that have previously been identified as having data integrity errors.

The restore stgpool command is useful for restoring a large number of volumes (more than can be practically listed using a single restore volume command) after a major disaster, or for recreating damaged primary files.

• Support and Enhancements for Windows 2000 -RSM (Removable Storage Media)

This service included with Windows 2000 facilitates communication among applications, robotic media changers, and media libraries. It enables multiple applications to share local robotic media libraries and tape or disk drives, and manage removable media with a single-server system.

Page 506: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-46 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsStorage Pool Backup and Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Accessing Damaged Files

• TSM automatically accesses copy storage pool file if volume is on-site.

Normally a file is obtained from the primary storage pool whenever an attempt is made to access that file. However, TSM will attempt to access the file from a copy storage pool if the primary copy of the file cannot be obtained because the primary file copy has been previously marked damaged. TSM will also use the duplicate copy if the primary file is stored on a volume which is UNAVAILABLE, DESTROYED, or OFFLINE.

For certain operations (restore, retrieve, or recall of files to clients and export of file data), TSM will also access a file from a copy storage pool if the primary file is located in a storage pool that is UNAVAILABLE.

If the file is stored on a volume with ACCESS=OFFSITE, the file will not be obtained from the copy pool.Iinstead an error message will be issued to the client.

• Run restore stgpool periodically to restore damaged files.

If a primary file copy is marked as damaged and a usable backup copy exists in a copy storage pool, the primary file can be recreated using the restore stgpool command. To recreate damaged files in the primary pool, you can define a schedule that executes the following command:

RESTORE STGPOOL primarypool

34

Accessing Damaged Files

Tivoli Storage Manager automatically accesses the copy storage pool file if the volume is on-site.

Run the following command periodically to restore damaged files:

restore stgpool <primary_pool> preview=yes

Page 507: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-47

• • •••

Unit 10: Protecting the Database and Storage PoolsStorage Pool Backup and Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

The restore stgpool command will restore all damaged files in the primary pool. If you are using off-site copy volumes only, these volumes must be brought on-site before you can issue the restore stgpool command. Otherwise, TSM will write an error message saying that the files on offline volumes cannot be restored. The restore stgpool command can be issued with a PREVIEW option to obtain a list of required copy storage pool volumes.

Page 508: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-48 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsStorage Pool Backup and Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Maintaining the Integrity of Files

Tape media can become unstable over time.

35

Maintaining the Integrity of Files

To maintain the data integrity of user files, you can: • Detect damaged files before the users do using the restore storagepoolcommand with the PREVIEW=YES option.

• Reset the damaged status of files if the error that caused the change to damaged status was temporary.

• Correct files that are marked as damaged.

If you find and repair tape damage, run the audit volume command with the FIX=YES option.

If you cannot repair the volume, change the volume access to destroyed with the command update volume ACCESS=DESTROYED.

RESTORE STORAGEPOOL <pool_name> PREVIEW=YES

Page 509: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-49

• • •••

Unit 10: Protecting the Database and Storage PoolsStorage Pool Backup and Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Recovering from a Media Loss

In this scenario, an operator inadvertently destroys a tape volume (VOL2) belonging to the primary storage pool. An administrator performs the following actions to recover the data stored on the destroyed volume by using the on-site copy storage pool:

restore volume VOL2

This command sets the access mode of VOL2 to DESTROYED and attempts to restore all the files that were stored on VOL2. The files are not actually restored to VOL2, but to another volume in the primary storage pool. All references to the files on VOL2 are deleted from the database, and the volume itself is deleted from the database.

The restoration of a volume may be incomplete. Use the query content command to get more information on the remaining files on volumes for which restoration was incomplete. The restoration may be incomplete for one or more of the following reasons:

• Files were either never backed up or the backup copies are marked as damaged.

• A copy storage pool was specified on the restore command, but files were backed up to a different copy storage pool.

• Volumes in the copy storage pool needed to perform the restore operation are off-site or unavailable.

36

Recovering from a Media Loss

• Use the command to restore a damaged volume in a primary pool.• The command will restore volumes with an access mode of DESTROYED.

• Damaged files on other volumes in the primary pool are also restored.• Files are restored to other volumes in the primary pool.• Files remaining on the damaged volume after the restore can be analyzed for the cause of the damage.

RESTORE VOLUME poolname

Vol2 is damaged

Page 510: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-50 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsStorage Pool Backup and Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

If the query content VOL2 command showed files remaining, you would have to take some action. Analyze the cause for the situation. You may have to delete the volume with DISCARDDATA=YES to get the volume out of the storage pool.

DELETE VOLUME VOL2 DISCARDDATA=YES

Page 511: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-51

• • •••

Unit 10: Protecting the Database and Storage PoolsStorage Pool Backup and Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Restore Volume Command

Use the restore volume command to restore all files that are currently stored on one or more volumes in the same primary storage pool and that were previously backed up to copy storage pools by using the backup stgpool command.

Restore Volume Command Parameters

Parameter Description

VOLNAME

Specifies the name of the volume in a primary storage pool to which the files will be restored. This parameter is required. You can specify a list of volumes if all volumes in the list belong to the same primary storage pool. The items in the list are separated by commas with no intervening spaces.

37

Restore Volume Command

RESTORE Volume volnameCOPYstgpool=copypolNEWstgpool=newprimarypoolMAXPRocess=numprocesses (1)Preview=No|YesWait=No|Yes

RESTORE VOLUME VOL2 MAXP=2

Page 512: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-52 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsStorage Pool Backup and Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

COPYSTGPOOL=COPYPOOL

Specifies the name of the copy storage pool from which the files are to be restored. This parameter is optional. If this parameter is not specified, files are restored from any copy pool in which copies can be located.

NEWSTGPOOL=NEWPRIMARYPOOL

Specifies the name of the new storage pool to which the files will be restored. This parameter is optional. If this parameter is not specified, files are restored to the primary storage pool to which the volume or volumes being restored belong.

MAXPROCESS=NUMPROCESSES

Specifies the maximum number of parallel processes that are used for restoring files. By using multiple, parallel processes, you may be able to improve throughput for the restore operation. This parameter is optional. You can specify a value from 1-999, inclusive. The default value is 1.

PREVIEW=VALUE

Specifies whether you want to preview the restore operation without actually restoring data. This parameter is optional. The default value is NO. If you specify YES this option displays:

• The number of files and the number of bytes that will be restored.

• A list of copy storage pool volumes containing files that will be restored. These are volumes that must be mounted if you actually perform the restore.

• A list of any volumes containing files that are not restorable.

WAIT=WAITVALUESpecifies whether to wait for the server to complete processing this command in the foreground. This parameter is optional. The default value is NO.

Parameter Description

Page 513: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-53

• • •••

Unit 10: Protecting the Database and Storage PoolsStorage Pool Backup and Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Recovering Storage Pool Volumes

Do the following tasks to recover storage pool volume.

1. Determine the copy pool volumes needed to restore.

– Determine the copy pool volumes that contain the backup copies of the files that were stored on the volume that was destroyed by entering:

RESTORE VOLUME volumename(s) preview=yes

2. Set the access mode of the copy volumes to UNAVAILABLE.

– Set the access mode of the damaged volumes identified as UNAVAILABLE to prevent reclamation by entering:

UPDATE VOLUME volumename(s) access=unavailable

3. Bring the identified volumes to the on-site location.

– Bring the identified volumes to the on-site location and set their access mode to READONLY by entering:

UPDATE VOLUME volumename(s) access=readonly

4. Restore the destroyed files.

– Restore the destroyed files by entering:

RESTORE VOLUME volumename(s)

5. Set the access mode of the volumes to OFFSITE.

– Set the access mode of the copy pool volumes to OFFSITE by entering:

UPDATE VOLUME volumename(s) access=offsite

6. Return the volumes to the off-site location.

Page 514: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-54 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsStorage Pool Backup and Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Restore Storage Pool Command

Use the restore stgpool command to restore files from one or more copy storage pools to a primary storage pool. The files must have been copied to the copy storage pools by using the backup stgpool command.

When you use this command, TSM restores all files that belong to the specified primary storage pool and that meet one of the following criteria:

• The primary copy of the file has been identified as having data integrity errors during a previous operation.

• The primary copy of the file resides on a volume that has an access mode of DESTROYED.

After the files are restored, the old references to these files in the primary storage pool are deleted from the database. TSM now locates these files on the volumes to which they were restored rather than on the volumes on which they were previously stored. If a destroyed volume becomes empty because all files have been restored to other locations, the destroyed volume is automatically deleted from the database.

38

Restore Storage Pool Command

RESTORE STG PRIMARY

UPDATE Volume volnameACCESS=destroyed

RESTORE STGpool primarypoolNEWstgpool=newprimarypoolMAXPRocess=numprocessesPreview=No|YesWait=No|Yes

Page 515: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-55

• • •••

Unit 10: Protecting the Database and Storage PoolsStorage Pool Backup and Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Backup and Recovery Best Practices

• Back up entire primary storage pool hierarchy to the same copy pool.

TSM is smart enough to recognize that when a file migrates down the storage hierarchy, it does not need to be copied again into a copy pool. Or, if you move a file with the move data command, TSM can recognize this situation. Migration works if you have set up your configuration so that each primary storage pool hierarchy is copied to the same copy pool.

• Consider using at least one copy pool for on-site recovery and one for disaster recovery.

It is useful to have one backup copy of a primary pool that is kept on-site to be used for media failures or damaged files. Remember that if you access a file that is damaged in the primary storage pool, TSM will automatically let you access the copy in the copy pool, if the copy pool volumes are on-site.

To be prepared for disaster situations, have one backup copy of a primary pool that is used for off-site storage . The primary pool is copied to on-site volumes in this special disaster recovery copy pool, and then the administrator can change the volume access mode to OFFSITE and physically move the volumes to an off-site location.

• Use administrative command scheduling to automate storage pool backups.

39

Backup and Recovery Best Practices

•Back up each primary storage pool hierarchy to the same copy pool.

•Consider using at least one copy pool for on-site recovery and one for disaster recovery.

•Use administrative command scheduling to automate storage pool backups.

•Save the volume history (VOLHIST.out), device configuration file (DEVCNFG.out), and output of the query system command. Send off-site along with DSMSERV.OPT .

Here are some suggestions on applying storage pool backup functions to your environment:

Use the Administration Center to create a script for the following tasks:• Back up the primary storage pools and database.• Create a Recovery Plan File if using Disaster Recovery Manager.

Page 516: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-56 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsStorage Pool Backup and Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

The administrative command scheduling facility can be used to automate storage pool backups. The backup stgpool command can be scheduled to initiate at regular intervals.

• Back up the storage pool first.

Back up the storage pools first. By backing up storage pools first, you ensure that all storage pool files are recorded in the database. You may end up with extra records in the database, but at least there should be a record for each file in the storage pools. Also, since the storage pool backups may take longer than the database backup, the storage pools should be backed up first to further reduce the inconsistencies between the database and the storage pools.

• Back up the database and storage pool together.

To prepare for server disaster recovery, both the server database and storage pools should be backed up at the same time. In this way, the database and storage pools will match (be in sync) to a greater degree.

• Save the volume history and device configuration file.

To ensure the integrity of the storage pool data, save the volume history and device configuration files and send them off-site.

• Use Disaster Recovery Manager.

Page 517: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-57

• • •••

Unit 10: Protecting the Database and Storage PoolsStorage Pool Backup and Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Protecting Your Database and Storage Pool

REUSEDELAY

You should delay the reuse of any reclaimed volumes in copy storage pools for as long as you keep your oldest database backup. Delaying reuse may help you to recover data under certain conditions during recovery from a disaster.

When you define or update a sequential access storage pool, you can use the REUSEDELAY parameter. This parameter specifies the number of days that must elapse before a volume can be reused or returned to scratch status after all files have expired, deleted, or moved from the volume. If REUSEDELAY is set to 0, you run the risk of data loss.

40

Protecting Your Database and Storage Pool

To protect your storage pools:•Create a copy storage pool.

•Do a backup of the primary storage pools to the copy storage pool.

Daily tasks: •Back up primary storage pools to copy storage pools.

•Back up the database.•Save the volume history file, the device configuration file, and the output of the query system command.

•Move storage pool volumes, database backup, volume history file,and the device configuration file off-site.

Things to do today

Page 518: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-58 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsStorage Pool Backup and Recovery

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Daily Administration Cycle

This is one example of the daily operations of an IBM Tivoli Storage Manager administrator. Fortunately, the administrator for this company has automated these functions with maintenance plans and scheduled administrative scripts.

41

Daily Administration Cycle

back up first stgpool

back up next stgpool

back up TSM database

expiration processing

back up devconfig/volhist

eject off-site volumes andinsert scratch volumes

reclamation processing

incremental backupsof client data

migration

client’s hours of operations 08:00 – 18:00

Page 519: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-59

• • •••

Unit 10: Protecting the Database and Storage PoolsTivoli Storage Manager Maintenance Plans

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 5: Tivoli Storage Manager Maintenance Plans

The Tivoli Storage Manager maintenance plans use a Web interface wizard to build scripted plans. Here are some benefits of the maintenance plans:

• Generate a custom maintenance plan for each server.

• Expand the maintenance plan as the server environment changes.

• Provide a schedule for the maintenance plan to run daily.

• Allow the maintenance plan to be viewed and edited by the administrator.

42

Tivoli Storage Manager Maintenance Plans

Processes can be scripted to:• Back up the primary storage pools. • Back up the server database. • Update a basic disaster recovery plan. • Migrate stored data from primary storage pools to the next level storage pools.

• Remove expired data from server storage. • Reclaim fragmented tapes by consolidating active data.

Use the Administration Center to create a separate script for each TSM server in your environment.

Page 520: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-60 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsTivoli Storage Manager Maintenance Plans

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

How to Set Up a Maintenance Plan

43

How to Begin

Select Server Maintenance in the Tivoli Storage Manager tree, and the Server Maintenance page will display as shown.

44

Selecting the Specific Server and Task

Select the server you want to make the script for, and from the Select Action menu select Create maintenance script. The options to modify and to remove a script are also available from the same menu.

Page 521: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-61

• • •••

Unit 10: Protecting the Database and Storage PoolsTivoli Storage Manager Maintenance Plans

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

45

Server Maintenance

The Server Maintenance wizard appears. Click Next.

46

Selecting a Device

The left side of the screen shows the sequence of processes that will be scheduled. The arrow indicates that the step being scripted is Back Up Server Database.Select the device to be used from the menu and select the radio button next to the type of backup that will be performed. Click Next.

Page 522: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-62 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsTivoli Storage Manager Maintenance Plans

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

47

Back Up Storage Pools

Back Up Storage Pools is the next task to be scripted. Now a relationship must be added. Select Add a Relationship.

48

Add a Relationship

Select a storage pool to back up and up to three copy storage pools where the backup will be stored, and click OK.

Page 523: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-63

• • •••

Unit 10: Protecting the Database and Storage PoolsTivoli Storage Manager Maintenance Plans

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

49

Back Up Storage Pools

The BACKUPPOOL data will now go to the COPYPOOL. Click Next.

50

Migrate Stored Data

Select the storage pool to migrate, set the migration threshold, and set the amount of time the process can run before it is canceled. Click Next to continue.

Page 524: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-64 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsTivoli Storage Manager Maintenance Plans

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

51

Expire Stored Data

If you want to limit the amount of time allowed for the expiration process, set that value here, and click Next to continue.

52

Reclamation

Select the storage pool to run reclamation for, set the percent of unused space which will be the trigger to start the reclamation process, and set the amount of time the process is allowed to run.

Page 525: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-65

• • •••

Unit 10: Protecting the Database and Storage PoolsTivoli Storage Manager Maintenance Plans

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

53

Schedule of Maintenance

Set the schedule for the script, including date and time, and click Finish.

54

Finish

The check mark under the Maintenance Script heading indicates a maintenance script has been created for this server.

Page 526: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-66 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsTivoli Storage Manager Maintenance Plans

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

You can verify that a scripted maintenance plan has been created for this server by viewing Server Properties. Select the radio button next to the server and use the SELECT ACTION menu to select Server Properties. Then select the scripts from the left panel.

55

Server Properties and Scripts

Page 527: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-67

• • •••

Unit 10: Protecting the Database and Storage PoolsTivoli Storage Manager Maintenance Plans

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

TSM Database Management Tool

Over time, the server database may experience fragmentation. Reorganizing the database can improve query performance. You can use the estimate dbreorgstats command to estimate how much space can be recovered if a reorganization is performed. The estimate allows you to determine if a reorganization will offer any space savings. The command performs the following:

• Scans all tables defined in the TSM server.

– Processes a single table at a time.

– Finishes one table and progresses to another until all tables evaluated.

– Traverse table’s leaf pages from lowest order page (page with the lowest order key) to the highest order page (page with the highest order key).

• Reads the records in table leaf pages in ascending key order and records statistics about:

– Records processed

– Logical leaf pages needed

– Tables processed

• After evaluating all tables this command will display information about the minimum estimated amount of database space that would be recovered if a database reorganization were performed.

56

TSM Database Management Tool•Tool is provided to estimate space to be recovered.•A database reorganization is needed infrequently.•A decision to reorganize would depend on:

• The database size.• The estimated amount of space to be recovered. • Use patterns of the databases.

TSM must be stopped to reorganize the database.

ESTIMATE DBREORGSTATS

Issue the following command:

Page 528: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-68 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsTivoli Storage Manager Maintenance Plans

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

• When process completes, messages show the results of processing. (ANR1784I)

• Results of the last time process was run are also shown in q db f=d.

Follow the procedure for Reorganizing the Database in the Tivoli Storage Manager Administrator’s Guide.

Page 529: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-69

• • •••

Unit 10: Protecting the Database and Storage PoolsTivoli Storage Manager Maintenance Plans

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercise

Open your Student Exercises and perform the exercises for this unit.

57

Student Exercise

Page 530: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-70 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsTivoli Storage Manager Maintenance Plans

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Review Questions

1. True or False? You can recover information from a TSM storage pool without the TSM database.

2. A(n) ____________________ backup takes less time to run because it copies only those database pages that have changed since the last time the database was backed up.

3. A ___________________ backup is a full backup that does not interrupt the full plus incremental backup series.

4. True or False? The main reason to do incremental backups is because you use fewer tapes.

5. True or False? It is a good idea to mirror your database and recovery log.

6. True or False? The IBM Tivoli Storage Manager maintenance plan runs monthly virus scans.

Page 531: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

Unit 10: Protecting the Database and Storage PoolsTivoli Storage Manager Maintenance Plans

Review answers begin on the next page.

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementationand Adminstration, Part One 10-71

• • •••

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Page 532: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-72 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsTivoli Storage Manager Maintenance Plans

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Review Answers

1. True or False? You can recover information from a TSM storage pool without the TSM database.

false

2. A(n) ____________________ backup takes less time to run because it copies only those database pages that have changed since the last time the database was backed up.

incremental

3. A ___________________ backup is a full backup that does not interrupt the full plus incremental backup series.

snapshot

4. True or False? The main reason to do incremental backups is because you use fewer tapes.

false

5. True or False? It is a good idea to mirror your database and recovery log.

true

6. True or False? The IBM Tivoli Storage Manager maintenance plan runs monthly virus scans.

false

Page 533: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 10-73

• • •••

Unit 10: Protecting the Database and Storage PoolsTivoli Storage Manager Maintenance Plans

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Summary

58

Summary

You should now be able to:

• Back up the IBM Tivoli Storage Manager database.• Recover the IBM Tivoli Storage Manager database.• Back up the storage pools.• Recover the storage pools.

Page 534: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

10-74 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 10: Protecting the Database and Storage PoolsTivoli Storage Manager Maintenance Plans

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Page 535: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

• • • ••

11-1

Unit 11: Automating Operations

Unit 11: Automating Operations

Page 536: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

11-2 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 11: Automating Operations

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Introduction

Central scheduling enables automation of backup, archive, and other processes. Scheduling of IBM Tivoli Storage Manager operations can be done with an external scheduler or with the built-in Tivoli Storage Manager scheduler. The Tivoli Storage Manager administrative interfaces for defining, updating, and deleting schedules will be described in this unit

Objectives

2

Objectives

Upon completion of this unit, you will be able to:

• Describe the difference between client polling and server prompted methods.

• Identify and describe available scheduler options.• Associate scheduler options with the schedule method to which it applies.

• Identify the tasks that can be scheduled for a client.• Create a schedule.• Copy a schedule.• Define association of client to schedule.

Page 537: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 11-3

• • •••

Unit 11: Automating OperationsScheduling Options

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 1: Scheduling Options

Overview of Schedules

Tivoli Storage Manager uses schedules to allow you to automate operations. Each scheduled operation is called and is tracked by the server and recorded in the database. Scheduled operations that are in progress, have completed, or have failed are recorded. You can query the log to determine whether the scheduled events have completed successfully or not. Event records can be deleted from the database as needed to recover database space.

The administrator is responsible for building and maintaining the schedules and has the authority to prioritize workstations. In addition, the administrator can determine the number of client server sessions that may be used by central scheduling.

The Central Scheduler supports two modes of scheduling: Client Polling and Server Prompted.

For environments that occupy multiple time zones, schedules run in the time zone of the server.

3

Two types of scheduling:

• Client scheduling

• Administrative scheduling on the server

Overview of Schedules

Page 538: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

11-4 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 11: Automating OperationsScheduling Options

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Scheduling Options

There are several processing options which impact the behavior of the client scheduler. On the Tivoli Storage Manager client, you can define most of these options in the client options file (dsm.opt). However, some of these options can be set globally on the Tivoli Storage Manager server for all Tivoli Storage Manager clients.

These options will be described throughout this unit.

4

Scheduling Options• MAXSCHEDSESSIONS*• MAXCMDRETRIES• RETRYPERIOD• QUERYSCHEDPERIOD• RANDOMIZE*• SCHEDCMDDISABLE• SCHEDMODE• SESSIONINITIATION• SCHEDLOGNAME• SCHEDLOGRETENTION

• POSTSCHEDCMD• POSTNSCHEDCMD• PRESCHEDCMD• PRENSCHEDCMD• MANAGEDSERVICES• TPCCLIENTADDRESS• TPCCLIENTPORT• SRVPREPOSTSCHEDDISABLED• SRVPREPOSTSNAPDISABLED• SCHEDRESTRETRDISABLED

There are several processing options which impact the performance of the client scheduler. You can define most of these options in the client options file (dsm.opt or dsm.sys) on the Tivoli Storage Manager client.

Some of these options can be set globally on the Tivoli Storage Manager server for all Tivoli Storage Manager clients.

* Server defined

dsm.sys

dsm.opt

Page 539: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 11-5

• • •••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 2: Client Scheduling

5

Client Scheduling

Client scheduling• Backup-Restore and Archive-Retrieve• Client operating system commands and scripts • One-time scheduled commands

Two modes of client scheduling: • Client Polling• Server Prompted

Page 540: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

11-6 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Traditional Scheduling

About CAD-managed Services

• Using client acceptor services can reduce the number of background processes.

• The client acceptor (CAD) is a Web client process that is an HTTP service that serves the Web client Java applet to the Web browsers.

• The program that starts the client acceptor process is called dsmcad.

• On Windows, the client acceptor is installed and run as a service.

Refer to the IBM Tivoli Storage Manager’s Backup-Archive Installation and Users Guide for more information.

6

Traditional Scheduler Services and Client Acceptor Services

• The Tivoli Storage Manager Client Acceptor service (CAD) can be installed and configured to manage the scheduler.

• The CAD serves as an external timer for the scheduler.

• When the scheduler is started, it queries the server for the next scheduled event.

• The event is either executed immediately or the scheduler exits.

• The CAD restarts the scheduler when it is time to execute the scheduled event.

• Started with command dsmcsched command.

• Remains active, even after scheduled backup is complete.

• Requires higher use of system resources when idle.

• Tivoli Storage Manager client options and Tivoli Storage Manager server override options are only processed once when dsmc sched is started.

• You must restart the scheduler process for updated Tivoli Storage Manager options to take effect.

Traditional Scheduler Services Client Acceptor Services

Page 541: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 11-7

• • •••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Central Scheduling Mode: Client Polling

The client polling technique is supported for all client workstations, all communication methods, and on all servers.

In client polling, the TSM client periodically queries or polls the server for a scheduled operation and the date and time that the operation is to start. The client then waits until it is time to start the scheduled operation and executes the operation.

Client polling is initiated when the client starts the TSM client scheduling program using the command line. To start the program enter dsmc schedule. The program will continue to query the server and execute schedules until you explicitly stop the program or the machine is shut down.

7

Central Scheduling Mode: Client Polling

TSM client TSM server

Query for schedule

Start backup-archive

All communications methods

Server tells client the start time

TSM database

disk storage device

drives

Page 542: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

11-8 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Central Schedule Mode: Server Prompted

The server-prompted technique is supported for all client workstations that use TCP/IP as the communication method with the server.

In server-prompted mode, the Tivoli Storage Manager client registers its TCP/IP address with the server and waits until the server contacts the client to notify the client that a scheduled operation should be performed. The client then queries the server for the operation and executes the operation. Upon completing the operation, the client notifies the server that the operation has completed, either successfully or unsuccessfully.

Server-prompted mode is initiated by the client starting the Tivoli Storage Manager client scheduling program using the command line. To start the program, enter dsmc schedule.

To enable server prompted scheduling, change the client option sets so that the SCHEDMODE is PROMPTED.

8

Central Schedule Mode: Server Prompted

TSM client TSM server disk storage

drives

device

TSM database

Page 543: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 11-9

• • •••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Selecting Schedule Methods

There are two places where you specify a scheduling mode: the server and the client.

On the server, the administrator with system privilege must specify which central scheduling modes will be supported by the server. The Set SCHEDMODes command is used, and the supported parameters are:

• ANY: Indicates the server can support clients using either client polling or server prompted scheduling. ANY is the default and suggested value.

• POLLING: Indicates that only clients using client polling will be accepted.

• PROMPTED: Indicates that only clients using server-prompted mode will be accepted.

On the client, the options file must be updated with the SCHEDMODE option that is used to specify which mode the client scheduler will operate in.

The option is specified as follows:

SCHEDMODe POlling | PRompted

This option is ignored except during the execution of the dsmc schedule command, which invokes the client portion of the central scheduling function.

9

TSM client TSM server disk storage

drives

device

Selecting Schedule Methods

The administrator sets the schedule mode. The options are:

•ANY (default and suggested method)•POlling•PRompted

Administratorwith system privilege

dsm.optfile

Page 544: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

11-10 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Users (root users on UNIX systems) set the scheduling mode on client nodes. They specify either the client polling or the server-prompted scheduling mode on the command line or in the client user options file (client system options file on UNIX systems).

Page 545: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 11-11

• • •••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Additional Client Scheduling Options

MAXCMDRETRIES: Specifies the maximum number of times you want the client scheduler on your workstation to attempt to process a scheduled command that fails. The TSM administrator can also set this option. If the TSM administrator specifies a value for this option, that value overrides what you specify in the client options file after your client node successfully contacts the TSM server. All clients support this option. For UNIX clients, this option goes in the client system options file.

• Set maxcmdretries: This command is used to specify the maximum number of times that a scheduler on a client node can retry a scheduled command that fails.

RETRYPERIOD: Specifies the number of minutes you want the client scheduler to wait between attempts to process a scheduled command that fails or between unsuccessful attempts to report results to the server. The TSM administrator can also set this option. If the TSM administrator specifies a value for this option, that value overrides what you specify in the client option file after your client node successfully contacts the TSM server. All clients support this option. For UNIX clients, this option goes in the client system options file.

• Set retryperiod: This command is used to specify the number of minutes the scheduler on a client node waits between retry attempts after a failed attempt to contact the server or after a scheduled command fails to process.

• Clients can set their own retry period at the time their scheduler program is started. You can use this command to set a global value for the retry period, which

10

Additional Client Scheduling Options

• MAXCMDRETRIES• RETRYPERIOD• SCHEDMODE• SCHEDLOGNAME

• SCHEDLOGRETENTION• SCHEDCMDDISABLE• MANAGEDSERVICES

dsm.sys

dsm.opt

• MAXSCHEDSESSIONS

Page 546: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

11-12 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

will override the value specified by all clients. The value for the client is overridden only if the client is able to connect with the server. When setting the period between retry attempts, set a time period that permits more than one retry attempt within a typical startup window.

• This command is used in conjunction with the set maxcmdretries command to regulate the period of time and the number of retry attempts to execute a failed command.

SCHEDMODE: Specifies whether you want to use the polling mode (the client node periodically queries the server for scheduled work) or the prompted mode (the server contacts the client node when it is time to start a scheduled operation). All communication methods can use the client polling mode, but only TCP/IP can use the server prompted mode.

SCHEDLOGNAME: Specifies the name and location of a file where you want Tivoli Storage Manager to store the schedule log. For UNIX clients, this option goes in the client system options file. When you run the schedule command, output from scheduled commands appears on the screen and can be directed to the file you specify with this option.

SCHEDLOGRETENTION: Specifies the number of days to keep entries in the schedule log and whether to save the pruned entries. Tivoli Storage Manager prunes the log after every schedule is run if you tell Tivoli Storage Manager to prune. The default is not to prune the log. For UNIX clients, this option goes in the client system options file.

SCHEDCMDDISABLE: Specifies whether to disable the scheduling of generic commands specified by your Tivoli Storage Manager administrator.

MANAGEDSERVICES: Specifies whether the Storage Manager Client Acceptor service manages the Web client, the scheduler, or both.

MAXSCHEDSESSIONS

An administrator with System Privlege can set MAXSCHEDSESSIONS.

Set maxschedsessions: This command is used to regulate the number of sessions that the server can use for processing scheduled work. This command specifies the maximum number of scheduled sessions as a percentage of the total number of server sessions available.

Set MAXSCHedsessions schedulepercent 80

To check, issue query status. Maxschedsessions is displayed as a number, not a percentage.

This setting should be changed if client nodes receive messages that server sessions are not available when trying to execute scheduled events. If you find that scheduled sessions are not contacting the server, you may have a network error.

Page 547: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 11-13

• • •••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Additional Client Polling Options

QUERYSCHEDPERIOD: The value for this parameter can be set by each client node at the time the client scheduler program is started. You can set a global value for the period between attempts by the client to contact the server for scheduled work. This value overrides the value specified by the client.

Set queryschedperiod: This command is used to regulate the frequency with which client nodes contact the server to obtain scheduled work when they are running in the client polling mode.

Use the QUERYSCHEDPERIOD option to specify the number of hours you want the client scheduler to wait between attempts to contact the TSM server for scheduled work.

This option applies only when the DSMC SCHEDMODE option is set to POLLING. Tivoli Storage Manager uses this option only when the dsmc schedule command is running.

For UNIX clients, this option goes in the client system options file dsm.sys.

11

Additional Client Polling Options

queryschedperiod (how often to contact the server)query sched

Command:DSMC -SCHEDMODE=POLLING

Options file: schedmode polling

dsm.opt

dsm.sys

dsm.opt

dsm.sys

dsm.opt

Page 548: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

11-14 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Additional Server Prompted Options

TCPCLIENTADDRESS: Specifies a TCP/IP address if your client node has more than one address, and you want the server to contact a different address than the one used to make initial contact with the server. For UNIX clients, this option goes in the client system options file.

TCPCLIENTPORT: Specifies a TCP/IP port number if you want the TSM server to contact a different port than the one used to make initial contact with the server. If the default or specified port is busy, Tivoli Storage Manager attempts to use any other available port. For UNIX clients, this option goes in the client system options file.

12

Additional Server Prompted Options

TSM server

Client options file:

SCHEDMODe PromptedCOMMmethod TCPipTCPCLIENTAddress Addressdomain_name dot_addressTCPCLIENTPort 1501

Page 549: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 11-15

• • •••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Preschedule and Postschedule Processing

Options are provided to allow preschedule processing and pos-schedule processing during the client schedule process execution. These options can be overwritten by the OPTION parameter in the schedule definition.

PRESCHEDULECMD and PRENSCHEDULECMD specify client OS commands that you want executed prior to the TSM schedule process. The difference between PRESCHEDULECMD and PRENSCHEDULECMD is that with PRESCHEDULECMD the schedule process waits for the client OS commands to complete before executing, whereas with PRENSCHEDULECMD, the schedule process does not wait.

POSTSCHEDULECMD and POSTNSCHEDULECMD specify client OS commands that you want executed after the TSM scheduled action. The difference between POST and POSTN is the same as for PRE and PREN: POST waits for the OS commands to complete, whereas POSTN does not wait.

13

Preschedule and Postschedule Processing

PREschedulecmd=command string or PRENschedulecmd=command stringPOSTschedulecmd=command string or POSTNschedulecmd=command string

Server prompts client to begin scheduled backups.

The preschedule command string begins first.Quiesce DB, Onarchive DB

TSM scheduled actions begin.Back up resultant files from onarchive.The postschedule command string begins last

Check results

Back up

Page 550: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

11-16 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Consistent Client Return Codes

The command-line client and scheduler provide reliable, consistent, and documented return codes and provide automation of client operations through user-written scripts. Administrators can now distinguish between scheduled backups that complete successfully with no skipped files and scheduled backups that complete successfully with one or more skipped files. Also, if the pre-schedulecmd command ends with nonzero return codes, the scheduled event will not run. This ensures that scheduled events will not run if pre-scheduled commands do not complete successfully.

14

Consistent Client Return Codes

.

.

.

.

return code

meaning

Page 551: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 11-17

• • •••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Example of Randomizing

The purpose of randomizing the start time is to scatter scheduled work across the startup window. Randomizing balances the load on the server as well as the load on the networks without having to duplicate schedules except for their start times.

Set randomize: This command is used to specify the degree to which start times are randomized within the startup window of each schedule for clients using the client polling mode. The maximum percentage of randomization allowed is 50%. This limit ensures that half of the startup window is available for retrying scheduled commands that have failed.

15

Randomizing Example

NODE A NODE B

Randomize% = 50

01:00 04:00 05:00 06:00 07:00

Startup Window

• Scatter schedule start times across window.• Balance network and server loads.• % specification

Defines portion of the startup window in which start times will randomly occur.

• Randomization period based on time client polls.• Client polling mode only.

NODE B NODE A NODE C NODE C

22:00

Polls

Starts

05:0003:0101:30 05:45Randomize Period

Randomize Period

Page 552: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

11-18 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Defining Schedules

Schedules are created and maintained in the TSM database by an administrator with either system or policy privileges and are defined with a define schedule command and apply to a particular policy domain.

Administrators use the define association command to associate clients (that are in the domain) with a schedule. A client may be associated with more than one schedule, and any number of schedules can be defined in a policy domain.

A client executes schedules serially.

16

Defining Schedules

Defining schedules involves the following:

•System or policy privilege is required.

•Schedules are defined with a define schedule command.

•Schedules apply to a particular policy domain.•Define association command associates client with schedule.

Page 553: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 11-19

• • •••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Parameters for Defining Schedules

• POLICY DOMAIN NAME: Specifies the name of the policy domain to which this schedule belongs. This parameter is required.

• SCHEDULE NAME: Specifies the name of the schedule to be defined. This parameter is required. The maximum length of the name is 30 characters.

• DESCRIPTION: Specifies a description of the schedule. This parameter is optional. The maximum description length is 255 characters. The description must be enclosed in quotation marks if it contains any blank characters. The default is no description.

• ACTION: Specifies the action that occurs when this schedule is executed. This parameter is optional. The default value is INCREMENTAL.

Possible values are:

– INCREMENTAL: Specifies that this schedule initiates the backup of any files that have changed since the last backup and for which the specified time between backups has elapsed.

– SELECTIVE: Specifies that this schedule backs up only the files specified with the OBJECTS parameter.

– ARCHIVE: Specifies that this schedule archives the files specified with the OBJECTS parameter.

17

Parameters for Defining Schedules

• Policy Domain Name• Schedule Name• Description• Action• Options• Objects• Priority• Start Date

• Start Time• Duration• Duration Units• Indefinite• Period• Period Units• Day of Week• Expiration

Page 554: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

11-20 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

– RESTORE: Specifies that this schedule restores the files specified with the OBJECTS parameter.

– RETRIEVE: Specifies that this schedule retrieves the files specified with the OBJECTS parameter.

– COMMAND: Specifies that the action is to be a client operating system command string specified with the OBJECTS parameter.

– MACRO: Specifies that a macro whose file name is specified with the OBJECTS parameter is to be executed.

• OPTIONS: Specifies options that are supplied to the dsmc command at the time the schedule is executed. Only those options that are valid on the dsmc command line may be specified for this parameter. This parameter is optional. You can specify most options from the client option file. Each option is preceded by a hyphen and delimited with a space. The option string must be enclosed in quotation marks if it contains any blank characters.

• OBJECTS: Specifies the objects for which the specified action is performed. This parameter is required except when ACTION = INCREMENTAL. The allowed objects depend on the action you specify with the ACTION parameter and the operating system used by the clients associated with the schedule.

• PRIORITY: Specifies the priority value for a schedule. This parameter is optional. You can specify an integer in the range of 1-10, inclusive, with 1 being the highest priority and 10 being the lowest. The default value is 5. If two or more schedules for a given client have the same window start time, this value determines the order of execution. The schedule with the highest priority starts first.

• START DATE: Specifies the date for the beginning of the window in which the schedule is first executed. This parameter is optional. The default value is the current date. This parameter is used in conjunction with the STARTTIME parameter to specify when the initial startup window begins.

• START TIME: Specifies the time for the beginning of the window in which the schedule is first executed, in HH:MM format. This parameter is optional. The default value is the current time. This parameter is used in conjunction with the STARTDATE parameter to specify when the initial startup window begins.

• DURATION: Specifies the number of units that define the length of the startup window. This parameter is optional. This value must be in the range of 1-999, inclusive. The default value is 1. This parameter is used in conjunction with the DURUNITS parameter to specify the length of the startup window. For example, if you specify DURATION = 20 and DURUNITS = MINUTES, the schedule must be started within 20 minutes of the start date and start time.

• DURATION UNITS: Specifies the time units used to determine the duration of the window in which the schedule can start. This parameter is optional. The default value is HOURS. This parameter is used in conjunction with the

Page 555: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 11-21

• • •••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

DURATION parameter to specify how long the startup window remains open to execute the schedule.

• INDEFINITE: Specifies that the startup window has an indefinite duration. The schedule can run any time after the scheduled start time until the schedule expires. You cannot specify duration units of INDEFINITE unless you also specify PERIOD UNITS as ONETIME.

• PERIOD: Specifies the length of time between startup windows for this schedule. This parameter is optional. You can specify an integer in the range of 1-999, inclusive. The default value is 1. This parameter is used in conjunction with the PERUNITS parameter to specify the period between startup windows. For example, if you specify PERIOD = 5 and PERUNITS = DAYS (assuming that DAYOFWEEK = ANY), the operation is scheduled every 5 days after the initial start date and start time.

• PERIOD UNITS: Specifies the time units used to determine the period between startup windows for this schedule. This parameter is optional. The default value is DAYS.

• DAY OF WEEK: Specifies the day of the week on which the startup window begins. This parameter is optional. If the beginning of the calculated startup window falls on a day that does not correspond with your value for the DAY OF WEEK parameter, the startup window will be shifted forward in 24-hour increments until the DAY of WEEK parameter is satisfied.

If you select a value for DAY OF WEEK other than ANY, depending on the values for PERIOD and PERIOD UNITS, schedules may not be executed when you would expect. Use the query event command to project when schedules will be executed and thereby ensure that the desired result is achieved. The default value is ANY.

• EXPIRATION: Specifies the date on which this schedule is no longer used, use the MM/DD/YYYY format. This parameter is optional. The default value is NEVER.

Page 556: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

11-22 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Defining Schedules, Server-Prompted Example

18

Defining Schedules, Server-Prompted Example

set maxsessions

set maxschedsessions

set schedule prompted

SCHEDMODE PROMPTEDCOMMMETHOD TCPIP

DSM.OPT DSM.SYS (UNIX)

define schedule DOMAIN SCHEDULENAMEACTION=I, STARTT = DUR=6, PERIOD=1DURU=HOURS, PERU=DAYSDAYOFWEEK=WEEKDAY

100

Register

Schedule

Start

90

23:30

backup-archive client

TSM server

Page 557: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 11-23

• • •••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Defining Schedules Using the Administration Center

Use the Web interface to create a new schedule. A schedule can have two forms, depending on whether the schedule applies to client operations or administrative commands. The syntax and parameters for each form are defined separately.

19

Defining Schedules Using the Administration Center

Client Node Schedule:1. Click Policy Domains and Client Nodes in the Tivoli Storage Manager

tree. 2. In the Servers table, click the name of a server.3. In the policy domains notebook for the server, click the name of a domain. 4. In the properties portlet for the domain, click Node Schedules. 5. In the table, click Select Action, select Create a Schedule.

Schedules can also be Viewed and Modified with the Administration Center.

Page 558: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

11-24 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Client Node Schedules with the Administration Center

20

Client Node Schedules with the Administration Center

Page 559: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 11-25

• • •••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Using the Command Line to Define a Schedule

There are two styles of schedules: classic (default) and enhanced.

Example:

define schedule xyz_critical_project weekly_backupstartdate=06/07/2003 starttime=23:00 duration=4durunits=hours perunits=weeksdayofweek=saturday options=-quiet

For more details, issue the help define schedule command.

21

Using the Command Line to Define a Schedule

To define a classic schedule on the command line, use the following command:

DEFine SCHedule domainname schedulename

Type=Client DESCription=description

ACTion=action OPTions=optionstring

OBJects=objectstring PRIority=priorityvalue

STARTDate=startdate STARTTime=starttime

DURation=durationvalue DURUnits=durunitsvalue

PERUnits=perunitsvalue PERiod=periodvalue

DAYofweek=dayofweekvalue

EXPiration=expirationvalue

UPDATE Schedule...

DELETE Schedule...

Page 560: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

11-26 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Enhanced Scheduling

Schedules can be classic or enhanced, depending on how the interval to the next execution is defined. Classic schedules allow the period to be as small as an hour. Enhanced schedules allow actions to be executed on specific days.

The Tivoli Storage Manager scheduler provides calendar-based scheduling for increased flexibility of client and administrative schedules.

SCHEDSTYLE defines either the interval between times when a schedule should run or the days on which it should run. The style can be either classic or enhanced. The default is the classic syntax.

• For classic schedules, these parameters are allowed: PERIOD, PERUNITS, and DAYOFWEEK.

– These parameters are not allowed: MONTH, DAYOFMONTH, and WEEKOFMONTH.

• For enhanced schedules, these parameters are allowed: MONTH, DAYOFMONTH, WEEKOFMONTH, and DAYOFWEEK.

– These parameters are not allowed: PERIOD and PERUNITS.

22

Enhanced SchedulingThe enhanced schedule style, also known as calendar-based scheduling, increases flexibility for client and administrative schedules.

Calendar-based scheduling can be defined with Administration Center or with the command line.

To define an enhanced style schedule on the command line, issue the following command:

define schedule test_lab starttime=20:00 \action=archive object=/home/lab/tests/* \duration=1 durunits=hour schedstyle=enhanced month=mar,jun,sep,dec \ weekofmonth=last dayofweek=fri

Page 561: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 11-27

• • •••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Examples of Calendar-based Schedules

23

Examples of Calendar-based Schedules with the Administration CenterSome examples of schedules that can be created are:

• First and third Tuesday of every month• Last Friday of every month• 1st and 15th day of every month• 10th day of last month in each quarter• First Saturday or Sunday of every month• Every Monday, Wednesday, and Friday

Page 562: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

11-28 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Schedule Example

A schedule is given a startup window that defines when a scheduled operation is to start.

The client must start the scheduled operation within the startup window. If the client or the network is unavailable during the startup window, the client will wait until the next occurrence of the schedule's startup window to begin the operation.

The scheduled operation must start within the window, however, it may complete outside of the window.

A log is maintained on the server, which records information about the scheduled events. The administrator can query the log for information about started, completed, and failed events.

24

Schedule Example

M T W T F

24:00

01:00

Start Start

Backup Backup

Startup window: Starttime = 01:00 Function: Action = Incremental BackupTime between windows: Period = 2 daysDuration = 6 hours

• Action must start within startup window.• Action may not complete within window.• Scheduled operations run serially on client.• Event log maintained on server.

01:00startup window

actual backup

time

Page 563: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 11-29

• • •••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Relative Date and Time

Relative Date

Date specification can be written as a displacement from the current date. The current date is furnished with the keyword TODAY.

Relative Time

Time specification can be written as a displacement from the current time. The current time is furnished with the keyword NOW.

25

Relative Date and Time

In defining schedules, date and time can be specified relative to the execution of the command.

Relative date syntax:

•DATE=mm/dd/yyyy•DATE=TODAY•DATE= + number of days•DATE= - number of days

Relative time syntax:

• TIME=hh:mm:ss• TIME=NOW• TIME=NOW + number of hours: number of minutes• TIME=NOW - number of hours: number of minutes

Page 564: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

11-30 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Copying a Schedule

The copy schedule command copies the schedule to another domain. An administrator can define any number of schedules in a policy domain.

26

Copying a Schedule

Copy schedule domain1 labsys domain2 labsysnew

To copy the LABSYS schedule from policy domain DOMAIN1 to DOMAIN2 and name the new schedule LABSYSNEW, enter:

Page 565: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 11-31

• • •••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Using the Command Line to Define an Association

Use the define association command to associate one or more clients with a schedule. Client nodes that are associated with a schedule initiate Tivoli Storage Manager functions according to that schedule.

• DOMAINNAME Specifies the name of the policy domain to which the schedule belongs. This parameter is required.

• SCHEDULENAME: Specifies the name of the schedule that you want to associate with one or more clients. This parameter is required.

• NODENAME: Specifies the name of the client node to be associated with the specified schedule. This parameter is required. You can specify a list of clients that you want to associate with the specified schedule. Commas, with no intervening spaces, separate the items in the list.

You can use a pattern matching expression to specify a name. All matching clients are associated with the specified schedule. In some commands, such as the query commands, you can use wildcard characters to create a pattern-matching expression that specifies more than one object. Using wildcard characters makes it easier to tailor a command to your needs.

27

Using the Command Line to Define an Association

define association standard daily_incr client

Page 566: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

11-32 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

The wildcard characters you use depend on the operating system from which you issue commands. For example, you can use wildcard characters such as an asterisk (*) to match any (0 or more) characters or you can use a question mark (?), or a percent sign (%) to match exactly one character.

If a client is listed, but is already associated with the specified schedule or is not assigned to the domain to which the schedule belongs, the command has no effect for that client.

Page 567: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 11-33

• • •••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

One-Time Scheduled Client Commands

Define clientaction: Allows a TSM administrator to have a command executed on a TSM client without defining a schedule and associating the schedule with the client. With the define clientaction command, the command executes once only.

Clients may be selected from multiple domains by the use of the NODE and DOMAIN parameters. Pattern matching expressions may be used in the node list specified, and if no nodes are selected, the action is sent to all nodes.

When a command is specified with the define clientaction command, the speed with which that command is executed depends entirely upon the scheduling mode for the desired client. If the client schedule mode is server-prompted, then the command is executed immediately. If the client concerned is using a schedule mode of POLLING, then the action is executed the next time the client queries the server for its schedules (governed by the QUERYSCHEDPERIOD client parameter).

WAIT=[YES | NO] parameter, when used with define clientaction command, specifies whether to wait for a scheduled client operation to complete. WAIT=YES allows for the clientaction command to complete before processing the next step. This synchronous operation provides the serialization in a script. The default is NO.

28

One-Time Scheduled Client Commands

Schedule execution

TSM server Critical projects server

DEFINE CLIENTACTION

SET CLIENTACTDURATION

Central scheduling is a co-operative effort between the TSM server and each client node.Scheduler service must be running.

Page 568: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

11-34 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Clients for which actions are defined must have their scheduled client running.

Set clientactduration: Specifies the duration in days for the schedule and the number of days it is retained in the TSM database before automatically being deleted. If this value is set to 0, the schedule duration is indefinite and the schedule and associations are not deleted. Only schedules and associations defined by the define clientaction are deleted from the TSM database automatically.

The value of CLIENTACTDURATION may be viewed with the query status command.

The defaults for a client action are:

– Schedule priority is set to 1.

– Duration is set to 5 days.

– Period is set to Onetime.

Page 569: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 11-35

• • •••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Preventing Unwanted Schedule Actions

29

Preventing Unwanted Schedule Actions

There are three ways in which a Tivoli Storage Manager administrator using the scheduler could potentially execute an unwanted operation on a client machine:

• Executing a scheduled operating system command operation (action=cmd).

• Executing a scheduled operating system command operation using the preschedule or postschedule or presnapshot or postsnapshot command defined in the Tivoli Storage Manager server client option set or define schedule command.

• Executing a scheduled restore or retrieve operation (action=restore or action=retrieve).

Page 570: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

11-36 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Options to Prevent Unwanted Schedule Actions

If a preschedule or postschedule command is defined by both the client and the Tivoli Storage Manager administrator, the command defined by the Tivoli Storage Manager administrator will not override the corresponding command defined in the client option file.

If a presnapshot or postsnapshot command is defined by both the client and the Tivoli Storage Manager administrator, the command defined by the Tivoli Storage Manager administrator will not override the corresponding command defined in the client option file.

30

Options to Prevent Unwanted Schedule Actions

The SRVPREPOSTSCHEDDISABLED option disallows a preschedule or postschedule command defined by the Tivoli Storage Manager administrator from executing on the client machine.

The SRVPREPOSTSNAPDISABLED option disallows a presnapshot or postsnapshot command defined by the Tivoli Storage Manager administrator from executing on the client machine.

The SCHEDRESTRETRDISABLED option disallows the execution of a restore or retrieve schedule operation.

Page 571: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 11-37

• • •••

Unit 11: Automating OperationsClient Scheduling

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Using the Command Line to Query Schedule

Output fields from the query schedule command:

Schedule Name:Description:Schedule Style:Action:Options:Objects:Priority:Next Execution:Duration:Period:Day of Week:Month:Day of Month:Week of Month:Expiration:

The format equal detail (f=d) option with the command requests and lists the output in a different format and provides more details.

31

Using the Command Line to Query Schedule

Page 572: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

11-38 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 11: Automating OperationsAdministrative Tasks

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 3: Administrative Tasks

Automating Administrative Tasks

TSM server includes a central scheduling component that is used to schedule the automatic execution of client functions. This scheduler provides facilities for defining, updating, querying, and deleting client schedules, associating schedules with one or more client nodes, and reporting on the success or failure for each scheduled event.

A similar mechanism is required to automate server operations. Many of the administrative commands can be used to tune server operations and start functions that require significant server or system resources. The ability to automate the execution of these commands helps the administrator ensure that:

• server resources are available when needed by clients

• server functions are performed with minimal manual intervention

Each TSM schedule can schedule only one administrative command. When the schedule executes, it has the same authority as when the administrator originally defined it. It can be

32

Automating Administrative Tasks

Administrator commands can be handled by Tivoli Storage Manager scheduler to:

•Automate server operations.•Ensure server resources are available to clients.

•Ensure server functions performed with minimal manual intervention.

Page 573: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 11-39

• • •••

Unit 11: Automating OperationsAdministrative Tasks

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

in the ACTIVE or INACTIVE state. The default is INACTIVE. The active state indicates that the schedule is eligible for execution when the specified command window occurs.

An administrator can also schedule commands that activate or inactivate other scheduled commands.

The following processes are not supported by the administrative command scheduler:

• Command macros (as used on the administrative client)

• Redirection of command output

Page 574: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

11-40 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 11: Automating OperationsAdministrative Tasks

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Scheduling an Administrative Command

• The query event and delete event commands are modified to view and remove administrative command schedule status. A Type=Administrative is added to events so that you can discriminate between Type=Client and Type=Administrative.

• Redirection of command output is not allowed; instead, output is written to the activity log. Using the administrative client and the query actlog command, the output can be collected at a later time and placed in a file.

• Schedules defined as Type=Client are identified by policy domain and schedule names. Schedules defined as Type=Administrative are only qualified by a schedule name. The schedules do not need to be associated to nodes or servers by names.

33

Scheduling an Administrative Command

What to consider when scheduling an administrative command:

•Type of schedule command can be administrative or client.

• Type=Administrative• Type=Client

•Output from execution of administrative tasks is sent to the activity log.

•Administrative tasks are not associated with a policy domain.

Page 575: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 11-41

• • •••

Unit 11: Automating OperationsAdministrative Tasks

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Administrator Scheduling Commands

• If you define a schedule to lower the high threshold to zero, when the schedule executes, migration will automatically begin. You can then have a schedule that resets the threshold to your usual percentage.

• To improve tape drive usability, ensure that reclamation occurs during hours when backup or threshold migration does not occur. You can schedule a command to lower the threshold for reclamation processing to zero, so that when the command executes, reclamation will automatically begin.

• TSM server database backup can be automated to ensure a regularly scheduled backup is taken.

• Because file inventory expiration is a CPU-consuming job, you can schedule it for hours when the CPU load is low.

• Backup of the TSM server storage pool volumes can be automated to ensure that this task is done periodically and concurrently with the TSM server database backup.

34

Administrator Scheduling Commands

Examples of administrator actions which can be scheduled:

•Lower threshold to immediately start migration.•Lower threshold to immediately start reclamation.•TSM server database backup.•Inventory expiration.•Storage pool backup.

Things to do today

Use the Administration Center to create maintenance scripts for these tasks.

Page 576: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

11-42 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 11: Automating OperationsAdministrative Tasks

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Examples of Defining Administrative Schedules

35Examples of Defining Administrative Schedules

Define a schedule named BACKUP_ARCHIVEPOOL that backs up the primary storage pool ARCHIVEPOOL to the copy storage pool RECOVERYPOOL. The backup runs at 6 p.m. every 3 days.

define schedule backup_archivepooltype=administrative cmd="backup stgpoolarchivepool recoverypool" active=yes starttime=18:00 period=3

Define a schedule named BACKUP_ARCHIVEPOOL that backs up the primary storage pool ARCHIVEPOOL to the copy storage pool RECOVERYPOOL. Select an enhanced schedule and run on the following days of the month: 7, 14, 21, and 28.

define schedule backup_archivepooltype=administrative cmd="backup stgpoolarchivepool recoverypool" schedstyle=enhanced dayofmonth=7,14,21,28

Page 577: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 11-43

• • •••

Unit 11: Automating OperationsAdministrative Tasks

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Defining Administrative Schedules Using the Administration Center

36

Defining Administrative Schedules Using the Administration Center

Administrative Schedule:1. Click Storage Devices in the Tivoli Storage Manager tree. 2. In the Servers table, click a server name. 3. In the properties portlet for the server, click the Administrative Schedules

tab. 4. In the table, click Select Action, and select Create a Schedule.

Schedules can also be Viewed and Modified with the Administration Center.

37

Administration Center Administrative Schedules

Page 578: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

11-44 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 11: Automating OperationsAdministrative Tasks

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Additional Functions to Schedule

You may want to change how many devices are allocated to different server activities, such as migration. For example, you may want fewer devices during the day and more at night because during the day the devices might be shared with other applications.

• Because volume history records are cumulative, you can delete older records periodically.

• The output of a scheduled administrative command is directed to the console and recorded in the activity log. Consequently, if Tivoli Storage Manager allowed you to schedule the query actlog command, the activity log size would immediately double.

Note: The following client scheduling constructs do not apply to administrative command schedules:

• Maximum scheduled sessions

• Schedule randomization percentage

• Maximum command retries

• Retry period

• Scheduling modes

38

Additional Functions to Schedule

Other functions that you might want to schedule include:

• Export-Import• Changing device class mount point limits• Volume history maintenance (deletion of unneeded

records)• All administrative commands except query actlog

Page 579: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 11-45

• • •••

Unit 11: Automating OperationsAdministrative Tasks

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercise

Open your Student Exercises and perform the exercises for this unit.

39

Student Exercise

Page 580: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

11-46 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 11: Automating OperationsAdministrative Tasks

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Review Questions

1. In _________________ mode, the Tivoli Storage Manager client registers its TCP/IP address with the server and waits until the server contacts the client to notify the client that a scheduled operation should be performed.

2. In ________________ mode, the TSM client periodically queries or polls the server for a scheduled operation and the date and time that the operation is to start. The client then waits until it is time to start the scheduled operation and executes the operation.

3. On the server, the administrator with system privilege must specify which central scheduling modes will be supported by the server. The set schedmodes command is used and the supported parameters include (select 3):

a. ANY

b. SERVER

c. CLIENT

d. POLLING

e. PROMPTED

4. With ________________ the schedule process waits for the client OS commands to complete before executing, whereas with ______________________, the schedule process does not wait. (PREschedulecmd/PRENschedulecmd)

5. The ____________________ command copies the schedule to another domain.

Page 581: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

Unit 11: Automating OperationsAdministrative Tasks

Review answers begin on the next page.

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 11-47

• • •••

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Page 582: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

11-48 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 11: Automating OperationsAdministrative Tasks

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Review Answers

1. In _________________ mode, the Tivoli Storage Manager client registers its TCP/IP address with the server and waits until the server contacts the client to notify the client that a scheduled operation should be performed.

prompted

2. In ________________ mode, the TSM client periodically queries or polls the server for a scheduled operation and the date and time that the operation is to start. The client then waits until it is time to start the scheduled operation and executes the operation.

client polling

3. On the server, the administrator with system privilege must specify which central scheduling modes will be supported by the server. The set schedmodes command is used and the supported parameters include (select 3):

a. ANY

b. SERVER

c. CLIENT

d. POLLING

e. PROMPTED

a. ANY, d. POLLING, and e. PROMPTED

4. With ________________ the schedule process waits for the client OS commands to complete before executing, whereas with ______________________, the schedule process does not wait. (PREschedulecmd/PRENschedulecmd)

PREschedulecmd, PRENschedulecmd

5. The ____________________ command copies the schedule to another domain.

copy schedule

Page 583: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 11-49

• • •••

Unit 11: Automating OperationsAdministrative Tasks

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Summary

40

Summary

You should now be able to:

• Describe the difference between client polling and server prompted methods.

• Identify and describe available scheduler options.• Associate scheduler options with the schedule method to which it applies.

• Identify the tasks that can be scheduled for a client.• Create a schedule.• Copy a schedule.• Define association of client to schedule.

Page 584: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

11-50 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 11: Automating OperationsAdministrative Tasks

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Page 585: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

• • • ••

12-1

Unit 12: Monitoring and Event Logging

Unit 12: Monitoring and Event Logging

Page 586: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

12-2 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 12: Monitoring and Event Logging

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Introduction

Tivoli Storage Manager provides the ability to log client messages as server events. This unit introduces Tivoli Storage Manager logging and monitoring functions.

Objectives

2

Objectives

Upon completion of this unit, you will be able to:

• Identify client message candidates.• Describe client event formatting.• Query the activity log for events.• Query the event log.• Select from summary.• Centralize event logging on the TSM server.• Create reports with the select statement.• Control event logging.

Page 587: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementationand Administration, Part One 12-3

• • •••

Unit 12: Monitoring and Event LoggingClient Event Messages

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 1: Client Event Messages

Monitoring and Logging Events

IBM Tivoli Storage Manager provides the ability to log certain client messages as events on the Tivoli Storage Manager server.

This lesson explains which messages can be logged and how client event monitoring is configured, including:

• Which client messages can be logged as events and how these messages are formatted.

• How client events are enabled and processed.

• How client events are stored, displayed, and queried.

3

Monitoring and Logging Events

TSM server

Page 588: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

12-4 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 12: Monitoring and Event LoggingClient Event Messages

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Client Message Candidates

Loggable Messages

The intention of client error logging is to notify the server of problems encountered during a client operation. Therefore client message candidates are those messages that reflect an error condition. Client statistics are also passed to the server.

Nonloggable Messages

The following message types are not logged as events:

• Session, communication, and TCA errors: When encountering a session, communication, or a Trusted Communication Agent (TCA) error, the client is unable to initiate a session with the Tivoli Storage Manager server. Therefore the client cannot pass any message of this type to the server.

• Client memory errors: Because of insufficient memory resources, the client is not able to log these types of messages.

4

Client Messages Logged on the Server

Messages which are logged:• Error conditions• Client statistics

Messages which are not logged:

• Session, communication, and TCA (Trusted Communication Agent) errors

• Client memory errors• Informational messages• Server disabled messages

API Messages:The API application is responsible for placing text into the string buffer.

Page 589: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementationand Administration, Part One 12-5

• • •••

Unit 12: Monitoring and Event LoggingClient Event Messages

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

• Informational messages: Informational messages do not contain an error condition and therefore are not logged.

• Server disabled messages: During the client sign-on procedure the Tivoli Storage Manager server provides information to the client about which messages should be logged to the server. Disabled messages are not passed to the server.

API Messages

For all application programming interface (API) related messages, it is the responsibility of the API to place an appropriate message text into the string buffer.

Page 590: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

12-6 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 12: Monitoring and Event LoggingClient Event Messages

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Client Event Formatting

The event message contains enough information that the message can be processed outside where it has occurred. Where it is applicable, the event contains the name of the object and file space.

Common Message Repository

Eligible messages are grouped in a common, shared repository. The repository resides on both the client and the server, and contains new messages for all client events and related event data. The command line and GUI clients share the repository.

Event Formatting

Client messages in the ANS4000 to ANS4999 range are eligible to be sent to the server as client events. Eligible client messages will be sent to the server as events using an ANE prefix instead of ANS. These client messages will be logged locally in the client schedule or error logs as appropriate.

5

Client Event Formatting

Common message repository

•Contains new messages to facilitate central error logging.•Command line and GUI share same repository.

Event formatting

• Logged locally on client as ANS message.• Externally appears in 4000-4999 range.• Event message assigned ANE messages: ANE4007E.

Page 591: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementationand Administration, Part One 12-7

• • •••

Unit 12: Monitoring and Event LoggingClient Event Messages

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Event Content

Client event messages contain enough information to be processed outside of the context where the message occurred. The client assigns the correct message number and provides information about related object or file space names. The server adds information such as time stamp, node name, or any other relevant information.

Message Formatting

6

Message Formatting

Messages are seen in the following format:

A N [ R S E ] # # # # [ I W E S]

Type:

R = Server

S = Client

E = Event

Levels:I = InfoW = WarningE = ErrorS = Severe

For help, type H ####

Page 592: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

12-8 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 12: Monitoring and Event LoggingEvent Receiving

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 2: Event Receiving

Tivoli Storage Manager client and server events can be passed to external interfaces. This lesson describes these interfaces and how they are configured.

Client messages are divided into two types of messages: loggable and nonloggable messages. All loggable messages can be enabled as events. Unlike client messages, there is no distinction for server events. Any server message that has an associated message number is an event. All events, regardless of being client or server events, can be enabled or disabled for the event receivers.

Each interface supported by the central logging mechanism is called an event receiver.

Events from clients or servers can be passed to one or more of the receivers. It is possible to send the same events to different receivers or to enable a group of events for specific receivers. You can choose any combination that suits your needs.

7

Event Receiving

Eligible events

• Any client message which can be logged• All server messages with an associated message number

Event receivers

• TSM server console• Activity log• Event viewer (Windows)• File exit• User exit• Server-to-server event logging• Tivoli Enterprise Console (TEC)• Tivoli NetView• SNMP manager (AIX only)

Page 593: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementationand Administration, Part One 12-9

• • •••

Unit 12: Monitoring and Event LoggingEvent Receiving

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Event Filtering and Logging Commands

Begin Eventlogging

This command begins event logging for one or more receivers. Event logging is automatically turned on for receivers configured by default (server console and activity log). To begin event logging for the NetView receiver, enter:

tsm> begin eventlogging netview

If no receiver is specified, or if ALL is specified, logging begins for all configured receivers.

Enable Events

This command is used to enable specific events or groups of events for one or more receivers. With this command the following options are specified:

• Receiver name

• Message number or message severity

8

Event Filtering and Logging Commands

BEGIN EVENTLOGGING

Starts event logging for the specified receiver.

ENABLE EVENTS

Enables specific events to be passed to one or more receiver.

DISABLE EVENTS

Disables specific events for one or more receiver.

QUERY ENABLED

Displays a list of enabled or disabled events.

QUERY EVENTRULES

Displays a summary of enabled events.

END EVENTLOGGING

Stops event logging for the specified receiver.

Page 594: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

12-10 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 12: Monitoring and Event LoggingEvent Receiving

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

• Node name (optionally)

Issue the following command:

tsm> enable event console,file all nodename=*

If the NODENAME parameter is specified, the events entered must be client events. When enabling individual client events, the four-digit message number must be prefixed with ANE:

tsm> enable event userexit ANE4027,ANE4034 node=*

This prefix enables all nodes to send the following client events to a user exit:

ANE4027 internal program message encountered and ANE4034 unknown system error

To enable only server events for a receiver, omit the NODENAME parameter. Individual server messages have to be specified with the prefix ANR:

tsm> enable event snmp ANR0131

This prefix enables the server error message Server DB space exhausted for the SNMP receiver.

Disable Events

The disable event command works similarly to the enable event command but instead of enabling specific events, the specified events are disabled. The command requires the same parameters, which are:

• Receiver name

• Message name or message severity

• Node name (optionally)

The parameter specifications are based on the same rules as they are for the enable event command. You cannot disable server events.

Page 595: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementationand Administration, Part One 12-11

• • •••

Unit 12: Monitoring and Event LoggingEvent Receiving

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Query Enable

The query enable command displays either a list of enabled events or a list of disabled events whichever is shorter. To display all enabled server events for receiver file enter:

tsm> query enable file

All server events are disabled for the receiver file. In the following example, no server events are enabled for this receiver.

In this example, client events have been enabled and certain individual events disabled. The result will be the shorter of the enabled or disabled events list.

Query Eventrules

The query eventrules command displays a summary of events enabled:

tsm> query eventrules

Date/Time Server Event Rules-------------------- ------------------------------------08/08/2000 09:21:33 ENABLE EVENTS FILE ALL08/09/2000 13:15:29 ENABLE EVENTS SNMP ALL08/14/2000 17:53:49 ENABLE EVENTS USEREXIT ERROR

9

To query enabled client events of node DBSERVER1 for the consolereceiver, enter the following command:

query enable console node=DBSERVER1

964 client events are enabled for node DBSERVER1 for the CONSOLE receiver.

The following client events are DISABLED for node DBSERVER 1 for the CONSOLE receiver:

ANE4000, ANE4001, ANE4002, ANE4003, ANE4004, ANE4005, ANE4006, ANE4007, ANE4008, ANE4009, ANE4010, ANE4011, ANE4012, ANE4013, ANE4014, ANE4015, ANE4016, ANE4017, ANE4018, ANE4019, ANE4020, ANE4021, ANE4022, ANE4023, ANE4024, ANE4025, ANE4028, ANE4029, ANE4030, ANE4031, ANE4032, ANE4033, ANE4034, ANE4992, ANE4993,

ANE4994

Query Enable

Page 596: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

12-12 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 12: Monitoring and Event LoggingEvent Receiving

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Entering query eventrules displays the enabled server events.

Entering the same command with a NODE= option will display enabled client events for that node or nodes.

End Eventlogging

The counterpart to the begin eventlogging command is the end eventlogging command. It stops event logging for one or more receivers. An administrator may want to end event logging for performance reasons.

Page 597: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementationand Administration, Part One 12-13

• • •••

Unit 12: Monitoring and Event LoggingWorking with Events

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 3: Working with Events

Client Event Processing

When an eligible client message occurs, the message number is looked up in the client message event repository and assigned the appropriate ANE message number. The event message is formatted with the related object or file space name and is sent to the Tivoli Storage Manager server in this format.

The server receives the event message and then adds information such as node name from where the event was received. The session number from which the original client error message originated is also added. If the event has been enabled for the Tivoli Storage Manager console, the event appears as soon as the information has been formatted.

Message prefixes are:

• ANR: Server message

• ANS: Client message

• ANE: Event message

10

Client Event Processing

Page 598: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

12-14 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 12: Monitoring and Event LoggingWorking with Events

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Enabling Client Events for the Tivoli Storage Manager Console

This example illustrates client events that are enabled for the Tivoli Storage Manager console. The default setting is ALL ENABLED.

When enabling disabled events, the following information must be specified:

• The destination to which events are passed for monitoring.

In this case the destination is the Tivoli Storage Manager console. The console will show all related event information. For example, if the message occurred during a scheduled operation, the schedule name is also displayed.

• Which messages are enabled for the server console.

The selection can be done by a list of individual message names, severity types, or a combination of both. If all loggable messages should be tracked, specify ALL.

• Which client nodes participate in central logging.

When client events are enabled, a node name must be specified. You can specify a list of node names, or node names can be specified by using the wildcard character (*).

11

Enabling Client Events for the Tivoli Storage Manager Console

enable events console error, severe node=*

TSM server console

Page 599: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementationand Administration, Part One 12-15

• • •••

Unit 12: Monitoring and Event LoggingWorking with Events

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

• To enable all nodes to log events of ERROR or SEVERE severity to the Tivoli Storage Manager console, the following enable event command can be issued by an administrator:

tsm> enable events console error,severe node=*

Client events are displayed as soon as they have occurred on the client and have been passed to the Tivoli Storage Manager server.

Clients events should not be disabled.

Page 600: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

12-16 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 12: Monitoring and Event LoggingWorking with Events

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Storing Client Events in the Activity Log

Tivoli Storage Manager server events are always stored in the activity log and cannot be disabled. Server information in the activity log is often needed to resolve critical situations. All client events are also enabled for the server activity log by default.

12

Storing Client Events in the Activity Log

Activity Log table

Page 601: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementationand Administration, Part One 12-17

• • •••

Unit 12: Monitoring and Event LoggingWorking with Events

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Pruning the Activity Log

If the activity log occupies less space than the maximum allowed, no pruning is done. This log management option is in addition to the existing option to prune the log based on age of the entries. The query status command is updated to display the management type and value of the setting for the activity log.

Retention Period Parameter ACTLOGRET

The server option ACTLOGRET specifies how long activity log records are kept in the Tivoli Storage Manager database. Administrators should also consider the ACTLOG parameter setting. Many client events stored in the activity log increases Tivoli Storage Manager database usage. A short-term retention period reduces Tivoli Storage Manager database usage, but as server and client events are deleted after the specified time frame, they cannot be queried after that. The same retention period is used for server and client events. The ACTLOGRET parameter defaults to 1 day at installation. Considering setting the ACTLOGRET parameter to 14 days.

13

Pruning Activity Log

Prune the log based on age of the entries.

SET ACTLOGRETENTION

Prune the log based on configured maximum allowed size. When maximum size is reached, the log is pruned, starting with the oldest activity log records, until the activity log size no longer exceeds the configured maximum size allowed.

SET ACTlogretention size in MB MGMTSTYLE=Size

SET ACTlogretention days MGMTSTYLE=Date

Use the query status command to display the management type and value of the setting for the activity log.

Page 602: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

12-18 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 12: Monitoring and Event LoggingWorking with Events

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Querying Client Events in the Activity Log

The query actlog command has the following parameters for extended event querying.

Parameter Description

ORIGINATOR Event origin: server, client, or all events.

NODENAMEClient node name: to display all events that derived from this node.

SCHEDULENAME AND DOMAINNAME

Schedule name and related domain name: to display all events that have been logged for the specified scheduled client activity.

SESSION IDSession ID of Tivoli Storage Manager client session: to display all logged events that originated from the specified client session.

OWNERNAMEOwner name: to display all events that have been logged for a particular owner.

14

Querying Events and the Activity Log

query event (query scheduled and completed events) Use this command to display the status of scheduled events. • The time and date parameters allow you to limit the query to

events that were scheduled to occur within the specified times and dates.

• The command syntax differs for queries that apply to scheduled client operations and to scheduled administrative commands.

query actlog (query the activity log) Use this command to display messages generated by the server. • The activity log contains all messages that are sent to the server

console under normal operation. • The results of commands entered at the server console are not

recorded in the activity log, unless the command affects or starts a background process or client session.

• Error messages are displayed in the activity log.

Page 603: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementationand Administration, Part One 12-19

• • •••

Unit 12: Monitoring and Event LoggingWorking with Events

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

The following example command queries for any client events in the last seven days from the node named critproj, associated with the DAILY_INC client schedule:

tsm> query actlog begindate=-7 originator=client node=critproj sched=daily_inc

SEARCH

Specifies a text string that you want to search for in the activity log. Enclose the string expression in quotation marks if it contains blanks. You can use text and a wildcard character to specify this string. This parameter is optional.

Parameter Description

Page 604: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

12-20 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 12: Monitoring and Event LoggingWorking with Events

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Managing Event Logs with the Administration Center

Event Logging, Event Receivers, SNMP Logging, and Tivoli Enterprise Console options can be defined and viewed in the Administration Center, in a server’s properties notebook.

15

Managing Event Logs with the Administration Center

Page 605: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementationand Administration, Part One 12-21

• • •••

Unit 12: Monitoring and Event LoggingWorking with Events

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Client Log Files

16

Client Log Files

•dsmsched.log• status information for the Tivoli Storage Manager scheduler service.

• information about which schedule runs next and which files are processed.

• file name can be changed by specifying the schedlogname option in the options file.

•dsmerror.log• contains information about any errors that occur during processing.• errorlogname specifies the fully qualified path and file name of the file

where you want to store information about errors that occur during processing.

•dsmwebcl.log• Web client messages are written to the Web client log file, dsmwebcl.log.

• dsmwebcl.log files reside in the directory you specify with the DSM_LOG environment variable or in the current working directory.

Page 606: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

12-22 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 12: Monitoring and Event LoggingMonitoring and Reporting

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 4: Monitoring and Reporting

Database Reporting

The Select statement can be used to query the Tivoli Storage Manager server database using SQL select statements.

An open database connectivity (ODBC) driver is provided with Tivoli Storage Manager. This driver allows desktop database products such as Lotus Approach or Microsoft Access to be connected to the Tivoli Storage Manager server database. This connection enables administrators to use these tools to perform Tivoli Storage Manager server queries in an easy-to-use graphical manner.

You can fill the recovery log if you run a select statement against the backup or archive tables.

17

Database Reporting

Some queries require server time and resources and can impact performance.

Page 607: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementationand Administration, Part One 12-23

• • •••

Unit 12: Monitoring and Event LoggingMonitoring and Reporting

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

SQL Select

The simplest form of a select statement is to select all columns from a table. To use the SQL interface, a basic understanding of the SQL select statement is required. The syntax of the TSM select statement is compliant with ANSI SQL syntax but limited from the full specification provided by the SQL92/93 standard. These limitations reduce query complexity and the corresponding load on the Tivoli Storage Manager server database.

An SQL select statement can be divided into a number of clauses.

Type help select for online assistance.28

18

SQL Select

SQL SELECT Statement Syntax

SELECT column_name | aggregate_function

[ AS output_column_name ], ...

FROM table_name, ...

[ WHERE predicate ]

[ GROUP BY [table_name.] column_name ]

[ HAVING predicate ]

[ ORDER BY output_column_name [ ASC | DESC ], ...

Page 608: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

12-24 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 12: Monitoring and Event LoggingIBM Tivoli Storage Manager Operational Reporting

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Lesson 5: IBM Tivoli Storage Manager Operational Reporting

There is additional information on TSM Operational Reporting on your Student Resources CD.

19

Introduction to IBM Tivoli Storage Manager Operational Reporting

•Operational Reporting automates routine monitoring and reporting tasks to indicate whether a server requires attention.

•Operational Reporting focuses on the information available in the TSM database and does not maintain a separate database of information. This makes it very useful for day-to-day operations but not for trending and advanced analysis.

•The Operational Reporting application is on a CD shipped with IBM Tivoli Storage Manager 5.3.0 code.

Page 609: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementationand Administration, Part One 12-25

• • •••

Unit 12: Monitoring and Event LoggingIBM Tivoli Storage Manager Operational Reporting

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Benefits of Operational Reporting

20

Benefits of Operational Reporting

Operational Reporting provides the following benefits:

•Easy to install and use.

•Minimizes the amount of time needed to administer Tivoli Storage Manager.

•Reports and monitors can be viewed interactively from a Web site or in e-mail.

•Reports and monitors can be customized and extended.

•Custom report and monitor templates can be shared.

•Automatically notifies clients of missed or failed schedules by e-mail.

Page 610: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

12-26 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 12: Monitoring and Event LoggingIBM Tivoli Storage Manager Operational Reporting

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Operational Reports

21

Daily Report

22

Examples of Reports

Page 611: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementationand Administration, Part One 12-27

• • •••

Unit 12: Monitoring and Event LoggingIBM Tivoli Storage Manager Operational Reporting

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Hourly Monitoring

Hourly monitoring identifies issues that require attention.

23

Hourly Monitor

Page 612: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

12-28 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 12: Monitoring and Event LoggingIBM Tivoli Storage Manager Operational Reporting

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Automatic Backup Failure Notification

Administrators or node owners can be notified by desktop message, e-mail, or text message paging when a scheduled backup did not complete (missed or failed).

This feature is enabled in the Microsoft Management Console (MMC).

For More Information:

Refer to the presentation entitled TSM OperReports.ppt, TSM Field Guide: A Brief Introduction to IBM Tivoli Storage Manager Operations, and the Redpaper entitled Integrating IBM Tivoli Storage Manager Operational Reporting with Event Management, on your Student Resources CD.

This Redpaper outlines how it is possible to integrate management and reporting in IBM Tivoli Storage Manager environments into an enterprise-wide IT monitoring and management solution. It shows how IBM Tivoli Storage Manager Operational Reporting can be used to simplify the monitoring and reporting on the status of TSM environment and how this can be displayed centrally on an enterprise event management console.

24

Automatic Backup Failure Notification

Refer to the documentationon your Student Resources CD for more information on Operational Reporting.

Page 613: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementationand Administration, Part One 12-29

• • •••

Unit 12: Monitoring and Event LoggingIBM Tivoli Storage Manager Operational Reporting

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercise

Open your Student Exercises and perform the exercises for this unit.

25

Student Exercise

Page 614: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

12-30 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 12: Monitoring and Event LoggingIBM Tivoli Storage Manager Operational Reporting

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Review Questions

1. True or False? The monitoring of client events will only monitor scheduled client activity.

2. True or False? The only client messages that can be logged are those that reflect an error condition.

3. True or False? The activity log is used to store client and server events.

4. True or False? The query actlog command allows you to query a specific node's centrally logged events.

5. True or False? Eligible client and server events can be reported to interfaces external to the Tivoli Storage Manager server.

6. True or False? For a given event the Tivoli Storage Manager administrator has to choose which single event receiver is to receive the event.

Page 615: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

Unit 12: Monitoring and Event LoggingIBM Tivoli Storage Manager Operational Reporting

Review answers begin on the next page.

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One 12-31

• • •••

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Page 616: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

12-32 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 12: Monitoring and Event LoggingIBM Tivoli Storage Manager Operational Reporting

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Review Answers

1. True or False? The monitoring of client events will only monitor scheduled client activity.

false

2. True or False? The only client messages that can be logged are those that reflect an error condition.

false

3. True or False? The activity log is used to store client and server events.

true

4. True or False? The query actlog command allows you to query a specific node's centrally logged events.

true

5. True or False? Eligible client and server events can be reported to interfaces external to the Tivoli Storage Manager server.

true

6. True or False? For a given event the Tivoli Storage Manager administrator has to choose which single event receiver is to receive the event.

false

Page 617: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementationand Administration, Part One 12-33

• • •••

Unit 12: Monitoring and Event LoggingIBM Tivoli Storage Manager Operational Reporting

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Summary

26

Summary

You should now be able to:

• Identify client message candidates.• Describe client event formatting.• Query the activity log for events.• Query the event log.• Select from summary.• Centralize event logging on the TSM server.• Create reports with the select statement.• Control event logging.

Page 618: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

12-34 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Unit 12: Monitoring and Event LoggingIBM Tivoli Storage Manager Operational Reporting

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Page 619: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

• • • ••

A-1

Appendix A:Additional TSM Product Information

Appendix A: Additional Product Information

Page 620: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

A-2 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Appendix A: Additional TSM Product Information

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

IBM Tivoli Storage Manager Product Information on the Web

Once you have reached the Storage and Optimization Web page, you can navigate to specific products, storage solutions, and other links, including IBM TotalStorage solutions.

One IBM TotalStorage product that can enhance your storage solution is IBM TotalStorage Productivity Center. The IBM TotalStorage Productivity Center (TPC) includes:

• IBM TotalStorage Productivity Center for Data (previously known as IBM Tivoli Storage Resource Manager)

• IBM TotalStorage Productivity Center for Fabric (previously known as IBM Tivoli Storage Area Network Manager)

• IBM TotalStorage Productivity Center for Disk

• IBM TotalStorage Productivity Center for Replication

2

IBM Tivoli Storage Manager Product Information on the Web

http://www-306.ibm.com/software/tivoli/products/storage-mgr/

Page 621: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One A-3

• • •••

Appendix A: Additional TSM Product Information

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Optional Products for IBM Tivoli Storage Manager

IBM offers a variety of data protection products (Tivoli Data Protection or TDP) that work with IBM Tivoli Storage Manager to protect enterprise data.

IBM Tivoli Storage Manager for Mail is a software module for IBM Tivoli Storage Manager that automates the data protection of e-mail servers running either Lotus Domino or Microsoft Exchange. This module utilizes the application program interfaces (APIs) provided by e-mail application vendors to perform online hot backups without shutting down the e-mail server and improves data restore performance.

IBM Tivoli Storage Manager for Hardware improves the data protection of your business-critical databases and Enterprise Resource Planning (ERP) applications that require 24-hour by 365-day availability. This software module helps IBM Tivoli Storage Manager and its other data protection modules perform high-efficiency data backups and archives of your most business-critical applications. These operations are performanced with minimal impact on database or ERP servers.

IBM Tivoli Storage Manager for Databases is a software module that works with IBM Tivoli Storage Manager to exploits the backup-certified utilities and interfaces provided for Oracle, Microsoft SQL Server, and Informix..Tivoli Storage Manager for Databases in conjunction with Tivoli Storage Manager automates data protection tasks. Database servers can continue running their primary applications while they back up and restore data to and from offline storage.

3

IBM Tivoli Storage Manager Family of Offerings

• IBM Tivoli Storage Manager for Mail• IBM Tivoli Storage Manager for Hardware• IBM Tivoli Storage Manager for Databases• IBM Tivoli Storage Manager for Application Servers• IBM Tivoli Storage Manager for Enterprise Resource Planning

• The above were previously known as Tivoli Data Protection agents, or TDPs.

• IBM Tivoli Storage Manager for System Backup and Recovery• Previously known as Tivoli SysBack.

• IBM System Storage Archive Manager• Previously known as IBM Tivoli Storage Manager for Data Retention

Page 622: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

A-4 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Appendix A: Additional TSM Product Information

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

IBM Tivoli Storage Manager for Application Servers is a software module that works with IBM Tivoli Storage Manager to better protect the infrastructure and application data and improve the availability of WebSphere Application Servers. It works with the WebSphere Application Server software to provide an applet GUI to do reproducible, automated online backup of a WebSphere Application Server environment, including the WebSphere administration database (DB2 Universal Database), configuration data, and deployed application program files.

Specifically designed and optimized for the SAP R/3 environment, IBM Tivoli Storage Manager for Enterprise Resource Planning (ERP)

• Provides automated data protection

• Reduces the CPU performance impact of data backups and restores on the R/3 server

• Reduces the administrative workload necessary to meet data protection requirements

• Is built on the SAP database

• Includes a set of database administration functions integrated with R/3 for database control and administration

These topics are covered in the IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part Two course (see the IBM Tivoli Storage Manager curriculum roadmap).

Page 623: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One A-5

• • •••

Appendix A: Additional TSM Product Information

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

IBM Tivoli Storage Manager for System Backup and Recovery, and Bare Machine Recovery

This topic is covered in the IBM Tivoli Storage Manager 5.4 Extended Edition Disaster Recovery course (see the IBM Tivoli Storage Manager curriculum roadmap).

4

IBM Tivoli Storage Manager for System Backup and Recovery and Bare Machine Recovery

• IBM Tivoli Storage Manager for System Backup and Recovery (Tivoli SysBack) for AIX and Solaris

• Cristie Bare Machine Recovery for Windows, Linux and Solaris (go to www.cristie.com for supported platforms)

• Windows Automated System Recovery (ASR) for Windows XP or 2003

To assist with recovery from a catastrophic system or hardware failure, there are three applications IBM Tivoli Storage Manager uses for a comprehensive Bare Machine Recovery (BMR) solution.

Page 624: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

A-6 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Appendix A: Additional TSM Product Information

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

IBM System Storage Archive Manager

IBM System Archive Storage Manager facilitates compliance with the most stringent regulatory requirements in the most flexible and function-rich manner. It helps manage and simplify the retrieval of the ever-increasing amount of data that organizations must retain for strict records retention regulations. Many of the regulations demand the archiving of records, e-mails, design documents, and other data for many years, in addition to requiring that the data is not changed or deleted.

This topic is covered in Chapter 4 of the Understanding the IBM TotalStorage DR550 RedBook, on your Student Resources CD.

5

IBM System Storage Archive Manager

File retention helps meet legal regulatory requirements.IBM System Storage Archive Manager is a dedicated Tivoli Storage Manager server that is modified to provide:

• Archive retention protection• Event-based retention policy• Deletion hold and release capability• Explicit data interface from content management programs• IBM DR550 hardware is supported

Previously known as IBM Tivoli Storage Manager for Data Retention

IBM System Storage Archive Manager is a Separately licensed feature.

Page 625: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One A-7

• • •••

Appendix A: Additional TSM Product Information

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Optional Additions to IBM Tivoli Storage Manager

6

Optional Additions to Tivoli Storage Manager

Hierarchical Storage Management (HSM) Products:

• IBM Tivoli Storage Manager for Space Management• IBM Tivoli Storage Manager HSM for Windows

Complementary Products:

• IBM Tivoli Storage Manager for Storage Area Networks• Tivoli Continuous Data Protection (CDP) for Files

IBM Tivoli Storage Manager Extended Edition

Page 626: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

A-8 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Appendix A: Additional TSM Product Information

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Hierarchical Storage Management

7

Hierarchical Storage Management or HSM

Hierarchical Storage Management (HSM) migrates files from your local file system to storage, and then recalls the files as needed.

Migrating files to a distributed storage device takes advantage of lower-cost storage resources that are available in your network environment for infrequently used files, thus allowing more freespace on your local system.

IBM Tivoli Storage Manager supports: • IBM Tivoli Storage Manager for Space Management (for UNIX) • IBM Tivoli Storage Manager HSM for Windows

Page 627: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One A-9

• • •••

Appendix A: Additional TSM Product Information

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

IBM Tivoli Storage Manager for Space Management

IBM Tivoli Storage Manager for Space Management frees administrators and users from manual file system pruning tasks and defers the need to purchase additional disk storage by automatically and transparently migrating rarely accessed files to Tivoli Storage Manager storage while the files most frequently used remain in the local file system.

8

IBM Tivoli Storage Manager for Space Management

TSMServer

TSM UNIX Client

storagepool

/

/data

/usr

migraterecall

/data

Page 628: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

A-10 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Appendix A: Additional TSM Product Information

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

IBM Tivoli Storage Manager HSM for Windows

IBM Tivoli Storage Manager Hierarchical Storage Management for Windows helps you control runaway storage growth by facilitating the movement of inactive Windows files to cost-appropriate media. Because it is a policy-based management system, you can specify the criteria. For example, you can select files based on the last date the file was accessed or modified, or the file type. Your selection determines where files are stored. As a result, the solution helps you maximize the cost-effectiveness of your storage devices while supporting your business priorities.

With Tivoli Storage Manager HSM for Windows, you can automatically migrate individual files, parts of Windows file system, or complete file systems to an IBM Tivoli Storage Manager server. To the data owners, migrated files appear on the local file system as they did before they were migrated, but they occupy less disk space on the local file system. You can access, open and update these migrated files just as you would any other file.

9

TSMServer

TSM WindowsClient

storagepool

migraterecall

data

IBM Tivoli Storage Manager HSM for Windows

data

Page 629: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One A-11

• • •••

Appendix A: Additional TSM Product Information

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

IBM Tivoli Storage Manager for Storage Area Networks

The IBM Tivoli Storage Manager for Storage Area Networks extension allows SAN-connected Tivoli Storage Manager servers and Tivoli Storage Manager backup-archive client computers to make maximum use of their direct network connection to storage. This software extension allows both servers and client computers to make the bulk of their backup-restore and archive-retrieve data transfers over the SAN instead of the LAN, either directly to tape or to the Tivoli Storage Manager disk storage pool. This ability greatly reduces the performance impact of data protection on the LAN while also reducing CPU utilization on both client and server.

10

TSM Clients, with theStorage Agent installed

IBM Tivoli Storage Manager for Storage Area Networks

SAN(client data)

TSM Server

Tape or Disk Library

LAN-free backups and restores use storage area networks (SANs) for data movement between clients and the server, decreasing the network traffic on the local area network (LAN). Shared storage resources (disk, tape) are accessible to both the client and the server over the SAN.

LAN(client metadata)

Page 630: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

A-12 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Appendix A: Additional TSM Product Information

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Continuous Data Protection

With Tivoli Continuous Data Protection for Files, you can specify as many as three target backup or replication areas for:

• High-priority files

• Local disk

• File server

• Network-attached storage (NAS) appliance

• IBM Tivoli Storage Manager server

These areas will capture every save of a file when it occurs to help protect against corruption, file loss, or system loss.

11

Replication Traditional Backup

IBM Continuous Data Protection (CDP) for Files is an integrated recovery solution that provides complete data protection in case of corruption, user error, virus, or system failure. Tivoli CDP for Files installs and configures in minutes, and runs in the background.

• Disk-to-disk duplication

• Fast

• Real-time for high-importance files

• Tolerant of transient networks

• Multiple targets

• Versioning of files

• Point-in-time restore

• Central administration

• Archiving (vaulting)

• Retention

• Highly scalable

What is Tivoli Continuous Data Protection (CDP) for Files?

Page 631: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

• • • ••

B-1

Appendix B:Problem Determination

Appendix B: Problem Determination

Page 632: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

B-2 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Appendix B: Problem Determination

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Resolving Problems with Features

Some performance situations can be addressed with TSM features. The following charts examine a few of the features and how they can resolve performance issues.

2

TSM Features Address Problems

Sometimes a problem can be resolved by evoking features of IBM Tivoli Storage Manager.

The TSM Development teams have addressed what were once common problems for storage administrators and created features and options to make it easier to protect your data.

TSMfeatures

Page 633: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One B-3

• • •••

Appendix B: Problem Determination

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

3

Mapping TSM Solutions to Common Problems

system command line, type DSM to start the GUI.Sets options for groups of clients.

A collection of client options that can be applied to multiple clients.

Client Option Sets

Does not require a tape for every node. Faster restore time.

Allows creation of a group of nodes for collocation.

Collocation Groups

Minimized fragmentation, utilizes inexpensive disks.

Tapeless backups use disks as storage media.

Disk-to-Disk Backup

Can be used for client restore without network or server.

Collection of backed up files, stored as a single object on specific media.

Backup Sets

Reduces restore times. Enables the server to keep all files belonging to a client node or a client file space on a minimal number of sequential access storage volumes.

Collocation

Centralized management of enterprise systems.

Task-orientated interface to manage one or more Tivoli Storage Manager servers.

Administrator Center

Centralized monitoring of storage tasks.

Part of the Administration Center, which is used to monitor system status.

Health Monitor

Easier scheduling set up.Client and Administrative schedules can utilize flexible groupings and dates.

Enhanced Scheduling

Solution ProvidedDescriptionFeature

4

Mapping TSM Solutions to Common Problems

system command line, type DSM to start the GUI.

Does not use space or time on files which do not require protection.

Lists that customize which files are considered for backup or archive.

Include-Exclude

Ensures sufficient space in the faster storage pools at the top of the storage pool hierarchy.

Automatic migration to the next storage pool in the hierarchy maintains free space in the primary storage pool.

Migration of Files in a Storage Pool Hierarchy

Allows other applications to continue accessing and changing the contents of the volume during backup.

Creates a point-in-time image backup, or snapshot, at the volume level, in which the volume remains in an available state during the backup. The backup-archive client delays the start of the volume snapshot until volume activity is idle for a specified amount of time, thus allowing for a more stable snapshot.

Online Image Backup

Efficient tape utilization and reduced restore times (fewer tapes).

As data expires and leaves unused space on the tape, the remaining data can be moved, allowing the empty space to be reused.

Reclamation

Reduces network traffic and improves processor utilization by minimizing data transfer time. More efficient use of storage space.

Only files that have changed are candidates to be backed up (incremental backups).

Progressive Backup Methodology

Solution ProvidedDescriptionFeature

Page 634: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

B-4 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Appendix B: Problem Determination

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Problem Determination

5

Problem Determination Objectives

To be successful, you should:

•Learn the steps for problem determination when the TSM server has experienced a failure.

•Understand how the suggestions made for volume placement, mirroring, and backup of TSM provide for TSM recovery.

•Learn how to manually recover the TSM server in the event of a catastrophic failure. Disaster Recovery Manager can automate this process; an instructor-led class is available.

•Understand how to recover in the event of database failure, data corruption on a volume, or volume destruction.

6

Steps for Problem Determination

?? ?????? ??

Consider these questions while diagnosing a problem:

• What is the problem?• Where did it occur?• When did it begin?• What action was being performed?• Were any messages issued?• How frequently does the error occur?

Follow these steps:• Verify that devices are still accessible to the system and to TSM.• Search the online Knowledge Base at IBM.com to match error messages or problem descriptions.

• Test other operations to better determine the scope and impact of the problem. Testing may also help determine if a specific sequence of events causes the problem.

Page 635: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One B-5

• • •••

Appendix B: Problem Determination

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Diagnosing the Problem

7

Considerations when Diagnosing the Problem

• There are many areas to look at when a problem occurs.• Movement of data starts at the disk on the client and

moves to either a disk or tape media on the server.• Data moves through many components (clients,

networks, servers, and storage devices). • Bottlenecks can occur in any of these components.• Points of consideration:

– Drivers– Adapters– Network issues– Memory– Routers– Other applications

8

Diagnosing a Client Problem

•Examine any error messages that were issued.

•Examine the server activity log messages for this session.

• Is this an error in communicating with the server?•Were client options changed?

•Were policy settings changed on the server?

• Is the client being run with the QUIET option?•Verify INCLUDE-EXCLUDE syntax and ordering.

•Was this the correct TSM server?• Identify when and where the problem occurs.

• If the problem can be duplicated, try to minimize the circumstances under which it can occur.

•Collect documentation.

Page 636: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

B-6 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Appendix B: Problem Determination

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Diagnosing the Problem, continued

9

Diagnosing a Server Problem

•Check the server activity log.

•Check HELP for TSM messages issued for the problem.

•Can the problem be duplicated?• Is the problem an error in reading or writing to a device?

•Have any server options or settings been changed?•Did a scheduled client operation fail?

•Did the server run out of space?

•Are connections by clients or administrators failing?•Collect documentation.

10

• Has the operating system changed?• Has the host bus adapter (HBA) or SCSI adapter connecting to the device been changed, updated, or replaced?

• Has the adapter firmware changed?• Has the cabling between the computer and device changed?

• Are any of the cable connections loose?• Has the device firmware changed?• Are there error messages in the system error log for this device?

• Has a device driver changed?

Hints and Tips for Libraries, Drives and Device Drivers Problem Diagnoses

Page 637: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One B-7

• • •••

Appendix B: Problem Determination

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

TSM Problem Determination Guide

The TSM Problem Determination Guide is full of very helpful information, which may provide answers to questions you have about TSM. You may be able to avoid having to call support if you refer to this guide first.

11

Problem Determination Guide

Page 638: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

B-8 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Appendix B: Problem Determination

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

12

Diagnosing a Problem Sample Page

Page 639: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One B-9

• • •••

Appendix B: Problem Determination

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

What To Do before Calling Support

13

What to Do before Calling Support

Review logs:ACTLOGEVENTLOGDSMERROR.LOGDSMSCHED.LOG

• Review the documentation for your operating system.• Review the Problem Determination Guide.• Check the IBM Tivoli Storage Manager Knowledge Base on the Web:

www-3.ibm.com/software/sysmgmt/products/support • Issue the query systeminfo command, when instructed by TSM Support,

and review the output file.

If you still need to call support, they will direct you in what information needs to be gathered. Use caution when issuing traces. Trace functions can require a lot of time and system resources.

14

Information to Gather for Support

Have the following information ready when you report a problem:• The Tivoli Storage Manager server version, release, modification, and

service level number. You can get this information by entering the query status command at the Tivoli Storage Manager command line.

• The Tivoli Storage Manager client version, release, modification, and service level number. You can get this information by entering dsmc at the command line.

• The communication protocol (for example, TCP/IP), version, and release number that you are using.

• The activity that you were doing when the problem occurred, listing the steps that you followed before the problem occurred.

• A description of the symptom or error encountered.• The exact text of any error messages relating to the symptom or error

encountered.• Error logs or other related documentation for the problem.

Use the query actlog server command and collect the server activity log messages starting 30 minutes prior to the problem until 30 minutes after the problem.

Page 640: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

B-10 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Appendix B: Problem Determination

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Additional Resources

15

Reporting a ProblemYou can contact IBM Customer Support in one of the following ways:

• Visit the Tivoli Storage Manager technical support Web site.

• Submit a problem management record (PMR) electronically at IBMLink.

• Submit a problem management record (PMR) electronically at IBM Software Support.

• Customers in the United States can call 1-800-IBM-SERV (1-800-426-7378).

• International customers should consult the Web site for customer support telephone numbers.

• Hearing-impaired customers should visit the TDD/TTY Voice Relay Services and Accessibility Center Web site.

• You can also review the IBM Software Support Guide.When you contact IBM Software Support, be prepared to provide identification information for your company so that support personnel can readily assist you. Company identification information is needed to register for online support available on the Web site.

16

Additional Resources for TSM

• Education• Documentation shipped with Tivoli Storage Manager• Other Publications• IBM Web sites• User Groups

Welcometo TSM

Training.

Page 641: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One B-11

• • •••

Appendix B: Problem Determination

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Education

17

Education

The following slides show the IBM Tivoli Storage Manager 5.4 Curriculum Roadmap, which shows the courses in the order they should be taken.Check the IBM Web site for the availability of the courses.

Welcometo TSM

Training.

From the IBM home page, select:Training

TivoliStorage and Optimization

18

Where to Find More InformationTraining Roadmaps Onlinehttp://www-306.ibm.com/software/tivoli/education/

Page 642: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

B-12 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Appendix B: Problem Determination

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Education Roadmaps

19

IBM Tivoli Storage Manager Training Roadmaps

Page 643: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One B-13

• • •••

Appendix B: Problem Determination

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Product Documentation

20

Documentation Included with IBM Tivoli Storage Manager 5.4

The publications shipped with IBM Tivoli Storage Manager 5.4 arealso available on the IBM Web site. For your convenience, the publications for AIX and Windows have been included on your Student Resources CD, as well.

Also included on your Student Resources CD:• Windows and AIX User Guides• RedBooks and RedPapers• Problem Determination Guide• Performance and Tuning Guide• Operational Reporting presentation• Database, policy and storage pool planning forms• Technical Field Guides

21

Product Manuals on the Webhttp://publib.boulder.ibm.com/infocenter/tivihelp/index.jsp

Page 644: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

B-14 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Appendix B: Problem Determination

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Other Publications and Product Web Sites

22

Other Publications

RedBooks:http://www.redbooks.ibm.com/Search for Tivoli Storage

Start with this RedBook:IBM Tivoli Storage Management Concepts

Tivoli Field Guides:http://www-306.ibm.com/software/sysmgmt/products/support/Field_Guides.html

23

TSM Information on the WebThe product Web site:

www.ibm.com/software/tivoli/products/storage-mgr/

IBM Tivoli Storage Manager Knowledge Base Web site:www-3.ibm.com/software/sysmgmt/products/support

Other useful Web sites (these forums are not maintained by IBM):www.adsm.org and http://search.adsm.org

Page 645: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

©Copyright IBM Corp. 2007 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One B-15

• • •••

Appendix B: Problem Determination

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

TSM Support

24

Tivoli Support Web Page

IBM Tivoli Storage Manager Version Release Information:http://www.ibm.com/software/sysmgmt/products/support/IBMTivoliStorageManagerExtendedEdition.html

25

IBM Support Assistant

IBM Support Assistant (ISA) is available in the download section at the TSM Support page:http://www-306.ibm.com/software/sysmgmt/products/support/IBMTivoliStorageManager.html

Page 646: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

B-16 IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Appendix B: Problem Determination

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Additional Assistance

26

TSM Basic Concepts Poster

Free IBM Tivoli Storage Manager Concepts Poster Version 5.3.2 (SC32-9464-00)

Orderable from the IBM Web site. Go to: Software > Tivoli > Solutions >Storage and Optimization.

27

User Groups

www.tivoli-ug.org

Page 647: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

• • • ••

I

Tivoli Professional Certification

“As an individual, becoming a Tivoli Certified Professional has helped me

to progress further in my career and gain job satisfaction. To the company,

it has helped build up the confidence and trust to the customer. At the end of

the day, you win, the company wins, and the customer wins.”

Special Offer For Having Taken This Course

For having completed this course, you are entitled to a 15% discount on your next exam at any Thomson Prometric or Pearson VUE testing center. Use this special promotion code when registering online or by phone to get the discount: 15CSWR. (This offer may be withdrawn. Please check with the testing center as described later in this section.)

Why Get Certified?

• It is a demonstration of value to your customer through increased overall performance with shorter time cycles to deliver applications.

• Technical certifications assist technical professionals to obtain more visibility to potential customers.

• In tough economic times it is good to be able to make yourself stand out from your competition.

What Is Role-based Certification?

All IBM certifications are based on job roles. They focus on a job a person must do with a product, not just the product’s features and functions. The two primary job roles used by Tivoli Professional Certification are the IBM Certified Deployment Professional and the IBM Certified Advanced Deployment Professional.

Page 648: Ibm tivoli storage manager v5.4 implementation and administration part one tm506inst

II IBM Tivoli Storage Manager 5.4 Implementation and Administration, Part One ©Copyright IBM Corp. 2007

• • • ••

Tivoli Professional Certification

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

When Should I Attempt a Certification Exam?

After completing this course, you should review the test objectives and sample test on the IBM Certification Web site (URL follows) that correspond with the exam you wish to take. A general guideline is to play a major role in at least two product deployments, getting as much hands-on experience working with the product as possible before you attempt the exam. Exam questions are written by experts in the deployment of this product and most of the material covered is taken from their experience working with the product in real world commercial environments. You will find supplemental readings and other study material on the Web site as well.

Where Can I Take a Certification Exam and How Much Do They Cost?

All IBM certification exams are available at Thomson Prometric and Pearson VUE testing centers worldwide. In addition, testing is offered at a discount or for free at many IBM conferences and events, including many Tivoli User Group (TUG) meetings. Exam costs vary from country to country. Please see the Thomson Prometric or Pearson VUE Web sites for the exact cost at the testing center you plan to use.

Where Can I Get More Information?

• The Tivoli Certification Programhttp://www.ibm.com/certify/ or contact us at [email protected]

• Tivoli Certification Study Guideshttp://www.redbooks.ibm.com (search for “certification study guide”)

• Tivoli Support Technical Exchange Callshttp://www.ibm.com/software/sysmgmt/products/support/supp_tech_exch.html

• Tivoli Certification Study GroupsSend an e-mail inquiry to [email protected]

• Thomson Prometric testing centershttp://www.prometric.com

• Pearson VUE testing centershttp://www.vue.com/ibm/