publib.boulder.ibm.compublib.boulder.ibm.com/tividd/td/smhpn/gc32-0772-01/en_us/pdf/… · set up...

713
IBM Tivoli Storage Manager for HP-UX Administrator’s Guide Version 5.2 GC32-0772-01

Upload: others

Post on 01-Oct-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

  • IBM Tivoli Storage Managerfor HP-UX

    Administrator’s GuideVersion 5.2

    GC32-0772-01

    ���

  • IBM Tivoli Storage Managerfor HP-UX

    Administrator’s GuideVersion 5.2

    GC32-0772-01

    ���

  • Note!Before using this information and the product it supports, be sure to read the general information under Appendix C,“Notices”, on page 649.

    Second Edition (June 2003)

    This edition applies to Version 5.2 of the IBM Tivoli Storage Manager for HP-UX (product numbers 5698-ISM,5698-ISX, 5698-HSM, 5698-SAN) and to any subsequent releases until otherwise indicated in new editions ortechnical newsletters.

    Changes since the March 2002 edition are marked with a vertical bar ( | ) in the left margin. Ensure that you areusing the correct edition for the level of the product.

    Order publications through your sales representative or the branch office serving your locality.

    Your feedback is important in helping to provide the most accurate and high-quality information. If you have anycomments about this book or any other IBM Tivoli Storage Manager documentation, please see “ContactingCustomer Support” on page xv.

    © Copyright International Business Machines Corporation 1993, 2003. All rights reserved.US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contractwith IBM Corp.

    ||

  • Contents

    Preface . . . . . . . . . . . . . . xiiiWho Should Read This Publication . . . . . . xiiiWhat You Should Know before Reading ThisPublication . . . . . . . . . . . . . . xiiiConventions Used in This Guide . . . . . . . xiiiIBM Tivoli Storage Manager Publications . . . . xiiiIBM Tivoli Storage Manager Web Site . . . . . xvIBM International Technical Support CenterPublications (Redbooks™) . . . . . . . . . xvContacting Customer Support . . . . . . . . xv

    Reporting a Problem . . . . . . . . . . xviTranslations . . . . . . . . . . . . . . xvi

    Changes for Tivoli Storage ManagerVersion 5 . . . . . . . . . . . . . xviiTechnical Changes for Version 5 Release 2—June2003 . . . . . . . . . . . . . . . . xviiTechnical Changes for Version 5 Release 1—March2002 . . . . . . . . . . . . . . . . . xx

    Part 1. IBM Tivoli Storage ManagerBasics . . . . . . . . . . . . . . . 1

    Chapter 1. Introducing IBM TivoliStorage Manager . . . . . . . . . . . 3How IBM Tivoli Storage Manager Stores Client Data 5

    Options for Data Protection . . . . . . . . 8How Data Moves to Server Storage . . . . . 14Consolidating Backed-up Data for Clients . . . 15

    How the Server Manages Storage . . . . . . . 15IBM Tivoli Storage Manager Device Support . . 15Migrating Data through the Storage Hierarchy . 16Removing Expired Data . . . . . . . . . 16

    Configuring and Maintaining the Server . . . . . 17Interfaces to IBM Tivoli Storage Manager . . . 17Customizing the Server with the Server OptionsFile . . . . . . . . . . . . . . . . 18Configuring and Managing Server Storage . . . 18Managing Client Operations . . . . . . . . 21Maintaining the Server . . . . . . . . . 25Protecting the Server . . . . . . . . . . 27

    Part 2. Configuring and ManagingServer Storage . . . . . . . . . . 29

    Chapter 2. Introducing Storage Devices 31How to Use the Server Storage Chapters . . . . 31IBM Tivoli Storage Manager Storage Devices . . . 32IBM Tivoli Storage Manager Storage Objects . . . 32

    Libraries . . . . . . . . . . . . . . 32Drives . . . . . . . . . . . . . . . 34Device Class . . . . . . . . . . . . . 34Library, Drive, and Device Class . . . . . . 35

    Storage Pool and Storage Pool Volume . . . . 36Data Movers . . . . . . . . . . . . . 37Path . . . . . . . . . . . . . . . . 37Server . . . . . . . . . . . . . . . 38

    IBM Tivoli Storage Manager Volumes. . . . . . 38The Volume Inventory for an Automated Library 39

    Planning for Server Storage . . . . . . . . . 39Selecting a Device Configuration . . . . . . . 40

    Devices on a Local Area Network . . . . . . 40Devices on a Storage Area Network . . . . . 40LAN-Free Data Movement . . . . . . . . 42Network-Attached Storage . . . . . . . . 43

    How IBM Tivoli Storage Manager Mounts andDismounts Removable Media . . . . . . . . 45How IBM Tivoli Storage Manager Uses and ReusesRemovable Media . . . . . . . . . . . . 46Configuring Devices . . . . . . . . . . . 49

    Mapping Devices to Device Classes . . . . . 49Mapping Storage Pools to Device Classes andDevices . . . . . . . . . . . . . . . 50

    Chapter 3. Using Magnetic DiskDevices . . . . . . . . . . . . . . 53Configuring Disk Devices . . . . . . . . . 53

    Configuring Random Access Volumes on DiskDevices . . . . . . . . . . . . . . . 54Configuring FILE Sequential Volumes on DiskDevices . . . . . . . . . . . . . . . 55

    Varying Disk Volumes Online or Offline . . . . . 55Using Cache . . . . . . . . . . . . . . 56Freeing Space on Disk . . . . . . . . . . . 56Specifying Scratch FILE Volumes . . . . . . . 56Using FILE Volumes for Database Backups andExport Operations . . . . . . . . . . . . 57

    Chapter 4. Attaching Devices to theServer System . . . . . . . . . . . 59Devices Supported by Tivoli Storage Manager . . . 59Attaching a Manual Drive . . . . . . . . . 60Attaching an Automated Library Device . . . . . 60

    Setting the Library Mode . . . . . . . . . 61Installing and Configuring Device Drivers . . . . 61

    Selecting Device Drivers . . . . . . . . . 62Migrating to the tsmscsi Device Driver . . . . 63Installing Device Drivers for IBM SCSI TapeDevices . . . . . . . . . . . . . . . 66Installing Device Drivers for IBM 349X Libraries 66Determining Device Special File Names forDevices Not Using tsmscsi . . . . . . . . 66

    Chapter 5. Configuring Storage Devices 69Device Configuration Overview . . . . . . . 70Mixing Device Types in Libraries . . . . . . . 70Server Options that Affect Storage Operations . . . 71Configuring SCSI Libraries used by One Server . . 72

    © Copyright IBM Corp. 1993, 2003 iii

    ||

    |||

    ||

  • Set up the Devices on the Server System. . . . 72Define the Devices to IBM Tivoli StorageManager . . . . . . . . . . . . . . 72Check in and Label Library Volumes . . . . . 76Using the Devices to Store Client Data . . . . 77

    Configuring SCSI Libraries Shared Among Serverson a SAN . . . . . . . . . . . . . . . 77

    Setting up Server Communications . . . . . 77Set up the Device on the Server Systems and theSAN. . . . . . . . . . . . . . . . 77Setting up the Library Manager Server . . . . 78Setting up the Library Client Servers . . . . . 79Using the Devices to Store Client Data . . . . 80

    Configuring IBM 3494 Libraries . . . . . . . 80Categories in an IBM 3494 Library. . . . . . 80Enabling Support for IBM 3590 Drives in Existing3494 Libraries . . . . . . . . . . . . 81

    Configuring an IBM 3494 Library for Use by OneServer . . . . . . . . . . . . . . . . 82

    Set up the Device on the Server System . . . . 82Define the Devices to IBM Tivoli StorageManager . . . . . . . . . . . . . . 82Check in and Label Library Volumes . . . . . 86Using the Devices to Store Client Data . . . . 87

    Sharing an IBM 3494 Library Among Servers . . . 87Setting up Server Communications . . . . . 87Set up the Device on the Server System and theSAN. . . . . . . . . . . . . . . . 87Setting up the Library Manager Server . . . . 88Setting up the Library Client Servers . . . . . 88Using the Devices to Store Client Data . . . . 89

    Migrating an IBM 3494 Library to Control by aLibrary Manager . . . . . . . . . . . . 89Sharing an IBM 3494 Library by Static Partitioningof Drives . . . . . . . . . . . . . . . 90

    Set up the Device on the Servers . . . . . . 91Define the Devices to IBM Tivoli StorageManager ASTRO . . . . . . . . . . . 91Define the Devices to Tivoli Storage ManagerJUDY . . . . . . . . . . . . . . . 92

    Configuring Removable File Devices . . . . . . 94Example of Removable File Support . . . . . 94Labeling Requirements for Removable FilesDevices . . . . . . . . . . . . . . . 95

    Configuring Libraries Controlled by Media ManagerPrograms . . . . . . . . . . . . . . . 96

    Setting up Tivoli Storage Manager to Work withan External Media Manager . . . . . . . . 96Managing Externally Controlled IBM TivoliStorage Manager Media . . . . . . . . . 97Using the Devices to Store Client Data . . . . 98

    Configuring Manually Mounted Devices . . . . 98Set up the Device on the Server System . . . . 98Define the Device to IBM Tivoli Storage Manager 98Label Volumes . . . . . . . . . . . . 99Using the Devices to Store Client Data . . . . 100

    Configuring IBM Tivoli Storage Manager forLAN-free Data Movement . . . . . . . . . 100Configuring IBM Tivoli Storage Manager forNDMP Operations. . . . . . . . . . . . 101Defining Devices and Paths . . . . . . . . 101

    Defining Libraries . . . . . . . . . . . 101Defining Drives . . . . . . . . . . . 102Defining Data Movers . . . . . . . . . 103Defining Paths . . . . . . . . . . . . 104

    Recovering from Device Changes on the SAN . . 105

    Chapter 6. Using NDMP forOperations with NAS File Servers . . 107Requirements . . . . . . . . . . . . . 107Interfaces Used for NDMP Operations . . . . . 109Data Formats for Backup Operations Using NDMP 109Planning for NDMP Operations . . . . . . . 109

    Planning for Tape Libraries and Drives used inNDMP Operations. . . . . . . . . . . 109Determining Where to Attach the Tape LibraryRobotics . . . . . . . . . . . . . . 110Determining How to Use the Drives in theLibrary . . . . . . . . . . . . . . 113Planning for File-Level Restore . . . . . . 114

    Configuring Tivoli Storage Manager for NDMPOperations . . . . . . . . . . . . . . 116

    Step 1. Setting Up Tape Libraries for NDMPOperations . . . . . . . . . . . . . 116Step 2. Configuring Tivoli Storage ManagerPolicy for NDMP Operations . . . . . . . 118Step 3. Registering NAS Nodes with the TivoliStorage Manager Server . . . . . . . . . 119Step 4. Defining a Data Mover for the NAS FileServer . . . . . . . . . . . . . . . 119Step 5. Defining a Path to a Library . . . . . 120Step 6. Defining Tape Drives and Paths forNDMP Operations. . . . . . . . . . . 121Step 7. Labeling Tapes and Checking Tapes intothe Library . . . . . . . . . . . . . 121Step 8. Scheduling NDMP Operations . . . . 121

    Backing Up and Restoring NAS File Servers UsingNDMP . . . . . . . . . . . . . . . 122

    Performing File-Level Restore . . . . . . . 122Managing NDMP Operations . . . . . . . . 123

    Managing NAS File Server Nodes . . . . . 123Managing Data Movers Used in NDMPOperations . . . . . . . . . . . . . 124Dedicating a Tivoli Storage Manager Drive toNDMP Operations. . . . . . . . . . . 124Managing Storage Pools for NDMP Operations 125Managing Table of Contents . . . . . . . 125

    Chapter 7. Managing RemovableMedia Operations . . . . . . . . . 127Preparing Removable Media . . . . . . . . 127

    Labeling Removable Media Volumes . . . . 128Checking New Volumes into a Library . . . . 131Special Considerations for VolSafe Volumes . . 134

    Managing the Volume Inventory . . . . . . . 134Controlling Access to Volumes . . . . . . 135Reusing Tapes in Storage Pools . . . . . . 135Setting Up a Tape Rotation . . . . . . . . 136Reusing Volumes Used for Database Backupsand Export Operations . . . . . . . . . 137Maintaining a Supply of Scratch Volumes . . . 137

    iv IBM Tivoli Storage Manager for HP-UX: Administrator’s Guide

    |||||||

    |||

    ||

    ||

    |||

    ||

    ||

    ||

    ||

  • Managing Volumes in Automated Libraries . . . 138Changing the Status of a Volume . . . . . . 138Removing Volumes from a Library . . . . . 139Returning Volumes to a Library . . . . . . 139Managing a Full Library. . . . . . . . . 139Auditing a Library’s Volume Inventory. . . . 140Maintaining a Supply of Scratch Volumes in anAutomated Library . . . . . . . . . . 141Performing Operations with Shared Libraries 141

    Managing Server Requests for Media . . . . . 142Using the Administrative Client for MountMessages . . . . . . . . . . . . . . 142Mount Operations for Manual Libraries . . . 143Handling Messages for Automated Libraries 143Requesting Information about Pending OperatorRequests . . . . . . . . . . . . . . 143Replying to Operator Requests . . . . . . 143Canceling an Operator Request . . . . . . 144Responding to Requests for Volume Check-In 144Determining Which Volumes Are Mounted . . 145Dismounting an Idle Volume . . . . . . . 145

    Managing Libraries . . . . . . . . . . . 145Requesting Information About Libraries . . . 145Updating Libraries . . . . . . . . . . 145Deleting Libraries . . . . . . . . . . . 146

    Managing Drives . . . . . . . . . . . . 147Requesting Information about Drives . . . . 147Updating Drives . . . . . . . . . . . 147Cleaning Drives . . . . . . . . . . . 148Deleting Drives. . . . . . . . . . . . 152

    Managing Paths . . . . . . . . . . . . 152Requesting Information About Paths . . . . 152Updating Paths. . . . . . . . . . . . 152Deleting Paths . . . . . . . . . . . . 152

    Managing Data Movers . . . . . . . . . . 153Requesting Information About Data Movers . . 153Updating Data Movers . . . . . . . . . 153Deleting Data Movers . . . . . . . . . 153

    Handling Tape Alert Messages . . . . . . . 153

    Chapter 8. Defining Device Classes 155Defining and Updating Device Classes forSequential Media . . . . . . . . . . . . 155

    Defining and Updating Tape Device Classes . . 157Defining and Updating GENERICTAPE DeviceClasses . . . . . . . . . . . . . . 160Defining and Updating OPTICAL DeviceClasses . . . . . . . . . . . . . . 161Defining and Updating REMOVABLEFILEDevice Classes . . . . . . . . . . . . 161Defining and Updating FILE Device Classes . . 162Defining and Updating SERVER Device Classes 164Defining and Updating VOLSAFE DeviceClasses . . . . . . . . . . . . . . 165

    Requesting Information about a Device Class. . . 166Deleting a Device Class . . . . . . . . . . 167How Tivoli Storage Manager Fills Volumes . . . 167

    Using Data Compression . . . . . . . . 168Tape Volume Capacity and Data Compression 168

    Chapter 9. Managing Storage Poolsand Volumes. . . . . . . . . . . . 171Overview: Storage Pools. . . . . . . . . . 172

    Primary Storage Pool . . . . . . . . . . 172Copy Storage Pool. . . . . . . . . . . 173An Example of Server Storage . . . . . . . 173Defining or Updating Primary Storage Pools 174Task Tips for Storage Pools . . . . . . . . 178Simultaneous Write to a Primary Storage Pooland Copy Storage Pools . . . . . . . . . 179

    Overview: Volumes in Storage Pools . . . . . 180Random Access Storage Pool Volumes . . . . 180Sequential Access Storage Pool Volumes . . . 180Preparing Volumes for Random Access StoragePools . . . . . . . . . . . . . . . 182Preparing Volumes for Sequential AccessStorage Pools . . . . . . . . . . . . 182Updating Storage Pool Volumes . . . . . . 183Access Modes for Storage Pool Volumes . . . 184

    Overview: The Storage Pool Hierarchy . . . . . 186Setting Up a Storage Pool Hierarchy. . . . . 186How the Server Groups Files before Storing . . 188Where the Files Are Stored . . . . . . . . 188How the Server Stores Files in a StorageHierarchy . . . . . . . . . . . . . 189Using Copy Storage Pools to Back Up a StorageHierarchy . . . . . . . . . . . . . 190Using the Hierarchy to Stage Client Data fromDisk to Tape. . . . . . . . . . . . . 190

    Migration of Files in a Storage Pool Hierarchy . . 191Migration for Disk Storage Pools . . . . . . 192Migration for Sequential Access Storage Pools 197Migration and Copy Storage Pools . . . . . 198

    Using Cache on Disk Storage Pools . . . . . . 199How the Server Removes Cached Files . . . . 199Effect of Caching on Storage Pool Statistics . . 200

    Keeping a Client’s Files Together: Collocation . . 200The Effects of Collocation on Operations . . . 201How the Server Selects Volumes withCollocation Enabled . . . . . . . . . . 202How the Server Selects Volumes withCollocation Disabled . . . . . . . . . . 203Turning Collocation On or Off. . . . . . . 204Collocation on Copy Storage Pools . . . . . 204

    Reclaiming Space in Sequential Access StoragePools . . . . . . . . . . . . . . . . 205

    How IBM Tivoli Storage Manager ReclamationWorks . . . . . . . . . . . . . . . 205Choosing a Reclamation Threshold . . . . . 207Reclaiming Volumes in a Storage Pool with OneDrive . . . . . . . . . . . . . . . 208Reclamation of Tape Volumes with HighCapacity . . . . . . . . . . . . . . 208Reclamation of Volumes with the Device Typeof SERVER . . . . . . . . . . . . . 209Reclamation for Copy Storage Pools . . . . . 209How Collocation Affects Reclamation . . . . 211

    Estimating Space Needs for Storage Pools . . . . 212Estimating Space Needs in Random AccessStorage Pools . . . . . . . . . . . . 212

    Contents v

    ||

    |||

    |||

  • Estimating Space Needs in Sequential AccessStorage Pools . . . . . . . . . . . . 214

    Monitoring Storage Pools and Volumes. . . . . 214Monitoring Space Available in a Storage Pool 214Monitoring the Use of Storage Pool Volumes 216Monitoring Migration Processes . . . . . . 222Monitoring the Use of Cache Space on DiskStorage . . . . . . . . . . . . . . 224Requesting Information on the Use of StorageSpace . . . . . . . . . . . . . . . 225

    Moving Files from One Volume to Another Volume 228Moving Data to Other Volumes in the SameStorage Pool . . . . . . . . . . . . . 229Moving Data to Another Storage Pool . . . . 229Moving Data from an Offsite Volume in a CopyStorage Pool . . . . . . . . . . . . . 229Procedure for Moving Data. . . . . . . . 230

    Moving Data for a Client Node . . . . . . . 232Moving Data for All File Spaces for One orMore Nodes . . . . . . . . . . . . . 232Moving Data for Selected File Spaces for OneNode . . . . . . . . . . . . . . . 233Requesting Information about the DataMovement Process . . . . . . . . . . 234Preventing Incomplete Data MovementOperations . . . . . . . . . . . . . 234

    Renaming a Storage Pool . . . . . . . . . 235Defining a Copy Storage Pool . . . . . . . . 235

    Example: Defining a Copy Storage Pool . . . 236Comparing Primary and Copy Storage Pools 236

    Deleting a Storage Pool . . . . . . . . . . 237Deleting Storage Pool Volumes . . . . . . . 238

    Deleting an Empty Storage Pool Volume . . . 239Deleting a Storage Pool Volume with Data . . 239

    Part 3. Managing ClientOperations . . . . . . . . . . . . 241

    Chapter 10. Adding Client Nodes . . . 243Overview of Clients and Servers as Nodes . . . 243Installing Client Node Software . . . . . . . 244Registering Nodes with the Server . . . . . . 244

    Accepting Default Closed Registration orEnabling Open Registration . . . . . . . 244Registering Nodes with Client Options Sets . . 246Registering a Network-attached Storage FileServer as a Node . . . . . . . . . . . 246Registering a Source Server as a Node on aTarget Server . . . . . . . . . . . . 246Registering an Application ProgrammingInterface to the Server . . . . . . . . . 247

    Connecting Nodes with the Server . . . . . . 247Required Client Options . . . . . . . . . 248Non–Required Client Options . . . . . . . 248UNIX Client Options . . . . . . . . . . 248

    Methods for Creating or Updating a Client OptionsFile . . . . . . . . . . . . . . . . . 248

    Using a Text Editor . . . . . . . . . . 248Using the Client Configuration Wizard . . . . 249

    Comparing Network-Attached Nodes to LocalNodes . . . . . . . . . . . . . . . . 249Adding Clients from the Administrative CommandLine Client . . . . . . . . . . . . . . 250

    Enabling Open Registration . . . . . . . 250Configuring the Client Options File to Connectwith the Server . . . . . . . . . . . . 250Example: Register Three Client Nodes Using theAdministrative Command Line . . . . . . 250

    Chapter 11. Managing Client Nodes 253Managing Client Node Registration Techniques . . 253Managing Nodes . . . . . . . . . . . . 254

    Managing Client Nodes across a Firewall . . . 254Updating Client Node Information . . . . . 255Renaming Client Nodes . . . . . . . . . 255Locking and Unlocking Client Nodes . . . . 256Deleting Client Nodes . . . . . . . . . 256Displaying Information about Client Nodes . . 256Overview of Remote Access to WebBackup-Archive Clients . . . . . . . . . 257Managing Client Access Authority Levels . . . 259

    Managing File Spaces . . . . . . . . . . 261Client Nodes and File Spaces . . . . . . . 262Supporting Unicode-Enabled Clients . . . . 262Displaying Information about File Spaces . . . 270Moving Data for a Client Node . . . . . . 271Deleting File Spaces . . . . . . . . . . 271

    Managing Client Option Files . . . . . . . . 272Creating Client Option Sets on the Server . . . 272Managing Client Option Sets . . . . . . . 274

    Managing IBM Tivoli Storage Manager Sessions 275Displaying Information about IBM TivoliStorage Manager Sessions . . . . . . . . 275Canceling an IBM Tivoli Storage ManagerSession . . . . . . . . . . . . . . 276When a Client Session is AutomaticallyCanceled . . . . . . . . . . . . . . 277Disabling or Enabling Access to the Server . . 278Managing Client Restartable Restore Sessions 278

    Managing IBM Tivoli Storage Manager Security 279The Server Console . . . . . . . . . . 280Administrative Authority and Privilege Classes 280Managing Access to the Server and Clients . . 282Managing IBM Tivoli Storage ManagerAdministrators . . . . . . . . . . . . 283Managing Levels of Administrative Authority 285Managing Passwords and Login Procedures . . 286

    Chapter 12. Implementing Policies forClient Data . . . . . . . . . . . . 289Basic Policy Planning. . . . . . . . . . . 290

    The Standard Policy . . . . . . . . . . 291Getting Users Started. . . . . . . . . . 292Changing Policy . . . . . . . . . . . 292File Expiration and Expiration Processing . . . 293

    Client Operations Controlled by Policy . . . . . 293Backup and Restore . . . . . . . . . . 294Archive and Retrieve . . . . . . . . . . 294Client Migration and Recall . . . . . . . 294

    vi IBM Tivoli Storage Manager for HP-UX: Administrator’s Guide

    ||

  • The Parts of a Policy . . . . . . . . . . . 296Relationships among Clients, Storage, andPolicy . . . . . . . . . . . . . . . 297

    More on Management Classes . . . . . . . . 299Contents of a Management Class . . . . . . 299Default Management Classes . . . . . . . 300The Include-Exclude List . . . . . . . . 300How Files and Directories Are Associated witha Management Class . . . . . . . . . . 302

    How IBM Tivoli Storage Manager Selects Files forPolicy Operations . . . . . . . . . . . . 304

    Incremental Backup . . . . . . . . . . 304Selective Backup . . . . . . . . . . . 306Logical Volume Backup . . . . . . . . . 306Archive . . . . . . . . . . . . . . 307Automatic Migration from a Client Node . . . 307

    How Client Migration Works with Backup andArchive . . . . . . . . . . . . . . . 308Creating Your Own Policies . . . . . . . . 308

    Example: Sample Policy Objects . . . . . . 309Defining and Updating a Policy Domain . . . 310Defining and Updating a Policy Set . . . . . 311Defining and Updating a Management Class 312Defining and Updating a Backup Copy Group 313Defining and Updating an Archive Copy Group 318Assigning a Default Management Class . . . 320Validating and Activating a Policy Set . . . . 320

    Assigning Client Nodes to a Policy Domain . . . 322Running Expiration Processing to Delete ExpiredFiles . . . . . . . . . . . . . . . . 322

    Running Expiration Processing Automatically 322Using Commands and Scheduling to ControlExpiration Processing. . . . . . . . . . 323Additional Expiration Processing with DisasterRecovery Manager . . . . . . . . . . 323

    Configuring Policy for Specific Cases . . . . . 323Configuring Policy for Direct-to-Tape Backups 323Configuring Policy for Tivoli Storage ManagerApplication Clients . . . . . . . . . . 324Policy for Logical Volume Backups . . . . . 324Configuring Policy for NDMP Operations . . . 326Policy for IBM Tivoli Storage Manager Serversas Clients. . . . . . . . . . . . . . 326Setting Policy to Enable Point-in-Time Restorefor Clients . . . . . . . . . . . . . 327

    Distributing Policy Using Enterprise Configuration 327Querying Policy . . . . . . . . . . . . 328

    Querying Copy Groups . . . . . . . . . 328Querying Management Classes . . . . . . 329Querying Policy Sets . . . . . . . . . . 329Querying Policy Domains . . . . . . . . 330

    Deleting Policy . . . . . . . . . . . . . 330Deleting Copy Groups . . . . . . . . . 330Deleting Management Classes . . . . . . . 331Deleting Policy Sets . . . . . . . . . . 331Deleting Policy Domains . . . . . . . . 331

    Chapter 13. Managing Data for ClientNodes . . . . . . . . . . . . . . 333Validating a Node’s Data . . . . . . . . . 333

    Performance Considerations for Data Validation 334

    Validating a Node’s Data During a ClientSession . . . . . . . . . . . . . . 334

    Creating and Using Client Backup Sets . . . . . 334Generating Client Backup Sets on the Server 335Restoring Backup Sets from a Backup-ArchiveClient . . . . . . . . . . . . . . . 336Moving Backup Sets to Other Servers . . . . 337Managing Client Backup Sets . . . . . . . 337

    Enabling Clients to Use Subfile Backup. . . . . 340Example of Subfile Backups . . . . . . . 340Setting Up Clients to Use Subfile Backup . . . 341Managing Subfile Backups . . . . . . . . 341

    Optimizing Restore Operations for Clients. . . . 342Environment Considerations . . . . . . . 343Restoring Entire File Systems . . . . . . . 343Restoring Parts of File Systems . . . . . . 343Restoring Databases for Applications . . . . 344Restoring Files to a Point in Time . . . . . 344Concepts for Client Restore Operations . . . . 345

    Chapter 14. Scheduling Operations forClient Nodes. . . . . . . . . . . . 349Prerequisites to Scheduling Operations . . . . . 349Scheduling a Client Operation. . . . . . . . 350

    Defining Client Schedules . . . . . . . . 350Associating Client Nodes with Schedules . . . 351Starting the Scheduler on the Clients . . . . 351Displaying Schedule Information . . . . . . 352

    Creating Schedules for Running Command Files 353Updating the Client Options File to AutomaticallyGenerate a New Password . . . . . . . . . 353Comparing IBM Tivoli Storage ManagerScheduling Across Operating Systems andComponents. . . . . . . . . . . . . . 354Commands for Scheduling Client Operations . . . 355

    Chapter 15. Managing Schedules forClient Nodes. . . . . . . . . . . . 357Managing IBM Tivoli Storage Manager Schedules 357

    Verifying that the Schedule Ran . . . . . . 357Adding New Schedules . . . . . . . . . 358Copying Existing Schedules . . . . . . . 358Modifying Schedules . . . . . . . . . . 358Deleting Schedules . . . . . . . . . . 358Displaying Information about Schedules . . . 359

    Managing Node Associations with Schedules. . . 359Adding New Nodes to Existing Schedules. . . 359Moving Nodes from One Schedule to Another 359Displaying Nodes Associated with Schedules 360Removing Nodes from Schedules. . . . . . 360

    Managing Event Records . . . . . . . . . 360Displaying Information about Scheduled Events 360Managing Event Records in the Server Database 361

    Managing the Throughput of ScheduledOperations . . . . . . . . . . . . . . 362

    Modifying the Default Scheduling Mode . . . 362Specifying the Schedule Period for IncrementalBackup Operations . . . . . . . . . . 364Balancing the Scheduled Workload for theServer . . . . . . . . . . . . . . . 365

    Contents vii

    ||

    ||||||||||||||

  • Controlling How Often Client Nodes Contactthe Server . . . . . . . . . . . . . 367

    Specifying One-Time Actions for Client Nodes . . 368Determining How Long the One-Time ScheduleRemains Active. . . . . . . . . . . . 369

    Part 4. Maintaining the Server . . . 371

    Chapter 16. Managing ServerOperations . . . . . . . . . . . . 373Licensing IBM Tivoli Storage Manager . . . . . 373

    Registering Licensed Features . . . . . . . 374Saving Your Licenses . . . . . . . . . . 376Monitoring Licenses . . . . . . . . . . 377

    Starting and Halting the Server . . . . . . . 377Starting the Server. . . . . . . . . . . 377Halting the Server . . . . . . . . . . . 381

    Moving the IBM Tivoli Storage Manager Server 381Changing the Date and Time on the Server . . . 382Managing Server Processes . . . . . . . . . 382

    Requesting Information about Server Processes 384Canceling Server Processes . . . . . . . . 384Preemption of Client or Server Operations . . 384

    Setting the Server Name. . . . . . . . . . 385Adding or Updating Server Options. . . . . . 386

    Adding or Updating a Server Option withoutRestarting the Server . . . . . . . . . . 386

    Automatic Tuning of Server Options . . . . . 387Getting Help on Commands and Error Messages 387

    Chapter 17. Automating ServerOperations . . . . . . . . . . . . 389Automating a Basic Administrative CommandSchedule . . . . . . . . . . . . . . . 389

    Defining the Schedule . . . . . . . . . 390Verifying the Schedule . . . . . . . . . 390

    Tailoring Schedules . . . . . . . . . . . 391Example: Defining and Updating anAdministrative Command Schedule . . . . . 392

    Copying Schedules . . . . . . . . . . . 393Deleting Schedules . . . . . . . . . . . 393Managing Scheduled Event Records . . . . . . 393

    Querying Events . . . . . . . . . . . 393Removing Event Records from the Database . . 394

    IBM Tivoli Storage Manager Server Scripts . . . 394Defining a Server Script . . . . . . . . . 395Managing Server Scripts. . . . . . . . . 398Running a Server Script . . . . . . . . . 400

    Using Macros . . . . . . . . . . . . . 401Writing Commands in a Macro . . . . . . 401Writing Comments in a Macro. . . . . . . 402Using Continuation Characters . . . . . . 402Using Substitution Variables in a Macro . . . 403Running a Macro . . . . . . . . . . . 403Controlling Command Processing in a Macro 404

    Chapter 18. Managing the Databaseand Recovery Log . . . . . . . . . 407

    How IBM Tivoli Storage Manager ProcessesTransactions . . . . . . . . . . . . . . 408

    Performance Considerations: Transferring Filesas a Group between Client and Server . . . . 408

    How IBM Tivoli Storage Manager Manages Space 410Available Space. . . . . . . . . . . . 410Assigned Capacity. . . . . . . . . . . 411Utilization . . . . . . . . . . . . . 411

    Estimating and Monitoring Database and RecoveryLog Space Requirements. . . . . . . . . . 411

    Monitoring the Database and Recovery Log . . 413Increasing the Size of the Database or RecoveryLog. . . . . . . . . . . . . . . . . 414

    Automating the Increase of the Database orRecovery Log . . . . . . . . . . . . 414Recovering When the Recovery Log Runs Outof Space . . . . . . . . . . . . . . 416Manually Increasing the Database or RecoveryLog. . . . . . . . . . . . . . . . 416

    Decreasing the Size of the Database or RecoveryLog. . . . . . . . . . . . . . . . . 418

    Step 1: Determining If Volumes Can Be Deleted 418Step 2: Reducing the Capacity of the Databaseor Recovery Log . . . . . . . . . . . 419Step 3: Deleting a Volume from the Database orRecovery Log . . . . . . . . . . . . 420

    Optimizing Database and Recovery LogPerformance. . . . . . . . . . . . . . 420

    Adjusting the Database Buffer Pool Size . . . 421Manually Adjusting the Database Buffer PoolSize . . . . . . . . . . . . . . . 421Adjusting the Recovery Log Buffer Pool Size 422Reorganizing the Database . . . . . . . . 423

    Chapter 19. Monitoring the IBM TivoliStorage Manager Server. . . . . . . 427Using IBM Tivoli Storage Manager Queries toDisplay Information . . . . . . . . . . . 427

    Requesting Information about IBM TivoliStorage Manager Definitions . . . . . . . 427Requesting Information about Client Sessions 428Requesting Information about Server Processes 429Requesting Information about Server Settings 430Querying Server Options . . . . . . . . 430Querying the System . . . . . . . . . . 431

    Using SQL to Query the IBM Tivoli StorageManager Database. . . . . . . . . . . . 432

    Using the ODBC Driver . . . . . . . . . 432Issuing SELECT Commands . . . . . . . 432Using SELECT Commands in IBM TivoliStorage Manager Scripts . . . . . . . . . 435Canceling a SELECT Command . . . . . . 436Controlling the Format of SELECT Results . . 436Querying the SQL Activity Summary Table . . 436Creating Output for Use by Another Application 437

    Using the IBM Tivoli Storage Manager Activity Log 437Requesting Information from the Activity Log 438Setting the Activity Log Retention Period . . . 438Changing the Size of the Activity Log . . . . 438

    Logging IBM Tivoli Storage Manager Events toReceivers . . . . . . . . . . . . . . . 439

    viii IBM Tivoli Storage Manager for HP-UX: Administrator’s Guide

    |||

  • Controlling Event Logging . . . . . . . . 440Logging Events to the IBM Tivoli StorageManager Server Console and Activity Log. . . 441Logging Events to a File Exit and a User Exit 442Logging Events to the Tivoli Enterprise Console 443Logging Events to an SNMP Manager . . . . 444Enterprise Event Logging: Logging Events toAnother Server . . . . . . . . . . . . 449Querying Event Logging . . . . . . . . 451

    Using Tivoli Decision Support . . . . . . . . 451Scheduling the Decision Support Loader withIBM Tivoli Storage Manager . . . . . . . 452

    Monitoring IBM Tivoli Storage ManagerAccounting Records . . . . . . . . . . . 452Daily Monitoring Scenario . . . . . . . . . 454

    Chapter 20. Working with a Networkof IBM Tivoli Storage ManagerServers . . . . . . . . . . . . . . 455Concepts for Working with a Network of Servers 455

    Configuring and Managing Servers: EnterpriseConfiguration . . . . . . . . . . . . 456Performing Tasks on Multiple Servers . . . . 457Central Monitoring . . . . . . . . . . 457Storing Data on Another Server . . . . . . 458Example Scenarios. . . . . . . . . . . 458

    Planning for Enterprise Administration . . . . . 460Setting Up Communications Among Servers . . . 460

    Setting Up Communications for EnterpriseConfiguration and Enterprise Event Logging . . 460Setting Up Communications for CommandRouting . . . . . . . . . . . . . . 463Updating and Deleting Servers . . . . . . 466

    Setting Up an Enterprise Configuration. . . . . 467Enterprise Configuration Scenario . . . . . 468Creating the Default Profile on a ConfigurationManager . . . . . . . . . . . . . . 471Creating and Changing Configuration Profiles 472Getting Information about Profiles . . . . . 479Subscribing to a Profile . . . . . . . . . 481Refreshing Configuration Information . . . . 485Returning Managed Objects to Local Control 486Setting Up Administrators for the Servers . . . 486Handling Problems with Synchronization ofProfiles . . . . . . . . . . . . . . 487Switching a Managed Server to a DifferentConfiguration Manager . . . . . . . . . 487Deleting Subscribers from a ConfigurationManager . . . . . . . . . . . . . . 488Renaming a Managed Server . . . . . . . 488

    Performing Tasks on Multiple Servers . . . . . 488Using IBM Tivoli Storage Manager EnterpriseLogon . . . . . . . . . . . . . . . 488Routing Commands . . . . . . . . . . 489Setting Up Server Groups . . . . . . . . 491Querying Server Availability . . . . . . . 493

    Using Virtual Volumes to Store Data on AnotherServer . . . . . . . . . . . . . . . . 493

    Setting Up Source and Target Servers for VirtualVolumes . . . . . . . . . . . . . . 495

    Performing Operations at the Source Server . . 496Reconciling Virtual Volumes and Archive Files 498

    Chapter 21. Exporting and ImportingData . . . . . . . . . . . . . . . 501Data That Can Be Exported and Imported . . . . 501

    Exporting Restrictions . . . . . . . . . 502Deciding What Information to Export . . . . 502Deciding When to Export . . . . . . . . 502

    Exporting Data Directly to Another Server. . . . 504Options to Consider Before Exporting . . . . 504Preparing to Export to Another Server forImmediate Import . . . . . . . . . . . 505Monitoring the Server-to-Server Export Process 507Exporting Administrator Information to AnotherServer . . . . . . . . . . . . . . . 507Exporting Client Node Information to AnotherServer . . . . . . . . . . . . . . . 507Exporting Policy Information to Another Server 508Exporting Server Data to Another Server . . . 508

    Exporting and Importing Data Using SequentialMedia Volumes. . . . . . . . . . . . . 508

    Preparing to Export or Import Data (SequentialMedia) . . . . . . . . . . . . . . 508Exporting Tasks . . . . . . . . . . . 510Importing Data from Sequential Media Volumes 513Monitoring Export and Import Processes . . . 522Exporting and Importing Data from VirtualVolumes . . . . . . . . . . . . . . 525

    Part 5. Protecting the Server . . . 527

    Chapter 22. Protecting andRecovering Your Server . . . . . . . 529Levels of Protection . . . . . . . . . . . 530Storage Pool Protection: An Overview . . . . . 530

    How Restore Processing Works . . . . . . 530How the Destroyed Volume Access Mode Works 531

    Database and Recovery Log Protection: AnOverview. . . . . . . . . . . . . . . 531

    Mirroring. . . . . . . . . . . . . . 532Database and Recovery Log Protection . . . . 532

    Snapshot Database Protection . . . . . . . . 534Mirroring the Database and Recovery Log. . . . 534

    Separating Disk Volume Copies On SeparatePhysical Disks When Mirroring the Databaseand Recovery Log . . . . . . . . . . . 535Defining Database or Recovery Log MirroredVolume Copies . . . . . . . . . . . . 535Specifying Mirroring and Database PageShadowing Server Options . . . . . . . . 536Requesting Information about MirroredVolumes . . . . . . . . . . . . . . 536

    Backing Up Storage Pools . . . . . . . . . 537Scheduling Storage Pool Backups. . . . . . 539Example: Simple Hierarchy with One CopyStorage Pool . . . . . . . . . . . . . 539Using Simultaneous Write to Copy StoragePools . . . . . . . . . . . . . . . 540Using Multiple Copy Storage Pools . . . . . 540

    Contents ix

    |||

    |||||||||||||||||||

    ||

    ||

    |||||

  • Delaying Reuse of Volumes for RecoveryPurposes . . . . . . . . . . . . . . 541

    Backing Up the Database . . . . . . . . . 541Defining Device Classes for Backups . . . . 542Setting the Recovery Log Mode . . . . . . 542Estimating the Size of the Recovery Log . . . 542Scheduling Database Backups . . . . . . . 543Automating Database Backups . . . . . . 544Saving the Volume History File . . . . . . 545Saving the Device Configuration File . . . . 547Saving the Server Options . . . . . . . . 550Saving the Database and Recovery LogInformation . . . . . . . . . . . . . 550Doing Full and Incremental Backups . . . . 550Doing Snapshot Database Backups . . . . . 550

    Recovering Your Server Using Database andStorage Pool Backups. . . . . . . . . . . 551

    Restoring a Database to a Point-in-Time . . . 552Restoring a Database to its Most Current State 555Restoring Storage Pools . . . . . . . . . 556

    Restoring Your Server Using Mirrored Volumes 558Restoring Storage Pool Volumes . . . . . . . 558

    What Happens When a Volume Is Restored . . 559When a Volume Restoration Is Incomplete. . . 560

    Auditing a Storage Pool Volume . . . . . . . 560What Happens When You Audit Storage PoolVolumes . . . . . . . . . . . . . . 561Data Validation During Audit VolumeProcessing . . . . . . . . . . . . . 562Auditing a Volume in a Disk Storage Pool. . . 566Auditing Multiple Volumes in a SequentialAccess Storage Pool . . . . . . . . . . 566Auditing a Single Volume in a Sequential AccessStorage Pool . . . . . . . . . . . . . 567Auditing Volumes by Date Written . . . . . 567Auditing Volumes in a Specific Storage Pool . . 567Defining a Schedule to Audit Volumes on aRegular Basis . . . . . . . . . . . . 567

    Correcting Damaged Files . . . . . . . . . 568Maintaining the Integrity of Files . . . . . . 568Restoring Damaged Files . . . . . . . . 568

    Backup and Recovery Scenarios . . . . . . . 569Protecting Your Database and Storage Pools . . 569Recovering to a Point-in-Time from a Disaster 571Recovering a Lost or Damaged Storage PoolVolume . . . . . . . . . . . . . . 573

    Restoring a Library Manager Database . . . . . 574Restoring a Library Client Database . . . . . . 575

    Chapter 23. Using Disaster RecoveryManager . . . . . . . . . . . . . 577Querying Defaults for the Disaster Recovery PlanFile . . . . . . . . . . . . . . . . . 578

    Specifying Defaults for the Disaster RecoveryPlan File . . . . . . . . . . . . . . 578Specifying Defaults for Offsite Recovery MediaManagement . . . . . . . . . . . . 580

    Specifying Recovery Instructions for Your Site . . 582Specifying Information About Your Server andClient Node Machines . . . . . . . . . . 583Specifying Recovery Media for Client Machines 585

    Creating and Storing the Disaster Recovery Plan 586Storing the Disaster Recovery Plan Locally . . 587Storing the Disaster Recovery Plan on a TargetServer . . . . . . . . . . . . . . . 587

    Managing Disaster Recovery Plan Files Stored onTarget Servers . . . . . . . . . . . . . 588

    Displaying Information about Recovery PlanFiles . . . . . . . . . . . . . . . 588Displaying the Contents of a Recovery Plan File 588Restoring a Recovery Plan File . . . . . . 589Expiring Recovery Plan Files Automatically . . 589Deleting Recovery Plan Files Manually . . . . 589

    Moving Backup Media . . . . . . . . . . 590Moving Backup Volumes Offsite . . . . . . 592Moving Backup Volumes Onsite . . . . . . 593

    Summary of Disaster Recovery Manager DailyTasks . . . . . . . . . . . . . . . . 595Staying Prepared for a Disaster . . . . . . . 596Recovering From a Disaster . . . . . . . . 597

    Server Recovery Scenario . . . . . . . . 597Client Recovery Scenario . . . . . . . . 600

    Recovering When Using Different Hardware at theRecovery Site . . . . . . . . . . . . . 602

    Automated SCSI Library at the Original Site anda Manual SCSI Library at the Recovery Site . . 602Automated SCSI Library at the Original andRecovery Sites . . . . . . . . . . . . 603Managing Copy Storage Pool Volumes at theRecovery Site . . . . . . . . . . . . 604

    Disaster Recovery Manager Checklist . . . . . 604The Disaster Recovery Plan File . . . . . . . 607

    Breaking Out a Disaster Recovery Plan File . . 607Structure of the Disaster Recovery Plan File . . 607Example Disaster Recovery Plan File . . . . 610

    Appendix A. External MediaManagement Interface Description . . 631CreateProcess Call . . . . . . . . . . . . 631Processing during Server Initialization . . . . . 631Processing for Mount Requests . . . . . . . 632Processing for Release Requests . . . . . . . 632Processing for Batch Requests . . . . . . . . 632Error Handling . . . . . . . . . . . . . 633Begin Batch Request . . . . . . . . . . . 633End Batch Request . . . . . . . . . . . 634Volume Query Request . . . . . . . . . . 634Initialization Requests . . . . . . . . . . 635Volume Eject Request. . . . . . . . . . . 636Volume Release Request . . . . . . . . . . 636Volume Mount Request . . . . . . . . . . 637Volume Dismount Request . . . . . . . . . 639

    Appendix B. User Exit and File ExitReceivers . . . . . . . . . . . . . 641Sample User Exit Declarations. . . . . . . . 642Sample User Exit Program . . . . . . . . . 645Readable Text File Exit (FILETEXTEXIT) Format 646

    Appendix C. Notices . . . . . . . . 649Programming Interface . . . . . . . . . . 650

    x IBM Tivoli Storage Manager for HP-UX: Administrator’s Guide

    ||||

  • Trademarks . . . . . . . . . . . . . . 651

    Glossary . . . . . . . . . . . . . 653

    Index . . . . . . . . . . . . . . . 663

    Contents xi

  • xii IBM Tivoli Storage Manager for HP-UX: Administrator’s Guide

  • Preface

    IBM® Tivoli® Storage Manager is a client/server program that provides storagemanagement solutions to customers in a multivendor computer environment. IBMTivoli Storage Manager provides an automated, centrally scheduled,policy-managed backup, archive, and space-management facility for file serversand workstations.

    Who Should Read This PublicationThis guide is intended for anyone who is registered as an administrator. A singleadministrator can manage IBM Tivoli Storage Manager; however, several peoplecan share administrative responsibilities.

    You can invoke all of the administrator commands that you need to operate andmaintain IBM Tivoli Storage Manager from:v A workstation connected to the serverv A workstation with a Web browser that meets the requirements specified in the

    IBM Tivoli Storage Manager Quick Start.

    What You Should Know before Reading This PublicationYou should be familiar with the operating system on which the server resides andthe communication protocols required for the client/server environment.

    For information on installing IBM Tivoli Storage Manager, see the IBM TivoliStorage Manager Quick Start.

    You also need to understand the storage management practices of yourorganization, such as how you are currently backing up your workstation files andhow you are using storage devices.

    Conventions Used in This GuideTo help you recognize where example commands are to be entered, this book usesthe following conventions:v Command to be entered on the HP-UX command line:

    > dsmadmc

    v Command to be entered on the command line of an administrative client:query devclass

    IBM Tivoli Storage Manager PublicationsThe following table lists Tivoli Storage Manager server publications.

    Publication Title Order Number

    IBM Tivoli Storage Management Products License Information GH09-4572

    IBM Tivoli Storage Manager Messages GC32-0767

    IBM Tivoli Storage Manager for HP-UX Administrator’s Guide GC32-0772

    IBM Tivoli Storage Manager for HP-UX Administrator’s Reference GC32-0773

    © Copyright IBM Corp. 1993, 2003 xiii

    |||||

  • Publication Title Order Number

    IBM Tivoli Storage Manager for HP-UX Quick Start GC32-0774

    The following table lists Tivoli Storage Manager storage agent publications.

    Publication Title Order Number

    IBM Tivoli Storage Manager for AIX Storage Agent User’s Guide GC32-0771

    IBM Tivoli Storage Manager for HP-UX Storage Agent User’s Guide GC32-0727

    IBM Tivoli Storage Manager for Linux Storage Agent User’s Guide GC23-4693

    IBM Tivoli Storage Manager for Sun Solaris Storage Agent User’s Guide GC32-0781

    IBM Tivoli Storage Manager for Windows Storage Agent User’s Guide GC32-0785

    The following table lists Tivoli Storage Manager client publications.

    Publication Title Order Number

    IBM Tivoli Storage Manager for Space Management for UNIX: User’sGuide

    GC32-0794

    IBM Tivoli Storage Manager for Macintosh: Backup-Archive ClientsInstallation and User’s Guide

    GC32-0787

    IBM Tivoli Storage Manager for NetWare: Backup-Archive ClientsInstallation and User’s Guide

    GC32-0786

    IBM Tivoli Storage Manager for UNIX: Backup-Archive ClientsInstallation and User’s Guide

    GC32-0789

    IBM Tivoli Storage Manager for Windows: Backup-Archive ClientsInstallation and User’s Guide

    GC32-0788

    IBM Tivoli Storage Manager Using the Application Program Interface GC32-0793

    The following table lists publications for application protection products.

    Publication TitleOrderNumber

    IBM Tivoli Storage Manager for Application Servers: Data Protection forWebSphere Application Server Installation and User’s Guide

    SC32-9075

    IBM Tivoli Storage Manager for Databases: Data Protection for Microsoft SQLServer Installation and User’s Guide

    SC32-9059

    IBM Tivoli Storage Manager for Databases: Data Protection for Oracle for UNIXInstallation and User’s Guide

    SC32-9064

    IBM Tivoli Storage Manager for Databases: Data Protection for Oracle forWindows Installation and User’s Guide

    SC32-9065

    IBM Tivoli Storage Manager for Databases: Data Protection for InformixInstallation and User’s Guide

    SH26-4095

    IBM Tivoli Storage Manager for Enterprise Resource Planning: Data Protection forR/3 Installation and User’s Guide for DB2 UDB

    SC33-6341

    IBM Tivoli Storage Manager for Enterprise Resource Planning: Data Protection forR/3 Installation and User’s Guide for Oracle

    SC33-6340

    IBM Tivoli Storage Manager for Hardware: Data Protection for EMC Symmetrixfor R/3 Installation and User’s Guide

    SC33-6386

    xiv IBM Tivoli Storage Manager for HP-UX: Administrator’s Guide

  • Publication TitleOrderNumber

    IBM Tivoli Storage Manager for Hardware: Data Protection for Enterprise StorageServer Databases (DB2 UDB) Installation and User’s Guide

    SC32-9060

    IBM Tivoli Storage Manager for Hardware: Data Protection for Enterprise StorageServer Databases (Oracle) Installation and User’s Guide

    SC32-9061

    IBM Tivoli Storage Manager for Hardware: Data Protection for IBM ESS for R/3Installation and User’s Guide for DB2 UDB

    SC33-8204

    IBM Tivoli Storage Manager for Hardware: Data Protection for IBM ESS for R/3Installation and User’s Guide for Oracle

    SC33-8205

    IBM Tivoli Storage Manager for Mail: Data Protection for Lotus Domino forUNIX and OS/400 Installation and User’s Guide

    SC32-9056

    IBM Tivoli Storage Manager for Mail: Data Protection for Lotus Domino forWindows Installation

    SC32-9057

    IBM Tivoli Storage Manager for Mail: Data Protection for Lotus Domino, S/390Edition Licensed Program Specifications

    GC26-7305

    IBM Tivoli Storage Manager for Mail: Data Protection for Microsoft ExchangeServer Installation and User’s Guide

    SC32-9058

    IBM Tivoli Storage Manager Web SiteTechnical support information and publications are available atwww.ibm.com/software/sysmgmt/products/support/IBMTivoliStorageManager.html.

    IBM International Technical Support Center Publications (Redbooks™)The International Technical Support Center (ITSC) publishes Redbooks, which arebooks on specialized topics such as using IBM Tivoli Storage Manager to back updatabases. You can order publications through your IBM representative or the IBMbranch office serving your locality. You can also search for and order books ofinterest to you at the IBM Redbooks Web site at www.ibm.com/redbooks/.

    Contacting Customer SupportFor support for this or any Tivoli product, you can contact IBM Customer Supportin one of the following ways:v Visit the Tivoli Storage Manager technical support Web site at

    www.ibm.com/software/sysmgmt/products/support/IBMTivoliStorageManager.html.

    v Submit a problem management record (PMR) electronically atIBMSERV/IBMLINK. You can access IBMLINK at www.ibm.com/ibmlink/.

    v Submit a problem management record (PMR) electronically atwww.ibm.com/software/support/probsub.html.

    Customers in the United States can also call 1-800-IBM-SERV (1-800-426-7378).

    International customers should consult the Web site for customer supporttelephone numbers.

    Hearing-impaired customers should visit the TDD/TTY Voice Relay Services andAccessiblity Center Web site at www.ibm.com/able/voicerelay.html.

    Preface xv

    |

    |||

    ||

    http://www.ibm.com/software/sysmgmt/products/support/IBMTivoliStorageManager.htmlhttp://www.ibm.com/software/sysmgmt/products/support/IBMTivoliStorageManager.htmlhttp://www.ibm.com/redbooks/http://www.ibm.com/software/sysmgmt/products/support/IBMTivoliStorageManager.htmlhttp://www.ibm.com/software/sysmgmt/products/support/IBMTivoliStorageManager.htmlhttp://www.ibm.com/ibmlink/http://www.ibm.com/software/support/probsub.htmlhttp://www.ibm.com/able/voicerelay.html

  • You can also review the IBM Software Support Guide, which is available on our Website at techsupport.services.ibm.com/guides/handbook.html.

    When you contact IBM Software Support, be prepared to provide identificationinformation for your company so that support personnel can readily assist you.Company identification information is needed to register for online supportavailable on the Web site.

    The support Web site offers extensive information, including a guide to supportservices (IBM Software Support Guide); frequently asked questions (FAQs); anddocumentation for all IBM Software products, including Release Notes, Redbooks,and white papers, defects (APARs), and solutions. The documentation for someproduct releases is available in both PDF and HTML formats. Translateddocuments are also available for some product releases.

    All Tivoli publications are available for electronic download or order from the IBMPublications Center at www.ibm.com/shop/publications/order/

    We are very interested in hearing about your experience with Tivoli products anddocumentation. We also welcome your suggestions for improvements. If you havecomments or suggestions about our documentation, please complete our customerfeedback survey at www.ibm.com/software/sysmgmt/products/support/IBMTivoliStorageManager.html by selecting the Feedback link in the leftnavigation bar.

    If you have questions or comments regarding Tivoli publications and productdocumentation, please visit www.ibm.com/software/tivoli/contact.html to send ane-mail.

    Reporting a ProblemPlease have the following information ready when you report a problem:v The Tivoli Storage Manager server version, release, modification, and service

    level number. You can get this information by entering the QUERY STATUScommand at the Tivoli Storage Manager command line.

    v The Tivoli Storage Manager client version, release, modification, and servicelevel number. You can get this information by entering dsmc at the commandline.

    v The communication protocol (for example, TCP/IP), version, and release numberyou are using.

    v The activity you were doing when the problem occurred, listing the steps youfollowed before the problem occurred.

    v The exact text of any error messages.

    TranslationsSelected IBM Tivoli Storage Manager publications have been translated intolanguages other than American English. Contact your sales representative for moreinformation about the translated publications and whether these translations areavailable in your country.

    xvi IBM Tivoli Storage Manager for HP-UX: Administrator’s Guide

    http://techsupport.services.ibm.com/guides/handbook.htmlhttp://www.ibm.com/shop/publications/order/http://www.ibm.com/software/sysmgmt/products/support/IBMTivoliStorageManager.htmlhttp://www.ibm.com/software/sysmgmt/products/support/IBMTivoliStorageManager.htmlhttp://www.ibm.com/software/tivoli/contact.html

  • Changes for Tivoli Storage Manager Version 5

    This section summarizes changes that have been made to the Tivoli StorageManager product and this publication.

    Technical Changes for Version 5 Release 2—June 2003The following changes have been made to the product for this edition:

    Security: Firewall SupportTivoli Storage Manager has enhanced support for environments withfirewalls in which communication originating from outside the firewall isto be restricted. Clients normally contact the server, but with the newfirewall support, you can choose to restrict session initiation to the server.Scheduled, backup-archive client operations can be restricted toserver-initiated sessions.

    See Chapter 10, “Adding Client Nodes”, on page 243 and Quick Start formore information.

    Support for SCSI Libraries with Multiple Drive TypesTivoli Storage Manager now supports libraries that are configured withmore than a single drive and media type. Partitioning the library tosegregate the device types is not required, but each device type requires aseparate device class and storage pool. This is limited to certain modelswhich are denoted as such in our supported devices web page.

    See “Mixing Device Types in Libraries” on page 70 for more information.

    NDMP Operations

    IBM 3494 Library SupportNDMP support to the library type IBM 3494 Tape LibraryDataServer is now provided.

    See Chapter 6, “Using NDMP for Operations with NAS FileServers”, on page 107 for more information.

    File Level RestoreTivoli Storage Manager currently provides backup and recoverysupport for network-attached storage (NAS) file servers andutilizes Network Data Management Protocol (NDMP) tocommunicate with and provide backup and recovery services forNAS file servers.

    Support for file level restore includes enhancements to allowtracking of individual files within a backed-up file system image.This enhancement makes it possible to display the contents of animage backup, and individual files within that image can beselected for restore. Implementation is achieved by generating atable of contents (TOC) during backup which is stored on theserver.

    See Chapter 6, “Using NDMP for Operations with NAS FileServers”, on page 107 for more information.

    EMC Celerra NAS Device SupportBackup and restore operations for EMC Celerra file servers via

    © Copyright IBM Corp. 1993, 2003 xvii

    |

    |

    |||||||

    ||

    ||||||

    |

    |

    |||

    ||

    ||||||

    |||||||

    ||

    ||

  • NDMP is now supported. This support includes all base NDMPfunctions provided for Network Appliance file servers as well asthe file-level restore function.

    See Chapter 6, “Using NDMP for Operations with NAS FileServers”, on page 107 and Chapter 9, “Managing Storage Pools andVolumes”, on page 171 for more information.

    Accurate SAN Device MappingDevice IDs within a SAN environment change when a reset or otherenvironmental changes occur. With accurate SAN device mapping, TivoliStorage Manager can now detect SAN changes and report that areconfiguration is required.

    See “Recovering from Device Changes on the SAN” on page 105 for moreinformation.

    Macintosh OS X Unicode Support for Backup-Archive ClientUnicode file spaces are now supported on the Macintosh client. Bysupporting a Unicode-enabled client, the Tivoli Storage Manager server canstore file spaces with Unicode file space names, directory names, and filenames. The client can successfully process a Tivoli Storage Manageroperation even when the file spaces contain directory names or files inmultiple languages, or when the client uses a different code page from theserver.

    See Chapter 11, “Managing Client Nodes”, on page 253 for moreinformation.

    TapeAlert Device SupportTapeAlert is an application that provides detailed diagnostic informationabout tape and library device hardware errors. It captures the log pagefrom the drive or library when tapes are dismounted and issues theappropriate ANR error messages, allowing you to recognize problems asearly as possible.

    See “Handling Tape Alert Messages” on page 153 for more information.

    Increased Archive Retention LimitsTivoli Storage Manager now supports increased retention times forarchives and backup sets. These new retention values will allow dataarchives to be kept longer.

    See Administrator’s Reference for more information.

    Tape AutolabelingTivoli Storage Manager now provides the option to have tape volumesautomatically labeled by the server. This option is available for SCSI librarytypes. The server will label both blank and incorrectly labeled tapes whenthey are initially mounted. This eliminates the need to pre-label a set oftapes.

    See readme file for more information.

    StorageTek VolSafe SupportTivoli Storage Manager now supports StorageTek’s VolSafe mediatechnology.

    See ″Defining Device Classes″ or Administrator’s Reference for moreinformation.

    xviii IBM Tivoli Storage Manager for HP-UX: Administrator’s Guide

    |||

    |||

    |||||

    ||

    ||||||||

    ||

    ||||||

    |

    ||||

    |

    ||||||

    |

    |||

    ||

  • Server to Server Export and ImportTivoli Storage Manager server export and import processing has beenenhanced to support the following functions:v Direct server export to server import over the TCP/IP communications

    line between two servers of the same or differing platforms, whicheliminates the need for compatible sequential device types betweenservers to perform data movement.

    v Merging of imported data into existing client file spaces on the server.v Ability to export client file data based on a date and time specification,

    which allows server-to-server export and import operations to maintainduplicate copies of client data on two or more servers.

    See Administrator’s Reference for more information.

    Server Performance TuningThe maximum value of the server option TXNGROUPMAX has beenincreased. When transferring multiple small files, increasing theTXNGROUPMAX option can improve throughput for operations to tape. Itis now possible to set the TXNGROUPMAX option for individual clients.

    See Administrator’s Reference for more information.

    Licensing ChangesThe application client for the WebSphere® server is now licensed.

    See Chapter 16, “Managing Server Operations”, on page 373 for moreinformation.

    Product Packaging and Name ChangesThe following table lists changes to product packaging and names for IBMTivoli Storage Manager. Seewww.ibm.com/software/tivoli/solutions/storage/ for complete details.

    Table 1. Product Packaging and Name Changes

    Former name Current name or term Notes

    Tivoli Disaster RecoveryManager

    disaster recovery manager(DRM)

    This product is now part ofIBM Tivoli Storage ManagerExtended Edition.

    Tivoli Data Protection forNDMP

    operations that use NDMP This product is now part ofIBM Tivoli Storage ManagerExtended Edition.

    Tivoli Storage ManagerManaged System for SAN

    IBM Tivoli Storage Managerfor Storage Area Networks

    This product includesLAN-free data movementand library sharing on SANs.

    Tivoli SANergy™ is aseparate product, licensed tousers through this product.

    Tivoli Space Manager IBM Tivoli Storage Managerfor Space Management

    The client is called spacemanager or HSM client.

    Changes for Tivoli Storage Manager Version 5 xix

    |||

    ||||

    |

    |||

    |

    |||||

    |

    ||

    ||

    ||||

    ||

    |||

    |||||||

    ||||||

    |||||||

    |||

    |||||

    http://www.ibm.com/software/tivoli/solutions/storage/

  • Table 1. Product Packaging and Name Changes (continued)

    Former name Current name or term Notes

    Tivoli Data Protectionproducts

    One of the following:

    IBM Tivoli StorageManager for ApplicationServers

    IBM Tivoli StorageManager for Databases

    IBM Tivoli StorageManager for EnterpriseResource Planning

    IBM Tivoli StorageManager for Hardware

    IBM Tivoli StorageManager for Mail

    See the Web site for details.

    The clients are frequentlycalled application clients in theproduct information.

    Technical Changes for Version 5 Release 1—March 2002The following changes have been made to the product for this edition:

    Tivoli Storage Manager Device DriverThe IBM Tivoli Storage Manager server device driver is now available onHP-UX. It replaces the use of the SCSI Pass-through driver forautochangers, and can be used to optimally support SCSI tape and opticaldrives.

    See Chapter 4, “Attaching Devices to the Server System”, on page 59.

    LAN-Free Data MovementTivoli Storage Manager supports LAN-free data movement in storage areanetwork (SAN) environments. The support allows client data to movedirectly from the client system to a server-managed storage device on theSAN. This enhancement reduces data movement on the LAN so that morebandwidth is available to other applications.

    See “LAN-Free Data Movement” on page 42.

    See Tivoli Storage Manager Managed System for SAN Storage Agent User’sGuide for more information.

    Devices Attached to HP Systems that Use Precision Bus SCSI AdaptersDevices attached to HP systems that use Precision Bus SCSI adapters areno longer supported. This is because the architecture is no longer current.If you are using such a system, do not migrate to Version 5.1.

    Changes in Defining Drives and Libraries

    Device special file names are now specified in the DEFINE PATH andUPDATE PATH commands, rather than in the DEFINE DRIVE, UPDATEDRIVE, DEFINE LIBRARY, and UPDATE LIBRARY commands.

    See Chapter 5, “Configuring Storage Devices”, on page 69. Also see TivoliStorage Manager Administrator’s Reference.

    Moving Data by NodeYou can use the MOVE NODEDATA command to move data in asequential-access storage pool for one or more nodes, or move selected filespaces for a single node. You can also use MOVE NODEDATA to movedata to another storage pool.

    xx IBM Tivoli Storage Manager for HP-UX: Administrator’s Guide

    |

    |||

    |||

    |||

    ||

    |||

    ||

    ||

    |

    |||

    |

    |

  • See Chapter 9, “Managing Storage Pools and Volumes”, on page 171.

    Support for Simultaneous Writes to Primary and Copy Storage PoolsYou can specify copy storage pools in a primary storage pool definition.When a client backs up, archives, or migrates a file, the file is written tothe primary storage pool and is simultaneously stored into each copystorage pool.

    See Chapter 9, “Managing Storage Pools and Volumes”, on page 171.

    Tivoli Data Protection for New Network Data Management Protocol Support

    New Network Data Management Protocol (NDMP) support now extendsto the HP-UX (32-bit and 64-bit) Tivoli Storage Manager server platform.The new Tivoli Data Protection for NDMP product supports NDMPbackup and restore for network-attached storage (NAS) file servers fromNetwork Appliance. NDMP allows a network storage-managementapplication to control the backup and restore of an NDMP-compliant fileserver without installing third-party software on that server. The NAS fileserver does not require installation of Tivoli Storage Manager software. TheTivoli Storage Manager server uses NDMP to connect to the NAS fileserver to initiate, control, and monitor a file system backup or restoreoperation. The NDMP support for NAS file servers enables higherperformance backup to tape devices without moving the data over theLAN. TDP for NDMP is a separately priced and licensed product.

    See Chapter 6, “Using NDMP for Operations with NAS File Servers”, onpage 107.

    Data Validation with Cyclic Redundancy CheckingTivoli Storage Manager provides the option of specifying whether a cyclicredundancy check (CRC) is performed during a client session with theserver, or for storage pools. The server validates the data by using a cyclicredundancy check which can help identify data corruption. Data validationcan be enabled for one or all of the following:v Tivoli Storage Manager client nodes at Version 5.1. See “Validating a

    Node’s Data” on page 333.v Tivoli Storage Manager storage agents at Version 5.1. See Tivoli Storage

    Manager Managed System for SAN Storage Agent User’s Guide for moreinformation.

    v Storage pools. See “Data Validation During Audit Volume Processing” onpage 562 and Chapter 9, “Managing Storage Pools and Volumes”, onpage 171.

    New Licensing MethodThe new licensing method enables you to register the exact number oflicenses that are required, rather than in increments of 1, 5, 10, and 50.

    See “Registering Licensed Features” on page 374.

    Changes for Tivoli Storage Manager Version 5 xxi

  • xxii IBM Tivoli Storage Manager for HP-UX: Administrator’s Guide

  • Part 1. IBM Tivoli Storage Manager Basics

    © Copyright IBM Corp. 1993, 2003 1

  • 2 IBM Tivoli Storage Manager for HP-UX: Administrator’s Guide

  • Chapter 1. Introducing IBM Tivoli Storage Manager

    IBM Tivoli Storage Manager is an enterprise-wide storage management application.It provides automated storage management services to workstations, personalcomputers, and file servers from a variety of vendors, with a variety of operatingsystems. Tivoli Storage Manager includes the following components:

    Server

    Server programThe server program provides backup, archive, and space managementservices to the clients.

    You can set up multiple servers in your enterprise network to balancestorage, processor, and network resources.

    Administrative interfaceThe administrative interface allows administrators to control and monitorserver activities, define management policies for clients, and set upschedules to provide services to clients at regular intervals. Administrativeinterfaces available include a command-line administrative client and a Webbrowser interface. Tivoli Storage Manager allows you to manage and controlmultiple servers from a single interface that runs in a Web browser.

    Server database and recovery logThe Tivoli Storage Manager server uses a database to track informationabout server storage, clients, client data, policy, and schedules. The serveruses the recovery log as a scratch pad for the database, recordinginformation about client and server actions while the actions are beingperformed.

    Server storageThe server can write data to hard disk drives, disk arrays and subsystems,stand-alone tape drives, tape libraries, and other forms of random- andsequential-access storage. The media that the server uses are grouped intostorage pools. The storage devices can be connected directly to the server, orconnected via local area network (LAN) or storage area network (SAN).

    Client NodesA client node can be a workstation, a personal computer, a file server, anetwork-attached storage (NAS) file server, or even another Tivoli StorageManager server. The client node has IBM Tivoli Storage Manager clientsoftware installed (except for NAS file servers using NDMP). A client node isregistered with the server.

    Backup-archive clientThe backup-archive client allows users to maintain backup versions of files,which they can restore if the original files are lost or damaged. Users canalso archive files for long-term storage and retrieve the archived files whennecessary. Users themselves or administrators can register workstations andfile servers as client nodes with a Tivoli Storage Manager server.

    The storage agent is an optional component that may also be installed on asystem that is a client node. The storage agent enables LAN-free datamovement for client operations and is supported on a number of operatingsystems.

    © Copyright IBM Corp. 1993, 2003 3

    ||||

  • Network-attached storage file server (using NDMP)The server can use the Network Data Management Protocol (NDMP) toback up and restore file systems stored on a network-attached storage(NAS) file server. The data on the NAS file server is backed up to a tapelibrary. No Tivoli Storage Manager software needs to be installed on theNAS file server. See Chapter 6, “Using NDMP for Operations with NAS FileServers”, on page 107 for more information, including supported NAS fileservers.

    Application clientApplication clients allow users to perform online backups of data forapplications such as database programs. After the application programinitiates a backup or restore, the application client acts as the interface toTivoli Storage Manager. The Tivoli Storage Manager server then applies itsstorage management functions to the data. The application client canperform its functions while application users are working, with minimaldisruption.

    The following products provide application clients for use with the TivoliStorage Manager server:v Tivoli Storage Manager for Application Serversv Tivoli Storage Manager for Databasesv Tivoli Storage Manager for Enterprise Resource Planningv Tivoli Storage Manager for MailAlso available is Tivoli Storage Manager for Hardware, which works withthe backup-archive client and the API to help eliminate backup-relatedperformance effects.

    Application program interface (API)The API allows you to enhance existing applications to use the backup,archive, restore, and retrieve services that Tivoli Storage Manager provides.Tivoli Storage Manager API clients can register as client nodes with a TivoliStorage Manager server.

    Tivoli Storage Manager for Space ManagementTivoli Storage Manager for Space Management provides space managementservices for workstations on some platforms. The space management function isessentially a more automated version of archive. Tivoli Storage Manager forSpace Management automatically migrates files that are less frequently used toserver storage, freeing space on the workstation. The migrated files are alsocalled space-managed files.

    Users can recall space-managed files automatically simply by accessing them asthey normally would from the workstation. Tivoli Storage Manager for SpaceManagement is also known as the space manager client, or the hierarchicalstorage management (HSM) client.

    Storage agentsThe storage agent is an optional component that may be installed on a systemthat is also a client node. The storage agent enables LAN-free data movementfor client operations.

    The storage agent is available for use with backup-archive clients andapplication clients on a number of operating systems. The Tivoli StorageManager for Storage Area Networks product includes the storage agent.

    4 IBM Tivoli Storage Manager for HP-UX: Administrator’s Guide

    ||||||||

    ||||||||

    ||

    |

    |

    |

    |

    |||

    ||||

    |||

  • For information about supported operating systems for clients, see the IBM TivoliStorage Manager Web site at www.ibm.com/software/sysmgmt/products/support/IBMTivoliStorageManager.html

    Client programs such as the backup-archive client and the HSM client (spacemanager) are installed on systems that are connected through a LAN and areregistered as client nodes. From these client nodes, users can back up, archive, ormigrate files to the server.

    The following sections present key concepts and information about IBM TivoliStorage Manager. The sections describe how Tivoli Storage Manager manages clientfiles based on information provided in administrator-defined policies, and managesdevices and media based on information provided in administrator-defined TivoliStorage Manager storage objects.

    The final section gives an overview of tasks for the administrator of the server,including options for configuring the server and how to maintain the server.

    Concepts:

    “How IBM Tivoli Storage Manager Stores Client Data”

    “How the Server Manages Storage” on page 15

    “Configuring and Maintaining the Server” on page 17

    How IBM Tivoli Storage Manager Stores Client DataTivoli Storage Manager policies are rules that determine how the client data isstored and managed. The rules include where the data is initially stored, howmany backup versions are kept, how long archive copies are kept, and so on. Youcan have multiple policies and assign the different policies as needed to specificclients, or even to specific files.

    Policy assigns a location in server storage where data is initially stored. Serverstorage is divided into storage pools that are groups of storage volumes. Serverstorage can include hard disk, optical, and tape volumes.

    When you install Tivoli Storage Manager, you have a default policy that you canuse. For details about this default policy, see “The Standard Policy” on page 291.You can modify this policy and define additional policies.

    Clients use Tivoli Storage Manager to store data for any of the following purposes:

    Backup and restoreThe backup process copies data from client workstations to server storage toensure against loss of data that is regularly changed. The server retains versionsof a file according to policy, and replaces older versions of the file with newerversions. Policy includes the number of versions and the retention time forversions.

    A client can restore the most recent version of a file, or can restore earlierversions.

    Archive and retrieveThe archive process copies data from client workstations to server storage forlong-term storage. The process can optionally delete the archived files from theclient workstations. The server retains archive copies according to the policy forarchive retention time. A client can retrieve an archived copy of a file.

    Chapter 1. Introducing IBM Tivoli Storage Manager 5

    http://www.ibm.com/software/sysmgmt/products/support/IBMTivoliStorageManager.htmlhttp://www.ibm.com/software/sysmgmt/products/support/IBMTivoliStorageManager.html

  • Instant archive and rapid recoveryInstant archive is the creation of a complete set of backed-up files for a client.The set of files is called a backup set. A backup set is created on the server fromthe most recently backed-up files that are already stored in server storage forthe client. Policy for the backup set consists of the retention time that youchoose when you create the backup set.

    You can copy a backup set onto compatible portable media, which can then betaken directly to the client for rapid recovery without the use of a network andwithout having to communicate with the Tivoli Storage Manager server.

    Migration and recallMigration, a function of the Tivoli Storage Manager for Space Managementprogram, frees up client storage space by copying files from workstations toserver storage. On the client, the Tivoli Storage Manager for Space Managementprogram replaces the original file with a stub file that points to the original inserver storage. Files are recalled to the workstations when needed.

    This process is also called hierarchical storage management (HSM). Onceconfigured, the process is transparent to the users. Files are migrated andrecalled automatically.

    Policy determines when files are considered for automatic migration. On theUNIX® systems that support the Tivoli Storage Manager for Space Managementprogram, policies determine whether files must be backed up to the serverbefore being migrated. Space management is also integrated with backup. If thefile to be backed up is already migrated to server storage, the file is backed upfrom there.

    Figure 1 on page 7 shows how policy is part of the Tivoli Storage Manager processfor storing client data.

    6 IBM Tivoli Storage Manager for HP-UX: Administrator’s Guide

  • The steps in the process are as follows:�1� A client initiates a backup, archive, or migration operation. The fileinvolved in the operation is bound to a management class. The managementclass is either the default or one specified for the file in client options (theclient’s include-exclude list).�2� If the file is a candidate for backup, archive, or migration based oninformation in the management class, the client sends the file and fileinformation to the server.�3� The server checks the management class that is bound to the file todetermine the destination, the name of the Tivoli Storage Manager storage poolwhere the server initially stores the file. For backed-up and archived files,destinations are assigned in the backup and archive copy groups, which arewithin management classes. For space-managed files, destinations are assignedin the management class itself.The storage pool can be a group of disk volumes, tape volumes, or opticalvolumes.�4� The server stores the file in the storage pool that is identified as the storagedestination.The Tivoli Storage Manager server saves information in its database about eachfile that it backs up, archives, or migrates.If you set up server storage in a hierarchy, Tivoli Storage Manager can latermigrate the file to a storage pool different from the one where the file was

    Figure 1. How IBM Tivoli Storage Manager Controls Backup, Archive, and MigrationProcesses

    Chapter 1. Introducing IBM Tivoli Storage Manager 7

  • initially stored. For example, you may want to set up server storage so thatTivoli Storage Manager migrates files from a disk storage pool to tape volumesin a tape storage pool.

    Files remain in server storage until they expire and expiration processing occurs, oruntil they are deleted from server storage. A file expires because of criteria that areset in policy. For example, the criteria include the number of versions allowed for afile and the number of days that have elapsed since a file was deleted from theclient’s file system.

    For information on assigning storage destinations in copy groups and managementclasses, and on binding management classes to client files, see Chapter 12,“Implementing Policies for Client Data”, on page 289.

    For information on managing the database, see Chapter 18, “Managing theDatabase and Recovery Log”, on page 407.

    For information about storage pools and storage pool volumes, see Chapter 9,“Managing Storage Pools and Volumes”, on page 171.

    Options for Data ProtectionIBM Tivoli Storage Manager provides a variety of backup and archive operations,allowing you to select the right protection for the situation. Table 2 shows someexamples of the protection options.

    Table 2. Examples of Meeting Your Goals with IBM Tivoli Storage Manager

    For this goal... Do this...

    Back up files that are on a user’sworkstation, and have the ability to restoreindividual files.

    Use the backup-archive client to performincremental backups or selective backups.

    Back up a file server, and have the ability torestore individual files.

    Use the backup-archive client to performincremental backups or selective backups.

    If the file server is a network-attachedstorage file server that is supported, you canhave the server use NDMP to perform imagebackups. This support is available in the IBMTivoli Storage Manager Extended Editionproduct.

    Make restore media portable, or makerestores easier to perform remotely.

    Use the backup-archive client to performincremental backups, and then generatebackup sets by using the Tivoli StorageManager server.

    Provide the ability to more easily restore theentire contents of a single logical volume,instead of restoring individual files.

    Use the backup-archive client to performlogical volume backups (also called imagebackups).

    Set up records retention to meet legal orother long-term storage needs.

    Use the backup-archive client to occasionallyperform archiving. To ensure that thearchiving occurs at the required intervals, usecentral scheduling.

    Create an archive for a backup-archive client,from data that is already stored for backup.

    Use the backup-archive client to performincremental backups, and then generate abackup set by using the Tivoli StorageManager server. This is also called instantarchive.

    8 IBM Tivoli Storage Manager for HP-UX: Administrator’s Guide

  • Table 2. Examples of Meeting Your Goals with IBM Tivoli Storage Manager (continued)

    For this goal... Do this...

    Provide the ability to restore data to a pointin time.

    Use the backup-archive client to regularlyperform incremental backups (eithermanually or automatically throughschedules). Then do one of the following:

    v Set up policy to ensure that data ispreserved in server storage long enough toprovide the required service level. See“Setting Policy to Enable Point-in-TimeRestore for Clients” on page 327 for details.

    v Create backup sets for the backup-archiveclient on a regular basis. Set the retentiontime to provide the required service level.See “Creating and Using Client BackupSets” on page 334 for details.

    Save a set of files and directories beforemaking significant changes to them.

    Use the backup-archive client to archive theset of files and directories.

    If this kind of protection is needed regularly,consider creating backup sets from backupdata already stored for the client. Usingbackup sets instead of frequent archiveoperations can reduce the amount ofmetadata that must be stored in the server’sdatabase.

    Manage a set of related files, which are notin the same file system, with the samebackup, restore, and server policies.

    Use the backup group command on thebackup-archive client to create a logicalgrouping of a set of files, which can be fromone or more physical file systems. The groupbackup process creates a virtual file space inserver storage to manage the files, becausethe files might not be from one file systemon the client. Actions such as policy binding,migration, expiration, and export are appliedto the group as a whole. See Backup-ArchiveClients Installation and User’s Guide for details.

    Back up data for an application that runscontinuously, such as a database application(for example, DB2® or Oracle) or a mailapplication (Lotus® Domino™).

    Use the appropriate application client. Forexample, use Tivoli Storage Manager for Mailto protect the Lotus Domino application.

    Exploit disk hardware capable of datasnapshots.

    Use the appropriate component in the TivoliStorage Manager for Hardware product, suchas Tivoli Storage Manager data protection forIBM Enterprise Storage Server™ for DB2.

    Make backups transparent to end users. Use the backup-archive client with centrallyscheduled backups that run during off-shifthours. Monitor the schedule results.

    Reduce the load on the LAN by movingbackup data over your SAN.

    Use LAN-free data movement or, forsupported network-attached storage (NAS)file servers, use NDMP operations.

    Schedule the backups of client data to help enforce the data management policythat you establish. If you schedule the backups, rather than rely on the clients to

    Chapter 1. Introducing IBM Tivoli Storage Manager 9

    |||

    |||||||||||

  • perform the backups, the policy that you establish is followed more consistently.See Chapter 14, “Scheduling Operations for Client Nodes”, on page 349.

    The standard backup method that Tivoli Storage Manager uses is called progressiveincremental backup. It is a unique and efficient method for backup. See “ProgressiveIncremental Backup Compared with Other Backup Types” on page 14.

    Table 3 on page 11 summarizes the client operations that are available. In all cases,the server tracks the location of the backup data in its database. Policy that you setdetermines how the backup data is managed.

    10 IBM Tivoli Storage Manager for HP-UX: Administrator’s Guide

  • Tabl

    e3.

    Sum

    mar

    yof

    Clie

    ntO

    pera

    tions

    Typ

    eof

    oper

    atio

    nD

    escr

    ipti

    onU

    sage

    Res

    tore

    opti

    ons

    For

    mor

    ein

    form

    atio

    n

    Prog

    ress

    ive

    incr

    emen

    tal

    back

    up

    The

    stan

    dar

    dm

    etho

    dof

    back

    upus

    edby

    Tivo

    liSt

    orag

    eM

    anag

    er.A

    fter

    the

    firs

    t,fu

    llba

    ckup

    ofa

    clie

    ntsy

    stem

    ,in

    crem

    enta

    lba

    ckup

    sar

    ed

    one.

    Incr

    emen

    tal

    back

    upby

    dat

    eis

    also

    avai

    labl

    e.

    No

    add

    itio

    nal

    full

    back

    ups

    ofa

    clie

    ntar

    ere

    quir

    edaf

    ter

    the

    firs

    tba

    ckup

    .

    Hel

    psen

    sure

    com

    plet

    e,ef

    fect

    ive,

    polic

    y-ba

    sed

    back

    upof

    dat

    a.E

    limin

    ates

    the

    need

    tore

    tran

    smit

    back

    upd

    ata

    that

    has

    not

    been

    chan

    ged

    dur

    ing

    succ

    essi

    veba

    ckup

    oper

    atio

    ns.

    The

    user

    can

    rest

    ore

    just

    the

    vers

    ion

    ofth

    efi

    leth

    atis

    need

    ed.

    Tivo

    liSt

    orag

    eM

    anag

    erd

    oes

    not

    need

    tore

    stor

    ea

    base

    file

    follo

    wed

    byin

    crem

    enta

    lba

    ckup

    s.T

    his

    mea

    nsre

    duc

    edti

    me

    and

    few

    erta

    pem

    ount

    s,as

    wel

    las

    less

    dat

    atr

    ansm

    itte