B SRV Admin Guide Windows
B SRV Admin Guide Windows
for Windows
Version 7.1
Administrator's Guide
IBM Tivoli Storage Manager
for Windows
Version 7.1
Administrator's Guide
Note:
Before using this information and the product it supports, read the information in “Notices” on page 1111.
Contents v
Preparing volumes for sequential-access storage Reclaiming space in sequential-access storage pools 367
pools . . . . . . . . . . . . . . . 255 How Tivoli Storage Manager reclamation works 368
Updating storage pool volumes . . . . . . 257 Reclamation thresholds . . . . . . . . . 370
Access modes for storage pool volumes . . . 259 Reclaiming volumes with the most reclaimable
Storage pool hierarchies . . . . . . . . . . 260 space . . . . . . . . . . . . . . . 370
Setting up a storage pool hierarchy . . . . . 261 Starting reclamation manually or in a schedule 371
How the server groups files before storing . . 262 Optimizing drive usage using multiple
Where the server stores files . . . . . . . 263 concurrent reclamation processes . . . . . . 371
Example: How the server determines where to Reclaiming volumes in a storage pool with one
store files in a hierarchy . . . . . . . . . 264 drive . . . . . . . . . . . . . . . 372
Backing up the data in a storage hierarchy . . 265 Reducing the time to reclaim tape volumes with
Staging client data from disk to tape . . . . 270 high capacity . . . . . . . . . . . . 373
Migrating files in a storage pool hierarchy. . . . 271 Reclamation of write-once, read-many (WORM)
Migrating disk storage pools . . . . . . . 273 media . . . . . . . . . . . . . . . 373
Migrating sequential-access storage pools . . . 279 Controlling reclamation of virtual volumes . . 374
The effect of migration on copy storage pools Reclaiming copy storage pools and active-data
and active-data pools . . . . . . . . . . 283 pools . . . . . . . . . . . . . . . 374
Caching in disk storage pools . . . . . . . . 284 How collocation affects reclamation . . . . . 378
How the server removes cached files . . . . 284 Estimating space needs for storage pools . . . . 379
Effect of caching on storage pool statistics . . . 285 Estimating space requirments in random-access
Deduplicating data . . . . . . . . . . . 285 storage pools . . . . . . . . . . . . 380
Data deduplication overview . . . . . . . 285 Estimating space needs in sequential-access
Data deduplication limitations. . . . . . . 288 storage pools . . . . . . . . . . . . 381
Planning guidelines for data deduplication . . 291 Monitoring storage-pool and volume usage . . . 382
Detecting possible security attacks during Monitoring space available in a storage pool 382
client-side data deduplication . . . . . . . 302 Monitoring the use of storage pool volumes . . 384
Evaluating data deduplication in a test Monitoring migration processes . . . . . . 392
environment. . . . . . . . . . . . . 303 Monitoring the use of cache space on disk
Managing deduplication-enabled storage pools 306 storage . . . . . . . . . . . . . . 395
Controlling data deduplication . . . . . . 310 Obtaining information about the use of storage
Displaying statistics about server-side data space . . . . . . . . . . . . . . . 396
deduplication . . . . . . . . . . . . 318 Moving data from one volume to another volume 400
Displaying statistics about client-side data Data movement within the same storage pool 401
deduplication . . . . . . . . . . . . 320 Data movement to a different storage pool . . 402
Querying about data deduplication in file Data movement from offsite volumes in copy
spaces . . . . . . . . . . . . . . . 323 storage pools or active-data pools . . . . . 402
Scenarios for data deduplication . . . . . . 324 Moving data . . . . . . . . . . . . 403
Data deduplication and data compatibility . . 329 Moving data belonging to a client node . . . . 406
Data deduplication and disaster recovery Moving data in all file spaces belonging to one
management . . . . . . . . . . . . 330 or more nodes . . . . . . . . . . . . 406
Writing data simultaneously to primary, copy, and Moving data in selected file spaces belonging to
active-data pools . . . . . . . . . . . . 331 a single node . . . . . . . . . . . . 407
Guidelines for using the simultaneous-write Obtaining information about data-movement
function . . . . . . . . . . . . . . 332 processes . . . . . . . . . . . . . . 408
Limitations that apply to simultaneous-write Troubleshooting incomplete data-movement
operations . . . . . . . . . . . . . 333 operations . . . . . . . . . . . . . 408
Controlling the simultaneous-write function . . 335 Renaming storage pools . . . . . . . . . . 409
Simultaneous-write operations: Examples . . . 339 Defining copy storage pools and active-data pools 409
Planning simultaneous-write operations . . . 352 Example: Defining a copy storage pool . . . . 411
Simultaneous-write function as part of a backup Properties of primary, copy, and active-data
strategy: Example . . . . . . . . . . . 356 pools . . . . . . . . . . . . . . . 412
Keeping client files together using collocation . . 357 Deleting storage pools . . . . . . . . . . 413
The effects of collocation on operations . . . . 359 Deleting storage pool volumes . . . . . . . 414
How the server selects volumes with collocation Deleting empty storage pool volumes . . . . 415
enabled . . . . . . . . . . . . . . 361 Deleting storage pool volumes that contain data 415
How the server selects volumes with collocation
disabled . . . . . . . . . . . . . . 363
Collocation on or off settings . . . . . . . 363
Part 3. Managing client operations 417
Collocation of copy storage pools and
active-data pools . . . . . . . . . . . 364 Chapter 11. Adding client nodes . . . 419
Planning for and enabling collocation . . . . 365 Overview of clients and servers as nodes . . . . 419
Contents vii
Setting policy to enable point-in-time restore for Copying existing schedules . . . . . . . . 570
clients . . . . . . . . . . . . . . . 527 Modifying schedules . . . . . . . . . . 570
Distributing policy using enterprise configuration 528 Deleting schedules . . . . . . . . . . 570
Querying policy . . . . . . . . . . . . 529 Displaying information about schedules . . . 571
Querying copy groups . . . . . . . . . 529 Managing node associations with schedules . . . 571
Querying management classes. . . . . . . 530 Adding new nodes to existing schedules . . . 572
Querying policy sets . . . . . . . . . . 530 Moving nodes from one schedule to another 572
Querying policy domains . . . . . . . . 531 Displaying nodes associated with schedules . . 572
Deleting policy . . . . . . . . . . . . . 531 Removing nodes from schedules . . . . . . 573
Deleting copy groups. . . . . . . . . . 532 Managing event records . . . . . . . . . . 573
Deleting management classes . . . . . . . 532 Displaying information about scheduled events 573
Deleting policy sets . . . . . . . . . . 532 Managing event records in the server database 575
Deleting policy domains. . . . . . . . . 532 Managing the throughput of scheduled operations 576
Modifying the default scheduling mode . . . 576
Chapter 14. Managing data for client Specifying the schedule period for incremental
nodes. . . . . . . . . . . . . . . 535 backup operations . . . . . . . . . . . 579
Balancing the scheduled workload for the server 579
Validating a node's data . . . . . . . . . . 535
Controlling how often client nodes contact the
Performance considerations for data validation 536
server . . . . . . . . . . . . . . . 581
Validating a node's data during a client session 536
Specifying one-time actions for client nodes . . . 583
Encrypting data on tape . . . . . . . . . . 536
Determining how long the one-time schedule
Choosing an encryption method . . . . . . 537
remains active . . . . . . . . . . . . 583
Changing your encryption method and
hardware configuration . . . . . . . . . 538
Securing sensitive client data . . . . . . . . 539 Part 4. Maintaining the server . . . 585
Setting up shredding . . . . . . . . . . 540
Ensuring that shredding is enforced . . . . . 541 Chapter 17. Managing the storage
Creating and using client backup sets . . . . . 543
environment with the Operations
Generating client backup sets on the server . . 544
Restoring backup sets from a backup-archive Center . . . . . . . . . . . . . . 587
client . . . . . . . . . . . . . . . 548 Operations Center overview . . . . . . . . 587
Moving backup sets to other servers. . . . . 548 Opening the Operations Center . . . . . . 589
Managing client backup sets . . . . . . . 549 Alert monitoring overview . . . . . . . . . 590
Enabling clients to use subfile backup . . . . . 552 Changing the Operations Center configuration . . 591
Setting up clients to use subfile backup. . . . 553 Changing the hub server . . . . . . . . 591
Managing subfile backups . . . . . . . . 553 Removing a spoke server . . . . . . . . 591
Archiving data . . . . . . . . . . . . . 554 Restoring the configuration to the preconfigured
Archive operations overview . . . . . . . 555 state . . . . . . . . . . . . . . . 592
Managing storage usage for archives . . . . 555 Starting and stopping the web server . . . . 593
Restarting the initial configuration wizard . . . 593
Chapter 15. Scheduling operations for
client nodes . . . . . . . . . . . . 559 Chapter 18. Managing server
Prerequisites to scheduling operations . . . . . 559 operations. . . . . . . . . . . . . 595
Scheduling a client operation . . . . . . . . 560 Licensing IBM Tivoli Storage Manager . . . . . 595
Defining client schedules . . . . . . . . 561 Registering licensed features . . . . . . . 596
Associating client nodes with schedules . . . 562 Monitoring licenses . . . . . . . . . . 597
Starting the scheduler on the clients . . . . . 562 Role of processor value units in assessing
Displaying schedule information . . . . . . 563 licensing requirements . . . . . . . . . 598
Checking the status of scheduled operations . . 563 Estimating processor value units . . . . . . 601
Creating schedules for running command files . . 564 Collecting processor value unit information in a
Updating the client options file to automatically VMware host environment . . . . . . . . 603
generate a new password . . . . . . . . . 565 Starting the Tivoli Storage Manager server . . . 604
Configuring the scheduler to run under the Starting the server on Windows . . . . . . 604
site-server account. . . . . . . . . . . . 565 Running multiple server instances on a single
Overview of the Tivoli Storage Manager scheduler system . . . . . . . . . . . . . . 606
running as a Windows service . . . . . . . . 566 Halting the server . . . . . . . . . . . . 607
Moving the Tivoli Storage Manager server to
another system . . . . . . . . . . . . . 608
Chapter 16. Managing schedules for
Date and time on the server . . . . . . . . 609
client nodes . . . . . . . . . . . . 569 Managing server processes . . . . . . . . . 609
Managing IBM Tivoli Storage Manager schedules 569 Requesting information about server processes 610
Adding new schedules . . . . . . . . . 569
Contents ix
Using virtual volumes to store data on another Using SQL to query the IBM Tivoli Storage
server . . . . . . . . . . . . . . . . 732 Manager database . . . . . . . . . . . . 794
Setting up source and target servers for virtual Using SELECT commands . . . . . . . . 794
volumes . . . . . . . . . . . . . . 734 Using SELECT commands in Tivoli Storage
Performance limitations for virtual volume Manager scripts . . . . . . . . . . . 797
operations . . . . . . . . . . . . . 735 Querying the SQL activity summary table . . . 798
Performing operations at the source server . . 736 Creating output for use by another application 799
Reconciling virtual volumes and archive files 739 Using the Tivoli Storage Manager activity log . . 799
Requesting information from the activity log 800
Chapter 22. Exporting and importing Setting a retention period for the activity log 801
data . . . . . . . . . . . . . . . 741 Setting a size limit for the activity log . . . . 801
Reviewing data that can be exported and imported 741
Exporting restrictions. . . . . . . . . . 742 Chapter 25. Monitoring Tivoli Storage
Deciding what information to export . . . . 742 Manager accounting records. . . . . 803
Deciding when to export . . . . . . . . 743
Exporting data directly to another server . . . . 744 Chapter 26. Reporting and monitoring
Options to consider before exporting . . . . 745 with Tivoli Monitoring for Tivoli
Preparing to export to another server for
immediate import . . . . . . . . . . . 748
Storage Manager . . . . . . . . . . 805
Monitoring the server-to-server export process 750
Exporting administrator information to another Chapter 27. Logging IBM Tivoli
server . . . . . . . . . . . . . . . 751 Storage Manager events to receivers . 807
Exporting client node information to another Enabling and disabling events . . . . . . . . 808
server . . . . . . . . . . . . . . . 751 Beginning and ending event logging . . . . . 809
Exporting policy information to another server 752 Logging events to the IBM Tivoli Storage Manager
Exporting server data to another server . . . 752 server console and activity log . . . . . . . 809
Exporting and importing data using sequential Logging events to a file exit and a user exit . . . 810
media volumes . . . . . . . . . . . . . 753 Adding a file exit or user exit option . . . . 810
Using preview before exporting or importing Logging events to the Tivoli Enterprise Console 811
data . . . . . . . . . . . . . . . 753 Controlling the format of events . . . . . . 812
Planning for sequential media used to export Encoding events to UTF-8 . . . . . . . . 814
data . . . . . . . . . . . . . . . 754 Setting up a Tivoli Enterprise Console as a
Exporting tasks. . . . . . . . . . . . 755 receiver . . . . . . . . . . . . . . 814
Importing data from sequential media volumes 758 Logging events to an SNMP manager . . . . . 815
Monitoring export and import processes . . . 770 Configuring IBM Tivoli Storage Manager SNMP 818
Exporting and importing data from virtual Logging events to the Windows event log . . . . 820
volumes . . . . . . . . . . . . . . 773 Enterprise event logging: logging events to another
server . . . . . . . . . . . . . . . . 820
Part 5. Monitoring operations . . . 775 Querying event logging . . . . . . . . . . 822
User exit and file exit receivers . . . . . . . 822
Sample user-exit declarations . . . . . . . 823
Chapter 23. Daily monitoring tasks 777 Sample user exit program . . . . . . . . 825
Monitoring operations using the command line 778 Readable text file exit (FILETEXTEXIT) format 826
Monitoring your server processes daily. . . . 778
Monitoring your database daily . . . . . . 779
Monitoring disk storage pools daily . . . . . 782 Part 6. Protecting the server . . . 829
Monitoring sequential access storage pools daily 783
Monitoring scheduled operations daily . . . . 786 Chapter 28. Managing Tivoli Storage
Manager security . . . . . . . . . . 831
Chapter 24. Basic monitoring methods 789 Securing communications . . . . . . . . . 831
Using IBM Tivoli Storage Manager queries to Secure Sockets Layer and Transport Layer
display information . . . . . . . . . . . 789 Security communication . . . . . . . . . 832
Requesting information about IBM Tivoli Setting up SSL . . . . . . . . . . . . 833
Storage Manager definitions . . . . . . . 789 Securing the server console . . . . . . . . . 843
Requesting information about client sessions 790 Managing access to the server and clients . . . . 844
Requesting information about server processes 791 Managing Tivoli Storage Manager administrator
Requesting information about server settings 792 IDs . . . . . . . . . . . . . . . . 844
Querying server options . . . . . . . . . 792 Managing passwords and logon procedures . . . 852
Querying the system . . . . . . . . . . 793 Configuring a directory server for password
authentication . . . . . . . . . . . . 855
Contents xi
Converting client nodes for store operations on Managing copy storage pool volumes and
a target replication server . . . . . . . . 989 active-data pool volumes at the recovery site . 1042
Removing a node replication configuration . . . 989 Disaster recovery manager checklist . . . . . 1043
The disaster recovery plan file . . . . . . . 1048
Chapter 31. Configuring clustered Breaking out a disaster recovery plan file. . . 1048
environments . . . . . . . . . . . 991 Structure of the disaster recovery plan file . . 1051
Example disaster recovery plan file. . . . . 1054
Clustered environment overview . . . . . . . 991
Cluster nodes . . . . . . . . . . . . 992
Configuring a Windows clustered environment . . 992 Chapter 33. Integrating disaster
Microsoft Failover Cluster environment recovery manager and node
overview . . . . . . . . . . . . . . 993 replication into your disaster
Tape failover for nodes in a cluster . . . . . 994 recovery strategy . . . . . . . . . 1075
Planning for a clustered environment . . . . 996 Plan for a disaster recovery strategy . . . . . 1076
Setting up Tivoli Storage Manager in a Tier 0: No disaster recovery capability. . . . . 1077
Microsoft Failover Cluster . . . . . . . . 999 Tier 1: Offsite vaulting from a single production
Maintaining the clustered environment . . . 1001 site . . . . . . . . . . . . . . . . 1077
Tier 2: Offsite vaulting with a recovery site . . . 1078
Chapter 32. Disaster recovery Tier 3: Electronic vaulting of critical data . . . . 1078
manager . . . . . . . . . . . . . 1005 Tier 4: Active data management at peer sites . . 1079
Querying defaults for the disaster recovery plan Tier 5: Synchronous replication . . . . . . . 1080
file . . . . . . . . . . . . . . . . 1006 Tier 6: Synchronous replication with coupling or
Specifying defaults for the disaster recovery clustering applications . . . . . . . . . . 1081
plan file . . . . . . . . . . . . . . 1006
Specifying defaults for offsite recovery media Part 7. Appendixes . . . . . . . 1083
management . . . . . . . . . . . . 1009
Specifying recovery instructions for your site . . 1011
Specifying information about your server and Appendix A. External media
client node machines . . . . . . . . . . 1013 management interface description . . 1085
Specifying recovery media for client machines 1017 CreateProcess call . . . . . . . . . . . 1085
Creating and storing the disaster recovery plan 1018 Processing during server initialization . . . . . 1086
Storing the disaster recovery plan locally . . . 1019 Processing for mount requests . . . . . . . 1086
Storing the disaster recovery plan on a target Processing for release requests . . . . . . . 1087
server . . . . . . . . . . . . . . 1019 Processing for batch requests . . . . . . . . 1087
Disaster recovery plan environmental Error handling . . . . . . . . . . . . 1088
considerations . . . . . . . . . . . . 1020 Begin batch request . . . . . . . . . . . 1088
Managing disaster recovery plan files stored on End batch request . . . . . . . . . . . 1088
target servers . . . . . . . . . . . . . 1022 Volume query request . . . . . . . . . . 1089
Displaying information about recovery plan Initialization requests . . . . . . . . . . 1090
files . . . . . . . . . . . . . . . 1022 Volume eject request . . . . . . . . . . 1090
Displaying the contents of a recovery plan file 1022 Volume release request . . . . . . . . . . 1091
Restoring a recovery plan file . . . . . . 1023 Volume mount request . . . . . . . . . . 1092
Expiring recovery plan files automatically . . 1023 Volume dismount request . . . . . . . . . 1095
Deleting recovery plan files manually . . . . 1024
Moving backup media . . . . . . . . . . 1024 Appendix B. User exit and file exit
Moving copy storage pool and active-data pool receivers . . . . . . . . . . . . . 1097
volumes offsite . . . . . . . . . . . 1026 Sample user-exit declarations. . . . . . . . 1097
Moving copy storage pool and active-data pool Sample user exit program . . . . . . . . . 1099
volumes on-site . . . . . . . . . . . 1028 Readable text file exit (FILETEXTEXIT) format 1100
Managing the Disaster Recovery Manager tasks 1029
Preparing for disaster recovery . . . . . . . 1032
Recovering from a disaster . . . . . . . . 1034
Appendix C. Tivoli support
Server recovery scenario . . . . . . . . 1034 information . . . . . . . . . . . . 1103
Client recovery scenario . . . . . . . . 1038 Communities and other learning resources . . . 1103
Recovering with different hardware at the Searching knowledge bases . . . . . . . . 1105
recovery site . . . . . . . . . . . . . 1040 Searching the Internet . . . . . . . . . 1105
Automated SCSI library at the original and Using IBM Support Assistant . . . . . . . 1105
recovery sites . . . . . . . . . . . . 1040 Finding product fixes . . . . . . . . . 1106
Automated SCSI library at the original site and Receiving notification of product fixes . . . . 1106
a manual scsi library at the recovery site . . . 1041 Contacting IBM Software Support . . . . . . 1106
Setting up and managing support contracts 1107
Contents xiii
xiv IBM Tivoli Storage Manager for Windows: Administrator's Guide
Preface
IBM® Tivoli® Storage Manager is a client/server program that provides storage
management solutions to customers in a multi-vendor computer environment. IBM
Tivoli Storage Manager provides an automated, centrally scheduled,
policy-managed backup, archive, and space-management facility for file servers
and workstations.
You should be familiar with the operating system on which the server resides and
the communication protocols required for the client/server environment. You also
need to understand the storage management practices of your organization, such
as how you are currently backing up workstation files and how you are using
storage devices.
Publications
Publications for the Tivoli Storage Manager family of products are available online.
The Tivoli Storage Manager product family includes IBM Tivoli Storage
FlashCopy® Manager, IBM Tivoli Storage Manager for Space Management, IBM
Tivoli Storage Manager for Databases, and several other storage management
products from IBM Tivoli.
You also can find the Tivoli Storage Manager product family information centers
and other information centers that contain official product documentation for
current and previous versions of Tivoli products at Tivoli Documentation Central.
Tivoli Documentation Central is available at [Link]
developerworks/community/wikis/home/wiki/Tivoli Documentation Central.
In the usage and descriptions for administrative commands, the term characters
corresponds to the number of bytes available to store an item. For languages in
which it takes a single byte to represent a displayable character, the character to
byte ratio is 1 to 1. However, for DBCS and other multi-byte languages, the
reference to characters refers only to the number of bytes available for the item and
may represent fewer actual characters.
You can now do the following additional administrative tasks through the
Operations Center:
v Customize the settings for servers and clients by editing the server and client
properties.
v View or cancel the sessions and processes that are in progress by using the
Active Tasks view for servers.
v View the sessions and processes that succeeded or failed by using the
Completed Tasks view for servers.
v View activity log messages that are related to specific alerts, sessions, and
processes. These activity log messages are available on the Alerts page and in
the Active Tasks and Completed Tasks views.
v Manually back up clients, storage pools, and the server database.
v View the replication server configuration for a client.
v Register clients, and configure basic backup settings.
v Suppress risk warnings for specific clients.
v View the authority level of the administrator ID that is used to log in to the
Operations Center.
Related tasks:
Chapter 17, “Managing the storage environment with the Operations Center,” on
page 587
To use automatic failover when node replication is in use, both the source and
target replication servers and the client must be at V7.1. You can use only one
failover server for each replicating node at any time. The failover server is the last
server that a node successfully replicated to. The client can recover data from the
target replication server, but it cannot store data during failover processing.
The previous Tivoli Storage Manager server release, V6.3, was packaged with a
DB2 V9.7 database.
If you are upgrading the server, you must ensure that the correct version of DB2 is
installed. If you are using a Tivoli Storage Manager V6.1 server, and you want to
upgrade to V7.1, you must upgrade the V6.1 server to V6.2 or V6.3. Then, upgrade
the server from V6.2 or V6.3 to V7.1. The Tivoli Storage Manager V6.1 server was
packaged with a DB2 V9.5 database, which cannot be upgraded to V10.5. The
Tivoli Storage Manager V6.2 and V6.3 servers were packaged with a DB2 V9.7
database, which can be upgraded to V10.5.
The following device types are deprecated. While you can use these device types
with Tivoli Storage Manager Version 7.1, plan to migrate data to new devices
before you upgrade to a later release of Tivoli Storage Manager.
v 3490
v 3570
v CARTRIDGE
v OPTICAL
v WORM
v QIC
v DTF
For a list of devices and valid device class formats, see the Tivoli Storage Manager
Supported Devices website for your operating system:
[Link]
IBM_TSM_Supported_Devices_for_AIXHPSUNWIN.html
You can group file spaces that belong to a single node, which allows data for these
file spaces to be collocated efficiently without requiring separate volumes for each
file space. When you use file-space level collocation groups, you can group data
for a limited set of file systems, for example, virtual machines. Fewer volumes are
required for the data and placement can be coordinated in the server storage
hierarchy.
For more information about collocation, see Keeping client files together using
collocation in the Administrator's Guide.
For detailed information about the DEFINE COLLOCMEMBER command, see the
Administrator's Reference.
For updated information about how collocation settings affect data processing and
how the server migrates files, see How the server selects files to migrate in the
Administrator's Guide.
You can manually configure a Tivoli Storage Manager server, or use the instance
configuration wizard, to use shared memory with DB2.
You can add directories to the database by using the EXTEND DBSPACE command. In
Version 7.1, the updates for this operation include distributing data across all
database directories and then reclaiming unused space and returning it to the
system. Because redistribution operations take considerable system resources, plan
ahead when you want to add space to the database. You must complete the
process while the server is not handling a heavy load.
For detailed requirements, see the EXTEND DBSPACE command in the Administrator’s
Reference.
When you create a storage pool for data deduplication, you can now specify 0 - 50
parallel processes for server-side duplicate identification.
You can use additional memory to optimize the frequent access of deduplicate
extent information that is stored in the Tivoli Storage Manager database.
If you do not verify user limits, the server might become unstable or fail to
respond. Set the ulimit value as 65536 for the maximum number of open files.
Ensure that the system-wide limit is at least the value of the ulimit.
For information about supported operating systems for clients, see the IBM Tivoli
Storage Manager website at [Link]
Overview/Software/Tivoli/Tivoli_Storage_Manager.
Client programs, such as the backup-archive client and the HSM client (space
manager), are installed on systems that are connected through a LAN and that are
registered as client nodes. From these client nodes, users can back up, archive, or
migrate files to the server.
The following sections present key concepts and information about IBM Tivoli
Storage Manager. The sections describe how Tivoli Storage Manager manages client
files that are based on information that is provided in administrator-defined
policies, and manages devices and media that are based on information that is
provided in administrator-defined Tivoli Storage 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.
You can have multiple policies and assign the different policies as needed to
specific clients, or files. Policy assigns a location in server storage where data is
initially stored. Server storage is divided into storage pools that are groups of
storage volumes and can include disk and tape volumes.
When you install Tivoli Storage Manager, you have a default policy that you can
use. For details about this default policy, see “Reviewing the standard policy” on
page 477. You can modify this policy and define policies.
Clients use Tivoli Storage Manager to store data for any of the following purposes:
Back up and restore
The backup process copies data from client workstations to server storage
to protect against data-loss. The server retains versions of a file according
to policy, and replaces older versions of the file with newer versions. The
policy includes the number of versions of files to keep and the retention
time for the versions.
A client can restore any version of a file that is kept on the Tivoli Storage
Manager server.
Archive and retrieve
The archive process copies data from client workstations to the Tivoli
Storage Manager server for long-term storage. The process can optionally
delete the archived files from the client workstations. The server retains
Figure 1 on page 7 shows how a policy is part of the Tivoli Storage Manager
process for storing client data.
Migration
Backup
or
Archive
Database
Policy Domain
Policy Set
Management Class
Copy Group
Figure 1. How IBM Tivoli Storage Manager Controls Backup, Archive, and Migration
Processes
Files remain in the storage pools until they expire and expiration processing
occurs, or until they are deleted on the server. A file expires because of criteria that
are set in the policy. For example, the criteria include the number of file versions
that are allowed and the number of days that have elapsed since a file was deleted
from a client-node file system. If data retention protection is activated, an archive
object cannot be inadvertently deleted.
For information about managing the database, see Chapter 20, “Managing the
database and recovery log,” on page 643.
For information about storage pools and storage pool volumes, see Chapter 10,
“Managing storage pools and volumes,” on page 239.
For information about event-based policy, deletion hold, and data retention
protection, see Chapter 13, “Implementing policies for client data,” on page 475.
Data-protection options
Tivoli Storage Manager provides a variety of backup and archive operations,
allowing you to select the right protection for the situation.
Schedule the backups of client data to help enforce the data management policy
that you establish. If you schedule the backups, rather than rely on the clients to
perform the backups, the policy that you establish is followed more consistently.
See Chapter 15, “Scheduling operations for client nodes,” on page 559.
The standard backup method that Tivoli Storage Manager uses is called progressive
incremental backup. It is a unique and efficient method for backup. See “Progressive
incremental backups” on page 13.
Table 2 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 set
determines how the backup data is managed.
Table 2. Summary of client operations
Type of Description Usage Restore options For more
operation information
Progressive The standard method of Helps ensure complete, The user can restore just See “Incremental
incremental backup used by Tivoli effective, policy-based the version of the file that backup” on page 492
backup Storage Manager. After backup of data. Eliminates is needed. and the
the first, full backup of a the need to retransmit Backup-Archive
client system, incremental backup data that has not Tivoli Storage Manager Clients Installation
backups are done. been changed during does not need to restore a and User's Guide.
Incremental backup by successive backup base file followed by
date is also available. operations. incremental backups. This
means reduced time and
No additional full fewer tape mounts, as
backups of a client are well as less data
required after the first transmitted over the
backup. network.
Selective Backup of files that are Allows users to protect a The user can restore just See “Selective
backup selected by the user, subset of their data the version of the file that backup” on page 494
regardless of whether the independent of the is needed. and the
files have changed since normal incremental Backup-Archive
the last backup. backup process. Tivoli Storage Manager Clients Installation
does not need to restore a and User's Guide.
base file followed by
incremental backups. This
means reduced time and
fewer tape mounts, as
well as less data
transmitted over the
network.
Applicable to clients on
Windows systems.
Journal- Aids all types of backups Reduces the amount of Journal-based backup has See the
based (progressive incremental time required for backup. no effect on how files are Backup-Archive
backup backup, selective backup, The files eligible for restored; this depends on Clients Installation
adaptive subfile backup) backup are known before the type of backup and User's Guide.
by basing the backups on the backup operation performed.
a list of changed files. begins.
The list is maintained on
the client by the journal Applicable to clients on
engine service of IBM AIX and Windows
Tivoli Storage Manager. systems, except Windows
2003 64-bit IA64.
Image Full volume backup. Allows backup of an The entire image is See “Policy for
backup entire file system or raw restored. logical volume
Nondisruptive, on-line volume as a single object. backups” on page
backup is possible for Can be selected by 523 and the
Windows clients by using backup-archive clients on Backup-Archive
the Tivoli Storage UNIX, Linux, and Clients Installation
Manager snapshot Windows systems. and User's Guide.
function.
Image Full volume backup, Used only for the image The full image backup See Chapter 9,
backup which can be followed by backups of NAS file plus a maximum of one “Using NDMP for
with subsequent differential servers, performed by the differential backup are operations with NAS
differential backups. server using NDMP restored. file servers,” on page
backups operations. 203.
Backup A method of backup that Implements Details depend on the See the
using exploits the capabilities high-efficiency backup hardware. documentation for
hardware of IBM Enterprise Storage and recovery of Tivoli Storage
snapshot Server FlashCopy and business-critical FlashCopy Manager.
capabilities EMC TimeFinder to make applications while
copies of volumes used virtually eliminating
by database servers. The backup-related downtime
Tivoli Storage FlashCopy or user disruption on the
Manager product then database server.
uses the volume copies to
back up the database
volumes.
Tivoli Storage Manager takes incremental backup one step further. After the initial
full backup of a client, no additional full backups are necessary because the server,
using its database, keeps track of whether files need to be backed up. Only files
that change are backed up, and then entire files are backed up, so that the server
does not need to reference base versions of the files. This means savings in
resources, including the network and storage.
If you choose, you can force full backup by using the selective backup function of
a client in addition to the incremental backup function. You can also choose to use
adaptive subfile backup, in which the server stores the base file (the complete
initial backup of the file) and subsequent subfiles (the changed parts) that depend
on the base file.
You can back up client backup, archive, and space-managed data in primary
storage pools to copy storage pools. You can also copy active versions of client
backup data from primary storage pools to active-data pools. The server can
automatically access copy storage pools and active-data pools to retrieve data. See
“Protecting client data” on page 882.
You can also back up the server's database. The database is key to the server's
ability to track client data in server storage. See “Protecting the database and
infrastructure setup files” on page 870.
These backups can become part of a disaster recovery plan, created automatically
by the disaster recovery manager. See Chapter 32, “Disaster recovery manager,” on
page 1005.
In many configurations, the Tivoli Storage Manager client sends its data to the
server over the LAN. The server then transfers the data to a device that is attached
to the server. You can also use storage agents that are installed on client nodes to
send data over a SAN. This minimizes use of the LAN and the use of the
computing resources of both the client and the server. For details, see “LAN-free
data movement” on page 49.
For network-attached storage, use NDMP operations to avoid data movement over
the LAN. For details, see “NDMP backup operations” on page 51.
Tivoli Storage Manager represents physical storage devices and media with the
following administrator-defined objects:
Library
A library is one or more drives (and possibly robotic devices) with similar
media-mounting requirements.
Drive Each drive represents a drive mechanism in a tape device.
Data mover
A data mover represents a device that accepts requests from Tivoli Storage
Manager to transfer data on behalf of the server. Data movers transfer data
between storage devices.
Path A path represents how a source accesses a destination. For example, the
source can be a server, and the destination can be a tape drive. A path
defines the one-to-one relationship between a source and a destination.
Data can flow from the source to the destination, and back.
For details about device concepts, see Chapter 3, “Storage device concepts,” on
page 35.
For example, you have a backup policy that specifies that three versions of a file be
kept. File A is created on the client, and backed up. Over time, the user changes
file A, and three versions of the file are backed up to the server. Then the user
changes file A again. When the next incremental backup occurs, a fourth version of
file A is stored, and the oldest of the four versions is eligible for expiration.
To remove data that is eligible for expiration, a server expiration process marks
data as expired and deletes metadata for the expired data from the database. The
space occupied by the expired data is then available for new data.
You control the frequency of the expiration process by using a server option, or
you can start the expiration processing by command or scheduled command.
Your changing storage needs and client requirements can mean on-going
configuration changes and monitoring. The server's capabilities are described in the
following topics.
The Tivoli Storage Manager server uses its storage for the data it manages for
clients. The storage can be a combination of devices.
v Disk
v Tape drives that are either manually operated or automated
v Other drives that use removable media
Disk devices
Disk devices can be used with Tivoli Storage Manager for storing the database and
recovery log or client data that is backed up, archived, or migrated from client
nodes.
The server can store data on disk by using random-access volumes (device type of
DISK) or sequential-access volumes (device type of FILE).
The Tivoli Storage Manager product allows you to exploit disk storage in ways
that other products do not. You can have multiple client nodes back up to the
same disk storage pool at the same time, and still keep the data for the different
client nodes separate. Other products also allow you to back up different systems
at the same time, but only by interleaving the data for the systems, leading to
slower restore processes.
If you have enough disk storage space, data can remain on disk permanently or
temporarily, depending on the amount of disk storage space that you have. Restore
process performance from disk can be very fast compared to tape.
You can have the server later move the data from disk to tape; this is called
migration through the storage hierarchy. Other advantages to this later move to
tape include:
v Ability to collocate data for clients as the data is moved to tape
v Streaming operation of tape drives, leading to better tape drive performance
For information about storage hierarchy and setting up storage pools on disk
devices, see:
Chapter 4, “Magnetic disk devices,” on page 63 and “Storage pool hierarchies”
on page 260
The following topics provide an overview of how to use removable media devices
with Tivoli Storage Manager.
Device classes
A device class represents a set of storage devices with similar availability,
performance, and storage characteristics.
You must define device classes for the drives available to the Tivoli Storage
Manager server. You specify a device class when you define a storage pool so that
the storage pool is associated with drives.
For more information about defining device classes, see “Defining device classes”
on page 177.
The server can perform migration as needed, based on migration thresholds that
you set for the storage pools. Because migration from a disk to a tape storage pool
uses resources such as drives and operators, you may want to ensure that
migration occurs at a time that is best for your situation. You can control when
migration occurs by setting migration thresholds with the DEFINE STGPOOL
command.
To migrate from a disk storage pool to a tape storage pool, devices must be
allocated and tapes must be mounted. Mount messages are directed to the console
message queue and to any administrative client that is started with either the
mount mode or console mode option.
See “Migrating disk storage pools” on page 273 and the Administrator's Reference
for more information.
You can use the following techniques to manage your storage pool data:
Collocation
The server can keep data that belongs to a single client node, group of
client nodes, or client file space assigned to as few volumes as possible.
When you restore collocated files, fewer media mounts is needed, however,
when you back up files from different clients, more mounts are needed.
Reclamation
Reclamation makes the fragmented space on volumes usable again by
moving any remaining active files from one volume to another volume,
thus making the original volume available for reuse.
Storage pool backup
Client backup, archive, and space-managed data in primary storage pools
can be backed up to copy storage pools for disaster recovery purposes. You
can configure the storage pool to simultaneously write to copy storage
pools when client data is written to the primary storage pools.
Copy active data
The active versions of client backup data can be copied to active-data
pools. Active-data pools provide a number of benefits. For example, if the
device type associated with an active-data pool is sequential-access disk
(FILE), you can eliminate the need for disk staging pools. Restoring client
data is faster because FILE volumes are not physically mounted, and the
server does not have to position past inactive files that do not have to be
restored.
An active-data pool that uses removable media, such as tape, reduces the
number of volumes for onsite and offsite storage. (Like volumes in copy
storage pools, volumes in active-data pools can be moved offsite for
protection in case of disaster.) If you vault data electronically to a remote
location, a SERVER-type active-data pool saves bandwidth by copying and
restoring only active data.
As backup client data is written to primary storage pools, the active
versions can be simultaneously written to active-data pools.
Cache When the server migrates files from disk storage pools, duplicate copies of
the files can remain in cache (disk storage) for faster retrieval. Cached files
You can establish a hierarchy of storage pools. The hierarchy can be based on the
speed or the cost of the devices that are associated with the pools. Tivoli Storage
Manager can migrate client files through this hierarchy to ensure the most efficient
use of storage devices.
You manage storage volumes by defining, updating, and deleting volumes, and by
monitoring the use of server storage. You can also move files within and across
storage pools to optimize the use of server storage.
For more information about storage pools and volumes and taking advantage of
storage pool features, see Chapter 10, “Managing storage pools and volumes,” on
page 239.
Tip: To define disk volumes, you can also use the Server Initialization wizard. This
wizard is displayed during the server configuration process.
After you have created schedules, you manage and coordinate those schedules.
Your tasks include the following:
v Verify that the schedules ran successfully.
v Determine how long Tivoli Storage Manager retains information about schedule
results (event records) in the database.
v Balance the workload on the server so that all scheduled operations complete.
For more information about client operations, see the following sections:
For more information about these tasks, see Chapter 16, “Managing schedules for
client nodes,” on page 569
The Tivoli Storage Manager server supports a variety of client nodes. You can
register the following types of clients and servers as client nodes:
v Tivoli Storage Manager backup-archive client
v Application clients that provide data protection through one of the following
products: Tivoli Storage Manager for Application Servers, Tivoli Storage
Manager for Databases, Tivoli Storage Manager for Enterprise Resource
Planning, or Tivoli Storage Manager for Mail.
v Tivoli Storage Manager for Space Management client (called space manager
client or HSM client)
v A NAS file server for which the Tivoli Storage Manager server uses NDMP for
backup and restore operations
v Tivoli Storage Manager source server (registered as a node on a target server)
When you register clients, you have choices to make about the following:
v Whether the client should compress files before sending them to the server for
backup
v Whether the client node ID has the authority to delete its files from server
storage
v Whether an administrator ID that matches the client ID is created, for remote
client operations
For more information on managing client nodes, see the Backup-Archive Clients
Installation and User's Guide.
Security management
Tivoli Storage Manager includes security features for user registration and
passwords. Also included are features that can help ensure security when clients
connect to the server across a firewall.
Registration for clients can be closed or open. With closed registration, a user with
administrator authority must register all clients. With open registration, clients can
register themselves at first contact with the server. See “Registering nodes with the
server” on page 420.
You can ensure that only authorized administrators and client nodes are
communicating with the server by requiring passwords. Passwords can
authenticate with an LDAP directory server or the Tivoli Storage Manager server.
Most password-related commands work for both kinds of servers. The PASSEXP and
RESET PASSEXP commands do not work for passwords that authenticate with an
LDAP directory server. You can use the LDAP directory server to give more
options to your passwords, independent of the Tivoli Storage Manager server.
Whether you store your passwords on an LDAP directory server, or on the Tivoli
Storage Manager server, you can set the following requirements for passwords:
v Minimum number of characters in a password.
v Expiration time.
Important: The invalid password limit is for passwords that authenticate with the
Tivoli Storage Manager server and any LDAP directory servers. Invalid password
attempts can be configured on an LDAP directory server, outside of the Tivoli
Storage Manager server. But the consequence of setting the number of invalid
attempts on the LDAP directory server might pose some problems. For example,
when the REGISTER NODE command is issued, the default behavior is to name the
node administrator the same name as the node. The LDAP server does not
recognize the difference between the node “NODE_Q” and the administrator
“NODE_Q”. The node and the administrator can authenticate to the LDAP server
if they have the same password. If the node and administrator have different
passwords, the authentication fails for either the node or administrator. If the node
or the administrator fail to logon consistently, their IDs are locked. You can avoid
this situation by issuing the REGISTER NODE command with USERID=userid or
USERID=NONE.
Tivoli Storage Manager provides several ways to manage security. You can control
the authority of administrators. An organization can name a single administrator
or distribute the workload among a number of administrators and grant them
different levels of authority. For better security when clients connect across a
firewall, you can control whether clients can initiate contact with the server for
scheduled operations. Server options can be set to keep client and administrative
traffic on separate server ports.
Related concepts:
“Managing Tivoli Storage Manager administrator IDs” on page 844
“Managing passwords and logon procedures” on page 852
Related reference:
Chapter 28, “Managing Tivoli Storage Manager security,” on page 831
In Tivoli Storage Manager, you define policies by defining policy domains, policy
sets, management classes, and backup and archive copy groups. When you install
Tivoli Storage Manager, you have a default policy that consists of a single policy
domain named STANDARD.
The default policy provides basic backup protection for end-user workstations. To
provide different levels of service for different clients, you can add to the default
policy or create new policy. For example, because of business needs, file servers are
For more information about the default policy and establishing and managing new
policies, see Chapter 13, “Implementing policies for client data,” on page 475.
Scheduling also can mean better utilization of resources such as the network.
Client backups that are scheduled at times of lower usage can minimize the impact
on user operations on a network.
You can automate operations for clients by using schedules. Tivoli Storage
Manager provides a central scheduling facility. You can also use operating system
utilities or other scheduling tools to schedule Tivoli Storage Manager operations.
With Tivoli Storage Manager schedules, you can perform the operations for a client
immediately or schedule the operations to occur at regular intervals.
For a schedule to work on a particular client, the client machine must be turned
on. The client either must be running the client scheduler or must allow the client
acceptor daemon to start the scheduler when needed.
Related tasks:
“Scheduling a client operation” on page 560
Server maintenance
If you manage more than one server, you can ensure that the multiple servers are
consistently managed by using the enterprise management functions of Tivoli
Storage Manager.
You can set up one server as the configuration manager and have other servers
obtain configuration information from it.
To keep the server running well, you can perform these tasks:
v Managing server operations, such as controlling client access to the server
v Automating repetitive administrative tasks
v Monitoring and adjusting space for the database and the recovery log
v Monitoring the status of the server, server storage, and clients
Server-operation management
When managing your server operations, you can choose from a variety of
associated tasks.
Some of the more common tasks that you can perform to manage your server
operations are shown in the following list:
v Start and stop the server.
v Allow and suspend client sessions with the server.
v Query, cancel, and preempt server processes such as backing up the server
database.
v Customize server options.
See “Licensing IBM Tivoli Storage Manager” on page 595. For suggestions about
the day-to-day tasks required to administer the server, see Chapter 18, “Managing
server operations,” on page 595.
Server options are in the server options file. Some options can be changed and
made active immediately by using the SETOPT command. Most server options are
changed by editing the server options file and then halting and restarting the
server to make the changes active.
See the Administrator's Reference for details about the server options file and
reference information for all server options.
You can define schedules for the automatic processing of most administrative
commands. For example, a schedule can run the command to back up the server's
database every day.
Results
For more information about automating Tivoli Storage Manager operations, see
Chapter 19, “Automating server operations,” on page 619.
If you have a predefined maintenance script, you can add or subtract commands
using the maintenance script wizard. You can add, subtract, or reposition
commands if you have a custom maintenance script. Both methods can be accessed
through the same process. If you want to convert your predefined maintenance
script to a custom maintenance script, select a server with the predefined script,
click Select Action > Convert to Custom Maintenance Script.
The information about the client data, also called metadata, includes the file name,
file size, file owner, management class, copy group, and location of the file in
server storage. The server records changes made to the database (database
transactions) in its recovery log. The recovery log is used to maintain the database
in a transactionally consistent state, and to maintain consistency across server
startup operations.
For more information about the Tivoli Storage Manager database and recovery log
and about the tasks associated with them, see Chapter 20, “Managing the database
and recovery log,” on page 643.
The Operations Center provides visibility to the key aspects of your Tivoli Storage
Manager environment, including clients, servers, policy, storage pools, and storage
devices. See Chapter 17, “Managing the storage environment with the Operations
Center,” on page 587 for more information.
You can use Tivoli Storage Manager queries and SQL queries to get information
about the server. You can also set up automatic logging of information about Tivoli
Storage Manager clients and server events. Daily checks of some indicators are
suggested.
See the following sections for more information about these tasks:
v Part 5, “Monitoring operations,” on page 775
v Chapter 23, “Daily monitoring tasks,” on page 777
v “Using SQL to query the IBM Tivoli Storage Manager database” on page 794
v Chapter 27, “Logging IBM Tivoli Storage Manager events to receivers,” on page
807
When you have a network of Tivoli Storage Manager servers, you can simplify
configuration and management of the servers by using enterprise administration
functions. You can do the following:
v Designate one server as a configuration manager that distributes configuration
information such as policy to other servers. See “Setting up enterprise
configurations” on page 701.
v Route commands to multiple servers while logged on to one server. See
“Routing commands” on page 726.
v Log events such as error messages to one server. This allows you to monitor
many servers and clients from a single server. See “Enterprise event logging:
logging events to another server” on page 820.
v Store data for one Tivoli Storage Manager server in the storage of another Tivoli
Storage Manager server. The storage is called server-to-server virtual volumes.
See “Using virtual volumes to store data on another server” on page 732 for
details.
v Share an automated library among Tivoli Storage Manager servers. See “Devices
on storage area networks” on page 47.
v Store a recovery plan file for one server on another server, when using disaster
recovery manager. You can also back up the server database and storage pools to
another server. See Chapter 32, “Disaster recovery manager,” on page 1005 for
details.
v Back up the server database and storage pools to another server. See “Using
virtual volumes to store data on another server” on page 732 for details.
v To simplify password management, have client nodes and administrators
authenticate their passwords on multiple servers using an LDAP directory
server. See “Managing passwords and logon procedures” on page 852.
For example, you may need to balance workload among servers by moving client
nodes from one server to another. The following methods are available:
v You can export part or all of a server's data to sequential media, such as tape or
a file on hard disk. You can then take the media to another server and import
the data to that server
v You can export part or all of a server's data and import the data directly to
another server, if server-to-server communications are set up.
For more information about moving data between servers, see Chapter 22,
“Exporting and importing data,” on page 741.
Attention: If the database is unusable, the entire Tivoli Storage Manager server is
unavailable. If a database is lost and cannot be recovered, it might be difficult or
impossible to recover data that is managed by that server. Therefore, It is critically
important to back up the database. However, even without the database, fragments
of data or complete files might easily be read from storage pool volumes that are
not encrypted. Even if data is not completely recovered, security can be
compromised. For this reason, always encrypt sensitive data by using the Tivoli
Storage Manager client or the storage device, unless the storage media is physically
secured. See Part 6, “Protecting the server,” on page 829 for steps that you can take
to protect your database.
IBM Tivoli Storage Manager provides a number of ways to protect your data,
including backing up your storage pools and database. For example, you can
define schedules so that the following operations occur:
v After the initial full backup of your storage pools, incremental storage pool
backups are done nightly.
v Full database backups are done weekly.
v Incremental database backups are done nightly.
In addition to taking these actions, you can prepare a disaster recovery plan to
guide you through the recovery process by using the disaster recovery manager,
which is available with Tivoli Storage Manager Extended Edition. The disaster
recovery manager (DRM) assists you in the automatic preparation of a disaster
recovery plan. You can use the disaster recovery plan as a guide for disaster
recovery as well as for audit purposes to certify the recoverability of the Tivoli
Storage Manager server.
The disaster recovery methods of DRM are based on taking the following
measures:
v Sending server backup volumes offsite or to another Tivoli Storage Manager
server
v Creating the disaster recovery plan file for the Tivoli Storage Manager server
v Storing client machine information
v Defining and tracking client recovery media
For more information about protecting your server and for details about recovering
from a disaster, see Chapter 29, “Protecting and recovering the server infrastructure
and client data,” on page 869.
The examples in topics show how to perform tasks using the Tivoli Storage
Manager command-line interface. For information about the commands, see the
Administrator's Reference, or issue the HELP command from the command line of a
Tivoli Storage Manager administrative client.
Use the following table to identify key tasks and the topics that describe how to
perform those tasks.
Task Topic
Configure and manage magnetic disk Chapter 4, “Magnetic disk devices,” on page
devices, which Tivoli Storage Manager uses 63
to store client data, the database, database
backups, recovery log, and export data.
Physically attach storage devices to your Chapter 5, “Attaching devices for the
system. Install and configure the required server,” on page 73
device drivers.
Configure devices to use with Tivoli Storage Chapter 6, “Configuring storage devices,” on
Manager, using detailed scenarios of page 85
representative device configurations.
Plan, configure, and manage an environment Chapter 9, “Using NDMP for operations
for NDMP operations with NAS file servers,” on page 203
Perform routine operations such as labeling Chapter 7, “Managing removable media
volumes, checking volumes into automated operations,” on page 127
libraries, and maintaining storage volumes
and devices.
Define and manage device classes. “Defining device classes” on page 177
For a summary of supported devices, see Table 3 on page 58. For details and
updates, see the Tivoli Storage Manager device support website:
[Link]
IBM_TSM_Supported_Devices_for_AIXHPSUNWIN.html
Libraries
A physical library is a collection of one or more drives that share similar
media-mounting requirements. That is, the drive can be mounted by an operator or
by an automated mounting mechanism.
A library object definition specifies the library type, for example, SCSI or 349X, and
other characteristics associated with the library type, for example, the category
numbers used by an IBM TotalStorage 3494 Tape Library for private, scratch
volumes, and scratch, write-once, read-many (WORM) volumes.
Restriction: To use ACSLS functions, the StorageTek Library Attach software must
be installed. For more information, see “ACSLS-managed libraries” on page 109.
Manual libraries
In manual libraries, operators mount the volumes in response to mount-request
messages issued by the server.
The server sends these messages to the server console and to administrative clients
that were started by using the special MOUNTMODE or CONSOLEMODE parameter.
You can also use manual libraries as logical entities for sharing sequential-access
disk (FILE) volumes with other servers.
You cannot combine drives of different types or formats, such as Digital Linear
Tape (DLT) and 8MM, in a single manual library. Instead, you must create a
separate manual library for each device type.
The drives in a SCSI library can be of different types. A SCSI library can contain
drives of mixed technologies, for example LTO Ultrium and DLT drives. Some
examples of this library type are:
v The Oracle StorageTek L700 library
v The IBM 3590 tape device, with its Automatic Cartridge Facility (ACF)
Remember: Although it has a SCSI interface, the IBM 3494 Tape Library
Dataserver is defined as a 349X library type.
Using a VTL, you can create variable numbers of drives and volumes because they
are only logical entities within the VTL. The ability to create more drives and
volumes increases the capability for parallelism, giving you more simultaneous
mounts and tape I/O.
VTLs use SCSI and Fibre Channel interfaces to interact with applications. Because
VTLs emulate tape drives, libraries, and volumes, an application such as Tivoli
Storage Manager cannot distinguish a VTL from real tape hardware unless the
library is identified as a VTL.
For information about configuring a VTL library, see “Managing virtual tape
libraries” on page 116.
349X libraries
A 349X library is a collection of drives in an IBM 3494. Volume mounts and
dismounts are handled automatically by the library. A 349X library has one or
more library management control points (LMCP) that the server uses to mount and
dismount volumes in a drive. Each LMCP provides an independent interface to the
robot mechanism in the library.
The library manager that is built into the IBM 3494 library tracks the category
number of each volume in the library. A single category number identifies all
volumes that are used for the same purpose or application. Category numbers are
useful when multiple systems share the resources of a single library.
Attention: If other systems or other Tivoli Storage Manager servers connect to the
same 3494 library, each must use a unique set of category numbers. Otherwise, two
or more systems might try to use the same volume, and cause corruption or loss of
data.
Typically, a software application that uses a 3494 library uses volumes in one or
more categories that are reserved for that application. To avoid loss of data, each
When a volume is first inserted into the library, either manually or automatically at
the convenience I/O station, the volume is assigned to the insert category
(X'FF00'). A software application such as Tivoli Storage Manager can contact the
library manager to change the category number for a volume. For Tivoli Storage
Manager, you use the CHECKIN LIBVOLUME command.
349X library objects contain only one device type (3590 or 3592) of drives. Thus, if
you have 3590 and 3592 drives in your 349X library, you must define two library
objects: one for your 3590 drives and one for your 3592 drives. Each of these
library objects must have the same device parameter when their paths are defined.
External libraries
An external library is a collection of drives that are managed by an external
media-management system that is not part of Tivoli Storage Manager. The server
provides an interface that allows external media management systems to operate
with the server.
The external media manager selects the appropriate drive for media-access
operations. You do not define the drives, check in media, or label the volumes in
an external library.
An external library allows flexibility in grouping drives into libraries and storage
pools. The library can have one drive, a collection of drives, or even a part of an
automated library.
For a definition of the interface that Tivoli Storage Manager provides to the
external media management system, see Appendix A, “External media
management interface description,” on page 1085.
Drive definitions can include such information as the element address for drives in
SCSI or virtual tape libraries (VTLs), how often a tape drive is cleaned, and
whether the drive is online.
Tivoli Storage Manager drives include tape drives that can stand alone or that can
be part of an automated library. Supported removable media drives also include
removable file devices such as rewritable CDs.
Device class
Each device that is defined to Tivoli Storage Manager is associated with one device
class. The device class specifies the device type and media management
information, such as recording format, estimated capacity, and labeling prefixes.
Device types include various removable media types along with FILE, CENTERA,
and SERVER.
Disk devices
Using Tivoli Storage Manager, you can define random-access disk (DISK device
type) volumes using a single command. You can also use space triggers to
automatically create preassigned private volumes when predetermined
space-utilization thresholds are exceeded.
Removable media
Tivoli Storage Manager provides a set of specified removable-media device types,
such as 8MM for 8 mm tape devices, or REMOVABLEFILE for Jaz or DVD-RAM
drives.
The GENERICTAPE device type is provided to support certain devices that are not
supported by the Tivoli Storage Manager server.
For more information about supported removable media device types, see
“Defining device classes” on page 177 and the Administrator's Reference.
FILE volumes are a convenient way to use sequential-access disk storage for the
following reasons:
v You do not need to explicitly define scratch volumes. The server can
automatically acquire and define scratch FILE volumes as needed.
v You can create and format FILE volumes using a single command. The
advantage of private FILE volumes is that they can reduce disk fragmentation
and maintenance overhead.
v Using a single device class definition that specifies two or more directories, you
can create large, FILE-type storage pools. Volumes are created in the directories
you specify in the device class definition. For optimal performance, volumes
should be associated with file systems.
v When predetermined space-utilization thresholds have been exceeded, space
trigger functionality can automatically allocate space for private volumes in
FILE-type storage pools.
v The Tivoli Storage Manager server allows concurrent read-access and
write-access to a volume in a storage pool associated with the FILE device type.
Concurrent access improves restore performance by allowing two or more clients
to access the same volume at the same time. Multiple client sessions (archive,
retrieve, backup, and restore) or server processes (for example, storage pool
backup) can read the volume concurrently. In addition, one client session or one
server process can write to the volume while it is being read.
The following server processes are allowed shared read access to FILE volumes:
– BACKUP DB
– BACKUP STGPOOL
– COPY ACTIVEDATA
– EXPORT/IMPORT NODE
– EXPORT/IMPORT SERVER
– GENERATE BACKUPSET
– RESTORE STGPOOL
– RESTORE VOLUME
The following server processes are not allowed shared read access to FILE
volumes:
– AUDIT VOLUME
– DELETE VOLUME
– MIGRATION
– MOVE DATA
– MOVE NODEDATA
– RECLAMATION
Unless sharing with storage agents is specified, the FILE device type does not
require you to define library or drive objects. The only required object is a device
class.
The Centera storage device can also be configured with the Tivoli Storage Manager
server to form a specialized storage system that protects you from inadvertent
deletion of mission-critical data such as emails, trade settlements, legal documents,
and so on.
The CENTERA device class creates logical sequential volumes for use with Centera
storage pools. These volumes share many of the same characteristics as FILE type
volumes. With the CENTERA device type, you are not required to define library or
drive objects. CENTERA volumes are created as needed and end in the suffix
"CNT."
Multiple client retrieve sessions, restore sessions, or server processes can read a
volume concurrently in a storage pool that is associated with the CENTERA device
type. In addition, one client session or one server process can write to the volume
while it is being read. Concurrent access improves restore and retrieve performance
because two or more clients can have access to the same volume at the same time.
The following server processes can share read access to Centera volumes:
v EXPORT NODE
v EXPORT SERVER
v GENERATE BACKUPSET
The following server processes cannot share read access to Centera volumes:
v AUDIT VOLUME
v DELETE VOLUME
For more information about the Centera device class, see “Defining device classes
for CENTERA devices” on page 197. For details about Centera-related commands,
refer to the Administrator's Reference.
Server Environment
Physical Device
Environment
Device Class
Library Represents
Drives
Device
Drive Drive
Figure 2. Removable media devices are represented by a library, drive, and device class
You can control the characteristics of storage pools, such as whether scratch
volumes are used.
Figure 3 on page 44 shows storage pool volumes grouped into a storage pool. Each
storage pool represents only one type of media. For example, a storage pool for
8-mm devices represents collections of only 8-mm tapes.
Represents
Storage Media
Pool
For DISK device classes, you must define volumes. For other device classes, such
as tape and FILE, you can allow the server to dynamically acquire scratch volumes
and define those volumes as needed. For details, see:
“Preparing volumes for random-access storage pools” on page 255
“Preparing volumes for sequential-access storage pools” on page 255
One or more device classes are associated with one library, which can contain
multiple drives. When you define a storage pool, you associate the pool with a
device class. Volumes are associated with pools. Figure 4 shows these relationships.
Storage Pool
Vol. Vol. Volumes
Library
For information about defining storage pool and volume objects, see Chapter 10,
“Managing storage pools and volumes,” on page 239.
For NDMP operations, data movers are NAS file servers. The definition for a NAS
data mover contains the network address, authorization, and data formats required
for NDMP operations. A data mover enables communication and ensures authority
for NDMP operations between the Tivoli Storage Manager server and the NAS file
server.
Paths
Paths allow access to drives, disks, and libraries. A path definition specifies a
source and a destination. The source accesses the destination, but data can flow in
either direction between the source and destination.
Server objects
Server objects are defined to use a library that is on a SAN and that is managed by
another Tivoli Storage Manager server, to use LAN-free data movement, or to store
data in virtual volumes on a remote server.
Among other characteristics, you must specify the server TCP/IP address.
For each storage pool, you must decide whether to use scratch volumes. If you do
not use scratch volumes, you must define private volumes, or you can use
space-triggers if the volume is assigned to a storage pool with a FILE device type.
Tivoli Storage Manager keeps an inventory of volumes in each automated library it
manages and tracks whether the volumes are in scratch or private status. When a
volume mount is requested, Tivoli Storage Manager selects a scratch volume only
if scratch volumes are allowed in the storage pool. The server can choose any
scratch volume that has been checked into the library.
You do not need to allocate volumes to different storage pools associated with the
same automated library. Each storage pool associated with the library can
dynamically acquire volumes from the library's inventory of scratch volumes. Even
if only one storage pool is associated with a library, you do not need to explicitly
define all the volumes for the storage pool. The server automatically adds volumes
to and deletes volumes from the storage pool.
This inventory is not necessarily identical to the list of volumes in the storage
pools associated with the library. For example:
v A volume can be checked into the library but not be in a storage pool (a scratch
volume, a database backup volume, or a backup set volume).
v A volume can be defined to a storage pool associated with the library (a private
volume), but not checked into the library.
Device configurations
You can configure devices on a local area network, on a storage area network, for
LAN-free data movement, and as network-attached storage. Tivoli Storage
Manager provides methods for configuring storage devices.
For information about supported devices and Fibre Channel hardware and
configurations, see [Link]
Software/Tivoli/Tivoli_Storage_Manager
For information about the categories of libraries that are supported by Tivoli
Storage Manager, see “Libraries” on page 36.
By using Tivoli Storage Manager in a SAN, you can take advantage of the
following functions:
v Sharing storage devices among multiple Tivoli Storage Manager servers.
Devices that use the GENERICTAPE device type are not included.
v Moving Tivoli Storage Manager client data directly to storage devices (LAN-free
data movement) by configuring a storage agent on the client system.
In a SAN, you can share tape drives and libraries that are supported by the Tivoli
Storage Manager server, including most SCSI devices.
Library Manager
Library Client Server Server
Library
Control
LAN
Library Control
Data Flow
SAN Data Flow
Tape Library
Figure 5. Library sharing in a storage area network (SAN) configuration. The servers
communicate over the LAN. The library manager controls the library over the SAN. The
library client stores data to the library devices over the SAN.
When Tivoli Storage Manager servers share a library, the server that is defined as
the library manager controls device operations. These operations include mount,
dismount, volume ownership, and managing library inventory. Tivoli Storage
Manager servers that are defined as library clients use server-to-server
communications to contact the library manager and request device service. Data
moves over the SAN between each server and the storage device.
Tivoli Storage Manager servers use the following features when sharing an
automated library:
Partitioning of the Volume Inventory
The inventory of media volumes in the shared library is partitioned among
servers. Either one server owns a particular volume, or the volume is in
the global scratch pool. No server owns the scratch pool at any time.
Serialized Drive Access
Only one server accesses each tape drive at a time. Drive access is
serialized and controlled so that servers do not dismount other servers'
volumes or write to drives where other servers mount their volumes.
Serialized Mount Access
The library autochanger completes a single mount or dismount operation
at a time. The library manager completes all mount operations to provide
this serialization.
Related tasks:
Tape library
File library
Figure 6. LAN-Free data movement. Client and server communicate over the LAN. The
server controls the device on the SAN. Client data moves over the SAN to the device.
LAN-free data movement requires the installation of a storage agent on the client
system. The server maintains the database and recovery log, and acts as the library
manager to control device operations. The storage agent on the client handles the
data transfer to the device on the SAN. This implementation frees up bandwidth
on the LAN that would otherwise be used for client data movement.
The following outlines a typical backup scenario for a client that uses LAN-free
data movement:
1. The client begins a backup operation. The client and the server exchange policy
information over the LAN to determine the destination of the backed up data.
For a client that uses LAN-free data movement, the destination is a storage
pool that uses a device on the SAN.
2. Because the destination is on the SAN, the client contacts the storage agent,
which handles the data transfer. The storage agent sends a request for a volume
mount to the server.
3. The server contacts the storage device and, in the case of a tape library, mounts
the appropriate media.
4. The server notifies the client of the location of the mounted media.
5. The client, through the storage agent, writes the backup data directly to the
device over the SAN.
6. The storage agent sends file attribute information to the server, and the server
stores the information in its database.
Remember:
v Centera storage devices cannot be targets for LAN-free operations.
v For the latest information about clients that support the feature, see the IBM
Tivoli Storage Manager support page at [Link]
portal/Overview/Software/Tivoli/Tivoli_Storage_Manager.
Network-attached storage
Network-attached storage (NAS) file servers are dedicated storage machines whose
operating systems are optimized for file-serving functions. NAS file servers
typically do not run software that is acquired from another vendor. Instead, they
interact with programs like Tivoli Storage Manager through industry-standard
network protocols, such as network data management protocol (NDMP).
Tivoli Storage Manager provides two basic types of configurations that use NDMP
for backing up and managing NAS file servers. In one type of configuration, Tivoli
Storage Manager uses NDMP to back up a NAS file server to a library device
directly attached to the NAS file server. (See Figure 7.) The NAS file server, which
can be distant from the Tivoli Storage Manager server, transfers backup data
directly to a drive in a SCSI-attached tape library. Data is stored in special,
NDMP-formatted storage pools, which can be backed up to storage media that can
be moved offsite for protection in case of an onsite disaster.
Server
Offsite storage
Tape Library
NAS File
Server
Legend:
SCSI or Fibre
Channel Connection
TCP/IP NAS File Server
Connection File System
Data Flow Disks
Disk Storage
Server Offsite storage
Tape Library
NAS File
Server
Legend:
SCSI or Fibre
Channel Connection
TCP/IP NAS File Server
Connection File System
Data Flow Disks
In both types of configurations, Tivoli Storage Manager tracks file system image
backups and has the capability to perform NDMP file-level restores. For more
information about NDMP file-level restores, see “NDMP file-level restoration” on
page 52.
Note:
v A Centera storage device cannot be a target for NDMP operations.
v Support for filer-to-server data transfer is only available for NAS devices that
support NDMP version 4.
v For a comparison of NAS backup methods, including using a backup-archive
client to back up a NAS file server, see “Determining the location of NAS
backup” on page 213.
The image backups are different from traditional Tivoli Storage Manager backups
because the NAS file server transfers the data to the drives in the library or
directly to the Tivoli Storage Manager server. NAS file system image backups can
be either full or differential image backups. The first backup of a file system on a
NAS file server is always a full image backup. By default, subsequent backups are
differential image backups containing only data that has changed in the file system
since the last full image backup. If a full image backup does not already exist, a
full image backup is performed.
Using the Web backup-archive client, users can then browse the TOC and select
the files that they want to restore. If you do not create a TOC, users must be able
to specify the name of the backup image that contains the file to be restored and
the fully qualified name of the file.
By defining virtual file spaces, a file system backup can be partitioned among
several NDMP backup operations and multiple tape drives. You can also use
different backup schedules to back up sub-trees of a file system.
The virtual file space name cannot be identical to any file system on the NAS
node. If a file system is created on the NAS device with the same name as a virtual
file system, a name conflict will occur on the Tivoli Storage Manager server when
the new file space is backed up. See the Administrator's Reference for more
information about virtual file space mapping commands.
Remember: Virtual file space mappings are only supported for NAS nodes.
Libraries with this capability are those models supplied from the manufacturer
already containing mixed drives, or capable of supporting the addition of mixed
drives. Check with the manufacturer, and also check the Tivoli Storage Manager
Web site for specific libraries that have been tested on Tivoli Storage Manager with
mixed device types.
For example, you can have Quantum SuperDLT drives, LTO Ultrium drives, and
StorageTek 9940 drives in a single library defined to the Tivoli Storage Manager
server. For examples of how to set this up, see:
“Defining Tivoli Storage Manager storage objects with commands” on page 92
“Configuring a 3494 library with multiple drive device types” on page 99
If the new drive technology cannot write to media formatted by older generation
drives, the older media must be marked read-only to avoid problems for server
operations. Also, the older drives must be removed from the library. Some
examples of combinations that the Tivoli Storage Manager server does not support
in a single library are:
v SDLT 220 drives with SDLT 320 drives
v DLT 7000 drives with DLT 8000 drives
v StorageTek 9940A drives with 9940B drives
v UDO1 drives with UDO2 drives
There are exceptions to the rule against mixing generations of LTO Ultrium drives
and media. The Tivoli Storage Manager server does support mixtures of the
following types:
v LTO Ultrium Generation 1 (LTO1) and LTO Ultrium Generation 2 (LTO2)
v LTO Ultrium Generation 2 (LTO2) with LTO Ultrium Generation 3 (LTO3)
v LTO Ultrium Generation 3 (LTO3) with LTO Ultrium Generation 4 (LTO4)
v LTO Ultrium Generation 4 (LTO4) with LTO Ultrium Generation 5 (LTO5)
v LTO Ultrium Generation 5 (LTO5) with LTO Ultrium Generation 6 (LTO6)
The server supports these mixtures because the different drives can read and write
to the different media. If you plan to upgrade all drives to Generation 2 (or
Generation 3, Generation 4, or Generation 5), first delete all existing Ultrium drive
definitions and the paths associated with them. Then you can define the new
Generation 2 (or Generation 3, Generation 4, or Generation 5) drives and paths.
Note:
1. LTO Ultrium Generation 3 drives can only read Generation 1 media. If you are
mixing Ultrium Generation 1 with Ultrium Generation 3 drives and media in a
single library, you must mark the Generation 1 media as read-only, and all
Generation 1 scratch volumes must be checked out.
2. LTO Ultrium Generation 4 drives can only read Generation 2 media. If you are
mixing Ultrium Generation 2 with Ultrium Generation 4 drives and media in a
single library, you must mark the Generation 2 media as read-only, and all
Generation 2 scratch volumes must be checked out.
3. LTO Ultrium Generation 5 drives can only read Generation 3 media. If you are
mixing Ultrium Generation 3 with Ultrium Generation 5 drives and media in a
single library, you must mark the Generation 3 media as read-only, and all
Generation 3 scratch volumes must be checked out.
4. LTO Ultrium Generation 6 drives can only read Generation 4 media. If you are
mixing Ultrium Generation 4 with Ultrium Generation 6 drives and media in a
single library, you must mark the Generation 4 media as read-only, and all
Generation 4 scratch volumes must be checked out.
If you plan to encrypt volumes in a library, do not mix media generations in the
library.
This includes LTO formats. Multiple storage pools and their device classes of
different types can point to the same library that can support them as explained in
“Different media generations in a library” on page 53.
You can migrate to a new generation of a media type within the same storage pool
by following these steps:
1. ALL older drives are replaced with the newer generation drives within the
library (they cannot be mixed).
2. The existing volumes with the older formats are marked R/O if the new drive
cannot append those tapes in the old format. If the new drive can write to the
existing media in their old format, this is not necessary, but Step 1 is still
required. If it is necessary to keep different drive generations that are read but
not write compatible within the same library, separate storage pools for each
must be used.
Library sharing
Library sharing or tape resource sharing allows multiple Tivoli Storage Manager
servers to use the same tape library and drives on a storage area network (SAN)
and to improve backup and recovery performance and tape hardware asset
utilization.
When Tivoli Storage Manager servers share a library, one server is set up as the
library manager and controls library operations such as mount and dismount. The
library manager also controls volume ownership and the library inventory. Other
servers are set up as library clients and use server-to-server communications to
contact the library manager and request resources.
Library clients must be at the same or a lower version than the library manager
server. A library manager cannot support library clients that are at a higher
version. For example, a version 6.2 library manager can support a version 6.1
library client but cannot support a version 6.3 library client.
When data is to be stored in or retrieved from a storage pool, the server does the
following:
1. The server selects a volume from the storage pool. The selection is based on the
type of operation:
Tivoli Storage Manager manages the data on the media, but you manage the media
itself, or you can use a removable media manager. Managing media involves
creating a policy to expire data after a certain time or under certain conditions,
moving valid data onto new media, and reusing the empty media.
Tape inventory
Ongoing tape processing
3
Select tape
Data
expires or
moves
Reclaim
1. You label 1 and check in 2 the media. Checking media into a manual library
means storing them (for example, on shelves). Checking media into an
automated library involves adding them to the library volume inventory.
2. If you plan to define volumes to a storage pool associated with a device, check
in the volume with its status specified as private. Use of scratch volumes is
more convenient in most cases.
3. A client sends data to the server for backup, archive, or space management.
The server stores the client data on the volume. Which volume the server
selects (3) depends on:
v The policy domain to which the client is assigned.
v The management class for the data. It can be either the default management
class for the policy set, or the class that is specified by the client in the
client's include/exclude list or file.
v The storage pool that is specified as the destination in either the management
class (for space-managed data) or copy group (for backup or archive data).
The storage pool is associated with a device class, which determines which
device and which type of media is used.
v Whether the maximum number of scratch volumes that a server can request
from the storage pool was reached, when the scratch volumes are selected.
You can use the PERFORM LIBACTION command to simplify the process when you
add devices to SCSI and VTL library types.
Table 3 summarizes the definitions that are required for different device types.
Table 3. Required definitions for storage devices
Required Definitions
Library Drive Path Device
Device Device Types Class
Magnetic disk DISK — — — Yes See note
FILE See note — — — Yes
CENTERA — — — Yes
Tape 3590 Yes Yes Yes Yes
3592
4MM
8MM
DLT
LTO
NAS
VOLSAFE
GENERICTAPE
Notes:
To map storage devices to device classes, use the information shown in Table 4.
Table 4. Mapping storage devices to device classes
Device Class Description
DISK Storage volumes that reside on the internal disk drive
You must define any device classes that you need for your removable media
devices such as tape drives. See “Defining device classes” on page 177 for
information on defining device classes to support your physical storage
environment.
For example, you determine that users in the business department have three
requirements:
v Immediate access to certain backed-up files, such as accounts receivable and
payroll accounts.
These files should be stored on disk. However, you need to ensure that data is
moved from the disk to prevent it from becoming full. You can set up a storage
hierarchy so that files can migrate automatically from disk to the automated tape
library.
v Periodic access to some archived files, such as monthly sales and inventory
reports.
These files can be stored on 8-mm tapes, using the automated library.
To match user requirements to storage devices, you define storage pools, device
classes, and, for device types that require them, libraries and drives. For example,
to set up the storage hierarchy so that data migrates from the BACKUPPOOL to 8
mm tapes, you specify BACKTAPE1 as the next storage pool for BACKUPPOOL.
See Table 5.
Table 5. Mapping storage pools to device classes, libraries, and drives
Library
Storage Pool Device Class (Hardware) Drives Volume Type Storage Destination
BACKUPPOOL DISK — — Storage volumes For a backup copy
on the internal group for files
disk drive requiring immediate
access
BACKTAPE1 8MM_CLASS AUTO_8MM DRIVE01, 8-mm tapes For overflow from the
(Exabyte DRIVE02 BACKUPPOOL and for
EXB-210) archived data that is
periodically accessed
BACKTAPE2 DLT_CLASS MANUAL_LIB DRIVE03 DLT tapes For backup copy
(Manually groups for files that are
mounted) occasionally accessed
Note: Tivoli Storage Manager has the following default disk storage pools:
v BACKUPPOOL
v ARCHIVEPOOL
v SPACEMGPOOL
v DISKPOOL
For more information, see
“Configuring random access volumes on disk devices” on page 69
Procedure
1. Determine which drives and libraries are supported by the server. For the
most up-to-date list of supported devices and operating-system levels, see the
Supported Devices website:
[Link]
IBM_TSM_Supported_Devices_for_AIXHPSUNWIN.html
2. Determine which storage devices can be selected for use by the server. For
example, determine how many tape drives you have that you can allow the
server to use. For more information about selecting a device configuration, see
“Device configurations” on page 47
The servers can share devices in libraries that are attached through a SAN. If
the devices are not on a SAN, the server expects to have exclusive use of the
drives that are defined to it. If another application (including another Tivoli
Tip: For sequential access devices, you can categorize the type of removable
media based on their capacity.
For example, standard length cartridge tapes and longer length cartridge tapes
require different device classes.
8. Determine how the mounting of volumes is accomplished for the devices:
v Devices that require operators to load volumes must be part of a defined
MANUAL library.
v Devices that are automatically loaded must be part of a defined SCSI, 349X,
or VTL library. Each automated library device is a separate library.
v Devices that are controlled by Oracle StorageTek Automated Cartridge
System Library Software (ACSLS) must be part of a defined ACSLS library.
v Devices that are managed by an external media management system must
be part of a defined EXTERNAL library.
9. If you are considering storing data for one Tivoli Storage Manager server by
using the storage of another Tivoli Storage Manager server, consider network
bandwidth and network traffic. If your network resources constrain your
environment, you might have problems with using the SERVER device type
efficiently.
Also, consider the storage resources available on the target server. Ensure that
the target server has enough storage space and drives to handle the load from
the source server.
10. Determine the storage pools to set up, based on the devices you have and on
user requirements. Gather users' requirements for data availability. Determine
which data needs quick access and, which does not.
11. Be prepared to label removable media. You might want to create a new
labeling convention for media so that you can distinguish them from media
that are used for other purposes.
Tivoli Storage Manager stores data on magnetic disks in random access volumes,
as data is normally stored on disk, and in files on the disk that are treated as
sequential access volumes.
You can store the following types of data on magnetic disk devices:
v The database and recovery log
v Backups of the database
v Export and import data
v Client data that is backed up, archived, or migrated from client nodes. The client
data is stored in storage pools.
Tasks:
“Configuring random access volumes on disk devices” on page 69
“Configuring FILE sequential volumes on disk devices” on page 70
“Varying disk volumes online or offline” on page 70
“Cache copies for files stored on disk” on page 71
“Freeing space on disk” on page 71
“Scratch FILE volumes” on page 72
“Volume history file and volume reuse” on page 72
Review the following Tivoli Storage Manager requirements for disk devices and
compare them with information from your disk system vendor. A list of supported
disk storage devices is not available. Contact the vendor for your disk system if
you have questions or concerns about whether Tivoli Storage Manager
requirements are supported. The vendor should be able to provide the
configuration settings to meet these requirements.
I/O operation results must be reported synchronously and accurately. For the
database and the active and archive logs, unreported or asynchronously reported
write errors that result in data not being permanently committed to the storage
Data in Tivoli Storage Manager storage pools, database volumes, and log volumes
must be interdependent. Tivoli Storage Manager requires that the data written to
these entities can be retrieved exactly as it was written. Also data in these entities
must be consistent with one another. There cannot be timing windows in which
data that is being retrieved varies depending on the way that an I/O system
manages the writing of data. Generally, this means that replicated Tivoli Storage
Manager environments must use features such as maintenance of write-order
between the source and replication targets. It also requires that the database, log,
and disk storage pool volumes be part of a consistency group in which any I/O to
the members of the target consistency group are written in the same order as the
source and maintain the same volatility characteristics. Requirements for I/O to
disk storage systems at the remote site must also be met.
Database write operations must be nonvolatile for active and archive logs and
DISK device class storage pool volumes. Data must be permanently committed to
storage that is known toTivoli Storage Manager Tivoli Storage Manager has many
of the attributes of a database system, and data relationships that are maintained
require that data written as a group be permanently resident as a group or not
resident as a group. Intermediate states produce data integrity issues. Data must be
permanently resident after each operating-system write API invocation.
For FILE device type storage pool volumes, data must be permanently resident
following an operating system flush API invocation. This API is used at key
processing points in the Tivoli Storage Manager application. The API is used when
data is to be permanently committed to storage and synchronized with database
and log records that have already been permanently committed to disk storage.
For systems that use caches of various types, the data must be permanently
committed by the write APIs for the database, the active and archive logs, and
DISK device class storage pool volumes and by the flush API (for FILE device class
storage pool volumes). Tivoli Storage Manager uses write-through flags internally
when using storage for the database, the active and archive logs, and DISK device
class storage pool volumes. Data for the I/O operation can be lost if nonvolatile
cache is used to safeguard I/O writes to a device and the nonvolatile cache is
battery protected. If there is a power loss and power is not restored before the
battery is exhausted, then data can be lost. This would be the same as having
uncommitted storage resulting in data integrity issues.
To write properly to the Tivoli Storage Manager database, to active and archive
logs, and to DISK device class storage pool volumes, the operating system API
write invocation must synchronously and accurately report the operation results.
Similarly, the operating system API flush invocation for FILE device type storage
pool volumes must also synchronously and accurately report the operation results.
A successful result from the API for either write or flush must guarantee that the
data is permanently committed to the storage system.
These requirements extend to replicated environments such that the remote site
must maintain consistency with the source site in terms of the order of writes; I/O
must be committed to storage at the remote site in the same order that it was
written at the source site. The ordering applies to the set of files that Tivoli Storage
Manager is writing, whether the files belong to the database, recovery log, or
To avoid having the Tivoli Storage Manager server at the local and remote site
losing synchronization, the server at the remote site should not be started except in
a fail-over situation. If there is a possibility that data at the source and target
locations can lose synchronization, there must be a mechanism to recognize this
situation. If synchronization is lost, the Tivoli Storage Manager server at the remote
location must be restored by conventional means by using Tivoli Storage Manager
database and storage pool restores.
Tivoli Storage Manager supports the use of remote file systems or drives for
reading and writing storage pool data, database backups, and other data
operations. Remote file systems in particular might report successful writes, even
after being configured for synchronous operations. This mode of operation causes
data integrity issues if the file system can fail after reporting a successful write.
Check with the vendor of your file system to ensure that flushes are performed to
nonvolatile storage in a synchronous manner.
Procedure
Note: Define storage pool volumes on disk drives that reside on the server
system, not on remotely mounted file systems. Network attached drives can
compromise the integrity of the data that you are writing.
Related concepts:
“Disk devices” on page 40
Related tasks:
“Defining storage pool volumes” on page 256
For example, to vary the disk volume named STGVOL.POOL001 offline, enter:
vary offline stgvol.pool001
You can make the disk volume available to the server again by varying the volume
online. For example:
vary online stgvol.pool001
Using cache can improve how fast a frequently accessed file is retrieved. Faster
retrieval can be important for clients that are storing space-managed files. If the file
needs to be accessed, the copy in cache can be used rather than the copy on tape.
However, using cache can degrade the performance of client backup operations
and increase the space needed for the database.
Related tasks:
“Caching in disk storage pools” on page 284
Expiration processing deletes information from the database about any client files
that are no longer valid according to the policies you have set. For example,
suppose that four backup versions of a file exist in server storage, and only three
versions are allowed in the backup policy (the management class) for the file.
Expiration processing deletes information about the oldest of the four versions of
the file. The space that the file occupied in the storage pool becomes available for
reuse.
You can run expiration processing by using one or both of the following methods:
v Use the EXPIRE INVENTORY command.
v Set the EXPINTERVAL server option and specify the interval so that expiration
processing runs periodically.
Shredding occurs only after a data deletion commits, but it is not necessarily
completed immediately after the deletion. The space occupied by the data to be
shredded remains occupied while the shredding takes place, and is not available as
free space for new data until the shredding is complete. When sensitive data is
written to server storage and the write operation fails, the data that was already
written is shredded.
Related concepts:
“Securing sensitive client data” on page 539
Related reference:
“Running expiration processing to delete expired files” on page 512
You can specify a maximum number of scratch volumes for a storage pool that has
a FILE device type.
When scratch volumes used in storage pools become empty, the files are deleted.
Scratch volumes can be located in multiple directories on multiple file systems.
To reuse volumes that were previously used for database backup or export, use the
DELETE VOLHISTORY command.
Note: With Tivoli Storage Manager Extended Edition, the disaster recovery
manager (DRM) function automatically deletes volume information during
processing of the MOVE DRMEDIA command.
Related tasks:
“Protecting the volume history file” on page 878
Chapter 32, “Disaster recovery manager,” on page 1005
Attached devices must be on their own host bus adapter (HBA) and must not
share with other devices types (disk, CDROM, and so on). IBM tape drives have
some special requirements for HBAs and associated drivers.
Tasks:
“Attaching a manual drive”
“Attaching an automated library device” on page 74
“Device alias names” on page 75
“Selecting a device driver” on page 78
“Installing the Centera SDK for Centera shared libraries” on page 83
Procedure
Note: Each device that is 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
might have serious system problems.
4. Follow the manufacturer's instructions to attach the device to your server
system hardware.
Attention:
a. Power off your system before attaching a device to prevent damage to the
hardware.
Procedure
Note: In some automated libraries, the drives and the autochanger share a
single SCSI ID, but have different LUNs. For these libraries, only a single SCSI
ID is required. Check the documentation for your device.
3. Follow the manufacturer's instructions to set the SCSI ID for the drives and
library controller to the unused SCSI IDs that you found. Usually this means
setting switches on the back of the device.
Note: Each device that is 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 might
have serious system problems.
4. Follow the manufacturer's instructions to attach the device to your server
system hardware.
Attention:
a. Power off your system before attaching a device to prevent damage to the
hardware.
b. Attach a terminator to the last device in the chain of devices that are
connected on one SCSI adapter card. Detailed instructions should be in the
documentation that came with your hardware.
5. Install the appropriate device drivers. See “Selecting a device driver” on page
78.
6. Determine the name for each drive and for the library, and record the names.
This information can help you when you need to perform operations such as
adding volumes to an autochanger. Keep the records for future reference.
7. For the IBM Tivoli Storage Manager server to access a SCSI library, set the
device for the appropriate mode. This is usually called random mode; however,
terminology can vary from one device to another. Refer to the documentation
for your device to determine how to set it to the appropriate mode.
Note:
Device names for the Tivoli Storage Manager device driver differ from device
names for the Windows device driver. For example, an automated library device
might be known as lb0.0.0.1 to the Tivoli Storage Manager device driver and as
changerx (where x is a number 0–9), to the Windows device driver.
If you configure devices by using Tivoli Storage Manager commands, you must
provide the device names as parameters to the DEFINE PATH command. If you
modify device driver control, you must provide alias name information in the
Device Exclude List. The names can be either:
v Drive letters, for devices that are attached as local, removable file systems
v Alias names, for devices that are controlled by either the Tivoli Storage Manager
device driver or the Windows device drivers
Alias names replace the real device names in Tivoli Storage Manager commands
and screens. The Tivoli Storage Manager device driver communicates with devices
by using the alias names.
Options
After devices are configured, you can run the tsmdlst utility to display device
information. The utility is in the devices bin directory, which is \Program
Files\Tivoli\TSM\console by default.
/computer=computer_name
Specifies the name of the computer for which devices are listed. The default is
the local system.
/detail
Displays details on devices in the list. By default, a summary is shown.
/all
Displays information about all types of devices. By default, only tape drives
and tape libraries are included in the results.
/nogenerictapecheck
Skips the step for opening detected drives to see if they are supported for the
Tivoli Storage Manager GENERICTAPE device type.
/nohbacheck
Skips the step for HBA API detection, which might speed up processing. This
option can be useful when debugging is needed.
/trace
Used for diagnostic purposes. Stores trace output in the tsmdlst_trace.txt file.
/? Displays usage information about tsmdlst and its parameters.
/xinquiry
Provides an alternate way to obtain serial number and worldwide name
information. This option is used only for devices that are supported by the
IBM tape device driver. The following parameters are specific to the /xinquiry
option:
/processAll
Indicates that the process loops until all devices are processed.
/maxRetries=#
Indicates the maximum number of attempts to open each drive. This
option requires the /processAll option.
/genpathfile
Use this option to generate a list of devices and serial numbers. The
tsmdlst_pathfile.txt file is written with information for /genmacropathsync
and /genmacropathoffline.
/includelib
If specified with /genpathfile, the list of devices includes libraries in
addition to drives.
/genmacropathsync
Generates a macro to synchronize Tivoli Storage Manager paths for the storage
agent based on serial number. A drive must have a serial number defined to
Tivoli Storage Manager for this option to work.
Display information about tape devices and tape libraries for a local system,
ATLAS, by issuing the tsmdlst utility:
tsmdlst
TSM Name ID LUN Bus Port SSN WWN TSM Type Driver Device Identifier
-----------------------------------------------------------------------------------------
mt0.0.0.3 0 0 0 3 HU1206LY0B ..638D LTO NATIVE HP Ultrium 5-SCSI Y50S
mt1.0.0.3 1 0 0 3 HU1206LY9N ..6390 LTO NATIVE HP Ultrium 5-SCSI Y5AS
mt2.4.0.3 2 4 0 3 8395261003 ..C358 LTO IBM IBM ULT3580-TD3 5AT0
lb3.0.0.3 3 0 0 3 1333508999 ..7A14 LIBRARY TSM ATL P3000 0100
mt3.1.0.3 3 1 0 3 1333508000 ..7A14 DLT TSM QUANTUM DLT7000 0100
Windows device drivers are recommended for all devices. IBM device drivers are
available for most IBM labeled devices. If a Windows device driver is not available
for your device, and the device is supported by the Tivoli Storage Manager device
driver, you can use the Tivoli Storage Manager device driver for your device.
Starting with Tivoli Storage Manager Version 6.2, support for native drivers
through SCSI Passthru is available. You can choose to use a Windows Hardware
Qualification Lab certified native device driver instead of the Tivoli Storage
Manager device driver to control devices. Devices that are already controlled by
the Tivoli Storage Manager device driver can be switched to a native driver
without updating drive or device class definitions.
Install the IBM device driver for the following IBM devices:
IBM 3494 library
IBM Ultrium 3580, TS2230, TS2340 tape drives
IBM 3581, 3582, 3583, 3584 tape libraries
IBM 3590, 3590E, and 3590H tape drives
IBM 3592 and TS1120 tape drives
IBM TS3100, TS3200, TS3310, TS3400, and TS3500 tape libraries
IBM device drivers are available at the Fix Central support website:
1. Go to the Fix Central website: [Link]
2. Select System Storage for the Product Group menu.
3. Select Tape systems for the System Storage menu.
4. Select Tape drivers and software for the Tape systems menu.
5. Select Tape device drivers for the Tape drivers and software menu.
Tivoli Storage Manager supports all devices that are supported by IBM device
drivers. However, Tivoli Storage Manager does not support all the
operating-system levels that are supported by IBM device drivers. For the most
up-to-date list of devices and operating-system levels that are supported by IBM
device drivers, see the Tivoli Storage Manager Supported Devices website at
[Link]
IBM_TSM_Supported_Devices_for_AIXHPSUNWIN.html.
Tivoli Storage Manager Support for Multipath I/O with IBM Tape
Devices
Multipath I/O is the use of different paths to get to the same physical device (for
example, through multiple host bus adapters, switches, and so on). Multipathing
helps ensure that there is no single point of failure.
The IBM tape device driver provides multipathing support so that if a path fails,
the Tivoli Storage Manager server can use a different path to access data on a
storage device. The failure and transition to a different path are undetected by the
server. The IBM tape device driver also uses multipath I/O to provide dynamic
load balancing for enhanced I/O performance.
A computer has a unique SCSI address and Tivoli Storage Manager device name
for each path to a changer or tape device, even though some paths may be
redundant. For each set of redundant paths, you must define only one path to
Tivoli Storage Manager using one of the corresponding Tivoli Storage Manager
device names.
You can determine which Tivoli Storage Manager device names are redundant by
using a tool such as tsmdlst to review the device serial numbers. If multiple Tivoli
Storage Manager changer or tape device names have the same serial number, then
they are redundant and you must define only one to Tivoli Storage Manager.
For an overview of path failover and load balancing, as well as information about
how to enable, disable, or query the status of path failover for each device, see the
IBM Tape Device Drivers Installation and User's Guide.
The Tivoli Storage Manager device driver is installed with the server. The Tivoli
Storage Manager device driver uses persistent reservation for some tape drives. See
technote 1470319 at [Link]
for details.
To install the device driver for an IBM 3494 Tape Library Dataserver, refer to the
IBM TotalStorage Tape Device Drivers Installation and User's Guide.
To define a path for the library, you can determine the symbolic name of the
library by verifying the value entered in the C:\winnt\[Link] file. For example,
if the symbolic name for the library in the C:\winnt\[Link] file is 3494a, then
this is the name of your device. Drives in the library are set up separately.
Before installing a new version of the Tivoli Storage Manager device driver,
uninstall the previous version. Then complete this procedure during installation of
the device driver package.
Procedure
1. When the Device Driver Installation Wizard welcome panel displays, select
Next and proceed through the panels to install the device drivers.
Note: During installation, the system might display a Windows Security dialog
box asking if you would like to install the device software. Place a check mark
on Always trust software from "IBM Corporation" and select Install
2. After your device drivers have been installed, the final panel in the wizard is
displayed. Select Finish to complete the installation.
Results
After a successful installation, use the Device Manager to configure devices with
the Tivoli Storage Manager device driver.
Procedure
Complete this procedure to uninstall the Tivoli Storage Manager device driver.
1. From your Windows Control Panel, navigate to Programs and Features.
2. Remove or uninstall the IBM Tivoli Storage Manager Device Driver entry.
3. Do not manually remove the Windows Driver Package entries for tsmscsi.
These packages are automatically removed after the IBM Tivoli Storage Device
Driver program is removed in Step 2. These entries, however, might still appear
in the Add or Remove Programs or Programs and Features windows until the
window is refreshed.
Because some tape drives do not have all of the functions that the Tivoli Storage
Manager server requires, not all tape drives can be used with the GENERICTAPE
device class. To determine if you can use the Windows device driver with a
specific tape drive, see “Creating a file to list devices and their attributes” on page
82. You can find the setup procedure for these devices at “Configuring devices not
supported by the Tivoli Storage Manager server” on page 88.
When using Windows device drivers with the GENERICTAPE device class, be
aware of the following:
v Tivoli Storage Manager does not recognize the device type.
If you add devices and intend to use the GENERICTAPE device class, you
should understand that the server does not know device types and recording
formats. For example, if you use a Windows device driver for a 4MM drive
using the DDS2 recording format, Tivoli Storage Manager knows only that the
device is a tape drive. The default recording format is used.
The server cannot prevent errors when it does not know the device type. For
example, if one GENERICTAPE device class points to a manual library device
containing a 4MM drive and an 8MM drive, the server might make an
impossible request: mount a 4MM cartridge into an 8MM drive.
v Device problems might be more difficult to solve.
The server cannot report I/O errors with as much detail. The server can obtain
only minimal information for display in the server console log.
It is recommended that you use the GENERICTAPE device class only with
unsupported tape devices.
Procedure
A file listing devices and their attributes can be created by completing the
following procedure.
1. Click Start > Programs > Command Prompt on the Windows Start button. The
Command Prompt dialog appears.
2. Change directory to the directory in which the Tivoli Storage Manager Server
was installed. For default installations, the path resembles the following:
c:\program files\tivoli\tsm\server
3. To create the file, type in the following command:
tsmdlst > [Link]
4. To view the file, type in the following command:
notepad [Link]
Tape drives can be automatically controlled by the Tivoli Storage Manager device
driver if the Windows device drivers are not available. If the devices are not
automatically configured and controlled by the Tivoli Storage Manager device
driver, you must manually update the controlling driver for each device that you
want controlled by the tsmscsi device driver.
Procedure
Procedure
Perform the following steps when setting up the Tivoli Storage Manager server to
access Centera.
1. Install the Tivoli Storage Manager server.
2. If you are upgrading from a previous level of Tivoli Storage Manager, delete
the following Centera SDK library files from the directory where the server was
installed:
[Link]
[Link]
[Link]
[Link]
3. Contact your EMC representative to obtain the installation packages and
instructions to install the Centera SDK Version 3.2 or later.
4. Install the Centera SDK. During the installation, take note of the directory
where the Centera SDK is installed.
a. Unzip and untar the package in a working directory.
b. Copy the files in the lib32 directory to the directory with the server
executable ([Link]).
5. Start the Tivoli Storage Manager server and set up the policy, device class, and
storage pools for Centera.
For the most up-to-date list of supported devices and operating-system levels, see
the Supported Devices website at [Link]
products/support/IBM_TSM_Supported_Devices_for_AIXHPSUNWIN.html.
Concepts:
“Planning for device configuration” on page 86
“Mixed device types in libraries” on page 52
“Server options that affect storage operations” on page 62
“Impact of device changes on the SAN” on page 125
“Defining devices and paths” on page 173
Tasks:
“Configuring devices not supported by the Tivoli Storage Manager server” on page 88
“Configuring removable media devices” on page 89
“Configuring devices using Tivoli Storage Manager commands” on page 91
“Configuring Tivoli Storage Manager servers to share SAN-connected devices” on page 119
“Configuring Tivoli Storage Manager for LAN-free data movement” on page 122
“Validating your LAN-free configuration” on page 123
Chapter 9, “Using NDMP for operations with NAS file servers,” on page 203
“Configuring IBM 3494 libraries” on page 96
“ACSLS-managed libraries” on page 109
“Troubleshooting device configuration” on page 123
You can perform configuration tasks by using the command-line interface. For
information about Tivoli Storage Manager commands, see the Administrator's
Reference or issue the HELP command from the command line of a Tivoli Storage
Manager administrative client.
The tasks require an understanding of Tivoli Storage Manager storage objects. For
an introduction to these storage objects, see “Tivoli Storage Manager storage
objects” on page 36.
Procedure
Important: In most cases, the server expects to have exclusive use of devices
that are defined to the server. Attempting to use a Tivoli Storage Manager
device with another application might cause the server operations to fail. This
restriction does not apply to 3494 library devices, or when you use a storage
area network (SAN) to share library devices.
5. Determine the media type and device type for client data.
You can link clients to devices by directing client data to a type of media. For
example, accounting department data might be directed to LTO Ultrium tapes,
and as a result the server would select LTO Ultrium devices.
You can direct data to a specific media type through Tivoli Storage Manager
policy. When you register client nodes, you specify the associated policy.
For configuring devices by using Tivoli Storage Manager commands, you must
also define or update the Tivoli Storage Manager policy objects that links
clients to the pool of storage volumes and to the device.
6. Register clients to the policy domain defined or updated in Step 5. This step
links clients and their data with storage volumes and devices.
7. Prepare media for the device.
Label tapes before they can be used. For automated library devices, you must
add the media to the volume inventory by checking media into the library
device.
Results
When the Tivoli Storage Manager device driver is installed, some tape drives, and
medium changers might automatically be configured if the Windows device
drivers for the devices are not available.
Alternatively, you can run [Link] in the devices bin directory, which is
\Program Files\Tivoli\TSM\console by default, to determine whether the devices
were configured with the Tivoli Storage Manager device driver. If the devices were
not configured with the Tivoli Storage Manager device driver, the TSM Type
shows GENERICTAPE.
Procedure
Complete the following steps to manually configure devices for the Tivoli Storage
Manager device driver:
1. Locate the device in the Device Manager console ([Link]) and select it.
Tape drives are listed under Tape drives, and medium changers are under
Medium Changers.
2. Configure the device for use by [Link].
a. Click ActionUpdate Driver and select Update Driver. You can also
right-click on the device and select Update Driver Software.
b. Select Browse my computer for driver software.
3. Select Let me pick from a list of device drivers on my computer.
4. Click Next.
5. Select one of the following options, depending on the device that you are
configuring:
v For a tape drive, select IBM Tivoli Storage Manager for Tape Drives.
v For a medium changer, select IBM Tivoli Storage Manager for Medium
Changers.
6. Click Next.
7. Click Close.
8. Verify that the device was configured correctly for tsmsci.
a. Right-click on the device and select Properties.
b. Select the Driver tab and Driver Details.
c. The Driver Details panel shows the device driver that is controlling the
device. The name of the device driver is [Link] for 32-bit Windows
Server 2008, and [Link] for 64-bit Windows Server 2008.
What to do next
For Windows Server 2008 Server Core, devices cannot be configured through
Device Manager. If the devices are not automatically configured, you must use the
Tivoli Storage Manager CHANGE DEVDRIVER command to configure the devices. For
more information, see technote 1320150 at [Link]
[Link]?uid=swg21320150.
Devices that are not supported by the Tivoli Storage Manager server can be added
by using the Tivoli Storage Manager command line.
Procedure
1. Attach the device to the system.
Follow the manufacturer's instructions to attach the device to the system.
2. Set up the appropriate Windows device driver for the device.
3. Configure the device. The following guidelines must be followed:
v Define the drive path with GENERICTAPE=Yes.
v The device class must have a device type of GENERICTAPE.
v Define a different device class and a different manual library device for every
unique device type that is controlled by the Windows device driver. For
example, to use a 4 mm drive and an 8 mm drive, define two manual
libraries, and two device classes (both with device type GENERICTAPE).
4. Determine your backup strategy.
Determine which device the server backs up client data to, and whether client
data is backed up to disk, and then migrated to tape, or if it is backed up
directly to tape.
5. Update the Tivoli Storage Manager policy.
Define the Tivoli Storage Manager policy that links client data with media for
the device.
6. Label volumes.
Results
If a removable media device can be formatted with a file system, Tivoli Storage
Manager might be able to use the device. The server recognizes the device as a
device with type REMOVABLEFILE. To use device type REMOVABLEFILE for a device, the
device must adhere to the following principles:
v It must not be supported by a device type that is available for a Tivoli Storage
Manager device class.
v It must be a device with removable media, for example, Iomega Zip or Jaz
drives, CD drive, or DVD drive.
v It must be viewed by the operating system as a removable media drive, and not
as a fixed, hard disk drive. The server cannot use the device if the storage
adapter card makes the removable media drive show up as a fixed disk drive to
the operating system.
Tip: If a data cartridge that is associated with a REMOVABLEFILE device class has
two sides, the server treats each side as a separate Tivoli Storage Manager volume.
Tivoli Storage Manager REMOVABLEFILE device class supports only single-sided
media.
You can use the CD or DVD media as input media on a target Tivoli Storage
Manager server by using the REMOVABLEFILE device class for input. Using the
REMOVABLEFILE device class allows the server to distinguish media volumes by a
volume label to prompt for the next media, and to dismount media.
With CD support for Windows, you can also use CD media as an output device
class. Using CD media as output requires other software that uses a file system on
top of the CD media. This media allows other software to write to a CD by using a
drive letter and file names. The media can be either CD-R (read) or CD-RW
(read/write).
With DVD support for Windows, you can also use DVD media as an output device
class. Using DVD media as output requires other software that uses a file system
on top of the DVD media. DVDFORM software is a tool that comes with some
DVD-RAM device drivers. The DVDFORM software, for example, allows you to
label the media, which must be DVD-RAM, by using uppercase letters and
numbers. When the media is formatted, you can use the LABEL system command
to change the label.
Procedure
Results
You can use software for writing CDs to create a CD with volume label
CDR03 that contains the file named CDR03.
v Server B:
– Insert the CD in a drive on the Windows system, for example, E:
– Issue the following Tivoli Storage Manager commands to import the node
data on the CD volume CDR03:
define library manual
define devclass cdrom devtype=removablefile library=manual
define drive manual cddrive
define path server01 cddrive srctype=server desttype=drive
library=manual directory=e:\ device=e:
import node user1 filedata=all devclass=cdrom vol=CDR03
The steps (similar to CD support) are used to move data from one server to
another.
The following example shows how DVD-RAM drives work inside a SCSI library:
v Server A:
– Configure the device.
– For the library, follow the normal tape library configuration method.
– To configure the DVD-RAM drives, use the following procedure:
1. From your desktop, right click My Computer.
2. Select Device Manager.
3. Select the correct SCSI CD-ROM Device and right click for Properties.
4. Select Drivers.
5. Select Update Driver and choose the [Link] file for the driver.
v Issue the following Tivoli Storage Manager commands to manage the library
functions on the DVD-RAM volume DVD01 (use the library element map in the
IBM Tivoli Storage Manager device support pages for your library to determine
the correct element of each drive):
define library dvdlib libtype-scsi
define drive dvdlib drv1 element 6001
define path sever1 dvdlib srctype=server desttype=library device=lb6.0.0.3
define path server1 drv1 srctype=server desttype=drive
library=dvdlib directory=i:\ device=i:
checkin libv dvdlib search=yes status=scratch
checkout libv dvdlib DVD01 rem=no
define devclass a_class devtype=removablefile library=dvdlib
The scenario that is documented adds a manual tape device, automated library
devices, and a removable file system device such as an Iomega Jaz drive.
Automated library devices can have more than one type of device. The scenario
shows the case of a library with one type of device (a DLT 8000 drive) and a
library with two types of devices (a DLT 8000 drive and an LTO Ultrium drive).
Procedure
Results
Some of the tasks that are described require an understanding of Tivoli Storage
Manager storage objects. For more information about Tivoli Storage Manager
commands, see the Administrator's Reference.
Defining libraries
All devices must be defined as libraries. Manual devices require a manual type
library, and most automated devices require the SCSI type library. Automated
libraries also require a path defined to them using the DEFINE PATH command.
You define libraries with the DEFINE LIBRARY command. See the following
examples of the different ways to define a library:
Manual device
define library manual8mm libtype=manual
Automated library device with one device type
define library autodltlib libtype=scsi
Note: If you have a SCSI library with a barcode reader and you would like
to automatically label tapes before they are checked in, you can specify the
following:
define library autodltlib libtype=scsi autolabel=yes
define path server01 autodltlib srctype=server desttype=library
device=lb3.0.0.0
Automated library device with two device types
define library automixlib libtype=scsi
For more information about defining Tivoli Storage Manager libraries, see
“Defining devices and paths” on page 173.
For drives in SCSI libraries with more than one drive, the server requires
the element address for each drive. The element address indicates the
physical location of a drive within an automated library. The server
attempts to obtain the element address directly from the drive. If the drive
is not capable of supplying the information, you must supply the element
address in the drive definition.
Automated library device with two device types
define drive automixlib dlt_mt4
define drive automixlib lto_mt5
define path server01 dlt_mt4 srctype=server desttype=drive
library=automixlib device=mt4.0.0.0
define path server01 lto_mt5 srctype=server desttype=drive
library=automixlib device=mt5.0.0.0
For drives in SCSI libraries with more than one drive, the server requires
the element address for each drive. The element address indicates the
physical location of a drive within an automated library. The server
attempts to obtain the element address directly from the drive. If the drive
is not capable of supplying the information, you must supply the element
address in the drive definition.
Removable file system device (Iomega Jaz drive)
define drive manualjaz drive01
See the following examples of defining device classes that group together similar
devices:
Manual device
define devclass tape8mm_class devtype=8mm format=8500 library=manual8mm
Automated library device with one device type
define devclass autodlt_class devtype=dlt format=drive library=autodltlib
Automated library device with two device types
define devclass autodlt_class devtype=dlt format=dlt40 library=automixlib
define devclass autolto_class devtype=lto format=ultriumc library=automixlib
Important: Do not use the DRIVE format, which is the default. Because the
drives are different types, Tivoli Storage Manager uses the format
specification to select a drive. The results of using the DRIVE format in a
mixed media library are unpredictable.
Removable file system device (Iomega Jaz drive)
define devclass jazdisk_class devtype=removablefile library=manualjaz
For detailed information about defining Tivoli Storage Manager device classes, see
“Defining device classes” on page 177.
They are organized for a grouping of specific types of media, for example a storage
pool named TAPE8MM_POOL for the device class TAPE8MM_CLASS, and
AUTODLT_POOL for the device class AUTODLT_CLASS. See the following
examples of how to create a storage pool for the added device:
Manual device
define stgpool tape8mm_pool tape8mm_class maxscratch=20
Automated library device with one device type
define stgpool autodlt_pool autodlt_class maxscratch=20
Automated library device with two device types
define stgpool autodlt_pool autodlt_class maxscratch=20
For detailed information about defining storage pools, see Chapter 10, “Managing
storage pools and volumes,” on page 239.
Procedure
Results
For backups directly to tape, you must create new policy by copying default policy
and modifying it for the desired results.
See the following examples for how to determine the media and device type for
client backups:
Manual device
To assign client node astro to the direct-to-tape policy named dir2tape,
with the password cadet, enter:
register node astro cadet dir2tape
Automated library devices
To assign client node astro to a direct-to-tape policy domain named
dsk2tape, with the password cadet, enter:
register node astro cadet dsk2tape
Removable file system device (Iomega Jaz drive)
To assign client node astro to a removable media device policy domain
named rmdev, with the password cadet, enter:
register node astro cadet rmdev
For detailed and current library support information, see the Supported Devices
Web site at: [Link]
IBM_TSM_Supported_Devices_for_AIXHPSUNWIN.html
Attention: If other systems or other Tivoli Storage Manager servers connect to the
same 3494 library, each must use a unique set of category numbers. Otherwise, two
or more systems may try to use the same volume, and cause corruption or loss of
data.
Typically, a software application that uses a 3494 library uses volumes in one or
more categories that are reserved for that application. To avoid loss of data, each
application sharing the library must have unique categories. When you define a
3494 library to the server, you can use the PRIVATECATEGORY and
SCRATCHCATEGORY parameters to specify the category numbers for private and
scratch Tivoli Storage Manager volumes in that library. If the volumes are IBM
3592 WORM (write once, read many) volumes, you can use the
WORMSCRATCHCATEGORY parameter to specify category numbers for scratch
WORM volumes in the library. See “Tivoli Storage Manager volumes” on page 46
for more information on private, scratch, and scratch WORM volumes.
When a volume is first inserted into the library, either manually or automatically at
the convenience I/O station, the volume is assigned to the insert category
(X'FF00'). A software application such as Tivoli Storage Manager can contact the
library manager to change a volume's category number. For Tivoli Storage
Manager, you use the CHECKIN LIBVOLUME command (see “Checking media
into automated library devices” on page 130).
The Tivoli Storage Manager server only supports 3590 and 3592 tape drives in an
IBM 3494 library. The server reserves two different categories for each 3494 library
object. The categories are private and scratch.
When you define a 3494 library, you can specify the category numbers for volumes
that the server owns in that library by using the PRIVATECATEGORY,
For this example, the server uses the following categories in the new my3494
library:
v 400 (X'190') Private volumes
v 401 (X'191') Scratch volumes
v 402 (X'192') WORM scratch volumes
Note: The default values for the categories may be acceptable in most cases.
However, if you connect other systems or Tivoli Storage Manager servers to a
single 3494 library, ensure that each uses unique category numbers. Otherwise, two
or more systems may try to use the same volume, and cause a corruption or loss
of data.
For a discussion regarding the interaction between library clients and the library
manager in processing Tivoli Storage Manager operations, see “Shared libraries” on
page 140.
Procedure
You must first set up the IBM 3494 library on the server system. This involves the
following tasks:
1. Set the symbolic name for the library in the configuration file for the library
device driver (c:\winnt\[Link]). This procedure is described in IBM Tape
Device Drivers Installation and User’s Guide.
2. Physically attach the devices to the server hardware or the SAN.
3. Install and configure the appropriate device drivers for the devices on the
server that will use the library and drives.
4. Determine the device names that are needed to define the devices to Tivoli
Storage Manager.
Results
Procedure
1. Define a 3494 library named 3494LIB:
define library 3494lib libtype=349x
2. Define a path from the server to the library:
define path server1 3494lib srctype=server desttype=library
device=library1
See “Defining libraries” on page 173 and “SCSI libraries” on page 38.
For more information about paths, see “Defining paths” on page 176.
3. Define the drives in the library:
define drive 3494lib drive01
define drive 3494lib drive02
Both drives belong to the 3494LIB library.
See “Defining drives” on page 174.
4. Define a path from the server to each drive:
define path server1 drive01 srctype=server desttype=drive
library=3494lib device=mt1.0.0.0
define path server1 drive02 srctype=server desttype=drive
library=3494lib device=mt2.0.0.0
The DEVICE parameter gives the device alias name for the drive. For more
about device names, see “Device alias names” on page 75.
For more information about paths, see “Defining paths” on page 176.
5. Classify drives according to type by defining Tivoli Storage Manager device
classes. For example, for the two 3590 drives in the 3494LIB library, use the
following command to define a device class named 3494_CLASS:
define devclass 3494_class library=3494lib devtype=3590 format=drive
This example uses FORMAT=DRIVE as the recording format because both
drives associated with the device class use the same recording format; both are
3590 drives. If instead one drive is a 3590 and one is a 3590E, you need to use
specific recording formats when defining the device classes. See “Configuring a
3494 library with multiple drive device types” on page 99.
See also “Defining tape device classes” on page 180.
6. Verify your definitions by issuing the following commands:
query library
query drive
query path
query devclass
For details, see the following topics:
“Requesting information about drives” on page 152
“Obtaining information about device classes” on page 198
“Obtaining information about paths” on page 169
“Obtaining information about libraries” on page 150
7. Define a storage pool named 3494_POOL associated with the device class
named 3494_CLASS.
define stgpool 3494_pool 3494_class maxscratch=20
Procedure
1. Define two libraries, one for each type of drive. For example, to define
3590ELIB and 3590HLIB enter the following commands:
define library 3590elib libtype=349x scratchcategory=301 privatecategory=300
define library 3590hlib libtype=349x scratchcategory=401 privatecategory=400
See “Defining libraries” on page 173.
Note: Specify scratch and private categories explicitly. If you accept the
category defaults for both library definitions, different types of media will be
assigned to the same categories.
2. Define a path from the server to each library:
define path server1 3590elib srctype=server desttype=library device=library1
define path server1 3590hlib srctype=server desttype=library device=library1
The DEVICE parameter specifies the symbolic name for the library, as defined
in the configuration file for the library device driver (c:\winnt\[Link]).
For more information about paths, see “Defining paths” on page 176.
3. Define the drives, ensuring that they are associated with the appropriate
libraries.
v Define the 3590E drives to 3590ELIB.
define drive 3590elib 3590e_drive1
define drive 3590elib 3590e_drive2
v Define the 3590H drives to 3590HLIB.
define drive 3590hlib 3590h_drive3
define drive 3590hlib 3590h_drive4
Note: Tivoli Storage Manager does not prevent you from associating a drive
with the wrong library.
See “Defining drives” on page 174.
4. Define a path from the server to each drive. Ensure that you specify the correct
library.
Key choices:
a. Scratch volumes are labeled, empty volumes that are available for use. If
you allow scratch volumes for the storage pool by specifying a value for the
maximum number of scratch volumes, the server can choose from the
scratch volumes available in the library, without further action on your part.
If you do not allow scratch volumes, you must perform the extra step of
explicitly defining each volume to be used in the storage pool.
b. The default setting for primary storage pools is collocation by group. The
default for copy storage pools and active-data pools is disablement of
collocation. Collocation is a process by which the server attempts to keep all
files belonging to a group of client nodes, a single client node, or a client
file space on a minimal number of volumes. If collocation is disabled for a
storage pool and clients begin storing data, you cannot easily change the
data in the pool so that it is collocated. To understand the advantages and
disadvantages of collocation, see “Keeping client files together using
collocation” on page 357 and “How collocation affects reclamation” on page
378.
Each volume that is used by a server for any purpose must have a unique name.
This requirement applies to all volumes, whether the volumes are used for storage
pools, or used for operations such as database backup or export. The requirement
also applies to volumes that reside in different libraries.
The procedures for volume check-in and labeling are the same whether the library
contains drives of a single device type, or drives of multiple device types.
Note: If your library has drives of multiple device types, you defined two
libraries to the Tivoli Storage Manager server in the procedure in “Configuring a
3494 library with multiple drive device types” on page 99. The two Tivoli Storage
Manager libraries represent the one physical library. The check-in process finds all
available volumes that are not already checked in. You must check in media
separately to each defined library. Ensure that you check in volumes to the correct
Tivoli Storage Manager library.
Procedure
1. Check in the library inventory. The following shows two examples.
v Check in volumes that are already labeled:
checkin libvolume 3494lib search=yes status=scratch checklabel=no
v Label and check in volumes:
label libvolume 3494lib search=yes checkin=scratch
2. Depending on whether you use scratch volumes or private volumes, do one of
the following:
v If you use only scratch volumes, ensure that enough scratch volumes are
available. For example, you might need to label more volumes. As volumes
are used, you might also need to increase the number of scratch volumes
that are allowed in the storage pool that you defined for this library.
v If you want to use private volumes in addition to or instead of scratch
volumes in the library, define volumes to the storage pool you defined. The
volumes that you define must have been already labeled and checked in. See
“Defining storage pool volumes” on page 256.
Results
For more information about checking in volumes, see “Checking media into
automated library devices” on page 130.
Procedure
The following tasks are required for Tivoli Storage Manager servers to share library
devices over a SAN:
1. Ensure the server that is defined as the library manager is at the same or
higher version as the server or servers that are defined as library clients.
2. Set up server-to-server communications.
3. Set up the device on the server systems.
4. Set up the library on the library manager server. In the following example, the
library manager server is named MANAGER.
5. Set up the library on the library client server. In the following example, the
library client server is named CLIENT.
Results
For more information about configuring 3494 libraries, see “Categories in an IBM
3494 library” on page 96.
Procedure
1. Set the symbolic name for the library in the configuration file for the library
device driver. This procedure is described in the IBM Tape Device Drivers
Installation and User’s Guide.
2. Physically attach the devices to the SAN or to the server hardware.
3. On each server system that will access the library and drives, install and
configure the appropriate device drivers for the devices.
4. Determine the device names that are needed to define the devices to Tivoli
Storage Manager.
Results
Note: You can also configure a 3494 library so that it contains drives of multiple
device types or different generations of drives of the same device type. The
procedure for working with multiple drive device types is similar to the one
described for a LAN in “Configuring a 3494 library with multiple drive device
types” on page 99.
For details about mixing generations of drives, see “Defining 3592 device classes”
on page 183 and “Defining LTO device classes” on page 191.
Procedure
1. Define a 3494 library named 3494SAN:
define library 3494san libtype=349x shared=yes
2. Define a path from the server to the library:
define path manager 3494san srctype=server desttype=library
device=library1
The DEVICE parameter specifies the symbolic name for the library, as defined
in the configuration file for the library device driver (c:\winnt\[Link]).
For more information about paths, see “Defining paths” on page 176.
3. Define the drives in the library:
define drive 3494san drivea
define drive 3494san driveb
4. Define a path from the server to each drive:
define path manager drivea srctype=server desttype=drive library=3494san
device=mt4.0.0.0
define path manager driveb srctype=server desttype=drive library=3494san
device=mt5.0.0.0
For more information about paths, see “Defining paths” on page 176.
5. Define all the device classes that are associated with the shared library.
define devclass 3494_class library=3494san devtype=3590
6. Check in the library inventory. The following shows two examples. In both
cases, the server uses the name on the barcode label as the volume name.
To check in volumes that are already labeled, use the following command:
checkin libvolume 3494san search=yes status=scratch checklabel=no
Procedure
1. Define the server that is the library manager:
define server manager serverpassword=secret hladdress=[Link] lladdress=1580
crossdefine=yes
2. Define a shared library named 3494SAN, and identify the library manager:
Note: Ensure that the library name agrees with the library name on the library
manager.
define library 3494san libtype=shared primarylibmanager=manager
3. Perform this step from the library manager. Define a path from the library client
server to each drive that the library client server will be allowed to access. The
device name should reflect the way the library client system sees the device.
To help ensure a smoother migration and to ensure that all tape volumes that are
being used by the servers get associated with the correct servers, perform the
following migration procedure.
Procedure
1. Do the following on each server that is sharing the 3494 library:
a. Update the storage pools using the UPDATE STGPOOL command. Set the
value for the HIGHMIG and LOWMIG parameters to 100%.
b. Stop the server by issuing the HALT command.
c. Edit the [Link] file and make the following changes:
1) Comment out the 3494SHARED YES option line
Note: You can use the saved volume history files from the library clients
as a guide.
b. Check in any remaining volumes as scratch volumes. Use the CHECKIN
LIBVOLUME command with STATUS=SCRATCH.
5. Halt all the servers.
6. Edit the [Link] file and comment out the following lines in the file:
DISABLESCHEDS YES
EXPINTERVAL 0
7. Start the servers.
Tivoli Storage Manager uses the capability of the 3494 library manager, which
allows you to partition a library between multiple Tivoli Storage Manager servers.
Library partitioning differs from library sharing on a SAN in that with
partitioning, there are no Tivoli Storage Manager library managers or library
clients.
When you partition a library on a LAN, each server has its own access to the same
library. For each server, you define a library with tape volume categories unique to
that server. Each drive that resides in the library is defined to only one server. Each
server can then access only those drives it has been assigned. As a result, library
partitioning does not allow dynamic sharing of drives or tape volumes because
they are pre-assigned to different servers using different names and category
codes.
Note: Tivoli Storage Manager can also share the drives in a 3494 library with other
servers by enabling the 3494SHARED server option. When this option is enabled,
you can define all of the drives in a 3494 library to multiple servers, if there are
SCSI connections from all drives to the systems on which the servers are running.
This type of configuration is not recommended, however, because when this type
of sharing takes place there is a risk of contention between servers for drive usage,
and operations can fail.
Procedure
Results
Procedure
1. Define the 3494 library named 3494LIB:
define library 3494lib libtype=349x privatecategory=400 scratchcategory=600
Key choices:
a. Scratch volumes are empty volumes that are labeled and available for use.
If you allow scratch volumes for the storage pool by specifying a value for
the maximum number of scratch volumes, the server can choose from the
scratch volumes available in the library, without further action on your part.
If you do not allow scratch volumes, you must perform the extra step of
explicitly defining each volume to be used in the storage pool.
b. The default setting for primary storage pools is collocation by group. The
default for copy storage pools and active-data pools is disablement of
collocation. Collocation is a process by which the server attempts to keep all
files belonging to a group of client nodes, a single client node, or a client
file space on a minimal number of volumes. If collocation is disabled for a
storage pool and clients begin storing data, you cannot easily change the
data in the pool so that it is collocated. To understand the advantages and
disadvantages of collocation, see “Keeping client files together using
collocation” on page 357 and “How collocation affects reclamation” on page
378.
For more information, see “Defining storage pools” on page 245.
Procedure
1. Define the 3494 library named 3494LIB:
define library 3494lib libtype=3494 privatecategory=112 scratchcategory=300
Key choices:
ACSLS-managed libraries
Tivoli Storage Manager supports tape libraries controlled by StorageTek Automated
Cartridge System Library Software (ACSLS). The ACSLS library server manages
the physical aspects of tape cartridge storage and retrieval.
The ACSLS client application communicates with the ACSLS library server to
access tape cartridges in an automated library. Tivoli Storage Manager is one of the
applications that gains access to tape cartridges by interacting with ACSLS through
its client, which is known as the control path. The Tivoli Storage Manager server
reads and writes data on tape cartridges by interacting directly with tape drives
through the data path. The control path and the data path are two different paths.
The ACSLS client daemon must be initialized before starting the server using
StorageTek Library Attach. For detailed installation, configuration, and system
administration of ACSLS, refer to the appropriate StorageTek documentation.
Procedure
1. Define an ACSLS library named ACSLIB:
define library acslib libtype=acsls acsid=1
2. Define the drives in the library:
define drive acslib drive01 acsdrvid=1,2,3,4
define drive acslib drive02 acsdrvid=1,2,3,5
The ACSDRVID parameter specifies the ID of the drive that is being accessed.
The drive ID is a set of numbers that indicate the physical location of a drive
within an ACSLS library. This drive ID must be specified as a, l, p, d, where a is
the ACSID, l is the LSM (library storage module), p is the panel number, and d
is the drive ID. The server needs the drive ID to connect the physical location
of the drive to the drive's SCSI address. See the StorageTek documentation for
details.
See “Defining drives” on page 174.
3. Define a path from the server to each drive:
define path server1 drive01 srctype=server desttype=drive
library=acslib device=mt1.0.0.0
define path server1 drive02 srctype=server desttype=drive
library=acslib device=mt2.0.0.0
The DEVICE parameter gives the device alias name for the drive. For more
about device names, see “Device alias names” on page 75.
For more information about paths, see “Defining paths” on page 176.
4. Classify drives according to type by defining Tivoli Storage Manager device
classes. For example, to classify the two drives in the ACSLIB library, issue the
following command to define a device class named ACS_CLASS:
define devclass acs_class library=acslib devtype=ecartridge format=drive
This example uses FORMAT=DRIVE as the recording format because both
drives associated with the device class use the same recording format; for
example, both are 9940 drives. If instead one drive is a 9840 and one is a 9940,
you must use specific recording formats when defining the device classes. See
“Configuring an ACSLS library with multiple drive device type” on page 111.
See “Defining tape device classes” on page 180.
5. To check what you have defined, issue the following commands:
query library
query drive
query path
query devclass
See the following topics:
v “Obtaining information about device classes” on page 198
v “Obtaining information about paths” on page 169
v “Requesting information about drives” on page 152
Key choices:
a. Scratch volumes are labeled, empty volumes that are available for use. If
you allow scratch volumes for the storage pool by specifying a value for the
maximum number of scratch volumes, the server can choose from the
scratch volumes available in the library, without further action on your part.
If you do not allow scratch volumes, you must perform the extra step of
explicitly defining each volume to be used in the storage pool.
b. The default setting for primary storage pools is collocation by group. The
default for copy storage pools and active-data pools is disablement of
collocation. Collocation is a process by which the server attempts to keep all
files belonging to a group of client nodes, a single client node, or a client
file space on a minimal number of volumes. If collocation is disabled for a
storage pool and clients begin storing data, you cannot easily change the
data in the pool so that it is collocated. To understand the advantages and
disadvantages of collocation, see “Keeping client files together using
collocation” on page 357 and “How collocation affects reclamation” on page
378.
For more information, see “Defining storage pools” on page 245.
Results
Procedure
1. Define two ACSLS libraries that use the same ACSID. For example to define
9840LIB and 9940LIB, enter the following commands:
define library 9840lib libtype=acsls acsid=1
define library 9940lib libtype=acsls acsid=1
The ACSID parameter specifies the number that the Automatic Cartridge
System System Administrator (ACSSA) assigned to the libraries. Issue the
QUERY ACS command to your ACSLS system to determine the number for
your library ID.
2. Define the drives, ensuring that they are associated with the appropriate
libraries.
Note: Tivoli Storage Manager does not prevent you from associating a drive
with the wrong library.
v Define the 9840 drives to 9840LIB.
define drive 9840lib 9840_drive1 acsdrvid=1,2,3,1
define drive 9840lib 9840_drive2 acsdrvid=1,2,3,2
v Define the 9940 drives to 9940LIB.
define drive 9940lib 9940_drive3 acsdrvid=1,2,3,3
define drive 9940lib 9940_drive4 acsdrvid=1,2,3,4
The ACSDRVID parameter specifies the ID of the drive that is being accessed.
The drive ID is a set of numbers that indicate the physical location of a drive
within an ACSLS library. This drive ID must be specified as a, l, p, d, where a is
Key choices:
a. Scratch volumes are labeled, empty volumes that are available for use. If
you allow scratch volumes for the storage pool by specifying a value for the
maximum number of scratch volumes, the server can choose from the
scratch volumes available in the library, without further action on your part.
When upgrading multiple servers that participate in library sharing, upgrade all
the servers at once, or do the library manager servers and then the library client
servers. Library manager servers are compatible with earlier library clients.
However, library clients are not compatible with earlier library manager servers.
Procedure
1. Verify that the server that is the library manager is running. Start it if it is not.
a. Start the Windows Services Management Console ([Link]).
b. Select the service. For example, TSM Server1.
c. Right-click and select Start.
2. Obtain the library and drive information for the shared library device:
a. Run the [Link] utility. The utility is in the \Program
Files\Tivoli\TSM\server directory.
3. Define a library whose library type is ACSLS. For example:
define library macgregor libtype=acsls shared=yes
4. Define the path from the server to the library:
define path glencoe macgregor srctype=server desttype=library
device=lb0.0.0.2
5. Define the drives in the library.
define drive macgregor drivea acsdrvid=1,0,1,0
define drive macgregor driveb acsdrvid=1,0,1,1
This example uses the acsdrvid value, which specifies the ID of the drive that
is being accessed in an ACSLS library. The drive ID is a set of numbers that
indicates the physical location of a drive within an ACSLS library. This drive ID
must be specified as a,l,p,d, where a is the ACSID, l is the LSM (library storage
module), p is the panel number, and d is the drive ID. The server needs the
drive ID to connect the physical location of the drive to the drive's SCSI
address. See the StorageTek documentation for details.
6. Define the path from the server to each of the drives.
Procedure
1. Verify that the server that is the library client is running, and start it if it is not:
a. Start the Windows Services Management Console ([Link]).
b. Select the service. For example, TSM Server1.
c. Right-click and select Start.
2. Obtain the library and drive information for the shared library device:
a. Run the [Link] utility. The utility is in the \Program
Files\Tivoli\TSM\server directory.
3. Define the shared library, MACGREGOR, and identify the library manager.
Ensure that the library name is the same as the library name on the library
manager.
define library macgregor libtype=shared primarylibmanager=glencoe
4. Issue the following commands from an admin client: Define the paths from the
library client server to each of the drives.
define path wallace drivea srctype=server desttype=drive library=macgregor
device=mt0.1.0.3
define path wallace driveb srctype=server desttype=drive library=macgregor
device=mt0.2.0.3
5. Return to the library client for the remaining steps: Define at least one device class.
define devclass tape devtype=dlt mountretention=1 mountwait=10
library=macgregor
Set the parameters for the device class the same on the library client as on the
library manager. Making the device class names the same on both servers is
also a good practice, but is not required.
The device class parameters that are specified on the library manager server
override those specified for the library client. This is true whether or not the
device class names are the same on both servers. If the device class names are
Each volume used by a server for any purpose must have a unique name. This
requirement applies to all volumes, whether the volumes are used for storage
pools, or used for operations such as database backup or export. The requirement
also applies to volumes that reside in different libraries.
Attention: If your library has drives of multiple device types, you defined two
libraries to the Tivoli Storage Manager server in the procedure in “Configuring an
ACSLS library with multiple drive device type” on page 111. The two Tivoli
Storage Manager libraries represent the one physical library. The check-in process
finds all available volumes that are not already checked in. You must check in
media separately to each defined library. Ensure that you check in volumes to the
correct Tivoli Storage Manager library.
Procedure
1. Check in the library inventory. The following shows examples for libraries with
a single drive device type and with multiple drive device types.
v Check in volumes that are already labeled:
checkin libvolume acslib search=yes status=scratch checklabel=no
v Label and check in volumes:
label libvolume acslib search=yes overwrite=no checkin=scratch
2. Depending on whether you use scratch volumes or private volumes, do one of
the following:
v If you use only scratch volumes, ensure that enough scratch volumes are
available. For example, you may need to label more volumes. As volumes are
used, you may also need to increase the number of scratch volumes allowed
in the storage pool that you defined for this library.
v If you want to use private volumes in addition to or instead of scratch
volumes in the library, define volumes to the storage pool you defined. The
Results
Defining a VTL to the Tivoli Storage Manager server can help improve
performance because the server handles mount point processing for VTLs
differently than real tape libraries. The physical limitations for real tape hardware
are not applicable to a VTL, affording options for better scalability.
You can use a VTL for any virtual tape library when the following conditions are
true:
v There is no mixed media involved in the VTL. Only one type and generation of
drive and media is emulated in the library.
v Every server and storage agent with access to the VTL has paths that are defined
for all drives in the library.
If either of these conditions are not met, any mount performance advantage from
defining a VTL library to the Tivoli Storage Manager server can be reduced or
negated.
VTLs are compatible with earlier versions of both library clients and storage
agents. The library client or storage agent is not affected by the type of library that
is used for storage. If mixed media and path conditions are true for a SCSI library,
it can be defined or updated as LIBTYPE=VTL.
The concept of storage capacity in a virtual tape library is different from capacity
in physical tape hardware. In a physical tape library, each volume has a defined
capacity, and the library's capacity is defined in terms of the total number of
volumes in the library. The capacity of a VTL, alternatively, is defined in terms of
total available disk space. You can increase or decrease the number and size of
volumes on disk.
When out-of-space errors and backup failures occur, disk space is usually still
available in the VTL. It is hidden in volumes that are not in use. For example,
volumes that are logically deleted or returned to scratch status in the Tivoli Storage
Manager server are only deleted in the server database. The VTL is not notified,
and the VTL maintains the full size of the volume as allocated in its capacity
considerations.
To help prevent out-of-space errors, ensure that any SCSI library that you update
to LIBTYPE=VTL is updated with the RELABELSCRATCH parameter set to YES. The
RELABELSCRATCH option enables the server to overwrite the label for any volume
that is deleted and to return the volume to scratch status in the library. The
RELABELSCRATCH parameter defaults to YES for any library defined as a VTL.
Most VTL environments use as many drives as possible to maximize the number
of concurrent tape operations. A single tape mount in a VTL environment is
typically faster than a physical tape mount. However, using many drives increases
the amount of time that the Tivoli Storage Manager server requires when a mount
is requested. The selection process takes longer as the number of drives that are
defined in a single library object in the server increases. Virtual tape mounts can
take as long or longer than physical tape mounts depending on the number of
drives in the VTL.
For best results when you create drives, check with your VTL vendor about
device-specific recommendations. If more than 300-500 drives for each VTL are
required, you can logically partition the VTL into multiple libraries and assign
drives to each library. Operating system and SAN hardware configurations could
impose limitations on the number of devices that can be utilized within the VTL
library.
VTLs are identified by using the DEFINE LIBRARY command and specifying
LIBTYPE=VTL. Because a VTL library functionally interacts with the server in the
same way that a SCSI library does, it is possible to use the UPDATE LIBRARY
command to change the library type of a SCSI library that is already defined. You
do not have to redefine the library.
Example
The following examples show how to add a VTL library to your environment.
This sets up the new VTL library and enables the RELABELSCRATCH option to
relabel volumes that have been deleted and returned to scratch status.
If you have a SCSI library and you want to change it to a VTL, use the UPDATE
LIBRARY command to change the library type:
update library calzone libtype=vtl
You can only issue this command when the library being updated is defined with
LIBTYPE=SCSI.
If you define a SCSI tape library as a VTL and want to change it back to the SCSI
library type, update the library by issuing the UPDATE LIBRARY command:
update library chester libtype=scsi
If you are setting up or modifying your hardware environment and must create or
change large numbers of drive definitions, the PERFORM LIBACTION command can
make this task much simpler. You can define a new library and then define all
drives and paths to the drives. Or, if you have an existing library that you want to
delete, you can delete all existing drives and their paths in one step.
The PREVIEW parameter allows you to view the output of commands before they
are processed to verify the action that you want to perform. If you are defining a
library, a path to the library must already be defined if you want to specify the
PREVIEW parameter. You cannot use the PREVIEW and DEVICE parameters
together.
The PERFORM LIBACTION command can only be used for SCSI and VTL libraries. If
you are defining drives and paths for a library, the SANDISCOVERY option must be
supported and enabled. The tape library must be able to return the drive serial
number address association.
Procedure
The following tasks are required to share tape library devices over a SAN:
Procedure
1. Verify that the server that is the library manager is running. Start it if it is not.
a. Start the Windows Services Management Console ([Link]).
b. Select the service. For example, TSM Server1.
c. Right-click and select Start.
2. Obtain the library and drive information for the shared library device:
You must define the library manager server. Use the following procedure as an
example of how to set up a Tivoli Storage Manager server named JUDY as a
library client.
Procedure
1. Verify that the server that is the library client is running. Start the server if it is
not running:
a. Start the Windows Services Management Console ([Link]).
b. Select the service. For example, TSM Server1.
c. Right-click and select Start.
2. Obtain the library and drive information for the shared library device:
a. Run the [Link] utility. The utility is in the \Program
Files\Tivoli\TSM\server directory.
3. Define the shared library, SANGROUP, and identify the library manager.
Ensure that the library name is the same as the library name on the library
manager.
define library sangroup libtype=shared primarylibmanager=astro
4. Issue the following commands from an admin client: Define the paths from the
library client server to each of the drives.
define path judy drivea srctype=server desttype=drive library=sangroup
device=mt0.1.0.3
define path judy driveb srctype=server desttype=drive library=sangroup
device=mt0.2.0.3
5. Return to the library client for the remaining steps: Define at least one device class.
define devclass tape devtype=dlt mountretention=1 mountwait=10
library=sangroup
Set the parameters for the device class the same on the library client as on the
library manager. Making the device class names the same on both servers is
also a good practice, but is not required.
The device class parameters that are specified on the library manager server
override those specified for the library client. This is true whether or not the
device class names are the same on both servers. If the device class names are
different, the library manager uses the parameters specified in a device class
that matches the device type specified for the library client.
As part of the configuration, a storage agent is installed on the client system. Tivoli
Storage Manager supports both tape libraries and FILE libraries. This feature
supports SCSI, 349X, and ACSLS tape libraries.
The configuration procedure you follow will depend on the type of environment
you implement; however in all cases you must perform the following steps:
Procedure
1. Install and configure the client.
2. Install and configure the storage agent.
3. Configure the libraries for LAN-free data movement.
4. Define the libraries and associated paths.
5. Define associated devices and their paths.
6. Configure Tivoli Storage Manager policy for LAN-free data movement for the
client. If you are using shared FILE storage, install and configure IBM
TotalStorage SAN File System or IBM General Parallel File System.
Results
For more information on configuring Tivoli Storage Manager for LAN-free data
movement see the Storage Agent User's Guide.
To help you tune the use of your LAN and SAN resources, you can control the
path that data transfers take for clients with the capability of LAN-free data
movement. For each client you can select whether data read and write operations
use:
v The LAN path only
v The LAN-free path only
To determine if there is a problem with the client node FRED using the storage
agent FRED_STA, issue the following:
validate lanfree fred fred_sta
The output will allow you to see which management class destinations for a given
operation type are not LAN-free capable. It will also report the total number of
LAN-free destinations.
See the VALIDATE LANFREE command in the Administrator's Reference for more
information.
Procedure
Results
The information that is provided by this utility is from the Windows registry. Some
of the information is put into the registry by the Tivoli Storage Manager device
driver. To receive accurate information, ensure that the device driver is running. If
the device driver is not running, the information can be incorrect if device
attachments have changed since the last time the device driver was running.
The server may know a device as id=1 based on the original path specification to
the server and original configuration of the LAN. However, some event in the SAN
(new device added, cabling change) causes the device to be assigned id=2. When
the server tries to access the device with id=1, it will either get a failure or the
wrong target device. The server assists in recovering from changes to devices on
the SAN by using serial numbers to confirm the identity of devices it contacts.
When you define a device (drive or library) you have the option of specifying the
serial number for that device. If you do not specify the serial number when you
define the device, the server obtains the serial number when you define the path
for the device. In either case, the server then has the serial number in its database.
From then on, the server uses the serial number to confirm the identity of a device
for operations.
When the server uses drives and libraries on a SAN, the server attempts to verify
that the device it is using is the correct device. The server contacts the device by
using the device name in the path that you defined for it. The server then requests
the serial number from the device, and compares that serial number with the serial
number stored in the server database for that device.
If the serial numbers do not match, the server begins the process of discovery on
the SAN to attempt to find the device with the matching serial number. If the
server finds the device with the matching serial number, it corrects the definition
of the path in the server's database by updating the device name in that path. The
server issues a message with information about the change made to the device.
Then the server proceeds to use the device.
Restriction: Some devices do not have the capability of reporting their serial
numbers to applications such as the Tivoli Storage Manager server. If the server
cannot obtain the serial number from a device, it cannot assist you with changes to
that device's location on the SAN.
Actual results depend upon your system environment. The utility does not affect
the generation of backup sets.
The DSMMAXSG utility increases the maximum transfer length for some host bus
adapters (HBAs). The Tivoli Storage Manager server uses the following types of
tape drives:
v 3590
v 3592
v DLT
v ECARTRIDGE
v LTO
The maximum block size that you can use with this utility is 256 KB. When you
run the DSMMAXSG utility, it modifies one registry key for every HBA driver on the
system. The name of the key is MaximumSGList.
Typically, the utility is run automatically as part of the Tivoli Storage Manager
server or storage agent installation. However, you must run the utility manually to
take advantage of the larger block size if you:
v install a new HBA on your system after you install the server or storage agent
v install a new version of an existing HBA device driver that resets the value of
the maximum transfer size
Restriction: If you back up or archive to tape by using the 256 KB block size, you
cannot append to or read from the tape by using an HBA that is not compatible
with the 256 KB block size. For example, if you use a 256 KB Windows system to
back up client data to the Tivoli Storage Manager server, you cannot restore the
data by using a Windows system that uses a different transfer length. If you want
to append to or read from tape that is written to using a 256 KB transfer length,
you must install an HBA that supports 256 KB transfers.
For more information about the DSMMAXSG utility, see the Administrator's Reference
The examples in topics show how to perform tasks using the Tivoli Storage
Manager command-line interface. For information about the commands, see the
Administrator's Reference, or issue the HELP command from the command line of a
Tivoli Storage Manager administrative client.
Defining volumes
For each storage pool, decide whether to use scratch volumes or private volumes.
Private volumes require more human intervention than scratch volumes.
When you use commands to add devices, you specify the maximum number of
scratch volumes with the MAXSCRATCH parameter of the DEFINE STGPOOL or UPDATE
STGPOOL command. If the MAXSCRATCH parameter is 0, all the volumes in the storage
pool are private volumes that you must define.
For example, to create a storage pool named STORE1 that can use up to 500 scratch
volumes, issue the following command:
define stgpool store1 maxscratch=500
Managing volumes
When Tivoli Storage Manager needs a new volume, it chooses a volume from the
storage pool available for client backups. If you set up private volumes, it selects a
specific volume. If you set up scratch volumes, it selects any scratch volume in the
library.
IBM 3494 Tape Library Dataservers use category numbers to identify volumes that
are used for the same purpose or application. For details, see “Category numbers
for IBM 3494 libraries” on page 141. For special considerations regarding
write-once, read-many (WORM) volumes, see “Write-once, read-many tape media”
on page 133.
Remember: Each volume used by a server for any purpose must have a unique
name. This requirement applies to all volumes, whether the volumes are used for
storage pools, or used for operations such as database backup or export. The
requirement also applies to volumes that reside in different libraries but that are
used by the same server.
Partially-written volumes
Partially-written volumes are always private volumes, even if their status was
scratch before Tivoli Storage Manager selects them to be mounted. Tivoli Storage
Manager tracks the original status of scratch volumes, so it can return them to
scratch status when they become empty.
For information about changing the status of a volume in an automated library, see
“Changing the status of automated library volumes” on page 135.
The volume inventory is created when you check media volumes into the library.
Tivoli Storage Manager tracks the status of volumes in the inventory as either
scratch or private.
A list of volumes in the library volume inventory will not necessarily be identical
to a list of volumes in the storage pool inventory for the device. For example,
scratch volumes may be checked in to the library but not defined to a storage pool
because they have not yet been selected for backup; private volumes may be
defined to a storage pool, but not checked into the device's volume inventory.
For details about the volume history file, see Chapter 29, “Protecting and
recovering the server infrastructure and client data,” on page 869.
Labeling media
All media require labels. Labeling media with an automated library requires you to
check media into the library. Checkin processing can be done at the same time that
the volume is labeled.
To label volumes with the LABEL LIBVOLUME command, specify the CHECKIN
parameter.
A label cannot include embedded blanks or periods and must be valid when used
as a file name on the media.
Note: You must label CD-ROM, Zip, or Jaz volumes with the device utilities from
the manufacturer or the Windows utilities because Tivoli Storage Manager does not
provide utilities to format or label these media types. The operating system utilities
include the Disk Administrator program (a graphical user interface) and the label
command.
The CHECKIN LIBVOLUME command involves device access, and may take a long
time to complete. For this reason, the command always executes as a background
process. Wait for the CHECKIN LIBVOLUME process to complete before defining
volumes or the defining process will fail. You can save time by checking in
volumes as part of the labeling operation. For details, see “Labeling media” on
page 129.
You can specify that Tivoli Storage Manager read media labels for the volumes you
are checking in. When label-checking is enabled, Tivoli Storage Manager mounts
each volume and reads the internal label before checking in the volume. Tivoli
Storage Manager checks in only volumes that are properly labeled. Checking labels
can prevent errors later, when Tivoli Storage Manager selects and mounts volumes,
but it also increases check in processing time.
Tivoli Storage Manager issues a mount request identifying a storage slot with an
element address. The media can be loaded directly into a single storage slot or into
one of the device's entry/exit ports, if it is equipped with them. For example,
check a scratch volume named VOL001 into a library named TAPELIB by entering
the following command:
checkin libvolume tapelib vol001 search=no status=scratch
Tivoli Storage Manager finds that the first empty slot is at element address 5, and
issues the following message:
ANR8306I 001: Insert 8MM volume VOL001 R/W in slot with element
address 5 of library TAPELIB within 60 minutes; issue ’REPLY’ along
with the request ID when ready.
If the library is equipped with entry/exit ports, the administrator can load the
volume into a port without knowing the element addresses of the device's storage
slots. After inserting the volume into an entry/exit port or storage slot, the
administrator responds to the preceding message at a Tivoli Storage Manager
command line by issuing the REPLY command with the request number (the
number at the beginning of the mount request):
reply 1
Tip: A REPLY command is not required if you specify a wait time of zero using the
optional WAITTIME parameter on the CHECKIN LIBVOLUME command. The default wait
time is 60 minutes.
Tivoli Storage Manager reads the bar code labels and uses the information on the
labels to write the internal media labels. For volumes missing bar code labels,
Tivoli Storage Manager mounts the volumes in a drive and attempts to read the
internal, recorded label.
For example, to use a bar code reader to search a library named TAPELIB and
check in a scratch tape, enter:
checkin libvolume tapelib search=yes status=scratch
checklabel=barcode
To have Tivoli Storage Manager load a cartridge in a drive and read the label, you
must specify the CHECKLABEL=YES option. The CHECKLABEL=NO option is invalid with
the SEARCH=BULK option. After reading the label, Tivoli Storage Manager moves the
tape from the drive to a storage slot. When bar code reading is enabled with the
CHECKLABEL=BARCODE parameter, Tivoli Storage Manager reads the label and moves
the tape from the entry/exit port to a storage slot.
Partially-written volumes are always private volumes. Volumes begin with a status
of either scratch or private, but once Tivoli Storage Manager stores data on them,
their status becomes private. See “Returning partially-written volumes to
automated libraries” on page 136.
Tivoli Storage Manager selects the volume to eject by checking first for any
available scratch volumes, then for the least frequently mounted volumes. Without
tape swapping, the checkin fails. See “Setting up volume overflow locations for
automated libraries” on page 138.
When a volume is first inserted into an IBM 3494 library, either manually or
automatically at the convenience I/O station, the volume is assigned to the insert
category (X'FF00'). You can then change the category number when issuing the
CHECKIN LIBVOLUME command.
If you load tapes into storage slots, you must reply to mount requests that identify
storage slots with element addresses, unless you specify a wait time of zero when
issuing the CHECKIN LIBVOLUME or LABEL LIBVOLUME commands. (If the wait time is
zero, no reply is required.) An element address is a number that indicates the
physical location of a storage slot or drive within an automated library.
You can use the following types of WORM media with Tivoli Storage Manager:
v StorageTek VolSafe
v Sony AIT50 and AIT100
v IBM 3592
v IBM LTO-3 and LTO-4; HP LTO-3 and LTO-4; and Quantum LTO-3
v Quantum SDLT 600, Quantum DLT V4, and Quantum DLT S4
External and manual libraries use separate logical libraries to segregate their
media. You must ensure that the correct media is loaded.
Tips:
v A storage pool can consist of either WORM or RW media, but not both.
v To avoid wasting tape after a restore or import operation, avoid using WORM
tapes for database backup or export operations.
Related tasks:
“Selecting a device driver” on page 78
WORM-capable drives
To use WORM media in a library, all the drives in the library must be
WORM-capable. A mount will fail if a WORM cartridge is mounted in a read write
(RW) drive.
Library changers cannot identify the difference between standard read-write (RW)
tape media and the following types of WORM tape media:
v VolSafe
v Sony AIT
v LTO
v SDLT
v DLT
To determine the type of WORM media that is being used, a volume must be
loaded into a drive. Therefore, when checking in one of these types of WORM
volumes, you must use the CHECKLABEL=YES option on the CHECKIN
LIBVOLUME command.
If they provide support for WORM media, IBM 3592 library changers can detect
whether a volume is WORM media without loading the volume into a drive.
Specifying CHECKLABEL=YES is not required. Verify with your hardware vendors
that your 3592 drives and libraries provide the required support.
Issue the LABEL LIBVOLUME command only once for VolSafe volumes. You can
guard against overwriting the label by using the OVERWRITE=NO option on the
LABEL LIBVOLUME command.
If you have SDLT-600, DLT-V4, or DLT-S4 drives and you want to enable them for
WORM media, upgrade the drives using V30 or later firmware available from
Quantum. You can also use DLTIce software to convert unformatted read-write
(RW) volumes or blank volumes to WORM volumes.
In manual libraries, you can use the server to format empty volumes to WORM.
Tivoli Storage Manager tracks the media in the library volume inventory. The
library volume inventory is separate from the storage pool inventory for a library
device. To add volumes to the volume inventory for a device, check volumes into
the library device. For details on the CHECKIN procedure, see “Checking media into
automated library devices” on page 130. To add volumes to a storage pool for a
library, see “Adding scratch volumes to automated library devices” on page 138.
You can manage media in automated libraries by reviewing the following tasks:
Tivoli Storage Manager mounts each volume and verifies its internal label before
checking it out of the volume inventory. After a volume has been checked out,
Tivoli Storage Manager moves the media to the entry/exit port of the device if it
has one, or Tivoli Storage Manager requests that the operator remove the volume
from a drive within the device.
For automated libraries with multiple entry/exit ports, you can issue the
CHECKOUT LIBVOLUME command with the SEARCH=BULK parameter. Tivoli
Storage Manager ejects the volume to the next available entry/exit port.
Partially-written volumes that are removed from the device will need to be
checked in again if Tivoli Storage Manager attempts to access them. See
“Partially-written volumes” on page 128.
These messages indicate a hardware error, and not a Tivoli Storage Manager
application error.
To audit the volume inventories of automated libraries, issue the AUDIT LIBRARY
command . 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.
Unless devices are equipped with bar code readers, the server mounts each volume
during the audit process to verify the label. After the label has been verified, the
volume remains in a wait state until the mount retention interval times out. You
can save time by issuing the DISMOUNT VOLUME command to force idle
volumes to be dismounted.
If a volume has a bar code label with six characters or less, Tivoli Storage Manager
reads the volume name from the bar code label during the audit. The volume is
not mounted to verify that the external bar code name matches the internal,
recorded volume name.
If a volume has no bar code label or the bar code label does not meet Tivoli
Storage Manager label requirements, Tivoli Storage Manager mounts the volume in
a drive and attempts to read the internal label. See “Labeling media” on page 129.
For example, to audit the TAPELIB library using its bar code reader, issue the
following command:
audit library tapelib checklabel=barcode
Procedure
1. Check volumes into the library. Label them if necessary. You might need to
temporarily store volumes in an overflow location in order to make room for
additional scratch volumes. See “Setting up volume overflow locations for
automated libraries.”
2. Increase the maximum number of scratch volumes. You can issue the UPDATE
STGPOOL command to increase the number of scratch volumes that can be
added to a storage pool.
Results
The initial maximum number of scratch volumes for a library is determined when
the library storage pool is created. See “Defining volumes” on page 127.
Tivoli Storage Manager tracks the volumes moved to the overflow area thus
allowing you to make storage slots available for new volumes. To set up and
manage an overflow location:
Procedure
1. Create a volume overflow location. Define or update the storage pool
associated with the automated library by issuing the DEFINE STGPOOL or
UPDATE STGPOOL command with the OVERFLOW parameter. For example,
to create an overflow location named ROOM2948 for a storage pool named
ARCHIVEPOOL, issue the following:
update stgpool archivepool ovflocation=Room2948
2. Move media to the overflow location as required. 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
All full volumes are checked out of the library, and Tivoli Storage Manager
records the location of the volumes as Room2948.
Use the DAYS parameter to specify the number of days that must elapse before
the volume is eligible for processing by the MOVE MEDIA command.
3. Check in new scratch volumes (if required). See “Checking media into
automated library devices” on page 130. If a volume has an entry in volume
history, you cannot check it in as a scratch volume.
To change the access mode of a volume, issue the UPDATE VOLUME command,
specifying ACCESS=UNAVAILABLE.
If you want to make volumes unavailable in order to send the data they contain
offsite for safekeeping, consider using copy storage pools or active-data pools
instead. You can back up primary storage pools to a copy storage pool and then
send the copy storage pool volumes offsite. You can also copy active versions of
client backup data to active-data pools, and then send the volumes offsite. You can
track copy storage pool volumes and active-data pool volumes by changing their
access mode to offsite, and updating the volume history to identify their location.
For more information, see “Backing up primary storage pools” on page 883.
The library client contacts the library manager, when the library manager starts
and the storage device initializes, or after a library manager is defined to a library
client. The library client confirms that the contacted server is the library manager
for the named library device. The library client also compares drive definitions
with the library manager for consistency. The library client contacts the library
manager for each of the following operations:
Volume Mount
A library client sends a request to the library manager for access to a
particular volume in the shared library device. For a scratch volume, the
library client does not specify a volume name. If the library manager
cannot access the requested volume, or if scratch volumes are not available,
the library manager denies the mount request. If the mount is successful,
the library manager returns the name of the drive where the volume is
mounted.
Volume Release (free to scratch)
When a library client no longer needs to access a volume, it notifies the
library manager that the volume should be returned to scratch. The library
manager's database is updated with the volume's new location. The
volume is deleted from the volume inventory of the library client.
Table 9 shows the interaction between library clients and the library manager in
processing Tivoli Storage Manager operations.
Table 9. How SAN-enabled servers process Tivoli Storage Manager operations
Operation Library Manager Library Client
(Command)
Query library volumes Displays the volumes that Not applicable.
are checked into the library.
(QUERY LIBVOLUME) For private volumes, the
owner server is also
displayed.
Check in and check out Performs the commands to Not applicable.
library volumes the library device.
When a checkin operation
(CHECKIN LIBVOLUME, must be performed because
CHECKOUT LIBVOLUME) of a client restore, a request
is sent to the library manager
server.
Audit library inventory Performs the inventory Performs the inventory
synchronization with the synchronization with the
(AUDIT LIBRARY) library device. library manager server.
Label a library volume Performs the labeling and Not applicable.
checkin of media.
(LABEL LIBVOLUME)
Dismount a volume Sends the request to the Requests that the library
library device. manager server perform the
(DISMOUNT VOLUME) operation.
(Command)
Query a volume Checks whether the volume Requests that the library
is owned by the requesting manager server perform the
(QUERY VOLUME) library client server and operation.
checks whether the volume
is in the library device.
A 3494 library has an intelligent control unit that tracks the category number of
each volume in the volume inventory. The category numbers are useful when
multiple systems share the resources of a single library. Typically, a software
application that uses a 3494 uses only volumes in categories that are reserved for
that application.
You can set up expiration processing and reclamation processing and tune the
media rotation to achieve the desired results.
v Setting up expiration processing
Expiration processing is the same, regardless of the type of device and media on
which backups are stored. See “Running expiration processing to delete expired
files” on page 512.
v Setting up reclamation processing
For a storage pool associated with a library that has more than one drive, the
reclaimed data is moved to other volumes in the same storage pool. See
“Reclaiming space in sequential-access storage pools” on page 367.
v Returning reclaimed media to the storage pool
Most media can be returned to a storage pool after it has been reclaimed but
media containing database backups and database export data require you to
perform an additional step. For these volumes, you must issue the DELETE
VOLHISTORY command or the UPDATE LIBVOLUME command to change the
status of the volume.
When Tivoli Storage Manager backs up the database or exports server
information, Tivoli Storage Manager records information about the volumes used
for these operations in the volume history file. Volumes that are tracked in the
volume history file require the administrator to delete the volume information
from the volume history file. The volume history file is a key component of
server recovery and is discussed in detail in Chapter 29, “Protecting and
recovering the server infrastructure and client data,” on page 869.
If you use a media manager for stand-alone devices can introduce unnecessary
administrative overhead.
The following table lists the required privilege classes you need to complete the
specified task.
Table 10. Privilege classes for library-specific tasks
Task Required privilege class
Modifying the status of manual device System or unrestricted storage
volumes
Removing volumes from a manual library Not applicable
device
Returning volumes to a manual library Not applicable
device
Adding more volumes to a manual library Not applicable
device
Reusing media in manual libraries Not applicable
For manual libraries, Tivoli Storage Manager detects when there is a cartridge
loaded in a drive, so no operator reply is necessary. For automated libraries, the
CHECKIN LIBVOLUME and LABEL LIBVOLUME commands involve inserting
cartridges into slots and, depending on the value of the WAITTIME parameter,
issuing a reply message. (If the value of the parameter is zero, no reply is
required.) The CHECKOUT LIBVOLUME command involves inserting cartridges
into slots and, in all cases, issuing a reply message.
To start a server console monitor from an operating system command line, enter
this command:
Procedure
dsmadmc -consolemode
If a wait time greater than zero was specified, the server waits the specified
number of minutes before resuming processing.
The first parameter for the REPLY command is the three-digit request ID number
that indicates which of the pending mount requests has been completed. For
example, an operator can issue the following command to respond to request 001
in the previous code sample.
reply 001
The CANCEL REQUEST command must include the request identification number.
This number is included in the request message, or it can be obtained by issuing a
QUERY REQUEST command, as described in “Displaying information about
mount requests that are pending.”
To ensure that the server does not try to mount the requested volume again,
specify the PERMANENT parameter to mark the volume as unavailable.
For most of the requests associated with automated libraries, the Tivoli Storage
Manager CANCEL REQUEST command is not accepted by the server. An operator
must perform a hardware or system action to cancel the requested mount.
Procedure
1. Update the access mode of the volume to UNAVAILABLE by using the
UPDATE VOLUME command.
2. Cancel the server's request for checkin by using the CANCEL REQUEST
command. (Do not cancel the client process that caused the request.) To get the
ID of the request to cancel, issue the QUERY REQUEST command.
Results
Using mount retention can reduce the access time if volumes are used repeatedly.
For information about setting mount retention times, see “Controlling the amount
Tivoli Storage Manager checks the drive every seven seconds to see if the medium
has been ejected. A volume dismount is not considered complete until Tivoli
Storage Manager detects that the medium has been ejected from the drive or that a
different medium has been inserted into the drive.
A log page is created and can be retrieved at any given time or at a specific time
such as when a drive is dismounted.
Tape alert messages are turned off by default. To set tape alert messages to ON,
issue the SET TAPEALERTMSG command. To query tape alert messages, issue the
QUERY TAPEALERTMSG command.
Tape rotation
Over time, media ages, and certain backup data might no longer be needed. You
can reclaim useful data on media and then reclaim and reuse the media.
Tivoli Storage Manager policy determines how many backup versions are retained
and how long they are retained. Policy also determines how many inactive
versions of files the server keeps, and for how long. For more information about
policies to help you manage client data, see “Basic policy planning” on page 476.
Deleting data - expiration processing
Expiration processing deletes data that is no longer valid either because it
exceeds the retention specifications in policy or because users or
administrators deleted the active versions of the data.
Reusing media - reclamation processing
Data on tapes might expire, move, or be deleted. Reclamation processing
consolidates any unexpired data by moving it from multiple volumes onto
fewer volumes. The media can then be returned to the storage pool and
reused.
To automatically label tape volumes in SCSI-type libraries, you can use the
AUTOLABEL parameter on the DEFINE LIBRARY and UPDATE LIBRARY
commands. Using this parameter eliminates the need to pre-label a set of tapes. It
is also more efficient than using the LABEL LIBVOLUME command, which
requires you to mount volumes separately. If you use the AUTOLABEL parameter,
you must check in tapes by specifying CHECKLABEL=BARCODE on the
CHECKIN LIBVOLUME command.
Tip: To automatically label tape volumes in SCSI-type libraries, you can use the
AUTOLABEL parameter on the DEFINE LIBRARY and UPDATE LIBRARY
commands. Using this parameter eliminates the need to pre-label a set of tapes. It
is also more efficient than using the LABEL LIBVOLUME command, which
requires you to mount volumes separately. If you use the AUTOLABEL parameter,
you must check in tapes by specifying CHECKLABEL=BARCODE on the
CHECKIN LIBVOLUME command.
Tivoli Storage Manager works with removable media managers to control storage.
Media managers help Tivoli Storage Manager make better use of media resources.
To use a media manager with Tivoli Storage Manager, you must define a Tivoli
Storage Manager library that represents the media manager. Defining the library is
similar to defining any other type of library to Tivoli Storage Manager, except the
library does not represent a physical device. Different library types are required for
External Media Management Interface control.
For details about the interface, see Appendix A, “External media management
interface description,” on page 1085.
Procedure
1. Set up the media manager to interface with Tivoli Storage Manager. For more
information, see Appendix A, “External media management interface
description,” on page 1085.
2. Define a library whose library type is EXTERNAL, and define a path to the
media manager executable. For example:
define library medman libtype=external
For example:
define devclass class1 devtype=8mm library=medman mountretention=5 mountlimit=2
define path server1 medman srctype=server desttype=library
externalmanager=c:\server\[Link]
The MOUNTLIMIT parameter specifies the number of drives in the library. The
MOUNTRETENTION parameter determines how long an idle volume remains in a
drive. If the library is shared among applications, this setting is especially
important. Some media managers do not dismount an allocated drive to satisfy
pending requests. You must set the mount retention period to balance
competing mount requests and system performance.
3. Define a device class for the EXTERNAL library with a device type of 8MM.
4. Define a storage pool for the device class. For example:
define stgpool pool1 class1 maxscratch=500
5. Associate client nodes with the new storage pool by defining a new policy
domain or by updating an existing policy domain
Managing libraries
Using Tivoli Storage Manager commands, you can query and delete libraries. You
can also update automated libraries.
To obtain information about libraries, use the QUERY LIBRARY command. The
default is a standard report. For example, to display information about all libraries
in a standard report, issue the following command:
query library
If your system or device is reconfigured, and the device name changes, you may
need to update the device name. The examples below show how you can issue the
UPDATE LIBRARY and UPDATE PATH commands for the following library types:
v SCSI
v 349X
v ACSLS
v External
Examples:
v SCSI Library
Update the path from SERVER1 to a SCSI library named SCSILIB:
update path server1 scsilib srctype=server desttype=library device=lb4.0.0.0
Update the definition of a SCSI library named SCSILIB defined to a library client
so that a new library manager is specified:
update library scsilib primarylibmanager=server2
v 349X Library
Update the path from SERVER1 to an IBM 3494 library named 3494LIB with
new device names.
update path server1 3494lib srctype=server desttype=library
device=lb2.0.0.0,lb3.0.0.0,lb4.0.0.0
Update the definition of an IBM 3494 library named 3494LIB defined to a library
client so that a new library manager is specified:
update library 3494lib primarylibmanager=server2
v ACSLS Library
Update an automated cartridge system library software (ACSLS) library named
ACSLSLIB with a new ID number.
update library acslslib ascid=1
v External Library
Update an external library named EXTLIB with a new media manager path
name.
update path server1 extlib srctype=server desttype=library
externalmanager=c:\server\[Link]
Update an EXTERNAL library named EXTLIB in a LAN-free configuration so
that the server uses the value set for mount retention in the device class
associated with the library:
update library extlib obeymountretention=yes
For information about deleting drives, see “Deleting drives” on page 168.
For example, suppose that you want to delete a library named 8MMLIB1. After
deleting all of the drives defined as part of this library and the path to the library,
issue the following command to delete the library itself:
delete library 8mmlib1
Managing drives
You can query, update, and delete drives.
The QUERY DRIVE command accepts wildcard characters for both a library name
and a drive name. See the Administrator's Reference for information about using
wildcard characters.
For example, to query all drives associated with your server, issue the following
command:
query drive
You can change the following attributes of a drive by issuing the UPDATE DRIVE
command.
v The element address, if the drive is in a SCSI or virtual tape library (VTL).
v The ID of a drive in an automated cartridge system library software (ACSLS)
library
v The cleaning frequency
v Change whether the drive is online or offline
For example, to change the element address of a drive named DRIVE3 to 119, issue
the following command:
update drive auto drive3 element=119
Note: You cannot change the element number if a drive is in use. If a drive has a
volume mounted, but the volume is idle, it can be explicitly dismounted as
described in “Dismounting idle volumes” on page 145.
If you are reconfiguring your system, you can change the device name of a drive
by issuing the UPDATE PATH command. For example, to change the device name of a
drive named DRIVE3, issue the following command:
update path server1 drive3 srctype=server desttype=drive library=scsilib
device=mt3.0.0.0
You can change a drive to offline status while the drive is in use. Tivoli Storage
Manager finishes with the current tape in the drive, and then does not use the
drive anymore. By changing a drive to offline, you can drain work off a drive.
However, if the tape that was in use was part of a series of tapes for a single
transaction, the drive is not available to complete the series. If no other drives are
available, the transaction might fail. If all drives in a library are made offline, any
attempts by Tivoli Storage Manager to write to the storage pool associated with the
library fails.
The ONLINE parameter specifies the value of the drive's online state, even if the
drive is in use. ONLINE=YES indicates that the drive is available for use (online).
ONLINE=NO indicates that the drive is not available for use (offline). This
parameter is optional. Do not specify other optional parameters along with
ONLINE=YES or ONLINE=NO. If you do, the drive is not updated, and the
command fails when the drive is in use. This command can be issued when the
drive is involved in an active process or session, but this action is not
recommended.
The ONLINE parameter allows drives to be taken offline and used for another
activity, such as maintenance. If you make the drive offline while it is in use, the
drive is marked offline. However, the mounted volume completes its current
process. If this volume was part of a series of volumes for a given transaction, the
drive is no longer available to complete mounting the series. If no other drives are
available, the active process might fail. The updated state is retained even when
Drives must be able to recognize the correct format. With Tivoli Storage Manager,
you can use the following encryption methods:
Table 11. Encryption methods supported
Application method Library method System method
3592 generation 2 Yes Yes Yes
and later
IBM LTO-4 Yes Yes, but only if your Yes
system hardware (for
example, 3584)
supports it
HP LTO-4 Yes No No
Oracle StorageTek Yes No No
T10000B
Oracle StorageTek Yes No No
T10000C
To enable drive encryption with IBM LTO-4, you must have the IBM RMSS
Ultrium device driver installed. SCSI drives do not support IBM LTO-4 encryption.
To enable encryption with HP LTO-4, you must have the Tivoli Storage Manager
device driver installed.
A library can contain a mixture of drives, some of which support encryption and
some which do not. (For example, a library might contain two LTO-2 drives, two
LTO-3 drives, and two LTO-4 drives.) You can also mix media in a library using,
for example, a mixture of encrypted and non-encrypted device classes having
different tape and drive technologies. However, all LTO-4 drives must support
encryption if Tivoli Storage Manager is to use drive encryption. In addition, all
With logical block protection, you can identify errors that occur while data is being
written to tape and while data is transferred from the tape drive to Tivoli Storage
Manager through the storage area network. Drives that support logical block
protection validate data during read and write operations. The Tivoli Storage
Manager server validates data during read operations.
If validation by the drive fails during write operations, it can indicate that data
was corrupted while being transferred to tape. The Tivoli Storage Manager server
fails the write operation. You must restart the operation to continue. If validation
by the drive fails during read operations, it can indicate that the tape media is
corrupted. If validation by the Tivoli Storage Manager server fails during read
operations, it can indicate that data was corrupted while being transferred from the
tape drive and the server tries the operation again. If validation fails consistently,
the Tivoli Storage Manager server issues an error message that indicates hardware
or connection problems.
If logical block protection is disabled on a tape drive, or the drive does not support
logical block protection, the Tivoli Storage Manager server can read protected data.
However, the data is not validated.
Logical block protection is superior to the CRC validation that you can specify
when you define or update a storage pool definition. When you specify CRC
validation for a storage pool, data is validated only during volume auditing
operations. Errors are identified after data is written to tape.
The following table shows the media and the formats that you can use with drives
that support logical block protection.
Tip: If you have a 3592, LTO, or Oracle StorageTek drive that is not capable of
logical block protection, you can upgrade the drive with firmware that provides
logical block protection.
Logical block protection is only available for drives that are in MANUAL, SCSI,
349x, and ACSLS libraries. Logical block protection is not available for drives that
are in external libraries. For the most current information about support for logical
block protection, see [Link]
[Link]?uid=swg21568108.
To use logical block protection for write operations, all the drives in a library must
support logical block protection. If a drive is not capable of logical block
protection, volumes that have read/write access are not mounted. However, the
server can use the drive to mount volumes that have read-only access. The
protected data is read and validated by the Tivoli Storage Manager server if logical
block protection is enabled for read/write operations.
To enable logical block protection, specify the LBPROTECT parameter on the DEFINE
DEVCLASS or the UPDATE DEVCLASS command for the 3592, LTO, and ECARTRIDGE
device types:
Procedure
v To enable logical block protection, specify a value of READWRITE or
WRITEONLY for the LBPROTECT parameter.
For example, to specify logical block protection during read/write operations for
a 3592 device class named 3592_lbprotect, issue the following command:
define devclass 3592_lbprotect library=3594 lbprotect=readwrite
Tips:
– If you update the value of the LBPROTECT parameter from NO to READWRITE
or WRITEONLY and the server selects a filling volume without logical block
protection for write operations, the server issues a message each time the
volume is mounted. The message indicates that data will be written to the
volume without logical block protection. To prevent this message from
displaying or to have Tivoli Storage Manager only write data with logical
block protection, update the access of filling volumes without logical block
protection to read-only.
– To reduce the performance effects, do not specify the CRCDATA parameter on
the DEFINE STGPOOL or UPDATE STGPOOL command.
– When data is validated during read operations by both the drive and by the
Tivoli Storage Manager server, it can slow server performance during restore
and retrieval operations. If the time that is required for restore and retrieval
operations is critical, you can change the setting of the LBPROTECT parameter
from READWRITE to WRITEONLY to increase the restore or retrieval speed.
After data is restored or retrieved, you can reset the LBPROTECT parameter to
READWRITE.
v To disable logical block protection, specify a value of NO for the LBPROTECT
parameter.
Restriction: If logical block protection is disabled, the server does not write to
an empty tape with logical block protection. However, if a filling volume with
logical block protection is selected, the server continues to write to the volume
with logical block protection. To prevent the server from writing to tapes with
logical block protection, change access of filling volumes with logical block
protection to read-only. When data is read, the CRC on each block is not
checked by either drive or the server.
If a disaster occurs and the disaster recovery site does not have drives that
support logical block protection, you must set the LBPROTECT parameter to NO. If
the tape drives are used for write operations, you must change the volume
access for volumes with protected data to read-only to prevent the server from
using the volumes.
If the server is to enable logical block protection, the server issues an error
message that indicates that the drive does not support logical block protection.
To determine whether a volume has logical block protection, issue the QUERY
VOLUME command and verify the value in the field Logical Block Protection.
If you use the UPDATE DEVCLASS command to change the setting for logical block
protection, the change applies only to empty volumes. Filling and full volumes
maintain their status of logical block protection until they are empty and ready to
be refilled.
For example, suppose that you change the value of the LBPROTECT parameter from
READWRITE to NO. If the server selects a volume that is associated with the
device class and that has logical block protection, the server continues writing
protected data to the volume.
Remember:
v Before you select the volume, the Tivoli Storage Manager server does not verify
whether the volume has logical block protection.
v If a drive does not support logical block protection, the mounts of volumes with
logical block protection for write operations fail. To prevent the server from
mounting the protected volumes for write operations, change the volume access
to read-only. Also, disable logical block protection to prevent the server from
enabling the feature on the tape drive.
v If a drive does not support logical block protection, and logical block protection
is disabled, the server reads data from protected volumes. However, the data is
not validated by the server and the tape drive.
To determine whether a volume has logical block protection, issue the QUERY
VOLUME command and verify the value in the field Logical Block Protection.
Tip: Consider updating the access of filling volumes to read-only if you update the
value of the LBPROTECT parameter in one of the following ways:
v READWRITE or WRITEONLY to NO
v NO to READWRITE or WRITEONLY
For example, suppose that you change the setting of the LBPROTECT parameter from
NO to READWRITE. If the server selects a filling volume without logical block
protection for write operations, the server issues a message each time the volume
is mounted. The message indicates that data will be written to the volume without
logical block protection. To prevent this message from being displayed or to have
Tivoli Storage Manager only write data with logical block protection, update the
access of filling volumes without logical block protection to read-only.
Suppose, for example, that you have a 3584 library that has LTO-5 drives and that
you want to use for protected and unprotected data. To define the required device
classes and storage pools, you can issue the following commands.
define library 3584 libtype=scsi
define devclass lbprotect library=3584 devicetype=lto lbprotect=readwrite
define devclass normal library=3584 devicetype=lto lbprotect=no
define stgpool lbprotect_pool lbprotect maxscratch=10
define stgpool normal_pool normal maxscratch=10
Replacing drive and path definitions is required even if you are exchanging one
drive for another of the same type, with the same logical address, physical address,
SCSI ID, and port number. Device alias names can change when you change your
drive connections.
If the new drive is an upgrade that supports a new media format, you might be
required to define a new logical library, device class, and storage pool. Procedures
for setting up policy for a new drive in a multiple-drive library varies, depending
on the types of drives and media in the library.
By default, existing volumes with a status of FILLING will remain in that state
after a drive upgrade. In some cases, you might want to continue using an older
drive to fill these volumes. This will preserve read/write capability for the existing
volumes until they have been reclaimed. If you choose to upgrade all of the drives
in a library, pay attention to the media formats supported by the new hardware.
Unless you are planning to use only the latest media with your new drive, you
will need to be aware of any compatibility issues. For migration instructions, see
“Migrating to upgraded drives” on page 163.
To use a new drive with media it can read but not write to, issue the UPDATE
VOLUME command to set the access for those volumes to read-only. This will
prevent errors caused by read/write incompatibility. For example, a new drive
may eject media written in a density format it does not support as soon as the
media is loaded into the drive. Or a new drive may fail the first write command to
media partially written in a format it does not support.
When data on the read-only media expires and the volume is reclaimed, replace it
with media that is fully compatible with the new drive. Errors can be generated if
a new drive is unable to correctly calibrate a volume written using an older
Removing drives
Drive removal requires a new drive and path definition.
To remove a drive:
Procedure
1. Stop the IBM Tivoli Storage Manager server and shut down the operating
system.
2. Remove the old drive and follow the manufacturer's instructions to install the
new drive.
3. Restart the operating system and the IBM Tivoli Storage Manager server.
4. Delete the path from the server to the drive. For example:
delete path server1 lib1 srctype=server desttype=drive
5. Delete the drive definition. For example, to delete a drive named DLT1 from a
library device named LIB1, enter:
delete drive lib1 dlt1
6. Define the new drive and path. This procedure will vary, depending on the
configuration of drives in your library. See “Defining new drives.”
To add a drive that supports the same media formats as the drive it replaces, you
need to define a new drive and path.
For example, to define a new drive and name it DRIVE1 and a path to it from
SERVER1, enter the following commands:
define drive lib1 drive1
You can use your existing library, device class, and storage pool definitions.
To upgrade all the drives in a library that contained only one type of drive, you
need to define a new drive and path. You also need to update device class and
storage pool definitions.
You must decide how to manage any new types of media supported by the new
drives. See “Preventing errors caused by media incompatibility” on page 159 for
more information.
The following scenario assumes you already have a library device defined as
follows:
Library Library Private Scratch WORM Scratch External
Name Type Category Category Category Manager
------- ------- -------- -------- ------------ --------
LIB1 349X 200 201
Note: You must specify FORMAT=DRIVE for the new device classes.
You can then define two storage pools to divide the tapes within the
library:
define stgpool 3590E_pool 3590E_class maxscratch=number_of_3590E_tapes
define stgpool 3590H_pool 3590H_class maxscratch=number_of_3590H_tapes
To upgrade some of the drives in a library that contained only one type of drive,
you need to define a separate logical library for each type of drive.
The following scenario assumes you already have a library device defined as
follows:
Library Library Private Scratch WORM Scratch External
Name Category Category Category Manager
------- ------- -------- -------- ------------ --------
LIB1 349X 200 201
Define a new logical library and path for each new type of drive
For example, to add a logical library named LIB2 for the same physical
device already defined as LIB1, enter:
define library lib2 libtype=349X privatecategory=300 scratchcategory=301
wormscratchcategory=302
You can then issue the CHECKIN LIBVOLUME command to check the
new media into the logical library LIB2.
To upgrade all the drives in a library that contained more than one type of drive,
you need to update the drive and path definitions for each logical library.
The following scenario assumes you already have two logical libraries defined. For
example:
Upgrading some of the drives in a library that contained more than one type of
drive:
To upgrade some ofl the drives in a library that contained more than one type of
drive, you need to update the drive and path definitions for each logical library.
The following scenario assumes you already have two logical libraries defined, for
example:
You must update the drive and path definitions for each logical library. Follow the
guidelines in “Upgrading some of the drives in a library that contained only one
type of drive” on page 162. For accurate reporting of capacity information, you
cannot use a global scratch pool with this configuration.
Define a new DISK storage pool and set it up to migrate its data to a storage pool
created for the new drives. Then update your existing management-class
definitions to begin storing data in the new DISK storage pool.
For automated libraries, you can automate cleaning by specifying the frequency of
cleaning operations and checking a cleaner cartridge into the library volume
inventory. Tivoli Storage Manager mounts the cleaner cartridge as specified. For
manual libraries, Tivoli Storage Manager issues a mount request for the cleaner
cartridge. There are special considerations if you plan to use server-controlled
drive cleaning with a SCSI library that provides automatic drive cleaning support
in its device hardware.
Tip: Use library-drive cleaning for automated tape libraries that use this function.
Drives and libraries from manufacturers differ in how they manage cleaner
cartridges, and how they report the presence of a cleaner cartridge in a drive. The
device driver might not be able to open a drive that contains a cleaner cartridge.
Sense codes and error codes that are issued by devices for drive cleaning vary.
Library-drive cleaning is usually not known to applications, therefore, Tivoli
Storage Manager might not always detect the cleaner cartridges in drives and
might not be able to determine when cleaning begins.
Some devices require a small amount of idle time between mount requests to start
drive cleaning. However, Tivoli Storage Manager tries to minimize the idle time for
a drive. The result might be to prevent the library drive cleaning from functioning
effectively. If this happens, use Tivoli Storage Manager to control drive cleaning.
You can set the frequency to match the cleaning recommendations from the
manufacturer.
Drive-cleaning methods
Cleaning of drives can be enabled from your drive or from Tivoli Storage Manager.
You can choose to use the library-drive cleaning method or the Tivoli Storage
Manager drive cleaning method, but not both. Some SCSI libraries provide
automatic drive cleaning.
Over time, the read heads on tapes can get dirty, which can cause read and write
failures. You can select a drive-cleaning method to keep the tapes in a library
clean. The library-drive cleaning method provides several advantages for
automated tape libraries that use this function:
v Lowers the burden on the Tivoli Storage Manager administrator to physically
manage cleaning the cartridges.
v Improves cleaning cartridge usage rates. Most tape libraries track the number of
times that drives can be cleaned based on the hardware indicators. Tivoli Storage
Manager uses a raw count.
If you have Tivoli Storage Manager control-drive cleaning, disable the library
drive-cleaning function to prevent problems. If the library drive-cleaning function
is enabled, some devices automatically move any cleaner cartridge that is found in
the library to slots in the library that are dedicated for cleaner cartridges. You
cannot check a cleaner cartridge into the Tivoli Storage Manager library inventory
until you disable the library drive-cleaning function.
Procedure
1. Define or update the drives in a library, by using the CLEANFREQUENCY parameter
in the DEFINE DRIVE and UPDATE DRIVE command.
The CLEANFREQUENCY parameter sets how often you want the drive to be
cleaned. Consult the documentation that accompanies the drives for
recommendations on cleaning frequency. For example, to have DRIVE1 cleaned
after 100 GB are processed on the drive, issue the following command:
update drive autolib1 drive1 cleanfrequency=100
Consult the drive manufacturer documentation for cleaning recommendations.
If the documentation gives recommendations for cleaning frequency in terms of
hours of use, convert to a gigabytes value by completing the following steps:
a. Use the bytes-per-second rating for the drive to determine a
gigabytes-per-hour value.
b. Multiply the gigabytes-per-hour value by the recommended hours of use
between cleanings.
c. Use the result as the cleaning frequency value.
Restrictions:
a. For IBM 3590, and 3592 drives, specify a value for the CLEANFREQUENCY
parameter rather than specify ASNEEDED. Using the cleaning frequency that is
recommended by the product documentation will not overclean the drives.
b. The CLEANFREQUENCY=ASNEEDED parameter value does not work for all tape
drives. To determine whether a drive supports this function, see the
website: [Link]
IBM_TSM_Supported_Devices_for_AIXHPSUNWIN.html. Click the drive to
view detailed information. If ASNEEDED is not supported, you can use the
gigabytes value for automatic cleaning.
2. Check a cleaner cartridge into the library volume inventory with the CHECKIN
LIBVOLUME command.
checkin libvolume autolib1 cleanv status=cleaner cleanings=10 checklabel=no
After the cleaner cartridge is checked in, the server mounts the cleaner
cartridge in a drive when the drive needs cleaning. The server uses that cleaner
To allow server to control drive cleaning without operator intervention, you must
check a cleaner cartridge into the automated library's volume inventory.
It is recommended that you check in cleaner cartridges one at a time and do not
use the search function of checkin for a cleaner cartridge.
For example, if you need to check in both data cartridges and cleaner cartridges,
put the data cartridges in the library and check them in first. You can use the
search function of the CHECKIN LIBVOLUME command (or the LABEL
LIBVOLUME command if you are labeling and checking in volumes). Then check
in the cleaner cartridge to the library by using one of the following methods.
v Check in without using search:
checkin libvolume autolib1 cleanv status=cleaner cleanings=10
checklabel=no
The server then requests that the cartridge be placed in the entry/exit port, or
into a specific slot.
v Check in using search, but limit the search by using the VOLRANGE or
VOLLIST parameter:
checkin libvolume autolib1 status=cleaner cleanings=10
search=yes checklabel=barcode vollist=cleanv
The process scans the library by using the bar code reader, looking for the
CLEANV volume.
If your library has limited capacity and you do not want to use a slot in your
library for a cleaner cartridge, the server can issue messages telling you that a
drive needs to be cleaned.
Set the cleaning frequency for the drives in the library. When a drive needs
cleaning based on the frequency setting, the server issues the message, ANR8914I.
For example:
ANR89141I Drive DRIVE1 in library AUTOLIB1 needs to be cleaned.
You can use that message as a cue to manually insert a cleaner cartridge into the
drive. However, the server cannot track whether the drive has been cleaned.
When a drive needs to be cleaned, the server runs the cleaning operation after
dismounting a data volume if a cleaner cartridge is checked in to the library. If the
cleaning operation fails or is canceled, or if no cleaner cartridge is available, then
the indication that the drive needs cleaning is lost. Monitor cleaning messages for
these problems to ensure that drives are cleaned as needed. If necessary, issue the
CLEAN DRIVE command to have the server try the cleaning again, or manually
load a cleaner cartridge into the drive.
The server uses a cleaner cartridge for the number of cleanings that you specify
when you check in the cleaner cartridge. If you check in two or more cleaner
cartridges, the server uses only one of the cartridges until the designated number
of cleanings for that cartridge has been reached. Then the server begins to use the
next cleaner cartridge. If you check in two or more cleaner cartridges and issue
two or more CLEAN DRIVE commands concurrently, the server uses multiple
cartridges at the same time and decrements the remaining cleanings on each
cartridge.
Visually verify that cleaner cartridges are in the correct storage slots before issuing
any of the following commands:
v AUDIT LIBRARY
v CHECKIN LIBVOLUME with SEARCH specified
v LABEL LIBVOLUME with SEARCH specified
To find the correct slot for a cleaner cartridge, issue the QUERY LIBVOLUME
command.
Monitor the activity log or the server console for these messages and load a cleaner
cartridge into the drive as needed. The server cannot track whether the drive has
been cleaned.
When a drive needs cleaning, the server loads what its database shows as a cleaner
cartridge into the drive. The drive then moves to a READY state, and Tivoli
Storage Manager detects that the cartridge is a data cartridge. The server then
performs the following steps:
1. The server attempts to read the internal tape label of the data cartridge.
2. The server ejects the cartridge from the drive and moves it back to the home
slot of the “cleaner” cartridge within the library. If the eject fails, the server
marks the drive offline and issues a message that the cartridge is still in the
drive.
3. The server checks out the “cleaner” cartridge to avoid selecting it for another
drive cleaning request. The “cleaner” cartridge remains in the library but no
longer appears in the Tivoli Storage Manager library inventory.
4. If the server was able to read the internal tape label, the server checks the
volume name against the current library inventory, storage pool volumes, and
the volume history file.
v If there is not a match, you probably checked in a data cartridge as a cleaner
cartridge by mistake. Now that the volume is checked out, you do not need
to do anything else.
v If there is a match, the server issues messages that manual intervention and a
library audit are required. Library audits can take considerable time, so you
should issue the command when sufficient time permits. See “Auditing
volume inventories in libraries” on page 137.
Deleting drives
You can delete a drive if it is not currently in use. If a drive has a volume
mounted, but the volume is currently idle, it can be dismounted.
For details about dismounting, see “Dismounting idle volumes” on page 145.
Managing paths
You can use Tivoli Storage Manager commands to query, update, and delete paths.
You can request either a standard or a detailed report. For example, to display
information about all paths, issue the following command:
query path
Updating paths
You can use the UPDATE PATH command to update the attributes of an existing
path definition.
The examples below show how you can use the UPDATE PATH commands for the
following path types:
v Library Paths
Update the path from SERVER1 to a SCSI library named SCSILIB:
update path server1 scsilib srctype=server desttype=library device=lb4.0.0.0
v Drive Paths
Update the path from SERVER1 to a SCSI library named SCSILIB:
update path nas1 scsilib srctype=datamover desttype=drive
library=naslib device=mt3.0.0.0
To delete a path from a NAS data mover NAS1 to the library NASLIB:
delete path nas1 naslib srctype=datamover desttype=library
Attention: If you delete the path to a device or make the path offline, you disable
access to that device.
You can request either a standard or a detailed report. For example, to display a
standard report about all data movers, issue the following command:
query datamover *
For example, to update the data mover for the node named NAS1 to change the IP
address, issue the following command:
update datamover nas1 hladdress=[Link]
Before you can delete a data mover, you must delete all paths defined for the data
mover.
Managing disks
You can query, update, and delete client-owned disks that reside in a storage area
network.
You can request either a standard or a detailed report. For example, to display a
standard report about all defined disks, issue the following command:
query disk *
Updating disks
You can use the UPDATE DISK command to update the attributes of an existing
disk definition.
The example below shows how you can use the UPDATE DISK command to
change the world wide name, serial number, and status of a disk.
Update a disk named Harddisk1 owned by NODE1. The world wide name to
20020060450d00e2 and the serial number to 100047. Change the ONLINE status to
YES.
update disk node1 Harddisk1 wwn=20020060450d00e2 serial=100047 online=yes
All paths related to a disk must be deleted before the disk itself can be deleted.
See “Managing libraries” on page 150 and “Managing drives” on page 152 for
information about displaying library and drive information, and updating and
deleting libraries and drives.
Defining libraries
Before you can use a drive, you must first define the library to which the drive
belongs.
For both manually mounted drives and drives in automated libraries, the library
must be defined before the drives can be used. For example, you have several
stand-alone tape drives. You can define a library named MANUALMOUNT for
these drives by using the following command:
define library manualmount libtype=manual
For all libraries other than manual libraries, you define the library and then define
a path from the server to the library. For example, if you have an IBM 3583 device,
you can define a library named ROBOTMOUNT using the following command:
define library robotmount libtype=scsi
Next, you use the DEFINE PATH command. In the path, you must specify the
DEVICE parameter. The DEVICE parameter is required and specifies the device
alias name by which the library's robotic mechanism is known.
define path server1 robotmount srctype=server desttype=library
device=lb3.0.0.0
For more information about paths, see “Defining paths” on page 176.
If you choose, you can specify the serial number when you define the library to
the server. For convenience, the default is to allow the server to obtain the serial
number from the library itself at the time that the path is defined.
If you specify the serial number, the server confirms that the serial number is
correct when you define the path to the library. When you define the path, you can
set AUTODETECT=YES to allow the server to correct the serial number if the
number that it detects does not match what you entered when you defined the
library.
Depending on the capabilities of the library, the server may not be able to
automatically detect the serial number. Not all devices are able to return a serial
number when asked for it by an application such as the server. In this case, the
server will not record a serial number for the device, and will not be able to
confirm the identity of the device when you define the path or when the server
uses the device. See “Impact of device changes on the SAN” on page 125.
Defining drives
To inform the server about a drive that can be used to access storage volumes,
issue the DEFINE DRIVE command, followed by the DEFINE PATH command.
When issuing the DEFINE DRIVE command, you must provide some or all of the
following information:
Library name
The name of the library in which the drive resides.
Drive name
The name assigned to the drive.
Serial number
The serial number of the drive. The serial number parameter applies only
to drives in SCSI libraries. With the serial number, the server can confirm
the identity of the device when you define the path or when the server
uses the device.
You can specify the serial number if you choose. The default is to allow the
server to obtain the serial number from the drive itself at the time that the
path is defined. If you specify the serial number, the server confirms that
the serial number is correct when you define the path to the drive. When
you define the path, you can set AUTODETECT=YES to allow the server to
correct the serial number if the number that it detects does not match what
you entered when you defined the drive.
Depending on the capabilities of the drive, the server may not be able to
automatically detect the serial number. In this case, the server will not
record a serial number for the device, and will not be able to confirm the
identity of the device when you define the path or when the server uses
the device.
For example, to define a drive that belongs to the manual library named MANLIB,
enter this command:
define drive manlib mandrive
Next, you define the path from the server to the drive, using the device name used
to access the drive:
define path server1 mandrive srctype=server desttype=drive library=manlib
device=mt3.0.0.0
When issuing the DEFINE DATAMOVER command, you must provide some or all
of the following information:
Data mover name
The name of the defined data mover.
Type The type of data mover (SCSI or NAS).
World wide name
The Fibre Channel world wide name for the data mover device.
Serial number
Specifies the serial number of the data mover.
High level address
The high level address is either the numerical IP address or the domain
name of a NAS file server.
Low level address
The low level address specifies the TCP port number used to access a NAS
file server.
User ID
The user ID specifies the ID for a user when initiating a Network Data
Management Protocol (NDMP) session with a NAS file server.
For example, to define a NAS data mover named NAS1, enter the following:
define datamover nas1 type=nas hladdress=[Link] lladdress=10000
userid=root password=admin dataformat=netappdump
Defining paths
Before a device can be used, a path must be defined between the device and the
server or the device and the data mover responsible for outboard data movement.
When issuing the DEFINE PATH command, you must provide some or all of the
following information:
Source name
The name of the server, storage agent, or data mover that is the source for
the path.
Destination name
The assigned name of the device that is the destination for the path.
Source type
The type of source for the path. (A storage agent is considered a type of
server for this purpose.)
Destination type
The type of device that is the destination for the path.
Library name
The name of the library that a drive is defined to if the drive is the
destination of the path.
GENERICTAPE device class
If you plan to use a device that is not supported by the Tivoli Storage
Manager server and you want to use the GENERICTAPE device class,
specify GENERICTAPE=Yes when defining the path.
Device
The alias name of the device (or for an IBM 3494 library, the symbolic
name). This parameter is used when defining a path between a server or a
For example, if you had a SCSI type library named AUTODLTLIB that had a
device name of lb3.0.0.0, and you wanted to define it to a server named ASTRO1,
you would issue the following command:
define path astro1 autodltlib srctype=server desttype=library
device=lb3.0.0.0
If you had a drive, DRIVE01, that resided in library AUTODLTLIB, and had a
device name of mt3.0.0.0, and you wanted to define it to server ASTRO1, you
would issue the following command:
define path astro1 drive01 srctype=server desttype=drive library=autodltlib
device=mt3.0.0.0
To define a device class, use the DEFINE DEVCLASS command and specify the
DEVTYPE parameter. The DEVTYPE parameter assigns a device type to the device
To update an existing device class definition, use the UPDATE DEVCLASS command.
You can also delete a device class and query a device class by using the DELETE
DEVCLASS and QUERY DEVCLASS commands.
Remember:
v One device class can be associated with multiple storage pools, but each storage
pool is associated with only one device class.
v If you include the DEVCONFIG option in the [Link] file, the files that you
specify with that option are automatically updated with the results of the DEFINE
DEVCLASS, UPDATE DEVCLASS, and DELETE DEVCLASS commands.
v Tivoli Storage Manager allows SCSI libraries to include tape drives of more than
one device type. When you define the device class in this environment, you
must declare a value for the FORMAT parameter.
Tasks
“Defining tape device classes” on page 180
“Defining 3592 device classes” on page 183
“Device classes for devices not supported by the Tivoli Storage Manager server” on page
186
“Defining device classes for removable media devices” on page 186
“Defining sequential-access disk (FILE) device classes” on page 187
“Defining LTO device classes” on page 191
“Defining SERVER device classes” on page 194
“Defining device classes for StorageTek VolSafe devices” on page 195
“Defining device classes for CENTERA devices” on page 197
“Obtaining information about device classes” on page 198
“How Tivoli Storage Manager fills volumes” on page 199
For details about commands and command parameters, see the Administrator's
Reference.
For the most up-to-date list of supported devices and valid device class formats,
see the Tivoli Storage Manager Supported Devices website:
[Link]
IBM_TSM_Supported_Devices_for_AIXHPSUNWIN.html
The following tables list the valid devices, media types, and Tivoli Storage
Manager device types.
For tape device classes, the default values selected by the server depend on the
recording format that is used to write data to the volume. You can either accept the
default for a device type or specify a value.
To specify estimated capacity for tape volumes, use the ESTCAPACITY parameter
when you define the device class or update its definition.
For more information about how Tivoli Storage Manager uses the estimated
capacity value, see “How Tivoli Storage Manager fills volumes” on page 199.
To specify a recording format, use the FORMAT parameter when you define the
device class or update its definition.
If all drives associated with that device class are identical, specify FORMAT=DRIVE.
The server selects the highest format that is supported by the drive on which a
volume is mounted.
If some drives associated with the device class support a higher density format
than others, specify a format that is compatible with all drives. If you specify
FORMAT=DRIVE, mount errors can occur. For example, suppose a device class uses
two incompatible devices such as an IBM 7208-2 and an IBM 7208-12. The server
might select the high-density recording format of 8500 for each of two new
volumes. Later, if the two volumes are to be mounted concurrently, one fails
because only one of the drives is capable of the high-density recording format.
If drives in a single SCSI library use different tape technologies (for example, DLT
and LTO Ultrium), specify a unique value for the FORMAT parameter in each device
class definition.
The recording format that Tivoli Storage Manager uses for a volume is selected
when the first piece of data is written to the volume. Updating the FORMAT
To associate a device class with a library, use the LIBRARY parameter when you
define a device class or update its definition.
When setting a mount limit for a device class, you need to consider the number of
storage devices connected to your system, whether you are using the
simultaneous-write function, whether you are associating multiple device classes
with a single library, and the number of processes that you want to run at the
same time.
When selecting a mount limit for a device class, consider the following issues:
v How many storage devices are connected to your system?
Do not specify a mount limit value that is greater than the number of associated
available drives in your installation. If the server tries to mount as many
volumes as specified by the mount limit and no drives are available for the
required volume, an error occurs and client sessions may be terminated. (This
does not apply when the DRIVES parameter is specified.)
v Are you using the simultaneous-write function to primary storage pools, copy
storage pools, and active-data pools?
Specify a mount limit value that provides a sufficient number of mount points to
support writing data simultaneously to the primary storage pool and all
associated copy storage pools and active-data pools.
v Are you associating multiple device classes with a single library?
A device class associated with a library can use any drive in the library that is
compatible with the device class' device type. Because you can associate more
than one device class with a library, a single drive in the library can be used by
more than one device class. However, Tivoli Storage Manager does not manage
how a drive is shared among multiple device classes.
v How many Tivoli Storage Manager processes do you want to run at the same
time, using devices in this device class?
Tivoli Storage Manager automatically cancels some processes to run other,
higher priority processes. If the server is using all available drives in a device
class to complete higher priority processes, lower priority processes must wait
until a drive becomes available. For example, Tivoli Storage Manager cancels the
process for a client backing up directly to tape if the drive being used is needed
Best Practice: If the library associated with this device class is EXTERNAL type,
explicitly specify the mount limit instead of using MOUNTLIMIT=DRIVES.
You can control the amount of time that a mounted volume remains mounted after
its last I/O activity. If a volume is used frequently, you can improve performance
by setting a longer mount retention period to avoid unnecessary mount and
dismount operations.
To control the amount of time a mounted volume remains mounted, use the
MOUNTRETENTION parameter when you define the device class or update its
definition. For example, if the mount retention value is 60, and a mounted volume
remains idle for 60 minutes, then the server dismounts the volume.
While Tivoli Storage Manager has a volume mounted, the drive is allocated to
Tivoli Storage Manager and cannot be used for anything else. If you need to free
the drive for other uses, you can cancel Tivoli Storage Manager operations that are
using the drive and then dismount the volume. For example, you can cancel server
migration or backup operations. For information on how to cancel processes and
dismount volumes, see:
v “Canceling server processes” on page 610
v “Dismounting idle volumes” on page 145
You can specify the maximum amount of time, in minutes, that the Tivoli Storage
Manager server waits for a drive to become available for the current mount
request.
To control the wait time for a drive to become available for a mount request, use
the MOUNTWAIT parameter when you define or update a device class.
For an example that shows how to configure a VolSafe device using the WORM
parameter, see “Defining device classes for StorageTek VolSafe devices” on page
195
For optimal performance, do not mix generations of 3592 media in a single library.
Media problems can result when different drive generations are mixed. For
example, Tivoli Storage Manager might not be able to read a volume's label.
If you must mix generations of drives in a library, use one of the methods in the
following table to prevent or minimize the potential for problems.
If your library contains three drive generations, the latest drive generation in your library
can only read media from the earliest format, but cannot write with it. For example, if your
library contains generation 2, generation 3, and generation 4 drives, the generation 4 drives
can only read the generation 2 format. In this configuration, mark all media previously
written in generation 2 format to read-only.
(349X and ACSLS libraries only) Logically partition the generations without partitioning the
hardware. Define two or three new library objects for each drive generation that the
physical library contains. For example, if you have a physical library with 3592-2 drives
and 3592-3 drives, define two new library objects.
Specify a path with the same special file name for each new library object. In addition, for
349X libraries, specify disjoint scratch categories (including the WORMSCRATCH category,
if applicable) for each library object. Specify a new device class and a new storage pool
that points to each new library object.
(SCSI libraries only) Define a new storage pool and device class for the latest drive
generation. For example, suppose you have a storage pool and device class for 3592-2. The
storage pool will contain all the media written in generation 2 format. Suppose that the
value of the FORMAT parameter in the device class definition is set to 3952-2 (not DRIVE).
You add generation 3 drives to the library. Complete the following steps:
1. In the new device-class definition for the generation 3 drives, set the value of the
FORMAT parameter to 3592-3 or 3592-3C. Do not specify DRIVE.
2. In the definition of the storage pool associated with generation 2 drives, update the
MAXSCRATCH parameter to 0, for example:
update stgpool genpool2 maxscratch=0
This method allows both generations to use their optimal format and minimizes potential
media problems that can result from mixing generations. However, it does not resolve all
media issues. For example, competition for mount points and mount failures might result.
(To learn more about mount point competition in the context of LTO drives and media, see
“Defining LTO device classes” on page 191.) The following list describes media restrictions:
v CHECKIN LIBVOL: The issue resides with using the CHECKLABEL=YES option. If the label is
currently written in a generation 3 or later format, and you specify the
CHECKLABEL=YES option, drives of previous generations fail using this command. As
a best practice, use CHECKLABEL=BARCODE.
v LABEL LIBVOL: When the server tries to use drives of a previous generation to read the
label written in a generation 3 or later format, the LABEL LIBVOL command fails unless
OVERWRITE=YES is specified. Verify that the media being labeled with OVERWRITE=YES
does not have any active data.
v CHECKOUT LIBVOL: When Tivoli Storage Manager verifies the label (CHECKLABEL=YES),
as a generation 3 or later format, and read operations by drives of previous generations,
the command fails. As a best practice, use CHECKLABEL=NO.
Tivoli Storage Manager lets you reduce media capacity to create volumes with
faster data-access speeds. The benefit is that can partition data into storage pools
that have volumes with faster data-access speeds.
To reduce media capacity, use the SCALECAPACITY parameter when you define
the device class or update its definition.
Scale capacity only takes effect when data is first written to a volume. Updates to
the device class for scale capacity do not affect volumes that already have data
written to them until the volume is returned to scratch status.
For information about setting up storage pool hierarchies, see “Setting up a storage
pool hierarchy” on page 261.
Encrypting data with drives that are 3592 generation 2 and later:
With Tivoli Storage Manager, you can use the following types of drive encryption
with drives that are 3592 generation 2 and later: Application, System, and Library.
These methods are defined through the hardware.
The following simplified example shows how to permit the encryption of data for
empty volumes in a storage pool, using Tivoli Storage Manager as the key
manager:
Results
For more information about using drive encryption, refer to “Encrypting data on
tape” on page 536.
For Windows systems, you must also define a drive path with GENERICTAPE=Yes
to use a tape device.
For a manual library with multiple drives of device type GENERICTAPE, ensure
that the device types and recording formats of the drives are compatible. Because
the devices are controlled by the operating system device driver, the Tivoli Storage
Manager server is not aware of the following:
v The actual type of device: 4 mm, 8 mm, digital linear tape, and so forth. For
example, if you have a 4 mm device and an 8 mm device, you must define
separate manual libraries for each device.
v The actual cartridge recording format. For example, if you have a manual library
defined with two device classes of GENERICTAPE, ensure the recording formats
are the same for both drives.
When using CD-ROM media for the REMOVABLEFILE device type, the library
type must be specified as MANUAL. Access this media through a drive letter, for
example, E:.
To define a FILE device class, use the DEVTYPE=FILE parameter in the device
class definition.
The Tivoli Storage Manager server allows for multiple client sessions (archive,
retrieve, backup, and restore) or server processes. For example, storage pool
backup, to concurrently read a volume in a storage pool that is associated with a
FILE-type device class. In addition, one client session or one server process can
write to the volume while it is being read.
The following server processes are allowed shared read access to FILE volumes:
v BACKUP DB
v BACKUP STGPOOL
v COPY ACTIVEDATA
v EXPORT/IMPORT NODE
v EXPORT/IMPORT SERVER
v GENERATE BACKUPSET
v RESTORE STGPOOL
v RESTORE VOLUME
The following server processes are not allowed shared read access to FILE
volumes:
v AUDIT VOLUME
v DELETE VOLUME
v MIGRATION
Chapter 8. Tips for defining devices 187
v MOVE DATA
v MOVE NODEDATA
v RECLAMATION
You can specify one or more directories as the location of the files used in the FILE
device class. The default is the current working directory of the server at the time
the command is issued.
Attention: Do not specify multiple directories from the same file system. Doing
so can cause incorrect space calculations. For example, if the directories /usr/dir1
and /usr/dir2 are in the same file system, the space check, which does a
preliminary evaluation of available space during store operations, will count each
directory as a separate file system. If space calculations are incorrect, the server
could commit to a FILE storage pool, but not be able to obtain space, causing the
operation to fail. If the space check is accurate, the server can skip the FILE pool in
the storage hierarchy and use the next storage pool if one is available.
The following table lists the file name extension created by the server for scratch
volumes depending on the type of data that is stored.
For scratch volumes used to store this data: The file extension is:
Client data .BFS
Export .EXP
Database backup .DBV
Tivoli Storage Manager supports the use of remote file systems or drives for
reading and writing storage pool data, database backups, and other data
operations. Disk subsystems and file systems must not report successful write
operations when they can fail after a successful write report to Tivoli Storage
Manager.
You must ensure that storage agents can access newly created FILE volumes. To
access FILE volumes, storage agents replace names from the directory list in the
device class definition with the names in the directory list for the associated path
definition.
The following example illustrates the importance of matching device classes and
paths to ensure that storage agents can access newly created FILE volumes.
Suppose you want to use these three directories for a FILE library:
c:\server
d:\server
e:\server
Procedure
1. Use the following command to set up a FILE library named CLASSA with one
drive named CLASSA1 on SERVER1:
Results
SERVER1 will still be able to access file volume c:\server\[Link], but the
storage agent STA1 will not be able to access it because a matching directory name
in the PATH directory list no longer exists. If a directory name is not available in
the directory list associated with the device class, the storage agent can lose access
to a FILE volume in that directory. Although the volume will still be accessible
from the Tivoli Storage Manager server for reading, failure of the storage agent to
access the FILE volume can cause operations to be retried on a LAN-only path or
to fail.
To restrict the size of volumes, use the MAXCAPACITY parameter when you
define a device class or update its definition. When the server detects that a
volume has reached a size equal to the maximum capacity, it treats the volume as
full and stores any new data on a different volume.
When selecting a mount limit for this device class, consider how many Tivoli
Storage Manager processes you want to run at the same time.
Tivoli Storage Manager automatically cancels some processes to run other, higher
priority processes. If the server is using all available mount points in a device class
to complete higher priority processes, lower priority processes must wait until a
mount point becomes available. For example, Tivoli Storage Manager cancels the
process for a client backup if the mount point being used is needed for a server
migration or reclamation process. Tivoli Storage Manager cancels a reclamation
If processes are often canceled by other processes, consider whether you can make
more mount points available for Tivoli Storage Manager use. Otherwise, review
your scheduling of operations to reduce the contention for resources.
If you are considering mixing different generations of LTO media and drives, be
aware of the following restrictions:
Table 16. Read - write capabilities for different generations of LTO drives
Generation 1 Generation 2 Generation 3 Generation 4 Generation 5
Drives media media media media media
Generation 1 Read and n/a n/a n/a n/a
write
Generation 2 Read and Read and n/a n/a n/a
write write
Generation 3 Read only Read and Read and n/a n/a
write write
Generation 4 n/a Read only Read and Read and Read and
write write write
Generation 5 n/a n/a Read only Read and Read and
write write
If you are mixing different types of drives and media, configure different device
classes: one for each type of media. To specify the exact media type, use the
FORMAT parameter in each of the device class definitions. (Do not specify
FORMAT=DRIVE). For example, if you are mixing Ultrium Generation 1 and
Ultrium Generation 2 drives, specify FORMAT=ULTRIUMC (or ULTRIUM) for the
Ultrium Generation 1 device class, and FORMAT=ULTRIUM2C (or ULTRIUM2) for
the Ultrium Generation 2 device class.
Both device classes can point to the same library in which there can be Ultrium
Generation 1 and Ultrium Generation 2 drives. The drives will be shared between
the two storage pools. One storage pool will use the first device class and Ultrium
Generation 1 media exclusively. The other storage pool will use the second device
class and Ultrium Generation 2 media exclusively. Because the two storage pools
Remember:
v If you are mixing Ultrium Generation 1 with Ultrium Generation 3 drives and
media in a single library, you must mark the Generation 1 media as read-only,
and all Generation 1 scratch volumes must be checked out.
v If you are mixing Ultrium Generation 2 with Ultrium Generation 4 or
Generation 5 drives and media in a single library, you must mark the Generation
2 media as read-only, and all Generation 2 scratch volumes must be checked out.
Consider the example of a mixed library: that consists of the following drives and
media:
v Four LTO Ultrium Generation 1 drives and LTO Ultrium Generation 1 media
v Four LTO Ultrium Generation 2 drives and LTO Ultrium Generation 2 media
The number of mount points available for use by each storage pool is specified in
the device class using the MOUNTLIMIT parameter. The MOUNTLIMIT parameter
in the LTO2CLASS device class should be set to 4 to match the number of available
drives that can mount only LTO2 media. The MOUNTLIMIT parameter in the
LTO1CLASS device class should be set to a value higher (5 or possibly 6) than the
number of available drives to adjust for the fact that Ultrium Generation 1 media
can be mounted in Ultrium Generation 2 drives. The optimum value for
MOUNTLIMIT will depend on workload and storage pool access patterns.
Monitor and adjust the MOUNTLIMIT setting to suit changing workloads. If the
MOUNTLIMIT for LTO1POOL is set too high, mount requests for the LTO2POOL
might be delayed or fail because the Ultrium Generation 2 drives have been used
to satisfy Ultrium Generation 1 mount requests. In the worst scenario, too much
competition for Ultrium Generation 2 drives might cause mounts for Generation 2
media to fail with the following message:
ANR8447E No drives are currently available in the library.
For more information about using drive encryption, refer to “Encrypting data on
tape” on page 536.
Tivoli Storage Manager supports the Application method of encryption with IBM
and HP LTO-4 drives. Only IBM LTO-4 supports the System and Library methods.
The Library method of encryption is supported only if your system hardware (for
example, IBM 3584) supports it.
Remember: You cannot use drive encryption with write-once, read-many (WORM)
media.
The Application method is defined through the hardware. To use the Application
method, in which Tivoli Storage Manager generates and manages encryption keys,
set the DRIVEENCRYPTION parameter to ON. This permits the encryption of data
for empty volumes. If the parameter is set to ON and the hardware is configured
for another encryption method, backup operations will fail.
The following simplified example shows the steps you would take to permit the
encryption of data for empty volumes in a storage pool:
Procedure
1. Define a library:
define library 3584 libtype=SCSI
2. Define a device class, LTO_ENCRYPT, and specify Tivoli Storage Manager as
the key manager:
define devclass lto_encrypt library=3584 devtype=lto driveencryption=on
To define a SERVER device class, use the DEFINE DEVCLASS command with the
DEVTYPE=SERVER parameter. For information about how to use a SERVER device
class, see “Using virtual volumes to store data on another server” on page 732.
To specify a file size, use the MAXCAPACITY parameter when you define the
device class or update its definition.
The storage pool volumes of this device type are explicitly set to full when the
volume is closed and dismounted.
When specifying a mount limit, consider your network load balancing and how
many Tivoli Storage Manager processes you want to run at the same time.
Tivoli Storage Manager automatically cancels some processes to run other, higher
priority processes. If the server is using all available sessions in a device class to
complete higher priority processes, lower priority processes must wait until a
session becomes available. For example, Tivoli Storage Manager cancels the process
for a client backup if a session is needed for a server migration or reclamation
process. Tivoli Storage Manager cancels a reclamation process if the session being
used is needed for a client restore operation.
If processes are often canceled by other processes, consider whether you can make
more sessions available for Tivoli Storage Manager use. Otherwise, review your
scheduling of operations to reduce the contention for network resources.
There are two methods for using VolSafe media and drives: This technology uses
media that cannot be overwritten; therefore, do not use this media for short-term
backups of client files, the server database, or export tapes.
v Define a device class using the DEFINE DEVCLASS command and specify
DEVTYPE=VOLSAFE. You can use this device class with EXTERNAL, SCSI, and
ACSLS libraries. All drives in a library must be enabled for VolSafe use.
v Define a device class using the DEFINE DEVCLASS command, and specify
DEVTYPE=ECARTRIDGE and WORM=YES. For VolSafe devices, WORM=YES is
required and must be specified when the device class is defined. You cannot
update the WORM parameter using the UPDATE DEVCLASS command. You
cannot specify DRIVEENCRYPTION=ON if your drives are using WORM
media.
Procedure
1. Define a library:
define library volsafelib libtype=scsi
2. Define a drive:
Results
For more information about VolSafe media, see “Write-once, read-many tape
media” on page 133.
Tivoli Storage Manager supports the Application method of encryption with Oracle
StorageTek T10000B or T10000C drives. The Library method of encryption is
supported only if your system hardware supports it.
Remember: You cannot use drive encryption with write-once, read-many (WORM)
media or VolSafe media.
The Application method, in which Tivoli Storage Manager generates and manages
encryption keys, is defined through the hardware. To use the Application method,
set the DRIVEENCRYPTION parameter to ON. This setting permits the encryption
of data for empty volumes. If the parameter is set to ON and the hardware is
configured for another encryption method, backup operations fail.
The following simplified example shows the steps you would take to permit data
encryption for empty volumes in a storage pool:
Procedure
1. Define a library:
define library sl3000 libtype=scsi
2. Define a device class, ECART_ENCRYPT, and specify Tivoli Storage Manager
as the key manager:
define devclass ecart_encrypt library=sl3000
devtype=ecartridge driveencryption=on
3. Define a storage pool:
define stgpool ecart_encrypt_pool ecart_encrypt
Related concepts:
“Choosing an encryption method” on page 537
Multiple client retrieve sessions, restore sessions, or server processes can read a
volume concurrently in a storage pool that is associated with the CENTERA device
type. In addition, one client session or one server process can write to the volume
while it is being read.
The following server processes can share read access to Centera volumes:
v EXPORT NODE
v EXPORT SERVER
v GENERATE BACKUPSET
The following server processes cannot share read access to Centera volumes:
v AUDIT VOLUME
v DELETE VOLUME
When you select a mount limit for this device class, consider how many Tivoli
Storage Manager processes you want to run at the same time.
Tivoli Storage Manager automatically cancels some processes to run other, higher
priority processes. If the server is using all available mount points in a device class
to complete higher priority processes, lower priority processes must wait until a
mount point becomes available. For example, the Tivoli Storage Manager server is
currently performing a client backup request to an output volume and another
request from another client to restore data from the same volume. The backup
request is preempted and the volume is released for use by the restore request. For
more information, see “Preempting operations” on page 611.
To control the number of mount points concurrently open for Centera devices, use
the MOUNTLIMIT parameter when you define the device class or update its
definition.
If you specify an estimated capacity that exceeds the actual capacity of the volume
in the device class, Tivoli Storage Manager updates the estimated capacity of the
volume when the volume becomes full. When Tivoli Storage Manager reaches the
end of the volume, it updates the capacity for the amount that is written to the
volume.
You can either accept the default estimated capacity for a given device class, or
explicitly specify an estimated capacity. An accurate estimated capacity value is not
required, but is useful. Tivoli Storage Manager uses the estimated capacity of
Data compression
Client files can be compressed to decrease the amount of data sent over networks
and the space occupied by the data in Tivoli Storage Manager storage. With Tivoli
Storage Manager, files can be compressed by the Tivoli Storage Manager client
before the data is sent to the Tivoli Storage Manager server, or by the device where
the file is finally stored.
Use either client compression or device compression, but not both. The following
table summarizes the advantages and disadvantages of each type of compression.
Either type of compression can affect tape drive performance, because compression
affects data rate. When the rate of data going to a tape drive is slower than the
drive can write, the drive starts and stops while data is written, meaning relatively
poorer performance. When the rate of data is fast enough, the tape drive can reach
streaming mode, meaning better performance. If tape drive performance is more
important than the space savings that compression can mean, you may want to
perform timed test backups using different approaches to determine what is best
for your system.
Drive compression is specified with the FORMAT parameter for the drive's device
class, and the hardware device must be able to support the compression format.
For information about how to set up compression on the client, see “Node
compression considerations” on page 422 and “Registering nodes with the server”
on page 420.
It may wrongly appear that you are not getting the full use of the capacity of your
tapes, for the following reasons:
v A tape device manufacturer often reports the capacity of a tape based on an
assumption of compression by the device. If a client compresses a file before it is
sent, the device may not be able to compress it any further before storing it.
Figure 13 compares what Tivoli Storage Manager sees as the amount of data stored
on tape when compression is done by the device and by the client. For this
example, the tape has a physical capacity of 1.2 GB. However, the manufacturer
reports the capacity of the tape as 2.4 GB by assuming the device compresses the
data by a factor of two.
In both cases, Tivoli Storage Manager considers the volume to be full. However,
Tivoli Storage Manager considers the capacity of the volume in the two cases to be
different: 2.4 GB when the drive compresses the file, and 1.2 GB when the client
compresses the file. Use the QUERY VOLUME command to see the capacity of
volumes from Tivoli Storage Manager's viewpoint. See “Monitoring the use of
storage pool volumes” on page 384.
Drive
compression
only
2.4 GB 2.4 GB
1.2 GB
Client
compression
only
2.4 GB
1.2 GB 1.2 GB
Figure 13. Comparing compression at the client and compression at the device
Tasks:
“Configuring Tivoli Storage Manager for NDMP operations” on page 211
“Determining the location of NAS backup” on page 213
“Configuring a tape library for NDMP operations” on page 217
“Configuring Tivoli Storage Manager policy for NDMP operations” on page 212
“Registering NAS nodes with the Tivoli Storage Manager server” on page 223
“Defining a data mover for the NAS file server” on page 224
“Defining paths to libraries for NDMP operations” on page 227
“Defining paths to libraries for NDMP operations” on page 227
“Defining paths for NDMP operations” on page 224
“Labeling and checking tapes into the library” on page 228
“Scheduling NDMP operations” on page 228
“Defining virtual file spaces” on page 228
“Tape-to-tape copy to back up data” on page 229
“Tape-to-tape copy to move data” on page 229
“Backing up and restoring NAS file servers using NDMP” on page 230
“Backing up NDMP file server to Tivoli Storage Manager server backups” on page 232
“Managing tables of contents” on page 209
“NDMP operations management” on page 206
“Managing NAS file server nodes” on page 207
“Managing data movers used in NDMP operations” on page 208
“Storage pool management for NDMP operations” on page 209
NDMP requirements
You must meet certain requirements when you use NDMP (network data
management protocol) for operations with network-attached storage (NAS) file
servers.
Tivoli Storage Manager Extended Edition
Licensed program product that includes support for the use of NDMP.
NAS File Server
A NAS file server. The operating system on the file server must be
supported by Tivoli Storage Manager. Visit [Link]
support/entry/portal/Overview/Software/Tivoli/Tivoli_Storage_Manager
for a list of NAS file servers that are certified through the “Ready for IBM
Tivoli software.”
Note: The Tivoli Storage Manager server does not include External
Library support for the ACSLS library when the library is used for
NDMP operations.
VTL library
A virtual tape library that is supported by the Tivoli Storage
Manager server. This type of library can be attached directly either
to the Tivoli Storage Manager server or to the NAS file server. A
virtual tape library is essentially the same as a SCSI library but is
enhanced for virtual tape library characteristics and allows for
better mount performance.
Drive Sharing: The tape drives can be shared by the Tivoli Storage
Manager server and one or more NAS file servers. Also, when a SCSI,
VTL, or a 349X library is connected to the Tivoli Storage Manager server
and not to the NAS file server, the drives can be shared by one or more
NAS file servers and one or more Tivoli Storage Manager:
v Library clients
v Storage agents
Verify the compatibility of specific combinations of a NAS file server, tape devices,
and SAN-attached devices with the hardware manufacturers.
Attention: Tivoli Storage Manager supports NDMP Version 4 for all NDMP
operations. Tivoli Storage Manager continues to support all NDMP backup and
restore operations with a NAS device that runs NDMP version 3. The Tivoli
Storage Manager server negotiates the highest protocol level (either Version 3 or
Version 4) with the NDMP server when it establishes an NDMP connection. If you
experience any issues with Version 4, you might want to try Version 3.
Client Interfaces:
v Backup-archive command-line client (on a Windows, 64 bit AIX, or 64 bit Oracle
Solaris system)
v web client
Server Interfaces:
v Server console
v Command line on the administrative client
Chapter 9. Using NDMP for operations with NAS file servers 205
The Tivoli Storage Manager web client interface, available with the backup-archive
client, displays the file systems of the network-attached storage (NAS) file server in
a graphical view. The client function is not required, but you can use the client
interfaces for NDMP operations. The client function is recommended for file-level
restore operations. See “File-level backup and restore for NDMP operations” on
page 233 for more information about file-level restore.
Tivoli Storage Manager prompts you for an administrator ID and password when
you perform NDMP functions using either of the client interfaces. See the
Backup-Archive Clients Installation and User's Guide for more information about
installing and activating client interfaces.
The NDMP format is not the same as the data format used for traditional Tivoli
Storage Manager backups. When you define a NAS file server as a data mover and
define a storage pool for NDMP operations, you specify the data format. For
example, you would specify NETAPPDUMP if the NAS file server is a NetApp or
an IBM System Storage N Series device. You would specify CELERRADUMP if the
NAS file server is an EMC Celerra device. For all other devices, you would specify
NDMPDUMP.
These include:
v NAS nodes
v Data movers
v Tape libraries and drives
v Paths
v Device classes
v Storage pools
v Table of contents
For example, assume you have created a new policy domain named NASDOMAIN
for NAS nodes and you want to update a NAS node named NASNODE1 to
include it in the new domain.
Procedure
1. Query the node.
query node nasnode1 type=nas
2. Change the domain of the node by issuing the following command:
update node nasnode1 domain=nasdomain
For example, to rename NASNODE1 to NAS1 you must perform the following
steps:
Procedure
1. Delete all paths between data mover NASNODE1 and libraries and between
data mover NASNODE1 and drives.
2. Delete the data mover defined for the NAS node.
3. To rename NASNODE1 to NAS1, issue the following command:
rename node nasnode1 nas1
4. Define the data mover using the new node name. In this example, you must
define a new data mover named NAS1 with the same parameters used to
define NASNODE1.
Attention: When defining a new data mover for a node that you have
renamed, ensure that the data mover name matches the new node name and
that the new data mover parameters are duplicates of the original data mover
parameters. Any mismatch between a node name and a data mover name or
between new data mover parameters and original data mover parameters can
prevent you from establishing a session with the NAS file server.
5. For SCSI or 349X libraries, define a path between the NAS data mover and a
library only if the tape library is physically connected directly to the NAS file
server.
6. Define paths between the NAS data mover and any drives used for NDMP
(network data management protocol) operations.
Chapter 9. Using NDMP for operations with NAS file servers 207
Deleting a NAS node
To delete a NAS (network attached storage) node, first delete any file spaces for
the node. Then delete any paths from the data mover before deleting the data
mover.
Procedure
1. Delete any virtual file space definitions for the node.
2. Enter the following command:
remove node nas1
Procedure
1. Query your data movers to identify the data mover for the NAS file server that
you want to maintain.
query datamover nasnode1
2. Issue the following command to make the data mover offline:
update datamover nasnode1 online=no
To delete the data mover, you must first delete any path definitions in which
the data mover has been used as the source.
3. Issue the following command to delete the data mover:
delete datamover nasnode1
Attention: If the data mover has a path to the library, and you delete the data
mover or make the data mover offline, you disable access to the library.
Procedure
Remove Tivoli Storage Manager server access by deleting the path definition with
the following command:
delete path server1 nasdrive1 srctype=server desttype=drive library=naslib
You can query and update storage pools. You cannot update the DATAFORMAT
parameter.
You cannot designate a Centera storage pool as a target pool of NDMP operations.
Maintaining separate storage pools for data from different NAS vendors is
suggested even though the data format for both is NDMPDUMP.
The following DEFINE STGPOOL and UPDATE STGPOOL parameters are ignored
because storage pool hierarchies, reclamation, and migration are not supported for
these storage pools:
MAXSIZE
NEXTSTGPOOL
LOWMIG
HIGHMIG
MIGDELAY
MIGCONTINUE
RECLAIMSTGPOOL
OVFLOLOCATION
Attention: Ensure that you do not accidentally use storage pools that were
defined for NDMP operations in traditional Tivoli Storage Manager operations. Be
especially careful when you assign the storage pool name as the value for the
DESTINATION parameter of the DEFINE COPYGROUP command. Unless the destination
is a storage pool with the appropriate data format, the backup fails.
Issue the QUERY NASBACKUP command to display information about the file system
image objects that have been backed up for a specific NAS (network attached
storage) node and file space. By issuing the command, you can see a display of all
backup images generated by NDMP (network data management protocol) and
whether each image has a corresponding table of contents.
Chapter 9. Using NDMP for operations with NAS file servers 209
Note: The Tivoli Storage Manager server can store a full backup in excess of the
number of versions you specified, if that full backup has dependent differential
backups. Full NAS backups with dependent differential backups behave like other
base files with dependent subfiles. Due to retention time specified in the RETAIN
EXTRA setting, the full NAS backup will not be expired, and the version will be
displayed in the output of a QUERY NASBACKUP command. See “File expiration and
expiration processing” on page 479 for details.
Use the QUERY TOC command to display files and directories in a backup image
generated by NDMP. By issuing the QUERY TOC server command, you can
display all directories and files within a single specified TOC. The specified TOC
will be accessed in a storage pool each time the QUERY TOC command is issued
because this command does not load TOC information into the Tivoli Storage
Manager database. Then, use the RESTORE NODE command with the FILELIST
parameter to restore individual files.
The Tivoli Storage Manager server provides a mechanism, TCP keepalive, that you
can enable to prevent long-running, inactive connections from being closed. If TCP
keepalive is enabled, small packets are sent across the network at predefined
intervals to the connection partner.
Procedure
Example
To update the server option, you can use the SETOPT command.
Procedure
Example
To update the server option, you can use the SETOPT command.
Procedure
1. Set up the tape library and media. See “Configuring a tape library for NDMP
operations” on page 217, where the following steps are described in more
detail.
a. Attach the SCSI or virtual tape library (VTL) library to the NAS file server
or to the Tivoli Storage Manager server, or attach the ACSLS library or
349X library to the Tivoli Storage Manager server.
b. Define the library with a library type of SCSI, VTL, ACSLS, or 349X.
c. Define a device class for the tape drives.
d. Define a storage pool for NAS backup media.
e. Define a storage pool for storing a table of contents. This step is optional.
2. Configure Tivoli Storage Manager policy for managing NAS image backups.
See “Configuring Tivoli Storage Manager policy for NDMP operations” on
page 212.
3. Register a NAS file server node with the Tivoli Storage Manager server. See
“Registering NAS nodes with the Tivoli Storage Manager server” on page 223.
4. Define a data mover for the NAS file server. See “Defining a data mover for
the NAS file server” on page 224.
5. Define a path from either the Tivoli Storage Manager server or the NAS file
server to the library. See “Defining paths to libraries for NDMP operations” on
page 227.
Chapter 9. Using NDMP for operations with NAS file servers 211
6. Define the tape drives to Tivoli Storage Manager, and define the paths to
those drives from the NAS file server and optionally from the Tivoli Storage
Manager server. See “Defining paths for NDMP operations” on page 224.
7. Check tapes into the library and label them. See “Labeling and checking tapes
into the library” on page 228.
8. Set up scheduled backups for NAS file servers. This step is optional. See
“Scheduling NDMP operations” on page 228.
9. Define a virtual file space name. This step is optional. See “Defining virtual
file spaces” on page 228.
10. Configure for tape-to-tape copy to back up data. This step is optional. See
“Tape-to-tape copy to back up data” on page 229.
11. Configure for tape-to-tape copy to move data to a different tape technology.
This step is optional. See “Tape-to-tape copy to move data” on page 229.
See “Configuring policy for NDMP operations” on page 524 for more information.
Complete the following steps to configure Tivoli Storage Manager policy for
NDMP operations:
Procedure
1. Create a policy domain for NAS (network attached storage) file servers. For
example, to define a policy domain that is named NASDOMAIN, enter the
following command:
define domain nasdomain description=’Policy domain for NAS file servers’
2. Create a policy set in that domain. For example, to define a policy set named
STANDARD in the policy domain named NASDOMAIN, issue the following
command:
define policyset nasdomain standard
3. Define a management class, and then assign the management class as the
default for the policy set. For example, to define a management class named
MC1 in the STANDARD policy set, and assign it as the default, issue the
following commands:
define mgmtclass nasdomain standard mc1
assign defmgmtclass nasdomain standard mc1
4. Define a backup copy group in the default management class. The destination
must be the storage pool you created for backup images produced by NDMP
operations. In addition, you can specify the number of backup versions to
retain. For example, to define a backup copy group for the MC1 management
class where up to four versions of each file system are retained in the storage
pool named NASPOOL, issue the following command:
define copygroup nasdomain standard mc1 destination=naspool verexists=4
You can control the management classes that are applied to backup images
produced by NDMP (network data management protocol) operations regardless of
which node initiates the backup. You can do this by creating a set of options to be
used by the client nodes. The option set can include an [Link] statement
to specify the management class for NAS (network attached storage) file server
backups. See “Creating client option sets on the server” on page 465 for more
information.
You can also use a backup-archive client to back up a NAS file server by mounting
the NAS file-server file system on the client machine (with either an NFS [network
file system] mount or a CIFS [common internet file system] map) and then backing
up as usual. Table 17 compares the three backup-and-restore methods.
Chapter 9. Using NDMP for operations with NAS file servers 213
Table 17. Comparing methods for backing up NDMP data (continued)
NDMP: Filer to attached Backup-archive client to
Property NDMP: Filer to server library server
Distance between devices The Tivoli Storage Manager The Tivoli Storage Manager The Tivoli Storage Manager
server must be within SCSI server can be distant from server must be within SCSI
or Fibre Channel range of the NAS file server and the or Fibre Channel range of
the tape library. tape library. the tape library.
Firewall considerations More stringent than Less stringent than Client passwords and data
filer-to-attached- library filer-to-server because are encrypted.
because communications communications can be
can be initiated by either initiated only by the Tivoli
the Tivoli Storage Manager Storage Manager server.
server or the NAS file
server.
Security considerations Data is sent unencrypted Method must be used in a Port number configuration
from NAS file server to the trusted environment allows for secure
Tivoli Storage Manager because port numbers are administrative sessions
server. not secure. within a private network.
Load on the Tivoli Storage Higher CPU workload is Lower CPU workload is Higher CPU workload is
Manager server required to manage all back required because migration required to manage all back
end data processes (for and reclamation are not end data processes.
example, migration). supported.
Backup of primary storage Data can be backed up only Data can be backed up only Data can be backed up only
pools to copy storage pools to copy storage pools that to copy storage pools that to copy storage pools that
have the NATIVE data have the same NDMP data have the NATIVE data
format. format (NETAPPDUMP, format.
CELERRADUMP, or
NDMPDUMP).
Restore of primary storage Data can be restored only Data can be restored only Data can be restored only
pools and volumes from to storage pools and to storage pools and to storage pools and
copy storage pools volumes that have the volumes that have the same volumes that have the
NATIVE data format. NDMP format. NATIVE data format.
Moving NDMP data from Data can be moved to Data can be moved to Data can be moved to
storage pool volumes another storage pool only if another storage pool only if another storage pool only if
it has a NATIVE data it has the same NDMP data it has a NATIVE data
format. format. format.
Migration from one Supported Not supported Supported
primary storage pool to
another
Reclamation of a storage Supported Not supported Supported
pool
Simultaneous-write Not supported Not supported Supported
operations during backups
Export and import Not supported Not supported Supported
operations
Backup set generation Not supported Not supported Supported
Cyclic Redundancy Supported Not supported Supported
Checking (CRC) when data
is moved using Tivoli
Storage Manager processes
Validation using Tivoli Supported Not supported Supported
Storage Manager audit
commands
Many of the configuration choices you have for libraries and drives are determined
by the hardware features of your libraries. You can set up NDMP operations with
any supported library and drives. However, the more features your library has, the
more flexibility you can exercise in your implementation.
All drives are defined to the Tivoli Storage Manager server. However, the same
drive may be defined for both traditional Tivoli Storage Manager operations and
NDMP operations. Figure 14 on page 216 illustrates one possible configuration. The
Tivoli Storage Manager server has access to drives 2 and 3, and each NAS file
server has access to drives 1 and 2.
Chapter 9. Using NDMP for operations with NAS file servers 215
NAS File Server 1
Tape Library
1
2
3
Legend:
Drive access
Drives 1 2 3
To create the configuration shown in Figure 14, perform the following steps:
Procedure
1. Define all three drives to Tivoli Storage Manager.
2. Define paths from the Tivoli Storage Manager server to drives 2 and 3. Because
drive 1 is not accessed by the server, no path is defined.
3. Define each NAS file server as a separate data mover.
4. Define paths from each data mover to drive 1 and to drive 2.
Results
To use the Tivoli Storage Manager back end data movement operations, the Tivoli
Storage Manager server requires two available drive paths from a single NAS data
mover. The drives can be in different libraries and can have different device types
that are supported by NDMP. You can make copies between two different tape
devices, for example, the source tape drive can be an DLT drive in a library and
the target drive can be an LTO drive in another library.
During Tivoli Storage Manager back end data movements, the Tivoli Storage
Manager server locates a NAS data mover that supports the same data format as
the data to be copied from and that has two available mount points and paths to
the drives. If the Tivoli Storage Manager server cannot locate such a data mover,
the requested data movement operation is not performed. The number of available
mount points and drives depends on the mount limits of the device classes for the
storage pools involved in the back end data movements.
If the back end data movement function supports multiprocessing, each concurrent
Tivoli Storage Manager back end data movement process requires two available
mount points and two available drives. To run two Tivoli Storage Manager
processes concurrently, at least four mount points and four drives must be
available.
Perform the following steps to set up tape libraries for NDMP operations:
Procedure
1. Connect the library and drives to be used for NDMP operations.
a. Connect the SCSI library. Before you set up a SCSI tape library for NDMP
operations, determine whether you want to attach your library robotics
control to the Tivoli Storage Manager server or to the NAS file server. See
“Tape libraries and drives for NDMP operations” on page 215. Connect the
SCSI tape library robotics to the Tivoli Storage Manager server or to the
NAS file server. Refer to your device manufacturer documentation for
instructions.
If the library is connected to Tivoli Storage Manager, make a SCSI or
Fibre Channel connection between the Tivoli Storage Manager server
and the library robotics control port. Then, connect the NAS file server
with the drives.
If the library is connected to NAS file server, make a SCSI or Fibre
Channel connection between the NAS file server and the library robotics
and drives.
b. Connect the ACSLS Library. Connect the ACSLS tape library to the Tivoli
Storage Manager server.
c. Connect the 349X Library. Connect the 349X tape library to the Tivoli
Storage Manager server.
2. Define the library for you library device by issuing the DEFINE LIBRARY
command. The library must be a single device type, not a mixed device. Issue
one of the following commands to define the library depending on the type of
device that you are configuring:
SCSI Library
define library tsmlib libtype=scsi
ACSLS Library
define library acslib libtype=acsls acsid=1
349X Library
define library tsmlib libtype=349x
3. Define a device class for your NDMP device by issuing the DEFINE DEVCLASS
command.
Tip: A device class that is defined with a device type of NAS is not explicitly
associated with a specific drive type, for example, LTO. However, as best
practice, define a separate device classes for different drive types.
In the DEFINE DEVCLASS command, use the following parameters and values:
v Specify DEVTYPE=NAS.
v Specify MOUNTRETENTION=0 . It is required for NDMP operations.
v Specify a value for the ESTCAPACITY parameter.
Chapter 9. Using NDMP for operations with NAS file servers 217
For example, to define a device class named NASCLASS for a library named
NASLIB with an estimated capacity is 40 GB for the media, issue the following
command:
define devclass nasclass devtype=nas library=naslib mountretention=0
estcapacity=40g
4. Define a storage pool for NDMP media by issuing the DEFINE STGPOOL
command. When NETAPPDUMP, CELERRADUMP, or NDMPDUMP is designated as the
type of storage pool, managing the storage pools that are produced by NDMP
operations is different from managing storage pools that contain media for
traditional Tivoli Storage Manager backups. Tivoli Storage Manager operations
use storage pools that are defined with a NATIVE or NONBLOCK data format.
If you select NETAPPDUMP, CELERRADUMP, or NDMPDUMP, NDMP operations require
storage pools with a data format that matches the NAS file server and the
selected backup method. Maintaining separate storage pools for data from
different NAS vendors is best practice, even though the data format for both is
NDMPDUMP.
For example, to define a storage pool named NDMPPOOL for a file server,
which is neither a NetApp or a Celerra file server, issue the following
command:
define stgpool ndmppool nasclass maxscratch=10 dataformat=ndmpdump
To define a storage pool named NASPOOL for a NetApp file server, issue the
following command:
define stgpool naspool nasclass maxscratch=10 dataformat=netappdump
To define a storage pool named CELERRAPOOL for an EMC Celerra file server,
issue the following command:
define stgpool celerrapool nasclass maxscratch=10 dataformat=celerradump
Attention: Ensure that you do not accidentally use storage pools that are
defined for NDMP operations in traditional Tivoli Storage Manager operations.
Be especially careful when you assign the storage pool name as the value for
the DESTINATION parameter of the DEFINE COPYGROUP command. Unless the
destination is a storage pool with the appropriate data format, the backup can
fail.
5. Optionally, define a storage pool for a table of contents. If you plan to create a
table of contents, you should also define a disk storage pool in which to store
the table of contents. You must set up policy so that the Tivoli Storage Manager
server stores the table of contents in a different storage pool from the one
where the backup image is stored. The table of contents is treated like any
other object in that storage pool.
For example, to define a storage pool named TOCPOOL for a DISK device
class, issue the following command:
define stgpool tocpool disk
You must determine whether to attach the library robotics to the Tivoli Storage
Manager server or to the NAS file server. Regardless of where you connect library
robotics, tape drives must always be connected to the NAS file server for NDMP
operations.
Distance and your available hardware connections are factors to consider for SCSI
libraries. If the library does not have separate ports for robotics control and drive
access, the library must be attached to the NAS file server because the NAS file
server must have access to the drives. If your SCSI library has separate ports for
robotics control and drive access, you can choose to attach the library robotics to
either the Tivoli Storage Manager server or the NAS file server. If the NAS file
server is at a different location from the Tivoli Storage Manager server, the distance
may mean that you must attach the library to the NAS file server.
Whether you are using a SCSI, ACSLS, or 349X library, you have the option of
dedicating the library to NDMP operations, or of using the library for NDMP
operations as well as most traditional Tivoli Storage Manager operations.
Table 18. Summary of configurations for NDMP operations
Distance between Drive sharing Drive sharing
Tivoli Storage between Tivoli Drive sharing between storage
Manager server and Storage Manager between NAS agent and NAS
Configuration library Library sharing and NAS file server file servers file server
Configuration 1
(SCSI library
Limited by SCSI or
connected to the Supported Supported Supported Supported
FC connection
Tivoli Storage
Manager server)
Configuration 2
(SCSI library
No limitation Not supported Supported Supported Not supported
connected to the
NAS file server)
Configuration 3 May be limited by
Supported Supported Supported Supported
(349X library) 349X connection
Configuration 4 May be limited by
Supported Supported Supported Supported
(ACSLS library) ACSLS connection
Chapter 9. Using NDMP for operations with NAS file servers 219
Configuration 1: SCSI library connected to the Tivoli Storage
Manager server
In this configuration, the tape library must have separate ports for robotics control
and for drive access. In addition, the library must be within Fibre-Channel range
or SCSI bus range of both the Tivoli Storage Manager server and the
network-attached storage (NAS) file server.
In this configuration, the Tivoli Storage Manager server controls the SCSI library
through a direct, physical connection to the library robotics control port. For
NDMP (network data management protocol) operations, the drives in the library
are connected directly to the NAS file server, and a path must be defined from the
NAS data mover to each of the drives to be used. The NAS file server transfers
data to the tape drive at the request of the Tivoli Storage Manager server. To also
use the drives for Tivoli Storage Manager operations, connect the Tivoli Storage
Manager server to the tape drives and define paths from the Tivoli Storage
Manager server to the tape drives. This configuration also supports a Tivoli
Storage Manager storage agent having access to the drives for its LAN-free
operations, and the Tivoli Storage Manager server can be a library manager.
Tivoli Storage
Manager
server
Tape
Web client library
(optional) 1 2
NAS file
server
Legend:
SCSI or Fibre Channel connection
TCP/IP connection
Data flow
Robotics control 1
NAS file server
Drive access 2 file system disks
Figure 15. Configuration 1: SCSI library connected to Tivoli Storage Manager server
The Tivoli Storage Manager server controls library robotics by sending library
commands across the network to the NAS file server. The NAS file server passes
the commands to the tape library. Any responses generated by the library are sent
to the NAS file server, and passed back across the network to the Tivoli Storage
Manager server. This configuration supports a physically distant Tivoli Storage
Manager server and NAS file server. For example, the Tivoli Storage Manager
server could be in one city, while the NAS file server and tape library are in
220 IBM Tivoli Storage Manager for Windows: Administrator's Guide
another city.
Tivoli Storage
Manager
server
Tape
Web client library
(optional)
2
1
NAS file
server
Legend:
SCSI or Fibre Channel connection
TCP/IP connection
Data flow
Robotics control 1
NAS file server
Drive access 2 file system disks
Figure 16. Configuration 2: SCSI library connected to the NAS file server
In this configuration, the 349X tape library is controlled by the Tivoli Storage
Manager server. The Tivoli Storage Manager server controls the library by passing
the request to the 349X library manager through TCP/IP.
This configuration supports a physically distant Tivoli Storage Manager server and
NAS file server. For example, the Tivoli Storage Manager server could be in one
city, while the NAS file server and tape library are in another city.
Chapter 9. Using NDMP for operations with NAS file servers 221
Tivoli Storage
Manager server
349X tape
Web client 1 library
(optional)
Figure 17. Configuration 3: 349x library connected to the Tivoli Storage Manager server
The ACSLS (automated cartridge system library software) tape library is controlled
by the Tivoli Storage Manager server. The Tivoli Storage Manager server controls
the library by passing the request to the ACSLS library server through TCP/IP. The
ACSLS library supports library sharing and LAN-free operations.
This configuration supports a physically distant Tivoli Storage Manager server and
NAS file server. For example, the Tivoli Storage Manager server could be in one
city while the NAS file server and tape library are in another city.
To also use the drives for Tivoli Storage Manager operations, connect the Tivoli
Storage Manager server to the tape drives and define paths from the Tivoli Storage
Manager server to the tape drives.
ACSLS tape
Web client 1 library
(optional)
Figure 18. Configuration 4: ACSLS library connected to the Tivoli Storage Manager server
Procedure
If you are using a client option set, specify the option set when you register the
node.
You can verify that this node is registered by issuing the following command:
query node type=nas
Important: You must specify TYPE=NAS so that only NAS nodes are displayed.
Chapter 9. Using NDMP for operations with NAS file servers 223
Defining a data mover for the NAS file server
Define a data mover for each NAS (network attached storage) file server, using
NDMP (network data management protocol) operations in your environment. The
data mover name must match the node name that you specified when you
registered the NAS node to the Tivoli Storage Manager server.
Procedure
To define a data mover for a NAS node named NASNODE1, enter the following
example command:
define datamover nasnode1 type=nas hladdress=netapp2 lladdress=10000 userid=root
password=admin dataformat=netappdump
In this command:
v The high-level address is an IP address for the NAS file server, either a
numerical address or a host name.
v The low-level address is the IP port for NDMP sessions with the NAS file server.
The default is port number 10000.
v The user ID is the ID defined to the NAS file server that authorizes an NDMP
session with the NAS file server (for this example, the user ID is the
administrative ID for the NetApp file server).
v The password parameter is a valid password for authentication to an NDMP
session with the NAS file server.
v The data format is NETAPPDUMP. This is the data format that the NetApp file
server uses for tape backup. This data format must match the data format of the
target storage pool.
Defining paths for drives attached only to a NAS file server and to the Tivoli
Storage Manager server:
Procedure
1. If the drive is not defined for the Tivoli Storage Manager server, create the
drive definition. For example, to define a drive NASDRIVE1 for a library
NASLIB, issue the following command:
define drive naslib nasdrive1 element=autodetect
Procedure
1. Obtain the SCSI element addresses, worldwide name (WWN), and serial
numbers for the drive to be connected to NAS file server.
Restriction: If the SCSI drive is connected only to a NAS file server, the
element address is not automatically detected, and you must supply it. If a
library has more than one drive, you must specify an element address for each
drive.
To obtain a SCSI element address, go to one of the following Tivoli
device-support websites:
v AIX, HP-UX, Solaris, and Windows: [Link]
sysmgmt/products/support/
IBM_TSM_Supported_Devices_for_AIXHPSUNWIN.html
v Linux: [Link]
IBM_TSM_Supported_Devices_for_Linux.html
Element number assignment and device WWN assignments are also available
from tape-library device manufacturers.
Chapter 9. Using NDMP for operations with NAS file servers 225
2. Create drive definitions by specifying the element addresses identified in the
preceding step. Specify the element address in the ELEMENT parameter of the
DEFINE DRIVE command. For example, to define a drive NASDRIVE1 with the
element address 82 for the library NASLIB, issue the following command:
define drive naslib nasdrive1 element=82
Attention: For a drive connected only to the NAS file server, do not specify
ASNEEDED as the value for the CLEANFREQUENCY parameter of the DEFINE DRIVE
command.
3. Obtain the device name, serial number, and WWN for the drive on the NAS
device.
4. Using the information obtained in steps 1 and 3, map the NAS device name to
the element address in the drive definition in the Tivoli Storage Manager
server.
5. Define a path between the tape drive and the NAS file server. For example, to
define a path between a NetApp file server and a tape drive with a device
name of rst01, issue the following command:
define path nasnode1 nasdrive1 srctype=datamover desttype=drive
library=naslib device=rst0l
Related information:
Obtaining device names for devices attached to NAS file servers
For paths from a network-attached storage (NAS) data mover, the value of the
DEVICE parameter in the DEFINE PATH command is the name by which the NAS file
server knows a library or drive.
You can obtain these device names, also known as special file names, by querying
the NAS file server. For information about how to obtain names for devices that
are connected to a NAS file server, consult the product information for the file
server.
Procedure
v To obtain the device names for tape libraries on a Netapp Release ONTAP 10.0
GX, or later, file server, connect to the file server using telnet and issue the
SYSTEM HARDWARE TAPE LIBRARY SHOW command. To obtain the device names for
tape drives on a Netapp Release ONTAP 10.0 GX, or later, file server, connect to
the file server using telnet and issue the SYSTEM HARDWARE TAPE DRIVE SHOW
command. For details about these commands, see the Netapp ONTAP GX file
server product documentation.
v For releases earlier than Netapp Release ONTAP 10.0 GX, continue to use the
SYSCONFIG command. For example, to display the device names for tape libraries,
connect to the file server using telnet and issue the following command:
sysconfig -m
To display the device names for tape drives, issue the following command:
sysconfig -t
v For fibre-channel-attached drives and the Celerra data mover, complete the
following steps:
Tip: The -l option for this command lists only the device information that
was saved in the database of the data mover. The command and option do
not display changes to the device configuration that occurred after the last
database refresh on the data mover. For details about how to obtain the most
recent device configuration for your data mover, see the EMC Celerra
documentation.
The output for the server_devconfig command includes the device names
for the devices attached to the data mover. The device names are listed in the
addr column, for example:
server_1:
Scsi Device Table
name addr type info
tape1 c64t0l0 tape IBM ULT3580-TD2 53Y2
ttape1 c96t0l0 tape IBM ULT3580-TD2 53Y2
2. Map the Celerra device name to the device worldwide name (WWN):
a. To list the WWN, log on to the EMC Celerra control workstation and
issue the following command. Remember to enter a period ( . ) as the
first character in this command.
.server_config server_# -v "fcp bind show"
The output for this command includes the WWN, for example:
Chain 0064: WWN 500507630f418e29 HBA 2 N_PORT Bound
Chain 0096: WWN 500507630f418e18 HBA 2 N_PORT Bound
Procedure
1. For a SCSI Library connected to Tivoli Storage Manager, issue the following
example command to define a path from the server, named SERVER1, to the
SCSI library named TSMLIB:
define path server1 tsmlib srctype=server desttype=library
device=lb0.0.0.2
Chapter 9. Using NDMP for operations with NAS file servers 227
2. For a SCSI library connected to a NAS file server, issue the following example
command to define a path between a NetApp NAS data mover named
NASNODE1 and a library named NASLIB:
define path nasnode1 naslib srctype=datamover desttype=library device=mc0
3. For a 349X library, define a path to the library from the Tivoli Storage Manager
server. For example, issue the following command to define a path from the
server, named SERVER1, to the 349X library named TSMLIB:
define path server1 tsmlib srctype=server desttype=library
device=library1
These tasks are the same as for other libraries. For more information, see:
“Labeling media” on page 129
The BACKUP NODE and RESTORE NODE commands can be used only for nodes of
TYPE=NAS. See “Backing up and restoring NAS file servers using NDMP” on
page 230 for information about the commands.
Procedure
The schedule is active, and is set to run at 8:00 p.m. every day. See Chapter 19,
“Automating server operations,” on page 619 for more information.
Procedure
To create a virtual file space name for the directory path on the NAS device, issue
the DEFINE VIRTUALFSMAPPING command:
This command defines a virtual file space name of /MIKESDIR on the server which
represents the directory path of /VOL/VOL1/MIKES on the NAS file server
represented by node NAS1. See “Directory-level backup and restore for NDMP
operations” on page 236 for more information.
Note: When using the NDMP tape-to-tape copy function, your configuration setup
could affect the performance of the Tivoli Storage Manager back end data
movement.
Procedure
To have one NAS device with paths to four drives in a library, use the MOVE DATA
command after you are done with your configuration setup. This moves data on
the volume VOL1 to any available volumes in the same storage pool as VOL1:
move data vol1
Note: When using the NDMP tape-to-tape copy function, your configuration setup
could affect the performance of the Tivoli Storage Manager back end data
movement.
Procedure
1. Define one drive in the library, lib1, that has old tape technology:
define drive lib1 drv1 element=1035
2. Define one drive in the library, lib2, that has new tape technology:
define drive lib2 drv1 element=1036
3. Move data on volume vol1 in the primary storage pool to the volumes in
another primary storage pool, nasprimpool2:
move data vol1 stgpool=nasprimpool2
Chapter 9. Using NDMP for operations with NAS file servers 229
Backing up and restoring NAS file servers using NDMP
After you have completed the steps to configure Tivoli Storage Manager for NDMP
(network data management protocol) operations, you are ready to begin using
NDMP.
Procedure
For more information on the command, see the Tivoli Storage Manager
Backup-Archive Clients Installation and User's Guide.
Tip: Whenever you use the client interface, you are asked to authenticate yourself
as a Tivoli Storage Manager administrator before the operation can begin. The
administrator ID must have at least client owner authority for the NAS node.
You can perform the same backup operation with a server interface. For example,
from the administrative command-line client, back up the file system named
/vol/vol1 on a NAS file server named NAS1, by issuing the following command:
backup node nas1 /vol/vol1
Note: The BACKUP NAS and BACKUP NODE commands do not include snapshots. To
back up snapshots see “Backing up and restoring with snapshots” on page 236.
You can restore the image using either interface. Backups are identical whether
they are backed up using a client interface or a server interface. For example,
suppose you want to restore the image backed up in the previous examples. For
this example the file system named /vol/vol1 is being restored to /vol/vol2.
Restore the file system with the following command, issued from a Windows
backup-archive client interface:
dsmc restore nas -nasnodename=nas1 {/vol/vol1} {/vol/vol2}
You can choose to restore the file system, using a server interface. For example, to
restore the file system name /vol/vol1 to file system /vol/vol2, for a NAS file
server named NAS1, enter the following command:
restore node nas1 /vol/vol1 /vol/vol2
You can restore data from one NAS vendor system to another NAS vendor system
when you use the NDMPDUMP data format, but you should either verify
compatibility between systems or maintain a separate storage pool for each NAS
vendor.
When you store NAS backup data in the Tivoli Storage Manager server's storage
hierarchy, you can apply Tivoli Storage Manager back end data management
functions. Migration, reclamation, and disaster recovery are among the supported
features when using the NDMP file server to Tivoli Storage Manager server option.
In order to back up a NAS device to a Tivoli Storage Manager native storage pool,
set the destination storage pool in the copy group to point to the desired native
storage pool. The destination storage pool provides the information about the
library and drives used for backup and restore. You should ensure that there is
sufficient space in your target storage pool to contain the NAS data, which can be
backed up to sequential, disk, or file type devices. Defining a separate device class
is not necessary.
Firewall considerations are more stringent than they are for filer-to-attached-library
because communications can be initiated by either the Tivoli Storage Manager
server or the NAS file server. NDMP tape servers run as threads within the Tivoli
Storage Manager server and the tape server accepts connections on port of 10001.
This port number can be changed through the following option in the Tivoli
Storage Manager server options file: NDMPPORTRANGE port-number-low,
port-number-high.
Before using this option, verify that your NAS device supports NDMP operations
that use a different network interface for NDMP control and NDMP data
connections. NDMP control connections are used by Tivoli Storage Manager to
authenticate with an NDMP server and monitor an NDMP operation while NDMP
data connections are used to transmit and receive backup data during NDMP
operations. You must still configure your NAS device to route NDMP backup and
restore data to the appropriate network interface.
Chapter 9. Using NDMP for operations with NAS file servers 231
NetApp file servers provide an NDMP option (ndmpd.preferred_interface) to
change the interface used for NDMP data connections. Refer to the documentation
that came with your NAS device for more information.
See “Backing up NDMP file server to Tivoli Storage Manager server backups” for
steps on how to perform NDMP filer-to-server backups.
Procedure
1. Select an existing storage pool or set up a storage pool for the NAS data by
issuing the following command:
define stgpool naspool disk
2. Define volumes to add to the storage pool. For example, define a volume
named naspool_volAB:
define volume naspool /usr/storage/naspool_volAB formatsize=100
3. Set the copy destination to the storage pool defined previously and activate the
associated policy set.
update copygroup standard standard standard destination=naspool
tocdestination=naspool
activate policyset standard standard
The destination for NAS data is determined by the destination in the copy
group. The storage size estimate for NAS differential backups uses the
occupancy of the file space, the same value that is used for a full backup. You
can use this size estimate as one of the considerations in choosing a storage
pool. One of the attributes of a storage pool is the MAXSIZE value, which
indicates that data be sent to the NEXT storage pool if the MAXSIZE value is
exceeded by the estimated size. Because NAS differential backups to Tivoli
Storage Manager native storage pools use the base file space occupancy size as
a storage size estimate, differential backups end up in the same storage pool as
the full backup. Depending on collocation settings, differential backups may
end up on the same media as the full backup.
4. Set up a node and data mover for the NAS device. The data format signifies
that the backup images created by this NAS device are a dump type of backup
image in a NetApp specific format.
register node nas1 nas1 type=nas domain=standard
define datamover nas1 type=nas hla=nas1 user=root
password=***** dataformat=netappdump
If you specify this option at the time of backup, you can later display the table of
contents of the backup image. Through the backup-archive Web client, you can
select individual files or directories to restore directly from the backup images
generated.
You also have the option to do a backup via NDMP without collecting file-level
restore information.
To allow creation of a table of contents for a backup via NDMP, you must define
the TOCDESTINATION attribute in the backup copy group for the management
class to which this backup image is bound. You cannot specify a copy storage pool
or an active-data pool as the destination. The storage pool you specify for the TOC
destination must have a data format of either NATIVE or NONBLOCK, so it
cannot be the tape storage pool used for the backup image.
If you choose to collect file-level information, specify the TOC parameter in the
BACKUP NODE server command. Or, if you initiate your backup using the client, you
can specify the TOC option in the client options file, client option set, or client
command line. You can specify NO, PREFERRED, or YES. When you specify
PREFERRED or YES, the Tivoli Storage Manager server stores file information for a
single NDMP-controlled backup in a table of contents (TOC). The table of contents
is placed into a storage pool. After that, the Tivoli Storage Manager server can
access the table of contents so that file and directory information can be queried by
the server or client. Use of the TOC parameter allows a table of contents to be
generated for some images and not others, without requiring different
management classes for the images.
See the Administrator's Reference for more information about the BACKUP NODE
command.
To avoid mount delays and ensure sufficient space, use random access storage
pools (DISK device class) as the destination for the table of contents. For sequential
access storage pools, no labeling or other preparation of volumes is necessary if
scratch volumes are allowed.
Chapter 9. Using NDMP for operations with NAS file servers 233
See “Managing tables of contents” on page 209 for more information.
You should install Data ONTAP 6.4.1 or later, if it is available, on your NetApp
NAS file server in order to garner full support of international characters in the
names of files and directories.
If your level of Data ONTAP is earlier than 6.4.1, you must have one of the
following two configurations in order to collect and restore file-level information.
Results with configurations other than these two are unpredictable. The Tivoli
Storage Manager server will print a warning message (ANR4946W) during backup
operations. The message indicates that the character encoding of NDMP file history
messages is unknown, and UTF-8 will be assumed in order to build a table of
contents. It is safe to ignore this message only for the following two configurations.
v Your data has directory and file names that contain only English (7-bit ASCII)
characters.
v Your data has directory and file names that contain non-English characters and
the volume language is set to the UTF-8 version of the proper locale (for
example, [Link]-8 for German).
If your level of Data ONTAP is 6.4.1 or later, you must have one of the following
three configurations in order to collect and restore file-level information. Results
with configurations other than these three are unpredictable.
Tip: Using the UTF-8 version of the volume language setting is more efficient in
terms of Tivoli Storage Manager server processing and table of contents storage
space.
v You only use CIFS to create and access your data.
As with a NAS (network attached storage) file system backup, a table of contents
(TOC) is created during a directory-level backup and you are able to browse the
files in the image, using the Web client. The default is that the files are restored to
the original location. During a file-level restore from a directory-level backup,
however, you can either select a different file system or another virtual file space
name as a destination.
For a TOC of a directory level backup image, the path names for all files are
relative to the directory specified in the virtual file space definition, not the root of
the file system.
The virtual file space name cannot be identical to any file system on the NAS
node. If a file system is created on the NAS device with the same name as a virtual
file system, a name conflict will occur on the Tivoli Storage Manager server when
the new file space is backed up. See the Administrator's Reference for more
information about virtual file space mapping commands.
Note: Virtual file space mappings are only supported for NAS nodes.
Chapter 9. Using NDMP for operations with NAS file servers 235
Directory-level backup and restore for NDMP operations
The DEFINE VIRTUALFSMAPPING command maps a directory path of a NAS (network
attached storage) file server to a virtual file space name on the Tivoli Storage
Manager server. After a mapping is defined, you can conduct NAS operations such
as BACKUP NODE and RESTORE NODE, using the virtual file space names as if they
were actual NAS file spaces.
To start a backup of the directory, issue the BACKUP NODE command specifying the
virtual file space name instead of a file space name. To restore the directory subtree
to the original location, run the RESTORE NODE command and specify the virtual file
space name.
Virtual file space definitions can also be specified as the destination in a RESTORE
NODE command. This allows you restore backup images (either file system or
directory) to a directory on any file system of the NAS device.
You can use the Web client to select files for restore from a directory-level backup
image because the Tivoli Storage Manager client treats the virtual file space names
as NAS file spaces.
For example, to backup a snapshot created for a NetApp file system, perform the
following:
Procedure
1. On the console for the NAS device, issue the command to create the snapshot.
SNAP CREATE is the command for a NetApp device.
snap create vol2 february17
Use the NDMP SnapMirror to Tape feature as a disaster recovery option for
copying large NetAppfile systems to auxiliary storage. For most NetAppfile
systems, use the standard NDMP full or differential backup method.
Using a parameter option on the BACKUP NODE and RESTORE NODE commands, you
can back up and restore file systems by using SnapMirror to Tape. There are
several limitations and restrictions on how SnapMirror images can be used.
Consider the following guidelines before you use it as a backup method:
v You cannot initiate a SnapMirror to Tape backup or restore operation from the
Tivoli Storage Manager Operations Center, web client, or command-line client.
v You cannot perform differential backups of SnapMirror images.
v You cannot perform a directory-level backup using SnapMirror to Tape, thus
Tivoli Storage Manager does not permit an SnapMirror to Tape backup operation
on a server virtual file space.
v You cannot perform an NDMP file-level restore operation from SnapMirror to
Tape images. Therefore, a table of contents is never created during SnapMirror
to Tape image backups.
v At the start of a SnapMirror to Tape copy operation, the file server generates a
snapshot of the file system. NetAppprovides an NDMP environment variable to
control whether this snapshot should be removed at the end of the SnapMirror
to Tape operation. Tivoli Storage Manager always sets this variable to remove
the snapshot.
v After a SnapMirror to Tape image is retrieved and copied to a NetAppfile
system, the target file system is left configured as a SnapMirror partner.
NetAppprovides an NDMP environment variable to control whether this
SnapMirror relationship should be broken. Tivoli Storage Manager always
"breaks" the SnapMirror relationship during the retrieval. After the restore
operation is complete, the target file system is in the same state as that of the
original file system at the point-in-time of backup.
See the BACKUP NODE and RESTORE NODE commands in the Administrator's Reference
for more information about SnapMirror to Tape feature.
Chapter 9. Using NDMP for operations with NAS file servers 237
NDMP backup operations using Celerra file server integrated
checkpoints
When the Tivoli Storage Manager server initiates an NDMP backup operation on a
Celerra data mover, the backup of a large file system might take several hours to
complete. Without Celerra integrated checkpoints enabled, any changes occurring
on the file system are written to the backup image.
As a result, the backup image includes changes made to the file system during the
entire backup operation and is not a true point-in-time image of the file system.
If you are performing NDMP backups of Celerra file servers, you should upgrade
the operating system of your data mover to Celerra file server version T5.5.25.1 or
later. This version of the operating system allows enablement of integrated
checkpoints for all NDMP backup operations from the Celerra Control
Workstation. Enabling this feature ensures that NDMP backups represent true
point-in-time images of the file system that is being backed up.
If your version of the Celerra file server operating system is earlier than version
T5.5.25.1 and if you use NDMP to back up Celerra data movers, you should
manually generate a snapshot of the file system using Celerra's command line
checkpoint feature and then initiate an NDMP backup of the checkpoint file system
rather than the original file system.
Refer to the Celerra file server documentation for instructions on creating and
scheduling checkpoints from the Celerra control workstation.
Only NDMP backup data in NATIVE data format storage pools can be replicated.
You cannot replicate NDMP images that are stored in storage pools that has the
following data formats:
v NETAPPDUMP
v CELERRADUMP
v NDMPDUMP
When you configure devices so that the server can use them to store client data,
you create storage pools and storage volumes. The procedures for configuring
devices use the set of defaults that provides for storage pools and volumes. The
defaults can work well. However, you might have specific requirements not met by
the defaults. There are three common reasons to change the defaults:
v Optimize and control storage device usage by arranging the storage hierarchy
and tuning migration through the hierarchy (next storage pool, migration
thresholds).
v Reuse tape volumes through reclamation. Reuse is also related to policy and
expiration.
v Keep a client's files on a minimal number of volumes (collocation).
You can also make other adjustments to tune the server for your systems. See the
following sections to learn more. For some quick tips, see “Task tips for storage
pools” on page 251.
Concepts
“Storage pools” on page 240
“Storage pool volumes” on page 252
“Access modes for storage pool volumes” on page 259
“Storage pool hierarchies” on page 260
“Migrating files in a storage pool hierarchy” on page 271
“Caching in disk storage pools” on page 284
“Writing data simultaneously to primary, copy, and active-data pools” on page 331
“Keeping client files together using collocation” on page 357
“Reclaiming space in sequential-access storage pools” on page 367
“Estimating space needs for storage pools” on page 379
Tasks
“Defining storage pools” on page 245
“Preparing volumes for random-access storage pools” on page 255
“Preparing volumes for sequential-access storage pools” on page 255
“Defining storage pool volumes” on page 256
“Updating storage pool volumes” on page 257
“Setting up a storage pool hierarchy” on page 261
“Monitoring storage-pool and volume usage” on page 382
“Monitoring the use of storage pool volumes” on page 384
The examples in topics show how to perform tasks using the Tivoli Storage
Manager command-line interface. For information about the commands, see the
Administrator's Reference, or issue the HELP command from the command line of a
Tivoli Storage Manager administrative client.
Storage pools
A storage pool is a collection of storage volumes. A storage volume is the basic
unit of storage, such as allocated space on a disk or a single tape cartridge. The
server uses the storage volumes to store backed-up, archived, or space-managed
files.
The server provides three types of storage pools that serve different purposes:
primary storage pools, copy storage pools, and active-data pools. You can arrange
primary storage pools in a storage hierarchy. The group of storage pools that you set
up for the Tivoli Storage Manager server to use is called server storage.
To prevent a single point of failure, create separate storage pools for backed-up
and space-managed files. This also includes not sharing a storage pool in either
storage pool hierarchy. Consider setting up a separate, random-access disk storage
pool to give clients fast access to their space-managed files.
A primary storage pool can use random-access storage (DISK device class) or
sequential-access storage (for example, tape or FILE device classes).
For example, when a client attempts to retrieve a file and the server detects an
error in the file copy in the primary storage pool, the server marks the file as
damaged. At the next attempt to access the file, the server can obtain the file from
a copy storage pool.
You can move copy storage pool volumes offsite and still have the server track the
volumes. Moving copy storage pool volumes offsite provides a means of
recovering from an onsite disaster.
A copy storage pool can use only sequential-access storage (for example, a tape
device class or FILE device class).
Remember:
v You can back up data from a primary storage pool defined with the NATIVE,
NONBLOCK, or any of the NDMP formats (NETAPPDUMP, CELERRADUMP,
or NDMPDUMP). The target copy storage pool must have the same data format
as the primary storage pool.
v You cannot back up data from a primary storage pool that is defined with a
CENTERA device class.
Active-data pools
An active-data pool contains only active versions of client backup data. Active-data
pools are useful for fast client restores, reducing the number of onsite or offsite
storage volumes, or reducing bandwidth when copying or restoring files that are
vaulted electronically in a remote location.
Restoring a primary storage pool from an active-data pool might cause some or all
inactive files to be deleted from the database if the server determines that an
inactive file must be replaced but cannot find it in the active-data pool. As a best
practice and to protect your inactive data, create a minimum of two storage pools:
one active-data pool, which contains only active data, and one copy storage pool,
which contains both active and inactive data. You can use the active-data pool
volumes to restore critical client node data, and afterward you can restore the
Active-data pools can use any type of sequential-access storage (for example, a
tape device class or FILE device class). However, the precise benefits of an
active-data pool depend on the specific device type that is associated with the
pool. For example, active-data pools associated with a FILE device class are ideal
for fast client restores because FILE volumes do not have to be physically mounted
and because the server does not have to position past inactive files that do not
have to be restored. In addition, client sessions restoring from FILE volumes in an
active-data pool can access the volumes concurrently, which also improves restore
performance.
Active-data pools that use removable media, such as tape, offer similar benefits.
Although tapes must be mounted, the server does not have to position past
inactive files. However, the primary benefit of using removable media in
active-data pools is the reduction of the number of volumes that are used for
onsite and offsite storage. If you vault data electronically to a remote location, an
active-data pool that is associated with a SERVER device class can save bandwidth
by copying and restoring only active data.
Remember:
v The server does not attempt to retrieve client files from an active-data pool
during a point-in-time restore. Point-in-time restores require both active and
inactive file versions. Active-data pools contain only active file versions. For
optimal efficiency during point-in-time restores and to avoid switching between
active-data pools and primary or copy storage pools, the server retrieves both
active and inactive versions from the same storage pool and volumes.
v You cannot copy active data to an active-data pool from a primary storage pool
that is defined with the NETAPPDUMP, the CELERRADUMP, or the
NDMPDUMP data format.
v You cannot copy active data from a primary storage pool that is defined with a
CENTERA device class.
Restriction: You cannot use the BACKUP STGPOOL command for active-data pools.
During client sessions and processes that require active file versions, the Tivoli
Storage Manager server searches certain types of storage pools, if they exist.
1. An active-data pool that is associated with a FILE device class
2. A random-access disk (DISK) storage pool
3. A primary or copy storage pool that is associated with a FILE device class
4. A primary, copy, or active-data pool that is associated with onsite or offsite
removable tape media
Even though the list implies a selection order, the server might select a volume
with an active file version from a storage pool lower in the order if a volume
higher in the order cannot be accessed because of the requirements of the session
or process, volume availability, or contention for resources such as mount points,
drives, and data.
Figure 19 on page 244 shows one way to set up server storage. In this example, the
storage that is defined for the server includes:
v Three disk storage pools, which are primary storage pools: ARCHIVE, BACKUP,
and HSM
v One primary storage pool that consists of tape cartridges
v One copy storage pool that consists of tape cartridges
v One active-data pool that consists of FILE volumes for fast client restore
Policies that are defined in management classes direct the server to store files from
clients in the ARCHIVE, BACKUP, or HSM disk storage pools. An extra policy
specifies the following:
v A select group of client nodes that requires fast restore of active backup data
v The active-data pool as the destination for the active-data belonging to these
nodes
v The ARCHIVE, BACKUP, or HSM disk storage pools as destinations for archive,
backup (active and inactive versions), and space-managed data
For each of the three disk storage pools, the tape primary storage pool is next in
the hierarchy. As the disk storage pools fill, the server migrates files to tape to
make room for new files. Large files can go directly to tape. For more information
about setting up a storage hierarchy, see “Storage pool hierarchies” on page 260.
Active
HSM backup
data only
Backup
Disk storage
Archive pool (FILE)
Procedure
1. Define the three disk storage pools, or use the three default storage pools that
are defined when you install the server. Add volumes to the disk storage pools
if you did not already do so.
For more information, see
“Configuring random access volumes on disk devices” on page 69
2. Define policies that direct the server to initially store files from clients in the
disk storage pools. To do this, you define or change management classes and
copy groups so that they point to the storage pools as destinations. Then,
activate the changed policy. See “Changing policy” on page 478 for details.
Define another policy that specifies the active-data pool that you create as the
destination for active data.
3. Assign nodes to the domains. Nodes whose active data you want to restore
quickly must be assigned to the domain that specifies the active-data pool.
4. Attach one or more tape devices, or a tape library, to your server system.
For more information, see:
“Defining storage pools” on page 245
Chapter 6, “Configuring storage devices,” on page 85
5. Update the disk storage pools so that they point to the tape storage pool as the
next storage pool in the hierarchy. See “Example: Updating storage pools” on
page 250.
6. Define a copy storage pool and an active-data pool. The copy storage pool can
use the same tape device or a different tape device as the primary tape storage
pool. The active-data pool uses sequential-access disk storage (a FILE-type
device class) for fast client restores. See “Defining copy storage pools and
active-data pools” on page 409.
7. Set up administrative schedules or a script to back up the disk storage pools
and the tape storage pool to the copy storage pool. Use the same or different
Tip: When you define or update storage pools that use LTO Ultrium media,
special considerations might apply.
When you define a primary storage pool, be prepared to specify some or all of the
information that is shown in Table 19. Most of the information is optional. Some
information applies only to random-access storage pools or only to
sequential-access storage pools. Required parameters are marked.
Table 19. Information for defining a storage pool
Type of
Information Explanation Storage Pool
Storage pool name The name of the storage pool. random,
sequential
(Required)
Device class The name of the device class assigned for the storage pool. random,
sequential
(Required)
Pool type The type of storage pool (primary or copy). The default is to define a random,
primary storage pool. A storage pool's type cannot be changed after it has sequential
been defined.
Maximum number of When you specify a value greater than zero, the server dynamically sequential
scratch volumes 2 acquires scratch volumes when needed, up to this maximum number.
(Required for sequential For automated libraries, set this value equal to the physical capacity of the
access) library. For details, see:
“Adding scratch volumes to automated library devices” on page 138
Do not set a maximum file size for the last storage pool in the hierarchy
unless you want to exclude very large files from being stored in server
storage.
Cyclic Redundancy Check Specifies whether the server uses CRC to validate storage pool data during random,
(CRC) 1 audit volume processing. For additional information see “Data validation sequential
during audit volume processing” on page 890.
1
This information is not available for sequential-access storage pools that use the following data formats:
v CELERRADUMP
v NDMPDUMP
v NETAPPDUMP
2
This information is not available or is ignored for Centera sequential-access storage pools.
You can define the storage pools in a storage pool hierarchy from the top down or
from the bottom up. Defining the hierarchy from the bottom up requires fewer
steps. To define the hierarchy from the bottom up, complete the following steps:
Procedure
1. Define the storage pool named BACKTAPE with the following command:
define stgpool backtape tape
description=’tape storage pool for engineering backups’
maxsize=nolimit collocate=node maxscratch=100
2. Define the storage pool named ENGBACK1 with the following command:
define stgpool engback1 disk
description=’disk storage pool for engineering backups’
maxsize=5m nextstgpool=backtape highmig=85 lowmig=40
Results
Restrictions:
v You cannot establish a chain of storage pools that lead to an endless loop. For
example, you cannot define StorageB as the next storage pool for StorageA, and
then define StorageA as the next storage pool for StorageB.
v The storage pool hierarchy includes only primary storage pools, not copy
storage pools or active-data pools.
Restrictions:
v You cannot use this command to change the data format for a storage pool.
v For storage pools that have the NETAPPDUMP, the CELERRADUMP, or the
NDMPDUMP data format, you can modify the following parameters only:
Table 20 gives tips on how to accomplish some tasks that are related to storage
pools.
Table 20. Task tips for storage pools
For this Goal Do This For More Information
Keep the data for a group of client Enable collocation for the storage “Keeping client files together using
nodes, a single client node, or a client pool. collocation” on page 357
file space on as few volumes as
possible.
Reduce the number of volume Disable collocation for the storage “Keeping client files together using
mounts needed to back up multiple pool. collocation” on page 357
clients.
Write data simultaneously to a Provide a list of copy storage pools “Writing data simultaneously to
primary storage pool and to copy and active-data pools when defining primary, copy, and active-data pools”
storage pools and active-data pools. the primary storage pool. on page 331
Specify how the server reuses tapes. Set a reclamation threshold for the “Reclaiming space in
storage pool. sequential-access storage pools” on
page 367
Optional: Identify a reclamation
storage pool
Move data from disk to tape Set a migration threshold for the “Migrating disk storage pools” on
automatically as needed. storage pool. page 273
You can define volumes in a sequential-access storage pool or you can specify that
the server dynamically acquire scratch volumes. You can also use a combination of
defined and scratch volumes. What you choose depends on the amount of control
you want over individual volumes.
Defined volumes
Use defined volumes when you want to control precisely which volumes are used
in the storage pool. Defined volumes can also be useful when you want to
establish a naming scheme for volumes.
You can also use defined volumes to reduce potential disk fragmentation and
maintenance overhead for storage pools associated with random-access and
sequential-access disk.
Scratch volumes
Use scratch volumes to enable the server to define a volume when needed and
delete the volume when it becomes empty. Using scratch volumes frees you from
the task of explicitly defining all of the volumes in a storage pool.
The server tracks whether a volume being used was originally a scratch volume.
Scratch volumes that the server acquired for a primary storage pool are deleted
from the server database when they become empty. The volumes are then available
for reuse by the server or other applications.
Scratch volumes in a copy storage pool or an active-data storage pool are handled
in the same way as scratch volumes in a primary storage pool, except for volumes
with the access value of off-site. If an off-site volume becomes empty, the server
does not immediately return the volume to the scratch pool. The delay prevents
the empty volumes from being deleted from the database, making it easier to
determine which volumes should be returned to the on-site location. The
administrator can query the server for empty off-site copy storage pool volumes or
active-data pool volumes, and return them to the on-site location. The volume is
returned to the scratch pool only when the access value is changed to
READWRITE, READONLY, or UNAVAILABLE.
For scratch volumes that were acquired in a FILE device class, the space that the
volumes occupied is freed by the server and returned to the file system.
Results
To prepare a volume for use in a random-access storage pool, define the volume.
For example, enter the following command to define a 21 MB volume named
stgvol.001 for the BACKUPPOOL storage pool that is located in the path
c:\program files\tivoli\tsm\server:
define volume backuppool ’c:\program files\tivoli\tsm\server\stgvol.001’
formatsize=21
If you do not specify a full path name for the volume name, the command uses the
path associated with the registry key of this server instance.
You can also define volumes in a single step using the DEFINE VOLUME
command. For example, to define ten, 5000 MB volumes in a random-access
storage pool that uses a DISK device class, you would enter the following
command:
define volume diskpool diskvol numberofvolumes=10 formatsize=5000
Tips:
1. For important disk-related information, see “Requirements for disk systems”
on page 63.
2. The file system where storage pool volumes are allocated can have an effect on
performance and reliability. For better performance in backing up and restoring
large numbers of small files, allocate storage pool volumes on a FAT file
system. To take advantage of the ability of the operating system to recover from
problems that can occur during I/O to a disk, allocate storage pool volumes on
NTFS.
You can also use a space trigger to automatically create volumes assigned to a
particular storage pool.
For sequential-access storage pools with a FILE or SERVER device type, no labeling
or other preparation of volumes is necessary. For sequential-access storage pools
associated with device types other than a FILE or SERVER, you must prepare
volumes for use.
Procedure
1. Label the volume. Table 21 on page 253 shows the types of volumes that
require labels. You must label those types of volumes before the server can use
them.
For details, see:
“Labeling media” on page 129
Tip: When you use the LABEL LIBVOLUME command with drives in an
automated library, you can label and check in the volumes with one command.
2. For storage pools in automated libraries, use the CHECKIN LIBVOLUME
command to check the volume into the library. For details, see:
“Checking media into automated library devices” on page 130.
3. If you have not allowed scratch volumes in the storage pool, you must identify
the volume, by name, to the server. For details, see “Defining storage pool
volumes.”
If you allowed scratch volumes in the storage pool by specifying a value
greater than zero for the MAXSCRATCH parameter, you can let the server use
scratch volumes, identify volumes by name, or do both. See “Acquiring scratch
volumes dynamically” on page 257 for information about scratch volumes.
Results
Defining storage pool volumes
You can use defined volumes to control precisely which volumes are used in the
storage pool. Using defined volumes can also be useful when you want to
establish a naming scheme for volumes.
When you define a storage pool volume, you inform the server that the volume is
available for storing backup, archive, or space-managed data.
For a sequential-access storage pool, the server can use dynamically acquired
scratch volumes, volumes that you define, or a combination.
To define a volume named VOL1 in the ENGBACK3 tape storage pool, enter:
define volume engback3 vol1
Each volume that is used by a server for any purpose must have a unique name.
This requirement applies to all volumes, whether the volumes are used for storage
pools, or used for operations such as database backup or export. The requirement
also applies to volumes that are in different libraries but that are used by the same
server.
For storage pools associated with the FILE device class, you can also use the
DEFINE SPACETRIGGER and UPDATE SPACETRIGGER commands to have the server
create volumes and assign them to a specified storage pool when predetermined
space-utilization thresholds are exceeded. One volume must be predefined.
Remember: You cannot define volumes for storage pools that are defined with a
Centera device class.
To allow the storage pool to acquire volumes as needed, set the MAXSCRATCH
parameter to a value greater than zero. The server automatically defines the
volumes as they are acquired. The server also automatically deletes scratch
volumes from the storage pool when the server no longer needs them.
Before the server can use a scratch volume with a device type other than FILE or
SERVER, the volume must have a label.
Restriction: Tivoli Storage Manager only accepts tapes labeled with IBM standard
labels. IBM standard labels are similar to ANSI Standard X3.27 labels except that
the IBM standard labels are written in EBCDIC (extended binary coded decimal
interchange code). For a list of IBM media sales contacts who can provide
compatible tapes, go to the IBM Web site. If you are using non-IBM storage devices
and media, consult your tape-cartridge distributor.
For details about labeling, see “Preparing volumes for sequential-access storage
pools” on page 255.
To change the properties of a volume that has been defined to a storage pool, issue
the UPDATE VOLUME command. For example, suppose you accidentally damage
For details about access modes, see “Access modes for storage pool volumes” on
page 259.
For example, if the server cannot write to a volume having read/write access
mode, the server automatically changes the access mode to read-only.
You can set up your devices so that the server automatically moves data from one
device to another, or one media type to another. The selection can be based on
characteristics such as file size or storage capacity. A typical implementation might
have a disk storage pool with a subordinate tape storage pool. When a client backs
up a file, the server might initially store the file on disk according to the policy for
that file. Later, the server might move the file to tape when the disk becomes full.
This action by the server is called migration. You can also place a size limit on files
that are stored on disk, so that large files are stored initially on tape instead of on
disk.
For example, your fastest devices are disks, but you do not have enough space on
these devices to store all data that needs to be backed up over the long term. You
have tape drives, which are slower to access, but have much greater capacity. You
define a hierarchy so that files are initially stored on the fast disk volumes in one
storage pool. This provides clients with quick response to backup requests and
some recall requests. As the disk storage pool becomes full, the server migrates, or
moves, data to volumes in the tape storage pool.
Another option to consider for your storage pool hierarchy is IBM 3592 tape
cartridges and drives, which can be configured for an optimal combination of
access time and storage capacity. For more information, see “Controlling
data-access speeds for 3592 volumes” on page 185.
Restrictions:
v You cannot establish a chain of storage pools that leads to an endless loop. For
example, you cannot define StorageB as the next storage pool for StorageA, and
then define StorageA as the next storage pool for StorageB.
v The storage pool hierarchy includes only primary storage pools. It does not
include copy storage pools or active-data pools. See “Backing up the data in a
storage hierarchy” on page 265.
v A storage pool must use the NATIVE or NONBLOCK data formats to be part of
a storage pool hierarchy. For example, a storage pool that uses the
NETAPPDUMP data format cannot be part of a storage pool hierarchy.
For detailed information about how migration between storage pools works, see
“Migrating files in a storage pool hierarchy” on page 271.
Procedure
1. Define the storage pool named BACKTAPE with the following command:
define stgpool backtape tape
description=’tape storage pool for engineering backups’
maxsize=nolimit collocate=node maxscratch=100
2. Define the storage pool named ENGBACK1 with the following command:
define stgpool engback1 disk
description=’disk storage pool for engineering backups’
maxsize=5M nextstgpool=backtape highmig=85 lowmig=40
If you have already defined the storage pool at the top of the hierarchy, you can
update the storage hierarchy to include a new storage pool. You can update the
storage pool by using the UPDATE STGPOOL command.
To define the new tape storage pool and update the hierarchy:
Procedure
1. Define the storage pool named BACKTAPE with the following command:
define stgpool backtape tape
description=’tape storage pool for engineering backups’
maxsize=nolimit collocate=node maxscratch=100
2. Update the storage-pool definition for ENGBACK1 to specify that BACKTAPE is the
next storage pool defined in the storage hierarchy:
update stgpool engback1 nextstgpool=backtape
The size of the aggregate depends on the sizes of the client files being stored, and
the number of bytes and files allowed for a single transaction. Two options affect
the number of files and bytes allowed for a single transaction. TXNGROUPMAX,
in the server options file, affects the number of files allowed. TXNBYTELIMIT, in
the client options file, affects the number of bytes allowed in the aggregate.
v The TXNGROUPMAX option in the server options file indicates the maximum
number of logical files (client files) that a client might send to the server in a
single transaction. The server might create multiple aggregates for a single
transaction, depending on how large the transaction is.
It is possible to affect the performance of client backup, archive, restore, and
retrieve operations by using a larger value for this option. When you transfer
multiple small files, increasing the TXNGROUPMAX option can improve
throughput for operations to tape.
When a Tivoli Storage Manager for Space Management client (HSM client)
migrates files to the server, the files are not grouped into an aggregate.
Server file aggregation is disabled for client nodes storing data that is associated
with a management class that has a copy group whose destination is a Centera
storage pool.
Using these factors, the server determines if the file can be written to that storage
pool or the next storage pool in the hierarchy.
Subfile backups: When the client backs up a subfile, it still reports the size of the
entire file. Therefore, allocation requests against server storage and placement in
the storage hierarchy are based on the full size of the file. The server does not put
a subfile in an aggregate with other files if the size of the entire file is too large to
put in the aggregate. For example, the entire file is 8 MB, but the subfile is only 10
KB. The server does not typically put a large file in an aggregate, so the server
begins to store this file as a stand-alone file. However, the client sends only 10 KB,
and it is now too late for the server to put this 10 KB file with other files in an
aggregate. As a result, the benefits of aggregation are not always realized when
clients back up subfiles.
DISKPOOL
Read/Write Access
Max File Size=3MB
TAPEPOOL
Read/Write Access
Assume a user wants to archive a 5 MB file that is named FileX. FileX is bound to
a management class that contains an archive copy group whose storage destination
is DISKPOOL, see Figure 20.
When the user archives the file, the server determines where to store the file based
on the following process:
1. The server selects DISKPOOL because it is the storage destination specified in
the archive copy group.
2. Because the access mode for DISKPOOL is read/write, the server checks the
maximum file size allowed in the storage pool.
The maximum file size applies to the physical file being stored, which may be a
single client file or an aggregate. The maximum file size allowed in DISKPOOL
is 3 MB. FileX is a 5 MB file and therefore cannot be stored in DISKPOOL.
3. The server searches for the next storage pool in the storage hierarchy.
If the DISKPOOL storage pool has no maximum file size specified, the server
checks for enough space in the pool to store the physical file. If there is not
enough space for the physical file, the server uses the next storage pool in the
storage hierarchy to store the file.
Restoring a primary storage pool from an active-data pool might cause some or all
inactive files to be deleted from the database if the server determines that an
inactive file needs to be replaced but cannot find it in the active-data pool.
As a best practice, therefore, and to prevent the permanent loss of inactive versions
of client backup data, you should create a minimum of one active-data pool, which
contains active-data only, and one copy storage pool, which contains both active
and inactive data. To recover from a disaster, use the active-data pool to restore
critical client node data, and then restore the primary storage pools from the copy
storage pool. Do not use active-data pools for recovery of a primary pool or
volume unless the loss of inactive data is acceptable.
“Setting up copy storage pools and active-data pools” on page 266 describes the
high-level steps for implementation.
Neither copy storage pools nor active-data pools are part of a storage hierarchy,
which, by definition, consists only of primary storage pools. Data can be stored in
copy storage pools and active-data pools using the following methods:
v Including the BACKUP STGPOOL and COPY ACTIVEDATA commands in
administrative scripts or schedules so that data is automatically backed up or
copied at regular intervals.
v Enabling the simultaneous-write function so that data is written to primary
storage pools, copy storage pools, and active-data pools during the same
transaction. Writing data simultaneously to copy storage pools is supported for
backup, archive, space-management, and import operations. Writing data
simultaneously to active-data pools is supported only for client backup
operations and only for active backup versions.
v (copy storage pools only) Manually issuing the BACKUP STGPOOL command,
specifying the primary storage pool as the source and a copy storage pool as the
target. The BACKUP STGPOOL command backs up whatever data is in the
primary storage pool (client backup data, archive data, and space-managed
data).
v (active-data pools only) Manually issuing the COPY ACTIVEDATA command,
specifying the primary storage pool as the source and an active-data pool as the
target. The COPY ACTIVEDATA command copies only the active versions of
client backup data. If an aggregate being copied contains all active files, then the
entire aggregate is copied to the active-data pool during command processing. If
For efficiency, you can use a single copy storage pool and a single active-data pool
to back up all primary storage pools that are linked in a storage hierarchy. By
backing up all primary storage pools to one copy storage pool and one active-data
pool, you do not need to repeatedly copy a file when the file migrates from its
original primary storage pool to another primary storage pool in the storage
hierarchy.
In most cases, a single copy storage pool and a single active-data pool can be used
for backup of all primary storage pools. However, the number of copy storage
pools and active-data pools you actually need depends on whether you have more
than one primary storage pool hierarchy and on the type of disaster recovery
protection you want to implement. Multiple copy storage pools and active-data
pools might be needed to handle particular situations, including the following:
v Special processing of certain primary storage hierarchies (for example, archive
storage pools or storage pools dedicated to priority clients)
v Creation of multiple copies for multiple locations (for example, to keep one copy
on-site and one copy off-site)
v Rotation of full storage pool backups (See “Backing up primary storage pools”
on page 883.)
Procedure
1. Define a copy storage pool or active-data pool. For details, see “Defining copy
storage pools and active-data pools” on page 409.
2. (active-data pools only) Create a policy domain, and specify the name of the
active-data pool as the value of the ACTIVEDATAPOOL parameter. To learn
more about creating domains and the ACTIVEDATAPOOL parameter, see
“Defining and updating a policy domain” on page 498.
3. (active-data pools only) Identify the nodes whose active backup data is to be
stored in the active-data pool, and then assign the nodes to the domain defined
in step 2. For details about assigning nodes to a domain, see “Assigning client
nodes to a policy domain” on page 512.
266 IBM Tivoli Storage Manager for Windows: Administrator's Guide
4. (optional) If you want to use the simultaneous-write function, update the
primary storage pool definition, specifying the name of the copy storage pool
and active-data pool as the values of the COPYSTGPOOLS and
ACTIVEDATAPOOLS parameters, respectively. For details about the
simultaneous-write function, see “Writing data simultaneously to primary, copy,
and active-data pools” on page 331.
Ensure that client sessions have sufficient mount points. Each session requires
one mount point for the primary storage pool and a mount point for each copy
storage pool and each active-data pool. To allow a sufficient number of mounts
points, use the MAXNUMMP parameter on the REGISTER NODE or UPDATE NODE
commands.
5. Set up administrative schedules or scripts to automatically issue the BACKUP
STGPOOL and COPY ACTIVEDATA commands. See “Automating a basic
administrative command schedule” on page 620 and “Tivoli Storage Manager
server scripts” on page 626.
Decide which client nodes have data that needs to be restored quickly if a disaster
occurs. Only the data belonging to those nodes should be stored in the active-data
pool.
For the purposes of this example, the following definitions already exist on the
server:
v The default STANDARD domain, STANDARD policy set, STANDARD
management class, and STANDARD copy group.
v A primary storage pool, BACKUPPOOL, and a copy storage pool, COPYPOOL.
BACKUPPOOL is specified in the STANDARD copy group as the storage pool
in which the server initially stores backup data. COPYPOOL contains copies of
all the active and inactive data in BACKUPPOOL.
v Three nodes that are assigned to the STANDARD domain (NODE1, NODE2, and
NODE 3).
v Two mount points assigned for each client session.
v A FILE device class named FILECLASS.
You have identified NODE2 as the only high-priority node, so you need to create a
new domain to direct the data belonging to that node to an active-data pool. To set
up and enable the active-data pool, follow these steps:
Procedure
1. Define the active-data pool:
DEFINE STGPOOL ADPPOOL FILECLASS POOLTYPE=ACTIVEDATA MAXSCRATCH=1000
2. Define a new domain and specify the active-data pool in which you want to
store the data belonging to NODE2:
DEFINE DOMAIN ACTIVEDOMAIN ACTIVEDESTINATION=ADPPOOL
3. Define a new policy set:
This command specifies that the active and inactive data belonging to client
nodes that are members of ACTIVEDOMAIN will be backed up to
BACKUPPOOL. Note that this is the destination storage pool for data backed
up from nodes that are members of the STANDARD domain.
6. Assign the default management class for the active-data pool policy set:
ASSIGN DEFMGMTCLASS ACTIVEDOMAIN ACTIVEPOLICY ACTIVEMGMT
7. Activate the policy set for the active-data pool:
ACTIVATE POLICYSET ACTIVEDOMAIN ACTIVEPOLICY
8. Assign the high-priority node, NODE2, to the new domain:
UPDATE NODE NODE2 DOMAIN=ACTIVEDOMAIN
A node can belong to only one domain. When you update a node by changing
its domain, you remove it from its current domain.
9. (optional) Update the primary storage pool, BACKUPPOOL, with the name of
the active-data pool, ADPPOOL, where the server simultaneously will write
data during a client backup operation:
UPDATE STGPOOL BACKUPPOOL ACTIVEDATAPOOLS=ADPPOOL
Results
Every time NODE2 stores data into BACKUPPOOL, the server simultaneously
writes the data to ADPPOOL. The schedule, COPYACTIVE_BACKUPPOOL,
ensures that any data that was not stored during simultaneous-write operations is
copied to the active-data pool. When client nodes NODE1 and NODE3 are backed
up, their data is stored in BACKUPPOOL only, and not in ADPPOOL. When the
administrative schedule runs, only the data belonging to NODE2 is copied to the
active-data pool.
Remember: If you want all the nodes belonging to an existing domain to store
their data in the active-data pool, then you can skip steps 2 through 8. Use the
UPDATE DOMAIN command to update the STANDARD domain, specifying the
name of the active-data pool, ADPPOOL, as the value of the
ACTIVEDESTINATION parameter.
In addition to using active-data pools for fast restore of client-node data, you can
also use active-data pools to reduce the number of tape volumes that are stored
either on-site or off-site for the purpose of disaster recovery. This example assumes
that, in your current configuration, all data is backed up to a copy storage pool
and taken off-site. However, your goal is to create an active-data pool, take the
volumes in that pool off-site, and maintain the copy storage pool on-site to recover
primary storage pools.
Procedure
1. Define the active-data pool:
DEFINE STGPOOL ADPPOOL 3592CLASS POOLTYPE=ACTIVEDATA MAXSCRATCH=1000
2. Update the STANDARD domain to allow data from all nodes to be stored in
the active-data pool:
UPDATE DOMAIN STANDARD ACTIVEDESTINATION=ADPPOOL
3. (optional) To set up simultaneous write operations, complete the following steps:
v Update the primary storage pool, BACKUPPOOL, with the name of the
active-data pool, ADPPOOL, where the server will write data simultaneously
during client backup operations:
UPDATE STGPOOL BACKUPPOOL ACTIVEDATAPOOL=ADPPOOL
Results
Every time data is stored into BACKUPPOOL, the data is simultaneously written
to ADPPOOL. The schedule, COPYACTIVE_BACKUPPOOL, ensures that any data
that was not stored during a simultaneous-write operation is copied to the
active-data pool. You can now move the volumes in the active-data pool to a safe
location off-site.
If your goal is to replace the copy storage pool with the active-data pool, follow
the steps below. As a best practice and to protect your inactive data, however, you
should maintain the copy storage pool so that you can restore inactive versions of
backup data if required. If the copy storage pool contains archive or files that were
migrated by a Tivoli Storage Manager for Space Management client, do not delete
it.
1. Stop backing up to the copy storage pool:
DELETE SCHEDULE BACKUP_BACKUPPOOL
UPDATE STGPOOL BACKUPPOOL COPYSTGPOOLS=""
2. After all data has been copied to the active-data pool, delete the copy storage
pool and its volumes.
Typically you need to ensure that you have enough disk storage to process one
night's worth of the clients' incremental backups. While not always possible, this
guideline proves to be valuable when considering storage pool backups.
For example, suppose you have enough disk space for nightly incremental backups
for clients, but not enough disk space for a FILE-type, active-data pool. Suppose
also that you have tape devices. With these resources, you can set up the following
pools:
v A primary storage pool on disk, with enough volumes assigned to contain the
nightly incremental backups for clients
v A primary storage pool on tape, which is identified as the next storage pool in
the hierarchy for the disk storage pool
v An active-data pool on tape
v A copy storage pool on tape
Results
For more information about storage pool space, see “Estimating space needs for
storage pools” on page 379
The migration process can help to ensure that there is sufficient free space in the
storage pools at the top of the hierarchy, where faster devices can provide the most
benefit to clients. For example, the server can migrate data that is stored in a
random-access disk storage pool to a slower, but less expensive sequential-access
storage pool.
Migration processing can differ for disk storage pools versus sequential-access
storage pools. If you plan to modify the default migration settings for storage
pools or want to understand how migration works, read the following topics:
v “Migrating disk storage pools” on page 273
v “Migrating sequential-access storage pools” on page 279
v “Starting migration manually or in a schedule” on page 282
Remember:
v Data cannot be migrated in to or out of storage pools that are defined with a
CENTERA device class.
v If you receive an error message during the migration process, refer to IBM Tivoli
Storage Manager Messages, which can provide useful information to diagnose and
fix problems.
You can use the defaults for the migration thresholds, or you can change the
threshold values to identify the maximum and minimum amount of space for a
storage pool.
To control how long files must stay in a storage pool before they are eligible for
migration, specify a migration delay for a storage pool. For details, see “Keeping
files in a storage pool” on page 278.
If you decide to enable cache for disk storage pools, files can temporarily remain
on disks even after migration. When you use cache, you might want to set lower
migration thresholds.
For more information about migration thresholds, see “How the server selects files
to migrate” and “Migration thresholds” on page 276. For information about using
the cache, see “Minimizing access time to migrated files” on page 279 and
“Caching in disk storage pools” on page 284.
The server might not be able to reach the low migration threshold by migrating
only files that were stored longer than the migration delay period. If so, the server
checks the storage pool characteristic that determines whether migration stops,
even if the pool is still above the low migration threshold. For more information,
see “Keeping files in a storage pool” on page 278.
If multiple migration processes are running, the server might choose the files from
more than one node for migration at the same time. The processes are controlled
by the MIGPROCESS parameter of the DEFINE STGPOOL command.
For example, Table 23 displays information that is contained in the database that is
used by the server to determine which files to migrate. This example assumes that
the storage pool contains no space-managed files. This example also assumes that
the migration delay period for the storage pool is set to zero. When the setting is
zero, any files can be migrated. Regardless of the amount of time they are stored in
the pool or the last time of access, all files are migrated.
Table 23. Database information about files stored in DISKPOOL
Archived Files (All Client File
Client Node Backed-Up File Spaces and Sizes Spaces)
TOMC TOMC/C 200 MB 55 MB
TOMC/D 100 MB
CAROL CAROL 50 MB 5 MB
PEASE PEASE/home 150 MB 40 MB
PEASE/temp 175 MB
High
Migration
Threshold
80%
Low
Migration
Threshold
20% DISKPOOL DISKPOOL DISKPOOL
TAPEPOOL
Migration thresholds
Migration thresholds specify when migration for a storage pool begins and ends.
Setting migration thresholds for disk storage pools ensures sufficient free space on
faster devices, which can lead to better performance.
Choosing thresholds appropriate for your situation takes some experimenting. Start
by using the default high and low values. You need to ensure that migration
occurs frequently enough to maintain some free space but not so frequently that
the device is unavailable for other use.
High-migration thresholds:
Before changing the high-migration threshold, you need to consider the amount of
storage capacity provided for each storage pool and the amount of free storage
space needed to store additional files, without having migration occur.
If you set the high-migration threshold too high, the pool may be just under the
high threshold, but not have enough space to store an additional, typical client file.
Or, with a high threshold of 100%, the pool may become full and a migration
process must start before clients can back up any additional data to the disk
storage pool. In either case, the server stores client files directly to tape until
migration completes, resulting in slower performance.
Low-migration thresholds:
Before setting the low-migration threshold, you must consider the amount of free
disk storage space needed for normal daily processing.
For example, you might have backups of monthly summary data that you want to
keep in your disk storage pool for faster access until the data is 30 days old. After
the 30 days, the server moves the files to a tape storage pool.
To delay file migration of files, set the MIGDELAY parameter when you define or
update a storage pool. The number of days is counted from the day that a file was
stored in the storage pool or accessed by a client, whichever is more recent. You
can set the migration delay separately for each storage pool. When you set the
delay to zero, the server can migrate any file from the storage pool, regardless of
how short a time the file has been in the storage pool. When you set the delay to
greater than zero, the server checks how long the file has been in the storage pool
and when it was last accessed by a client. If the number of days exceeds the
migration delay, the server migrates the file.
Note: If you want the number of days for migration delay to be counted based
only on when a file was stored and not when it was retrieved, use the
NORETRIEVEDATE server option. For more information about this option, see the
Administrator's Reference.
If you set migration delay for a pool, you must decide what is more important:
either ensuring that files stay in the storage pool for the migration delay period, or
ensuring that there is enough space in the storage pool for new files. For each
storage pool that has a migration delay set, you can choose what happens as the
server tries to move enough data out of the storage pool to reach the low
migration threshold. If the server cannot reach the low migration threshold by
moving only files that have been stored longer than the migration delay, you can
choose one of the following:
v Allow the server to move files out of the storage pool even if they have not been
in the pool for the migration delay (MIGCONTINUE=YES). This is the default.
Allowing migration to continue ensures that space is made available in the
storage pool for new files that need to be stored there.
v Have the server stop migration without reaching the low migration threshold
(MIGCONTINUE=NO). Stopping migration ensures that files remain in the
storage pool for the time you specified with the migration delay. The
administrator must ensure that there is always enough space available in the
storage pool to hold the data for the required number of days.
If you allow more than one migration process for the storage pool and allow the
server to move files that do not satisfy the migration delay time
(MIGCONTINUE=YES), some files that do not satisfy the migration delay time
may be migrated unnecessarily. As one process migrates files that satisfy the
migration delay time, a second process could begin migrating files that do not
satisfy the migration delay time to meet the low migration threshold. The first
process that is still migrating files that satisfy the migration delay time might have,
by itself, caused the storage pool to meet the low migration threshold.
Important: For information about the disadvantages of using cache, see “Caching
in disk storage pools” on page 284.
To ensure that files remain on disk storage and do not migrate to other storage
pools, use one of the following methods:
v Do not define the next storage pool.
A disadvantage of using this method is that if the file exceeds the space
available in the storage pool, the operation to store the file fails.
v Set the high-migration threshold to 100%.
When you set the high migration threshold to 100%, files will not migrate at all.
You can still define the next storage pool in the storage hierarchy, and set the
maximum file size so that large files are stored in the next storage pool in the
hierarchy.
A disadvantage of setting the high threshold to 100% is that after the pool
becomes full, client files are stored directly to tape instead of to disk.
Performance may be affected as a result.
You probably will not want the server to migrate sequential-access storage pools
on a regular basis. An operation such as tape-to-tape migration has limited benefits
compared to disk-to-tape migration, and requires at least two tape drives.
You can migrate data from a sequential-access storage pool only to another
sequential-access storage pool. You cannot migrate data from a sequential-access
storage pool to a disk storage pool. If you need to move data from a
sequential-access storage pool to a disk storage pool, use the MOVE DATA
command. See “Moving data from one volume to another volume” on page 400.
To control the migration process, set migration thresholds and migration delays for
each storage pool using the DEFINE STGPOOL and UPDATE STGPOOL
commands. You can also specify multiple concurrent migration processes to better
use your available tape drives or FILE volumes. (For details, see “Specifying
multiple concurrent migration processes” on page 282.) Using the MIGRATE
STGPOOL command, you can control the duration of the migration process and
whether reclamation is attempted prior to migration. For additional information,
see “Starting migration manually or in a schedule” on page 282.
For tape storage pools, the server begins the migration process when the ratio of
volumes containing data to the total number of volumes in the storage pool,
including scratch volumes, reaches the high migration threshold. For
sequential-access disk (FILE) storage pools, the server starts the migration process
when the ratio of data in a storage pool to the pool's total estimated data capacity
reaches the high migration threshold. The calculation of data capacity includes the
capacity of all the scratch volumes that are specified for the pool.
Tip: When Tivoli Storage Manager calculates the capacity for a sequential-access
disk storage pool, it considers the amount of disk space available in the file
system. For this reason, ensure that you have enough disk space in the file system
to hold all the defined and scratch volumes that are specified for the storage pool.
For example, suppose that the capacity of all the scratch volumes that are specified
for a storage pool is 10 TB. (There are no predefined volumes.) However, only 9 TB
of disk space is available in the file system. The capacity value that is used in the
migration threshold is 9 TB, not 10 TB. If the high migration threshold is set to
70%, migration begins when the storage pool contains 6.3 TB of data, not 7 TB.
Migration delay can prevent volumes from being migrated. The server can migrate
files from all eligible volumes but still find that the storage pool is above the low
migration threshold. If you set migration delay for a pool, you must decide which
of the following is of greater importance. Either ensuring that files stay in the
storage pool for the amount of time that is specified as the migration delay, or
ensuring there is enough space in the storage pool for new files. For each storage
pool that has a migration delay that is set, you can choose what happens as the
When you define migration criteria for sequential-access storage pools, consider:
v The capacity of the volumes in the storage pool
v The time that is required to migrate data to the next storage pool
v The speed of the devices that the storage pool uses
v The time that is required to mount media, such as tape volumes, into drives
v Whether operator presence is required
v The number of concurrent migration processes
If you decide to migrate data from one sequential-access storage pool to another,
ensure that:
v Two drives (mount points) are available, one in each storage pool.
v The access mode for the next storage pool in the storage hierarchy is set to
read/write.
For information about setting an access mode for sequential-access storage pools,
see “Defining storage pools” on page 245.
v Collocation is set the same in both storage pools. For example, if collocation is
set to NODE in the first storage pool, then set collocation to NODE in the next
storage pool. If collocation is set to FILESPACE in the first storage pool, then set
collocation to FILESPACE in the next storage pool.
When you enable collocation for a storage pool, the server tries to keep all files
on a minimal number of volumes. The files can belong to a single client node, a
group of client nodes, a client file space, or a group of file spaces. For
information about collocation for sequential-access storage pools, see “Keeping
client files together using collocation” on page 357.
v You have sufficient resources (for example, staff) available to manage any
necessary media mount and dismount operations. (This is especially true for
multiple concurrent processing, For details, see “Specifying multiple concurrent
migration processes” on page 282.) More mount operations occur because the
server attempts to reclaim space from sequential-access storage pool volumes
before it migrates files to the next storage pool.
If you want to limit migration from a sequential-access storage pool to another
storage pool, set a high, high-migration threshold, such as 95%.
You can specify the maximum number of minutes the migration runs before
automatically canceling. If you prefer, you can include this command in a schedule
to perform migration when it is least intrusive to normal production needs.
For example, to migrate data from a storage pool named ALTPOOL to the next
storage pool, and specify that it end as soon as possible after one hour, issue the
following command:
migrate stgpool altpool duration=60
Do not use this command if you are going to use automatic migration. To prevent
automatic migration from running, set the HIGHMIG parameter of the storage pool
definition to 100. For details about the MIGRATE STGPOOL command, refer to the
Administrator's Reference.
Results
Restriction: Data cannot be migrated into or out of storage pools that are defined
with a CENTERA device class.
Each migration process requires at least two simultaneous volume mounts (at least
two mount points) and, if the device type is not FILE, at least two drives. One of
the drives is for the input volume in the storage pool from which files are being
migrated. The other drive is for the output volume in the storage pool to which
files are being migrated.
When calculating the number of concurrent processes to run, carefully consider the
resources you have available, including the number of storage pools that will be
involved with the migration, the number of mount points, the number of drives
that can be dedicated to the operation, and (if appropriate) the number of mount
operators available to manage migration requests. The number of available mount
points and drives depends on other Tivoli Storage Manager and system activity
and on the mount limits of the device classes for the storage pools that are
involved in the migration. For more information about mount limit, see:
For example, suppose that you want to migrate data on volumes in two sequential
storage pools simultaneously and that all storage pools involved have the same
device class. Each process requires two mount points and, if the device type is not
FILE, two drives. To run four migration processes simultaneously (two for each
storage pool), you need a total of at least eight mount points and eight drives if
the device type is not FILE. The device class must have a mount limit of at least
eight.
If the number of migration processes you specify is more than the number of
available mount points or drives, the processes that do not obtain mount points or
drives will wait indefinitely or until the other migration processes complete and
mount points or drives become available.
The Tivoli Storage Manager server starts the specified number of migration
processes regardless of the number of volumes that are eligible for migration. For
example, if you specify ten migration processes and only six volumes are eligible
for migration, the server will start ten processes and four of them will complete
without processing a volume.
Multiple concurrent migration processing does not affect collocation. If you specify
collocation and multiple concurrent processes, the Tivoli Storage Manager server
attempts to migrate the files for each collocation group, client node, or client file
space onto as few volumes as possible. If files are collocated by group, each
process can migrate only one group at a single time. In addition, if files belonging
to a single collocation group (or node or file space) are on different volumes and
are being migrated at the same time by different processes, the files could be
migrated to separate output volumes.
For example, suppose a copy of a file is made while it is in a disk storage pool.
The file then migrates to a primary tape storage pool. If you then back up the
primary tape storage pool to the same copy storage pool, a new copy of the file is
not needed. The server knows it already has a valid copy of the file.
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.
When cache is disabled and migration occurs, the server migrates the files to the
next storage pool and erases the files from the disk storage pool. By default, the
system disables caching for each disk storage pool because of the potential effects
of cache on backup performance. If you leave cache disabled, consider higher
migration thresholds for the disk storage pool. A higher migration threshold keeps
files on disk longer because migration occurs less frequently.
If fast restores of active client data is your objective, you can also use active-data
pools, which are storage pools containing only active versions of client backup
data. For details, see “Active-data pools” on page 241.
For example, assume that two files, File A and File B, are cached files that are the
same size. If File A was last retrieved on 05/16/08 and File B was last retrieved on
06/19/08, then File A is deleted to reclaim space first.
Deduplicating data
Data deduplication is a method for eliminating redundant data in order to reduce
the storage that is required to retain the data. Only one instance of the data is
retained in a deduplicated storage pool. Other instances of the same data are
replaced with a pointer to the retained instance.
Restriction: When a client backs up or archives a file, the data is written to the
primary storage pool specified by the copy group of the management class that is
bound to the data. To deduplicate the client data, the primary storage pool must be
a sequential-access disk (FILE) storage pool that is enabled for data deduplication.
The ability to deduplicate data on either the backup-archive client or the server
provides flexibility in terms of resource utilization, policy management, and
security. You can also combine both client-side and server-side data deduplication
in the same production environment. For example, you can specify certain nodes
for client-side data deduplication and certain nodes for server-side data
deduplication. You can store the data for both sets of nodes in the same
deduplicated storage pool.
Backup-archive clients that can deduplicate data can also access data that was
deduplicated by server-side processes. Similarly, data that was deduplicated by
client-side processes can be accessed by the server. Furthermore, duplicate data can
be identified across objects regardless of whether the data deduplication is
In addition to whole files, IBM Tivoli Storage Manager can also deduplicate parts
of files that are common with parts of other files. Data becomes eligible for
duplicate identification as volumes in the storage pool are filled. A volume does
not have to be full before duplicate identification starts.
Benefits
Requirements
Restriction: For applications that use the Tivoli Storage Manager API, do not
use the data deduplication cache because backup failures might occur when the
cache is out of sync with the Tivoli Storage Manager server. If multiple,
concurrent Tivoli Storage Manager client sessions are configured, you must
configure a separate cache for each session.
v Enable both client-side data deduplication and compression to reduce the
amount of data that is stored on the server. Each extent is compressed before it
is sent to the server. However, you must balance the benefits of storage savings
versus the processing power that is required to compress client data. In general,
if you compress and deduplicate data on the client system, you typically use
about twice as much processing power as data deduplication alone.
The server can process compressed data that has been deduplicated. In addition,
backup-archive clients earlier than V6.2 can restore deduplicated, compressed
data.
If the backup operation is successful and if the next storage pool is enabled for
data deduplication, the files are deduplicated by the server. If the next storage pool
is not enabled for data deduplication, the files are not deduplicated.
Only V6.2 and later storage agents can use LAN-free data movement to access
storage pools that contain data that was deduplicated by clients. V6.1 storage
agents or later can complete operations over the LAN.
Table 24. Paths for data movement
Storage pool
Storage pool contains a mixture of Storage pool
contains only client-side and contains only
client-side server-side server-side
deduplicated data deduplicated data deduplicated data
V6.1 or earlier Over the LAN Over the LAN LAN-free
storage agent
V6.2 storage agent LAN-free LAN-free LAN-free
V6.2 backup-archive clients are compatible with V6.2 storage agents and provide
LAN-free access to storage pools that contain client-side deduplicated data.
Related concepts:
“Server-side data deduplication” on page 286
Version support
Server-side data deduplication is available only with IBM Tivoli Storage Manager
V6.1 or later servers. For optimal efficiency when using server-side data
deduplication, upgrade to the backup-archive client V6.1 or later.
Client-side data deduplication is available only with Tivoli Storage Manager V6.2
or later servers and backup-archive clients V6.2 or later.
Encrypted files
The Tivoli Storage Manager server and the backup-archive client cannot
deduplicate encrypted files. If an encrypted file is encountered during data
deduplication processing, the file is not deduplicated, and a message is logged.
As a security precaution, you can take one or more of the following steps:
v Enable storage-device encryption together with client-side data deduplication.
v Use client-side data deduplication only for nodes that are secure.
v If you are uncertain about network security, enable Secure Sockets Layer (SSL).
v If you do not want certain objects (for example, image objects) to be processed
by client-side data deduplication, you can exclude them on the client. If an
object is excluded from client-side data deduplication and it is sent to a storage
pool that is set up for data deduplication, the object is deduplicated on server.
v Use the SET DEDUPVERIFICATIONLEVEL command to detect possible security
attacks on the server during client-side data deduplication. Using this command,
you can specify a percentage of client extents for the server to verify. If the
server detects a possible security attack, a message is displayed.
File size
Only files that are more than 2 KB are deduplicated. Files that are 2 KB or less are
not deduplicated.
A return code (RC=254) and message are written to the [Link] file. The
message is also displayed in the command-line client. The error message is:
ANS7899E The client referenced a duplicated extent that does not exist
on the Tivoli Storage Manager server.
The workaround for this situation is to ensure that processes that can cause files to
expire are not run at the same time that back up or archive operations with
client-side data deduplication are performed.
Collocation
You can use collocation for storage pools that are set up for data deduplication.
However, collocation might not have the same benefit as it does for storage pools
that are not set up for data deduplication.
By using collocation with storage pools that are set up for data deduplication, you
can control the placement of data on volumes. However, the physical location of
duplicate data might be on different volumes. No-query-restore, and other
processes remain efficient in selecting volumes that contain non-deduplicated data.
However, the efficiency declines when additional volumes are required to provide
the duplicate data.
Using Tivoli Storage Manager data deduplication can provide several advantages.
However, there are some situations where data deduplication is not appropriate.
Those situations are:
v Your primary storage of backup data is on a Virtual Tape Library or physical
tape. If regular migration to tape is required, the benefits of using data
deduplication are lessened, since the purpose of data deduplication is to reduce
disk storage as the primary location of backup data.
v You have no flexibility with the backup processing window. Tivoli Storage
Manager data deduplication processing requires additional resources, which can
extend backup windows or server processing times for daily backup activities.
v Your restore processing times must be fast. Restore performance from
deduplicated storage pools is slower than from a comparable disk storage pool
that does not use data deduplication. If fast restore performance from disk is a
high priority, restore performance benchmarking must be done to determine
whether the effects of data deduplication can be accommodated.
Related tasks:
“Keeping client files together using collocation” on page 357
“Detecting possible security attacks during client-side data deduplication” on page
302
As part of the planning process, ensure that you will benefit from using data
deduplication. In the following situations, IBM Tivoli Storage Manager data
deduplication can provide a cost-effective method for reducing the amount of disk
storage that is required for backups:
v You have to reduce the disk space that is required for backup storage.
v You must perform remote backups over limited bandwidth connections.
v You are using Tivoli Storage Manager node replication for disaster recovery
across geographically dispersed locations.
v You either have disk-to-disk backup configured (where the final destination of
backup data is on a deduplicating disk storage pool), or data is stored in the
FILE storage pool for a significant time (for example 30 days), or until
expiration.
v For guidance on the scalability of data deduplication with Tivoli Storage
Manager, see Effective Planning and Use of IBM Tivoli Storage Manager V6
Deduplication at [Link]
wikis/home/wiki/Tivoli Storage Manager/page/Effective Planning and Use of
IBM Tivoli Storage Manager V6 Deduplication.
Related concepts:
“Example: Estimating active and archive log sizes for data deduplication
operations” on page 663
Related tasks:
“Detecting possible security attacks during client-side data deduplication” on page
302
If you are creating a primary The Tivoli Storage Manager server does not
sequential-access storage pool and you do start any duplicate-identification processes
not specify a value, the server starts one automatically by default.
process automatically. If you are creating a
copy storage pool or an active-data pool and
you do not specify a value, the server does
not start any processes automatically.
v Decide whether to define or update a storage pool for data deduplication, but
not actually perform data deduplication. For example, suppose that you have a
When you use data deduplication, your system can achieve benefits such as these:
v Reduction in the storage capacity that is required for storage pools on the server
that are associated with a FILE-type device class. This reduction applies for both
server-side and client-side data deduplication.
v Reduction in the network traffic between the client and server. This reduction
applies for client-side deduplication only.
When you implement the suggested practices for data deduplication, you can help
to avoid problems such as these on your system:
v Server outages that are caused by running out of active log space or archive log
space
v Server outages or client backup failures that are caused by exceeding the IBM
DB2 internal lock list limit
v Process failures and hangs that are caused during server data management
Properly size the server database, recovery log, and system memory:
When you use data deduplication, considerably more database space is required as
a result of storing the metadata that is related to duplicate data. Data
deduplication also tends to cause longer-running transactions and a related larger
peak in recovery log usage.
In addition, more system memory is required for caching database pages that are
used during duplicate data lookup for both server-side and client-side data
deduplication.
Tips:
v Ensure that the Tivoli Storage Manager server has a minimum of 64 GB of
system memory.
v Allocate a file system with two-to-three times more capacity for the server
database than you would allocate for a server that does not use data
deduplication. You can plan for 150 GB of database storage for every 10 TB of
data that is protected in the deduplicated storage pools.
v Configure the server to have the maximum active log size of 128 GB by setting
the ACTIVELOGSIZE server option to a value of 131072.
v Use a directory for the database archive logs with an initial free capacity of at
least 500 GB. Specify the directory by using the ARCHLOGDIRECTORY server option.
For more information about managing resources such as the database and recovery
log, see the Installation Guide. Search for database and recovery log capacity
planning.
Avoid the overlap of server maintenance tasks with client backup windows:
When you schedule client backups for a period during which server maintenance
tasks are not running, you create a backup window. This practice is important when
you use data deduplication. Use this process regardless of whether data
deduplication is used with Tivoli Storage Manager.
Migration and reclamation are the tasks most likely to interfere with the success of
client backups.
Tips:
v Schedule client backups in a backup window that is isolated from data
maintenance processes, such as migration and reclamation.
v Schedule each type of data maintenance task with controlled start times and
durations so that they do not overlap with each other.
v If storage-pool backup is used to create a secondary copy, schedule storage-pool
backup operations before you start data deduplication processing to avoid
restoring objects that are sent to a non-deduplicated copy storage pool.
v If you are using node replication to keep a secondary copy of your data,
schedule the REPLICATE NODE command to run after duplicate identification
processes are completed.
For more information about tuning the schedule for daily server maintenance
tasks, see the Optimizing Performance guide. Search for tuning the schedule for daily
operations.
The lock list storage of DB2 that is automatically managed can become insufficient.
If you deduplicate data that includes large files or large numbers of files
concurrently, the data deduplication can cause insufficient storage. When the lock
list storage is insufficient, backup failures, data management process failures, or
server outages can occur.
File sizes greater than 500 GB that are processed by data deduplication are most
likely to cause storage to become insufficient. However, if many backups use
client-side data deduplication, this problem can also occur with smaller-sized files.
Tip: When you estimate the lock list storage requirements, follow the information
described in the technote to manage storage for loads that are much larger than
expected.
You can use controls to limit the potential effect of large objects on data
deduplication processing on the Tivoli Storage Manager server.
You can use the following controls when you deduplicate large-object data:
v Server controls that limit the size of objects. These controls limit the size of
objects that are processed by data deduplication.
v Controls on the data management processes of the server. These controls limit
the number of processes that can operate concurrently on the server.
v Scheduling options that control how many clients run scheduled backups
simultaneously. These scheduling options can be used to limit the number of
clients that perform client-side data deduplication at the same time.
v Client controls whereby larger objects can be processed as a collection of smaller
objects. These controls are primarily related to the Tivoli Storage Manager data
protection products.
Use the server controls that are available on Tivoli Storage Manager server to
prevent large objects from being processed by data deduplication.
Use the following parameter and server options to limit the object size for data
deduplication:
MAXSIZE
For storage pools, the MAXSIZE parameter can be used to prevent large
objects from being stored in a deduplicated storage pool. Use the default
NOLIMIT parameter value, or set the value to be greater than
CLIENTDEDUPTXNLIMIT and SERVERDEDUPTXNLIMIT option values.
Use the MAXSIZE parameter with a deduplicated storage pool to prevent
objects that are too large to be eligible for data deduplication from being
stored in a deduplicated storage pool. The objects are then redirected to the
next storage pool in the storage pool hierarchy.
SERVERDEDUPTXNLIMIT
The SERVERDEDUPTXNLIMIT server option limits the total size of objects that
can be deduplicated in a single transaction by duplicate identification
processes. This option limits the maximum file size that is processed by
server-side data deduplication. The default value for this option is 300 GB,
and the maximum value is 2048 GB. Because less simultaneous activity is
typical with server-side data deduplication, consider having a limit larger
than 300 GB on the object size for server-side data deduplication.
CLIENTDEDUPTXNLIMIT
The CLIENTDEDUPTXNLIMIT server option restricts the total size of all objects
that can be deduplicated in a single client transaction. This option limits
the maximum object size that is processed by client-side data
deduplication. However, there are some methods to break up larger
objects. The default value for this option is 300 GB, and the maximum
value is 1024 GB.
Tips:
v Set the MAXSIZE parameter for deduplicated storage pools to a value slightly
greater than CLIENTDEDUPTXNLIMIT and SERVERDEDUPTXNLIMIT option values.
Use the controls for the data management processes of the Tivoli Storage Manager
server. These controls limit the number of large objects that are simultaneously
processed by the server during data deduplication.
Use the following commands and parameters to limit the number of large objects
that are simultaneously processed by the server:
v The storage pool parameters on the DEFINE STGPOOL command or the UPDATE
STGPOOL command.
– The MIGPROCESS parameter controls the number of migration processes for a
specific storage pool.
– The RECLAIMPROCESS parameter controls the number of simultaneous processes
that are used for reclamation.
v The IDENTIFYPROCESS parameter on the IDENTIFY DUPLICATES command. The
parameter controls the number of duplicate identification processes that can run
at one time for a specific storage pool.
Tips:
v You can safely run duplicate identification processes for more than one
deduplicated storage pool at the same time. However, specify the
IDENTIFYPROCESS parameter with the IDENTIFY DUPLICATES command to limit the
total number of all simultaneous duplicate identification processes. Limit the
total number to a number less than or equal to the number of processors that are
available in the system.
v Schedule duplicate identification processes to run when the additional load does
not affect client operations or conflict with other server processes. For example,
schedule the duplicate identification process to run outside the client backup
window. The duplicate identification processes for the server intensively use the
database and system resources. These processes place additional processing on
the processor and memory of the system.
v Do not overlap different types of operations, such as expiration, reclamation,
migration, and storage pool backup.
v Read the information about data deduplication and the server storage pool. The
effect of data deduplication on system resources is also related to the size of the
file for deduplication. As the size of the file increases, more processing time,
processor resources, memory, and active log space are needed on the server.
Review the document for information about data deduplication and the server
storage pool.
For scheduled backups, you can limit the number of client backup sessions that
perform client-side data deduplication at the same time.
You can use any of the following approaches to limit the number of client backup
sessions:
v Clients can be clustered in groups by using different schedule definitions that
run at different times during the backup window. Consider spreading clients
that use client-side deduplication among these different groups.
v Increase the duration for scheduled startup windows and increase the
randomization of schedule start times. This limits the number of backups that
use client-side data deduplication that start at the same time.
v Separate client backup destinations by using the server policy definitions of the
Tivoli Storage Manager server, so that different groups of clients use different
storage pool destinations:
– Clients for which data is never to be deduplicated cannot use a management
class that has as its destination a storage pool with data deduplication
enabled.
– Clients that use client-side data deduplication can use storage pools where
they are matched with other clients for which there is a higher likelihood of
duplicate matches. For example, all clients that run Microsoft Windows
operating systems can be set up to use a common storage pool. However,
they do not necessarily benefit from sharing a storage pool with clients that
perform backups of Oracle databases.
Many of the data protection products process objects with sizes in the range of
several hundred GBs to one TB. This range exceeds the maximum object size that
is acceptable for data deduplication.
You can reduce large objects into multiple smaller objects by using the following
methods:
v Use Tivoli Storage Manager client features that back up application data with
the use of multiple streams. For example, a 1 TB database is not eligible for data
deduplication as a whole. However, when backed up with four parallel streams,
the resulting four 250 GB objects are eligible for deduplication. For Tivoli Storage
Manager Data Protection for SQL, you can specify a number of stripes to change
the backup into multiple streams.
v Use application controls that influence the maximum object size that is passed
through to Tivoli Storage Manager. Tivoli Storage Manager Data Protection for
Oracle has several RMAN configuration parameters that can cause larger
databases to be broken into smaller objects. These configuration parameters
include the use of multiple channels, or the MAXPIECESIZE option, or both.
Restriction: In some cases, large objects cannot be reduced in size, and therefore
cannot be processed by Tivoli Storage Manager data deduplication:
Processor usage
The amount of processor resources that are used depends on how many client
sessions or server processes are simultaneously active. Additionally, the amount of
processor usage is increased because of other factors, such as the size of the files
that are backed up. When I/O bandwidth is available and the files are large, for
example 1 MB, finding duplicates can use an entire processor during a session or
process. When files are smaller, other bottlenecks can occur. These bottlenecks can
include reading files from the client disk or the updating of the Tivoli Storage
Manager server database. In these bottleneck situations, data deduplication might
not use all of the resources of the processor.
You can control processor resources by limiting or increasing the number of client
sessions for a client or a server duplicate identification processes. To take
advantage of your processor and to complete data deduplication faster, you can
increase the number of identification processes or client sessions for the client. The
increase can be up to the number of processors that are on the system. It can be
more than that number if the processors support multiple hardware-assisted
threads for the core, such as with simultaneous multithreading. Consider a
minimum of at least 8 (2.2Ghz or equivalent) processor cores in any Tivoli Storage
Manager server that is configured for data deduplication.
Network bandwidth
Network bandwidth for the queries for data from the Tivoli Storage Manager client
to the server can be reduced by using the enablededupcache client option. The
cache stores information about extents that have been previously sent to the server.
If an extent is found that was previously sent, it is not necessary to query the
Restore performance
Compression
If the server detects that a security attack is in progress, the current session is
canceled. In addition, setting of the node DEDUPLICATION parameter is changed from
CLIENTORSERVER to SERVERONLY. The SERVERONLY setting disables client-side data
deduplication for that node.
The server also issues a message that a potential security attack was detected and
that client-side data deduplication was disabled for the node.
What to do next
Tip: Verifying extents consumes processing power and adversely affects server
performance. For optimal performance, do not specify values greater than 10 for
the SET DEDUPVERIFICATIONLEVEL command. Other methods for protecting the
server include:
v Enabling client-side data deduplication only for clients that are secure. If you
choose this method, do not change the default setting of SET
DEDUPVERIFICATIONLEVEL command.
v Creating automated scripts to enable client-side data deduplication only during
certain time periods.
v Using storage-device encryption together with client-side data deduplication
v Enabling Secure Sockets Layer (SSL)
v Deduplicating data that uses only server-side data deduplication. Server-side
data deduplication does not expose the server to security attacks from the client.
To show the current value for SET DEDUPVERIFICATIONLEVEL, issue the QUERY STATUS
command. Check the value in the Client-side Deduplication Verification Level
field.
In a FILE storage pool that is not set up for data deduplication, files on a volume
that are being restored or retrieved are read sequentially from the volume before
the next volume is mounted. This process ensures optimal I/O performance and
eliminates the need to mount a volume multiple times.
In a FILE storage pool that is set up for data deduplication, however, extents that
comprise a single file can be distributed across multiple volumes. To restore or
retrieve the file, each volume containing a file extent must be mounted. As a result,
the I/O is more random, which can lead to slower restore-and-retrieve times.
These results occur more often with small files that are less than 100 KB. In
addition, more processor resources are consumed when restoring or retrieving
from a deduplicated storage pool. The additional consumption occurs because the
data is checked to ensure that it has been reassembled properly.
Tip: To reduce the mounting and removing of FILE storage pool volumes, the
server allows for multiple volumes to remain mounted until they are no longer
needed. The number of volumes that can be mounted at a time is controlled by the
NUMOPENVOLSALLOWED option.
Procedure
Results
You can create a storage pool for data deduplication or update an existing storage
pool for data deduplication. You can store client-side deduplicated data and
server-side deduplicated data in the same storage pool.
Procedure
To set up a storage pool for data deduplication, complete the following steps:
v If you are defining a new storage pool:
1. Use the DEFINE STGPOOL command and specify the DEDUPLICATE=YES
parameter.
2. Define a new policy domain to direct eligible client-node data to the storage
pool.
v If you are updating an existing storage pool:
1. Determine whether the storage pool contains data from one or more client
nodes that you want to exclude from data deduplication. If it does:
a. Using the MOVE DATA command, move the data that belongs to the
excluded nodes from the storage pool to be converted to another storage
pool.
b. Direct data that belongs to the excluded nodes to the other storage pool.
The easiest way to complete this task is to create another policy domain
and designate the other storage pool as the destination storage pool.
2. Change the storage-pool definition with the UPDATE STGPOOL command.
Specify the DEDUPLICATE and NUMPROCESSES parameters.
Results
As data is stored in the pool, the duplicates are identified. When the reclamation
threshold for the storage pool is reached, reclamation begins, and the space that is
occupied by duplicate data is reclaimed.
Attention: By default, the Tivoli Storage Manager server requires that you back
up deduplication-enabled primary storage pools before volumes in the storage
pool are reclaimed and before duplicate data is discarded.
You can create a copy of the data by using BACKUP STGPOOL or REPLICATE NODE
command. When you back up a primary storage pool, you create a copy of the
entire storage pool. When you replicate data by using node replication, you copy
data from one or more nodes from primary storage pools to a primary storage
pool on another Tivoli Storage Manager server.
Important: If you do not want to create a copy of the storage pool data, you must
change the DEDUPREQUIRESBACKUP option to No. Failure to set the option correctly
can cause deduplication to not work correctly and cause your data to not be
reclaimed.
Table 26 describes the different scenarios that you can use to create a copy of data
in your deduplicated storage pools, and which value of DEDUPREQUIRESBACKUP to
use.
Table 26. Setting the value for the DEDUPREQUIRESBACKUP option
Creating a copy of your primary storage pool DEDUPREQUIRESBACKUP
data value Method
Back up your primary storage pool data to a Yes BACKUP STGPOOL
non-deduplicated copy pool, such as a copy
pool that uses tape.
Back up your primary storage pool data to a No BACKUP STGPOOL
deduplicated copy pool.
Depending on the method that you chose to create a copy of the data in the
primary storage pools, complete one of the following actions:
Procedure
v Use the storage pool backup command to back up data:
1. Issue the BACKUP STGPOOL command. If you set the DEDUPREQUIRESBACKUP
option to yes, you must back up data to a copy storage pool that is not set
up for data deduplication.
Tip: When you copy data to an active data pool, it does not provide the
same level of protection that occurs when you create a storage pool backup
or use node replication.
2. Issue the IDENTIFY DUPLICATES command to identify duplicate data.
Tip: If you backup storage pool data after duplicate data is identified, the
copy process can take longer because the data must be reconstructed to find
any duplicate data.
v Use the node replication command to back up data:
1. Issue the IDENTIFY DUPLICATES command to identify duplicate data.
2. Issue the REPLICATE NODE command to start node replication.
The following table illustrates what happens to data deduplication when data
objects are moved or copied.
Table 27. Effects when moving or copying data
...and you move or copy
If the source storage data to a target storage
pool is... pool that is... The result is...
Set up for data Set up for data All data objects in the source pool are
deduplication deduplication examined for existence in the target
pool. If an object exists in the target
pool, information about data
deduplication is preserved so that the
data does not need to be deduplicated
again. If an object does not exist in the
target pool, it is moved or copied.
Not set up for data The data is not deduplicated in the
deduplication target storage pool. This rule applies to
any type of storage pool, including
storage pools that use virtual volumes.
Deduplicated data, which was in the storage pool before you turned off data
deduplication, is not reassembled. Deduplicated data continues to be removed due
to normal reclamation and deletion. All information about data deduplication for
the storage pool is retained.
Procedure
To turn off data deduplication for a storage pool, use the UPDATE STGPOOL
command and specify DEDUPLICATE=NO.
What to do next
If you turn data deduplication on for the same storage pool, duplicate-
identification processes resume, skipping any files that are previously processed.
You can change the number of duplicate-identification processes. When you are
calculating the number of duplicate-identification processes to specify, consider the
workload on the server and the amount of data that requires data deduplication.
The number of duplicate-identification processes must not exceed the number of
processor cores available on the IBM Tivoli Storage Manager server.
The following table shows how the data deduplication settings on the client
interact with the data deduplication settings on the Tivoli Storage Manager server.
Table 28. Data deduplication settings: Client and server
Value of the
DEDUPLICATION Value of the client
parameter for REGISTER NODE DEDUPLICATION option
or UPDATE NODE in the client options file Data deduplication location
SERVERONLY Yes Server
You can set the DEDUPLICATION option in the client options file, in the preference
editor of the Tivoli Storage Manager client GUI, or in the client option set on the
Tivoli Storage Manager server. Use the DEFINE CLIENTOPT command to set the
DEDUPLICATION option in a client option set. To prevent the client from overriding
the value in the client option set, specify FORCE=YES.
Procedure
Table 29 shows how these two controls, the number and duration of processes,
interact for a particular storage pool.
Remember:
v When the amount of time that you specify as a duration expires, the number of
duplicate-identification processes always reverts to the number of processes
specified in the storage pool definition.
v When the server stops a duplicate-identification process, the process completes
the current physical file and then stops. As a result, it might take several
minutes to reach the value that you specify as a duration.
v To change the number of duplicate-identification processes, you can also update
the storage pool definition using the UPDATE STGPOOL command. However, when
you update a storage pool definition, you cannot specify a duration. The
processes that you specify in the storage pool definition run indefinitely, or until
you issue the IDENTIFY DUPLICATES command, update the storage pool definition
again, or cancel a process.
The following example illustrates how you can control data deduplication using a
combination of automatic and manual duplicate-identification processes. Suppose
you create two new storage pools for data deduplication, A and B. When you
create the pools, you specify two duplicate-identification processes for A and one
process for B. The IBM Tivoli Storage Manager server is set by default to run those
processes automatically. As data is stored in the pools, duplicates are identified and
marked for removal. When there is no data to deduplicate, the
duplicate-identification processes go into an idle state, but remain active.
Suppose you want to avoid resource impacts on the server during client-node
backups. You must reduce the number of duplicate-identification processes
manually. For A, you specify a value of 1 for the number of duplicate-identification
process. For B, you specify a value of 0. You also specify that these changes remain
in effect for 60 minutes, the duration of your backup window.
Specifying these values causes two of the three running processes to finish the files
on which they are working and to stop. One duplicate-identification process is
now running for A. No duplicate-identification processes are running for B. After
60 minutes, the Tivoli Storage Manager server automatically resets the
data-deduplication processes to the values specified in the storage pool definition.
One process starts for A, for a total of two running processes. One process also
starts for B.
Procedure
For example, suppose that you have four storage pools: stgpoolA, stgpoolB,
stgpoolC, and stgpoolD. All the storage pools are associated with a particular IBM
Tivoli Storage Manager server. Storage pools A and B are each running one
duplicate-identification process, and storage pools C and D are each running two.
A 60-minute client backup is scheduled to take place, and you want to reduce the
server workload from these processes by two-thirds.
Now two processes are running for 60 minutes, one third of the number running
before the change. At the end of 60 minutes, the Tivoli Storage Manager server
automatically restarts one duplicate-identification process in storage pools A and B,
and one process in storage pools C and D.
Procedure
Results
For details about client-side data deduplication options, see the Backup-Archive
Clients Installation and User's Guide.
Related concepts:
“Client-side data deduplication” on page 286
In this example, you enable client-side data deduplication for a single node. You
have a policy domain that you use to manage deduplicated data.
The name of the domain that you use to manage deduplicated data is
dedupdomain1. The primary storage pool that is specified by the copy group of
the default management class is a deduplication-enabled storage pool. The client,
MATT, that you want to enable for data deduplication uses a default management
class for backup operations.
Procedure
To enable client-side data deduplication for a single node, complete the following
steps:
v On the server, assign client node MATT to dedupdomain1:
update node matt domain=dedupdomain1 deduplication=clientorserver
The setting of the DEDUPLICATION parameter must be CLIENTORSERVER
v Add the following option to the [Link] file:
deduplication yes
You can also set the DEDUPLICATION option in the preference editor of the Tivoli
Storage Manager client GUI or in the client option set on the Tivoli Storage
Manager server. Use the DEFINE CLIENTOPT command to set the DEDUPLICATION
option in a client option set. To prevent the client from overriding the value in
the client option set, specify FORCE=YES.
What to do next
To determine the amount of data that was deduplicated, start a backup or archive
operation. At the end of the operation, check the backup or archive report.
In this example, you enable client-side data deduplication for more than one client
node.
Procedure
The data belonging client MATT is bound to a management class with a copy
group that specifies a deduplication-enabled destination storage pool.
Procedure
To change the data deduplication location from the client to the server, issue the
following command:
update node matt deduplication=serveronly
The extent to which these symptoms occur depends on the number and size of the
objects that are being processed, the intensity, and the type of concurrent
operations that are taking place on the IBM Tivoli Storage Manager server, and the
Tivoli Storage Manager server configuration.
With the SERVERDEDUPTXNLIMIT server option, you can limit the size of objects that
can be deduplicated on the server. With the CLIENTDEDUPTXNLIMIT server option,
you can limit the size of transactions when client-side deduplicated data is backed
up or archived.
Results
Tip: To control which objects are deduplicated, you can also use the MAXSIZE
parameter of the DEFINE STGPOOL and UPDATE STGPOOL commands. Using the
MAXSIZE parameter, you can force large objects to the NEXT storage pool for
storage.
What to do next
Data deduplication uses an average extent size of 256 KB. When deduplicating
large objects, for example, over 200 GB, the number of extents for an object can
grow large. Assuming extents are 256 KB, there are 819,200 extents for a 200 GB
object. When you need to restore this object, all 819,200 database records must be
read before the object is accessible.
Tiered data deduplication can manage larger objects because a larger average
extent size is used when deduplicating the data. For example, after an object
reaches 200 GB, the Tivoli Storage Manager server uses 1 MB as the average extent
size, instead of 256 KB. 819,200 extents become 204,800 extents.
Note: By default, objects under 100 GB in size are processed at Tier 1. Objects in
the range of 100 GB to under 400 GB are processed in Tier 2. All objects 400 GB
and larger are processed in Tier 3.
Depending on your environment, you can set different options for using tiered
data deduplication. However, if possible, avoid changing the default tier settings.
Small changes might be tolerated, but frequent changes to these settings can
prevent matches between previously stored backups and future backups.
Example
If you want to use two tiers for data deduplication instead of three, you can set the
DEDUPTIER2FILESIZE and DEDUPTIER3FILESIZE accordingly.
Use Tier 1 and Tier 2 only
To have two tiers with an average extent size of 256 KB and 1 MB, specify
these values:
DEDUPTIER2FILESIZE 100
DEDUPTIER3FILESIZE 9999
Use Tier 1 and Tier 3 only
To have two tiers with an average extent size of 256 KB and 2 MB, specify
these values:
DEDUPTIER2FILESIZE 100
DEDUPTIER3FILESIZE 100
If you do not want to use tiered data deduplication and instead preserve your
existing environment, set the value for both of the tiered data deduplication
options to 9999. For example:
DEDUPTIER2FILESIZE 9999
DEDUPTIER3FILESIZE 9999
If both options are set to 9999, then all files that are 10 TB or less are processed
with the default extent size of 256 KB.
You can also obtain statistics about client-side data deduplication. For details, see
Backup-Archive Clients Installation and User's Guide.
To query a storage pool for statistics about data deduplication, issue the QUERY
STGPOOL command.
What to do next
If you run a query before reclamation of the storage pool, the Duplicate Data Not
Stored value in the command output is inaccurate and does not reflect the most
recent data reduction.
Procedure
You can display information only about files that are linked to a volume or only
about files that are stored on a volume. You can also display information about
both stored files and linked files.
Procedure
To display information about files on a volume, issue the QUERY CONTENT command
and specify the FOLLOWLINKS parameter.
For example, suppose a volume in a deduplicated storage pool is physically
destroyed. You must restore this volume. Before you do, you want to determine
whether other volumes in the storage pool have files that are linked to files in the
destroyed volume. With that information, you can decide whether to restore the
other volumes. To identify links, you issue the QUERY CONTENT command for the
destroyed volume and specify the FOLLOWLINKS parameter to list all the files with
links to files on the destroyed volume.
You can use the activity log to view client statistics about data deduplication. The
activity log can show historical information about one or more nodes. You can also
view data reduction information for data deduplication by using the Tivoli Storage
Manager API.
Procedure
To view client statistics for data deduplication, see the activity log, or use the
Tivoli Storage Manager API.
Example
The following client statistics are taken from the activity log:
tsm> incremental c:\test\* -sub=yes
Incremental backup of volume ’c:\test\*’
Normal File--> 43,387,224 \\naxos\c$\test\newfile [Sent]
Successful incremental backup of ’\\naxos\c$\test\*’
The \\naxos\c$\test directory uses approximately 143.29 MB of space. All files are
already stored on the Tivoli Storage Manager server except the c:\test\newfile
file, which is 41.37 MB (43,387,224 bytes). After client-side data deduplication, it is
determined that only approximately 21 MB will be sent to the server.
The following client statistics are produced using the Tivoli Storage Manager API:
typedef struct tsmEndSendObjExOut_t
{
dsUint16_t stVersion; /* structure version */
dsStruct64_t totalBytesSent; /* total bytes read from app */
dsmBool_t objCompressed; /* was object compressed */
After each backup or archive operation, the Tivoli Storage Manager client reports
the data deduplication statistics in the server activity log. For details about the
activity log, see the Tivoli Storage Manager Information Center, and search for
activity log.
Procedure
To query the data deduplication statistics for the client, issue the QUERY ACTLOG
command.
Example
See the following example for sample information provided by the QUERY ACTLOG
command:
tsm: HALLEY>q actlog nodename=’modo’
Date/Time Message
-------------------- ----------------------------------------------------------
03/15/10 [Link] ANE4952I (Session: 406, Node: MODO)
Total number of objects inspected: 1 (SESSION: 406)
03/15/10 [Link] ANE4954I (Session: 406, Node: MODO)
Total number of objects backed up: 1 (SESSION: 406)
03/15/10 [Link] ANE4958I (Session: 406, Node: MODO)
Total number of objects updated: 0 (SESSION: 406)
03/15/10 [Link] ANE4960I (Session: 406, Node: MODO)
Total number of objects rebound: 0 (SESSION: 406)
03/15/10 [Link] ANE4957I (Session: 406, Node: MODO)
Total number of objects deleted: 0 (SESSION: 406)
03/15/10 [Link] ANE4970I (Session: 406, Node: MODO)
Total number of objects expired: 0 (SESSION: 406)
03/15/10 [Link] ANE4959I (Session: 406, Node: MODO)
The following example shows how to use the activity log to gather the data
reduction information across all nodes that belong to the DEDUP domain:
dsmadmc -id=admin -password=admin -displaymode=list -scrollprompt=no "select
DISTINCT [Link], [Link] from ACTLOG A1, ACTLOG A2 where [Link]
in (select NODE_NAME from nodes where domain_name=’DEDUP’) and
[Link]=[Link] and [Link]=4977 and [Link]=4961 and EXISTS
(select [Link] from ACTLOG A3 where [Link]=[Link] and [Link]=4982)"
| grep ’MESSAGE:’ | sed -r ’s/MESSAGE:.*:\s+([0-9]+(\.[0-9]+)?)\s+
(B|KB|MB|GB|TB).*(SESSION: .*)/\1 \3/’ | sed -r ’s/\.//’ | awk -f [Link]
{ if ($2=="B") valueInKB = 0;
if ($2=="KB") valueInKB = $1;
if ($2=="MB") valueInKB = $1 * 1024;
if ($2=="GB") valueInKB = $1 * 1024 * 1024;
if ($2=="TB") valueInKB = $1 * 1024 * 1024 *1024;
The QUERY ACTLOG command gives a summary, as shown in the following example:
Number of bytes inspected: 930808832 KB
Number of bytes transferred: 640679936 KB
Data reduction ratio: 31 %
Procedure
To query where client file spaces are stored and how much space they occupy,
issue the QUERY OCCUPANCY command.
Example
In the following example, 10 MB of data is placed in the FS1 file space, and 2 MB
is marked for expiration and is removed during the next expiration process.
Therefore, Physical Space Occupied reports 10 MB and Logical Space Occupied
reports 8 MB. The Physical Space Occupied value for storage pools that use data
deduplication is not shown.
tsm: SERVER1>q occupancy dedup*
The occupancy table shows how much physical space is occupied by a file space
after the removal of the deduplication savings. These savings are gained by
removing duplicated data from the file space. You can use select * from
occupancy to get LOGICAL_MB and REPORTING_MB values.
LOGICAL_MB is the amount of space that is used by this file space. REPORTING_MB is
the amount of space that is occupied when the data is not placed in a
deduplication-enabled storage pool.
NODE_NAME: BRIAN
TYPE: Bkup
FILESPACE_NAME: \\brain\c$
STGPOOL_NAME: MYFILEPOOL
NUM_FILES: 63
PHYSICAL_MB: 0.00
LOGICAL_MB: 10.00
REPORTING_MB: 30.00
FILESPACE_ID: 17
Tip: The LOGICAL_MB value takes into account only the amount of data that is
removed or not stored because the data is identified as a duplicate of data that is
stored elsewhere.
For example, the \\brian\c$ file space backs up 20 MB of unique data, which
means that LOGICAL_MB is 20 MB. The \\jim\c$ file space must not back up any
data because it is an exact duplicate of the \\brian\c$ file space, which means that
For example, IBM Tivoli Storage Manager for Mail and IBM Tivoli Storage
Manager for Databases can use client-side data deduplication through the Tivoli
Storage Manager API to create backup sets and export node data.
Image backup can be full or incremental. In a typical scenario, full image backups
are scheduled less frequently than incremental image backups. For example, a full
image backup is scheduled weekly and incremental backups are scheduled daily,
except for the day of the selective image backup. The frequency of full image
backups is often driven by the available storage space. For example, each image
backup of a 50 GB volume might need 50 GB of space in a storage pool.
You can use VSS on Windows Server 2003, Windows Server 2008, and Windows
Vista operating systems. For details about backing up the Windows system state,
see Tivoli Storage Manager: Client Installation and User Guide.
System state can contain thousands of objects and take a large amount of storage
space on the server. It is likely that system state objects do not change much
between backups. This results in a large amount of duplicate data being stored on
the server. In addition, similar systems are likely to have a similar system state.
Therefore, when you perform system state backups on these systems, there is an
increase in duplicate data.
In the following example, a backup of the system state was performed on two
similar systems that run Windows Server 2008. There was no data backed up to
the storage pool. On the first system, the system-state data was deduplicated by
45%, as shown in Figure 22. A backup of the system state yielded a deduplication
reduction of 98% on the second system, as shown in Figure 23 on page 326.
This example shows a sample deduplication reduction of 45% for the system state
data:
This example shows a sample deduplication reduction of 98% for the system state
data:
Tivoli Storage Manager for Virtual Environments backups consist of all virtual
machines in the environment. Often, large portions of individual backups are
common with other backups. Therefore, when you perform backup operations,
there is an increase in duplicate data.
When you use client-side data deduplication in combination with backups for
Tivoli Storage Manager for Virtual Environments, you can reduce the amount of
duplicate data that is stored on the server. The reduction amount varies, depending
on the makeup of your data.
Before you use data deduplication, ensure that your system meets all prerequisites.
You can turn on client-side data deduplication by adding DEDUPLICATION YES to the
[Link] file.
Related concepts:
“Client-side data deduplication” on page 286
In Tivoli Storage Manager V6.1 or earlier, data protection clients do not provide
data deduplication reduction statistics in the graphical user interface. In this
situation, you can verify that data deduplication occurs.
Procedure
When only the metadata of the file is changed, for example, with access control
lists or extended attributes, typically the whole file is backed up again. With
client-side data deduplication, although the file is backed up again, only the
metadata is sent to the server.
Client-side data deduplication identifies extents in the data stream and calculates
the associated hash sums. Data deduplication determines whether a data extent
with the same hash sum is already stored on the server. If it is already stored, the
backup-archive client only needs to notify the server about the hash sum, and can
avoid sending the corresponding data extent. This process reduces the amount of
data that is exchanged between the Tivoli Storage Manager backup-archive client
and the server.
The Tivoli Storage Manager client cannot use a cache for data deduplication if
there is not enough file space for a hash sum cache. Client-side data deduplication
can take place, but it has no memory of hash sums that are already sent by the
client or already found on the server. Data deduplication, generally, must query the
server to find out if hash sums are duplicates. Hash sum lists are maintained in
memory for the life of a transaction. If a hash sum is encountered multiple times
within the same transaction, the hash sum is detectable without a cache.
The cache for client-side data deduplication can become unsynchronized with the
deduplicated disk storage pool of the server. Object expiration, file space deletion,
or overflow to an associated tape storage pool can cause the cache to be
unsynchronized. When the client cache contains entries that are no longer in the
deduplicated storage pool of the Tivoli Storage Manager server, the client cache
resets. The client cache cannot delete specific entries when objects are deleted from
the storage pool of the server.
When a backup set is created for a node by using the GENERATE BACKUPSET
command, all associated node data is placed onto the backup media. It is also
placed on the backup media when node data is exported for a node by the EXPORT
NODE command. This placement ensures that the associated objects can be restored
without any server dependencies, apart from the backup media.
Compression
Consider the following factors when you use data compression in an environment
that uses multiple clients:
v Extents that are compressed by a backup-archive client that uses Tivoli Storage
Manager V6.1 or earlier are not compatible with compressed extents from a V6.2
client. Extents are also not compatible with uncompressed extents because each
version uses a different compression algorithm.
v With a deduplication storage pool that contains data from clients that are V6.2
and earlier, there is a mixture of compressed and non-compressed extents. For
example, assume that a restore operation is run from a client that is earlier than
V6.2. Compressed extents from a client at a later version of Tivoli Storage
Manager are uncompressed by the server during the restore operation.
v When backup sets are generated for clients that are at a version earlier than
V6.2, V6.2 compressed extents that are also part of the data to be backed up are
uncompressed.
Even though most data is compatible when using compression, ensure that all
clients are at V6.2 and later. This method minimizes the need for data compression
when you restore data or create a backup set.
Data that is stored by earlier client versions and processed for deduplication
extents by the server is compatible with new extents. For example, an extent that is
identified by the server from an earlier client version matches the query from
client-side data deduplication to the server. The extent is not sent to the server,
Data extents that are created by different operations are compatible. For example,
data extents are compatible that are created by file-level, image, or IBM Tivoli
Storage Manager FastBack mount backups. This can mean that a greater proportion
of the extents can be deduplicated.
Assume that you integrate the Tivoli Storage Manager FastBack mount with Tivoli
Storage Manager to back up volumes to a Tivoli Storage Manager server. The
Tivoli Storage Manager client backs up the Tivoli Storage Manager FastBack
repository to a remote server. You previously performed an image or a file-level
backup of this data with Tivoli Storage Manager client. Then it is likely that the
Tivoli Storage Manager FastBack mount backup can use many data extents that are
already stored on the server.
For example, you perform an image backup of a volume that uses the Tivoli
Storage Manager client. Then you back up the same volume with Tivoli Storage
Manager FastBack. You can expect a greater amount of data deduplication when
you back up the Tivoli Storage Manager FastBack mount.
Data extents that are created by a file-level backup can be used by the Tivoli
Storage Manager client during an image backup. For example, you perform a full
incremental backup of the C drive on your computer. Then you run an image
backup of the same drive. You can expect a greater amount of data deduplication
during the image backup. You can also expect a greater amount of data
deduplication during a file-level backup or an archive operation that immediately
follows an image backup.
Data deduplication is only permitted for storage pools that are associated with a
devtype=FILE device class. The following scenarios show how you can implement
the data deduplication of storage pools to ensure that you can restore data if a
failure occurs.
Primary storage pool is deduplicated and a single copy storage pool is not
deduplicated
The amount of time required to back up the primary storage pool to a
non-deduplicated copy storage pool can increase. While data is copied to
the copy storage pool, the deduplicated data that represents a file must be
read. The file must be recreated and stored in the copy storage pool.
You can write data simultaneously during any of the following operations:
v Client store sessions, for example:
– Backup and archive sessions by Tivoli Storage Manager backup-archive
clients.
– Backup and archive sessions by application clients using the Tivoli Storage
Manager API.
The maximum number of copy storage pools and active-data pools to which data
can be simultaneously written is three. For example, you can write data
simultaneously to three copy storage pools, or you can write data simultaneously
to two copy storage pools and one active-data pool.
You can specify the simultaneous-write function for a primary storage pool if it is
the target for client store sessions, server import processes, or server
data-migration processes. You can also specify the simultaneous-write function for
a primary storage pool when it is the target for all of the eligible operations.
Writing data simultaneously during client store sessions might be the logical choice
if you have sufficient time for mounting and removing tapes during the client store
session. However, if you choose this option you must ensure that a sufficient
number of mount points and drives are available to accommodate all the client
nodes that are storing data.
As a best practice, you are probably issuing the BACKUP STGPOOL and COPY
ACTIVEDATA commands for all the storage pools in your storage pool hierarchy. If
you are, and if you migrate only a small percentage of data from the primary
storage pool daily, writing data simultaneously during client store sessions is the
Use the simultaneous-write function during migration if you have many client
nodes and the number of mount points that are required to write data
simultaneously during client store sessions is unacceptable. Similarly, mounting
and removing tapes when writing data simultaneously during client store sessions
might be taking too much time. If so, consider writing data simultaneously during
migration.
By default, the Tivoli Storage Manager server writes data simultaneously during
client store sessions if you have copy storage pools or active-data pools defined to
the target storage pool.
You can also disable the simultaneous-write function. This option is useful if you
have copy storage pools or active-data pools defined, but you want to disable the
simultaneous-write function without deleting and redefining the pools.
Remember:
v Specify a value for the AUTOCOPY parameter on the primary storage pool that is
the target of data movement. (The default is to write data simultaneously during
client store sessions and server import processes.) For example, if you want to
write data simultaneously only during server data-migration processes, specify
AUTOCOPY=MIGRATION in the definition of the next storage pool in the storage pool
hierarchy.
v The AUTOCOPY parameter is not available for copy storage pools or active-data
pools.
IBM Tivoli Storage Manager provides the following options for controlling when
simultaneous-write operations occur:
Procedure
v To disable the simultaneous-write function, specify AUTOCOPY=NONE.
This option is useful, if, for example, you have copy storage pools or active-data
pools defined, and you want to temporarily disable the simultaneous-write
function without having to delete and then redefine the pools.
v To specify simultaneous-write operations only during client store sessions and
server import processes, specify AUTOCOPY=CLIENT.
During server import processes, data is simultaneously written only to copy
storage pools. Data is not written to active-data pools during import processes.
v To specify that simultaneous-write operations take place only during server
data-migration processes, specify AUTOCOPY=MIGRATION.
During server data migration, data is simultaneously written to copy storage
pools and active-data pools only if the data does not exist in those pools.
v To specify that simultaneous-write operations take place during client store
sessions, server data-migration processes, and server import processes, specify
AUTOCOPY=ALL.
A primary storage pool can be the target for more than one type of data
movement. For example, the next storage pool in a storage pool hierarchy can be
the target for data migration from the primary storage pool at the top of the
hierarchy. The next storage pool can also be the target for direct backup of
certain types of client files (for example, image files). The AUTOCOPY=ALL setting
on a primary storage pool ensures that data is written simultaneously during
both server data-migration processes and client store sessions.
The following table provides examples of AUTOCOPY settings for some common
scenarios in which the simultaneous-write function is used.
Table 30. AUTOCOPY settings
Set the AUTOCOPY parameter
for the primary storage pool Set the AUTOCOPY parameter
at the top of the storage for the next primary storage
If your goal is... hierarchy to... pool to...
To disable the NONE NONE
simultaneous-write function
To enable simultaneous-write CLIENT NONE
operations only during client
store sessions and server
import processes
To enable simultaneous-write NONE MIGRATION
operations only during
server data-migration
processes
To simultaneously write NONE ALL
client files to copy storage
pools during migration. You
also want simultaneous-write
operations to occur for files
that are directly backed up to
the next storage pool.
To enable simultaneous-write ALL ALL
operations during any of the
following operations: client
store sessions, server import
processes, and server
data-migration processes.
For details about the DEFINE STGPOOL and UPDATE STGPOOL commands and
parameters, see the Administrator's Reference.
The parameters that are used to specify copy storage pools and active-data pools
are on the DEFINE STGPOOL and UPDATE STGPOOL commands.
Procedure
v To specify copy storage pools, use the COPYSTGPOOLS parameter.
v To specify active-data pools, use the ACTIVEDATAPOOLS parameter.
Ensure that client sessions have sufficient mount points. Each session requires one
mount point for the primary storage pool and a mount point for each copy storage
pool and each active-data pool. To allow a sufficient number of mounts points, use
the MAXNUMMP parameter on the REGISTER NODE or UPDATE NODE commands.
Example
For details about the DEFINE STGPOOL and UPDATE STGPOOL commands, refer to the
Administrator's Reference.
Related concepts:
“Rules of inheritance for the simultaneous-write function” on page 338
Use the COPYCONTINUE parameter on the DEFINE STGPOOL command to specify how
the server reacts to a write failure to copy storage pools during client store
sessions:
Procedure
v To stop writing to failing copy storage pools for the remainder of the session,
but continue storing files into the primary pool and any remaining copy pools or
active-data pools, specify COPYCONTINUE=YES.
The copy storage pool list is active only for the life of the session and applies to
all the primary storage pools in a particular storage pool hierarchy.
v To fail the transaction and discontinue the store operation, specify
COPYCONTINUE=NO.
What to do next
Restrictions:
v The setting of the COPYCONTINUE parameter does not affect active-data pools. If a
write failure occurs for any of active-data pools, the server stops writing to the
failing active-data pool for the remainder of the session, but continues storing
files into the primary pool and any remaining active-data pools and copy
storage pools. The active-data pool list is active only for the life of the session
and applies to all the primary storage pools in a particular storage pool
hierarchy.
v The setting of the COPYCONTINUE parameter does not affect the simultaneous-write
function during server import. If data is being written simultaneously and a
write failure occurs to the primary storage pool or any copy storage pool, the
server import process fails.
v The setting of the COPYCONTINUE parameter does not affect the simultaneous-write
function during migration. If data is being written simultaneously and a write
failure occurs to any copy storage pool or active-data pool, the failing storage
pool is removed and the data migration process continues. Write failures to the
primary storage pool cause the migration process to fail.
When a client backs up, archives, or migrates a file, or when the server imports
data, the data is written to the primary storage pool that is specified by the copy
group of the management class that is bound to the data. If a data storage
operation or a server import operation switches from the primary storage pool at
the top of a storage hierarchy to a next primary storage pool in the hierarchy, the
next storage pool inherits the list of copy storage pools, the list of active-data
pools, and the value of the COPYCONTINUE parameter from the primary storage pool
at the top of the storage pool hierarchy.
The following rules apply during a client store session or a server import process
when the server must switch primary storage pools:
v If the destination primary storage pool has one or more copy storage pools or
active-data pools defined using the COPYSTGPOOLS or ACTIVEDATAPOOLS
parameters, the server writes the data to the next storage pool and to the copy
storage pools and active-data pools that are defined to the destination primary
pool, regardless whether the next pool has copy pools defined.
The setting of the COPYCONTINUE of the destination primary storage pool is
inherited by the next primary storage pool. The COPYCONTINUE parameter
specifies how the server reacts to a copy storage-pool write failure for any of the
copy storage pools listed in the COPYSTGPOOLS parameter. If the next pool has
copy storage pools or active-data pools defined, they are ignored as well as the
value of the COPYCONTINUE parameter.
v If no copy storage pools or active-data pools are defined in the destination
primary storage pool, the server writes the data to the next primary storage
pool. If the next pool has copy storage pools or active-data pools defined, they
are ignored.
These rules apply to all the primary storage pools within the storage pool
hierarchy.
Related tasks:
“Specifying copy pools and active-data pools for simultaneous-write operations”
on page 336
“Specifying how the server reacts to a write failure during simultaneous-write
operations” on page 337
With DISKPOOL and TAPEPOOL already defined as your storage pool hierarchy,
issue the following commands to enable the simultaneous-write function:
define stgpool copypool1 mytapedevice pooltype=copy
define stgpool copypool2 mytapedevice pooltype=copy
define stgpool activedatapool mydiskdevice pooltype=activedata
update stgpool diskpool copystgpools=copypool1,copypool2 copycontinue=yes
activedatapools=activedatapool
where MYTAPEDEVICE is the device-class name associated with the copy storage
pools and MYDISKDEVICE is the device-class name associated with the
active-data pool.
The storage pool hierarchy and the copy storage pools and active-data pool
associated with DISKPOOL are displayed in Figure 24 on page 340.
to
Po
ts
in
in
ts
Po
to
ACTIVEDATAPOOL
DISKPOOL
COPYPOOL2
TAPEPOOL
COPYPOOL1
Figure 24. Example of storage pool hierarchy with copy storage pools defined for DISKPOOL
E
D
C
B
C C A COPYPOOL1
D D
E B
A
E
Client in DISKPOOL
NORMAL domain
next pool
TAPEPOOL
As a precaution, issue the BACKUP STGPOOL and COPY ACTIVEDATA commands after
the backup operation has completed. Data that is simultaneously written to copy
storage pools or active-data pools during migration is not copied when storage
pools are backed up or when active data is copied.
In this example, the next storage pool in a hierarchy inherits empty copy storage
pool and active-data pool lists from the primary storage pool at the top of the
storage hierarchy.
You do not specify a list of copy storage pools for DISKPOOL. However, you do
specify copy storage pools for TAPEPOOL (COPYPOOL1 and COPYPOOL2) and
an active-data pool (ACTIVEDATAPOOL). You also specify a value of YES for the
COPYCONTINUE parameter. Issue the following commands to enable the
simultaneous-write function:
define stgpool copypool1 mytapedevice pooltype=copy
define stgpool copypool2 mytapedevice pooltype=copy
define stgpool activedatapool mydiskdevice pooltype=activedata
update stgpool tapepool copystgpools=copypool1,copypool2
copycontinue=yes activedatapools=activedatapool
where MYTAPEDEVICE is the device-class name associated with the copy storage
pools and MYDISKDEVICE is the device-class name associated with the
active-data pool. Figure 26 on page 342 displays this configuration.
Po
to
int
ts
s
in
to
Po
DISKPOOL
TAPEPOOL ACTIVEDATAPOOL
COPYPOOL2
COPYPOOL1
Figure 26. Example of storage pool hierarchy with copy storage pools defined for TAPEPOOL
When files A, B, C, D, and E are backed up, the following events occur:
v A, B, C, and D are written to DISKPOOL.
v File E is written to TAPEPOOL.
See Figure 27 on page 343.
COPYPOOL2
B
A
C C COPYPOOL1
D D
E B
A
E
Client in DISKPOOL
NORMAL domain
next pool
TAPEPOOL
Although TAPEPOOL has copy storage pools and an active-data pool defined, file
E is not copied because TAPEPOOL inherits empty copy storage pool and
active-data pool lists from DISKPOOL.
As a precaution, issue the BACKUP STGPOOL and COPY ACTIVEDATA commands after
the backup operation has completed. Data that is simultaneously that is written to
copy storage pools or active-data pools during migration is not copied when
primary storage pools are backed up or when active data is copied.
You specify COPYPOOL1 and COPYPOOL2 as copy storage pools for DISKPOOL
and you set the value of the COPYCONTINUE parameter to YES. You also specify
ACTIVEDATAPOOL as the active-data pool for DISKPOOL. This configuration is
identical to the configuration in the first example.
When files A, B, C, D, and E are backed up, the following events occur:
v An error occurs while writing to COPYPOOL1, and it is removed from the copy
storage pool list that is held in memory by the server. The transaction fails.
v Because the value of the COPYCONTINUE parameter is YES, the client tries the
backup operation again. The in-memory copy storage pool list, which is retained
by the server for the duration of the client session, no longer contains
COPYPOOL1.
v Files A and B are simultaneously written to DISKPOOL, ACTIVEDATAPOOL,
and COPYPOOL2.
v Files C and D are simultaneously written to DISKPOOL and COPYPOOL2.
v File E is simultaneously written to TAPEPOOL and COPYPOOL2.
See Figure 28 on page 344.
E
DISKPOOL
Client in
NORMAL domain
next pool
TAPEPOOL
In this scenario, if the primary storage pools and COPYPOOL2 become damaged
or lost, you might not be able to recover your data. For this reason, issue the
following BACKUP STGPOOL command for the copy storage pool that failed:
backup stgpool diskpool copystgpool1
backup stgpool tapepool copystgpool1
You can still recover the primary storage pools from COPYPOOL1 and, if
necessary, COPYPOOL2. However, if you want active backup data available in the
active-data pool for fast client restores, you must issue the following command:
copy activedata diskpool activedatapool
As a precaution, issue the BACKUP STGPOOL and COPY ACTIVEDATA commands after
the backup operation has completed. Data that is simultaneously written to copy
storage pools or active-data pools during migration is not copied when primary
storage pools are backed up or when active data is copied.
In this example, the storage pool hierarchy contains two primary storage pools.
The next storage pool has two copy storage pools defined. A copy of one of the
files to be migrated to the next storage pool exists in one of the copy storage pools.
FILEPOOL and TAPEPOOL are defined in your storage pool hierarchy. Two copy
storage pools, COPYPOOL1 and COPYPOOL2, are defined to TAPEPOOL. Files A,
B, and C are in FILEPOOL and eligible to be migrated. A copy of file C exists in
COPYPOOL2.
The storage pool hierarchy and the copy storage pools that are associated with
TAPEPOOL are displayed in Figure 29.
FILEPOOL A B
C
COPYPOOL2
Next pool
TAPEPOOL
COPYPOOL1
C
Tip: In this example, the setting of the AUTOCOPY parameter for FILEPOOL is not
relevant. TAPEPOOL is the target of the data migration.
FILEPOOL
COPYPOOL2
up
a ck
lb
o C
Next pool
e po
A ag B
or
B St A
C
TAPEPOOL Sto A
rag B
ep
oo
l ba
cku COPYPOOL1
p
C
Figure 30. Simultaneous-write operation during migration to two copy storage pools
As a precaution, issue the BACKUP STGPOOL and COPY ACTIVEDATA commands after
the migration operation has completed. Data that is simultaneously written to copy
storage pools or active-data pools during migration is not copied when primary
storage pools are backed up or when active data is copied.
In this example, the storage pool hierarchy contains two primary storage pools.
The next storage pool has two copy storage pools defined. A copy of one of the
files to be migrated to the next storage pool exists in a copy storage pool. A write
error to the pool occurs.
FILEPOOL and TAPEPOOL are defined in the storage pool hierarchy. Two copy
storage pools, COPYPOOL1 and COPYPOOL2, are defined to TAPEPOOL. Files A,
B, and C are in FILEPOOL and are eligible to be migrated. A copy of file C exists
in COPYPOOL1.
The storage pool hierarchy and the copy storage pools that are associated with
TAPEPOOL are displayed in Figure 31 on page 347.
Next pool
TAPEPOOL
COPYPOOL1
C
Tip: In this example, the setting of the AUTOCOPY parameter for FILEPOOL is not
relevant. TAPEPOOL is the target of the data migration.
FILEPOOL
COPYPOOL2
up
a ck
o lb C
Next pool
e po
A ag B
or
B St A
C
COPYPOOL1
TAPEPOOL C
(Removed for the
duration of the
migration process)
In this example, three primary storage pools are linked to form a storage pool
hierarchy. The next storage pool in the hierarchy has a storage pool list. The last
pool in the hierarchy inherits the list during a simultaneous-write operation.
The storage pool hierarchy and the copy storage pool are displayed in Figure 33.
FILEPOOL1 A B
C
Next pool
COPYPOOL1
C
FILEPOOL2
Next pool
TAPEPOOL
Figure 33. Three-tiered storage pool hierarchy with one copy storage pool
Issue the following commands for FILEPOOL2 and TAPEPOOL to enable the
simultaneous-write function only during migration:
update stgpool filepool2 autocopy=migration
update stgpool tapepool autocopy=migration
Tip: In this example, the setting of the AUTOCOPY parameter for FILEPOOL1 is not
relevant. FILEPOOL2 and TAPEPOOL are the targets of the data migration.
FILEPOOL1
Next pool
B
C FILEPOOL2
Migration COPYPOOL1
Next pool C
A A
TAPEPOOL
As a precaution, issue the BACKUP STGPOOL and COPY ACTIVEDATA commands after
the migration operation has completed. Data that is simultaneously written to copy
storage pools or active-data pools during migration is not copied when primary
storage pools are backed up or when active data is copied.
Primary storage pools FILEPOOL and TAPEPOOL are linked to form a storage
hierarchy. FILEPOOL is at the top of the storage hierarchy. TAPEPOOL is the next
pool in the storage hierarchy. Two copy storage pools, COPYPOOL1 and
COPYPOOL2, are defined to FILEPOOL. The value of the AUTOCOPY parameter for
FILEPOOL is CLIENT. The value of the AUTOCOPY parameter for TAPEPOOL is
NONE.
v Files A, B, and C were written to FILEPOOL during client backup operations.
v File C was simultaneously written to COPYPOOL1.
v The files in FILEPOOL are eligible to be migrated.
COPYPOOL2
FILEPOOL A B
C
COPYPOOL1
C
Next pool
TAPEPOOL
When files A, B and C are migrated, they are written to TAPEPOOL. See Figure 36.
COPYPOOL2
FILEPOOL
COPYPOOL1
C
Next pool
A
B
C
TAPEPOOL
As a precaution, issue the BACKUP STGPOOL and COPY ACTIVEDATA commands after
the migration operation has completed. Data that is simultaneously written to copy
storage pools or active-data pools during migration is not copied when primary
storage pools are backed up or when active data is copied.
Primary storage pools FILEPOOL and TAPEPOOL are linked to form a storage
hierarchy. FILEPOOL is at the top of the storage hierarchy. TAPEPOOL is the next
pool in the storage hierarchy. One copy storage pool, COPYPOOL, is defined to
both FILEPOOL and TAPEPOOL:
v The simultaneous-write function during client store operations was enabled.
(The setting of the AUTOCOPY parameter for FILEPOOL is CLIENT.)
v During client store operations, files A, B, and C were written to COPYPOOL. A
failure occurred while writing file D to COPYPOOL
v The simultaneous-write function during migration is enabled for TAPEPOOL.
(The setting of the AUTOCOPY parameter for TAPEPOOL is MIGRATION.)
The storage pool hierarchy and the copy storage pool that are associated with
FILEPOOL and TAPEPOOL are displayed in Figure 37.
FILEPOOL A B
C D
A B C
Next pool
COPYPOOL1
TAPEPOOL
A B C
Next pool Storage pool
D backup D
A COPYPOOL1
B
C
TAPEPOOL
Figure 38. A simultaneous-write operation during both migration and client backup operations
As a precaution, issue the BACKUP STGPOOL and COPY ACTIVEDATA commands after
the migration operation has completed. Data that is simultaneously written to copy
storage pools or active-data pools during migration is not copied when primary
storage pools are backed up or when active data is copied.
Give careful consideration to the number of mount points that are available for a
simultaneous-write operation. A client session requires a mount point to store data
to a sequential-access storage pool. For example, if a storage pool hierarchy
includes a sequential primary storage pool, the client node requires one mount
point for that pool plus one mount point for each copy storage pool and
active-data pool.
Suppose, for example, you create a storage pool hierarchy like the hierarchy shown
in Figure 24 on page 340. DISKPOOL is a random-access storage pool, and
TAPEPOOL, COPYPOOL1, COPYPOOL2, and ACTIVEDATAPOOL are
sequential-access storage pools. For each client backup session, the client might
have to acquire four mount points if it has to write data to TAPEPOOL. To run
two backup sessions concurrently, the client requires a total of eight mount points.
To indicate the number of mount points a client can have, specify a value for the
MAXNUMMP parameter on the REGISTER NODE or UPDATE NODE commands. Verify the
value of the MAXNUMMP parameter and, if necessary, update it if you want to enable
the simultaneous-write function. A value of 3 for the MAXNUMMP parameter might be
sufficient if, during a client session, all the data is stored in DISKPOOL,
COPYPOOL1, COPYPOOL2, and ACTIVEDATAPOOL.
Restrictions:
v The setting of the COPYCONTINUE parameter does not affect active-data pools. If a
write failure occurs for any of active-data pools, the server stops writing to the
failing active-data pool for the remainder of the session, but continues storing
files into the primary pool and any remaining active-data pools and copy
storage pools. The active-data pool list is active only for the life of the session
and applies to all the primary storage pools in a particular storage pool
hierarchy.
v The setting of the COPYCONTINUE parameter does not affect the simultaneous-write
function during server import. If data is being written simultaneously and a
write failure occurs to the primary storage pool or any copy storage pool, the
server import process fails.
v The setting of the COPYCONTINUE parameter does not affect the simultaneous-write
function during migration. If data is being written simultaneously and a write
failure occurs to any copy storage pool or active-data pool, the failing storage
pool is removed and the data migration process continues. Write failures to the
primary storage pool cause the migration process to fail.
If the operation involves a copy storage pool, the value of the COPYCONTINUE
parameter in the storage pool definition determines whether the client tries the
operation again:
Restrictions:
v The setting of the COPYCONTINUE parameter does not affect active-data pools. If a
write failure occurs for any of active-data pools, the server stops writing to the
failing active-data pool for the remainder of the session, but continues storing
files into the primary pool and any remaining active-data pools and copy
storage pools. The active-data pool list is active only for the life of the session
and applies to all the primary storage pools in a particular storage pool
hierarchy.
v The setting of the COPYCONTINUE parameter does not affect the simultaneous-write
function during server import. If data is being written simultaneously and a
write failure occurs to the primary storage pool or any copy storage pool, the
server import process fails.
v The setting of the COPYCONTINUE parameter does not affect the simultaneous-write
function during migration. If data is being written simultaneously and a write
failure occurs to any copy storage pool or active-data pool, the failing storage
pool is removed and the data migration process continues. Write failures to the
primary storage pool cause the migration process to fail.
Suppose you use a DISK primary storage pool that is accessed by many clients at
the same time during client data-storage operations. If this storage pool is
associated with copy storage pools, active-data pools, or both, the clients might
have to wait until enough tape drives are available to perform the store operation.
In this scenario, simultaneous-write operations could extend the amount of time
required for client store operations. It might be more efficient to store the data in
the primary storage pool and use the BACKUP STGPOOL command to back up the
DISK storage pool to the copy storage pools and the COPY ACTIVEDATA command to
copy active backup data from the DISK storage pool to the active-data pools.
Resources such as disk space, tape drives, and tapes are allocated at the beginning
of a simultaneous-write operation, and typically remain allocated during the entire
operation. If, for any reason, the destination primary pool cannot contain the data
being stored, the IBM Tivoli Storage Manager server attempts to store the data into
a next storage pool in the storage hierarchy. This next storage pool typically uses a
sequential-access device class. If new resources must be acquired for the next
storage pool, or the allocated resources must be released because the server has to
wait to acquire the new resources, the client session must wait until the resources
are available.
To reduce the potential for switching storage pools, follow these guidelines:
v Ensure that enough space is available in the primary storage pools that are
targets for the simultaneous-write operation. For example, to make space
available, run the server migration operation before backing up or archiving
client data and before migration operations by Hierarchical Storage Management
(HSM) clients.
v The MAXSIZE parameter on the DEFINE STGPOOL and UPDATE STGPOOL commands
limits the size of the files that the Tivoli Storage Manager server can store in the
primary storage pools during client operations. Honoring the MAXSIZE parameter
for a storage pool during a store operation causes the server to switch pools. To
prevent switching pools, avoid using this parameter if possible.
For example, you can configure production servers to store mission critical data in
one storage pool hierarchy and use the simultaneous-write function to back up the
data to copy storage pools and an active-data pool. See Figure 39 on page 356. In
addition, you can configure the servers to store noncritical, workstation data in
another storage pool hierarchy and back up that data using the BACKUP STGPOOL
command.
Points to
ACTIVEDATAPOOL B
DISKPOOL A DISKPOOL B
COPYPOOL B2
COPYPOOL B1
TAPEPOOL A TAPEPOOL B
Figure 39. Separate storage pool hierarchies for different types of data
Procedure
1. Define the following storage pools:
v Two copy storage pools, ONSITECOPYPOOL and DRCOPYPOOL
v One active-data pool, ACTIVEDATAPOOL
v Two primary storage pools, DISKPOOL and TAPEPOOL
As part of the storage pool definition for DISKPOOL, specify TAPEPOOL as the
next storage pool, ONSITECOPYPOOL as the copy storage pool, and
ACTIVEDATAPOOL as the active-data pool. Set the copy continue parameter
for copy storage pools to YES. If an error occurs writing to a copy storage pool,
the operation will continue storing data into the primary pool, the remaining
copy storage pool, and the active-data pool.
define stgpool tapepool mytapedevice
define stgpool onnsitepool mytapedevice
define stgpool drcopypoool mytapedevice
With collocation enabled, the server tries to keep files on a minimal number of
sequential-access storage volumes. The files can belong to a single client node, a
group of client nodes, a client file space, or a group of file spaces. You can set
collocation for each sequential-access storage pool when you define or update the
pool.
Figure 40 on page 358 shows an example of collocation by client node with three
clients, each having a separate volume containing that client's data.
Figure 42 shows an example of collocation by file space group. Six groups have
been defined. Each group contains data from file spaces that belong to a single
node. The data for each group is stored on a separate volume.
1
3
1
2
4 2
3
5
4
5
6 6
When collocation is disabled, the server tries to use all available space on each
volume before selecting a new volume. While this process provides better
utilization of individual volumes, user files can become scattered across many
volumes. Figure 43 on page 359 shows an example of collocation disabled, with
Collocation by group is the Tivoli Storage Manager system default for primary
sequential-access storage pools. The default for copy storage pools and active-data
pools is no collocation.
When collocation is enabled for a group, single client node or file space, all the
data that belongs to the group, the node, or the file space is moved or copied by
one server process. For example, if data is collocated by group, all data for all
nodes that belong to the same collocation group is migrated by the same process.
When collocating data, the Tivoli Storage Manager server tries to keep files
together on a minimal number of sequential-access storage volumes. However,
when the server is backing up data to volumes in a sequential-access storage pool,
the backup process has priority over collocation settings. As a result, the server
completes the backup, but might not be able to collocate the data.
For example, suppose that you are collocating by node and you specify that a node
can use two mount points on the server. Suppose also that the data that is backed
up from the node can easily fit on one tape volume. During backup, the server
might mount two tape volumes, and the node's data might be distributed across
two tapes, rather than one. When you used collocation, the following server
operations use one server process:
v Moving data from random-access and sequential-access volumes
v Moving node data from sequential-access volumes
v Backing up a random-access or sequential-access storage pool
v Restoring a sequential-access storage pool
v Reclamation of a sequential-access storage pool or off-site volumes
v Migration from a random-access storage pool.
When migrating data from a random disk storage pool to a sequential storage
pool, and collocation is by node or file space, nodes or file spaces are automatically
selected for migration based on the amount of data to be migrated. The node or
file space with the most data is migrated first. If collocation is by group, all nodes
in the storage pool are evaluated to determine which node has the most data. The
node with the most data is migrated first along with all the data for all the nodes
that belong to that collocation group. This process takes place, regardless of how
much data is stored in the file spaces of nodes and regardless of whether the low
migration threshold was reached.
The data that belongs to all the nodes in the same collocation group are migrated
by the same process. Therefore, collocation by group can reduce the number of
times a volume that is going to be migrated needs to be mounted. Collocation by
group can also minimize database scanning and reduce tape passes during data
transfer from one sequential-access storage pool to another.
Table 32 shows how the Tivoli Storage Manager server selects the first volume
when collocation is enabled for a storage pool at the client-node, collocation group,
and file-space level.
Table 32. How the server selects volumes when collocation is enabled
Volume Selection When collocation is by group When collocation is by node When collocation is by file
Order space
1 A volume that already A volume that already A volume that already
contains files from the contains files from the same contains files from the same
collocation group to which the client node file space of that client node
client belongs
2 An empty predefined volume An empty predefined volume An empty predefined volume
3 An empty scratch volume An empty scratch volume An empty scratch volume
4 A volume with the most A volume with the most A volume that contains data
available free space among available free space among from the same client node
volumes that already contain volumes that already contain
data data
5 Not applicable Not applicable A volume with the most
available free space among
volumes that already contain
data
When the server must continue to store data on a second volume, it uses the
following selection order to acquire more space:
1. An empty predefined volume
2. An empty scratch volume
3. A volume with the most available free space among volumes that already
contain data
4. Any available volume in the storage pool
When collocation is by client node or file space, the server tries to provide the best
use of individual volumes and minimizes file mixing from different clients or file
spaces on volumes. This configuration is depicted in Figure 44 on page 362, which
shows that volume selection is horizontal, where all available volumes are used
before all available space on each volume is used. A, B, C, and D represent files
from four different client nodes.
Amount
of space D
used on
each A
B D
volume
C
VOL1 VOL2 VOL3 VOL4 VOL5
Numbers of volumes (1 to n)
Figure 44. Using all available sequential access storage volumes with collocation enabled at
the node or file space level
H
C
Amount
of space E
used on B G I
each
volume
A D H
C F
Numbers of volumes (1 to n)
Figure 45. Using all available sequential access storage volumes with collocation enabled at
the group level
Remember: Normally, the Tivoli Storage Manager server always writes data to the
current filling volume for the operation that is running. Occasionally, however, you
might notice more than one filling volume in a collocated storage pool. Having
more than one filling volume in a collocated storage pool can occur if different
When the server needs to continue to store data on a second volume, it attempts to
select an empty volume. If none exists, the server attempts to select any remaining
available volume in the storage pool.
B
D
Amount C
of space C
used on A A
each
volume B D
D
C A
VOL1 VOL2 VOL3 VOL4 VOL5
Numbers of volumes (1 to n)
Figure 46. Using all available space on sequential volumes with collocation disabled
For example, if collocation is off for a storage pool and you turn it on, from then on
client files stored in the pool are collocated. Files that had previously been stored
in the pool are not moved to collocate them. As volumes are reclaimed, however,
the data in the pool tends to become more collocated. You can also use the MOVE
DATA or MOVE NODEDATA commands to move data to new volumes to increase
collocation. However, this causes an increase in the processing time and the
volume mount activity.
Remember: A mount wait can occur or increase when collocation by file space is
enabled and a node has a volume containing multiple file spaces. If a volume is
eligible to receive data, Tivoli Storage Manager will wait for that volume.
Using collocation on copy storage pools and active-data pools requires special
consideration.
Primary storage pools complete a different recovery role than the recovery role
completed by copy storage pools and active-data pools. Normally you use primary
storage pools (or active-data pools) to recover data to clients directly. In a disaster,
when both clients and the server are lost, you might use offsite active-data pool
volumes to recover data directly to clients and the copy storage pool volumes to
recover the primary storage pools. The types of recovery scenarios that concern
you the most helps you to determine whether to use collocation on your copy
storage pools and active-data pools.
Collocation typically results in partially filled volumes when you collocate by node
or by file space. (Partially filled volumes are less prevalent, however, when you
collocate by group.) Partially filled volumes might be acceptable for primary
storage pools because the volumes remain available and can be filled during the
next migration process. However, partially filled volumes might be unacceptable
for copy storage pools and active-data pools whose storage pool volumes are taken
offsite immediately. If you use collocation for copy storage pools or active-data
pools, you must decide among the following:
v Taking more partially filled volumes offsite, which increases the reclamation
activity when the reclamation threshold is lowered or reached. The rate of
reclamation for volumes in an active-data pool is typically faster than the rate
for volumes in other types of storage pools.
v Leaving these partially filled volumes onsite until they fill and risk not having
an offsite copy of the data on these volumes.
v Whether to collocate by group to use as much tape capacity as possible.
With collocation disabled for a copy storage pool or an active-data pool, typically
there will be only a few partially filled volumes after data is backed up to the copy
storage pool or copied to the active-data pool.
Consider your options carefully before you use collocation for copy storage pools
and active-data pools, and whether to use simultaneous write. When not using
simultaneous write, if you use collocation for your primary storage pools, you
might want to disable collocation for copy storage pools and active-data pools.
Collocation on copy storage pools or active-data pools might be desirable if you
have few clients with each of them having large amounts of incremental backup
data each day. For collocation with simultaneous write, you must ensure that the
collocate settings are identical for the primary storage pools, active-data pools, and
copy storage pools.
Table 33 lists the four collocation options that you can specify on the DEFINE
STGPOOL and UPDATE STGPOOL commands. The table also shows the effects of
collocation on data that belongs to nodes that are and are not members of
collocation groups.
Table 33. Collocation options and the effects on node data
If a node is not defined as a member of a If a node is defined as a member of a
Collocation option collocation group collocation group
No The data for the node is not collocated. The data for the node is not collocated.
Group The server stores the data for the node on as The server stores the data for the node and for
few volumes in the storage pool as possible. other nodes that belong to the same
collocation group on as few volumes as
possible.
Node The server stores the data for the node on as The server stores the data for the node on as
few volumes as possible. few volumes as possible.
Filespace The server stores the data for the node's file The server stores the data for the node's file
space on as few volumes as possible. If a node space on as few volumes as possible. If a node
has multiple file spaces, the server stores the has multiple file spaces, the server stores the
data for different file spaces on different data for different file spaces on different
volumes in the storage pool. volumes in the storage pool.
Table 34. Collocation group options and effects on file space data
If a file space is not defined as a member of If a file space is defined as a member of a
Collocation option a collocation group collocation group
No The data for the file space is not collocated. The data for the file space is not collocated.
Group The server stores the data for the filespace on The server stores the data for the file space
as few volumes in the storage pool as and other file spaces that belong to the same
possible. collocation group on as few volumes as
possible.
Node The server stores the data for the node on as The server stores the data for the node on as
few volumes as possible. few volumes as possible.
Filespace The server stores the data for the node's file The server stores the data for the file spaces on
space on as few volumes as possible. If a node as few volumes as possible. If a node has
has multiple file spaces, the server stores the multiple file spaces, the server stores the data
data for different file spaces on different for different file spaces on different volumes in
volumes in the storage pool. the storage pool.
When deciding whether and how to collocate data, complete the following steps:
Procedure
1. Familiarize yourself with the potential advantages and disadvantages of
collocation, in general. For a summary of effects of collocation on operations,
see Table 31 on page 359.
Results
Tip: If you use collocation, but want to reduce the number of media mounts and
use space on sequential volumes more efficiently, you can:
v Define a storage pool hierarchy and policy to require that backed-up, archived,
or space-managed files are stored initially in disk storage pools.
When files are migrated from a disk storage pool, the server attempts to migrate
all files that belong to the client node or collocation group that is using the most
disk space in the storage pool. This process works well with the collocation
option because the server tries to place all of the files from a particular client on
the same sequential-access storage volume.
For details about the COLLOCATEBYFILESPEC option, see the Backup-Archive Clients
Installation and User's Guide.
When creating collocation groups, keep in mind that the ultimate destination of the
data that belongs to nodes in a collocation group depends on the policy domain to
which nodes belong. For example, suppose that you create a collocation group that
consists of nodes that belong to Policy Domain A. Policy Domain A specifies an
active-data pool as the destination of active data only and has a backup copy
group that specifies a primary storage pool, Primary1, as the destination for active
and inactive data. Other nodes in the same collocation group belong to a domain,
Policy Domain B, that does not specify an active-data pool, but that has a backup
copy group that specifies Primary1 as the destination for active and inactive data.
Primary1 has a designated copy storage pool. The collocation setting on
PRIMARY1, the copy storage pool, and the active-data pool is GROUP.
The server reclaims the space in storage pools based on a reclamation threshold
that you can set for each sequential-access storage pool. When the percentage of
space that can be reclaimed on a volume rises above the reclamation threshold, the
server reclaims the volume.
Restrictions:
The server checks whether reclamation is needed at least once per hour and begins
space reclamation for eligible volumes. During space reclamation, the server copies
files that remain on eligible volumes to other volumes. For example, Figure 47 on
page 369 shows that the server consolidates the files from tapes 1, 2, and 3 on tape
4. During reclamation, the server copies the files to volumes in the same storage
pool unless you have specified a reclamation storage pool. Use a reclamation
storage pool to allow automatic reclamation for a storage pool with only one drive.
Remember: To prevent contention for the same tapes, the server does not allow a
reclamation process to start if a DELETE FILESPACE process is active. The server
checks every hour for whether the DELETE FILESPACE process has completed so
that the reclamation process can start. After the DELETE FILESPACE process has
completed, reclamation begins within one hour.
The server also reclaims space within an aggregate. An aggregate is a physical file
that contains multiple logical files that are backed up or archived from a client in a
single transaction. Space within the aggregate becomes reclaimable space as logical
files in the aggregate expire, as files are deleted by the client, or as files become
deactivated in active-data pools. The server removes unused space as the server
copies the aggregate to another volume during reclamation processing. However,
reclamation does not aggregate files that were originally stored in non-aggregated
form. Reclamation also does not combine aggregates to make new aggregates. You
can also reclaim space in an aggregate by issuing the MOVE DATA command. See
“Reclaiming space in aggregates by moving data” on page 405 for details.
= valid data
After the server moves all readable files to other volumes, one of the following
occurs for the reclaimed volume:
v If you have explicitly defined the volume to the storage pool, the volume
becomes available for reuse by that storage pool.
v If the server acquired the volume as a scratch volume, the server deletes the
volume from the Tivoli Storage Manager database.
Volumes that have a device type of SERVER are reclaimed in the same way as
other sequential-access volumes. However, because the volumes are actually data
stored in the storage of another Tivoli Storage Manager server, the reclamation
process can consume network resources. See “Controlling reclamation of virtual
volumes” on page 374 for details about how the server reclaims these types of
volumes.
Volumes in a copy storage pool and active-data pools are reclaimed in the same
manner as a primary storage pool except for the following:
v Off-site volumes are handled differently.
v The server copies active files from the candidate volume only to other volumes
in the same storage pool.
For details, see “Reclaiming copy storage pools and active-data pools” on page 374.
The server checks whether reclamation is needed at least once per hour. The lower
the reclamation threshold, the more frequently the server tries to reclaim space.
Frequent reclamation optimizes the use of a sequential-access storage pool’s space,
but can interfere with other processes, such as backups from clients.
If you set the reclamation threshold to 50% or greater, the server can combine the
usable files from two or more volumes onto a single new volume.
For example, if you set the reclamation threshold to 100%, first lower the threshold
to 98%. Volumes that have reclaimable space of 98% or greater are reclaimed by
the server. Lower the threshold again to reclaim more volumes.
If you lower the reclamation threshold while a reclamation process is active, the
reclamation process does not immediately stop. If an on-site volume is being
reclaimed, the server uses the new threshold setting when the process begins to
reclaim the next volume. If off-site volumes are being reclaimed, the server does
not use the new threshold setting during the process that is running (because all
eligible off-site volumes are reclaimed at the same time).
For copy storage pools and active-data pools, you can also use the RECLAIM
STGPOOL command to specify the maximum number of offsite storage pool volumes
the server should attempt to reclaim:
reclaim stgpool altpool duration=60 offsitereclaimlimit=230
Do not use this command if you are going to use automatic reclamation for the
storage pool. To prevent automatic reclamation from running, set the RECLAIM
parameter of the storage pool definition to 100.
For details about the RECLAIM STGPOOL command, refer to the Administrator's
Reference.
Restriction: Storage pools that are defined with a CENTERA device class cannot
be reclaimed.
You can specify one or more reclamation processes for each primary
sequential-access storage pool, copy storage pool, or active-data pool using the
RECLAIMPROCESS parameter on the DEFINE STGPOOL and UPDATE STGPOOL
commands.
Each reclamation process requires at least two simultaneous volume mounts (at
least two mount points) and, if the device type is not FILE, at least two drives.
One of the drives is for the input volume in the storage pool being reclaimed. The
other drive is for the output volume in the storage pool to which files are being
moved.
When calculating the number of concurrent processes to run, you must carefully
consider the resources you have available, including the number of storage pools
that will be involved with the reclamation, the number of mount points, the
number of drives that can be dedicated to the operation, and (if appropriate) the
number of mount operators available to manage reclamation requests. The number
of available mount points and drives depends on other Tivoli Storage Manager and
system activity and on the mount limits of the device classes for the storage pools
that are involved in the reclamation.
For example, suppose that you want to reclaim the volumes from two sequential
storage pools simultaneously and that all storage pools involved have the same
device class. Each process requires two mount points and, if the device type is not
FILE, two drives. To run four reclamation processes simultaneously (two for each
storage pool), you need a total of at least eight mount points and eight drives. The
device class for each storage pool must have a mount limit of at least eight.
If the device class for the storage pools being reclaimed does not have enough
mount points or drives, you can use the RECLAIMSTGPOOL parameter to direct
the reclamation to a storage pool with a different device class that has the
additional mount points or drives.
If the number of reclamation processes you specify is more than the number of
available mount points or drives, the processes that do not obtain mount points or
drives will wait indefinitely or until the other reclamation processes complete and
mount points or drives become available.
The Tivoli Storage Manager server will start the specified number of reclamation
processes regardless of the number of volumes that are eligible for reclamation. For
example, if you specify ten reclamation processes and only six volumes are eligible
for reclamation, the server will start ten processes and four of them will complete
without processing a volume.
When the server reclaims volumes, the server moves the data from volumes in the
original storage pool to volumes in the reclamation storage pool. The server always
uses the reclamation storage pool when one is defined, even when the mount limit
is greater than one.
If the reclamation storage pool does not have enough space to hold all of the data
being reclaimed, the server moves as much of the data as possible into the
reclamation storage pool. Any data that could not be moved to volumes in the
reclamation storage pool still remains on volumes in the original storage pool.
The pool identified as the reclamation storage pool must be a primary sequential
storage pool. The primary purpose of the reclamation storage pool is for temporary
storage of reclaimed data. To ensure that data moved to the reclamation storage
pool eventually moves back into the original storage pool, specify the original
storage pool as the next pool in the storage hierarchy for the reclamation storage
Finally, update the reclamation storage pool so that data migrates back to the tape
storage pool:
update stgpool reclaimpool nextstgpool=tapepool1
Tip:
v In a mixed-media library, reclaiming volumes in a storage pool defined with a
device class with a single mount point (that is, a single drive) requires one of the
following:
– At least one other drive with a compatible read/write format
– Enough disk space to create a storage pool with a device type of FILE
Procedure
1. Set up the storage pool hierarchy so that the tape storage pool is the next
storage pool for a storage pool that uses either a DISK device type or a FILE
device type.
2. When you need to reclaim volumes, move data from the tape storage pool to
the DISK or FILE storage pool.
3. Allow the data to migrate from the DISK or FILE storage pool back to the tape
storage pool by adjusting the migration thresholds.
To allow reclamation, you can set the reclamation value to something lower when
you define or update the storage pool.
To control when reclamation starts for these volumes, consider setting the
reclamation threshold to 100% for any primary storage pool that uses virtual
volumes. Lower the reclamation threshold at a time when your network is less
busy, so that the server can reclaim volumes.
For virtual volumes in a copy storage pool or an active-data pool, the server
reclaims a volume as follows:
Procedure
1. The source server determines which files on the volume are still valid.
2. The source server obtains these valid files from volumes in a primary storage
pool, or if necessary, from removable-media volumes in an on-site copy storage
pool or in an on-site active-data pool. The server can also obtain files from
virtual volumes in a copy storage pool or an active-data pool.
3. The source server writes the files to one or more new virtual volumes in the
copy storage pool or active-data pool and updates its database.
4. The server issues a message indicating that the volume was reclaimed.
Results
For information about using the SERVER device type, see “Using virtual volumes
to store data on another server” on page 732.
For off-site volumes, reclamation can occur when the percentage of unused space
on the volume is greater than the reclaim parameter value. The unused space in
copy storage pool volumes includes both space that has never been used on the
volume and space that has become empty because of file deletion or expiration.
For volumes in active-data pools, reclaimable space also includes inactive versions
of files. Most volumes in copy storage pools and active-data pools might be set to
an access mode of off-site, making them ineligible to be mounted. During
Reclamation of copy storage pool volumes and active-data pool volumes should be
done periodically to allow the reuse of partially filled volumes that are off-site.
Reclamation can be done automatically by setting the reclamation threshold for the
copy storage pool or the active-data pool to less than 100%. However, you need to
consider controlling when reclamation occurs because of how off-site volumes are
treated. For more information, see “Controlling when reclamation occurs for
off-site volumes” on page 376.
Virtual Volumes: Virtual volumes (volumes that are stored on another Tivoli
Storage Manager server through the use of a device type of SERVER) cannot be set
to the off-site access mode.
Reclamation of primary storage pool volumes does not affect copy storage pool
files or files in active-data pools.
When an offsite volume is reclaimed, the files on the volume are rewritten to a
read/write volume. Effectively, these files are moved back to the onsite location.
The files might be obtained from the offsite volume after a disaster, if the volume
has not been reused and the database backup that you use for recovery references
the files on the offsite volume.
Suppose you plan to make daily storage pool backups to a copy storage pool, then
mark all new volumes in the copy storage pool as offsite and send them to the
off-site storage location. This strategy works well with one consideration if you are
using automatic reclamation (the reclamation threshold is less than 100%).
Each day's storage pool backups will create a number of new copy-storage pool
volumes, the last one being only partially filled. If the percentage of empty space
on this partially filled volume is higher than the reclaim percentage, this volume
becomes eligible for reclamation as soon as you mark it off-site. The reclamation
process would cause a new volume to be created with the same files on it. The
volume you take off-site would then be empty according to the Tivoli Storage
Manager database. If you do not recognize what is happening, you could
perpetuate this process by marking the new partially filled volume off-site.
One way to resolve this situation is to keep partially filled volumes on-site until
they fill up. However, this would mean a small amount of your data would be
without an off-site copy for another day.
If you send copy storage pool volumes off-site, it is recommended you control pool
reclamation by using the default value of 100. This turns reclamation off for the
copy storage pool. You can start reclamation processing at desired times by
changing the reclamation threshold for the storage pool. To monitor off-site volume
utilization and help you decide what reclamation threshold to use, enter the
following command:
query volume * access=offsite format=detailed
Depending on your data expiration patterns, you may not need to do reclamation
of off-site volumes each day. You may choose to perform off-site reclamation on a
less frequent basis. For example, suppose you ship copy-storage pool volumes to
and from your off-site storage location once a week. You can run reclamation for
the copy-storage pool weekly, so that as off-site volumes become empty they are
sent back for reuse.
When you do perform reclamation for off-site volumes, the following sequence is
recommended:
Procedure
1. Back up your primary-storage pools to copy-storage pools or copy the active
data in primary-storage pools to active-data pools.
2. Turn on reclamation for copy-storage pools and active-data pools by lowering
the reclamation threshold for copy-storage pools below 100%. The default for
active-data pools is 60.
3. When reclamation processing completes, turn off reclamation by raising the
reclamation thresholds to 100%.
4. Mark any newly created copy-storage pool volumes and active-data pool
volumes as off-site, and then move them to the off-site location.
This sequence ensures that the files on the new copy-storage pool volumes and
active-data pool volumes are sent off-site, and are not inadvertently kept on-site
because of reclamation.
Alternatively, you can use the following Tivoli Storage Manager SQL SELECT
command to obtain records from the SUMMARY table for the off-site volume
reclamation operation:
select * from summary where activity=’OFFSITE RECLAMATION’
Two kinds of records are displayed for the off-site reclamation process. One
volume record is displayed for each reclaimed off-site volume. However, the
volume record does not display the following items:
v The number of examined files.
v The number of affected files.
v The total bytes involved in the operation.
This information is summarized in the statistical summary record for the offsite
reclamation. The statistical summary record displays the following items:
v The number of examined files.
v The number of affected files.
v The total bytes involved in the operation.
v The number of off-site volumes that were processed.
v The number of parallel processes that were used.
v The total amount of time required for the processing.
The order in which off-site volumes are reclaimed is based on the amount of
unused space in a volume. (Unused space includes both space that has never been
For example, suppose a copy storage pool contains three volumes: VOL1, VOL2,
and VOL3. VOL1 has the largest amount of unused space, and VOL3 has the least
amount of unused space. Suppose further that the percentage of unused space in
each of the three volumes is greater than the value of the RECLAIM parameter. If
you do not specify a value for the OFFSITERECLAIMLIMIT parameter, all three
volumes will be reclaimed when the reclamation runs. If you specify a value of 2,
only VOL1 and VOL2 will be reclaimed when the reclamation runs. If you specify
a value of 1, only VOL1 will be reclaimed.
As a best practice, delay the reuse of any reclaimed volumes in copy storage pools
and active-data pools for as long as you keep your oldest database backup. For
more information about delaying volume reuse, see “Delaying reuse of volumes
for recovery purposes” on page 886.
If you specify collocation and multiple concurrent processes, the server attempts to
move the files for each collocation group, client node, or client file space onto as
few volumes as possible. However, if files belonging to a single collocation group
(or node or file space) are on different volumes to begin with and are being moved
at the same time by different processes, the files could be moved to separate
output volumes. For details about multiple concurrent reclamation processing, see
“Optimizing drive usage using multiple concurrent reclamation processes” on page
371.
See also “Reducing the time to reclaim tape volumes with high capacity” on page
373.
As your storage environment grows, you may want to consider how policy and
storage pool definitions affect where workstation files are stored. Then you can
define and maintain multiple storage pools in a hierarchy that allows you to
control storage costs by using sequential-access storage pools in addition to disk
storage pools, and still provide appropriate levels of service to users.
To help you determine how to adjust your policies and storage pools, get
information about how much storage is being used (by client node) and for what
purposes in your existing storage pools. For more information on how to do this,
see “Obtaining information about the use of storage space” on page 396.
To estimate the amount of storage space required for each random-access disk
storage pool:
v Determine the amount of disk space needed for different purposes:
– For backup storage pools, provide enough disk space to support efficient
daily incremental backups.
– For archive storage pools, provide sufficient space for a user to archive a
moderate size file system without causing migration from the disk storage
pool to occur.
– For storage pools for space-managed files, provide enough disk space to
support the daily space-management load from HSM clients, without causing
migration from the disk storage pool to occur.
v Decide what percentage of this data you want to keep on disk storage space.
Establish migration thresholds to have the server automatically migrate the
remainder of the data to less expensive storage media in sequential-access
storage pools.
See “Migration thresholds” on page 276 for recommendations on setting
migration thresholds.
To estimate the total amount of space needed for all backed-up files stored in a
single random-access (disk) storage pool, use the following formula:
Backup space = WkstSize * Utilization * VersionExpansion * NumWkst
where:
Backup Space
The total amount of storage pool disk space needed.
WkstSize
The average data storage capacity of a workstation. For example, if the
typical workstation at your installation has a 4 GB hard drive, then the
average workstation storage capacity is 4 GB.
Utilization
An estimate of the fraction of each workstation disk space used, in the
range 0 to 1. For example, if you expect that disks on workstations are 75%
full, then use 0.75.
VersionExpansion
An expansion factor (greater than 1) that takes into account the additional
380 IBM Tivoli Storage Manager for Windows: Administrator's Guide
backup versions, as defined in the copy group. A rough estimate allows 5%
additional files for each backup copy. For example, for a version limit of 2,
use 1.05, and for a version limit of 3, use 1.10.
NumWkst
The estimated total number of workstations that the server supports.
If clients use compression, the amount of space required may be less than the
amount calculated, depending on whether the data is compressible.
Work with policy administrators to calculate this percentage based on the number
and type of archive copy groups defined. For example, if policy administrators
have defined archive copy groups for only half of the policy domains in your
enterprise, then estimate that you need less than 50% of the amount of space you
have defined for backed-up files.
Because additional storage space can be added at any time, you can start with a
modest amount of storage space and increase the space by adding storage volumes
to the archive storage pool, as required.
Figure 48 shows a standard report with all storage pools defined to the system. To
monitor the use of storage pool space, review the Estimated Capacity and Pct Util
columns.
Estimated Capacity
Specifies the space available in the storage pool in megabytes (M) or
gigabytes (G).
For a disk storage pool, this value reflects the total amount of available
space in the storage pool, including any volumes that are varied offline.
For sequential-access storage pools, estimated capacity is the total
estimated space of all the sequential-access volumes in the storage pool,
regardless of their access mode. At least one volume must be used in a
sequential-access storage pool (either a scratch volume or a private
volume) to calculate estimated capacity.
For tape and FILE, the estimated capacity for the storage pool includes the
following factors:
Note: The value for Pct Util can be higher than the value for Pct Migr if
you query for storage pool information while a client transaction (such as a
backup) is in progress. The value for Pct Util is determined by the amount
of space actually allocated (while the transaction is in progress). The value
for Pct Migr represents only the space that is occupied by committed files.
At the end of the transaction, Pct Util and Pct Migr become synchronized.
For sequential-access storage pools, this value is the percentage of the total
bytes of storage available that are currently being used to store active data
(data that is not expired). Because the server can only estimate the
available capacity of a sequential-access storage pool, this percentage also
reflects an estimate of the actual utilization of the storage pool.
Figure 48 on page 382 shows that the estimated capacity for a disk storage pool
named BACKUPPOOL is 80 MB, which is the amount of available space on disk
storage. More than half (51.6%) of the available space is occupied by either backup
files or cached copies of backup files.
The estimated capacity for the tape storage pool named BACKTAPE is 180 MB,
which is the total estimated space available on all tape volumes in the storage
pool. This report shows that 85% of the estimated space is currently being used to
store workstation files.
Note: This report also shows that volumes have not yet been defined to the
ARCHIVEPOOL and ENGBACK1 storage pools because the storage pools show an
estimated capacity of 0.0 MB.
You can query the server for information about storage pool volumes:
To request general information about all volumes defined to the server, enter:
query volume
Figure 49 shows an example of the output of this standard query. The example
illustrates that data is being stored on the 8 mm tape volume named WREN01, as
well as on several other volumes in various storage pools.
To query the server for a detailed report on volume WREN01 in the storage pool
named TAPEPOOL, enter:
query volume wren01 format=detailed
Figure 50 on page 386 shows the output of this detailed query. Table 35 on page
386 gives some suggestions on how you can use the information.
Check the Access to determine whether files can be read from or written to this
volume.
Monitor the use of storage space.
Estimated Capacity
Pct Util
The Estimated Capacity is determined by the device class associated with the
storage pool to which this volume belongs. Based on the estimated capacity, the
system tracks the percentage of space occupied by client files (Pct Util).
The Write Pass Number indicates the number of times the volume has been
written to, starting from the beginning of the volume. A value of one indicates
that a volume is being used for the first time.
In this example, WREN01 has a write pass number of two, which indicates space
on this volume may have been reclaimed or deleted once before.
Compare this value to the specifications provided with the media that you are
using. The manufacturer may recommend a maximum number of write passes
for some types of tape media. You may need to retire your tape volumes after
reaching the maximum passes to better ensure the integrity of your data. To
retire a volume, move the data off the volume by using the MOVE DATA
command. See “Moving data from one volume to another volume” on page 400.
Use the Number of Times Mounted, the Approx. Date Last Written, and the Approx.
Date Last Read to help you estimate the life of the volume. For example, if more
than six months have passed since the last time this volume has been written to
or read from, audit the volume to ensure that files can still be accessed. See
“Auditing storage pool volumes” on page 887 for information about auditing a
volume.
The number given in the field, Number of Times Mounted, is a count of the
number of times that the server has opened the volume for use. The number of
times that the server has opened the volume is not always the same as the
number of times that the volume has been physically mounted in a drive. After a
volume is physically mounted, the server can open the same volume multiple
times for different operations, for example for different client backup sessions.
Determine the location of a Location
volume in a sequential-access
When you define or update a sequential-access volume, you can give location
storage pool.
information for the volume. The detailed query displays this location name. The
location information can be useful to help you track volumes (for example,
off-site volumes in copy storage pools or active-data pools).
Determine if a volume in a Date Became Pending
sequential-access storage pool is
A sequential-access volume is placed in the pending state after the last file is
waiting for the reuse delay period
deleted or moved from the volume. All the files that the pending volume had
to expire.
contained were expired or deleted, or were moved from the volume. Volumes
remain in the pending state for as long as specified with the REUSEDELAY
parameter for the storage pool to which the volume belongs.
Because the server tracks the contents of a storage volume through its database,
the server does not need to access the requested volume to determine its contents.
To produce a report that shows the contents of a volume, issue the QUERY
CONTENT command.
This report can be extremely large and may take a long time to produce. To reduce
the size of this report, narrow your search by selecting one or all of the following
search criteria:
Node name
Name of the node whose files you want to include in the query.
File space name
Names of file spaces to include in the query. File space names are
case-sensitive and must be entered exactly as they are known to the server.
Use the QUERY FILESPACE command to find the correct capitalization.
Number of files to be displayed
Enter a positive integer, such as 10, to list the first ten files stored on the
volume. Enter a negative integer, such as -15, to list the last fifteen files
stored on the volume.
Filetype
Specifies which types of files, that is, backup versions, archive copies, or
space-managed files, or a combination of these. If the volume being
queried is assigned to an active-data pool, the only valid values are ANY
and Backup.
Format of how the information is displayed
Standard or detailed information for the specified volume.
Damaged
Specifies whether to restrict the query output either to files that are known
to be damaged, or to files that are not known to be damaged.
Copied
Specifies whether to restrict the query output to either files that are backed
388 IBM Tivoli Storage Manager for Windows: Administrator's Guide
up to a copy storage pool, or to files that are not backed up to a copy
storage pool. Whether files are stored in an active-data pool does not affect
the output.
Note: There are several reasons why a file might have no usable copy in a
copy storage pool:
The file was recently added to the volume and has not yet been backed
up to a copy storage pool
The file should be copied the next time the storage pool is backed
up.
The file is damaged
To determine whether the file is damaged, issue the QUERY
CONTENT command, specifying the DAMAGED=YES parameter.
The volume that contains the files is damaged
To determine which volumes contain damaged files, issue the
following command:
select * from contents where damaged=yes
The file is segmented across multiple volumes, and one or more of the
other volumes is damaged
To determine whether the file is segmented, issue the QUERY
CONTENT command, specifying the FORMAT=DETAILED
parameter. If the file is segmented, issue the following command to
determine whether any of the volumes containing the additional
file segments are damaged:
select volume_name from contents where damaged=yes and
file_name like ’%filename%’
For more information about using the SELECT command, see the
Administrator's Reference.
A standard report about the contents of a volume displays basic information such
as the names of files.
To view the first seven backup files on volume WREN01 from file space /usr on
client node TOMC, for example, enter:
query content wren01 node=tomc filespace=/usr count=7 type=backup
Figure 51 on page 390 displays a standard report which shows the first seven files
from file space /usr on TOMC stored in WREN01.
The report lists logical files on the volume. If a file on the volume is an aggregate
of logical files (backed-up or archived client files), all logical files that are part of
the aggregate are included in the report. An aggregate can be stored on more than
one volume, and therefore not all of the logical files in the report may actually be
stored on the volume being queried.
To display detailed information about the files stored on volume VOL1, enter:
query content vol1 format=detailed
Figure 52 on page 391 displays a detailed report that shows the files stored on
VOL1. The report lists logical files and shows whether each file is part of an
aggregate. If a logical file is stored as part of an aggregate, the information in the
Segment Number, Stored Size, and Cached Copy? fields apply to the aggregate,
not to the individual logical file.
If a logical file is part of an aggregate, the Aggregated? field shows the sequence
number of the logical file within the aggregate. For example, the Aggregated? field
contains the value 2/4 for the file [Link], meaning that this file is the
second of four files in the aggregate. All logical files that are part of an aggregate
are included in the report. An aggregate can be stored on more than one volume,
and therefore not all of the logical files in the report may actually be stored on the
volume being queried.
For disk volumes, the Cached Copy? field identifies whether the file is a cached
copy of a file that has been migrated to the next storage pool in the hierarchy.
The SELECT command queries the VOLUMEUSAGE table in the Tivoli Storage
Manager database. For example, to get a list of volumes used by the EXCH1 client
node in the TAPEPOOL storage pool, enter the following command:
select volume_name from volumeusage where node_name=’EXCH1’ and
stgpool_name=’TAPEPOOL’
Four fields on the standard storage-pool report provide you with information
about the migration process. They include:
Pct Migr
Specifies the percentage of data in each storage pool that can be migrated.
This value is used to determine when to start or stop migration.
For random-access and sequential-access disk storage pools, this value
represents the amount of disk space occupied by backed-up, archived, or
space-managed files that can be migrated to another storage pool. The
calculation for random-access disk storage pools excludes cached data, but
includes files on volumes that are varied offline.
For sequential-access tape storage pools, this value is the percentage of the
total volumes in the storage pool that actually contain data at the moment.
For example, assume that a storage pool has four explicitly defined
volumes, and a maximum scratch value of six volumes. If only two
volumes actually contain data at the moment, then Pct Migr is 20%.
This field is blank for copy storage pools and active-data pools.
High Mig Pct
Specifies when the server can begin migrating data from this storage pool.
Migration can begin when the percentage of data that can be migrated
reaches this threshold. (This field is blank for copy storage pools and
active-data pools.)
Low Mig Pct
Specifies when the server can stop migrating data from this storage pool.
Migration can end when the percentage of data that can be migrated falls
below this threshold. (This field is blank for copy storage pools and
active-data pools.)
Next Storage Pool
Specifies the primary storage pool destination to which data is migrated.
(This field is blank for copy storage pools and active-data pools.)
Figure 48 on page 382 shows that the migration thresholds for BACKUPPOOL
storage pool are set to 50% for the high migration threshold and 30% for the low
migration threshold.
When the amount of migratable data stored in the BACKUPPOOL storage pool
reaches 50%, the server can begin to migrate files to BACKTAPE.
If caching is on for a disk storage pool and files are migrated, the Pct Util value
does not change because the cached files still occupy space in the disk storage
pool. However, the Pct Migr value decreases because the space occupied by cached
files is no longer migratable.
You can query the server to monitor the migration process by entering:
query process
Tip: Do this only if you received an out-of-space message for the storage pool to
which data is being migrated.
The Pct Util value includes cached data on a volume (when cache is enabled) and
the Pct Migr value excludes cached data. Therefore, when cache is enabled and
migration occurs, the Pct Migr value decreases while the Pct Util value remains the
same. The Pct Util value remains the same because the migrated data remains on
the volume as cached data. In this case, the Pct Util value only decreases when the
cached data expires.
If you update a storage pool from CACHE=YES to CACHE=NO, the cached files
will not disappear immediately. The Pct Util value will be unchanged. The cache
space will be reclaimed over time as the server needs the space, and no additional
cached files will be created.
Figure 56 on page 396 displays a detailed report for the storage pool.
When Cache Migrated Files? is set to Yes, the value for Pct Util should not change
because of migration, because cached copies of files migrated to the next storage
pool remain in disk storage.
This example shows that utilization remains at 42%, even after files have been
migrated to the BACKTAPE storage pool, and the current amount of data eligible
for migration is 29.6%.
When Cache Migrated Files? is set to No, the value for Pct Util more closely
matches the value for Pct Migr because cached copies are not retained in disk
storage.
To obtain reports with information broken out by node or file space, issue the
QUERY OCCUPANCY command.
Each report gives two measures of the space in use by a storage pool:
v Logical space occupied
The amount of space used for logical files. A logical file is a client file. A logical
file is stored either as a single physical file, or in an aggregate with other logical
files. The logical space occupied in active-data pools includes the space occupied
by inactive logical files. Inactive logical files in active-data pools are removed by
reclamation.
v Physical space occupied
The amount of space used for physical files. A physical file is either a single
logical file, or an aggregate composed of logical files.
An aggregate might contain empty space that was used by logical files that are
now expired or deleted, or that were deactivated in active-data pools. Therefore,
the amount of space used by physical files is equal to or greater than the space
used by logical files. The difference gives you a measure of how much unused
space any aggregates may have. The unused space can be reclaimed in
sequential storage pools.
You can also use this report to evaluate the average size of workstation files stored
in server storage.
To determine the amount of server storage space used by the /home file space
belonging to the client node MIKE, for example, enter:
query occupancy mike /home
File space names are case-sensitive and must be entered exactly as they are known
to the server. To determine the correct capitalization, issue the QUERY FILESPACE
command. For more information, see “Managing file spaces” on page 451.
Figure 57 on page 398 shows the results of the query. The report shows the number
of files backed up, archived, or migrated from the /home file space belonging to
MIKE. The report also shows how much space is occupied in each storage pool.
If you back up the ENGBACK1 storage pool to a copy storage pool, the copy
storage pool would also be listed in the report. To determine how many of the
client node's files in the primary storage pool have been backed up to a copy
Physical Logical
Node Name Type Filespace Storage Number of Space Space
Name Pool Name Files Occupied Occupied
(MB) (MB)
--------------- ---- ----------- ----------- --------- ---------- --------
MIKE Bkup /home ENGBACK1 513 3.52 3.01
You can also use the QUERY NODEDATA command to display information about
the data for one or more nodes in a sequential-access storage pool. (The command
is not supported for random-access storage pools.) The output of the QUERY
NODEDATA command displays the name of the volume on which a node's data is
written, the name of the storage pool in which the volume is located, and the
amount of space occupied by the data on the volume. For example, to display
information about the data for nodes whose names begin with the letter “e,” you
would enter the following command using a wildcard character:
query nodedata e*
Node Name Volume Name Storage Pool Physical
Name Space
Occupied
(MB)
--------- ------------------------------ ------------ --------
EDU_J2 E:\tsm\server\[Link] EDU512 0.01
EDU_J2 E:\tsm\server\[Link] EDU319 0.01
EDU_J3 E:\tsm\server\[Link] EDU512 0.01
For details about the QUERY NODEDATA command, refer to the Administrator's
Reference.
To query the server for the amount of data stored in backup tape storage pools
belonging to the TAPECLASS device class, for example, enter:
query occupancy devclass=tapeclass
Figure 58 on page 399 displays a report on the occupancy of tape storage pools
assigned to the TAPECLASS device class.
Tip: For archived data, you might see “(archive)” in the Filespace Name column
instead of a file space name. This means that the data was archived before
collocation by file space was supported by the server.
For example, to request a report about backup versions stored in the disk storage
pool named BACKUPPOOL, enter:
query occupancy stgpool=backuppool type=backup
Figure 59 displays a report on the amount of server storage used for backed-up
files.
Procedure
1. Add the number of megabytes of space occupied by backup versions. In this
example, backup versions occupy 92.22 MB of space in BACKUPPOOL.
2. Add the number of files stored in the storage pool. In this example, 1760
backup versions reside in BACKUPPOOL.
Results
You can use this average to estimate the capacity required for additional storage
pools that are defined to the server.
For information about planning storage space, see “Estimating space needs for
storage pools” on page 379 and “Estimating space for archived files in
random-access storage pools” on page 381.
Procedure
To request information about the amount of free disk space in each directory for all
device classes with a device type of FILE, issue QUERY DIRSPACE command.
Example
Figure 60. A report of the free disk space for all device classes of device type FILE
To obtain the amount of free space associated with a particular device class, issue
the following command:
query dirspace device_class_name
During the data movement process, users cannot access the volume to restore or
retrieve files, and no new files can be written to the volume.
Remember:
v Files in a copy storage pool or an active-data pool do not move when primary
files are moved.
v You cannot move data into or out of a storage pool that is defined with a
CENTERA device class.
v In addition to moving data from volumes in storage pools that have NATIVE or
NONBLOCK data formats, you can also move data from volumes in storage
pools that have NDMP data formats (NETAPPDUMP, CELERRADUMP, or
NDMPDUMP). The target storage pool must have the same data format as the
source storage pool. If you are moving data out of a storage pool for the
purpose of upgrading to new tape technology, the target primary storage pool
must be associated with a library that has the new device for the tape drives.
v If you run the MOVE DATA command on an offsite volume that contains collocated
data, it might be necessary to issue the MOVE DATA command multiple times to
move all of the data out of the volume. Each MOVE DATA command moves the
data for a single collocation group.
Moving files from one volume to other volumes in the same storage pool is useful:
v When you want to free up all space on a volume so that it can be deleted from
the Tivoli Storage Manager server
See “Deleting storage pool volumes” on page 414 for information about deleting
backed-up, archived, or space-managed data before you delete a volume from a
storage pool.
v When you need to salvage readable files from a volume that has been damaged
v When you want to delete cached files from disk volumes
If you want to force the removal of cached files, you can delete them by moving
data from one volume to another volume. During the move process, the server
deletes cached files remaining on disk volumes.
If you move data between volumes within the same storage pool and you run out
of space in the storage pool before all data is moved from the target volume, then
you cannot move all the data from the target volume. In this case, consider moving
data to available space in another storage pool as described in “Data movement to
Remember: Data cannot be moved from a primary storage pool to a copy storage
pool or to an active-data pool. Data in a copy storage pool or an active-data pool
cannot be moved to another storage pool.
You can move data from random-access storage pools to sequential-access storage
pools. For example, if you have a damaged disk volume and you have a limited
amount of disk storage space, you could move all files from the disk volume to a
tape storage pool. Moving files from a disk volume to a sequential storage pool
may require many volume mount operations if the target storage pool is
collocated. Ensure that you have sufficient personnel and media to move files from
disk to sequential storage.
When a data move from a shred pool is complete, the original data is shredded.
However, if the destination is not another shred pool, you must set the
SHREDTONOSHRED parameter to YES to force the movement to occur. If this
value is not specified, the server issues an error message and does not allow the
data to be moved. See “Securing sensitive client data” on page 539 for more
information about shredding.
Processing of the MOVE DATA command for volumes in copy-storage pools and
active-data pools is similar to that of primary-storage pools, with the following
exceptions:
v Volumes in copy-storage pools and active-data pools might be set to an access
mode of offsite, making them ineligible to be mounted. During processing of the
MOVE DATA command, valid files on offsite volumes are copied from the original
files in the primary-storage pools. In this way, valid files on offsite volumes are
copied without having to mount these volumes. These new copies of the files are
written to another volume in the copy-storage pool or active-data pool.
v With the MOVE DATA command, you can move data from any primary-storage
pool volume to any primary-storage pool. However, you can move data from a
copy-storage pool volume only to another volume within the same-copy storage
pool. Similarly, you can move data from an active-data pool volume only to
another volume within the same active-data pool.
When you move files from a volume that is marked as offsite, the server performs
the following actions:
1. Determines which files still remain on the volume from which you are moving
data
2. Obtains the remaining files from a primary-storage pool or from another
copy-storage pool
During the data movement process, active-data pools cannot be used to obtain
data.
Processing of the MOVE DATA command for primary-storage pool volumes does not
affect copy-storage pool or active-data pool files.
Moving data
You can move data using the MOVE DATA command. Before moving data,
however, take steps to ensure that the move operation succeeds.
Procedure
When you move data from a volume, the server starts a background process and
sends informational messages, such as:
To run the MOVE DATA command in the foreground on an administrative client, issue
the command with the WAIT=YES parameter.
Remember:
v A volume might not be totally empty after a move data operation completes. For
example, the server might be unable to relocate one or more files to another
volume because of input/output errors on the device or because errors were
found in the file. You can delete the volume with DISCARDDATA=YES to delete
the volume and any remaining files. The server then deletes the remaining files
that had I/O or other errors.
v In addition to moving data from volumes in storage pools that have NATIVE or
NONBLOCK data formats, you can also move data from volumes in storage
pools that have NDMP data formats (NETAPPDUMP, CELERRADUMP, or
NDMPDUMP). The target storage pool must have the same data format as the
source storage pool. If you are moving data out of a storage pool for the
purpose of upgrading to new tape technology, the target primary storage pool
must be associated with a library that has the new device for the tape drives.
v If you run the MOVE DATA command on an offsite volume that contains collocated
data, it might be necessary to issue the MOVE DATA command multiple times to
move all of the data out of the volume. Each MOVE DATA command moves the
data for a single collocation group.
Figure 61 shows an example of the report that you receive about the data
movement process.
Remember:
1. Reclaiming empty space in NDMP-generated images is not an issue because
NDMP-generated images are not aggregated.
2. Reconstruction removes inactive backup files in active-data pools. Specifying
RECONSTRUCT=NO when moving data from volumes in an active-data pool
prevents the inactive backup files from being removed.
Procedure
Example
For example, to see how much data has moved from the source volume in the
move operation example, enter:
query volume d:\storage\vol3 stgpool=backuppool
Near the beginning of the move process, querying the volume from which data is
being moved gives the following results:
Volume Name Storage Device Estimated Pct Volume
Pool Name Class Name Capacity Util Status
--------------- ----------- ---------- --------- ----- --------
D:\STORAGE\VOL3 BACKUPPOOL DISK 15.0 M 59.9 On-Line
Querying the volume to which data is being moved (VOL1, according to the
process query output) gives the following results:
Volume Name Storage Device Estimated Pct Volume
Pool Name Class Name Capacity Util Status
---------------- ----------- ---------- --------- ----- --------
VOL1 STGTMP1 8500DEV 4.8 G 0.3 Filling
At the end of the move process, querying the volume from which data was moved
gives the following results:
When the source storage pool is a primary storage pool, you can move data to
other volumes within the same pool or to another primary storage pool. When the
source storage pool is a copy storage pool, data can only be moved to other
volumes within that storage pool. When the source storage pool is an active-data
pool, data can only be moved to other volumes within that same storage pool.
Tips:
v In addition to moving data from volumes in storage pools that have NATIVE or
NONBLOCK data formats, you can also move data from volumes in storage
pools that have NDMP data formats (NETAPPDUMP, CELERRADUMP, or
NDMPDUMP). The target storage pool must have the same data format as the
source storage pool.
v If you are moving files within the same storage pool, there must be volumes
available that do not contain the data that you are moving. That is, the server
cannot use a destination volume that contains data that needs to be moved.
v When you move data from volumes in an active-data pool, you have the option
of reconstructing file aggregates during data movement. Reconstruction removes
inactive backup files in the pool. Specifying no reconstruction prevents the
inactive files from being removed.
v You cannot move node data into or out of a storage pool that is defined with a
CENTERA device class.
Best practice: Avoid movement of data into, out of, or within a storage pool while
MOVE NODEDATA is concurrently processing data on the same storage pool.
To move all file spaces for a single node named ACCOUNTING where the data is
in storage pool ACCTPOOL and the destination storage pool is BACKUPPOOL
enter:
move nodedata accounting fromstgpool=acctpool tostgpool=backuppool
For example, consider moving data for a single node and restricting the data
movement to files in a specific non-Unicode file space (for this example, \\eng\e$)
as well as a specific Unicode file space (for this example, \\eng\d$ ). The node
name owning the data is ENGINEERING and it currently has data stored in the
ENGPOOL storage pool. After the move is complete, the data is located in the
destination storage pool BACKUPPOOL. To move the data enter the following:
move nodedata engineering fromstgpool=engpool
tostgpool=backuppool filespace=\\eng\e$ unifilespace=\\eng\d$
Another example is to move data for a single node named MARKETING from all
primary sequential-access storage pools to a random-access storage pool named
DISKPOOL. First obtain a list of storage pools that contain data for node
MARKETING, issue either:
query occupancy marketing
or
SELECT * from OCCUPANCY where node_name=’MARKETING’;
A final example shows moving both non-Unicode and Unicode file spaces for a
node. For node NOAH move non-Unicode file space \\servtuc\d$ and Unicode
file space \\tsmserv1\e$ that has a file space ID of 2 from sequential-access
storage pool TAPEPOOL to random-access storage pool DISKPOOL.
move nodedata noah fromstgpool=tapepool tostgpool=diskpool
filespace=\\servtuc\d$ fsid=2
Figure 62 shows an example of the report that you receive about the data
movement process.
Note: If you run the MOVE DATA command on an offsite volume that contains
collocated data, it might be necessary to issue the MOVE DATA command multiple
times to move all of the data out of the volume. Each MOVE DATA command moves
the data for a single collocation group.
When you rename a storage pool, any administrators with restricted storage
privilege for the storage pool automatically have restricted storage privilege to the
storage pool under the new name. If the renamed storage pool is in a storage pool
hierarchy, the hierarchy is preserved.
Copy groups and management classes might contain a storage pool name as a
destination. If you rename a storage pool used as a destination, the destination in a
copy group or management class is not changed to the new name of the storage
pool. To continue to use the policy with the renamed storage pool as a destination,
you must change the destination in the copy groups and management classes. You
then activate the policy set with the changed destinations.
To define a copy storage pool, issue the DEFINE STGPOOL command and specify
POOLTYPE=COPY. To define an active-data pool, issue the DEFINE STGPOOL
command and specify POOLTYPE=ACTIVEDATA. When you define a copy
storage pool or an active-data pool, be prepared to provide some or all of the
information in Table 36.
Remember:
1. To back up a primary storage pool to an active-data pool, the data format must
be NATIVE or NONBLOCK. You can back up a primary storage pool to a copy
storage pool using NATIVE, NONBLOCK, or any of the NDMP formats. The
target storage pool must have the same data format as the source storage pool.
2. You cannot define copy storage pools or active-data pools for a Centera device
class.
Table 36. Information for defining copy storage pools and active-data pools
Information Explanation
Device class Specifies the name of the device class assigned for the storage pool. This
is a required parameter.
Pool type Specifies that you want to define a copy storage pool or an active-data
pool. This is a required parameter. You cannot change the pool type
when updating a storage pool.
Access mode Defines access to volumes in the storage pool for user operations (such
as backup and restore) and system operations (such as reclamation).
Possible values are:
Read/Write
User and system operations can read from or write to the
volumes.
Read-Only
User operations can read from the volumes, but not write.
However, system processes can move files within the volumes
in the storage pool.
Unavailable
Specifies that users cannot access files stored on volumes in the
copy storage pool or an active-data pool. Files can be moved
from volume to volume with the same copy storage pool or
from volume to volume within the same active-data pool, but
no new writes are permitted to the volumes in the storage pool
from volumes outside the storage pool.
Maximum When you specify a value greater than zero, the server dynamically
number of scratch acquires scratch volumes when needed, up to this maximum number.
volumes This is a required parameter.
For automated libraries, set this value equal to the physical capacity of
the library. For details, see:
“Adding scratch volumes to automated library devices” on page 138
Collocation When collocation is enabled, the server tries to keep all files on a
minimal number of sequential-access storage volumes. The files can
belong to a single client node, a group of client nodes, a client file space,
or a group of file spaces. See “Collocation of copy storage pools and
active-data pools” on page 364.
For more information, see “Backing up primary storage pools” on page 883.
To store data in the new storage pool, you must back up the primary storage pools
(BACKUPPOOL, ARCHIVEPOOL, and SPACEMGPOOL) to the
DISASTER-RECOVERY pool. See “Backing up primary storage pools” on page 883.
If files that are not cached are deleted from a primary storage pool volume, any
copies of these files in copy storage pools and active-data pools are deleted.
Files in a copy storage pool or an active-data pool are never deleted unless:
v Data retention is off, or the files have met their retention criterion.
v The volume that contains the copy file is deleted by using the
DISCARDDATA=YES option.
v A read error is detected by using AUDIT VOLUME with the FIX=YES option for
a copy storage pool volume or an active-data pool volume.
v The primary file is deleted because of:
– Policy-based file expiration
– File space deletion
– Deletion of the primary storage pool volume
You cannot delete a Centera volume if the data in the volume was stored using a
server with retention protection enabled and if the data has not expired.
Tip: If you are deleting many volumes, delete the volumes one at a time.
Concurrently deleting many volumes can adversely affect server performance.
You can delete empty storage pool volumes. For example, to delete an empty
volume named WREN03, enter:
delete volume wren03
Volumes in a shred pool (DISK pools only) are not deleted until shredding is
completed. See “Securing sensitive client data” on page 539 for more information.
After you respond yes, the server generates a background process to delete the
volume.
Tips:
1. The Tivoli Storage Manager server will not delete archive files that are on
deletion hold.
2. If archive retention protection is enabled, the Tivoli Storage Manager server
will delete only archive files whose retention period has expired.
3. Volumes in a shred pool (DISK pools only) are note deleted until the data on it
is shredded. See “Securing sensitive client data” on page 539 for more
information.
For example, to discard all data from volume WREN03 and delete the volume
from its storage pool, enter:
delete volume wren03 discarddata=yes
To delete a volume but not the files it contains, move the files to another volume.
See “Moving data from one volume to another volume” on page 400 for
information about moving data from one volume to another volume.
Residual data: Even after you move data, residual data may remain on the
volume because of I/O errors or because of files that were previously marked as
damaged. (Tivoli Storage Manager does not move files that are marked as
damaged.) To delete any volume that contains residual data that cannot be moved,
you must explicitly specify that files should be discarded from the volume.
When the Tivoli Storage Manager server is installed, the Tivoli Storage Manager
backup-archive client and the administrative client are installed on the same server
by default. However, many installations of Tivoli Storage Manager include remote
clients, and application clients on other servers, often running on different
operating systems.
The term “nodes” indicate the following type of clients and servers that you can
register as client nodes:
v Tivoli Storage Manager backup-archive clients
v Tivoli Storage Manager application clients, such as Tivoli Storage Manager for
Mail clients
v Tivoli Storage Manager for Space Management (HSM client)
v Tivoli Storage Manager source server registered as a node on a target server
v Network-attached storage (NAS) file server using NDMP support
Each node must be registered with the server and requires an option file with a
pointer to the server.
For details on many of the topics in this chapter, refer to the Backup-Archive Clients
Installation and User's Guide.
Related concepts:
“Accepting default closed registration or enabling open registration” on page 421
“Overview of clients and servers as nodes”
Related tasks:
“Installing client node software” on page 420
“Registering nodes with the server” on page 420
Related reference:
“Connecting nodes with the server” on page 425
“Comparing network-attached nodes to local nodes” on page 427
The following are the methods for installing client node software:
v Install directly from the CD
v Transfer installable files from the CD to a target server
v Create client software images and install the images
Tip: You can connect to a Web backup-archive client directly from a supported
Web browser or from a hyperlink in the Web administrative Enterprise Console. To
do so, specify the node's URL and port number during the registration process or
update the node later with this information.
Related concepts:
“Overview of remote access to web backup-archive clients” on page 445
The administrator must register client nodes with the server when registration is
set to closed. Closed registration is the default.
Windows users can also use the Minimal Configuration option in the Initial
Configuration Task List.
Open registration allows the client nodes to register their node names, passwords,
and compression options. On UNIX and Linux systems, only the root user can
register a client node with the server.
With open registration, the server automatically assigns the node to the
STANDARD policy domain. The server, by default, allows users to delete archive
copies, but not backups in server storage. Nodes are created with the default
authentication method that is defined on the server. Nodes are registered with the
default authentication method if it is defined on the server with the SET
DEFAULTAUTHENTICATION command. The default is LOCAL.
Procedure
1. Enable open registration by entering the following command from an
administrative client command line:
set registration open
For examples and a list of open registration defaults, see the Administrator's
Reference.
2. To change the defaults for a registered node, issue the UPDATE NODE command.
Remember: Use either client compression or drive compression, but not both.
Related concepts:
“Data compression” on page 200
Procedure
Specify an option set for a node when you register or update the node. Issue the
following example command:
register node mike pass2eng cloptset=engbackup
The client node MIKE is registered with the password pass2eng. When the client
node MIKE performs a scheduling operation, the schedule log entries are kept for
5 days.
Related reference:
“Managing client option files” on page 464
The REGISTER NODE and UPDATE NODE commands have a default parameter of
TYPE=CLIENT.
Procedure
To register a NAS file server as a node, specify the TYPE=NAS parameter. Issue
the following command, which is an example, to register a NAS file server with a
node name of NASXYZ and a password of PW4PW:
register node nasxyz pw4pw type=nas
You must use this same node name when you later define the corresponding data
mover name.
Related reference:
Chapter 9, “Using NDMP for operations with NAS file servers,” on page 203
To use virtual volumes, register the source server as a client node on the target
server.
The REGISTER NODE and UPDATE NODE commands have a default parameter of
TYPE=CLIENT.
Procedure
An administrator can issue the REGISTER NODE command to register the workstation
as a node.
You can determine the compression by using one of the following methods:
v An administrator during registration who can:
– Require that files are compressed
– Restrict the client from compressing files
– Allow the application user or the client user to determine the compression
status
v The client options file. If an administrator does not set compression on or off,
Tivoli Storage Manager checks the compression status that is set in the client
options file. The client options file is required, but the API user configuration file
is optional.
v One of the object attributes. When an application sends an object to the server,
some object attributes can be specified. One of the object attributes is a flag that
indicates whether or not the data has already been compressed. If the
application turns this flag on during either a backup or an archive operation,
then Tivoli Storage Manager does not compress the data a second time. This
process overrides what the administrator sets during registration.
For more information on setting options for the API and on controlling
compression, see IBM Tivoli Storage Manager Using the Application Program Interface
The administrator who sets the file deletion option can use the following methods:
v An administrator during registration
If an administrator does not allow file deletion, then an administrator must
delete objects or file spaces that are associated with the workstation from server
storage.
If an administrator allows file deletion, then Tivoli Storage Manager checks the
client options file.
v An application using the Tivoli Storage Manager API deletion program calls
If the application uses the dsmDeleteObj or dsmDeleteFS program call, then
objects or files are marked for deletion when the application is executed.
On the Windows platform, you can use a wizard to work with the client options
file.
Important: If any changes are made to the [Link] file, the client must be restarted
for changes in the options file to have any affect.
The client options file [Link] is located in the client, application client, or host
server directory. If the file does not exist, copy the [Link] file. Users and
administrators can edit the client options file to specify:
v The network address of the server
v The communication protocol
v Backup and archive options
v Space management options
v Scheduling options
Related concepts:
“Creating or updating a client options file” on page 426
Figure 63 on page 426 shows the contents of a client options file that is configured
to connect to the server using TCP/IP. The communication options specified in the
client options file satisfy the minimum requirements for the node to connect to the
server.
Many non-required options are available that can be set at any time. These options
control the behavior of Tivoli Storage Manager processing.
Refer to Backup-Archive Clients Installation and User's Guide for more information
about non-required client options.
Related concepts:
“Creating or updating a client options file”
For nodes and host servers that run Windows, one more step is required.
Administrators must update passwords by using the IBM Tivoli Storage Manager
Scheduler Configuration Utility (DSMCUTIL). This utility allows administrators to
store Tivoli Storage Manager passwords in the Windows registry. After a password
is stored in the registry, the scheduler can run as a protected account under its own
authority. If the password expires, Tivoli Storage Manager automatically generates
a new password. To specify that the server provide a new password if the current
password expires, remove the asterisk from the following line in the client options
file: * passwordaccess generate.
Editing individual options files is the most direct method, but may not be suitable
for sites with many client nodes.
From the backup-archive client GUI, the client can also display the setup wizard
by selecting Utilities > Setup Wizard. The user can follow the panels in the setup
wizard to browse Tivoli Storage Manager server information in the Active
Directory. The user can determine which server to connect to and what
communication protocol to use.
Backup-archive client
Server
Administrative client
Figure 65 on page 428 shows that a network environment Tivoli Storage Manager
consists of a backup-archive client and an administrative client on the same
computer as the server. However, network-attached client nodes can also connect
to the server.
Server
Administrative client
Application client
Each client requires a client options file. A user can edit the client options file at
the client node. The options file contains a default set of processing options that
identify the server, communication method, backup and archive options, space
management options, and scheduling options.
Procedure
To change the default to open so users can register their own client nodes, issue
the following command:
set registration open
Before you can assign client nodes to a policy domain, the policy domain must
exist.
You want to let users delete backed up or archived files from storage pools. From
an administrative client, you can use the macro facility to register more than one
client node at a time.
The Tivoli Storage Manager server views its registered clients, application clients,
and source servers as nodes. The term “client node” refers to the following type of
clients and servers:
v Tivoli Storage Manager backup-archive clients
v Tivoli Storage Manager application clients, such as Tivoli Storage Manager for
Mail clients
v Tivoli Storage Manager source servers registered as nodes on a target server
v Network-attached storage (NAS) file servers using network data management
protocol (NDMP) support
Related concepts:
“Accepting default closed registration or enabling open registration” on page 421
“Overview of clients and servers as nodes” on page 419
Related tasks:
“Installing client node software” on page 420
“Registering nodes with the server” on page 420
Related reference:
“Connecting nodes with the server” on page 425
“Comparing network-attached nodes to local nodes” on page 427
Managing nodes
From the perspective of the server, each client and application client is a node
requiring IBM Tivoli Storage Manager services.
Administrators can perform the following activities when managing client nodes.
Related reference:
“Defining client nodes and file spaces” on page 451
IBM Tivoli Storage Manager has two methods for enabling communication
between the client and the server across a firewall: client-initiated communication
and server-initiated communication. To allow either client-initiated or
server-initiated communication across a firewall, client options must be set in
concurrence with server parameters on the REGISTER NODE or UPDATE NODE
commands. Enabling server-initiated communication overrides client-initiated
communication, including client address information that the server may have
previously gathered in server-prompted sessions.
Client-initiated sessions
You can enable clients to communicate with a server across a firewall by opening
the TCP/IP port for the server and modifying the [Link] file.
Procedure
1. To enable clients to communicate with a server across a firewall, open the
TCP/IP port for the server on the TCPPORT option in the [Link] file. The
default TCP/IP port is 1500. When authentication is turned on, the information
that is sent over the wire is encrypted.
2. To enable administrative clients to communicate with a server across a firewall,
open the TCP/IP port for the server on the TCPADMINPORT option in the
[Link] file. The default TCP/IP port is the TCPPORT value. When
authentication is turned on, the information that is sent over the wire is
encrypted. See the Backup-Archive Clients Installation and User's Guide for more
information.
Results
1. If the TCPADMINPORT option is specified, sessions from clients without
administration authority can be started on the TCPPORT port only. If the server
[Link] specifies TCPADMINPORT that is different from the TCPPORT and sets
ADMINONCLIENTPORT to NO, then administrative client sessions can be started on
the TCPADMINPORT port only.
2. You can specify either IPv4 or IPv4/IPv6 in the COMMMETHOD option when you
start the server, storage agent, client, or API application. The same port
numbers are used by the server, storage agent, client, or API application for
both IPv4 and IPv6.
Remember: You can continue to use IPv4 address formats for the following
functions:
v NDMP: backing up and restoring storage pools, copying and moving data
v ACSLS
v SNMP
v Centera device support
v Shared memory protocol
v Windows Microsoft Management Console functions
Server-initiated sessions
To limit the start of backup-archive client sessions to the IBM Tivoli Storage
Manager server, specify the SESSIONINITIATION parameter on the server. You must
also synchronize the information in the client option file.
In either the REGISTER NODE or UPDATE NODE command, select the SERVERONLY option
of the SESSIONINITIATION parameter. Provide the HLADDRESS and LLADDRESS
client node addresses. For example,
register node fran secretpw hladdress=[Link] lladdress=1501
sessioninitiation=serveronly
The HLADDRESS specifies the IP address of the client node, and is used whenever the
server contacts the client. The LLADDRESS specifies the low level address of the
client node and is used whenever the server contacts the client. The client node
listens for sessions from the server on the LLADDRESS port number.
Procedure
Update client node TOMC to prevent it from deleting archived files from storage
pools by entering the following example command:
update node tomc archdelete=no
To use the feature, the backup-archive client must meet these requirements:
v The PASSWORDACCESS option must be set to generate.
v The client acceptor (CAD) or backup-archive client schedule must be running at
the time of the deployment. The backup-archive client is deployed from the
server as a scheduled task.
v The backup-archive client must meet the following disk space requirements:
Table 39. Disk space required to deploy a backup-archive client package
Operating system Total required disk space
AIX 1500 MB
Solaris 1200 MB
HP-UX 900 MB
Mac OS X 200 MB
Linux x86/x86 64 950 MB
Windows 2 GB
Important: You must use the SET SERVERHLADDRESS command for all automatic
client deployments.
You can find the deployment packages in the maintenance directory on the FTP
site: [Link]
client.
set serverhladdress=[Link]
where:
v ibm_client_deploy_import is the temporary location from where the deployment packages
are imported. This parameter is defined by the deployment manager.
v import_directory is a previously defined directory that is accessible from the server.
v stgpool_name is the name of a storage pool of your choosing where the deployment
packages are stored on the server. The storage pool name is based on a previously
defined device class. That device class is different from the one which is used to perform
IMPORT operations.
v storage_dc_name represents the device class where the deployment packages are stored on
the server.
v retention_value (RETVER) of the DEFINE COPYGROUP command sets the retention time for the
package. You can set it to NOLimit or to a number of days. The default for the
Administration Center is five years.
Important: The retention value must be set to a value that includes the amount of time
that the package was on the FTP site. For example, if a deployment package is on the FTP
site for 30 days, the retention value for the copy group must be greater than 30 days. If
not, the package expires when the next EXPIRE INVENTORY command is issued.
v [Link] is the server IP address or host name from which you scheduled
the client automatic deployment.
Ensure that you configure the server for backup-archive client automatic
deployments before you import the packages.
Procedure
where:
upgradedev is the file device class name.
[Link] is the deployment package name. You can also use a
comma-separated list of package names.
If you want to view the progress, issue the QUERY PROCESS command.
3. Verify that the packages are in a location that the server can reach. Enter the
following command:
select * from ARCHIVES where node_name=’IBM_CLIENT_DEPLOY_WIN’
where ARCHIVES is the type of file that is imported through the IMPORT NODE
command.
Related reference:
“Using the command-line interface to configure the server for a backup-archive
client deployment” on page 435
Procedure
1. Issue the DEFINE SCHEDULE command. For example:
define schedule domain_name schedule_name action=deploy
objects="deployment_package_location destination_for_package"
options="-fromnode=IBM_CLIENT_DEPLOY_WIN
-postnschedulecmd=’relative_path\[Link] schedule=schedule_name
autodeploy=noreboot nodeinfo=TBD’ -subdir=yes -replace=all"
startdate=4/20/2013 perunits=onetime
where
deployment_package_location is the path to the deployment package
destination_for_package is the path to where you want to store the
deployment package
IBM_CLIENT_DEPLOY_WIN is the predefined name (for a Windows
deployment) for the -fromnode option
You can verify that the server is configured to manage deployment packages for
the backup-archive client.
Procedure
Complete the following steps to verify that the server is configured to manage
deployment packages:
When users access the server, their IBM Tivoli Storage Manager user IDs match the
host name of their workstations. If the host name changes, you can update a client
node user ID to match the new host name.
Procedure
ENGNODE retains the contact information and access to back up and archive data
that belonged to CAROLH. All files backed up or archived by CAROLH now
belong to ENGNODE.
Results
If you rename a node that authenticates with an LDAP directory server, names for
same-named nodes on other servers that share namespace are not renamed. You
must issue a RENAME command for each node. If you want to keep the nodes in
sync, change their name to match the new name. If you do not, the node on the
other server can no longer authenticate with the LDAP directory server if you
specify SYNCLDAPDELETE=YES.
If you have a node that shares namespace on an LDAP directory server with other
nodes, you can rename each node. The renaming must, however, be done on each
server. For example, you can issue the following command on each server:
rename node starship moonship syncldapdelete=yes
The node starship, that authenticates to an LDAP directory server, changes their
name to moonship. With SYNCLDAPDELETE=YES, the entry on the LDAP directory
server changes to moonship and removes node starship from the LDAP server.
You can restore a locked node’s access to the server with the UNLOCK NODE
command.
Procedure
1. To prevent client node MAB from accessing the server, issue the following
example command:
lock node mab
2. To let client node MAB access the server again, issue the following example
command:
unlock node mab
Related tasks:
“Disabling or enabling access to the server” on page 471
Before you can delete a network-attached storage (NAS) node, you must first
delete any file spaces, then delete any defined paths for the data mover with the
DELETE PATH command. Delete the corresponding data mover with the DELETE
DATAMOVER command. Then you can issue the REMOVE NODE command to delete the
NAS node.
Procedure
This is useful when the server responsible for performing the backup may change
over time, such as with a cluster. Consolidating shared data from multiple servers
under a single name space on the Tivoli Storage Manager server means that the
directories and files can be easily found when restore operations are required.
Backup time can be reduced and clustered configurations can store data with
proxy node support. Client nodes can also be configured with proxy node
authority to support many of the systems which support clustering failover.
By granting client nodes proxy node authority to another node, you gain the
ability to backup, archive, migrate, restore, recall, and retrieve shared data on
multiple clients under a single node name on the Tivoli Storage Manager server.
When authorized as agent nodes, Tivoli Storage Manager nodes and Tivoli Storage
Manager for Space Management (HSM) clients can be directed to backup or restore
data on behalf of another node (the target node).
Administrators must then create scripts that change the passwords manually before
they expire. Using proxy node support, it is possible to break up a large GPFS into
smaller units for backup purposes and not have password coordination issues.
The following example shows how scheduling would work where workload is
distributed, for example in the DB2 Universal Database Enterprise Extended
Edition (EEE) environment. In this example, NODE_A, NODE_B and NODE_C all
work together to back up this distributed environment, all acting on behalf of
NODE-Z. NODE_A directs the backup for all three physical servers. NODE_A
either has ASNODENAME=NODE_Z in its local options file or the server (through
the DEFINE SCHEDULE command) has indicated that NODE_A needs to request
proxy authority to NODE_Z. See the Backup-Archive Clients Installation and User's
Guide for more information on the ASNODENAME client option.
An administrator can define the schedule that does a DB2 UDB EEE backup on
behalf of NODE_Z by issuing the following command:
DEFINE SCHEDULE STANDARD BACKUP-SCHED ACTION=INCREMENTAL
OPTIONS=’-ASNODENAME=NODE_Z’
Agent nodes are considered traditional nodes in that there is usually a one-to-one
relationship between a traditional node and a physical server. A target node can be
a logical entity, meaning no physical server corresponds to the node. Or, it can be a
predefined node which corresponds to a physical server.
By using the GRANT PROXYNODE command, you can grant proxy node authority to all
nodes sharing data in the cluster environment to access the target node on the
Tivoli Storage Manager server. QUERY PROXYNODE displays the nodes to which a
proxy node relationship was authorized. See the Administrator's Reference for more
information about these commands.
Proxy node relationships will not be imported by default; however, the associations
can be preserved by specifying the PROXYNODEASSOC option on the IMPORT NODE and
IMPORT SERVER commands. Exporting to sequential media maintains proxy node
relationships, but exporting to a server requires specifying the PROXYNODEASSOC
option on EXPORT NODE and EXPORT SERVER.
Important:
v If a proxy node relationship is authorized for incompatible file spaces, there is a
possibility of data loss or other corruption.
v Central command routing or importing of the GRANT PROXYNODE and REVOKE
PROXYNODE commands can create access issues.
v The maximum number of mount points for agent nodes should be increased to
allow parallel backup operations across the target nodes.
The following example shows how to set up proxy node authority for shared
access. In the example, client agent nodes NODE_1, NODE_2, and NODE_3 all
share the same General Parallel File System (GPFS). Because the file space is so
large, it is neither practical nor cost effective to back up this file system from a
single client node. By using Tivoli Storage Manager proxy node support, the very
large file system can be backed up by the three agent nodes for the target
All settings used in the proxy node session are determined by the definitions of the
target node, in this case NODE_GPFS. For example, any settings for
DATAWRITEPATH or DATAREADPATH are determined by the target node, not
the agent nodes (NODE_1, NODE_2, NODE_3).
Assume that NODE_1, NODE_2 and NODE_3 each need to execute an incremental
backup and store all the information under NODE_GPFS on the server.
Procedure
Perform the following steps to set up a proxy node authority for shared access:
1. Define four nodes on the server: NODE_1, NODE_2, NODE_3, and
NODE_GPFS. Issue the following commands:
register node node_1 mysecretpa5s
register node node_2 mysecret9pas
register node node_3 mypass1secret
register node node_gpfs myhiddp3as
2. Define a proxy node relationship among the nodes by issuing the following
commands:
grant proxynode target=node_gpfs agent=node_1,node_2,node_3
3. Define the node name and asnode name for each of the servers in the
respective [Link] files. See the Backup-Archive Clients Installation and User's
Guide for more information on the NODENAME and ASNODENAME client options.
Issue the following commands:
nodename node_1
asnodename node_gpfs
4. Optionally, define a schedule:
define schedule standard gpfs-sched action=macro options="gpfs_script"
5. Assign a schedule to each client node by issuing the following commands:
define association standard gpfs-sched node_1
define association standard gpfs-sched node_2
define association standard gpfs-sched node_3
6. Execute the schedules by issuing the following command:
dsmc schedule
For example, as a policy administrator, you might query the server about all client
nodes assigned to the policy domains for which you have authority. Or you might
query the server for detailed information about one client node.
Procedure
Issue the following command to view information about client nodes that are
assigned to the STANDARD and ENGPOLDOM policy domains:
query node * domain=standard,engpoldom
The data from that command might display similar to the following output:
Node Name Platform Policy Domain Days Since Days Since Locked?
Name Last Password
Access Set
---------- -------- -------------- ---------- ---------- -------
JOE WinNT STANDARD 6 6 No
ENGNODE AIX ENGPOLDOM <1 1 No
HTANG Mac STANDARD 4 11 No
MAB AIX ENGPOLDOM <1 1 No
PEASE Linux86 STANDARD 3 12 No
SSTEINER SOLARIS ENGPOLDOM <1 1 No
Procedure
For example, to review the registration parameters defined for client node JOE,
issue the following command:
query node joe format=detailed
A web backup-archive client can be accessed from a web browser or opened from
the Operations Center interface. This allows an administrator with the proper
authority to perform backup, archive, restore, and retrieve operations on any
server that is running the web backup-archive client.
You can establish access to a web backup-archive client for help desk personnel
that do not have system or policy privileges by granting those users client-access
authority to the nodes that they must manage. Help desk personnel can then
perform activities on behalf of the client node such as backup and restore
operations.
To use the web backup-archive client from your web browser, specify the URL and
port number of the Tivoli Storage Manager backup-archive client computer that is
running the web client. The browser that you use to connect to a web
backup-archive client must be Microsoft Internet Explorer 5.0 or Netscape 4.7 or
later. The browser must have the Java Runtime Environment (JRE) 1.3.1, which
includes the Java Plug-in software. The JRE is available at http://
[Link]/.
During node registration, you have the option of granting client owner or client
access authority to an existing administrative user ID. You can also prevent the
server from creating an administrative user ID at registration. If an administrative
user ID exists with the same name as the node that is being registered, the server
registers the node but does not automatically create an administrative user ID. This
process also applies if your site uses open registration.
For more information about installing and configuring the web backup-archive
client, refer to Backup-Archive Clients Installation and User's Guide.
Administrators with system or policy privileges over the client node's domain,
have client owner authority by default. The administrative user ID created
automatically at registration has client owner authority by default. This
administrative user ID is displayed when an administrator issues a QUERY ADMIN
command.
The following definitions describe the difference between client owner and client
access authority when defined for a user that has the node privilege class:
Client owner
You can access the client through the Web backup-archive client or
native backup-archive client.
You own the data and have a right to physically gain access to the data
remotely. You can backup and restore files on the same or different
servers, you can delete file spaces or archive data.
The user ID with client owner authority can also access the data from
another server using the –NODENAME or -VIRTUALNODENAME parameter.
The administrator can change the client node's password for which they
have authority.
This is the default authority level for the client at registration. An
administrator with system or policy privileges to a client's domain has
client owner authority by default.
Client access
You can only access the client through the Web backup-archive client.
You can restore data only to the original client.
You can grant client access or client owner authority to other administrators by
specifying CLASS=NODE and AUTHORITY=ACCESS or AUTHORITY=OWNER parameters on
the GRANT AUTHORITY command. You must have one of the following privileges to
grant or revoke client access or client owner authority:
v System privilege
v Policy privilege in the client's domain
v Client owner privilege over the node
v Client access privilege over the node
You can grant an administrator client access authority to individual clients or to all
clients in a specified policy domain. For example, you may want to grant client
access privileges to users that staff help desk environments.
Related tasks:
“Example: setting up help desk access to client computers in a specific policy
domain” on page 449
Procedure
1. Issue the following command to grant client access authority to administrator
FRED for the LABCLIENT node:
grant authority fred class=node node=labclient
The administrator FRED can now access the LABCLIENT client, and perform
backup and restore. The administrator can only restore data to the LABCLIENT
node.
2. Issue the following command to grant client owner authority to ADMIN1 for
the STUDENT1 node:
grant authority admin1 class=node authority=owner node=student1
The user ID ADMIN1 can now perform backup and restore operations for the
STUDENT1 client node. The user ID ADMIN1 can also restore files from the
STUDENT1 client node to a different client node.
When the node is created, the authentication method and Secure Sockets Layer
(SSL) settings are inherited by the administrator.
Procedure
Procedure
Procedure
To give client owner authority to the HELPADMIN user ID when registering the
NEWCLIENT node, issue the following command:
register node newclient pass2new userid=helpadmin
This command results in the NEWCLIENT node being registered with a password
of pass2new, and also grants HELPADMIN client owner authority. This command
would not create an administrator ID. The HELPADMIN client user ID is now able
to access the NEWCLIENT node from a remote location.
You are also granting HELP1 client access authority to the FINANCE domain
without having to grant system or policy privileges.
The help desk person, using HELP1 user ID, has a Web browser with Java
Runtime Environment (JRE) 1.3.1.
Procedure
1. Register an administrative user ID of HELP1.
register admin help1 05x23 contact="M. Smith, Help Desk x0001"
2. Grant the HELP1 administrative user ID client access authority to all clients in
the FINANCE domain. With client access authority, HELP1 can perform backup
and restore operations for clients in the FINANCE domain. Client nodes in the
FINANCE domain are Dave, Sara, and Joe.
grant authority help1 class=node authority=access domains=finance
The following output is generated by this command:
ANR2126I GRANT AUTHORITY: Administrator HELP1 was granted ACCESS authority for client
DAVE.
ANR2126I GRANT AUTHORITY: Administrator HELP1 was granted ACCESS authority for client
JOE.
ANR2126I GRANT AUTHORITY: Administrator HELP1 was granted ACCESS authority for client
SARA.
3. The help desk person, HELP1, opens the Web browser and specifies the URL
and port number for client computer Sara:
[Link]
A Java applet is started, and the client hub window is displayed in the main
window of the Web browser. When HELP1 accesses the backup function from
the client hub, the IBM Tivoli Storage Manager login screen is displayed in a
separate Java applet window. HELP1 authenticates with the administrative user
ID and password. HELP1 can perform a backup for Sara.
Results
For information about what functions are not supported on the Web
backup-archive client, refer to Backup-Archive Clients Installation and User's Guide.
Procedure
Tip: You can copy the files to any location on the host operating system, but
ensure that all files are copied to the same directory.
5. Ensure that guest virtual machines are running. This step is necessary to ensure
that the guest virtual machines are detected during the hardware scan.
6. To collect PVU information, issue the following command:
retrieve -v
What to do next
If you restart the host machine or change the configuration, run the retrieve
command again to ensure that current information is retrieved.
Tip: When the IBM Tivoli Storage Manager for Virtual Environments license file is
installed on a VMware vStorage backup server, the platform string that is stored
on the Tivoli Storage Manager server is set to TDP VMware for any node name
that is used on the server. The reason is that the server is licensed for Tivoli
Storage Manager for Virtual Environments. The TDP VMware platform string can
be used for PVU calculations. If a node is used to back up the server with standard
backup-archive client functions, such as file-level and image backup, interpret the
TDP VMware platform string as a backup-archive client for PVU calculations.
Administrators can perform the following activities when managing file spaces:
Related reference:
“Defining client nodes and file spaces”
Typically, each client file system is represented on the server as a unique file space
that belongs to each client node. Therefore, the number of file spaces a node has
depends on the number of file systems on the client computer. For example, a
Windows desktop system may have multiple drives (file systems), such as C: and
D:. In this case, the client's node has two file spaces on the server; one for the C:
drive and a second for the D: drive. The file spaces can grow as a client stores
more data on the server. The file spaces decrease as backup and archive file
versions expire and the server reclaims the space.
IBM Tivoli Storage Manager does not allow an administrator to delete a node
unless the node's file spaces have been deleted.
For client nodes running on NetWare, file spaces map to NetWare volumes. Each
file space is named with the corresponding NetWare volume name.
For clients running on Macintosh, file spaces map to Macintosh volumes. Each file
space is named with the corresponding Macintosh volume name.
For clients running on UNIX or Linux, a file space name maps to a file space in
storage that has the same name as the file system or virtual mount point from
which the files originated. The VIRTUALMOINTPOINT option allows users to define a
virtual mount point for a file system to back up or archive files beginning with a
specific directory or subdirectory. For information on the VIRTUALMOUNTPOINT
option, refer to the appropriate Backup-Archive Clients Installation and User's Guide.
For client nodes that are running on Windows, it is possible to create objects with
long fully qualified names. The IBM Tivoli Storage Manager clients for Windows
are able to support fully qualified names of up to 8704 bytes in length for backup
and restore functions. These long names are often generated with an automatic
naming function or are assigned by an application.
Long object names can be difficult to display and use through normal operating
system facilities, such as a command prompt window or Windows Explorer. To
manage them, Tivoli Storage Manager assigns an identifying token to the name
and abbreviates the length. The token ID is then used to display the full object
name. For example, an error message might display as follows, where
[TSMOBJ:9.1.2084] is the assigned token ID:
ANR9999D file.c(1999) Error handling file [TSMOBJ:9.1.2084] because of
lack of server resources.
The token ID can then be used to display the fully qualified object name by
specifying it in the DISPLAY OBJNAME command.
Procedure
The fully qualified object name is displayed. If you are displaying long object
names that are included in backup sets, a token ID might not be included if the
entries for the path no longer exist in the Tivoli Storage Manager server database.
You cannot obtain a token ID by issuing QUERY BACKUPSETCONTENTS. To view the
fully qualified name, you can load the backup set table of contents from the client.
For more information about fully qualified object names and issuing the DISPLAY
OBJNAME command, see the Administrator's Reference.
New clients storing data on the server for the first time require no special setup. If
the client has the latest IBM Tivoli Storage Manager client software installed, the
server automatically stores Unicode-enabled file spaces for that client.
However, if you have clients that already have data stored on the server and the
clients install the Unicode-enabled IBM Tivoli Storage Manager client software, you
need to plan for the migration to Unicode-enabled file spaces. To allow clients with
existing data to begin to store data in Unicode-enabled file spaces, IBM Tivoli
Storage Manager provides a function for automatic renaming of existing file
spaces. The file data itself is not affected; only the file space name is changed.
After the existing file space is renamed, the operation creates a new file space that
is Unicode-enabled. The creation of the new Unicode-enabled file space for clients
can greatly increase the amount of space required for storage pools and the
amount of space required for the server database. It can also increase the amount
When clients with existing file spaces migrate to Unicode-enabled file spaces, you
need to ensure that sufficient storage space for the server database and storage
pools is available. You also need to allow for potentially longer backup windows
for the complete backups.
Attention: After the server is at the latest level of software that includes support
for Unicode-enabled file spaces, you can only go back to a previous level of the
server by restoring an earlier version of IBM Tivoli Storage Manager and the
database.
When IBM Tivoli Storage Manager cannot convert the code page, the client may
receive one or all of the following messages if they were using the command line:
ANS1228E, ANS4042E, and ANS1803E. Clients that are using the GUI may see a
“Path not found” message. If you have clients that are experiencing such backup
failures, then you need to migrate the file spaces for these clients to ensure that
these systems are completely protected with backups. If you have a large number
of clients, set the priority for migrating the clients based on how critical each
client's data is to your business.
Any new file spaces that are backed up from client systems with the
Unicode-enabled IBM Tivoli Storage Manager client are automatically stored as
Unicode-enabled file spaces in server storage.
When enabled, IBM Tivoli Storage Manager uses the rename function when it
recognizes that a file space that is not Unicode-enabled in server storage matches
the name of a file space on a client. The existing file space in server storage is
renamed, so that the file space in the current operation is then treated as a new,
Unicode-enabled file space. For example, if the operation is an incremental backup
at the file space level, the entire file space is then backed up to the server as a
Unicode-enabled file space.
The following example shows how this process works when automatic renaming is
enabled from the server, for an existing client node that has file spaces in server
storage.
Procedure
1. The administrator updates a client node definition by issuing an UPDATE NODE
command with the parameter, AUTOFSRENAME YES.
2. The client processes an incremental back up.
3. The IBM Tivoli Storage Manager processes the backup as follows:
a. Renames the existing file space (_OLD)
b. Creates a new Unicode-enabled file space
c. Processes the backup in the current operation to the new Unicode-enabled
file space
Results
If you force the file space renaming for all clients at the same time, backups can
contend for network and storage resources, and storage pools can run out of
storage space.
Related tasks:
“Planning for Unicode versions of existing client file spaces” on page 458
“Examining issues when migrating to Unicode” on page 459
“Example of a migration process” on page 460
Related reference:
“Defining options for automatically renaming file spaces” on page 456
“Defining the rules for automatically renaming file spaces” on page 457
As an administrator, you can control whether the file spaces of any existing clients
are renamed to force the creation of new Unicode-enabled file spaces. By default,
no automatic renaming occurs.
To control the automatic renaming, use the parameter AUTOFSRENAME when you
register or update a node. You can also allow clients to make the choice. Clients
can use the client option AUTOFSRENAME.
Restriction: The setting for AUTOFSRENAME affects only clients that are
Unicode-enabled.
The following table summarizes what occurs with different parameter and option
settings.
Table 40. The effects of the AUTOFSRENAME option settings
Parameter on the Option on the client Result for file spaces Is the file space
server (for each renamed?
client)
Yes Yes, No, Prompt Renamed Yes
No Yes, No, Prompt Not renamed No
Client Yes Renamed Yes
Client No Not renamed Yes
Client Prompt Command-line or GUI: The user receives a Depends on the
one-time-only prompt about renaming response from the user
(yes or no)
Client Prompt Client Scheduler: Not renamed (prompt is No
displayed during the next command-line
or GUI session)
Related reference:
“Defining the rules for automatically renaming file spaces”
With its automatic renaming function, IBM Tivoli Storage Manager renames a file
space by adding the suffix _OLD.
For example:
If the new name would conflict with the name of another file space, a number is
added to the suffix. For example:
Original file space name New file space name Other existing file spaces
\\maria\c$ \\maria\c$_OLD \\maria\c$_OLD1
\\maria\c$_OLD2
If the new name for the file space exceeds the limit of 64 characters, the file space
name is truncated before the suffix _OLD is added.
Several factors must be considered before you plan for Unicode versions of
existing client file spaces.
To minimize problems, you need to plan the storage of Unicode-enabled file spaces
for clients that already have existing file spaces in server storage.
Procedure
1. Determine which clients need to migrate.
Clients that have had problems with backing up files because their file spaces
contain names of directories or files that cannot be converted to the server's
code page should have the highest priority. Balance that with clients that are
most critical to your operations. If you have a large number of clients that need
to become Unicode-enabled, you can control the migration of the clients.
Change the rename option for a few clients at a time to keep control of storage
space usage and processing time. Also consider staging migration for clients
that have a large amount of data backed up.
2. Allow for increased backup time and network resource usage when the
Unicode-enabled file spaces are first created in server storage.
Based on the number of clients and the amount of data those clients have,
consider whether you need to stage the migration. Staging the migration means
setting the AUTOFSRENAME parameter to YES or CLIENT for only a small number
of clients every day.
Note: If you set the AUTOFSRENAME parameter to CLIENT, be sure to have the
clients (that run the client scheduler) set their option to AUTOFSRENAME YES. This
ensures the file spaces are renamed.
3. Check the current storage usage for the clients that need to become
Unicode-enabled.
You can use the QUERY OCCUPANCY command to display information on how
much space each client is currently using. Initially, clients will need only the
amount of space used by active files. Therefore, you need to estimate how
much of the current space is used by copies (different versions of the same file).
Migration will result in a complete backup at the next incremental backup, so
clients will need space for that backup, plus for any other extra versions that
they will keep. Therefore, the amount of storage required also depends on
policy (see the next step). Your IBM Tivoli Storage Manager policy specifies
how files are backed up, archived, migrated from client node storage, and
managed in server storage.
When you migrate to Unicode, there are several issues that you must consider.
The server manages a Unicode-enabled client and its file spaces as follows:
v When a client upgrades to a Unicode-enabled client and logs in to the server, the
server identifies the client as Unicode-enabled.
Remember: That same client (same node name) cannot log in to the server with
a previous version of IBM Tivoli Storage Manager or a client that is not
Unicode-enabled.
v The original file space that was renamed (_OLD) remains with both its active
and inactive file versions that the client can restore if needed. The original file
space will no longer be updated. The server will not mark existing active files
inactive when the same files are backed up in the corresponding
Unicode-enabled file space.
Important: Before the Unicode-enabled client is installed, the client can back up
files in a code page other than the current locale, but cannot restore those files.
After the Unicode-enabled client is installed, if the same client continues to use
file spaces that are not Unicode-enabled, the client skips files that are not in the
same code page as the current locale during a backup. Because the files are
skipped, they appear to have been deleted from the client. Active versions of the
The example of a migration process includes one possible sequence for migrating
clients.
Procedure
1. Have all clients install the Unicode-enabled IBM Tivoli Storage Manager client
software.
This forces the file spaces to be renamed at the time of the next backup or
archive operation on the file servers. If the file servers are large, consider
changing the renaming parameter for one file server each day.
3. Allow backup and archive schedules to run as usual. Monitor the results.
a. Check for the renamed file spaces for the file server clients. Renamed file
spaces have the suffix _OLD or _OLDn, where n is a number.
b. Check the capacity of the storage pools. Add tape or disk volumes to
storage pools as needed.
c. Check database usage statistics to ensure you have enough space.
Note: If you are using the client acceptor to start the scheduler, you must first
modify the default scheduling mode.
4. Migrate the workstation clients. For example, migrate all clients with names
that start with the letter a.
update node a* autofsrename=yes
5. Allow backup and archive schedules to run as usual that night. Monitor the
results.
6. After sufficient time passes, consider deleting the old, renamed file spaces.
Related tasks:
“Modifying the default scheduling mode” on page 576
Related reference:
“Managing the renamed file spaces”
“Defining the rules for automatically renaming file spaces” on page 457
The file spaces that were automatically renamed (_OLD) to allow the creation of
Unicode-enabled file spaces continue to exist on the server. Users can still access
the file versions in these file spaces.
Because a renamed file space is not backed up again with its new name, the files
that are active (the most recent backup version) in the renamed file space remain
active and never expire. The inactive files in the file space expire according to the
policy settings for how long versions are retained. To determine how long the files
are retained, check the values for the parameters, Retain Extra Versions and
Retain Only Versions, in the backup copy group of the management class to
which the files are bound.
When users no longer have a need for their old, renamed file spaces, you can
delete them. If possible, wait for the longest retention time for the only version
(Retain Only Version) that any management class allows. If your system has
storage constraints, you may need to delete these file spaces before that.
For example, a Version 5.1.0 client backs up file spaces, and then upgrades to
Version 5.2.0 with support for Unicode-enabled file spaces. That same client can
still restore the non-Unicode file spaces from the backup set.
You can display file space information for the following reasons:
v To identify file spaces that are defined to each client node, so that you can delete
each file space from the server before removing the client node from the server
v To identify file spaces that are Unicode-enabled and identify their file space ID
(FSID)
v To monitor the space that is used on workstation's disks
Note: File space names are case-sensitive and must be entered exactly as known to
the server.
Procedure
To view information about file spaces that are defined for client node JOE, issue
the following command:
query filespace joe *
field might display file space names as “...”. This indicates to the administrator that
a file space does exist but could not be converted to the server's code page.
Conversion can fail if the string includes characters that are not available in the
server code page, or if the server has a problem accessing system conversion
routines.
File space names and file names that can be in a different code page or locale than
the server do not display correctly in the Operations Center or the administrative
command-line interface. The data itself is backed up and can be restored properly,
but the file space name or file name may display with a combination of invalid
characters or blank spaces.
Refer to the Administrator's Reference for details.
Procedure
1. For users who are not authorized to delete backed-up or archived files in
storage pools, as an example, client node PEASE no longer needs archived files
After you delete all of a client node's file spaces, you can delete the node with
the REMOVE NODE command.
Results
For client nodes that support multiple users, such as UNIX or Linux, a file owner
name is associated with each file on the server. The owner name is the user ID of
the operating system, such as the UNIX Linux user ID. When you delete a file
space that belongs to a specific owner, only files that have the specified owner
name in the file space are deleted.
When a node has more than one file space and you issue a DELETE FILESPACE
command for only one file space, a QUERY FILESPACE command for the node during
the delete process shows no file spaces. When the delete process ends, you can
view the remaining file spaces with the QUERY FILESPACE command. If data
retention protection is enabled, the only files that are deleted from the file space
are those that meet the retention criterion. The file space is not deleted if one or
more files within the file space cannot be deleted.
Note: Data stored using the System Storage Archive Manager product cannot be
deleted using the DELETE FILESPACE command if the retention period for the data
has not expired. If this data is stored in a Centera storage pool, then it is
additionally protected from deletion by the retention protection feature of the
Centera storage device.
Related concepts:
“Accepting default closed registration or enabling open registration” on page 421
Related tasks:
“Deleting client nodes” on page 440
The most important option is the network address of the server, but you can add
many other client options at any time. Administrators can also control client
options by creating client option sets on the server that are used in conjunction
with client option files on client nodes.
Related tasks:
“Creating client option sets on the server” on page 465
“Managing client option sets” on page 467
Procedure
To create a client option set and have the clients use the option set, perform the
following steps:
1. Create the client option set with the DEFINE CLOPTSET command.
2. Add client options to the option set with the DEFINE CLIENTOPT command.
3. Specify which clients should use the option set with the REGISTER NODE or
UPDATE NODE command.
Related reference:
“Connecting nodes with the server” on page 425
Procedure
To provide a description of the option set, issue the following example command:
define cloptset engbackup description=’Backup options for eng. dept.’
Procedure
For a list of client options that you can specify, refer to Administrative client options
in the Administrator's Reference.
The server automatically assigns sequence numbers to the specified options, or you
can choose to specify the sequence number for order of processing. This is helpful
if you have defined more than one of the same option as in the following example:
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 options file. The server
include-exclude statements are always enforced and placed last in 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 first sequence number. The client can issue the QUERY
INCLEXCL command to show the include-exclude statements in the order that they
are processed. QUERY INCLEXCL also displays the source of each include-exclude
statement. For more information on the processing of the include-exclude
statements see the Backup-Archive Clients Installation and User's Guide.
The FORCE parameter allows an administrator to specify whether the server forces
the client to use an option value. This parameter has no affect on additive options
such as INCLEXCL and DOMAIN. The default value is NO. If FORCE=YES, the server
forces the client to use the value, and the client cannot override the value. The
following example shows how you can prevent a client from using subfile backup:
define clientopt engbackup subfilebackup no force=yes
Related reference:
“The include-exclude list” on page 488
Procedure
The client node MIKE is registered with the password pass2eng. When the client
node MIKE performs a scheduling operation, his schedule log entries are kept for
five days.
Procedure
Backup-archive clients are eligible for client restartable restore sessions; however,
application clients are not.
Tivoli Storage Manager can hold a client restore session in DSMC loop mode until
one of these conditions is met:
v The device class MOUNTRETENTION limit is satisfied.
v The client IDLETIMEOUT period is satisfied.
v The loop session ends.
Related concepts:
“Managing client restartable restore sessions” on page 471
Procedure
time to determine how long (in seconds, minutes, or hours) the session has been in
the current state.
Administrators can display a session number with the QUERY SESSION command.
Users and administrators whose sessions have been canceled must reissue their last
command to access the server again.
If the session is in the Run state when it is canceled, the cancel process does not
take place until the session enters the SendW, RecvW, or IdleW state.
If the session you cancel is currently waiting for a media mount, the mount request
is automatically canceled. If a volume associated with the client session is currently
being mounted by an automated library, the cancel may not take effect until the
mount is complete.
Procedure
The reasons are based on the settings of the following server options:
COMMTIMEOUT
Specifies how many seconds the server waits for an expected client
message during a transaction that causes a database update. If the length
of time exceeds this time-out, the server rolls back the transaction that was
in progress and ends the client session. The amount of time it takes for a
client to respond depends on the speed and processor load for the client
and the network load.
IDLETIMEOUT
Specifies how many minutes the server waits for a client to initiate
communication. If the client does not initiate communication with the
server within the time specified, the server ends the client session. For
example, the server prompts the client for a scheduled backup operation
but the client node is not started. Another example can be that the client
program is idle while waiting for the user to choose an action to perform
(for example, backup archive, restore, or retrieve files). If a user starts the
client session and does not choose an action to perform, the session will
time out. The client program automatically reconnects to the server when
the user chooses an action that requires server processing. A large number
of idle sessions can inadvertently prevent other users from connecting to
the server.
THROUGHPUTDATATHRESHOLD
Specifies a throughput threshold, in kilobytes per second, a client session
must achieve to prevent being cancelled after the time threshold is reached.
Throughput is computed by adding send and receive byte counts and
dividing by the length of the session. The length does not include time
spent waiting for media mounts and starts at the time a client sends data
to the server for storage. This option is used in conjunction with the
THROUGHPUTTIMETHRESHOLD server option.
THROUGHPUTTIMETHRESHOLD
Specifies the time threshold, in minutes, for a session after which it may be
canceled for low throughput. The server ends a client session when it has
been active for more minutes than specified and the data transfer rate is
less than the amount specified in the THROUGHPUTDATATHRESHOLD server
option.
This command does not cancel sessions currently in progress or system processes
such as migration and reclamation.
Procedure
To disable client node access to the server, issue the following example command:
disable sessions
You continue to access the server and current client activities complete unless a
user logs off or an administrator cancels a client session. After the client sessions
have been disabled, you can enable client sessions and resume normal operations
by issuing the following command:
enable sessions
You can issue the QUERY STATUS command to determine if the server is enabled or
disabled.
Related tasks:
“Locking and unlocking client nodes” on page 440
After a restore operation that comes directly from tape, the Tivoli Storage Manager
server does not release the mount point to IDLE status from INUSE status. The
server does not close the volume to allow additional restore requests to be made to
that volume. However, if there is a request to perform a backup in the same
session, and that mount point is the only one available, then the backup operation
will stop and the server will issue message ANS1114I. You can avoid this by
closing the DSMC restore session after the restore operation completes. This
releases the mount point for subsequent sessions.
When a restartable restore session is saved in the server database the file space is
locked in server storage. The following rules are in effect during the file space lock:
v Files residing on sequential volumes associated with the file space cannot be
moved.
Procedure
To determine which client nodes have eligible restartable restore sessions, issue the
following example command:
query restore
These sessions will automatically expire when the specified restore interval has
passed.
Procedure
To cancel a restartable restore session, you must specify the session number. For
example:
Procedure
For example:
v How and when files are backed up and archived to server storage
v How space-managed files are migrated to server storage
v The number of copies of a file and the length of time copies are kept in server
storage
IBM Tivoli Storage Manager provides a standard policy that sets rules to provide a
basic amount of protection for data on workstations. If this standard policy meets
your needs, you can begin using Tivoli Storage Manager immediately.
The server process of expiration is one way that the server enforces policies that
you define. Expiration processing determines when files are no longer needed, that
is, when the files are expired. For example, if you have a policy that requires only
four copies of a file be kept, the fifth and oldest copy is expired. During expiration
processing, the server removes entries for expired files from the database,
effectively deleting the files from server storage.
You might need more flexibility in your policies than the standard policy provides.
To accommodate individual user's needs, you may fine-tune the STANDARD
policy, or create your own policies. Some types of clients or situations require
special policy. For example, you may want to enable clients to restore backed-up
files to a specific point-in-time.
The server manages files based on whether the files are active or inactive. The
most current backup or archived copy of a file is the active version. All other
versions are called inactive versions. An active version of a file becomes inactive
when:
v A new backup is made
v A user deletes that file on the client node and then runs an incremental backup
Policy determines how many inactive versions of files the server keeps, and for
how long. When files exceed the criteria, the files expire. Expiration processing can
then remove the files from the server database.
Related reference:
“File expiration and expiration processing” on page 479
“Running expiration processing to delete expired files” on page 512
“Reviewing the standard policy” on page 477
Related reference:
“The parts of a policy” on page 482
To help users take advantage of IBM Tivoli Storage Manager, you can further tune
the policy environment by performing the following tasks:
v Define sets of client options for the different groups of users.
v Help users with creating the include-exclude list. For example:
– Create include-exclude lists to help inexperienced users who have simple file
management needs. One way to do this is to define a basic include-exclude
list as part of a client option set. This also gives the administrator some
control over client usage.
– Provide a sample include-exclude list to users who want to specify how the
server manages their files. You can show users who prefer to manage their
own files how to:
- Request information about management classes
- Select a management class that meets backup and archive requirements
- Use include-exclude options to select management classes for their files
For information on the include-exclude list, see the user’s guide for the
appropriate client.
v Automate incremental backup procedures by defining schedules for each policy
domain. Then associate schedules with client nodes in each policy domain.
Related tasks:
“Creating client option sets on the server” on page 465
Chapter 15, “Scheduling operations for client nodes,” on page 559
Related reference:
“The include-exclude list” on page 488
Changing policy
Some types of clients and situations require policy changes. For example, if you
need to direct client data to storage pools different from the default storage pools,
you need to change policy.
Other situations may also require policy changes. See “Policy configuration
scenarios” on page 522 for details.
To change policy that you have established in a policy domain, you must replace
the ACTIVE policy set. You replace the ACTIVE policy set by activating another
policy set.
Procedure
Note: You cannot directly modify the ACTIVE policy set. If you want to make
a small change to the ACTIVE policy set, copy the policy to modify it and
follow the steps here.
2. Make any changes that you need to make to the management classes, backup
copy groups, and archive copy groups in the new policy set.
3. Validate the policy set.
4. Activate the policy set. The contents of your new policy set becomes the
ACTIVE policy set.
Related tasks:
“Defining and updating an archive copy group” on page 508
“Policy configuration scenarios” on page 522
Related reference:
“Validating a policy set” on page 510
“Activating a policy set” on page 511
“Defining and updating a management class” on page 501
“Defining and updating a backup copy group” on page 502
Important:
1. A base file is not eligible for expiration until all of its dependent subfiles have
been expired.
2. An archive file is not eligible for expiration if there is a deletion hold on it. If a
file is not held, it will be handled according to existing expiration processing.
The server deletes expired files from the server database only during expiration
processing. After expired files are deleted from the database, the server can reuse
the space in the storage pools that was occupied by expired files. You should
ensure that expiration processing runs periodically to allow the server to reuse
space.
Expiration processing also removes from the database any restartable restore
sessions that exceed the time limit set for such sessions by the RESTOREINTERVAL
server option.
Related concepts:
“Managing client restartable restore sessions” on page 471
Backup
To guard against the loss of information, the backup-archive client can copy files,
subdirectories, and directories to media controlled by the server. Backups can be
controlled by administrator-defined policies and schedules, or users can request
backups of their own data.
See Backup-Archive Clients Installation and User's Guide for details on backup-archive
clients that can also back up logical volumes. The logical volume must meet some
of the policy requirements that are defined in the backup copy group.
Related reference:
“Policy for logical volume backups” on page 523
If more than one backup version exists, a user can restore the active backup
version or any inactive backup versions.
If policy is properly set up, a user can restore backed-up files to a specific time.
Restriction: If you back up or archive data with a Tivoli Storage Manager V6.3
client, you cannot restore or retrieve that data with a V6.2 or earlier client.
Related reference:
“Setting policy to enable point-in-time restore for clients” on page 527
When a user retrieves a file, the server sends a copy of the file to the client node.
The archived file remains in server storage.
The HSM client frees space for new data and makes more efficient use of your
storage resources.
For details about using Tivoli Storage Manager for Space Management, see Space
Management for UNIX and Linux User's Guide and Tivoli Storage Manager HSM for
Windows User's Guide.
Migration
When a file is migrated to the server, it is replaced on the client node with a small
stub file of the same name as the original file. The stub file contains data needed to
locate the migrated file on server storage.
Tivoli Storage Manager for Space Management provides selective and automatic
migration. Selective migration lets users migrate files by name. The two types of
automatic migration are:
Threshold
If space usage exceeds a high threshold set at the client node, migration
begins and continues until usage drops to the low threshold also set at the
client node.
Demand
If an out-of-space condition occurs for a client node, migration begins and
continues until usage drops to the low threshold.
To prepare for efficient automatic migration, Tivoli Storage Manager for Space
Management copies a percentage of user files from the client node to the IBM
Files are selected for automatic migration and premigration based on the number
of days since the file was last accessed and also on other factors set at the client
node.
Recall
Tivoli Storage Manager for Space Management provides selective and transparent
recall. Selective recall lets users recall files by name. Transparent recall occurs
automatically when a user accesses a migrated file.
When recalling active file versions, the server searches in an active-data storage
pool associated with a FILE device class, if such a pool exists.
Related concepts:
“Selection for active file versions” on page 243
Reconciliation
Migration and premigration can create inconsistencies between stub files on the
client node and space-managed files in server storage.
For example, if a user deletes a migrated file from the client node, the copy
remains at the server. At regular intervals set at the client node, IBM Tivoli Storage
Manager compares client node and server storage and reconciles the two by
deleting from the server any outdated files or files that do not exist at the client
node.
Figure 67 on page 483 shows the parts of a policy and the relationships among the
parts.
Policy sets
Management classes
Backup Archive
copy copy
group group Additional Additional
policy policy
set set
Additional
management class
Additional
management class
The numbers in the following list correspond to the numbers in the figure.
Disk
Policy domain
4
Policy set Volume Volume
Management class
Storage Represents
Copy Points to
2 group pool
DISK
device class
Migrate
6
Tape
5
Volume Volume
Management class
Represents
Device class
Library
Represents
Drives
Device
Drive Drive
Figure 68. How clients, server storage, and policy work together
1 When clients are registered, they are associated with a policy domain. In a
policy domain, there is a policy set, management class, and copy groups.
2, 3
When a client backs up, archives, or migrates a file, it is bound to a
management class. A management class and its backup and archive copy
groups, specifies where files are stored, and how they are managed.
4, 5
Storage pools are a collection of volumes where backed-up, archived, or
Figure 68 on page 485 summarizes the relationships among the physical device
environment, IBM Tivoli Storage Manager storage and policy objects, and clients.
The management classes specify whether client files are migrated to storage pools
(hierarchical storage management). The copy groups in these management classes
specify the number of backup versions retained in server storage and the length of
time to retain backup versions and archive copies.
For example, if a group of users needs only one backup version of their files, you
can create a policy domain that contains only one management class whose backup
copy group allows only one backup version. Then you can assign the client nodes
for these users to the policy domain.
Related tasks:
“Registering nodes with the server” on page 420
Related reference:
“Contents of a management class”
“Default management classes” on page 487
“The include-exclude list” on page 488
“How files and directories are associated with a management class” on page 489
For clients using the server for backup and archive, you can choose what a
management class contains from the following options:
A backup copy group and an archive copy group
Typical end users need to back up and archive documents, spreadsheets,
and graphics.
Other management classes can contain copy groups tailored either for the needs of
special sets of users or for the needs of most users under special circumstances.
Related reference:
“How files and directories are associated with a management class” on page 489
The options also include how the server controls symbolic links and processing
such as image, compression and encryption.
If a user does not create an include-exclude list, the following default conditions
apply:
v All files belonging to the user are eligible for backup and archive services.
v The default management class governs backup, archive, and space-management
policies.
exclude *:\...\core
exclude *:\home\ssteiner\*
include *:\home\ssteiner\[Link]
include *:\home\ssteiner\driver5\...\* mcengbk2
IBM Tivoli Storage Manager processes the include-exclude list from the bottom up,
and stops when it finds an include or exclude statement that matches the file it is
processing. Therefore, the order in which the include and exclude options are listed
affects which files are included and excluded. For example, suppose you switch the
order of two lines in the example, as follows:
include *:\home\ssteiner\[Link]
exclude *:\home\ssteiner\*
The exclude statement comes last, and excludes all files in the following directory:
v *:\home\ssteiner
Some options are evaluated after the more basic include and exclude options. For
example, options that exclude or include files for compression are evaluated after
the program determines which files are eligible for the process being run.
You can create include-exclude lists as part of client options sets that you define
for clients.
For detailed information on the include and exclude options, see the user’s guide
for the appropriate client.
Related tasks:
“Creating client option sets on the server” on page 465
The default management class is the management class identified as the default in
the active policy set.
A management class specified with a simple include option can apply to one or
more processes on the client. More specific include options (such as
[Link]) allow the user to specify different management classes. Some
examples of how this works:
v If a client backs up, archives, and migrates a file to the same server, and uses
only a single include option, the management class specified for the file applies
to all three operations (backup, archive, and migrate).
v If a client backs up and archives a file to one server, and migrates the file to a
different server, the client can specify one management class for the file for
backup and archive operations, and a different management class for migrating.
v Clients can specify a management class for archiving that is different from the
management class for backup.
See the user's guide for the appropriate client for more details.
Procedure
Backup versions
The server rebinds backup versions of files and logical volume images in some
cases.
The following list highlights the cases when a server rebinds backup versions of
files:
v The user changes the management class specified in the include-exclude list and
does a backup.
v An administrator activates a policy set in the same policy domain as the client
node, and the policy set does not contain a management class with the same
name as the management class to which a file is currently bound.
v 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.
Backup versions of a directory can be rebound when the user specifies a different
management class using the DIRMC option in the client option file, and when the
directory gets backed up.
The most recently backed up files are active backup versions. Older copies of your
backed up files are inactive backup versions. You can configure management classes
to save a predetermined number of copies of a file. If a management class is saving
five backup copies, there would be one active copy saved and four inactive copies
saved. If a file from one management class is bound to a different management
class that retains a lesser number of files, inactive files are deleted.
If a file is bound to a management class that no longer exists, the server uses the
default management class to manage the backup versions. When the user does
another backup, the server rebinds the file and any backup versions to the default
management class. If the default management class does not have a backup copy
group, the server uses the backup retention grace period specified for the policy
domain.
Archive copies
Archive copies are never rebound because each archive operation creates a
different archive copy. Archive copies remain bound to the management class
name specified when the user archived them.
If the default management class does not contain an archive copy group, the server
uses the archive retention grace period specified for the policy domain.
Incremental backup
Backup-archive clients can choose to back up their files using full or partial
incremental backup. A full incremental backup ensures that clients' backed-up files
are always managed according to policies. Clients are urged to use full incremental
backup whenever possible.
If the amount of time for backup is limited, clients may sometimes need to use
partial incremental backup. A partial incremental backup should complete more
quickly and require less memory. When a client uses partial incremental backup,
only files that have changed since the last incremental backup are backed up.
Attributes in the management class that would cause a file to be backed up when
doing a full incremental backup are ignored. For example, unchanged files are not
backed up even when they are assigned to a management class that specifies
absolute mode and the minimum days between backups (frequency) has passed.
The server also does less processing for a partial incremental backup. For example,
the server does not expire files or rebind management classes to files during a
partial incremental backup.
If clients must use partial incremental backups, they should periodically perform
full incremental backups to ensure that complete backups are done and backup
files are stored according to policies. For example, clients can do partial
incremental backups every night during the week, and a full incremental backup
on the weekend.
Procedure
The IBM Tivoli Storage Manager ensures the following items are identified:
1. Checks each file against the user's include-exclude list:
v Files that are excluded are not eligible for backup.
v If files are not excluded and a management class is specified with the
INCLUDE option, IBM Tivoli Storage Manager uses that management class.
v If files are not excluded but a management class is not specified with the
INCLUDE option, IBM Tivoli Storage Manager uses the default management
class.
Procedure
Selective backup
When a user requests a selective backup, the IBM Tivoli Storage Manager ensures
its eligibility.
Procedure
IBM Tivoli Storage Manager ensures the following items are identified:
1. Checks the file against any include or exclude statements contained in the user
include-exclude list:
v Files that are not excluded are eligible for backup. If a management class is
specified with the INCLUDE option, IBM Tivoli Storage Manager uses that
management class.
v If no include-exclude list exists, the files selected are eligible for backup, and
IBM Tivoli Storage Manager uses the default management class.
2. Checks the management class of each included file:
v If the management class contains a backup copy group and the serialization
requirement is met, the file is backed up. Serialization specifies how files are
handled if they are modified while being backed up and what happens if
modification occurs.
v If the management class does not contain a backup copy group, the file is
not eligible for backup.
Results
Procedure
IBM Tivoli Storage Manager ensures the following items are identified:
1. Checks the specification of the logical volume against any include or exclude
statements contained in the user include-exclude list:
v If no include-exclude list exists, the logical volumes selected are eligible for
backup, and IBM Tivoli Storage Manager uses the default management class.
v Logical volumes that are not excluded are eligible for backup. If the
include-exclude list has an INCLUDE option for the volume with a
management class specified, IBM Tivoli Storage Manager uses that
management class. Otherwise, the default management class is used.
2. Checks the management class of each included logical volume:
v If the management class contains a backup copy group and the logical
volume meets the serialization requirement, the logical volume is backed up.
Serialization specifies how logical volumes are handled if they are modified
while being backed up and what happens if modification occurs.
v If the management class does not contain a backup copy group, the logical
volume is not eligible for backup.
Archive
When a user requests the archiving of a file or a group of files, the IBM Tivoli
Storage Manager determine its eligibility.
Procedure
IBM Tivoli Storage Manager ensures the following items are identified:
1. Checks the files against the user’s include-exclude list to see if any
management classes are specified:
v IBM Tivoli Storage Manager uses the default management class for files that
are not bound to a management class.
v If no include-exclude list exists, IBM Tivoli Storage Manager uses the default
management class unless the user specifies another management class. See
the user’s guide for the appropriate client for details.
2. Checks the management class for each file to be archived.
v If the management class contains an archive copy group and the serialization
requirement is met, the file is archived. Serialization specifies how files are
handled if they are modified while being archived and what happens if
modification occurs.
v If the management class does not contain an archive copy group, the file is
not archived.
Results
If you need to frequently create archives for the same data, consider using instant
archive (backup sets) instead. Frequent archive operations can create a large
amount of metadata in the server database resulting in increased database growth
and decreased performance for server operations such as expiration. Frequently,
you can achieve the same objectives with incremental backup or backup sets.
The criteria for a file to be eligible for automatic migration from an HSM client are
displayed in the following list:
v It resides on a node on which the root user has added and activated hierarchical
storage management. It must also reside in a local file system to which the root
user has added space management, and not in the root (/) or /tmp file system.
v It is not excluded from migration in the include-exclude list.
v It meets management class requirements for migration:
– The file is not a character special file, a block special file, a FIFO special file
(that is, a named pipe file) or a directory.
– The file is assigned to a management class that calls for space management.
– The management class calls for automatic migration after a specified number
of days, and that time has elapsed.
– A backup version of the file exists if the management class requires it.
– The file is larger than the stub file that would replace it (plus one byte) or the
file system block size, whichever is larger.
Table 42 shows that an advantage of copying existing policy parts is that some
associated parts are copied in a single operation.
Table 42. Cause and effect of copying existing policy parts
If you copy this... Then you create this...
Policy Domain A new policy domain with:
v A copy of each policy set from the original domain
v A copy of each management class in each original policy set
v A copy of each copy group in each original management class
Policy Set A new policy set in the same policy domain with:
v A copy of each management class in the original policy set
v A copy of each copy group in the original management class
Management Class A new management class in the same policy set and a copy of each
copy group in the management class
The domain contains two policy sets that are named STANDARD and TEST. The
administrator activated the policy set that is named STANDARD. When you
activate a policy set, the server makes a copy of the policy set and names it
ACTIVE. Only one policy set can be active at a time.
The ACTIVE policy set contains two management classes: MCENG and
STANDARD. The default management class is STANDARD.
Related tasks:
“Defining and updating an archive copy group” on page 508
Related reference:
“Defining and updating a policy domain”
“Defining and updating a policy set” on page 500
“Defining and updating a management class” on page 501
“Defining and updating a backup copy group” on page 502
“Assigning a default management class” on page 510
“Activating a policy set” on page 511
“Running expiration processing to delete expired files” on page 512
When you copy an existing domain, you also copy any associated policy sets,
management classes, and copy groups.
Procedure
For example, perform the following steps to copy and update an existing domain:
1. Copy the STANDARD policy domain to the ENGPOLDOM policy domain by
entering the following command:
copy domain standard engpoldom
ENGPOLDOM now contains the standard policy set, management class,
backup copy group, and archive copy group.
2. Update the policy domain ENGPOLDOM so that the backup retention grace
period is extended to 90 days and the archive retention grace period is
extended to two years. Specify an active-data pool as the destination for active
versions of backup data belonging to nodes assigned to the domain. Use
engactivedata as the name of the active-data pool, as in the following example:
update domain engpoldom description=’Engineering Policy Domain’
backretention=90 archretention=730 activedestination=engactivedata
The policies in the new policy set do not take effect unless you make the new set
the ACTIVE policy set.
Related reference:
“Activating a policy set” on page 511
Procedure
To create the TEST policy set in the ENGPOLDOM policy domain, the
administrator performs the following steps:
1. Copy the STANDARD policy set and name the new policy set TEST:
copy policyset engpoldom standard test
Note: When you copy an existing policy set, you also copy any associated
management classes and copy groups.
2. Update the description of the policy set named TEST:
Procedure
Attention: You cannot specify a copy storage pool or an active-data pool as the
destination.
This attribute can be one of four values: STATIC, SHRSTATIC (shared static),
DYNAMIC, or SHRDYNAMIC (shared dynamic).
The value you choose depends on how you want IBM Tivoli Storage Manager to
manage files that are modified while they are being backed up.
Do not back up files that are modified during the backup
You will want to prevent the server from backing up a file while it is being
modified. Use one of the following values:
STATIC
Specifies that IBM Tivoli Storage Manager will attempt to back up
the file only once. If the file or directory is modified during a
backup, the server does not back it up.
SHRSTATIC (Shared static)
Specifies that if the file or directory is modified during a backup,
the server retries the backup as many times as specified by the
CHANGINGRETRIES option in the client options file. If the file is
modified during the last attempt, the file or directory is not backed
up.
Back up files that are modified during the backup
Some files are in constant use, such as an error log. Consequently, these
Attention:
v If a file is modified during backup and DYNAMIC or SHRDYNAMIC is
specified, then the backup may not contain all the changes and may not
be usable. For example, the backup version may contain a truncated
record. Under some circumstances, it may be acceptable to capture a
dynamic or “fuzzy” backup of a file (the file was changed during the
backup). For example, a dynamic backup of an error log file that is
continuously appended may be acceptable. However, a dynamic backup
of a database file may not be acceptable, since restoring such a backup
could result in an unusable database. Carefully consider dynamic
backups of files as well as possible problems that may result from
restoring potentially “fuzzy” backups.
v When certain users or processes open files, they may deny any other
access, including “read” access, to the files by any other user or process.
When this happens, even with serialization set to DYNAMIC or
SHRDYNAMIC, IBM Tivoli Storage Manager will not be able to open
the file at all, so the server cannot back up the file.
The server considers both parameters to determine how frequently files can be
backed up. For example, if frequency is 3 and mode is Modified, a file or directory
is backed up only if it has been changed and if three days have passed since the
last backup. If frequency is 3 and mode is Absolute, a file or directory is backed up
after three days have passed whether or not the file has changed.
Use the Modified mode when you want to ensure that the server retains multiple,
different backup versions. If you set the mode to Absolute, users may find that
they have three identical backup versions, rather than three different backup
versions.
Absolute mode can be useful for forcing a full backup. It can also be useful for
ensuring that extended attribute files are backed up, because Tivoli Storage
Manager does not detect changes if the size of the extended attribute file remains
the same.
When you set the mode to Absolute, set the frequency to 0 if you want to ensure
that a file is backed up each time full incremental backups are scheduled for or
initiated by a client.
These parameters interact to determine the backup versions that the server retains.
When the number of inactive backup versions exceeds the number of versions
allowed (Versions Data Exists and Versions Data Deleted), the oldest version
expires and the server deletes the file from the database the next time expiration
Important: A base file is not eligible for expiration until all its dependent subfiles
have been expired.
For example, see Table 43 and Figure 71. A client node has backed up the file
[Link] four times in one month, from March 23 to April 23. The settings in the
backup copy group of the management class to which [Link] is bound
determine how the server treats these backup versions. Table 44 on page 506 shows
some examples of how different copy group settings would affect the versions. The
examples show the effects as of April 24 (one day after the file was last backed
up).
Table 43. Status of [Link] as of april 24
Days the Version Has Been
Version Date Created Inactive
Active April 23 (not applicable)
Inactive 1 April 13 1 (since April 23)
Inactive 2 March 31 11 (since April 13)
Inactive 3 March 23 24 (since March 31)
Wednesday March 31
Default management
Tuesday April 13
class
Friday April 23
Backup
copy group
Active version
Inactive
versions
If the user deletes the [Link] file from the client node, the
server notes the deletion at the next full incremental backup of the
client node. From that point, the Versions Data Deleted and
Retain Only Version parameters also have an effect. All versions
are now inactive. Two of the four versions expire immediately (the
March 23 and March 31 versions expire). The April 13 version
expires when it has been inactive for 60 days (on June 23). The
server keeps the last remaining inactive version, the April 23
version, for 180 days after it becomes inactive.
NOLIMIT 2 versions 60 days 180 days Retain Extra Versions controls expiration of the versions. The
inactive versions (other than the last remaining version) are
expired when they have been inactive for 60 days.
If the user deletes the [Link] file from the client node, the
server notes the deletion at the next full incremental backup of the
client node. From that point, the Versions Data Deleted and
Retain Only Version parameters also have an effect. All versions
are now inactive. Two of the four versions expire immediately (the
March 23 and March 31 versions expire) because only two versions
are allowed. The April 13 version expires when it has been
inactive for 60 days (on June 22). The server keeps the last
remaining inactive version, the April 23 version, for 180 days after
it becomes inactive.
NOLIMIT NOLIMIT 60 days 180 days Retain Extra Versions controls expiration of the versions. The
server does not expire inactive versions based on the maximum
number of backup copies. The inactive versions (other than the
last remaining version) are expired when they have been inactive
for 60 days.
If the user deletes the [Link] file from the client node, the
server notes the deletion at the next full incremental backup of the
client node. From that point, the Retain Only Version parameter
also has an effect. All versions are now inactive. The three of four
versions will expire after each of them has been inactive for 60
days. The server keeps the last remaining inactive version, the
April 23 version, for 180 days after it becomes inactive.
4 versions 2 versions NOLIMIT NOLIMIT Versions Data Exists controls the expiration of the versions until
a user deletes the file from the client node. The server does not
expire inactive versions based on age.
If the user deletes the [Link] file from the client node, the
server notes the deletion at the next full incremental backup of the
client node. From that point, the Versions Data Deleted parameter
controls expiration. All versions are now inactive. Two of the four
versions expire immediately (the March 23 and March 31 versions
expire) because only two versions are allowed. The server keeps
the two remaining inactive versions indefinitely.
This new copy group must be able to complete the following tasks:
v Let users back up changed files, regardless of how much time has elapsed since
the last backup, using the default value 0 for the Frequency parameter
(frequency parameter not specified)
v Retain up to four inactive backup versions when the original file resides on the
user workstation, using the Versions Data Exists parameter (verexists=5)
v Retain up to four inactive backup versions when the original file is deleted from
the user workstation, using the Versions Data Deleted parameter
(verdeleted=4)
v Retain inactive backup versions for no more than 90 days, using the Retain
Extra Versions parameter (retextra=90)
Procedure
Procedure
1. Where archived files are to be stored, specify a defined storage pool as the
initial destination. Your choice can depend on factors such as:
v Whether the server and the client nodes have access to shared devices on a
SAN
v The number of client nodes archiving files to the storage pool. When many
user files are stored in the same storage pool, volume contention can occur as
users archive files to and retrieve files from the storage pool.
v How quickly the files must be restored. If users need immediate access to
archive copies, you could specify a disk storage pool as the destination.
v Whether the archive copy group is for a management class that is the default
for a policy domain. The default management class is used by clients
registered in the policy domain, when they do not specify a management
class for a file. This includes servers that are registered as clients to this
server.
Note: When certain users or processes open files, they deny read access to the
files for any other user or process. When this happens, even with serialization
set to dynamic or shared dynamic, the server does not back up the file.
3. How long to retain an archived copy specifies the number of days to retain an
archived copy in storage. When the time elapses, the archived copy expires and
the server deletes the file the next time expiration processing runs.
When a user archives directories, the server uses the default management class
unless the user specifies otherwise. If the default management class does not
have an archive copy group, the server binds the directory to the management
class that currently has the shortest retention time for archive. When you
change the retention time for an archive copy group, you may also be changing
the retention time for any directories that were archived using that copy group.
The user can change the archive characteristics by using Archive Options in the
interface or by using the ARCHMC option on the command.
4. The RETMIN parameter in archive copy groups specifies the minimum number of
days an object will be retained after the object is archived. For objects that are
managed by event-based retention policy, this parameter ensures that objects
are retained for a minimum time period regardless of when an event triggers
retention
After you have defined an archive copy group, using the RETMIN=n parameter,
ensure that the appropriate archive data will be bound to the management class
with this archive copy group. You can do this either by using the default
management class or by modifying the client options file to specify the
management class for the appropriate archive data.
Placing a deletion hold on an object does not extend its retention period. For
example, if an object is thirty days away from the end of its retention period
and it is placed on hold for ninety days, it will be eligible for expiration
immediately upon the hold being released.
Related concepts:
“Deletion hold” on page 515
Related tasks:
“Using virtual volumes to store data on another server” on page 732
Procedure
The STANDARD management class was copied from the STANDARD policy set to
the TEST policy set. Before the new default management class takes effect, you
must activate the policy set.
Related tasks:
“Example: defining a policy set” on page 500
Validation fails if the policy set does not contain a default management class.
Validation results in result in warning messages if any of the following conditions
exist.
Related reference:
“How files and directories are associated with a management class” on page 489
“Defining and updating a policy domain” on page 498
When you activate a policy set, the server performs a final validation of the
contents of the policy set and copies the original policy set to the ACTIVE policy
set.
You cannot update the ACTIVE policy set; the original and the ACTIVE policy sets
are two separate objects. For example, updating the original policy set has no effect
on the ACTIVE policy set. To change the contents of the ACTIVE policy set, you
must create or change another policy set and then activate that policy set.
If data retention protection is active, the following rules apply during policy set
validation and activation. The server can be a managed server and receive policy
definitions via enterprise configuration, but it will not be possible to activate
propagated policy sets if these rules are not satisfied.
v All management classes in the policy set to be validated and activated must
contain an archive copy group.
You can use the server command line to assign client nodes to a policy domain.
Procedure
v To assign the client node APPCLIENT1 to the ENGPOLDOM policy domain,
issue the following command:
update node appclient1 domain=engpoldom
v To create a new client node, NEWUSER, and assign it to the ENGPOLDOM
policy domain, issue the following command:
register node newuser newuser domain=engpoldom
Note:
1. A base file is not eligible for expiration until all of its dependent subfiles have
been expired.
You can set the options by editing the [Link] file (see the Administrator's
Reference).
If you use the server options file to control automatic expiration, the server runs
expiration processing each time that you start the server. After that, the server runs
expiration processing at the interval you specified with the option, which is
measured from the start time of the server.
After issuing EXPIRE INVENTORY, expired files are deleted from the database
according to how you specify parameters on the command.
You can control how long the expiration process runs by using the DURATION
parameter with the EXPIRE INVENTORY command. You can run several (up to 40)
expiration processes in parallel by specifying RESOURCE=x, where x equals the
number of nodes that you want to process. Inventory expiration can also be
distributed across more than one resource on a file space level to help distribute
the workload for nodes with many file spaces.
You can use the DEFINE SCHEDULE command to set a specific schedule for this
command. This automatically starts inventory expiration processing. If you
schedule the EXPIRE INVENTORY command, set the expiration interval to 0 (zero) in
the server options so that the server does not run expiration processing when you
start the server.
When expiration processing runs, the server normally sends detailed messages
about policy changes made since the last time expiration processing ran. You can
reduce those messages by using the QUIET=YES parameter with the EXPIRE
INVENTORY command, or the following options:
v The Use Quiet Expiration option in the server options
When you use the quiet option or parameter, the server issues messages about
policy changes during expiration processing only when files are deleted, and either
the default management class or retention grace period for the domain has been
used to expire the files.
For example, securities brokers and other regulated institutions enforce retention
requirements for certain records, including electronic mail, customer statements,
trade settlements, check images and new account forms. Data retention protection
prevents deliberate or accidental deletion of data until its specified retention
criterion is met.
Retention protection can only be activated on a new server that does not already
have stored objects (backup, archive, or space-managed). Activating retention
protection applies to all archive objects subsequently stored on that server. After
retention protection is set, the server cannot store backup objects, space-managed
objects, or backupsets. Retention protection cannot be added for an object that was
previously stored on a Tivoli Storage Manager server. After an object is stored with
retention protection, retention protection cannot be removed.
Important: A cached copy of data can be deleted, but data in primary storage
pools, copy storage pools, and active-data pools can only be marked damaged
and is never deleted.
If your server has data retention protection activated, the following items are
restrictions:
v A registered node cannot be reassigned to a different policy domain.
v You cannot define a device class with a device type of SERVER.
v You can export data but it will not be retention protected after it is imported.
v You cannot import data to a retention protected server.
The server does not send a retention value to an EMC Centera storage device if
retention protection is not enabled. If this is the case, you can use a Centera
storage device as a standard device from which archive and backup files can be
deleted.
Related tasks:
Chapter 29, “Protecting and recovering the server infrastructure and client data,”
on page 869
Deletion hold
If a hold is placed on an object through the client API, the object is not deleted
until the hold is released.
See the Backup-Archive Clients Installation and User's Guide for more information.
There is no limit to how often you alternate holding and releasing an object. An
object can have only one hold on it at a time, so if you attempt to hold an object
that is already held, you will get an error message.
If an object with event-based policy is on hold, an event can still be signalled. The
hold will not extend the retention period for an object. If the retention period
specified in the RETVER and RETMIN parameters expires while the object is on hold,
the object will be eligible for deletion whenever the hold is released.
If an object is held, it will not be deleted whether or not data retention protection
is active. If an object is not held, it is handled according to existing processing such
as normal expiration, data retention protection, or event-based retention. Data that
is in deletion hold status can be exported. The hold status will be preserved when
the data is imported to another system.
Note: A cached copy of data can be deleted, but data in primary storage pools,
copy storage pools, and active-data pools can only be marked damaged and is
never deleted.
Data stored with a retention date cannot be deleted from the file system before the
retention period expires. The SnapLock feature can only be used by Tivoli Storage
Manager servers that have data retention protection enabled.
Data archived by data retention protection servers and stored to NetApp NAS file
servers is stored as Tivoli Storage Manager FILE volumes. At the end of a write
transaction, a retention date is set for the FILE volume, through the SnapLock
interface. This date is calculated by using the RETVER and RETMIN parameters of the
archive copy group used when archiving the data. Having a retention date
associated with the FILE volume gives it a characteristic of WORM media by not
allowing the data to be destroyed or overwritten until the retention date has
passed. These FILE volumes are referred to as WORM FILE volumes. After a
retention date has been set, the WORM FILE volume cannot be deleted until the
retention date has passed. System Storage Archive Manager combined with
WORM FILE volume reclamation ensures protection for the life of the data.
Storage pools can be managed either by threshold or by data retention period. The
RECLAMATIONTYPE storage pool parameter indicates that a storage pool is managed
based on a data retention period. When a traditional storage pool is queried with
the FORMAT=DETAILED parameter, this output is displayed:
Reclamation Type: THRESHOLD
Tivoli Storage Manager servers that have data retention protection enabled through
System Storage Archive Manager and have access to a NetApp filer with the
SnapLock licensed feature can define a storage pool with RECLAMATIONTYPE set
to SNAPLOCK. This means that data created on volumes in this storage pool are
managed by retention date. When a SnapLock storage pool is queried with the
FORMAT=DETAILED parameter, the output displayed indicates that the storage
pools are managed by data retention period.
Reclamation Type: SNAPLOCK
See the NetApp document Data ONTAP Storage Management Guide for details on
the SnapLock filer. Note this is NetApp documentation.
Attention: It is not recommended that you use this feature to protect data with a
retention period of less than three months.
Related concepts:
“Data retention protection” on page 514
The reclamation of a WORM FILE volume to another WORM FILE volume before
the retention date expiration ensures that data is always protected by the SnapLock
feature.
Because this protection is at a Tivoli Storage Manager volume level, the data on the
volumes can be managed by Tivoli Storage Manager policy without consideration
of where the data is stored. Data stored on WORM FILE volumes is protected both
by data retention protection and by the retention period stored with the physical
file on the SnapLock volume. If a Tivoli Storage Manager administrator issues a
command to delete the data, the command fails. If someone attempt to delete the
file through a series of network file system calls, the SnapLock feature prevents the
data from being deleted.
During reclamation processing, if the Tivoli Storage Manager server cannot move
data from an expiring SnapLock volume to a new SnapLock volume, a warning
message is issued.
Retention periods
Tivoli Storage Manager policies manage the retention time for the WORM FILE
volume. The retention of some files might exceed the retention time for the WORM
FILE volume they were stored on. This could require moving them to another
volume to ensure that the files are stored on WORM media.
Some objects on the volume might need to be retained longer than other objects on
the volume for the following reasons:
v They are bound to management classes with different retention times.
v They cannot be removed because of a deletion hold.
v They are waiting for an event to occur before expiring.
v The retention period for a copy group is increased, requiring a longer retention
time than that specified in the SnapLock feature when the WORM FILE volume
was committed.
Use the DEFINE STGPOOL command to set up a storage pool for use with the
SnapLock feature. Selecting RECLAMATIONTYPE=SNAPLOCK enables Tivoli
Storage Manager to manage FILE volumes by a retention date. After a storage pool
has been set up as a SnapLock storage pool, the RECLAMATIONTYPE parameter
cannot be updated to THRESHOLD. When a SnapLock storage pool is defined, a
check is made to ensure that the directories specified in the device class are
SnapLock WORM volumes. When a file class is defined and storage pools are
created with the reclamation type of SNAPLOCK, all volumes must be WORM
volumes or the operation fails. If a device class is updated to contain additional
directories and there are SnapLock storage pools assigned to it, the same check is
made to ensure all directories are SnapLock WORM volumes.
There are three retention periods available in the NetApp SnapLock feature. These
must be configured correctly so that the Tivoli Storage Manager server can
properly manage WORM data stored in SnapLock volumes. The Tivoli Storage
Manager server sets the retention period for data being stored on NetApp
SnapLock volumes based on the values in the copy group for the data being
Chapter 13. Implementing policies for client data 517
archived. The NetApp filer should not conflict with the ability of the Tivoli Storage
Manager server to set the retention period. The following settings are the Tivoli
Storage Manager recommendations for retention periods in the NetApp filer:
1. Minimum Retention Period Set the higher value: either 30 days or the
minimum number of days specified by any copy group (using a NetApp
SnapLock filer for WORM FILE storage) for the data retention period. The copy
group is the one in use storing data on NetApp SnapLock volumes.
2. Maximum Retention Period Leave default of 30 years. This allows the Tivoli
Storage Manager server to set the actual volume retention period based on the
settings in the archive copy group.
3. Default Retention Period Set to 30 days. If you do not set this value and you do
not set the maximum retention period, each volume's retention period will be
set to 30 years. If this occurs, the Tivoli Storage Manager server's ability to
manage expiration and reuse of NetApp SnapLock volumes will be largely
defeated in that no volume will be able to be reused for thirty years.
With the NetApp SnapLock retention periods appropriately set, Tivoli Storage
Manager can manage the data in SnapLock storage pools with maximum efficiency.
For each volume that is in a SNAPLOCK storage pool, a Tivoli Storage Manager
reclamation period is created. The Tivoli Storage Manager reclamation period has a
start date, BEGIN RECLAIM PERIOD, and an end date, END RECLAIM PERIOD.
View these dates by issuing the QUERY VOLUME command with the
FORMAT=DETAILED parameter on a SnapLock volume. For example:
Begin Reclaim Period: 09/05/2010
End Reclaim Period: 10/06/2010
When Tivoli Storage Manager archives files to a SnapLock volume, it keeps track
of the latest expiration date of those files, and the BEGIN RECLAIM PERIOD is set
to that latest expiration date. When more files are added to the SnapLock volume,
the starting date is set to that later date if there is a file with a later expiration date
than the one currently on the volume. The start date is set to the latest expiration
date for any file on that volume. The expectation is that all files on that volume
should have already either expired, or should be expiring on that day and the
following day there should be no valid data left on that volume.
The END RECLAIM PERIOD is set to a month later than the BEGIN RECLAIM
PERIOD. The retention date set in the NetApp filer for that volume is set to the
END RECLAIM PERIOD date. This means the NetApp filer will prevent any
deletion of that volume until the END RECLAIM PERIOD date has passed. This is
approximately a month after the data has actually expired in the Tivoli Storage
Manager server. If an END RECLAIM PERIOD date is calculated by the Tivoli
Storage Manager server for a volume, and the date is later than the current END
RECLAIM PERIOD, the new date will be reset in the NetApp filer for that volume
to the later date. This guarantees that the Tivoli Storage Manager WORM FILE
volume will not be deleted until all data on the volume has expired, or the data
has been moved to another SnapLock volume.
The Tivoli Storage Manager reclamation period is the amount of time between the
begin date and the end date. It is also the time period which the Tivoli Storage
Manager server has to delete volumes on which all the data has expired, or to
move files which have not expired on expiring SnapLock volumes to new
SnapLock volumes with new dates. This month is critical to how the server safely
and efficiently manages the data on WORM FILE volumes. Data on a SnapLock
volume typically expires by the time the beginning date arrives, and the volume
However, some events may occur which mean that there is still valid data on a
SnapLock volume:
1. Expiration processing in the Tivoli Storage Manager server for that volume may
have been delayed or has not completed yet.
2. The retention parameters on the copy group or associated management classes
may have been altered for a file after it was archived, and that file is not going
to expire for some period of time.
3. A deletion hold may have been placed on one or more of the files on the
volume.
4. Reclamation processing has either been disabled or is encountering errors
moving data to new SnapLock volumes on a SnapLock storage pool.
5. A file is waiting for an event to occur before the Tivoli Storage Manager server
can begin the expiration of the file.
If there are files which have not expired on a SnapLock volume when the
beginning date arrives, they must be moved to a new SnapLock volume with a
new begin and end date. This will properly protect that data. However, if
expiration processing on the Tivoli Storage Manager server has been delayed, and
those files will expire as soon as expiration processing on the Tivoli Storage
Manager server runs, it is inefficient to move those files to a new SnapLock
volume. To ensure that unnecessary data movement does not occur for files which
are due to expire, movement of files on expiring SnapLock volumes will be
delayed some small number of days after the BEGIN RECLAIM PERIOD date.
Since the data is protected in the SnapLock filer until the END RECLAIM PERIOD
date, there is no risk to the data in delaying this movement. This allows Tivoli
Storage Manager expiration processing to complete. After that number of days, if
there is still valid data on an expiring SnapLock volume, it will be moved to a new
SnapLock volume, thus continuing the protection of the data.
Since the data was initially archived, there may have been changes in the retention
parameters for that data (for example, changes in the management class or copy
pool parameters) or there may be a deletion hold on that data. However, the data
on that volume will only be protected by SnapLock until the END RECLAIM
PERIOD date. Data that has not expired is moved to new SnapLock volumes
during the Tivoli Storage Manager reclamation period. If errors occur moving data
to a new SnapLock volume, a distinct warning message is issued indicating that
the data will soon be unprotected. If the error persists, it is recommended that you
issue a MOVE DATA command for the problem volume.
You can avoid this situation by using the RETENTIONEXTENSION server option. This
option allows the server to set or extend the retention date of a SnapLock volume.
You can specify from 30 to 9999 days. The default is 365 days.
When selecting volumes in a SnapLock storage pool for reclamation, the server
checks if the volume is within the reclamation period.
v If the volume is not within the reclamation period, no action is taken. The
volume is not reclaimed, and the retention date is unchanged
v If the volume is within the reclamation period, the server checks if the percent of
reclaimable space on the volume is greater than the reclamation threshold of the
storage pool or of the threshold percentage passed in on the THRESHOLD
parameter of a RECLAIM STGPOOL command.
– If the reclaimable space is greater than the threshold, the server reclaims the
volume and sets the retention date of the target volume is set to the greater of
these values:
- The remaining retention time of the data plus 30 days for the reclamation
period.
- The RETENTIONEXTENSION value plus 30 days for the reclamation period.
– If the reclaimable space is not greater than the threshold, the server resets the
retention date of the volume by the amount specified in the
RETENTIONEXTENSION option. The new retention period is calculated by adding
the number of days specified to the current date.
The Tivoli Storage Manager server allows this type of movement, but if data is
moved from a WORM FILE volume to another type of media, the data may no
longer be protected from inadvertent or malicious deletion. If this data is on
WORM volumes to meet data retention and protection requirements for certain
legal purposes and is moved to other media, the data may no longer meet those
requirements. You should configure your storage pools so this type of data is kept
in storage pools which consist of SnapLock WORM volumes during the entire data
retention period.
When you configure the storage pools this way, you ensure that your data is
properly protected. If you define a next, reclaim, copy storage pool, or active-data
pool without selecting the RECLAMATIONTYPE=SNAPLOCK option, you will not have a
protected storage pool. The command succeeds, but a warning message is issued.
Procedure
Complete the following steps to set up a SnapLock volume for use as a Tivoli
Storage Manager WORM FILE volume:
1. Install and set up SnapLock on the NetApp filer. See NetApp documentation
for more information.
2. Properly configure the minimum, maximum, and default retention periods. If
these retention periods are not configured properly, Tivoli Storage Manager will
not be able to properly manage the data and volumes.
3. Install and configure a Tivoli Storage Manager server with data retention
protection. Ensure the SET ARCHIVERETENTIONPROTECTION command is activated.
4. Set up policy by using the DEFINE COPYGROUP command. Select RETVER and
RETMIN values in the archive copy group which will meet your requirements
for protecting this data in WORM storage. If the RETVER or RETMIN values
are not set, the default management classes values will be used.
5. Set up storage by using the DEFINE DEVCLASS command.
v Use the FILE device class.
v Specify the DIRECTORY parameter to point to the directory or directories on
the SnapLock volumes.
6. Define a storage pool using the device class you defined above.
v Specify RECLAMATIONTYPE=SNAPLOCK.
7. Update the copy group to point to the storage pool you just defined.
If you back up directly to tape, the number of clients that can back up data at the
same time is equal to the number of drives available to the storage pool (through
the mount limit of the device class). For example, if you have one drive, only one
client at a time can back up data.
The direct-to-tape backup eliminates the need to migrate data from disk to tape.
However, performance of tape drives is often lower when backing up directly to
tape than when backing up to disk and then migrating to tape. Backing up data
directly to tape usually means more starting and stopping of the tape drive.
Backing up to disk then migrating to tape usually means the tape drive moves
more continuously, meaning better performance.
At the server command line, you can define a new policy domain that enables
client nodes to back up or archive data directly to tape storage pools. For example,
you can define a policy domain named DIR2TAPE with the following steps:
Procedure
1. Copy the default policy domain STANDARD as a template:
copy domain standard dir2tape
This command creates the DIR2TAPE policy domain that contains a default
policy set, management class, backup and archive copy group, each named
STANDARD.
2. Update the backup or archive copy group in the DIR2TAPE policy domain to
specify the destination to be a tape storage pool. For example, to use a tape
storage pool named TAPEPOOL for backup, issue the following command:
The Versions Data Exists, Versions Data Deleted, and Retain Extra Versions
parameters work together to determine over what time period a client can restore a
logical volume image and reconcile later file backups. Also, you may have server
storage constraints that require you to control the number of backup versions
allowed for logical volumes. The server handles logical volume backups the same
as regular incremental or selective backups. Logical volume backups differ from
selective, incremental, or archive operations in that each file space that is backed
up is treated as a single large file.
For example, a user backs up a logical volume, and the following week deletes one
or more files from the volume. At the next incremental backup, the server records
in its database that the files were deleted from the client. When the user restores
the logical volume, the program can recognize that files have been deleted since
For example, you decide to ensure that clients can choose to restore files and
logical volumes from any time in the previous 60 days. You can create two
management classes, one for files and one for logical volumes. Table 45 shows the
relevant parameters. In the backup copy group of both management classes, set the
Retain Extra Versions parameter to 60 days.
In the management class for files, set the parameters so that the server keeps
versions based on age rather than how many versions exist. More than one backup
version of a file may be stored per day if clients perform selective backups or if
clients perform incremental backups more than once a day. The Versions Data
Exists parameter and the Versions Data Deleted parameter control how many of
these versions are kept by the server. To ensure that any number of backup
versions are kept for the required 60 days, set both the Versions Data Exists
parameter and the Versions Data Deleted parameter to NOLIMIT for the
management class for files. This means that the server retains backup versions
based on how old the versions are, instead of how many backup versions of the
same file exist.
For logical volume backups, the server ignores the frequency attribute in the
backup copy group.
Table 45. Example of backup policy for files and logical volumes
Parameter (backup copy Management Class for Files Management Class for
group in the management Logical Volumes
class)
Versions Data Exists NOLIMIT 3 versions
Versions Data Deleted NOLIMIT 1
Retain Extra Versions 60 days 60 days
Retain Only Version 120 days 120 days
The Tivoli Storage Manager server initiates the backup, allocates a drive, and
selects and mounts the media. The NAS file server then transfers the data to tape.
Because the NAS file server performs the backup, the data is stored in its own
format. For most NAS file servers, the data is stored in the NDMPDUMP data
format. For NetApp file servers, the data is stored in the NETAPPDUMP data
format. For EMC file servers, the data is stored in the CELERRADUMP data
format. To manage NAS file server image backups, copy groups for NAS nodes
must point to a storage pool that has a data format of NDMPDUMP,
NETAPPDUMP, or CELERRADUMP.
The following backup copy group attributes are ignored for NAS images:
To set up the required policy for NAS nodes, you can define a new, separate policy
domain.
Backups for NAS nodes can be initiated from the server, or from a client that has
at least client owner authority over the NAS node. For client-initiated backups, you
can use client option sets that contain include and exclude statements to bind NAS
file system or directory images to a specific management class. The valid options
that can be used for a NAS node are: [Link], [Link], and
[Link]. NAS backups initiated from the Tivoli Storage Manager server with
the BACKUP NODE command ignore client options specified in option files or client
option sets. For details on the options see the Backup-Archive Clients Installation and
User's Guide for your particular client platform.
When the Tivoli Storage Manager server creates a table of contents (TOC), you can
view a collection of individual files and directories backed up via NDMP and
select which to restore. To establish where to send data and store the table of
contents, policy should be set so that:
v Image backup data is sent to a storage pool with a NDMPDUMP,
NETAPPDUMP or CELERRADUMP format.
v The table of contents is sent to a storage pool with either NATIVE or
NONBLOCK format.
Related tasks:
“Creating client option sets on the server” on page 465
Related reference:
Chapter 9, “Using NDMP for operations with NAS file servers,” on page 203
The storage agent transfers data between the client and the storage device. See
Storage Agent User's Guide for details. See the Web site for details on clients that
support the feature: [Link]
Software/Tivoli/Tivoli_Storage_Manager.
One task in configuring your systems to use this feature is to set up policy for the
clients. Copy groups for these clients must point to the storage pool that is
associated with the SAN devices. If you have defined a path from the client to a
drive on the SAN, drives in this storage pool can then use the SAN to send data
directly to the device for backup, archive, restore, and retrieve.
To set up the required policy, either define a new, separate policy domain, or
define a new management class in an existing policy domain.
Related tasks:
Procedure
Because the new management class is not the default for the policy domain, you
must add an include statement to each client options file to bind objects to that
management class.
For example, suppose sanclientmc is the name of the management class that you
defined for clients that are using devices on a SAN. You want the client to be able
to use the SAN for backing up any file on the c drive. Put the following line at the
end of the client's include-exclude list:
include c:* sanclientmc
For details on the include-exclude list, see Backup-Archive Clients Installation and
User's Guide.
In the default management class, the destination for the archive copy group
determines where the target server stores data for the source server. Other policy
specifications, such as how long to retain the data, do not apply to data stored for
a source server.
Related tasks:
“Using virtual volumes to store data on another server” on page 732
For example, you decide to ensure that clients can choose to restore files from
anytime in the previous 60 days. In the backup copy group, set the Retain Extra
Versions parameter to 60 days. More than one backup version of a file may be
stored per day if clients perform selective backups or if clients perform incremental
backups more than once a day. The Versions Data Exists parameter and the
Keeping backed-up versions of files long enough to allow clients to restore their
data to a point in time can mean increased resource costs. Requirements for server
storage increase because more file versions are kept, and the size of the server
database increases to track all of the file versions. Because of these increased costs,
you may want to choose carefully which clients can use the policy that allows for
point-in-time restore operations.
Clients need to run full incremental backup operations frequently enough so that
IBM Tivoli Storage Manager can detect files that have been deleted on the client
file system. Only a full incremental backup can detect whether files have been
deleted since the last backup. If full incremental backup is not done often enough,
clients who restore to a specific time may find that many files that had actually
been deleted from the workstation get restored. As a result, a client’s file system
may run out of space during a restore process.
Important: The server will not attempt to retrieve client files from an active-data
pool during a point-in-time restore. Point-in-time restores require both active and
inactive file versions. Active-data pools contain only active file versions. For
optimal efficiency during point-in-time restores and to avoid switching between
active-data pools and primary or copy storage pools, the server retrieves both
active and inactive versions from the same storage pool and volumes.
To distribute policy, you associate a policy domain with a profile. Managed servers
that subscribe to the profile then receive the following definitions:
v The policy domain itself
v Policy sets in that domain, except for the ACTIVE policy set
v Management classes in the policy sets
v Backup and archive copy groups in the management classes
v Client schedules associated with the policy domain
The names of client nodes and client-schedule associations are not distributed. The
ACTIVE policy set is also not distributed.
The distributed policy becomes managed objects (policy domain, policy sets,
management classes, and so on) defined in the database of each managed server.
To use the managed policy, you must activate a policy set on each managed server.
If storage pools specified as destinations in the policy do not exist on the managed
server, you receive messages pointing out the problem when you activate the
policy set. You can create new storage pools to match the names in the policy set,
or you can rename existing storage pools.
On the managed server you also must associate client nodes with the managed
policy domain and associate client nodes with schedules.
Querying policy
You can request information about the contents of policy objects. You might want
to do this before creating new objects or when helping users to choose policies that
fit their needs.
You can specify the output of a query in either standard or detailed format. The
examples in this section are in standard format.
On a managed server, you can see whether the definitions are managed objects.
Request the detailed format in the query and check the contents of the “Last
update by (administrator)” field. For managed objects, this field contains the string
$$CONFIG_MANAGER$$.
Issue the following command to request information about the backup copy group
(the default) in the ENGPOLDOM engineering policy domain:
query copygroup engpoldom * *
The following data shows the output from the query. It shows that the ACTIVE
policy set contains two backup copy groups that belong to the MCENG and
STANDARD management classes.
The following figure is the output from the query. It shows that the ACTIVE policy
set contains the MCENG and STANDARD management classes.
Issue the following command to request information about policy sets in the
ENGPOLDOM engineering policy domain:
query policyset engpoldom *
The following figure is the output from the query. It shows an ACTIVE policy set
and two inactive policy sets, STANDARD and TEST.
Issue the following command to request information about a policy domain (for
example, to determine if any client nodes are registered to that policy domain):
query domain *
The following figure is the output from the query. It shows that both the
ENGPOLDOM and STANDARD policy domains have client nodes assigned to
them.
Deleting policy
When you delete a policy object, you also delete any objects belonging to it. For
example, when you delete a management class, you also delete the copy groups in
it.
You cannot delete the ACTIVE policy set or objects that are part of that policy set.
You can delete the policy objects named STANDARD that come with the server.
However, all STANDARD policy objects are restored whenever you reinstall the
server.
Related concepts:
“Protection and expiration of archive data” on page 514
For example, to delete the backup and archive copy groups belonging to the
MCENG and STANDARD management classes in the STANDARD policy set,
enter:
delete copygroup engpoldom standard mceng type=backup
delete copygroup engpoldom standard standard type=backup
delete copygroup engpoldom standard mceng type=archive
delete copygroup engpoldom standard standard type=archive
For example, to delete the MCENG and STANDARD management classes from the
STANDARD policy set, enter:
delete mgmtclass engpoldom standard mceng
delete mgmtclass engpoldom standard standard
When you delete a management class from a policy set, the server deletes the
management class and all copy groups that belong to the management class in the
specified policy domain.
For example, to delete the TEST policy set from the ENGPOLDOM policy domain,
enter:
delete policyset engpoldom test
When you delete a policy set, the server deletes all management classes and copy
groups that belong to the policy set within the specified policy domain.
The ACTIVE policy set in a policy domain cannot be deleted. You can replace the
contents of the ACTIVE policy set by activating a different policy set. Otherwise,
the only way to remove the ACTIVE policy set is to delete the policy domain that
contains the policy set.
Move any client nodes to another policy domain, or delete the nodes.
Procedure
When you delete a policy domain, the server deletes the policy domain and all
policy sets (including the ACTIVE policy set), management classes, and copy
groups that belong to the policy domain.
Related reference:
“How files and directories are associated with a management class” on page 489
Tasks:
“Validating a node's data during a client session” on page 536
“Securing communications” on page 831
“Encrypting data on tape” on page 536
“Setting up shredding” on page 540
“Generating client backup sets on the server” on page 544
“Restoring backup sets from a backup-archive client” on page 548
“Moving backup sets to other servers” on page 548
“Managing client backup sets” on page 549
“Enabling clients to use subfile backup” on page 552
“Managing storage usage for archives” on page 555
Concepts:
“Performance considerations for data validation” on page 536
“Securing sensitive client data” on page 539
“Creating and using client backup sets” on page 543
Cyclic redundancy checking is performed at the client when the client requests
services from the server. For example, the client issues a query, backup, or archive
request. The server also performs a CRC operation on the data sent by the client
and compares its value with the value calculated by the client. If the CRC values
do not match, the server will issue an error message once per session. Depending
on the operation, the client may attempt to automatically retry the operation.
After Tivoli Storage Manager completes the data validation, the client and server
discard the CRC values generated in the current session.
Data validation can be enabled for one or all of the following items:
v Tivoli Storage Manager client nodes.
v Tivoli Storage Manager storage agents. For details, refer to the Storage Agent
User's Guide for your particular operating system.
Methods for enabling data validation for a node include choosing data validation
for individual nodes, specifying a set of nodes by using a wildcard search string,
or specifying a group of nodes in a policy domain.
For example, to enable data validation for existing node, ED, you can issue an
UPDATE NODE command. This user backs up the company payroll records weekly
and you have decided it is necessary to have all the user data validated: the data
itself and metadata.
update node ed validateprotocol=all
Later, the network has shown to be stable and no data corruption has been
identified when user ED has processed backups. You can then disable data
validation to minimize the performance impact of validating all of ED's data
during a client session. For example:
update node ed validateprotocol=no
IBM tape technology supports different methods of drive encryption for the
following devices:
v IBM 3592 generation 2 and generation 3
v IBM linear tape open (LTO) generation 4 and generation 5
Application encryption
Encryption keys are managed by the application, in this case, Tivoli
Storage Manager. Tivoli Storage Manager generates and stores the keys in
the server database. Data is encrypted during WRITE operations, when the
encryption key is passed from the server to the drive. Data is decrypted for
READ operations.
The methods of drive encryption that you can use with Tivoli Storage Manager are
set up at the hardware level. Tivoli Storage Manager cannot control or change
which encryption method is used in the hardware configuration. If the hardware is
set up for the application encryption method, Tivoli Storage Manager can turn
encryption on or off depending on the DRIVEENCRYPTION value on the device
class. For more information about specifying this parameter, see the following
topics:
v “Encrypting data with drives that are 3592 generation 2 and later” on page 185
v “Encrypting data using LTO generation 4 tape drives” on page 193
v “Enabling ECARTRIDGE drive encryption” on page 196 and “Disabling
ECARTRIDGE drive encryption” on page 197
This method allows Tivoli Storage Manager to manage the encryption keys. When
using Application encryption, you must take extra care to secure database backups
since the encryption keys are stored in the server database. Without access to
database backups and matching encryption keys, you will not be able to restore
your data.
If you want to encrypt all of your data in a particular logical library or encrypt
data on more than just storage pool volumes, the System or Library method can be
Library managed encryption allows you to control which volumes are encrypted
through the use of their serial numbers. You can specify a range or set of volumes
to encrypt. With Application managed encryption, you can create dedicated storage
pools that only contain encrypted volumes. This way, you can use storage pool
hierarchies and policies to manage the way data is encrypted.
The Library and System methods of encryption can share the same encryption key
manager, which allows the two modes to be interchanged. However, this can only
occur if the encryption key manager is set up to share keys. Tivoli Storage
Manager cannot currently verify if encryption key managers for both methods are
the same. Neither can Tivoli Storage Manager share or use encryption keys
between the application method and either library or system methods of
encryption.
To determine whether or not a volume is encrypted and which method was used,
you can issue the QUERY VOLUME command with FORMAT=DETAILED. For more
information on data encryption using the backup-archive client, see the
Backup-Archive Clients Installation and User's Guide.
For example, if you currently have Application managed encryption enabled, and
you decide that you don't want encryption enabled at all, only empty volumes will
be impacted by the change. Filling volumes will continue to be encrypted while
new volumes will not. If you do not want currently filling volumes to continue
being encrypted, the volume status should be changed to READONLY. This will
ensure that Tivoli Storage Manager does not append any more encrypted data to
the volumes. You can use the MOVE DATA command to transfer the data to a new
volume after the update of the DRIVEENCRYPTION parameter. The data will then
be available in an un-encrypted format.
When migrating from one hardware configuration to another, you will need to
move your data from the old volumes to new volumes with new encryption keys
and key managers. You can do this by setting up two logical libraries and storage
pools (each with a different encryption method) and migrating the data from the
old volumes to the new volumes. This will eliminate volumes that were encrypted
using the original [Link] that you have volumes that were encrypted
using the Library method and you want to migrate to the Application method.
Tivoli Storage Manager will be unable to determine which encryption keys are
needed for data on these volumes because the library's encryption key manager
stores these keys and Tivoli Storage Manager does not have access to them.
Table 46 on page 539 illustrates considerations for changing your hardware
encryption method.
Restriction: If encryption is enabled for a device class, and the device class is
associated with a storage pool, the storage pool should not share a scratch pool
with other device classes that cannot be encrypted. If a tape is encrypted, and you
plan to use it on a drive that cannot be encrypted, you must manually relabel the
tape before it can be used on that drive.
This process increases the difficulty of discovering and reconstructing the data
later. Tivoli Storage Manager performs shredding only on data in random-access
disk storage pools. You can configure the server to ensure that sensitive data is
stored only in storage pools in which shredding is enforced (shred pools).
Shredding occurs only after a data deletion commits, but it is not necessarily
completed immediately after the deletion. The space occupied by the data to be
shredded remains occupied while the shredding takes place, and is not available as
free space for new data until the shredding is complete. When sensitive data is
written to server storage and the write operation fails, the data that was already
written is shredded.
Shredding can be done either automatically after the data is deleted or manually
by command. The advantage of automatic shredding is that it is performed
without administrator intervention whenever deletion of data occurs. This limits
the time that sensitive data might be compromised. Automatic shredding also
limits the time that the space used by deleted data is occupied. The advantage of
manual shredding is that it can be performed when it will not interfere with other
server operations.
Setting up shredding
You must configure Tivoli Storage Manager so that data identified as sensitive is
stored only in storage pools that will enforce shredding after that data is deleted.
Procedure
Complete the following steps to set up your shredding configuration:
1. Specify that you want data to be shredded either automatically after it is
deleted or manually by an administrator. You can specify how shredding is to
be done by setting the SHREDDING server option.
shredding automatic
You can also set the shredding option dynamically by using the SETOPT
command.
2. Set up one or more random access disk storage pool hierarchies that will
enforce shredding and specify how many times the data is to be overwritten
after deletion. For example,
define stgpool shred2 disk shred=5
define stgpool shred1 disk nextstgpool=shred2 shred=5
3. Define volumes to those pools, and specify disks for which write caching can
be disabled.
define volume shred1 j:\storage\[Link] formatsize=100
define volume shred2 m:\storage\[Link] formatsize=100
4. Define and activate a policy for the sensitive data. The policy will bind the data
to a management class whose copy groups specify shred storage pools.
define domain shreddom
define policyset shreddom shredpol
define mgmtclass shreddom shredpol shredclass
define copygroup shreddom shredpol shredclass type=backup
destination=shred1
define copygroup shreddom shredpol shredclass type=archive
destination=shred1
activate policyset shreddom shredpol
5. Identify those client nodes whose data should be shredded after deletion, and
assign them to the new domain.
update node engineering12 domain=shreddom
Results
If you have specified manual shredding with the SHREDDING server option, you can
start the shredding process by issuing the SHRED DATA command. This command
lets you specify how long the process will run before it is canceled and how the
process responds to an I/O error during shredding. For objects that cannot be
shredded, the server reports each object.
To see the status and amount of data waiting to be shredded, you can issue the
QUERY SHREDSTATUS command. The server reports a summary of the number and
size of objects waiting to be shredded. To display detailed information about data
shredding on the server, issuing the following command:
query shredstatus format=detailed
When data shredding completes, a message is issued that reports the amount of
data that was successfully shredded and the amount of data that was skipped, if
any.
Some changes to objects and some server operations involving the moving or
copying of data could result in sensitive data that cannot be shredded. This would
compromise the intent and value of shredding.
Currently, the backup object types that are supported for backup sets include
directories, files, and image data. If you are upgrading from Tivoli Storage
Manager Express®, backup sets can also contain data from Data Protection for
Microsoft SQL and Data Protection for Microsoft Exchange servers. The backup set
process is also called instant archive.
You can generate backup sets on the server for individual client nodes or for
groups of nodes. A node group is a group of client nodes that are acted upon as a
single entity. If you specify one or more node groups, the server generates a
backup set for each node and places all of the backup sets together on a single set
of output volumes. To create a node group, use the DEFINE NODEGROUP
command, and then use the DEFINE NODEGROUPMEMBER command to add nodes to
the group. For details, see the Administrator's Reference. The client node for which a
backup set is generated must be registered to the server.
The media might be directly readable by something such as the following device:
v A CD-ROM, JAZ, or ZIP drive attached to a client's computer.
While an administrator can generate a backup set from any client's backed up files,
backup sets can only be used by a backup-archive client.
You cannot generate a backup set with files that were backed up to Tivoli Storage
Manager by using NDMP. However, you can create a backup set with files that
were backed up using NetApp SnapShot Difference.
When generating backup sets, the server searches for active file versions in an
active-data storage pool associated with a FILE device class, if such a pool exists.
For details about the complete storage-pool search-and-selection order, see
“Selection for active file versions” on page 243.
Data from a shred storage pool will not be included in a backup set unless you
explicitly permit it by setting the ALLOWSHREDDABLE parameter to YES in the
GENERATE BACKUPSET command. If this value is specified, and the client node data
includes data from shred pools, that data cannot be shredded. The server does not
issue a warning if the backup set operation includes data from shred pools. For
more information about shredding, see “Securing sensitive client data” on page
539.
For details about creating and using backup sets, see the following sections:
v “Generating client backup sets on the server” on page 544
Generate backup set processing attempts to process all available objects onto the
backup set media. However, objects may be skipped due to being unavailable on
the server or other errors (I/O, media, hardware) that can occur at the time of
backup set generation. Some errors may lead to termination of processing before
all available data can be processed. For example, if the source data for a backup set
is on multiple sequential volumes and the second or subsequent segment of an
object spanning volumes is on a volume that is unavailable, processing is
terminated.
If objects are skipped or other problems occur to terminate processing, review all
of the messages associated with the process to determine whether or not it should
be run again. To obtain a complete backup set, correct any problems that are
indicated and reissue the GENERATE BACKUPSET command.
Procedure
To improve performance when generating backup sets, you can do one or both of
the following tasks:
v Collocate the primary storage pool in which the client node data is stored. If a
primary storage pool is collocated, client node data is likely to be on fewer tape
volumes than it would be if the storage pool were not collocated. With
collocation, less time is spent searching database entries, and fewer mount
operations are required.
v Store active backup data in an active-data pool associated with a FILE device
class. When generating a backup set, the server will search this type of
active-data pool for active file versions before searching other possible sources.
Results
You can write backup sets to sequential media: sequential tape and device class
FILE. The tape volumes containing the backup set are not associated with storage
pools and, therefore, are not migrated through the storage pool hierarchy.
For device class FILE, the server creates each backup set with a file extension of
OST. You can copy FILE device class volumes to removable media that is
associated with CD-ROM, JAZ, or ZIP devices, by using the REMOVABLEFILE
device type.
You can determine whether to use scratch volumes when you generate a backup
set. If you do not use specific volumes, the server uses scratch volumes for the
backup set.
You can use specific volumes for the backup set. If there is not enough space to
store the backup set on the volumes, the server uses scratch volumes to store the
remainder of the backup set.
Procedure
Consider the following items when you select a device class for writing the backup
set:
v Generate the backup set on any sequential access devices whose device types are
supported on both the client and server. If you do not have access to compatible
devices, you will need to define a device class for a device type that is
supported on both the client and server.
v Ensure that the media type and recording format used for generating the backup
set is supported by the device that will be reading the backup set.
v You must restore, with the IBM Tivoli Storage Manager server, backup sets that
are written to more than one volume and generated to a REMOVABLEFILE
device. Issue the RESTORE BACKUPSET command and specify -location=server to
indicate that the backup set is on the Tivoli Storage Manager server.
Results
For more information, see “Configuring removable media devices” on page 89.
To later display information about this backup set, you can include a wildcard
character with the name, such as mybackupset*, or you can specify the fully
qualified name, such as mybackupset.3099.
Backup sets are retained on the server for 365 days if you do not specify a value.
The server uses the retention period to determine when to expire the volumes on
which the backup set resides.
Procedure
Backup sets are generated to a point-in-time by using one of two date and time
specifications: the date and time specified on the GENERATE BACKUPSET command, or
the date and time the that the GENERATE BACKUPSET command was issued.
Point-in-time backup set generation works best if a recent date and time are
specified. Files that have expired, or are marked as expire-immediately cannot be
included in the backup set.
You can use the DATATYPE parameter to limit the backup set to only one data type.
For example, you might do this if you don't want to store redundant data on the
backup set media. Alternatively, you can specify that both file and image backup
data be included from a machine in order to reduce the number of tapes that must
be included in your off-site tape rotation.
Image backup sets include the image and all files and directories changed or
deleted since the image was backed up so that all backup sets on the media
represent the same point in time. Tables of contents are automatically generated for
any backup sets that contain image or application data. If the GENERATE BACKUPSET
command cannot generate a table of contents for one of these backup sets, then it
will fail.
For file level backup sets, the table of contents generation is optional. By default,
the command attempts to create a table of contents for file level backup sets, but it
will not fail if a table of contents is not created. You can control the table of
contents option by specifying the TOC parameter.
A separate backup set is generated for each specified node, but all of the backup
sets will be stored together on the same set of output volumes. the backup set for
each node has its own entry in the database. The QUERY BACKUPSET command will
display information about all backup sets, whether they are on their own tape or
stacked together with other backup sets onto one tape.
On the DEFINE BACKUPSET command, you can also specify multiple nodes or node
groups, and you can use wildcards with node names. DEFINE BACKUPSET
determines what backup sets are on the set of tapes and defines any that match the
specified nodes. Specifying only a single wildcard character ('*') for the node name
has the effect of defining all the backup sets on the set of tapes. Conversely, you
can define only those backup sets belonging to a particular node by specifying just
the name of that node. Backup sets on tapes belonging to nodes that are not
specified on the command are not defined. They will still exist on the tape, but
cannot be accessed.
The QUERY, UPDATE, and DELETE BACKUPSET commands also allow the specification of
node group names in addition to node names. When you delete backup sets, the
volumes on which the backup sets are stored are not returned to scratch as long as
any backup set on the volumes remain active.
Backup sets can only be used by a backup-archive client, and only if the files in the
backup set originated from a backup-archive client.
For more information about restoring backup sets, see the Backup-Archive Clients
Installation and User's Guide for your particular operating system.
In order to query the contents of a backup set and choose files to restore, tables of
contents need to be loaded into the server database. The backup-archive client can
specify more than one backup set table of contents to be loaded to the server at the
beginning of a restore session.
Image backups and restores require a table of contents when generating a backup
set for image data. If the table of contents existed but was deleted for some reason
then the image backup set cannot be restored until the table of contents is
regenerated with the GENERATE BACKUPSETTOC command.
The level of the server defining the backup set must be equal to or greater than the
level of the server that generated the backup set.
Using the example described in “Example: generating a client backup set” on page
546, you can make the backup set that was copied to the CD-ROM available to
another server by issuing the following command:
define backupset johnson project devclass=cdrom volumes=BK1,BK2,BK3
description="backup set copied to CD-ROM"
Results
If you have multiple servers connecting to different clients, the DEFINE BACKUPSET
command makes it possible for you to take a previously generated backup set and
make it available to other servers. The purpose is to allow the user flexibility in
moving backup sets to different servers, thus allowing the user the ability to
restore their data from a server other than the one on which the backup set was
created.
Important:
1. Devclass=cdrom specifies a device class of type REMOVABLEFILE that points
to your CD-ROM drive. CD-ROMs have a maximum capacity of 650MB.
2. Volumes=BK1,BK2,BK3 specifies the names of the volumes containing the
backup set. The volume label of these CD-ROMs must match the name of the
file on the volume exactly.
Backup set tables of contents are stored in the storage pool identified by the
TOCDESTINATION attribute of the backup copy group associated with the
management class to which the backup set is bound. The management class to
which the backup set is bound will either be the default management class in the
policy domain in which the backup set's node is registered, or the management
class specified by the TOCMGmtclass parameter of the GENERATE BACKUPSET,
GENERATE BACKUPSETTOC, or DEFINE BACKUPSET command. Tables of contents for
backup sets are retained until the backup set with which they are associated
expires or is deleted. They are not subject to the policy associated with their
management class. You can issue the QUERY BACKUPSET command to show whether
a given backup set has a table of contents or not. Output from the QUERY BACKUPSET
command can be filtered based on the existence of a table of contents. This allows
you to determine which backup sets may need to have a new table of contents
created, or conversely, which backup sets could be used with the client's file-level
restore.
Procedure
The following figure shows the report that is displayed after you enter:
query backupset f=d
The FORMAT=DETAILED parameter on the QUERY BACKUPSET provides the client file
spaces contained in the backup set and the list of volumes of the backup set.
The server displays information about the files and directories that are contained in
a backup set. After you issue the query backupsetcontents jane engdata.3099
command, the following output is displayed:
Tip: To display the contents of an image backup set, specify DATATYPE=IMAGE on the
QUERY BACKUPSETCONTENTS command.
File space names and file names that can be in a different code page or locale than
the server do not display correctly in the Operations Center or the administrative
command-line interface. The data itself is backed up and can be restored properly,
but the file space or file name may display with a combination of invalid
characters or blank spaces.
If the file space name is Unicode enabled, the name is converted to the server's
code page for display. The results of the conversion for characters not supported
by the current code page depends on the operating system. For names that Tivoli
Storage Manager is able to partially convert, you may see question marks (??),
blanks, unprintable characters, or “...”. These characters indicate to the
administrator that files do exist. If the conversion is not successful, the name is
displayed as "...". Conversion can fail if the string includes characters that are not
available in the server code page, or if the server has a problem accessing system
conversion routines.
Procedure
To delete all backup sets belonging to client node JANE, created before 11:59 p.m.
on March 18, 1999, enter:
delete backupset jane * begindate=03/18/1999 begintime=23:59
Results
When that date passes, the server automatically deletes the backup set when
expiration processing runs. However, you can also manually delete the client's
backup set from the server before it is scheduled to expire by using the DELETE
BACKUPSET command.
After a backup set is deleted, the volumes return to scratch status if Tivoli Storage
Manager acquired them as scratch volumes. Scratch volumes associated with a
device type of FILE are deleted. However, if multiple backup sets are stored on the
volumes, all of the backup sets must expire or be deleted before the volumes are
returned to scratch.
To help address this problem, you can use subfile backups. When a client's file has
been previously backed up, any subsequent backups are typically made of the
portion of the client's file that has changed (a subfile), rather than the entire file. A
base file is represented by a backup of the entire file and is the file on which
subfiles are dependent. If the changes to a file are extensive, a user can request a
backup on the entire file. A new base file is established on which subsequent
subfile backups are dependent.
This type of backup makes it possible for mobile users to reduce connection time,
network traffic, and the time it takes to do a backup.
To enable this type of backup, see “Setting up clients to use subfile backup” on
page 553.
Subfile backups
Day of
subsequent
Version backup What Tivoli Storage Manager backs up
One Monday The entire [Link] file (the base file)
Two Tuesday A subfile of [Link]. The server compares the file backed up
on Monday with the file that needs to be backed up on
Tuesday. A subfile containing the changes between the two
files is sent to the server for the backup.
Three Wednesday A subfile of [Link]. Tivoli Storage Manager compares the
file backed up on Monday with the file that needs to be
backed up on Wednesday. A subfile containing the changes
between the two files is sent to the server for the backup.
Related reference:
“Setting policy to enable point-in-time restore for clients” on page 527
“Policy for logical volume backups” on page 523
Procedure
You can define (move) a backup set that contains subfiles to an earlier version of a
server that is not enabled for subfile backup. That server can restore the backup set
containing the subfiles to a client not able to restore subfiles. However, this process
is not recommended as it could result in a data integrity problem.
When the base file and its dependent subfiles are imported from the volumes to a
target server and import processing is canceled while the base file and subfiles are
being imported, the server automatically deletes any incomplete base files and
subfiles that were stored on the target server.
For example, when expiration processing runs, Tivoli Storage Manager recognizes a
base file as eligible for expiration but does not delete the file until all its dependent
subfiles have expired. For more information on how the server manages file
expiration, see “Running expiration processing to delete expired files” on page 512.
If the base file and dependent subfiles are stored on separate volumes when a
backup set is created, additional volume mounts may be required to create the
backup set.
Archiving data
Managing archive data on the server becomes important when you have client
nodes that archive large numbers (hundreds or thousands) of files every day.
If you archive files with automated tools that start the command-line client or API,
you might encounter large numbers. If performance degrades over time during an
archive operation, or you have a large amount of storage that is used by archives,
consider advanced techniques. See “Archive operations overview” on page 555 and
“Managing storage usage for archives” on page 555.
All files that are archived with the same description become members of the same
archive package. If the user does not specify a description when archiving, the
client program provides a default description with each archive request. The
default description includes the date.
When files are archived, the client program archives the paths (directories) to those
files to preserve access permissions which are specific to the operating system.
Directories are also included in archive packages. If the same directory is archived
with different descriptions, the directory is stored once with each package. If a
command line user issues a QUERY ARCHIVE command, multiple entries for the same
directory may appear. Closer inspection shows that each entry has a different
description.
The GUI and Web client programs allow a user to navigate through a client node's
archives by first displaying all descriptions (the package identifiers), then the
directories, and finally the files. Users can retrieve or delete individual files or all
files in a directory. Command line client and API users can specify a description
when they archive files, or when they send requests to query, retrieve or delete
archived files.
When retrieving files, the server searches for the most current file versions. It will
search in an active-data storage pool associated with a FILE device class, if such a
pool exists.
Consider the following two actions that you can take to minimize the storage
usage:
Minimize the number of unique descriptions
You can reduce storage usage by archiving more files into fewer packages
(by reducing the number of unique descriptions). The amount of storage
used for directories is also affected by the number of packages. If you
archive a file three different times using three different descriptions, the
server stores both the file and the directory three times, once in each
package. If you archives the same file three different times using just one
description, the server stores the file three times, but the directory is stored
just one time.
Archive directories only if needed
Archiving directories might be necessary if the directories are needed to
group files for query or retrieve, or if the directory-level access permission
information needs to be archived.
The users of the GUI and Web client programs need descriptions to aid in
navigation, to find archived files. You can minimize storage usage for archives by
reducing the number of packages. For client nodes that are always accessed via the
command-line interface you can also use some other techniques.
If the user follows these guidelines, the client node will have one or a limited
number of archive packages. Because of the small number of packages, there are
only small numbers of copies of each directory entry. The savings in storage space
that result are noticeable when files with the same path specification are archived
multiple times over multiple days.
If the user follows these guidelines, you do not need to convert the node because
converting the node affects archive descriptions. A client node that is used with
these guidelines has only one or a small number of archive descriptions, so there is
no improvement in performance to be gained by converting the node.
See the Backup-Archive Clients Installation and User's Guide for details about archive
operations and client options.
Do not run the UPDATE ARCHIVE command while any other processing for the node
is running. If this command is issued for a node with any other object insertion or
deletion activity occurring at the same time, locking contention may occur. This
may result in processes and sessions hanging until the resource timeout is reached
and the processes and sessions terminate.
When you update archives for a node, you have two choices for the action to take:
Delete directory entries in all archive packages
This action preserves the archive packages, but removes directory entries
for all packages, reducing the amount of storage used for archives. Do this
only when directory entries that include access permissions are not needed
in the archive packages, and the paths are not needed to query or retrieve
a group of files. The amount of reduction depends on the number of
packages and the number of directory entries. For example, to remove
directory entries for the client node SNOOPY, enter this command:
Attention: After you delete the directory entries, the directory entries
cannot be recreated in the archive packages. Do not use this option if users
of the client node need to archive access permissions for directories.
Reduce the number of archive packages to a single package for the node
This action removes all unique descriptions, thereby reducing the number
of archive packages to one for the client node. Do this only when the
descriptions are not needed and are causing large use of storage. This
action also removes directory entries in the archive packages. Because there
is now one package, there is one entry for each directory. For example, to
reduce the archive packages to one for the client node SNOOPY, enter this
command:
update archive snoopy resetdescriptions
After updating the archives for a node in this way, keep the archive
package count to a minimum.
Attention: You cannot recreate the packages after the descriptions have
been deleted. Do not use this option if users of the client node manage
archives by packages, or if the client node is accessed via the GUI or Web
client interface.
See Backup-Archive Clients Installation and User's Guide for details about the option.
Tip: The GUI and Web client programs use the directories to allow users to
navigate to the archived files. This option is not recommended for GUI or Web
client interface users.
Tasks:
“Scheduling a client operation” on page 560
“Starting the scheduler on the clients” on page 562
“Displaying information about schedules” on page 571
“Starting the scheduler on the clients” on page 562
“Displaying information about schedules” on page 571
“Creating schedules for running command files” on page 564
“Updating the client options file to automatically generate a new password” on page 565
When you define a schedule, you assign it to a specific policy domain. You can
define more than one schedule for each policy domain.
Procedure
Example
The following example shows the commands that are used to schedule client
backups for three registered client nodes that are assigned to the STANDARD
policy domain.
1. Schedule an incremental backup and associate the schedule with the clients.
define schedule standard daily_incr action=incremental -
starttime=23:00
The schedule, named DAILY_INCR, is for the Tivoli Storage Manager default
policy domain, named STANDARD. The default specifies backup to the disk
storage pool BACKUPPOOL. This schedule calls for a schedule window with
the following characteristics:
v Begins on the date the schedule is defined (the default) at 11:00 p.m.
v Lasts for 1 hour (the default)
v Is repeated daily (the default)
v Stays in effect indefinitely (the default)
2. Start the client scheduler.
For the schedules to become active for a workstation, a user must start the
scheduler from the node.
dsmc schedule
To help ensure that the scheduler is running on the clients, start the client
acceptor daemon (CAD) or client acceptor service. The include-exclude list on
each client also affects which files are backed up or archived by the two
schedules that are defined in the preceding steps. For example, if a file is
excluded from backup with an EXCLUDE statement, the file is not backed up
when the DAILY_INCR schedule runs.
You can limit the query of events to display only schedules that did not run as
expected. For example, you can use the following command daily to see which
clients did not run the DAILY_INCR schedule the previous day:
query event standard daily_incr begindate=today-1 -
exceptionsonly=yes
Schedules that did not complete successfully have a status of Failed, Missed, or
Severed.
4. Check the results of the schedule DAILY_INCR on one of the clients that was
associated with that schedule. For most clients, information about what
happens when a schedule runs is stored in the file [Link]. See the
Backup-Archive Clients Installation and User's Guide.
What to do next
You can modify, copy, and delete any schedule that you create. For more
information, see Chapter 16, “Managing schedules for client nodes,” on page 569.
To define a schedule for daily incremental backups, use the DEFINE SCHEDULE
command. You must specify the policy domain to which the schedule belongs and
the name of the schedule (the policy domain must already be defined). For
example:
define schedule engpoldom daily_backup starttime=21:00
duration=2 durunits=hours
To change the defaults, see the DEFINE SCHEDULE command in the Administrator's
Reference.
You must have system privilege, unrestricted policy, or restricted policy (for the
policy domain to which the schedule belongs) to associate client nodes with
schedules. Issue the DEFINE ASSOCIATION command to associate client nodes with a
schedule.
Procedure
Complete the following step to associate the ENGNODE client node with the
WEEKLY_BACKUP schedule, both of which belong to the ENGPOLDOM policy
domain:
define association engpoldom weekly_backup engnode
Results
After a client schedule is defined, you can associate client nodes with it by
identifying the following information:
v Policy domain to which the schedule belongs
v List of client nodes to associate with the schedule
Administrators must ensure that users start the Tivoli Storage Manager scheduler
on the client or application client directory, and that the scheduler is running at the
schedule start time. After the client scheduler starts, it continues to run and
initiates scheduled events until it is stopped.
The way that users start the Tivoli Storage Manager scheduler varies, depending
on the operating system that the machine is running. The user can choose to start
the client scheduler automatically when the operating system is started, or can
start it manually at any time. The user can also have the client acceptor manage
the scheduler, starting the scheduler only when needed. For instructions on these
tasks, see the Backup-Archive Clients Installation and User's Guide.
The client and the Tivoli Storage Manager server can be set up to allow all sessions
to be initiated by the server. See “Server-initiated sessions” on page 433 for
instructions.
Note: Tivoli Storage Manager does not recognize changes that you made to the
client options file while the scheduler is running. For Tivoli Storage Manager to
The following output shows an example of a report for a classic schedule that is
displayed after you enter:
query schedule engpoldom
Domain * Schedule Name Action Start Date/Time Duration Period Day
------------ - ---------------- ------ -------------------- -------- ------ ---
ENGPOLDOM MONTHLY_BACKUP Inc Bk 09/04/2002 [Link] 2 H 2 Mo Sat
ENGPOLDOM WEEKLY_BACKUP Inc Bk 09/04/2002 [Link] 4 H 1 W Sat
For enhanced schedules, the standard schedule format displays a blank period
column and an asterisk in the day of week column. Issue FORMAT=DETAILED to
display complete information about an enhanced schedule. Refer to the
Administrator's Reference for command details. The following output shows an
example of a report for an enhanced schedule that is displayed after you enter:
query schedule engpoldom
Domain * Schedule Name Action Start Date/Time Duration Period Day
------------ - ---------------- ------ -------------------- -------- ------ ---
ENGPOLDOM MONTHLY_BACKUP Inc Bk 09/04/2002 [Link] 2 H 2 Mo Sat
ENGPOLDOM WEEKLY_BACKUP Inc Bk 09/04/2002 [Link] 4 H (*)
The default schedules do not support command files so you must create a new
schedule to schedule command files.
Associate the client with the schedule and ensure that the scheduler is started on
the client or application client directory. The schedule runs the file called
c:\[Link] once a day between 6:00 p.m. and 6:05 p.m., every day of the week.
If a password expires and is not updated, scheduled operations fail. You can
prevent failed operations by allowing Tivoli Storage Manager to generate a new
password when the current password expires. If you set the PASSWORDACCESS
option to GENERATE in the Tivoli Storage Manager client options file, [Link],
Tivoli Storage Manager automatically generates a new password for your client
node each time it expires, encrypts and stores the password in a file, and retrieves
the password from that file during scheduled operations. You are not prompted for
the password.
To access the Exchange Server APIs, the application client must be running under
the Site Services Account. The Site Services Account is the account under which the
Exchange services are running. The scheduler service must logon using this
account. The scheduler service account information can be specified using the
services applet in the Windows Control Panel. For more information about the Site
Services Account, see the Microsoft Exchange Server documentation.
The Client Acceptor daemon (CAD) cannot be used by a client node when
SESSIONINITIATION=SERVERONLY.
Figure 73. Overview of the Tivoli Storage Manager Scheduler as a Windows Service
Tasks:
“Managing node associations with schedules” on page 571
“Specifying one-time actions for client nodes” on page 583
“Managing event records” on page 573
“Managing the throughput of scheduled operations” on page 576
“Managing IBM Tivoli Storage Manager schedules”
For a description of what Tivoli Storage Manager views as client nodes, see
Chapter 11, “Adding client nodes,” on page 419. For information about the
scheduler and creating schedules, see Chapter 15, “Scheduling operations for client
nodes,” on page 559
You can add new Tivoli Storage Manager schedules by using the DEFINE
SCHEDULE command.
After you add a new schedule, associate the node with the schedule. For more
information, see “Defining client schedules” on page 561.
Client node associations are not copied to the new schedule. You must associate
client nodes with the new schedule before it can be used. The associations for the
old schedule are not changed.
To copy the WINTER schedule from policy domain DOMAIN1 to DOMAIN2 and
name the new schedule WINTERCOPY, enter:
copy schedule domain1 winter domain2 wintercopy
For information, see “Associating client nodes with schedules” on page 562.
Modifying schedules
You can modify existing schedules by issuing the UPDATE SCHEDULE command.
You can use the server command line to modify existing schedules in a policy
domain.
Procedure
To modify the ENGWEEKLY client schedule in the ENGPOLDOM policy domain, issue the
following command:
update schedule engpoldom engweekly period=5 perunits=days
Results
The ENGWEEKLY schedule is updated so that the incremental backup period is now
every five days.
Deleting schedules
When you delete a schedule, Tivoli Storage Manager deletes all client node
associations for that schedule.
Rather than delete a schedule, you may want to remove all nodes from the
schedule and save the schedule for future use. For information, see “Removing
nodes from schedules” on page 573.
See “Associating client nodes with schedules” on page 562 for more information.
The following output shows an example of a report for a classic schedule that is
displayed after you enter:
query schedule engpoldom
Domain * Schedule Name Action Start Date/Time Duration Period Day
------------ - ---------------- ------ -------------------- -------- ------ ---
ENGPOLDOM MONTHLY_BACKUP Inc Bk 09/04/2002 [Link] 2 H 2 Mo Sat
ENGPOLDOM WEEKLY_BACKUP Inc Bk 09/04/2002 [Link] 4 H 1 W Sat
For enhanced schedules, the standard schedule format displays a blank period
column and an asterisk in the day of week column. Issue FORMAT=DETAILED to
display complete information about an enhanced schedule. Refer to the
Administrator's Reference for command details. The following output shows an
example of a report for an enhanced schedule that is displayed after you enter:
query schedule engpoldom
Domain * Schedule Name Action Start Date/Time Duration Period Day
------------ - ---------------- ------ -------------------- -------- ------ ---
ENGPOLDOM MONTHLY_BACKUP Inc Bk 09/04/2002 [Link] 2 H 2 Mo Sat
ENGPOLDOM WEEKLY_BACKUP Inc Bk 09/04/2002 [Link] 4 H (*)
You can perform the following activities to manage associations of client nodes
with schedules.
To associate client nodes with a schedule, you can use the following method:
Issue the DEFINE ASSOCIATION command from the command-line interface.
For more information, see “Associating client nodes with schedules” on page 562.
Procedure
1. Associate the node to the new schedule. For information, see “Adding new
nodes to existing schedules.”
2. Delete the association of that node from the original schedule.
Related tasks:
“Associating client nodes with schedules” on page 562
“Removing nodes from schedules” on page 573
For example, you should query an association before deleting a client schedule.
To delete the association of the ENGNOD client with the ENGWEEKLY schedule,
in the policy domain named ENGPOLDOM, enter:
delete association engpoldom engweekly engnod
Instead of deleting a schedule, you may want to delete all associations to it and
save the schedule for possible reuse in the future.
You can also find information about scheduled events by checking the log file
described in “Checking the schedule log file” on page 575.
For example, you can issue the following command to find out which events were
missed in the previous 24 hours, for the DAILY_BACKUP schedule in the
STANDARD policy domain:
query event standard daily_backup begindate=-1 begintime=now
enddate=today endtime=now exceptionsonly=yes
Figure 76 shows an example of the results of this query. To find out why a
schedule was missed or failed, you may need to check the schedule log on the
client node itself. For example, a schedule can be missed because the scheduler
was not started on the client node.
Such events are displayed with a status of Uncertain, indicating that complete
information is not available because the event records have been deleted. To
determine if event records have been deleted, check the message that is issued
after the DELETE EVENT command is processed.
The default name for the schedule log file is [Link]. The file is located in
the directory where the Tivoli Storage Manager backup-archive client is installed.
You can override this file name and location by specifying the SCHEDLOGNAME option
in the client options file. See the Backup-Archive Clients Installation and User's
Guide for more information.
You can specify how long event records stay in the database before the server
automatically deletes them by using the SET EVENTRETENTION command. You
can also manually delete event records from the database, if database space is
required.
For example, to delete all event records written prior to 11:59 p.m. on June 30,
2002, enter:
delete event 06/30/2002 23:59
With client-polling mode, client nodes poll the server for the next scheduled event.
With server-prompted mode, the server contacts the nodes at the scheduled start
time. By default, the server permits both scheduling modes. The default (ANY)
allows nodes to specify either scheduling mode in their client options files. You can
modify this scheduling mode.
If you modify the default server setting to permit only one scheduling mode, all
client nodes must specify the same scheduling mode in their client options file.
Clients that do not have a matching scheduling mode will not process the
scheduled operations. The default mode for client nodes is client-polling.
The scheduler must be started on the client node's machine before a schedule can
run in either scheduling mode.
For more information about modes, see “Overview of scheduling modes” on page
577.
Procedure
To limit the start of backup-archive client sessions to the server only, complete the
following steps for each node:
1. Use the REGISTER NODE command or the UPDATE NODE command to change the
value of the SESSIONINITIATION parameter to SERVERONLY, Specify the high-level
address and low-level address options. These options must match what the
client is using, otherwise the server will not know how to contact the client.
2. Set the scheduling mode to server-prompted. All sessions must be started by
server-prompted scheduling on the port that was defined for the client with the
REGISTER NODE or the UPDATE NODE commands.
3. Ensure that the scheduler on the client is started. You cannot use the client
acceptor (dsmcad) to start the scheduler when SESSIONINITIATION is set to
SERVERONLY.
See Table 49 on page 578 and Table 48 for the advantages and disadvantages of
client-polling and server-prompted modes.
Table 48. Client-Polling mode
How the mode works Advantages and disadvantages
1. A client node queries the server at v Useful when a high percentage of clients
prescribed time intervals to obtain a start the scheduler manually on a daily
schedule. This interval is set with a client basis, for example when their workstations
option, QUERYSCHEDPERIOD. For are powered off nightly.
information about client options, refer to v Supports randomization, which is the
the appropriate Backup-Archive Clients random distribution of scheduled start
Installation and User's Guide. times. The administrator can control
2. At the scheduled start time, the client randomization. By randomizing the start
node performs the scheduled operation. times, Tivoli Storage Manager prevents all
3. When the operation completes, the client clients from attempting to start the
sends the results to the server. schedule at the same time, which could
overwhelm server resources.
4. The client node queries the server for its
next scheduled operation. v Valid with all communication methods.
1. The server contacts the client node when v Useful if you change the schedule start
scheduled operations need to be time frequently. The new start time is
performed and a server session is implemented without any action required
available. from the client node.
2. When contacted, the client node queries v Useful when a high percentage of clients
the server for the operation, performs the are running the scheduler and are waiting
operation, and sends the results to the for work.
server. v Useful if you want to restrict sessions to
server-initiated.
v Does not allow for randomization of
scheduled start times.
v Valid only with client nodes that use
TCP/IP to communicate with the server.
Client-Polling Scheduling Mode: To have clients poll the server for scheduled
operations, enter:
set schedmodes polling
Ensure that client nodes specify the same mode in their client options files.
Ensure that client nodes specify the same mode in their client options files.
Any Scheduling Mode: To return to the default scheduling mode so that the
server supports both client-polling and server-prompted scheduling modes, enter:
set schedmodes any
For more information, refer to the appropriate Backup-Archive Clients Installation and
User's Guide.
When you define a schedule, you specify the length of time between processing of
the schedule. Consider how these interact to ensure that the clients get the backup
coverage that you intend.
To enable the server to complete all schedules for clients, you may need to use trial
and error to control the workload. To estimate how long client operations take, test
schedules on several representative client nodes. Keep in mind, for example, that
the first incremental backup for a client node takes longer than subsequent
incremental backups.
Of these sessions, you can set a maximum percentage to be available for processing
scheduled operations. Limiting the number of sessions available for scheduled
operations ensures that sessions are available when users initiate any unscheduled
operations, such as restoring file or retrieving files.
If the number of sessions for scheduled operations is insufficient, you can increase
either the total number of sessions or the maximum percentage of scheduled
sessions. However, increasing the total number of sessions can adversely affect
server performance. Increasing the maximum percentage of scheduled sessions can
reduce the server availability to process unscheduled operations.
For example, assume that the maximum number of sessions between client nodes
and the server is 80. If you want 25% of these sessions to be used by for scheduled
operations, enter:
set maxschedsessions 25
The following table shows the trade-offs of using either the SET
MAXSCHEDSESSIONS command or the MAXSESSIONS server option.
A startup window is defined by the start time and duration during which a
schedule must be initiated. For example, if the start time is 1:00 a.m. and the
duration is 4 hours, the startup window is 1:00 a.m. to 5:00 a.m. For the
client-polling scheduling mode, specify the percentage of the startup window that
the server can use to randomize start times for different client nodes that are
associated with a schedule.
The settings for randomization and the maximum percentage of scheduled sessions
can affect whether schedules are successfully completed for client nodes. Users
receive a message if all sessions are in use when they attempt to process a
schedule. If this happens, you can increase randomization and the percentage of
scheduled sessions that are allowed to make sure that the server can handle the
workload. The maximum percentage of randomization that is allowed is 50%. This
limit ensures that half of the startup window is available for trying again, the
scheduled commands that failed.
It is possible, especially after a client node or the server has been restarted, that a
client node may not poll the server until after the beginning of the startup window
in which the next scheduled event is to start. In this case, the starting time is
randomized over the specified percentage of the remaining duration of the startup
window.
The result is that the nine client nodes that polled the server before the beginning
of the startup window are assigned randomly selected starting times between 8:00
and 8:30. The client node that polled at 8:30 receives a randomly selected starting
time that is between 8:30 and 8:45.
A larger startup window gives the client node more time to attempt initiation of a
session with the server.
Users can also set these values in their client user options files. (Root users on
UNIX and Linux systems set the values in client system options files.) However,
user values are overridden by the values that the administrator specifies on the
server.
The communication paths from client node to server can vary widely with regard
to response time or the number of gateways. In such cases, you can choose not to
set these values so that users can tailor them for their own needs.
Related tasks:
“Setting how often clients query the server”
“Setting the number of command retry attempts” on page 582
“Setting the amount of time between retry attempts” on page 582
For the client-polling scheduling mode, you can specify the maximum number of
hours that the scheduler on a client node waits between attempts to contact the
server to obtain a schedule. You can set this period to correspond to the frequency
with which the schedule changes are being made. If client nodes poll more
frequently for schedules, changes to scheduling information (through administrator
commands) are propagated more quickly to client nodes.
This setting has no effect on clients that use the server-prompted scheduling mode.
The clients also have a QUERYSCHEDPERIOD option that can be set on each
client. The server value overrides the client value once the client successfully
contacts the server.
The maximum number of command retry attempts does not limit the number of
times that the client node can contact the server to obtain a schedule. The client
node never gives up when trying to query the server for the next schedule.
Be sure not to specify so many retry attempts that the total retry time is longer
than the average startup window.
If you want to have all client schedulers retry a failed attempt to process a
scheduled command up to two times, enter:
set maxcmdretries 2
Maximum command retries can also be set on each client with a client option,
MAXCMDRETRIES. The server value overrides the client value once the client
successfully contacts the server.
Typically, this setting is effective when set to half of the estimated time it takes to
process an average schedule. If you want to have the client scheduler retry every
15 minutes any failed attempts to either contact the server or process scheduled
commands, enter:
set retryperiod 15
You can use this setting in conjunction with the SET MAXCMDRETRIES command
(number of command retry attempts) to control when a client node contacts the
server to process a failed command. See “Setting the number of command retry
attempts.”
The retry period can also be set on each client with a client option, RETRYPERIOD.
The server value overrides the client value once the client successfully contacts the
server.
If the scheduling mode is set to prompted, the client performs the action within 3
to 10 minutes. If the scheduling mode is set to polling, the client processes the
command at its prescribed time interval. The time interval is set by the
QUERYSCHEDPERIOD client option. The DEFINE CLIENTACTION command
causes Tivoli Storage Manager to automatically define a schedule and associate
client nodes with that schedule. With the schedule name provided, you can later
query or delete the schedule and associated nodes. The names of one-time client
action schedules can be identified by a special character followed by numerals, for
example @1.
The schedule name and association information is returned to the server console or
the administrative client with messages ANR2500I and ANR2510I.
For example, you can issue a DEFINE CLIENTACTION command that specifies an
incremental backup command for client node HERMIONE in domain
ENGPOLDOM:
define clientaction hermione domain=engpoldom action=incremental
Tivoli Storage Manager defines a schedule and associates client node HERMIONE
with the schedule. The server assigns the schedule priority 1, sets the period units
(PERUNITS) to ONETIME, and determines the number of days to keep the
schedule active based on the value set with SET CLIENTACTDURATION
command.
For a list of valid actions, see the DEFINE CLIENTACTION command in the
Administrator's Reference. You can optionally include the OPTIONS and OBJECTS
parameters.
If the duration of client actions is set to zero, the server sets the DURUNITS
parameter (duration units) as indefinite for schedules defined with DEFINE
CLIENTACTION command. The indefinite setting for DURUNITS means that the
schedules are not deleted from the database.
The Operations Center also includes controls for accessing the command line (for
example, to issue server commands) and for updating certain configuration
settings. Table 50 on page 588 describes the primary controls in the Operations
Center.
The Overview page of the Operations Center includes the following sections:
TSM Clients
A client is considered to be at risk if a problem occurs during its most
recent scheduled backup, or during a backup that starts within a specified
time interval. The term backup also includes archive operations for Tivoli
Storage Manager for Enterprise Resource Planning clients.
Use the information that is shown in the TSM Clients section to check for
failed or missed backups and to determine whether backup schedules are
running as expected.
Alerts An alert represents one or more error messages that are issued by a Tivoli
Storage Manager server.
Use the information that is shown in the Alerts section to determine
whether any client-related or server-related errors require attention.
Network Traffic
Use the Network Traffic section to verify that the amount of data that was
recently sent to and from the Tivoli Storage Manager servers is within the
expected range.
TSM Servers
The status indicator shows whether the Tivoli Storage Manager servers that
are managed by the Operations Center are available to provide data
protection services to clients.
You can also view information about the following server components:
Inventory
The inventory consists of the server database and its active and
archive logs. Use the Inventory section to complete the following
tasks:
v Verify that the database file system has enough free space.
For example, you can change the following settings from the
Settings page:
v The frequency at which status data is refreshed
v The duration that alerts remain active, inactive, or closed
v The conditions that indicate that clients are at risk
To view help for the page that is open, hover over the same
icon, and click the respective page title.
Procedure
1. In a web browser, enter the following address, where hostname represents the
name of the computer where the Operations Center is installed, and secure_port
represents the port number that the Operations Center uses for HTTPS
communication:
[Link]
For more information about this port number, see the Operations Center
installation checklist in the Installation Guide.
2. Log in, using an administrator ID that is registered on the Operations Center
hub server.
In the Overview page, you can view summary information for the following
items:
v Clients, including clients that are at risk of being unprotected
v Alerts
v Network traffic
v Servers, including the server database and logs
v Storage pools and devices, including capacity usage
You can view more details by clicking most of these items or by using the
Operations Center menu bar.
Chapter 17. Managing the storage environment with the Operations Center 589
Alert monitoring overview
Alert monitoring in Tivoli Storage Manager can help identify and track relevant
problems on the server.
For a newly installed server or for an upgraded server without defined alerts, a
default set of messages is defined to trigger alerts. You can add messages to, or
remove messages from, the default set.
When you configure a Tivoli Storage Manager server as a hub or spoke server for
the Operations Center, alert monitoring is activated by default, but email
notification about alerts is not activated by default.
You can configure alert monitoring and its characteristics. For example, you might
want to configure the following characteristics:
v Configure email notification for administrators about alerts.
v Change which messages trigger alerts (by updating the default set).
v Change how often alerts are updated in the server database or how often alerts
remain in a certain state.
To configure alert monitoring, use the following server commands, which are
grouped according to the general configuration task to which they apply.
Query the settings for alert monitoring
v QUERY MONITORSETTINGS
Activate alert monitoring
v SET ALERTMONITOR
Send email alerts to administrators
v SET ALERTEMAIL
v SET ALERTEMAILFROMADDR
v SET ALERTEMAILSMTPHOST
v SET ALERTEMAILSMTPPORT
v SET ALERTSUMMARYTOADMINS
v REGISTER ADMIN
v UPDATE ADMIN
v QUERY ADMIN
Define or query which messages trigger alerts
v DEFINE ALERTTRIGGER
v UPDATE ALERTTRIGGER
v DELETE ALERTTRIGGER
v QUERY ALERTTRIGGER
Procedure
1. Restart the initial configuration wizard of the Operations Center.
2. Use the wizard to configure the Operations Center to connect to the new hub
server.
Procedure
1. Remove the spoke server from the group of servers that is managed by the hub
server by completing the following steps:
a. From a Tivoli Storage Manager command line, issue the following
command to the hub server:
QUERY MONITORSETTINGS
b. From the output of the command, copy the name that is in the Monitored
Group field.
c. Issue the following command to the hub server:
DELETE GRPMEMBER group_name member_name
where group_name represents the name of the monitored group, and
member_name represents the name of the spoke server.
2. Optional: Disable alerting and monitoring on the spoke server by issuing the
following commands to the spoke server. Do not complete this step if you want
to move a spoke server from one hub server to another hub server.
SET STATUSMONITOR OFF
SET ALERTMONITOR OFF
3. Optional: Delete the spoke-server definition on the hub server by issuing the
following command to the hub server. Do not complete this step if the
Chapter 17. Managing the storage environment with the Operations Center 591
spoke-server definition is used for other purposes, for example, enterprise
configuration, command routing, storing virtual volumes, or library
management.
DELETE SERVER server_name
where server_name represents the name of the spoke server.
Procedure
To restore the configuration, complete the following steps:
1. Stop the Operations Center web server.
2. Unconfigure the hub server by completing the following steps:
a. Issue the following commands on the hub server, where
IBM-OC-hub_server_name is the name of the administrator ID that was
created automatically when you initially configured the hub server:
SET MONITORINGADMIN ""
SET MONITOREDSERVERGROUP ""
SET STATUSMONITOR OFF
SET ALERTMONITOR OFF
REMOVE ADMIN IBM-OC-hub_server_name
b. Reset the password for the hub server by issuing the following command
on the hub server:
SET SERVERPASSWORD ""
Attention: Do not complete this step if the hub server is configured with
other servers for other purposes, such as library sharing, exporting and
importing of data, or node replication.
3. Unconfigure spoke servers by completing the following steps:
a. On the hub server, issue the following command for each spoke server,
where IBM-OC-hub_server_name is the name of the server group that was
created automatically when you configured the first spoke server, and
spoke_server_name is the server name that is set for the spoke server:
DELETE GRPMEMBER IBM-OC-hub_server_name spoke_server_name
b. Check whether any spoke servers remain as members of the server group
by issuing the following command:
QUERY SERVERGROUP IBM-OC-hub_server_name
c. After all spoke servers are deleted from the server group, issue the
following commands on the hub server:
DELETE SERVERGROUP IBM-OC-hub_server_name
SET MONITOREDSERVERGROUP ""
d. On each spoke server, issue the following commands:
REMOVE ADMIN IBM-OC-hub_server_name
SETOPT PUSHSTATUS NO
SET ALERTMONITOR OFF
SET STATUSMONITOR OFF
e. Delete the definition of the hub server by issuing the following command
on each spoke server:
DELETE SERVER hub_server_name
Attention: Do not complete this step if the definition is used for other
purposes, such as library sharing, exporting and importing of data, or node
replication.
4. Restore the default settings on each server by issuing the following commands:
SET STATUSREFRESHINTERVAL 5
SET STATUSRETENTION 48
SET ALERTUPDATEINTERVAL 10
SET ALERTACTIVEDURATION 480
SET ALERTINACTIVEDURATION 480
SET ALERTCLOSEDDURATION 60
SET STATUSATRISKINTERVAL TYPE=AP INTERVAL=24
SET STATUSATRISKINTERVAL TYPE=VM INTERVAL=24
SET STATUSATRISKINTERVAL TYPE=SY INTERVAL=24
SET STATUSSKIPASFAILURE YES TYPE=ALL
5. Restart the initial configuration wizard of the Operations Center.
Procedure
To change the following settings, use the Settings page in the Operations Center
rather than restarting the initial configuration wizard:
v The frequency at which status data is refreshed
v The duration that alerts remain active, inactive, or closed
v The conditions that indicate that clients are at risk
The Operations Center help includes more information about how to change these
settings.
To restart the initial configuration wizard, you must delete a properties file that
includes information about the hub server connection. However, any alerting,
monitoring, at-risk, or multiserver settings that were configured for the hub server
Chapter 17. Managing the storage environment with the Operations Center 593
are not deleted. These settings are used as the default settings in the configuration
wizard when the wizard restarts.
Procedure
1. Stop the Operations Center web server.
2. On the computer where the Operations Center is installed, go to the following
directory, where installation_dir represents the directory in which the
Operations Center is installed:
v installation_dir\ui\Liberty\usr\servers\guiServer
For example:
v c:\Program Files\Tivoli\TSM\ui\Liberty\usr\servers\guiServer
3. In the guiServer directory, delete the [Link] file.
4. Start the Operations Center web server.
5. Open the Operations Center.
6. Use the configuration wizard to reconfigure the Operations Center. Specify a
new password for the monitoring administrator ID.
7. On any spoke servers that were previously connected to the hub server, update
the password for the monitoring administrator ID by issuing the following
command from the Tivoli Storage Manager command-line interface:
UPDATE ADMIN IBM-OC-hub_server_name new_password
Restriction: Do not change any other settings for this administrator ID. After
you specify the initial password, this password is managed automatically by
the Operations Center.
Related tasks:
“Opening the Operations Center” on page 589
Tasks:
“Licensing IBM Tivoli Storage Manager”
“Starting the Tivoli Storage Manager server” on page 604
“Moving the Tivoli Storage Manager server to another system” on page 608
“Date and time on the server” on page 609
“Managing server processes” on page 609
“Preempting operations” on page 611
“Setting the server name” on page 613
“Add or update server options” on page 614
“Getting help on commands and error messages” on page 616
For current information about supported clients and devices, visit the IBM Tivoli
Storage Manager home page at [Link]
Overview/Software/Tivoli/Tivoli_Storage_Manager.
To register a license, you must issue the REGISTER LICENSE command. The
command registers new licenses for server components, including Tivoli Storage
Manager (base), Tivoli Storage Manager Extended Edition, and System Storage
Archive Manager. You must specify the name of the enrollment certificate file
containing the license to be registered when you issue the REGISTER LICENSE
command. To unregister licenses, erase the NODELOCK file found in the server
instance directory and reregister the licenses.
The file specification can contain a wildcard character (*). The following are
possible certificate file names:
[Link]
Registers IBM Tivoli Storage Manager base edition.
[Link]
Registers IBM Tivoli Storage Manager Extended Edition. This includes the
disaster recovery manager, large libraries, and NDMP.
[Link]
Registers the System Storage Archive Manager. This is required to enable
Data Retention Protection and Expiration and Deletion Suspension
(Deletion Hold).
*.lic Registers all IBM Tivoli Storage Manager licenses for server components.
Notes:
v You cannot register licenses for components that are licensed on the basis of
processors. For example, Tivoli Storage Manager for Mail, Tivoli Storage
Manager for Databases, Tivoli Storage Manager for Enterprise Resource
Planning, Tivoli Storage Manager for Hardware, and Tivoli Storage Manager for
Space Management.
Monitoring licenses
When license terms change (for example, a new license is specified for the server),
the server conducts an audit to determine if the current server configuration
conforms to the license terms. The server also periodically audits compliance with
license terms. The results of an audit are used to check and enforce license terms.
If 30 days have elapsed since the previous license audit, the administrator cannot
cancel the audit. If an IBM Tivoli Storage Manager system exceeds the terms of its
license agreement, one of the following occurs:
v The server issues a warning message indicating that it is not in compliance with
the licensing terms.
v If you are running in Try Buy mode, operations fail because the server is not
licensed for specific features.
You must contact your IBM Tivoli Storage Manager account representative to
modify your agreement.
Note: During a license audit, the server calculates, by node, the amount of
backup, archive, and space management storage in use. This calculation
can take a great deal of CPU time and can stall other server activity. Use
the AUDITSTORAGE server option to specify that storage is not to be
calculated as part of a license audit.
Displaying license information
Use the QUERY LICENSE command to display details of your current
licenses and determine licensing compliance.
Scheduling automatic license audits
Use the SET LICENSEAUDITPERIOD command to specify the number of
days between automatic audits.
Important: The PVU calculations that are provided by Tivoli Storage Manager are
considered estimates and are not legally binding. The PVU information reported by
Tivoli Storage Manager is not considered an acceptable substitute for the IBM
License Metric Tool.
Metrics used to
calculate processor
value units (PVUs)
query pvuestimate
select * from
pvuestimate_details
Device classification
For purposes of PVU calculation, you can classify devices, such as workstations
and servers, as client nodes, server nodes, or other. By default, devices are
classified as client or server:
Client Backup-archive clients that run on Microsoft Windows 7, Microsoft
Windows XP Professional, and Apple systems are classified as client
devices.
Server Backup-archive clients that run on all platforms except for Microsoft
Windows 7, Microsoft Windows XP Professional, and Apple systems are
classified as server devices. All other node types are also classified as
server devices. The server on which Tivoli Storage Manager is running is
classified as a server device.
You can change the node classification to reflect how the device is used in the
system. For example, if a node is classified as a server, but functions as a client,
you can reclassify it as a client. If a node is not used in the system, you can
reclassify it as other.
When you assign a classification, consider the services that are associated with the
device. For example, a Microsoft Windows XP Professional notebook might be a
In a Tivoli Storage Manager system, you can assign multiple client node names to
the same physical workstation. For example, a clustering solution can have several
node names that are defined in the Tivoli Storage Manager server environment to
provide protection if a failover occurs. Redundant node names, or node names that
manage data for physical workstations that no longer exist, should not be counted
for licensing purposes. In this case, you might classify the node as other by using
the UPDATE NODE command.
Limitations
The PVU calculations are estimates because the software cannot determine all of
the factors that are required for a final number. The following factors affect the
accuracy of the calculations:
v PVU estimates are provided only for Tivoli Storage Manager V6.3 server devices
that have established a connection with the Tivoli Storage Manager server since
the installation of or upgrade to Tivoli Storage Manager V6.3.
v The default classification of nodes is based on assumptions, as described in
“Device classification” on page 599.
v The PVU estimate might not reflect the actual number of processors or processor
cores in use.
v The PVU estimate might not reflect cluster configurations.
v The PVU estimate might not reflect virtualization, including VMware and AIX
LPAR and WPAR.
v Common Inventory Technology might not be able to identify some processors,
and some processors might not have corresponding entries in the PVU table.
To calculate the total PVUs, sum the PVUs for all nodes.
Related information
Table 51. Information about PVUs and licensing
Information type Location
IBM PVU table [Link]
tivoli_support/misc/CandO/PVUTable/
PVU calculator [Link]
howtobuy/passportadvantage/
valueunitcalculator/[Link]
Before you begin, review the information about how PVUs are estimated and what
the limitations are. For more information, see “Role of processor value units in
assessing licensing requirements” on page 598. Tivoli Storage Manager offers
several options for viewing PVU information. Select the option that best meets
your needs. To export the PVU estimates to a spreadsheet, use the SELECT * FROM
PVUESTIMATE_DETAILS command.
Important: The PVU calculations that are provided by Tivoli Storage Manager are
considered estimates and are not legally binding.
Procedure
5. To obtain a more accurate PVU estimate, you might want to change the
classifications of nodes. To change node classifications, issue the UPDATE NODE
command. For more information about the UPDATE NODE command, see the
Tivoli Storage Manager Administrator's Reference.
6. To calculate the PVUs for a node, use the following formula: PVUs = number of
processors on the node * processor type (core count) * pvu value. To
calculate the total PVUs, sum the PVUs for all nodes. For more information
about the PVU estimation formula, see Formula for PVU estimation.
Tip: If you cannot obtain PVU information from a client node that is running
on a Linux operating system, ensure that Common Inventory Technology is
installed on that client node. After you install Common Inventory Technology,
obtain a new PVU estimate.
Procedure
Tip: You can copy the files to any location on the host operating system, but
ensure that all files are copied to the same directory.
5. Ensure that guest virtual machines are running. This step is necessary to ensure
that the guest virtual machines are detected during the hardware scan.
6. To collect PVU information, issue the following command:
retrieve -v
What to do next
If you restart the host machine or change the configuration, run the retrieve
command again to ensure that current information is retrieved.
Tip: When the IBM Tivoli Storage Manager for Virtual Environments license file is
installed on a VMware vStorage backup server, the platform string that is stored
on the Tivoli Storage Manager server is set to TDP VMware for any node name
that is used on the server. The reason is that the server is licensed for Tivoli
Storage Manager for Virtual Environments. The TDP VMware platform string can
be used for PVU calculations. If a node is used to back up the server with standard
backup-archive client functions, such as file-level and image backup, interpret the
TDP VMware platform string as a backup-archive client for PVU calculations.
To review the methods that are available if the server is installed on Windows, see
“Starting the server on Windows.”
On the Windows operating system, you must close all applications before you log
off. As a production server, Tivoli Storage Manager must be available to clients 24
hours a day. At many sites, it is a security exposure to leave an administrator ID
logged on at an unattended computer. The solution is to run the server as a
Windows service. When you run the server as a service, it can be configured to
start automatically when the system is restarted.
If you install a Tivoli Storage Manager server and run it in the foreground, you
must stop the server in the foreground before you start the server as a service.
Similarly, if you start the server as a Windows service, you must stop the server
before you can successfully start it in the foreground.
Procedure
You must configure the options for starting the server as a service. Complete the
following steps:
1. From the Windows Start menu, click Run, type [Link], and click OK.
2. In the Services window, select the server instance that you want to start as a
service, and click Properties. For example, select TSM INST1, and click
Properties.
3. To ensure that the server service starts automatically, click the General tab.
From the Startup type list, select Automatic.
If the server service is configured to run under the Local System account, you must
explicitly grant the Local System account access to the Tivoli Storage Manager
database. To grant database access to the Local System account, complete the
following steps:
1. Log on with the user ID that was used to create the Tivoli Storage Manager
server database. This is the user ID that was used to run the DSMSERV FORMAT
utility to initialize the server database. Alternatively, if you configured the
server with the dsmicfgx configuration wizard, this is the user ID that was used
to create the instance.
2. Open a DB2 command window by taking one of the following actions:
v If the Tivoli Storage Manager server is installed on Windows Server 2008 or
Windows Server 2008 R2, click Start > All Programs > IBM DB2 DB2TSM1
> DB2 Command Window - Administrator.
v If the Tivoli Storage Manager server is installed on Windows Server 2012,
open the Start window, and click DB2 Command Window - Administrator.
3. In the DB2 command window, enter the following commands:
set DB2INSTANCE=server1
db2 connect to TSMDB1
db2 grant dbadm with dataaccess with accessctrl on database to user system
db2 grant secadm on database to user system
Tip: When the server service is configured to run under the Local System
account, the database can be accessed by any administrator on the system. In
addition, any administrator who can log on to the system can run the Tivoli
Storage Manager server.
Procedure
What to do next
Because the server service can issue requests that require action, it is important to
monitor server activity with the Operations Center or the administrative client.
To view start and stop completion messages that are logged in the Windows
application log, use the Event Viewer tool in the Administrative Tools folder.
Procedure
1. Change to the directory where the server is installed. For example, change to
the c:\program files\tivoli\tsm\server directory.
2. Enter the following command:
dsmserv -k instance_name
The server instances can be owned by the same or different user accounts.
The files for one instance of the server are stored separately from the files that are
used by another server instance on the same system, and separately from the
server program files. Database and recovery log files are stored in separate
directories, not in the server instance directory.
As part of server configuration, you create a directory to store the files for the
server instance. The following files are stored in the server instance directory:
v The server options file, [Link]
v The server key database file, [Link], and the .arm files, which are used by
clients and other servers to import the Secure Sockets Layer certificates of the
server
v The device configuration file, if the DEVCONFIG server option does not specify a
fully qualified name
v The volume history file, if the VOLUMEHISTORY server option does not specify a
fully qualified name
v The volumes for storage pools of the FILE device type, if the directory for the
device class is not fully specified, or not fully qualified
v The user exits
v The trace output, if it is not fully qualified
v The log file for first-failure data capture, [Link]
Procedure
1. Set up database and recovery log directories for each server instance.
2. Set up an instance directory for each server instance. For example, to run two
server instances, tsminst1 and tsminst2, create instance directories such as
/tsminst1 and /tsminst2. In each directory, place the [Link] file for that
server. Each [Link] file must specify a different port for the server to use.
Ensure that all required files are included in the instance directory.
When you halt the server, all processes are abruptly stopped and client sessions are
canceled, even if they are not complete. Any in-progress transactions are rolled
back when the server is restarted. Administrator activity is not possible.
If possible, halt the server only after current administrative and client node
sessions are finished or canceled. To shut down the server without severely
impacting administrative and client node activity with the server, you must
complete the following steps:
1. Disable the server to prevent new client node sessions from starting by issuing
the DISABLE SESSIONS command. This command does not cancel sessions
currently in progress or system processes like migration and reclamation.
2. Notify any existing administrative and client node sessions that you plan to
shut down the server. The server does not provide a network notification
facility; you must use external means to notify users.
3. Cancel any existing administrative or client node sessions by issuing the
CANCEL SESSION command and the associated session number. To obtain
session numbers and determine whether any sessions are running, use the
QUERY SESSION command. If a session is running, a table is displayed
showing the session number on the leftmost of the screen.
4. Find out whether any other processes are running, such as server migration or
inventory expiration, by using the QUERY PROCESS command. If a database
backup process is running, allow it to complete before you halt the server. If
other types of processes are running, cancel them by using the CANCEL
PROCESS command.
Note: If the process you want to cancel is waiting for a tape volume to be
mounted (for example, a process that is initiated by EXPORT, IMPORT, or
MOVE DATA commands), the mount request is automatically canceled. If a
volume associated with the process is being mounted by an automated library,
the cancel might not take effect until the mount is complete.
5. Halt the server to shut down all server operations by using the HALT
command.
Note:
1. The HALT command can be replicated by using the ALIASHALT server option.
By using the server option, you can define a term other than HALT that
The following prerequisites back up the database from one server and restore it to
another server.
v The same operating system must be running on both servers.
v The sequential storage pool that you use to back up the server database must be
accessible from both servers. Only manual and SCSI library types are supported
for the restore operation.
v The restore operation must be done by a Tivoli Storage Manager server at a code
level that is the same as the code level on the server that was backed up.
Procedure
The sequential storage pool that you use to back up the server database must
be accessible from both servers.
3. Halt the server.
4. Move any libraries and devices from the original server to the new server, or
ensure that they are accessible through a storage area network.
5. Move copies of the volume history file, device configuration file, and server
options file to the target server.
6. Restore the backed up database on the target server. Ensure that you issue the
following commands as the instance user. For example:
v To maintain the current directory structure on the target server, issue this
command:
dsmserv restore db
v To change the current directory structure on the target server, create a file; for
[Link]. List the directories that must be restored on separate
lines. Issue this command:
dsmserv restore db on=[Link]
7. Start the target server.
Related tasks:
“Moving the database and recovery log on a server” on page 679
Every time the server is started and for each hour thereafter, a date and time check
occurs. An invalid date can be one of the following:
v Earlier than the server installation date and time.
v More than one hour earlier than the last time the date was checked.
v More than 30 days later than the last time the date was checked.
Most processes occur quickly and are run in the foreground, but others that take
longer to complete run as background processes.
The server assigns each background process an ID number and displays the
process ID when the operation starts. This process ID number is used for tracking
purposes. For example, if you issue an EXPORT NODE command, the server
displays a message similar to the following:
EXPORT NODE started as Process 10
Some of these processes can also be run in the foreground by using the WAIT=YES
parameter when you issue the command from an administrative client. See
Administrator's Reference for details.
If you do not know the process ID, you can display information about all
background processes by entering:
query process
The following figure shows a server background process report after a DELETE
FILESPACE command was issued. The report displays a process ID number, a
description, and a completion status for each background process.
To find the process number, issue the QUERY PROCESS command . For details,
see “Requesting information about server processes.”
Note:
1. To list open mount requests, issue the QUERY REQUEST command. You can
also query the activity log to determine if a given process has a pending
mount request.
2. A mount request indicates that a volume is needed for the current process.
However, the volume might not be available in the library. If the volume is
not available, the reason might be that you either issued the MOVE MEDIA
command or CHECKOUT LIBVOLUME command, or that you manually
removed the volume from the library.
Preempting operations
The server can preempt server or client operations for a higher priority operation
when a mount point is in use and no others are available, or access to a specific
volume is required. When an operation is preempted, it is canceled.
You can use the QUERY MOUNT command to see the status of the volume for the
mount point.
Mount points can be preempted only when the device class of the operation
preempting and the operation that is being preempted is the same.
The following high-priority operations can preempt other operations for a mount
point.
v Back up database operations
v Retrieve, restore, or HSM recall operations that are initiated by clients
v Restore operations by using a remote data mover
v Export operations
v Import operations
v Backup set generation operations
The following operations can be preempted, and are listed in order of priority,
from highest priority to lowest priority. The server selects the lowest priority
operation to preempt, for example, identify duplicates.
v Replicate nodes
v Back up to a copy storage pool
v Copy active data to an active data pool
v Move data on a storage pool volume
v Migrate data from disk to sequential media
v Migrate data from sequential media to sequential media
v Back up, archive, or HSM migrate data that is initiated by client
v Reclaim volumes in a sequential-access storage pool
v Identify duplicates
You can issue the QUERY STATUS command to see the name of the server.
To specify the server name you must have system privileges. For example, to
change the server name to WELLS_DESIGN_DEPT., enter the following:
set servername wells_design_dept.
You must set unique names on servers that communicate with each other. See
“Setting up communications among servers” on page 692 for details. On a network
where clients connect to multiple servers, it is preferable that all servers have
unique names.
Attention:
v If this is a source server for a virtual volume operation, changing its name can
impact its ability to access and manage the data it has stored on the
corresponding target server.
v To prevent problems related to volume ownership, do not change the name of a
server if it is a library client.
You can change the server name with the SET SERVERNAME command. But you
might have unfortunate results that, according to the platform, can vary. Some
examples to be aware of are:
v Passwords might be invalidated. For example, Windows clients use the server
name to identify which passwords belong to which servers. Changing the server
name after Windows backup-archive clients are connected forces clients to
re-enter the passwords.
v Device information might be affected.
v Registry information on Windows platforms might change.
Procedure
Use the following steps to change a host name when the Tivoli Storage Manager
server is installed.
1. Back up the Tivoli Storage Manager database.
2. Stop the Tivoli Storage Manager server.
3. Change the startup service of the Tivoli Storage Manager server to manual
startup:
a. In the Windows Services Management Console, select TSM Server service.
Tip: The DB2_EXTSECURITY parameter is reset to YES when you restart the
system.
5. Check for the presence of the [Link] file. Depending on your version of
Windows, the [Link] file might be in one of the following directories:
v Windows 2008 or later:
C:\ProgramData\IBM\DB2\DB2TSM1\<DB2 Instance name>
v Other versions of Windows:
C:\Documents and Settings\All Users\Application Data\IBM\DB2\DB2TSM1\
<DB2 Instance name>
Tip: The [Link] file is a hidden file. Ensure that you show all files by
going to Windows Explorer and selecting Tools > Folder Options and
specifying to view hidden files.
If the [Link] file does not exist on your system, proceed to the next
step. If the file does exist, issue the following command to update the host
name:
db2nchg /n:0 /i:<instance> /h:<new host name>
6. Change the Windows host name, as described in the documentation for the
Windows system that you are using.
7. Restart the server.
8. Update the security settings by running the following command:
db2extsec -a new_host_name\DB2ADMNS -u new_host_name\DB2USERS
9. Start the Tivoli Storage Manager server.
10. Reset the startup service for Tivoli Storage Manager server to be automatic:
a. In the Windows Services Management Console, select TSM Server service.
b. Right-click the service and click Properties.
c. In the Startup Type field, select Automatic.
To add or update server options, use the SETOPT command to edit the [Link]
file.
For information about editing the server options file, refer to the Administrator's
Reference.
You can update existing server options by issuing the SETOPT command. For
example, to update the existing server option value for MAXSESSIONS to 20, enter:
setopt maxsessions 20
The contents of the volume history file are created by using the volume history
table in the server database. When opening a volume, the server might check the
table to determine whether the volume is already used. If the table is large, it can
take a long time to search. Other sessions or processes, such as backups and other
processes that use multiple sequential volumes, can be delayed due to locking.
For example, if you keep backups for seven days, information older than seven
days is not needed. If information about database backup volumes or export
volumes is deleted, the volumes return to scratch status. For scratch volumes of
device type FILE, the files are deleted. When information about storage pools
volumes is deleted, the volumes themselves are not affected.
Procedure
To delete volume history, issue the DELETE VOLHISTORY command. For example, to
delete volume history that is seven days old or older, issue the following
command:
delete volhistory type=all todate=today-8
Results
DRM: DRM automatically expires database backup series and deletes the volume history
entries.
You can issue the HELP command with no operands to display a menu of help
selections. You also can issue the HELP command with operands that specify help
menu numbers, commands, or message numbers.
Tivoli Storage Manager includes a central scheduling component that allows the
automatic processing of administrative commands during a specific time period
when the schedule is activated. Schedules that are started by the scheduler can run
in parallel. You can process scheduled commands sequentially by using scripts that
contain a sequence of commands with WAIT=YES. You can also use a scheduler
external to invoke the administrative client to start one or more administrative
commands.
Each scheduled administrative command is called an event. The server tracks and
records each scheduled event in the database. You can delete event records as
needed to recover database space.
Procedure
1. Define a schedule named EXPPROC that invokes expiration processing every
night at 2:00 a.m. For example:
define schedule expproc type=administrative -
cmd=’expire inventory’ active=yes starttime=02:00
Concepts:
“Automating a basic administrative command schedule”
“Tailoring schedules” on page 621
“Copying schedules” on page 624
“Deleting schedules” on page 625
“Managing scheduled event records” on page 625
“Tivoli Storage Manager server scripts” on page 626
“Using macros” on page 637
Notes:
1. Scheduled administrative command output is directed to the activity log. This
output cannot be redirected. For information about the length of time activity
log information is retained in the database, see “Using the Tivoli Storage
Manager activity log” on page 799.
2. You cannot schedule MACRO or QUERY ACTLOG commands.
To later update or tailor your schedules, see “Tailoring schedules” on page 621.
Include the following parameters when you define a schedule with the DEFINE
SCHEDULE command:
v Specify the administrative command to be issued (CMD= ).
v Specify whether the schedule is activated (ACTIVE= ).
The following figure shows an example of a report that is displayed after you
enter:
query schedule backup_archivepool type=administrative
Note: The asterisk (*) in the first column specifies whether the corresponding
schedule has expired. If there is an asterisk in this column, the schedule has
expired.
You can check when the schedule is projected to run and whether it ran
successfully by using the QUERY EVENT command. For information about
querying events, see “Querying events” on page 625.
Tailoring schedules
To control your schedules more precisely, specify values for the schedule
parameters instead of accepting the default settings when you define or update
schedules.
You can specify the following values when you issue the DEFINE SCHEDULE or
UPDATE SCHEDULE command:
Schedule name
All schedules must have a unique name, which can be up to 30 characters.
Copying schedules
You can create a new schedule by copying an existing administrative schedule.
When you copy a schedule, Tivoli Storage Manager copies the following
information:
v A description of the schedule
v All parameter values from the original schedule
Deleting schedules
You can delete the ENGBKUP administrative schedule.
Procedure
All scheduled events, including their status, are tracked by the server. An event
record is created in the server database whenever processing of a scheduled
command is created or missed.
Querying events
To help manage schedules for administrative commands, you can request
information about scheduled and completed events. You can request general or
exception reporting queries.
To minimize the processing time when querying events, minimize the time range.
To query an event for an administrative command schedule, you must specify the
TYPE=ADMINISTRATIVE parameter. Figure 78 on page 626 shows an example of
the results of the following command:
query event * type=administrative
If you issue a query for events, past events may display even if the event records
have been deleted. The events displayed with a status of Uncertain indicate that
complete information is not available because the event records have been deleted.
To determine if event records have been deleted, check the message that is issued
after the DELETE EVENT command is processed.
Event records are automatically removed from the database after both of the
following conditions are met:
v The specified retention period has passed
v The startup window for the event has elapsed
You can change the retention period from the default of 10 days by using the SET
EVENTRETENTION command.
Use the DELETE EVENT command manually remove event records. For example,
to delete all event records written prior to 11:59 p.m. on June 30, 2002, enter:
delete event type=administrative 06/30/2002 23:59
You can define a script with the DEFINE SCRIPT command. You can initially
define the first line of the script with this command. For example:
define script qaixc "select node_name from nodes where platform=’aix’"
desc=’Display AIX clients’
This example defines the script as QAIXC. When you run the script, all AIX clients
are displayed.
To define additional lines, use the UPDATE SCRIPT command. For example, you
want to add a QUERY SESSION command, enter:
update script qaixc "query session *"
You can specify a WAIT parameter with the DEFINE CLIENTACTION command.
This allows the client action to complete before processing the next step in a
command script or macro. To determine where a problem is within a command in
a script, use the ISSUE MESSAGE command.
Restriction: You cannot redirect the output of a command within a Tivoli Storage
Manager script. Instead, run the script and then specify command redirection. For
example, to direct the output of script1 to the c:\temp\[Link] directory, run the
script and specify command redirection as in the following example:
run script1 > c:\temp\[Link]
For example, to define a script whose command lines are read in from the file
[Link], issue:
define script admin1 file=[Link]
The script is defined as ADMIN1, and the contents of the script have been read in
from the file [Link].
Note: The file must reside on the server, and be read by the server.
You must schedule the maintenance script to run. The script typically includes
commands to back up, copy, and delete data. You can automate your server
maintenance by creating a maintenance script, and running it when your server is
not in heavy use.
A custom maintenance script can be created using the maintenance script editor or
by converting a predefined maintenance script.
When you click Server Maintenance in the navigation tree, a list of servers is
displayed in the Maintenance Script table with either None, Custom, or
Predefined noted in the Maintenance Script column.
Procedure
Complete the following steps to create a custom maintenance script using the
maintenance script editor.
What to do next
To edit your custom script after it is created and saved, click Server Maintenance
in the navigation tree, select the server with the custom script and click Select
Action > Modify Maintenance Script. Your custom maintenance script opens in
the script editor where you can add, remove, or change the order of the
commands.
You can produce a predefined maintenance script using the maintenance script
wizard.
When you click Server Maintenance in the navigation tree, a list of servers is
displayed in the Maintenance Script table with either None, Custom, or
Predefined noted in the Maintenance Script column.
Procedure
Complete the following steps to create a maintenance script using the maintenance
script wizard.
1. Select a server that requires a maintenance script to be defined (None is
specified in the Maintenance Script column).
2. Click Select Action > Create Maintenance Script.
3. Follow the steps in the wizard.
After completing the steps in the wizard, you can convert your predefined
maintenance script into a custom maintenance script. If you choose to convert your
script into a custom script, select the server and click Select Action > Convert to
Custom Maintenance Script. Your predefined maintenance script is converted and
opened in the maintenance script editor where you can modify the schedule and
the maintenance actions.
Running commands serially in a script ensures that any preceding commands are
complete before proceeding and ensures that any following commands are run
serially. When a script starts, all commands are run serially until a PARALLEL
command is encountered. Multiple commands running in parallel and accessing
common resources, such as tape drives, can run serially.
Script return codes remain the same before and after a PARALLEL command is run.
When a SERIAL command is encountered, the script return code is set to the
maximum return code from any previous commands run in parallel.
When using server commands that support the WAIT parameter after a PARALLEL
command, the behavior is as follows:
v If you specify (or use the default) WAIT=NO, a script does not wait for the
completion of the command when a subsequent SERIAL command is
encountered. The return code from that command reflects processing only up to
the point that the command starts a background process. The final return code
from the command is not available to your script.
v If you specify WAIT=YES, your script waits for the completion of the command
when a subsequent SERIAL command is encountered. The return code from that
command reflects processing for the entire command.
In most cases, you can use WAIT=YES on commands that are run in parallel.
The following example illustrates how the PARALLEL command is used to back up,
migrate, and reclaim storage pools.
/*run multiple commands in parallel and wait for
them to complete before proceeding*/
PARALLEL
/*back up four storage pools simultaneously*/
BACKUP STGPOOL PRIMPOOL1 COPYPOOL1 WAIT=YES
BACKUP STGPOOL PRIMPOOL2 COPYPOOL2 WAIT=YES
BACKUP STGPOOL PRIMPOOL3 COPYPOOL3 WAIT=YES
BACKUP STGPOOL PRIMPOOL4 COPYPOOL4 WAIT=YES
/*wait for all previous commands to finish*/
SERIAL
/*after the backups complete, migrate stgpools
simultaneously*/
PARALLEL
MIGRATE STGPOOL PRIMPOOL1 DURATION=90 WAIT=YES
MIGRATE STGPOOL PRIMPOOL2 DURATION=90 WAIT=YES
When you run the script you must specify two values, one for $1 and one for $2.
For example:
run sqlsample node_name aix
The command that is processed when the SQLSAMPLE script is run is:
select node_name from nodes where platform=’aix’
As each command is processed in a script, the return code is saved for possible
evaluation before the next command is processed. The return code can be one of
three severities: OK, WARNING, or ERROR. Refer to Administrator's Reference for a
list of valid return codes and severity levels.
You can use the IF clause at the beginning of a command line to determine how
processing of the script should proceed based on the current return code value. In
the IF clause you specify a return code symbolic value or severity.
The server initially sets the return code at the beginning of the script to RC_OK.
The return code is updated by each processed command. If the current return code
from the processed command is equal to any of the return codes or severities in
the IF clause, the remainder of the line is processed. If the current return code is
not equal to one of the listed values, the line is skipped.
The following script example backs up the BACKUPPOOL storage pool only if
there are no sessions currently accessing the server. The backup proceeds only if a
return code of RC_NOTFOUND is received:
/* Backup storage pools if clients are not accessing the server */
select * from sessions
/* There are no sessions if rc_notfound is received */
if(rc_notfound) backup stg backuppool copypool
The following script example backs up the BACKUPPOOL storage pool if a return
code with a severity of warning is encountered:
/* Backup storage pools if clients are not accessing the server */
select * from sessions
/* There are no sessions if rc_notfound is received */
if(warning) backup stg backuppool copypool
The following example uses the IF clause together with RC_OK to determine if
clients are accessing the server. If a RC_OK return code is received, this indicates
that client sessions are accessing the server. The script proceeds with the exit
statement, and the backup does not start.
/* Back up storage pools if clients are not accessing the server */
select * from sessions
/* There are sessions if rc_ok is received */
if(rc_ok) exit
backup stg backuppool copypool
The GOTO statement is used in conjunction with a label statement. The label
statement is the target of the GOTO statement. The GOTO statement directs script
processing to the line that contains the label statement to resume processing from
that point.
The label statement always has a colon (:) after it and may be blank after the colon.
The following example uses the GOTO statement to back up the storage pool only
if there are no sessions currently accessing the server. In this example, the return
code of RC_OK indicates that clients are accessing the server. The GOTO statement
directs processing to the done: label which contains the EXIT statement that ends
the script processing:
/* Back up storage pools if clients are not accessing the server */
select * from sessions
/* There are sessions if rc_ok is received */
if(rc_ok) goto done
backup stg backuppool copypool
done:exit
Updating a script
You can update a script to change an existing command line or to add a new
command line to a script.
The following is an example of the QSTATUS script. The script has lines 001, 005,
and 010 as follows:
001 /* This is the QSTATUS script */
005 QUERY STATUS
010 QUERY PROCESS
To append the QUERY SESSION command at the end of the script, issue the
following:
update script qstatus "query session"
You can change an existing command line by specifying the LINE= parameter.
Line number 010 in the QSTATUS script contains a QUERY PROCESS command.
To replace the QUERY PROCESS command with the QUERY STGPOOL command,
specify the LINE= parameter as follows:
update script qstatus "query stgpool" line=10
To add the SET REGISTRATION OPEN command as the new line 007 in the
QSTATUS script, issue the following:
update script qstatus "set registration open" line=7
The QUERY1 command script now contains the same command lines as the
QSTATUS command script.
The various formats you can use to query scripts are as follows:
Format Description
Standard Displays the script name and description. This is the default.
Detailed Displays commands in the script and their line numbers, date of
last update, and update administrator for each command line in the
script.
Lines Displays the name of the script, the line numbers of the commands,
comment lines, and the commands.
File Outputs only the commands contained in the script without all
other attributes. You can use this format to direct the script to a file
so that it can be loaded into another server with the DEFINE script
command specifying the FILE= parameter.
You can create additional server scripts by querying a script and specifying the
FORMAT=FILE and OUTPUTFILE parameters. You can use the resulting output as
input into another script without having to create a script line by line.
The following is an example of querying the SRTL2 script and directing the output
to [Link]:
query script srtl2 format=raw outputfile=[Link]
You can then edit the [Link] with an editor that is available to you on
your system. To create a new script using the edited output from your query, issue:
define script srtnew file=[Link]
For example, to delete the 007 command line from the QSTATUS script, issue:
delete script qstatus line=7
Note: There is no Tivoli Storage Manager command that can cancel a script after it
starts. To stop a script, an administrator must halt the server.
You can preview the command lines of a script without actually executing the
commands by using the PREVIEW=YES parameter with the RUN command. If the
script contains substitution variables, the command lines are displayed with the
substituted variables. This is useful for evaluating a script before you run it.
Enter:
run qaixc node_name aix
Using macros
Tivoli Storage Manager supports macros on the administrative client. A macro is a
file that contains one or more administrative client commands. You can only run a
macro from the administrative client in batch or interactive modes. Macros are
stored as a file on the administrative client. Macros are not distributed across
servers and cannot be scheduled on the server.
The name for a macro must follow the naming conventions of the administrative
client running on your operating system. For more information about file naming
conventions, refer to the Administrator's Reference.
In macros that contain several commands, use the COMMIT and ROLLBACK
commands to control command processing within the macro. For more information
about using these commands, see “Command processing in a macro” on page 640.
You can include the MACRO command within a macro file to invoke other macros
up to ten levels deep. A macro invoked from the Tivoli Storage Manager
administrative client command prompt is called a high-level macro. Any macros
invoked from within the high-level macro are called nested macros.
The administrative client ignores any blank lines included in your macro.
However, a completely blank line terminates a command that is continued (with a
continuation character).
The following is an example of a macro called [Link] that registers and grants
authority to a new administrator:
register admin pease mypasswd -
contact=’david pease, x1234’
grant authority pease -
classes=policy,storage -
domains=domain1,domain2 -
stgpools=stgpool1,stgpool2
After you create a macro file, you can update the information that it contains and
use it again. You can also copy the macro file, make changes to the copy, and then
run the copy. Refer to the Administrator's Reference for more information on how
commands are entered and the general rules for entering administrative
commands.
To write a comment:
v Write a slash and an asterisk (/*) to indicate the beginning of the comment.
v Write the comment.
v Write an asterisk and a slash (*/) to indicate the end of the comment.
You can put a comment on a line by itself, or you can put it on a line that contains
a command or part of a command.
For example, to use a comment to identify the purpose of a macro, write the
following:
/* [Link]-register new nodes */
Comments cannot be nested and cannot span lines. Every line of a comment must
contain the comment delimiters.
To use a continuation character, enter a dash or a back slash at the end of the line
that you want to continue. With continuation characters, you can do the following:
v Continue a command. For example:
register admin pease mypasswd -
contact="david, ext1234"
For example, to create a macro named [Link] to register new nodes, write it
as follows:
/* register new nodes */
register node %1 %2 - /* userid password */
contact=%3 - /* ’name, phone number’ */
domain=%4 /* policy domain */
Then, when you run the macro, you enter the values you want to pass to the
server to process the command.
For example, to register the node named DAVID with a password of DAVIDPW,
with his name and phone number included as contact information, and assign him
to the DOMAIN1 policy domain, enter:
macro [Link] david davidpw "david pease, x1234" domain1
If your system uses the percent sign as a wildcard character, the administrative
client interprets a pattern-matching expression in a macro where the percent sign is
immediately followed by a numeric digit as a substitution variable.
If the macro does not contain substitution variables (such as the [Link] macro
described in the “Writing commands in a macro” on page 637), run the macro by
entering the MACRO command with the name of the macro file. For example:
macro [Link]
If you enter fewer values than there are substitution variables in the macro, the
administrative client replaces the remaining variables with null strings.
If you want to omit one or more values between values, enter a null string ("") for
each omitted value. For example, if you omit the contact information in the
previous example, you must enter:
macro [Link] pease mypasswd "" domain1
If an error occurs in any command in the macro or in any nested macro, the server
terminates processing and rolls back any changes caused by all previous
commands.
If you specify the ITEMCOMMIT option when you enter the DSMADMC
command, the server commits each command in a script or a macro individually,
after successfully completing processing for each command. If an error occurs, the
server continues processing and only rolls back changes caused by the failed
command.
You can control precisely when commands are committed with the COMMIT
command. If an error occurs while processing the commands in a macro, the server
terminates processing of the macro and rolls back any uncommitted changes.
Uncommitted changes are commands that have been processed since the last
COMMIT. Make sure that your administrative client session is not running with the
ITEMCOMMIT option if you want to control command processing with the
COMMIT command.
Note: Commands that start background processes cannot be rolled back. For a list
of commands that can generate background processes, see “Managing server
processes” on page 609.
If you have a series of commands that process successfully via the command line,
but are unsuccessful when issued within a macro, there are probably dependencies
between commands. It is possible that a command issued within a macro cannot
be processed successfully until a previous command that is issued within the same
macro is committed. Either of the following actions allow successful processing of
these commands within a macro:
v Insert a COMMIT command before the command dependent on a previous
command. For example, if COMMAND C is dependent upon COMMAND B,
you would insert a COMMIT command before COMMAND C. An example of
this macro is:
command a
command b
commit
command c/
v Start the administrative client session using the ITEMCOMMIT option. This
causes each command within a macro to be committed before the next command
is processed.
The following sections provide detailed concept and task information about the
database and recovery log.
Concepts:
“Database and recovery log overview”
Tasks:
“Estimating database space requirements” on page 652
“Estimating recovery log space requirements” on page 656
“Monitoring the database and recovery log” on page 671
“Increasing the size of the database” on page 672
“Reducing the size of the database” on page 676
“Increasing the size of the active log” on page 678
“Backing up the server database” on page 870
“Restoring the database” on page 900
“Moving the database and recovery log on a server” on page 679
“Adding optional logs after server initialization” on page 684
“Transaction processing” on page 685
Tivoli Storage Manager version 6.3 is installed with the IBM DB2 database
application. Users who are experienced DB2 administrators can choose to perform
advanced SQL queries and use DB2 tools to monitor the database. However, do
not use DB2 tools to change DB2 configuration settings from those settings that are
preset by Tivoli Storage Manager. Do not alter the DB2 environment for Tivoli
Storage Manager in other ways, such as with other products. The Tivoli Storage
Manager Version 6.3 server was built and tested with the data definition language
(DDL) and database configuration that Tivoli Storage Manager deploys.
Database: Overview
The database does not store client data; it points to the locations of the client files
in the storage pools. The Tivoli Storage Manager database contains information
about the Tivoli Storage Manager server. The database also contains information
about the data that is managed by the Tivoli Storage Manager server.
The database cannot be mirrored through Tivoli Storage Manager, but it can be
mirrored by using hardware mirroring, such as Redundant Array of Independent
Disks (RAID) 5.
The database manager manages database volumes, and there is no need to format
them. Some advantages of the database manager are:
Automatic backups
When the server is started for the first time, a full backup begins
Using TCP/IP to communicate with DB2 can greatly extend the number of
concurrent connections. The TCP/IP connection is part of the default configuration.
When the Tivoli Storage Manager V6.3 server is started for the first time, it
inspects the current configuration of the DB2 instance. It then makes any necessary
changes to ensure that both IPC and TCP/IP can be used to communicate with the
database manager. Any changes are made only as needed. For example, if the
TCP/IP node exists and has the correct configuration, it is not changed. If the node
was cataloged but has an incorrect IP address or port, it is deleted and replaced by
a node having the correct configuration.
When cataloging the remote database, the Tivoli Storage Manager server generates
a unique alias name based on the name of the local database. By default, a remote
database alias of TSMAL001 is created to go with the default database name of
TSMDB1.
Tip: Tivoli Storage Manager disables the TCP/IP connections if it cannot find an
alias in the range TSMAL001-TSMAL999 that is not already in use.
By default, the Tivoli Storage Manager server uses IPC to establish connections for
the first two connection pools, with a maximum of 480 connections for each pool.
After the first 960 connections are established, the Tivoli Storage Manager server
uses TCP/IP for any additional connections.
You can use the DBMTCPPORT server option to specify the port on which the TCP/IP
communication driver for the database manager waits for requests for client
sessions. The port number must be reserved for use by the database manager.
If Tivoli Storage Manager cannot connect to the database by using TCP/IP, it issues
an error message and halts. The administrator must determine the cause of the
problem and to correct it before restarting the server. The server verifies that it can
connect by using TCP/IP at startup even if it is configured to initially favor IPC
connections over TCP/IP connections.
Recovery log
The recovery log helps to ensure that a failure (such as a system power outage or
application error) does not leave the database in an inconsistent state. The recovery
log is essential when you restart the Tivoli Storage Manager or the database, and is
required if you must restore the database.
When you issue a command to make changes, the changes are committed to the
database to complete. A committed change is permanent and cannot be rolled
back. If a failure occurs, the changes that were made but not committed are rolled
back. Then all committed transactions, which might not have been physically
written to disk, are reapplied and committed again.
During the installation process, you specify the directory location, the size of the
active log, and the location of the archive logs. You can also specify the directory
location of a log mirror if you want the additional protection of mirroring the
active log. The amount of space for the archive logs is not limited, which improves
the capacity of the server for concurrent operations compared to previous versions.
The space that you designate for the recovery log is managed automatically by the
database manager program. Space is used as needed, up to the capacity of the
defined log directories. You do not need to create and format volumes for the
recovery log.
Ensure that the recovery log has enough space. Monitor the space usage for the
recovery log to prevent problems.
Attention: To protect your data, locate the database directories and all the log
directories on separate physical disks.
Related concepts:
“Transaction processing” on page 685
“Active log”
Changes to the database are recorded in the recovery log to maintain a consistent
database image. You can restore the server to the latest time possible, by using the
active and archive log files, which are included in database backups.
To help ensure that the required log information is available for restoring the
database, you can specify that the active log is mirrored to another file system
location. For the best availability, locate the active log mirror on a different
physical device.
Active log
The active log files record transactions that are in progress on the server.
The active log stores all the transactions that have not yet been committed. The
active log always contains the most recent log records. If a failure occurs, the
changes that were made but not committed are rolled back, and all committed
transactions, which might not have been physically written to disk, are reapplied
and committed again.
The location and size of the active log are set during initial configuration of a new
or upgraded server. You can also set these values by specifying the
ACTIVELOGDIRECTORY and the ACTIVELOGSIZE parameters of the DSMSERV FORMAT or
DSMSERV LOADFORMAT utilities. Both the location and size can be changed later. To
change the size of the active log, see “Increasing the size of the active log” on page
678. To change the location of the active log directory, see “Moving only the active
log, archive log, or archive failover log” on page 681.
Mirroring the active log can protect the database when a hardware failure occurs
on the device where the active log is stored. Mirroring the active log provides
another level of protection in addition to placing the active log on hardware that
has high-availability features. Creating a log mirror is optional but recommended.
Place the active log directory and the log mirror directory on different physical
devices. If you increase the size of the active log, the log mirror size is increased
automatically.
Mirroring the log can affect performance, because of the doubled I/O activity that
is required to maintain the mirror. The additional space that the log mirror requires
is another factor to consider.
You can create the log mirror during initial configuration of a new or upgraded
server. If you use the DSMSERV LOADFORMAT utility instead of the wizard to configure
the server, specify the MIRRORLOGDIRECTORY parameter. If the log mirror directory is
not created at that time, you can create it later by specifying the
MIRRORLOGDIRECTORY option in the server options file, [Link].
Archive log
The archive log contains copies of closed log files that had been in the active log.
The archive log is not needed for normal processing, but it is typically needed for
recovery of the database.
To provide roll-forward recovery of the database to the current point in time, all
logs since the last database backup must be available for the restore operation. The
archive log files are included in database backups and are used for roll-forward
recovery of the database to the current point-in-time. All logs since the last full
database backup must be available to the restore function. These log files are
stored in the archive log. The pruning of the archive log files is based on full
database backups. The archive log files that are included in a database backup are
automatically pruned after a full database backup cycle has been completed.
The archive log is not needed during normal processing, but it is typically needed
for recovery of the database. Archived log files are saved until they are included in
a full database backup. The amount of space for the archive log is not limited.
Archive log files are automatically deleted as part of the full backup processes and
must not be deleted manually. Monitor both the active and archive logs. If the
active log is close to filling, check the archive log. If the archive log is full or close
to full, run one or more full database backups.
If the file systems or drives where the archive log directory and the archive
failover log directory are located become full, the archived logs are stored in the
active log directory. Those archived logs are returned to the archive log directory
when the space problem is resolved, or when a full database backup is run.
Specifying an archive failover log directory can prevent problems that occur if the
archive log runs out of space. Place the archive log directory and the archive
failover log directory on different physical drives.
You can specify the location of the failover log directory during initial
configuration of a new or upgraded server. You can also specify its location with
the ARCHFAILOVERLOGDIRECTORY parameter of the DSMSERV FORMAT or DSMSERV
LOADFORMAT utility. If it is not created through the utilities, it can be created later by
specifying the ARCHFAILOVERLOGDIRECTORY option in the server options file,
[Link]. See “Adding optional logs after server initialization” on page 684 for
details.
For information about the space required for the log, see “Archive failover log
space” on page 669.
The active log files contain information about in-progress transactions. This
information is needed to restart the server and database after a disaster.
Transactions are stored in the log files of the active log, and a transaction can span
multiple log files.
When all transactions that are part of an active log file complete, that log file is
copied from the active log to the archive log. Transactions continue to be written to
the active log files while the completed active log files are copied to the archive
log. If a transaction spans all the active log files, and the files are filled before the
transaction is committed, the Tivoli Storage Manager server halts.
When an active log file is full, and there are no active transactions referring to it,
the file is copied to the archive log directory. An active log file cannot be deleted
until all transactions in the log file are either committed or discontinued.
If the archive log is full and there is no failover archive log, the log files remain in
the active log. If the active log then becomes full and there are in-progress
transactions, the Tivoli Storage Manager server halts. If there is an archive failover
log, it is used only if the archive log fills. It is important to monitor the archive log
directory to ensure that there is space in the active log.
When the database is backed up, the database manager deletes the archive log files
that are no longer needed for future database backups or restores.
The archive log is included in database backups and is used for roll-forward
recovery of the database. The archive log files that are included in a database
backup are automatically pruned after a full database backup cycle has completed.
Therefore, ensure that the archive log has enough space to store the log files for the
database backups.
The user data limit that is displayed when you issue the ulimit -d command is the
soft user data limit. It is not necessary to set the hard user data limit for DB2. The
default soft user data limit is 128 MB. This is equivalent to the value of 262,144
512-byte units as set in /etc/security/limits folder, or 131,072 KB units as
displayed by the ulimit -d command. This setting limits private memory usage to
about one half of what is available in the 256 MB private memory segment
available for a 32-bit process on AIX.
Note: A DB2 server instance cannot make use of the Large Address Space or of
very large address space AIX 32-bit memory models due to shared memory
requirements. On some systems, for example those requiring large amounts of sort
memory for performance, it is best to increase the user data limit to allow DB2 to
allocate more than 128 MB of memory in a single process.
You can set the user data memory limit to "unlimited" (a value of "-1"). This setting
is not recommended for 32-bit DB2 because it allows the data region to overwrite
the stack, which grows downward from the top of the 256 MB private memory
segment. The result would typically be to cause the database to end abnormally. It
is, however, an acceptable setting for 64-bit DB2 because the data region and stack
are allocated in separate areas of the very large address space available to 64-bit
AIX processes.
Disk space requirements for the server database and recovery log
The drives or file systems on which you locate the database and log directories are
important to the proper operation of your IBM Tivoli Storage Manager server.
Placing each database and recovery log directory on a separate disk provides the
best performance and the best disaster protection.
For the optimal database performance, choose the fastest and most reliable disks
that are configured for random access I/O, such as Redundant Array of
Independent Disks (RAID) hardware. The internal disks included by default in
To maintain database integrity, ensure that the storage hardware can withstand
failures such as power outages and controller failure. You can improve database
performance by using hardware that provides a fast, nonvolatile write cache for
both the database and logs. Put the database directories on fault tolerant storage
with high-availability features.
It is best to use multiple directories for the database, with four to eight directories
for a large Tivoli Storage Manager database. Locate each database directory on a
disk volume that uses separate physical disks from other database directories. The
Tivoli Storage Manager server database I/O workload is spread over all
directories, thus increasing the read and write I/O performance. Having many
small capacity physical disks is better than having a few large capacity physical
disks with the same rotation speed.
Locate the active log, mirror log, and archive log directories also on high-speed,
reliable disks. The failover archive log can be on slower disks, assuming that the
archive log is sufficiently large and that the failover log is used infrequently.
The access pattern for the active log is always sequential. Physical placement on
the disk is important. It is best to isolate the active log from the database and from
the disk storage pools. If they cannot be isolated, then place the active log with
storage pools and not with the database.
Enable read cache for the database and recovery log, and enable write cache if the
disk subsystems support it.
Restriction: You cannot use raw logical volumes for the database. To reuse space
on the disk where raw logical volumes were located for an earlier version of the
server, create file systems on the disk first.
Capacity planning
Capacity planning for Tivoli Storage Manager includes managing resources such as
the database and recovery log. To maximize resources as part of capacity planning,
you must estimate space requirements for the database and the recovery log.
Procedure
For information about the benefits of deduplication and guidance on how to make
effective use of the Tivoli Storage Manager deduplication feature, see Optimizing
Performance.
Consider using at least 25 GB for the initial database space. Provision file system
space appropriately. A database size of 25 GB is adequate for a test environment or
a library-manager-only environment. For a production server supporting client
workloads, the database size is expected to be larger. If you use random-access
disk (DISK) storage pools, more database and log storage space is needed than for
sequential-access storage pools.
Restriction: The guideline does not include space that is used during data
deduplication.
v 100 - 200 bytes for each cached file, copy storage pool file, active-data pool file,
and deduplicated file.
v Additional space is required for database optimization to support varying
data-access patterns and to support server back-end processing of the data. The
amount of extra space is equal to 50% of the estimate for the total number of
bytes for file objects.
In the following example for a single client, the calculations are based on the
maximum values in the preceding guidelines. The examples do not take into
account that you might use file aggregation. In general, when you aggregate small
files, it reduces the amount of required database space. File aggregation does not
affect space-managed files.
Procedure
1. Calculate the number of file versions. Add each of the following values to
obtain the number of file versions:
a. Calculate the number of backed-up files. For example, as many as 500,000
client files might be backed up at a time. In this example, storage policies
are set to keep up to three copies of backed up files:
500,000 files * 3 copies = 1,500,000 files
b. Calculate the number of archive files. For example, as many as 100,000
client files might be archived copies.
Results
Tip: In the preceding examples, the results are estimates. The actual size of the
database might differ from the estimate because of factors such as the number of
directories and the length of the path and file names. Periodically monitor your
database and adjust its size as necessary.
During normal operations, the Tivoli Storage Manager server might require
temporary database space. This space is needed for the following reasons:
v To hold the results of sorting or ordering that are not already being kept and
optimized in the database directly. The results are temporarily held in the
database for processing.
v To give administrative access to the database through one of the following
methods:
– A DB2 open database connectivity (ODBC) client
– An Oracle Java database connectivity (JDBC) client
– Structured Query Language (SQL) to the server from an administrative-client
command line
Consider using an extra 50 GB of temporary space for every 500 GB of space for
file objects and optimization. See the guidelines in the following table. In the
example that is used in the preceding step, a total of 1.7 TB of database space is
required for file objects and optimization for 500 clients. Based on that calculation,
200 GB is required for temporary space. The total amount of required database
space is 1.9 TB.
For example, expiration processing can use a large amount of database space. If
there is not enough system memory in the database to store the files identified for
expiration, some of the data is allocated to temporary disk space. During
expiration processing, if a node or file space is selected that is too large to process,
the database manager cannot sort the data.
To run database operations, consider adding more database space for the following
scenarios:
The database manager sorts data in a specific sequence, as per the SQL statement
that you issue to request the data. Depending on the workload on the server, and
if there is more data than the database manager can manage, the data (that is
ordered in sequence) is allocated to temporary disk space. Data is allocated to
temporary disk space when there is a large result set. The database manager
dynamically manages the memory used when data is allocated to temporary disk
space.
For example, expiration processing can produce a large result set. If there is not
enough system memory on the database to store the result set, some of the data is
allocated to temporary disk space. During expiration processing, if a node or file
space are selected that are too large to process, the database manager does not
have enough memory to sort the data.
To run database operations, consider adding more database space for the following
scenarios:
v The database has a small amount of space and the server operation that requires
temporary space uses the remaining free space.
v The file spaces are large, or the file spaces has a policy assigned to it which
creates many file versions.
v The Tivoli Storage Manager server must run with limited memory. The database
uses the Tivoli Storage Manager server main memory to run database
operations. However, if there is insufficient memory available, the Tivoli Storage
Manager server allocates temporary space on disk to the database. For example,
if 10G of memory is available and database operations require 12G of memory,
the database uses temporary space.
v An out of database space error is displayed when you deploy a Tivoli Storage
Manager V6 server. Monitor the server activity log for messages related to
database space.
Important: Do not change the DB2 software that is installed with the Tivoli
Storage Manager installation packages and fix packs. Do not install or upgrade to a
different version, release, or fix pack, of DB2 software to avoid damage to the
database.
In Tivoli Storage Manager servers V6.1 and later, the active log can be a maximum
size of 128 GB. The archive log size is limited to the size of the file system that it is
installed on.
Use the following general guidelines when you estimate the size of the active log:
v The suggested starting size for the active log is 16 GB.
v Ensure that the active log is at least large enough for the amount of concurrent
activity that the server typically handles. As a precaution, try to anticipate the
largest amount of work that the server manages at one time. Provision the active
log with extra space that can be used if needed. Consider using 20% of extra
space.
v Monitor used and available active log space. Adjust the size of the active log as
needed, depending upon factors such as client activity and the level of server
operations.
v Ensure that the directory that holds the active log is as large as, or larger than,
the size of the active log. A directory that is larger than the active log can
accommodate failovers, if they occur.
v Ensure that the file system that contains the active log directory has at least 8
GB of free space for temporary log movement requirements.
The archive log directory must be large enough to contain the log files that are
generated since the previous full backup. For example, if you perform a full
backup of the database every day, the archive log directory must be large enough
to hold the log files for all the client activity that occurs during 24 hours. To
recover space, the server deletes obsolete archive log files after a full backup of the
database. If the archive log directory becomes full and a directory for archive
failover logs does not exist, log files remain in the active log directory. This
condition can cause the active log directory to fill up and stop the server. When the
server restarts, some of the existing active-log space is released.
After the server is installed, you can monitor archive log utilization and the space
in the archive log directory. If the space in the archive log directory fills up, it can
cause the following problems:
v The server is unable to perform full database backups. Investigate and resolve
this problem.
v Other applications write to the archive log directory, exhausting the space that is
required by the archive log. Do not share archive log space with other
applications including other Tivoli Storage Manager servers. Ensure that each
server has a separate storage location that is owned and managed by that
specific server.
Example: Estimating active and archive log sizes for basic client-store
operations:
Basic client-store operations include backup, archive, and space management. Log
space must be sufficient to handle all store transactions that are in progress at one
time.
To determine the sizes of the active and archive logs for basic client-store
operations, use the following calculation:
number of clients x files stored during each transaction
x log space needed for each file
3.5 + 16 = 19.5 GB
3.5 x 3 = 10.5 GB
10.5 + 48 = 58.5 GB
1
The example values in this table are used only to illustrate how the sizes for active logs and archive logs are
calculated. In a production environment that does not use deduplication, 16 GB is the suggested minimum size for
an active log. The suggested minimum size for an archive log in a production environment that does not use
deduplication is 48 GB. If you substitute values from your environment and the results are larger than 16 GB and 48
GB, use your results to size the active log and archive log.
Example: Estimating active and archive log sizes for clients that use multiple
sessions:
If the client option RESOURCEUTILIZATION is set to a value that is greater than the
default, the concurrent workload for the server increases.
To determine the sizes of the active and archive logs when clients use multiple
sessions, use the following calculation:
number of clients x sessions for each client x files stored
during each transaction x log space needed for each file
10.5 + 16 = 26.5 GB
35 + 16 = 51 GB
1 1
Archive log: Suggested size 79.5 GB 153 GB Because of the requirement to be able to store archive logs
across three server-database backup cycles, the estimate for
the active log is multiplied by 3:
10.5 x 3 = 31.5 GB
35 x 3 = 105 GB
31.5 + 48 = 79.5 GB
105 + 48 = 153 GB
1
The example values in this table are used only to illustrate how the sizes for active logs and archive logs are
calculated. In a production environment that does not use deduplication, 16 GB is the suggested minimum size for
an active log. The suggested minimum size for an archive log in a production environment that does not use
deduplication is 48 GB. If you substitute values from your environment and the results are larger than 16 GB and 48
GB, use your results to size the active log and archive log.
If client backup operations use storage pools that are configured for simultaneous
write, the amount of log space that is required for each file increases.
The log space that is required for each file increases by about 200 bytes for each
copy storage pool that is used for a simultaneous write operation. In the example
in the following table, data is stored to two copy storage pools in addition to a
primary storage pool. The estimated log size increases by 400 bytes for each file. If
you use the suggested value of 3053 bytes of log space for each file, the total
number of required bytes is 3453.
4 + 16 = 20 GB
1
Archive log: Suggested size 60 GB Because of the requirement to be able to store archive logs
across three server database-backup cycles, multiply the
estimate for the active log by 3 to estimate the archive log
requirement:
4 GB x 3 = 12 GB
12 + 48 = 60 GB
Example: Estimating active and archive log sizes for basic client store operations
and server operations:
For example, migration of files from the random-access (DISK) storage pool to a
sequential-access disk (FILE) storage pool uses approximately 110 bytes of log
space for each file that is migrated. For example, suppose that you have 300
backup-archive clients and each one of them backs up 100,000 files every night.
The files are initially stored on DISK and then migrated to a FILE storage pool. To
estimate the amount of active log space that is required for the data migration, use
the following calculation. The number of clients in the calculation represents the
maximum number of client nodes that back up, archive, or migrate files
concurrently at any time.
300 clients x 100,000 files for each client x 110 bytes = 3.1 GB
Add this value to the estimate for the size of the active log that calculated for basic
client store operations.
Example: Estimating active and archive log sizes under conditions of extreme
variation:
Problems with running out of active log space can occur if you have many
transactions that complete quickly and some transactions that take much longer to
complete. A typical case occurs when many workstation or file-server backup
sessions are active and a few very large database server-backup sessions are active.
If this situation applies to your environment, you might need to increase the size
of the active log so that the work completes successfully.
The Tivoli Storage Manager server deletes unnecessary files from the archive log
only when a full database backup occurs. Consequently, when you estimate the
space that is required for the archive log, you must also consider the frequency of
full database backups.
For example, if a full database backup occurs once a week, the archive log space
must be able to contain the information in the archive log for a full week.
The difference in archive log size for daily and full database backups is shown in
the example in the following table.
Table 55. Full database backups
Example
Item values Description
Maximum number of client nodes 300 The number of client nodes that back up, archive, or migrate
that back up, archive, or migrate files files every night.
concurrently at any time
Files stored during each transaction 4096 The default value of the server option TXNGROUPMAX is 4096.
Log space that is required for each 3453 bytes 3053 bytes for each file plus 200 bytes for each copy storage
file pool.
4 + 16 = 20 GB
1
Archive log: Suggested size with a 60 GB Because of the requirement to be able to store archive logs
full database backup every day across three backup cycles, multiply the estimate for the
active log by 3 to estimate the total archive log requirement:
4 GB x 3 = 12 GB
12 + 48 = 60 GB
(4 GB x 3 ) x 7 = 84 GB
84 + 48 = 132 GB
1
The example values in this table are used only to illustrate how the sizes for active logs and archive logs are
calculated. In a production environment that does not use deduplication, 16 GB is the suggested minimum size for
an active log. The suggested starting size for an archive log in a production environment that does not use
deduplication is 48 GB. If you substitute values from your environment and the results are larger than 16 GB and 48
GB, use your results to size the active log and archive log.
Example: Estimating active and archive log sizes for data deduplication
operations:
If you deduplicate data, you must consider its effects on space requirements for
active and archive logs.
The following factors affect requirements for active and archive log space:
The amount of deduplicated data
The effect of data deduplication on the active log and archive log space
depends on the percentage of data that is eligible for deduplication. If the
percentage of data that can be deduplicated is relatively high, more log
space is required.
The size and number of extents
Approximately 1,500 bytes of active log space are required for each extent
that is identified by a duplicate-identification process. For example, if
250,000 extents are identified by a duplicate-identification process, the
estimated size of the active log is 358 MB:
250,000 extents identified during each process x 1,500 bytes
for each extent = 358 MB
50 + 16 = 66 GB
63.8 + 16 = 79.8 GB
1 1
Archive log: 198 GB 239.4 GB Multiply the estimated size of the active log by a factor of 3.
Suggested size
The following calculation was used for multiple transactions
and an 800 GB object:
50 GB x 3 = 150 GB
150 + 48 = 198 GB
63.8 GB x 3 = 191.4 GB
191.4 + 48 = 239.4 GB
55.6 + 16 = 71.6 GB
93.4 + 16 = 109.4 GB
1 1
Archive log: 214.8 GB 328.2 GB The estimated size of the active log multiplied by a factor of
Suggested size 3.
55.6 GB x 3 = 166.8 GB
166.8 + 48 = 214.8 GB
280.2 + 48 = 328.2 GB
1
The example values in this table are used only to illustrate how the sizes for active logs and archive logs are
calculated. In a production environment that uses deduplication, 32 GB is the suggested minimum size for an active
log. The suggested minimum size for an archive log in a production environment that uses deduplication is 96 GB.
If you substitute values from your environment and the results are larger than 32 GB and 96 GB, use your results to
size the active log and archive log.
Clustering indexes are prone to filling up the index pages, causing index splits and
merges that must also be logged. A number of the tables implemented by the
server have more than one index. A table that has four indexes would require 16
index log records for each row that is moved for the reorganization.
The server monitors characteristics of the database, the active log, and the archive
log to determine if a database backup is needed. For example, during an online
table reorganization, if the file system for the archive log space begins to fill up,
the server triggers a database backup. When a database backup is started, any
online table reorganization in progress is paused so that the database backup can
operate without contending for resources with the reorganization.
Creating a log mirror is a suggested option. If you increase the size of the active
log, the log mirror size is increased automatically. Mirroring the log can affect
performance because of the doubled I/O activity that is required to maintain the
mirror. The additional space that the log mirror requires is another factor to
consider when deciding whether to create a log mirror.
If the mirror log directory becomes full, the server issues error messages to the
activity log and to the [Link]. Server activity continues.
Specifying an archive failover log directory is optional, but it can prevent problems
that occur if the archive log runs out of space. If both the archive log directory and
the drive or file system where the archive failover log directory is located become
full, the data remains in the active log directory. This condition can cause the
active log to fill up, which causes the server to halt. If you use an archive failover
log directory, place the archive log directory and the archive failover log directory
on different physical drives.
Important: Maintain adequate space for the archive log directory, and consider
using an archive failover log directory. For example, suppose the drive or file
system where the archive log directory is located becomes full and the archive
failover log directory does not exist or is full. If this situation occurs, the log files
that are ready to be moved to the archive log remain in the active log directory. If
the active log becomes full, the server stops.
By monitoring the usage of the archive failover log, you can determine whether
additional space is needed for the archive log. The goal is to minimize the need to
use the archive failover log by ensuring that the archive log has adequate space.
The locations of the archive log and the archive failover log are set during initial
configuration. If you use the DSMSERV LOADFORMAT utility instead of the wizard to
configure the server, you specify the ARCHLOGDIRECTORY parameter for the archive
log directory. In addition, you specify the ARCHFAILOVERLOGDIRECTORY parameter for
the archive failover log directory. If the archive failover log is not created at initial
configuration, you can create it by specifying the ARCHFAILOVERLOGDIRECTORY option
in the server options file.
Active log
If the amount of available active log space is too low, the following messages are
displayed in the activity log:
ANR4531I: IC_AUTOBACKUP_LOG_USED_SINCE_LAST_BACKUP_TRIGGER
This message is displayed when the active log space exceeds the maximum
specified size. The Tivoli Storage Manager server starts a full database
backup.
To change the maximum log size, halt the server. Open the [Link]
file, and specify a new value for the ACTIVELOGSIZE option. When you are
finished, restart the server.
ANR0297I: IC_BACKUP_NEEDED_LOG_USED_SINCE_LAST_BACKUP
This message is displayed when the active log space exceeds the maximum
specified size. You must back up the database manually.
Archive log
If the amount of available archive log space is too low, the following message is
displayed in the activity log:
ANR0299I: IC_BACKUP_NEEDED_ARCHLOG_USED
The ratio of used archive-log space to available archive-log space exceeds
the log utilization threshold. The Tivoli Storage Manager server starts a full
automatic database backup.
Database
If the amount of space available for database activities is too low, the following
messages are displayed in the activity log:
ANR2992W: IC_LOG_FILE_SYSTEM_UTILIZATION_WARNING_2
The used database space exceeds the threshold for database space
utilization. To increase the space for the database, use the EXTEND DBSPACE
command, the EXTEND DBSPACE command, or the DSMSERV FORMAT
utility with the DBDIR parameter.
ANR1546W: FILESYSTEM_DBPATH_LESS_1GB
The available space in the directory where the server database files are
located is less than 1 GB.
When a Tivoli Storage Manager server is created with the DSMSERV
FORMAT utility or with the configuration wizard, a server database and
recovery log are also created. In addition, files are created to hold database
information used by the database manager. The path specified in this
message indicates the location of the database information used by the
database manager. If space is unavailable in the path, the server can no
longer function.
You must add space to the file system or make space available on the file
system or disk.
You can monitor the database and recovery log space whether the server is online
or offline.
Procedure
v When the Tivoli Storage Manager server is online, you can issue the QUERY
DBSPACE command to view the total space, used space, and free space for the file
systems or drives where your database located. To view the same information
when the server is offline, issue the DSMSERV DISPLAY DBSPACE command. The
following example shows the output of this command:
Location: d:\tsm\db001
Total Space (MB): 46,080.00
Used Space (MB): 20,993.12
Free Space (MB): 25,086.88
Location: e:\tsm\db002
Total Space (MB): 46,080.00
Used Space (MB): 20,992.15
Free Space (MB): 25,087.85
Location: f:\tsm\db003
Total Space (MB): 46,080.00
Used Space (MB): 20,993.16
Free Space (MB): 25,086.84
Location: g:\tsm\db004
Total Space (MB): 46,080.00
Used Space (MB): 20,992.51
Free Space (MB): 25,087.49
v To view more detailed information about the database when the server is online,
issue the QUERY DB command. The following example shows the output of this
command if you specify FORMAT=DETAILED:
Database Name: TSMDB1
Total Size of File System (MB): 184,320
Space Used by Database (MB): 83,936
Free Space Available (MB): 100,349
Total Pages: 6,139,995
Usable Pages: 6,139,451
Used Pages: 6,135,323
Free Pages: 4,128
Buffer Pool Hit Ratio: 100.0
Total Buffer Requests: 97,694,823,985
Sort Overflows: 0
Package Cache Hit Ratio: 100.0
Last Database Reorganization: 06/25/2009 [Link]
Full Device Class Name: LTO1_CLASS
Incrementals Since Last Full: 0
Last Complete Backup Date/Time: 06/06/2009 [Link]
v When the Tivoli Storage Manager server is online, issue the QUERY LOG
FORMAT=DETAILED command to display the total space, used space, and free space
for the active log, and the locations of all the logs. To display the same
information when the Tivoli Storage Manager server is offline, issue the DSMSERV
DISPLAY LOG command. The following example shows the output of this
command:
v You can view information about the database on the server console and in the
activity log. You can set the level of database information by using the SET
DBREPORTMODE command. Specify that no diagnostic information is displayed
(NONE), that all diagnostic information is displayed (FULL), or that the only
events that are displayed are those that are exceptions and might represent
errors (PARTIAL). The default is PARTIAL.
The Tivoli Storage Manager server can use all of the space that is available to the
drives or file systems where the database directories are located. To ensure that
database space is always available, monitor the space in use by the server and the
file systems where the directories are located.
Use the QUERY DBSPACE command to display the number of free pages in the table
space and the free space that is available to the database. If the number of free
pages is low and there is plenty of free space available, the database allocates more
space. However, if free space in drives or file systems is low, it might not be
possible to expand the database.
You must format the database with Tivoli Storage Manager V6.2 server or later. If
you are using a Tivoli Storage Manager V6.1 server or earlier, you must manually
upgrade table spaces to the DB2 9.7 version of table spaces. The instructions for
manually upgrading the table spaces Tivoli Storage Manager V6.1 server and
earlier is different for each version level. Contact IBM Software Support for the
instructions for your version of Tivoli Storage Manager.
If you want to increase space for the database, you can create new directories and
add them by using the EXTEND DBSPACE command. You can also use the DSMSERV
EXTEND DBSPACE utility when the server is offline. When you issue these commands
with the default parameter values, data is redistributed across the new database
directories and storage space in the old directories is reclaimed. This action makes
the new directories available for use immediately and parallel I/O performance is
improved.
To redistribute data to new directories, the storage paths must be able to host the
directories and data. Make sure that sufficient disk space is available for the
operation. New directories must be empty.
For example, assume that your table space has four directories over two existing
storage paths (two directories per path), and you add another storage path to the
The following image shows the example table space before and after data is
redistributed.
directories directories
directories directories
new directories
new
storage path
If you do not want to redistribute data at the same time that you add directories,
you can set the RECLAIMSTORAGE parameter in the EXTEND DBSPACE command to No.
You can perform the tasks to redistribute data and reclaim space after the database
size is increased, but the steps must be done manually.
Procedure
Example
Windows: For example, to add a directory and a drive to the storage space for the
database and then redistribute data and reclaim space, issue the following
command:
extend dbspace h:\tsmdb005,I:
To increase the size of the database without redistributing data and reclaiming
space, issue the following command:
extend dbspace h:\tsmdb005,I: reclaim=no
Procedure
Complete the following steps to redistribute data and then reclaim space for each
table space. For the best performance, rebalance a table space and then reduce the
size for that table space. While the size for the first table space is being reduced,
you can start rebalancing on the second table space, and so on.
You only need to redistribute data on Database Managed Space (DMS) table
spaces. The following example output shows where the table space type is
identified:
Tablespaces for Current Database
Tablespace ID = 0
Name = SYSCATSPACE
Type = Database managed space <---DMS table space.
Contents = All permanent data. Regular table space.
State = 0x0000
Detailed explanation:
Normal
3. Use the list that you obtained in Step 2 to identify each DMS table space. For
each DMS table space, issue the following command to start redistribution of
data for the first DMS space:
db2 alter tablespace tablespace_name rebalance
4. Monitor the data redistribution progress by issuing the following command:
db2list utilities show detail
The value in the Completed Work field should increase as the redistribution
progresses. The db2diag log also records status about the process, including
start and complete time and what percentage of the process is complete at a
certain time.
5. After the redistribution process is completed, reduce the size for each table
space. During and after the operation, table spaces have a much larger total
size because directories are added. Issue the following command:
db2 alter tablespace tablespace_name reduce max
Procedure
1. Create a file that contains a list of directories that represent the new directories.
For example, [Link].
2. Run a full database backup by issuing the following command:
backup db devclass=tapeclass type=full
3. Halt the server.
4. Remove the database instance by issuing the following command:
dsmserv removedb TSMDB1
5. Restore the database specifying the file that contains the directories to be used.
For example, you can issue the following command:
dsmserv restore db todate=today on=[Link]
6. Restart the server.
Reorganization of table data can be initiated by the Tivoli Storage Manager server
or by DB2. If server-initiated reorganization is enabled. The server analyzes
selected database tables and indexes based on table activity, and determines when
reorganization is required. The database manager runs a reorganization while
server operations continue. If reorganization by DB2 is enabled, DB2 controls the
reorganization process. Reorganization by DB2 is not recommended.
The best time to start a reorganization is when server activity is low and when
access to the database is optimal. Schedule table reorganization for databases on
servers that are not running deduplication. Schedule table and index
reorganization on servers that are running deduplication.
Important: Ensure that the system on which the Tivoli Storage Manager server is
running has sufficient memory and processor resources. To assess how busy the
system is over time, use operating system tools to assess the load on the system.
You can also review the [Link] file and the server activity log. If the system
does not have sufficient resources, reorganization processing might be incomplete,
or it might degrade or destabilize the system.
Table reorganization
Index reorganization
Procedure
Results
If you set only the REORGBEGINTIME option, reorganization is enabled for an entire
day. If you do not specify the REORGBEGINTIME option, but you specify a value for
the REORGDURATION option, the reorganization interval starts at 6:00 a.m. and runs
for the specified number of hours.
Procedure
To increase the size of the active log while the server is halted, complete the
following steps:
1. Issue the DSMSERV DISPLAY LOG offline utility to display the size of the active
log.
2. Ensure that the location for the active log has enough space for the increased
log size. If a log mirror exists, its location must also have enough space for the
increased log size.
3. Halt the server.
4. In the [Link] file, update the ACTIVELOGSIZE option to the new maximum
size of the active log, in megabytes. For example, to change the active log to its
maximum size of 128 GB, enter the following server option:
activelogsize 131072
Results
Log files of 512 MB are automatically defined until the size specified in the
ACTIVELOGSIZE option is reached. If a log mirror exists, log files are also defined
automatically.
Procedure
If you have too much active log space, you can reduce the size of the active log by
completing the following steps:
1. Stop the Tivoli Storage Manager server.
2. In the [Link] file, change the ACTIVELOGSIZE option to the new size of the
active log, in megabytes. For example, to reduce the active log by 8 GB, enter
the following server option:
dsmserv activelogsize 8000
3. Restart the server.
Results
When you reduce the size of the active log, you must restart the Tivoli Storage
Manager server twice. The first restart changes the DB2 parameters. The second
restart removes the log files that are no longer required on the disk.
You might want to move the database and logs to take advantage of a larger or
faster disk. You have the following options:
v “Moving both the database and recovery log” on page 680
v “Moving only the database” on page 680
v “Moving only the active log, archive log, or archive failover log” on page 681
For information about moving a Tivoli Storage Manager server to another machine,
see “Moving the Tivoli Storage Manager server to another system” on page 608
Procedure
1. Back up the database by issuing the following command:
backup db type=full devclass=files
2. Halt the server.
3. Create directories for the database, active logs, and archive logs. The directories
must be accessible to the user ID of the database manager. For example:
mkdir l:\tsm\db005
mkdir m:\tsm\db006
mkdir n:\tsm\db007
mkdir o:\tsm\db008
mkdir p:\tsm\activelog
mkdir q:\tsm\archivelog
4. Create a file that lists the locations of the database directories. This file is used
if the database must be restored. Enter each location on a separate line. For
example, these are the contents of the [Link] file:
l:\tsm\db005
m:\tsm\db006
n:\tsm\db007
o:\tsm\db008
5. Remove the database instance by issuing the following command:
dsmserv removedb TSMDB1
6. Issue the DSMSERV RESTORE DB utility to move the database and create the new
active log. For example:
dsmserv restore db todate=today on=[Link]
activelogdir=p:\tsm\activelog
7. Restart the server.
8. Move the archive logs from the old directory to the new directory. Ensure that
you preserve any subdirectory structure. Use and verify a recursive copy
directory command:
xcopy /s k:\tsm\archivelog\* q:\tsm\archivelog
Procedure
To move the database from one location on the server to another location, follow
this procedure:
1. Back up the database by issuing the following command:
backup db type=full devclass=files
2. Halt the server.
3. Create directories for the database. The directories must be accessible to the
user ID of the database manager. For example:
mkdir l:\tsm\db005
mkdir m:\tsm\db006
mkdir n:\tsm\db007
mkdir o:\tsm\db008
Moving only the active log, archive log, or archive failover log
You can move only the active log, archive log, or archive failover log from one
directory to another. You can move the logs as part of performance tuning,
replacing a hard disk drive, or changing to a file system with more space.
Procedure
1. Stop the server.
2. Create a directory by using the following commands for the log that you want
to move.
Table 58. Commands for new directories
Log name Command
Active log mkdir p:\tsm\activelog
Archive log mkdir q:\tsm\archivelog
Archive failover mkdir e:\tsmserver1\archfaillog2
log
3. Update the [Link] option file for the new directory by using one of the
following commands.
Table 59. Server option example to update the [Link] option file
Log name Server option example
Active log activelogdirectory p:\tsm\activelog
Archive log archlogdirectory q:\tsm\archivelog
Archive failover archfailoverlogdirectory
log e:\tsmserver1\archfaillog2
Procedure
To specify alternative locations for the database log files, complete the following
steps:
1. To specify the location of subdirectories RstDbLog and failarch, use the
ARCHFAILOVERLOGDIRECTORY server option. The Tivoli Storage Manager server
creates the RstDbLog and failarch subdirectories in the directory that is
specified by the server option.
Restriction: If you do not specify the location of the subdirectories, the Tivoli
Storage Manager server automatically creates the two subdirectories under the
archive log directory
If the archive log directory becomes full, it can limit the amount of space that is
available for archived log files. If you must use the archive log directory, you
can increase its size to accommodate both the RstDbLog and failarch
directories.
2. Use a file system that is different from the file system that is specified by the
ACTIVELOGDIRECTORY and ARCHLOGDIRECTORY parameters.
Tip: If you do not set the ARCHFAILOVERLOGDIRECTORY option, the Tivoli Storage
Manager server creates the RstDbLog and failarch subdirectories automatically
in the directory that is specified for the ARCHLOGDIRECTORY parameter on the
DSMSERV FORMAT or DSMSERV LOADFORMAT command. You must specify the
ARCHLOGDIRECTORY parameter for these commands.
3. For a database restore operation, you can specify the location of the RstDbLog
subdirectory, but not the failarch subdirectory, by using the RECOVERYDIR
parameter on the DSMSERV RESTORE DB command. Consider allocating a
relatively large amount of temporary disk space for the restore operation.
Because database restore operations occur relatively infrequently, the RstDbLog
subdirectory can contain many logs from backup volumes that are stored in
preparation for pending roll-forward-restore processing.
The server also updates the DB2 parameter OVERFLOWLOGPATH that points to the
RstDbLog subdirectory and the DB2 parameter FAILARCHPATH, that points to the
failarch subdirectory. For details about these parameters, see the DB2 information
center at [Link]
For example, suppose that you specify archlogfailover as the value of the
ARCHFAILOVERLOGDIRECTORY parameter on the DSMSERV FORMAT command:
dsmserv format
dbdir=a:\db001
activelogdirectory=b:\activelog
archlogdirectory=c:\archlog
archfailoverlogdirectory=d:\archlogfailover
The server creates the subdirectories RstDbLog and failarch in the parent directory
archlogfailover. The server also updates the following DB2 parameters:
OVERFLOWLOGPATH=d:\archlogfailover\RstDbLog
FAILARCHPATH=d:\archlogfailover\failarch
The server also updates the value of the ARCHFAILOVERLOGDIRECTORY option in the
server options file, [Link]:
ARCHFAILOVERLOGDIRECTORY d:\archlogfailover
For details about these parameters, see the DB2 Information Center at
[Link]
For example, suppose that you specify a value of archlog for the ARCHLOGDIRECTORY
parameter in a DSMSERV FORMAT command. You do not specify the
ARCHFAILOVERLOGDIRECTORY parameter:
dsmserv format
dbdir=a:\db001
activelogdirectory=b:\activelog
archlogdirectory=c:\archlog
The Tivoli Storage Manager server creates the subdirectories RstDbLog and
failarch under the archlog parent directory. The server also updates the following
DB2 parameters:
The server also updates the value of the ARCHLOGDIRECTORY option in the server
options file, [Link]:
ARCHLOGDIRECTORY c:\archlog
The server also updates the DB2 parameter, OVERFLOWLOGPATH, that points to
RstDbLog. For details about this parameter, see the DB2 Information Center at
[Link]
For example, for a point-in-time database restore, you can issue the following
command:
dsmserv restore db
todate=5/12/2011
totime=14:45
recoverydir=e:\recovery
The server creates the RstDbLog subdirectory in the parent recovery directory. The
server also updates the OVERFLOWLOGPATH parameter:
OVERFLOWLOGPATH=e:\recovery\RstDbLog
After the database is restored, the RstDbLog subdirectory reverts to its location as
specified by the server option ARCHFAILOVERLOGDIRECTORY or ARCHLOGDIRECTORY in
the server options file, [Link].
Procedure
Transaction processing
A transaction is the unit of work exchanged between the client and server.
The log records for a given transaction are moved into stable storage when the
transaction is committed. The database information that is stored on disk remains
consistent because the server ensures that the recovery log records, which represent
the updates to these database pages, are written to disk.
During restart-recovery, the server uses the active and archive log information to
maintain the consistency of the server by redoing and, if necessary, undoing
ongoing transactions from the time that the server was halted. The transaction is
then committed to the database.
Transaction commit is a function of all the log records for that transaction being
written to the recovery log. This function ensures that the necessary redo and undo
information is available to replay these transaction changes against the database
information.
If you increase the value of TXNGROUPMAX by a large amount, monitor the effects on
the recovery log. A larger value for the TXNGROUPMAX option can have the following
impact:
v Affect the performance of client backup, archive, restore, and retrieve operations.
v Increase utilization of the recovery log, as well as increase the length of time for
a transaction to commit.
Also consider the number of concurrent sessions to be run. It might be possible to
run with a higher TXNGROUPMAX value with a few clients running. However, if there
are hundreds of clients running concurrently, you might need to reduce the
TXNGROUPMAX to help manage the recovery log usage and support this number of
concurrent clients. If the performance effects are severe, they might affect server
operations. See “Monitoring the database and recovery log” on page 671 for more
information.
The following examples show how the TXNGROUPMAX option can affect performance
throughput for operations to tape and the recovery log.
v The TXNGROUPMAX option is set to 20. The MAXSESSIONS option, which specifies the
maximum number of concurrent client/server sessions, is set to 5. Five
concurrent sessions are processing, and each file in the transaction requires 10
logged database operations. This would be a concurrent load of:
20*10*5=1000
This represents 100 000 log records in the recovery log. Each time a transaction
commits the data, the server can free 20 000 log records.
Remember: Over time and as transactions end, the recovery log can release the
space that is used by the oldest transactions. These transactions complete, and the
log space usage increases.
You can use several server options to tune server performance and reduce the risk
of running out of recovery log space:
v Use the THROUGHPUTTIMETHRESHOLD and THROUGHPUTDATATHRESHOLD options with
the TXNGROUPMAX option to prevent a slower performing node from holding a
transaction open for extended periods.
v Increase the size of the recovery log when you increase the TXNGROUPMAX setting.
Evaluate the performance and characteristics of each node before increasing the
TXNGROUPMAX setting. Nodes that have only a few larger objects to transfer do not
benefit as much as nodes that have multiple, smaller objects to transfer. For
example, a file server benefits more from a higher TXNGROUPMAX setting than does a
database server that has one or two large objects. Other node operations can
consume the recovery log at a faster rate. Be careful when increasing the
TXNGROUPMAX settings for nodes that often perform high log-usage operations. The
raw or physical performance of the disk drives that are holding the database and
recovery log can become an issue with an increased TXNGROUPMAX setting. The
drives must handle higher transfer rates to handle the increased load on the
recovery log and database.
You can set the TXNGROUPMAX option as a global server option value, or you can set
it for a single node. For optimal performance, specify a lower TXNGROUPMAX value
(between 4 and 512). Select higher values for individual nodes that can benefit
from the increased transaction size.
Refer to the REGISTER NODE command and the server options in the Administrator's
Reference.
686 IBM Tivoli Storage Manager for Windows: Administrator's Guide
Chapter 21. Managing a network of Tivoli Storage Manager
servers
You might have several Tivoli Storage Manager servers in your network, at the
same or different locations. Tivoli Storage Manager provides functions to help you
configure, manage, and monitor the servers connected to a network.
An administrator working at one Tivoli Storage Manager server can work with
Tivoli Storage Manager servers at other locations around the world.
Concepts:
“Concepts for managing server networks”
“Enterprise configuration” on page 688
Tasks:
“Setting up communications among servers” on page 692
“Setting up communications for enterprise configuration and enterprise event logging” on
page 692
“Setting up communications for command routing with multiple source servers” on page
697
“Completing tasks on multiple servers” on page 725
“Using virtual volumes to store data on another server” on page 732
To manage a network of servers, you can use the following Tivoli Storage Manager
capabilities:
v Configure and manage multiple servers with enterprise configuration.
Distribute a consistent configuration for Tivoli Storage Manager servers through
a configuration manager to managed servers. By having consistent
configurations, you can simplify the management of a large number of servers
and clients.
v Perform tasks on multiple servers by using command routing, enterprise logon,
and enterprise console.
v Send server and client events to another server for logging.
v Monitor many servers and clients from a single server.
v Store data on another server by using virtual volumes.
For details, see “Licensing IBM Tivoli Storage Manager” on page 595.
Enterprise configuration
The Tivoli Storage Manager enterprise configuration functions make it easier to
consistently set up and manage a network of Tivoli Storage Manager servers. You
can set up configurations on one server and distribute the configurations to other
servers. You can make changes to configurations and have the changes
automatically distributed.
On each server that is to receive the configuration information, identify the server
as a managed server by defining a subscription to one or more profiles owned by the
configuration manager. All the definitions associated with the profiles are then
copied into the managed server's database. Things defined to the managed server
in this way are managed objects that cannot be changed by the managed server.
From then on, the managed server gets any changes to the managed objects from
the configuration manager via the profiles. Managed servers receive changes to
configuration information at time intervals set by the servers, or by command.
Configuration Administrators
Manager Profiles
Schedules
Scripts
Subscriptions to profiles
Managed
servers
Managed
objects
Command routing
Use the command-line interface to route commands to other servers.
The other servers must be defined to the server to which you are connected. You
must also be registered on the other servers as an administrator with the
administrative authority that is required for the command. To make routing
commands easier, you can define a server group that has servers as members.
Commands that you route to a server group are sent to all servers in the group.
For details, see “Setting up server groups” on page 728 and “Routing commands”
on page 726.
The following methods are ways in which you can centrally monitor activities:
v Enterprise event logging, in which events are sent from one or more of servers
to be logged at an event server.
For a description of the function, see “Enterprise event logging: logging events
to another server” on page 820. For information about communications setup,
see “Setting up communications for enterprise configuration and enterprise
event logging” on page 692.
v Use the Operations Center to view server status and alerts. See Chapter 17,
“Managing the storage environment with the Operations Center,” on page 587
for more information.
v Allowing designated administrators to log in to any of the servers in the
network with a single user ID and password.
The data can also be a recovery plan file created by using disaster recovery
manager (DRM). The source server is a client of the target server, and the data for
the source server is managed only by the source server. In other words, the source
server controls the expiration and deletion of the files that comprise the virtual
volumes on the target server.
To use virtual volumes to store database and storage pool backups and recovery
plan files, you must have the disaster recovery manager function. For details, see
“Licensing IBM Tivoli Storage Manager” on page 595.
For information about using virtual volumes with DRM, see Chapter 32, “Disaster
recovery manager,” on page 1005.
Here are two scenarios to give you some ideas about how you can use the
functions:
v Setting up and managing Tivoli Storage Manager servers primarily from one
location. For example, an administrator at one location controls and monitors
servers at several locations.
v Setting up a group of Tivoli Storage Manager servers from one location, and
then managing the servers from any of the servers. For example, several
administrators are responsible for maintaining a group of servers. One
administrator defines the configuration information on one server for
distributing to servers in the network. Administrators on the individual servers
in the network manage and monitor the servers.
For example, suppose that you are an administrator who is responsible for Tivoli
Storage Manager servers at your own location, plus servers at branch office
locations. Servers at each location have similar storage resources and client
requirements. You can set up the environment as follows:
v Set up an existing or new Tivoli Storage Manager server as a configuration
manager.
After you complete the setup, you can manage many servers as if there was just
one. You can perform any of the following tasks:
v Have administrators that can manage the group of servers from anywhere in the
network by using the enterprise console, an interface available through a Web
browser.
v Have consistent policies, schedules, and client option sets on all servers.
v Make changes to configurations and have the changes automatically distributed
to all servers. Allow local administrators to monitor and tune their own servers.
v Perform tasks on any server or all servers by using command routing from the
enterprise console.
v Back up the databases of the managed servers on the automated tape library
that is attached to the server that is the configuration manager. You use virtual
volumes to accomplish this.
v Log on to individual servers from the enterprise console without having to
re-enter your password, if your administrator ID and password are the same on
each server.
For example, suppose that you are an administrator responsible for servers located
in different departments on a college campus. The servers have some requirements
in common, but also have many unique client requirements. You can set up the
environment as follows:
v Set up an existing or new Tivoli Storage Manager server as a configuration
manager.
v Set up communications so that commands can be sent from any server to any
other server.
v Define any configuration that you want to distribute by defining policy
domains, schedules, and so on, on the configuration manager. Associate the
configuration information with profiles.
v Have the managed servers subscribe to profiles as needed.
v Activate policies and set up storage pools as needed on the managed servers.
v Set up enterprise monitoring by setting up one server as an event server. The
event server can be the same server as the configuration manager or a different
server.
After setting up in this way, you can manage the servers from any server. You can
do any of the following tasks:
v Use enterprise console to monitor all the servers in your network.
Enterprise-administration planning
To take full advantage of the functions of enterprise administration, you should
decide on the servers you want to include in the enterprise network, the server
from which you want to manage the network, and other important issues.
The examples shown here apply to both functions. If you are set up for one, you
are set up for the other. However, be aware that the configuration manager and
event server are not defined simply by setting up communications. You must
identify a server as a configuration manager (SET CONFIGMANAGER command)
or an event server (DEFINE EVENTSERVER command). Furthermore, a
configuration manager and an event server can be the same server or different
servers.
Procedure
1. On MUNICH: Specify the server name and password of MUNICH.
On STRASBOURG: Specify the server name and password of STRASBOURG.
On HEADQUARTERS: Specify the server name and password of
HEADQUARTERS.
2. On HEADQUARTERS: Define MUNICH (whose password is BERYL and
whose address is [Link]:1919) and STRASBOURG (whose password is
FLUORITE and whose address is [Link]:1715).
On MUNICH and STRASBOURG: Define HEADQUARTERS (whose
password is AMETHYST and whose address is [Link]:1823).
Results
Figure 81 on page 694 shows the servers and the commands issued on each:
Munich Strasbourg
Figure 82 on page 695 shows the servers and the commands issued on each:
Munich Strasbourg
Note: Issuing the SET SERVERNAME command can affect scheduled backups
until a password is re-entered. Windows clients use the server name to identify
which passwords belong to which servers. Changing the server name after the
clients are connected forces the clients to re-enter the passwords. On a network
where clients connect to multiple servers, it is recommended that all of the servers
have unique names. See the Administrator's Reference for more details.
Communication security
Security for this communication configuration is enforced through the exchange of
passwords (which are encrypted) and, in the case of enterprise configuration only,
verification keys.
Communication among servers, which is through TCP/IP, requires that the servers
verify server passwords (and verification keys). For example, assume that
HEADQUARTERS begins a session with MUNICH:
1. HEADQUARTERS, the source server, identifies itself by sending its name to
MUNICH.
2. The two servers exchange verification keys (enterprise configuration only).
3. HEADQUARTERS sends its password to MUNICH, which verifies it against
the password stored in its database.
4. If MUNICH verifies the password, it sends its password to HEADQUARTERS,
which, in turn, performs password verification.
Note: You must be registered as an administrator with the same name and
password on the source server and all target servers. The privilege classes do not
need to be the same on all servers. However, to successfully route a command to
another server, an administrator must have the minimum required privilege class
for that command on the server from which the command is being issued.
For command routing in which one server will always be the sender, you would
only define the target servers to the source server. If commands can be routed from
any server to any other server, each server must be defined to all the others.
The example that is provided shows you how you can set up communications for
administrator HQ on the server HEADQUARTERS who routes commands to the
servers MUNICH and STRASBOURG. Administrator HQ has the password
SECRET and has system privilege class.
Procedure
The procedure for setting up communications for command routing with one
source server is shown in the following steps.
v On HEADQUARTERS, register administrator HQ and specify the server names
and addresses of MUNICH and STRASBOURG.
register admin hq secret
grant authority hq classes=system
Note: Command routing uses the ID and password of the Administrator. It does
not use the password or server password that is set in the server definition.
v On MUNICH and STRASBOURG, register administrator HQ with the specific
privilege class on each server.
register admin hq secret
grant authority hq classes=system
The examples provided below show you how to set up communications if the
administrator, HQ, can route commands from any of the three servers to any of the
other servers. You can separately define each server to each of the other servers, or
you can “cross define” the servers. In cross definition, defining MUNICH to
HEADQUARTERS also results in automatically defining HEADQUARTERS to
MUNICH.
When you are setting up communications for command routing, you can define
each server to each of the other servers.
Procedure
Results
Figure 83 on page 698 shows the servers and the commands that are issued on
each.
Munich Strasbourg
When you are setting up communications for command routing, you can
cross-define the other servers.
Procedure
Results
Note: If your server network is using enterprise configuration, you can automate
the preceding operations. You can distribute the administrator lists and server lists
to MUNICH and STRASBOURG. In addition, all server definitions and server
groups are distributed by default to a managed server when it first subscribes to
any profile on a configuration manager. Therefore, it receives all the server
definitions that exist on the configuration manager, thus enabling command
routing among the servers.
Figure 84 on page 700 shows the servers and the commands that are issued on
each.
Munich Strasbourg
You can update a server definition by issuing the UPDATE SERVER command.
v For server-to-server virtual volumes:
– If you update the node name, you must also update the password.
– If you update the password but not the node name, the node name defaults
to the server name specified by the SET SERVERNAME command.
v For enterprise configuration and enterprise event logging: If you update the
server password, it must match the password specified by the SET
SERVERPASSWORD command at the target server.
You can delete a server definition by issuing the DELETE SERVER command. For
example, to delete the server named NEWYORK, enter the following:
delete server newyork
The deleted server is also deleted from any server groups of which it is a member.
You cannot delete a server if any of the following conditions are true:
v The server is defined as an event server.
You must first issue the DELETE EVENTSERVER command.
v The server is a target server for virtual volumes.
A target server is named in a DEFINE DEVCLASS (DEVTYPE=SERVER)
command. You must first change the server name in the device class or delete
the device class.
v The server is named in a device class definition whose device type is SERVER.
v The server has paths defined to a file drive.
v The server has an open connection to or from another server.
You can find an open connection to a server by issuing the QUERY SESSION
command.
See “Setting up server groups” on page 728 for information about server groups.
Each managed server stores the distributed information as managed objects in its
database. Managed servers receive periodic updates of the configuration
information from the configuration manager, or an administrator can trigger an
update by command.
If you use an LDAP directory server to authenticate passwords, any target servers
must be configured for LDAP passwords. Data that is replicated from a node that
authenticates with an LDAP directory server is inaccessible if the target server is
not properly configured. If your target server is not configured, replicated data
from an LDAP node can still go there. But the target server must be configured to
use LDAP in order for you to access the data.
“Enterprise configuration scenario” gives you an overview of the steps to take for
one possible implementation of enterprise configuration. Sections that follow give
more details on each step. For details on the attributes that are distributed with
these objects, see “Associating configuration information with a profile” on page
707. After you set up server communication as described in “Setting up
communications for enterprise configuration and enterprise event logging” on page
692, you set up the configuration manager and its profiles.
Headquarters
Configuration Manager
Managed
servers
London Munich New York Santiago Delhi Tokyo
The following sections give you an overview of the steps to take to complete this
setup. For details on each step, see the section referenced.
Figure 86 illustrates the commands that you must issue to set up one Tivoli Storage
Manager server as a configuration manager. The following procedure gives you an
overview of the steps required to set up a server as a configuration manager.
Headquarters
set configmanager on
define profile
Configuration define profassocation
Manager
Procedure
1. Decide whether to use the existing Tivoli Storage Manager server in the
headquarters office as the configuration manager or to install a new Tivoli
Storage Manager server on a system.
2. Set up the communications among the servers.
3. Identify the server as a configuration manager.
Use the following command:
set configmanager on
This command automatically creates a profile named DEFAULT_PROFILE. The
default profile includes all the server and server group definitions on the
configuration manager. As you define new servers and server groups, they are
also associated with the default profile.
4. Create the configuration to distribute.
The tasks that might be involved include:
v Register administrators and grant authorities to those that you want to be
able to work with all the servers.
v Define policy objects and client schedules
v Define administrative schedules
v Define Tivoli Storage Manager server scripts
v Define client option sets
v Define servers
Note: You must set up the storage pool itself (and associated device class) on
each managed server, either locally or by using command routing. If a
managed server already has a storage pool associated with the automated
tape library, you can rename the pool to TAPEPOOL.
Example 4: You want to ensure that client data is consistently backed up and
managed on all servers. You want all clients to be able to store three backup
versions of their files. You can do the following:
v Verify or define client schedules in the policy domain so that clients are
backed up on a consistent schedule.
v In the policy domain that you will point to in the profile, update the backup
copy group so that three versions of backups are allowed.
v Define client option sets so that basic settings are consistent for clients as
they are added.
5. Define one or more profiles.
For example, you can define one profile named ALLOFFICES that points to all
the configuration information (policy domain, administrators, scripts, and so
on). You can also define profiles for each type of information, so that you have
one profile that points to policy domains, and another profile that points to
administrators, for example.
See “Setting up communications among servers” on page 692 for details. For
more information, see “Creating the default profile on a configuration
manager” on page 706. See “Defining a server group and members of a server
group” on page 729 for details. For details, see “Creating and changing
configuration profiles” on page 707.
Figure 87 shows the specific commands needed to set up one Tivoli Storage
Manager server as a managed server. The following procedure gives you an
overview of the steps required to set up a server as a managed server.
query profile
define subscription
set configrefresh
Managed
server
Munich
A server becomes a managed server when that server first subscribes to a profile
on a configuration manager.
Procedure
1. Query the server to look for potential conflicts.
Look for definitions of objects on the managed server that have the same name
as those defined on the configuration manager. With some exceptions, these
objects will be overwritten when the managed server first subscribes to the
profile on the configuration manager.
If the managed server is a new server and you have not defined anything, the
only objects you will find are the defaults (for example, the STANDARD policy
domain).
2. Subscribe to one or more profiles.
A managed server can only subscribe to profiles on one configuration manager.
If you receive error messages during the configuration refresh, such as a local
object that could not be replaced, resolve the conflict and refresh the
configuration again. You can either wait for the automatic refresh period to be
reached, or kick off a refresh by issuing the SET CONFIGREFRESH command,
setting or resetting the interval.
3. If the profile included policy domain information, activate a policy set in the
policy domain, add or move clients to the domain, and associate any required
schedules with the clients.
You may receive warning messages about storage pools that do not exist, but
that are needed for the active policy set. Define any storage pools needed by
the active policy set, or rename existing storage pools.
4. If the profile included administrative schedules, make the schedules active.
Administrative schedules are not active when they are distributed by a
configuration manager. The schedules do not run on the managed server until
you make them active on the managed server. See “Tailoring schedules” on
page 621.
Procedure
Results
After you define the profile and its associations, a managed server can subscribe to
the profile and obtain the configuration information.
After you define a profile and associate information with the profile, you can
change the information later. While you make changes, you can lock the profiles to
prevent managed servers from refreshing their configuration information. To
distribute the changed information that is associated with a profile, you can unlock
the profile, and either wait for each managed server to refresh its configuration to
get the changed information or notify each managed server to refresh its
configuration. The following sections provide information on each of these tasks.
Before you can associate specific configuration information with a profile, the
definitions must exist on the configuration manager. For example, to associate a
policy domain named ENGDOMAIN with a profile, you must have already
defined the ENGDOMAIN policy domain on the configuration manager.
Suppose you want the ALLOFFICES profile to distribute policy information from
the STANDARD and ENGDOMAIN policy domains on the configuration manager.
Enter the following command:
define profassociation alloffices domains=standard,engdomain
You can make the association more dynamic by specifying the special character, *
(asterisk), by itself. When you specify the *, you can associate all existing objects
with a profile without specifically naming them. If you later add more objects of
the same type, the new objects are automatically distributed via the profile. For
example, suppose that you want the ADMINISTRATORS profile to distribute all
administrators registered to the configuration manager. Enter the following
commands on the configuration manager:
define profile administrators
description=’Profile to distribute administrators IDs’
For administrator definitions that have node authority, the configuration manager
only distributes information such as password and contact information. Node
authority for the managed administrator can be controlled on the managed server
using the GRANT AUTHORITY and REVOKE AUTHORITY commands specifying
the CLASS=NODE parameter.
A subscribing managed server may already have a policy domain with the same
name as the domain associated with the profile. The configuration refresh
overwrites the domain defined on the managed server unless client nodes are
already assigned to the domain. Once the domain becomes a managed object on
the managed server, you can associate clients with the managed domain. Future
configuration refreshes can then update the managed domain.
If nodes are assigned to a domain with the same name as a domain being
distributed, the domain is not replaced. This safeguard prevents inadvertent
replacement of policy that could lead to loss of data. To replace an existing policy
domain with a managed domain of the same name, perform the following steps on
the managed server:
Procedure
1. Copy the domain.
2. Move all clients assigned to the original domain to the copied domain.
3. Trigger a configuration refresh.
4. Activate the appropriate policy set in the new, managed policy domain.
5. Move all clients back to the original domain, which is now managed.
Chapter 21. Managing a network of Tivoli Storage Manager servers 709
Configuring information for servers and server groups
The DEFAULT_PROFILE that is automatically created on a configuration manager
already points to all servers and server groups defined to that server. If you leave
the DEFAULT_PROFILE intact, you do not need to include servers or server
groups in any other profile.
Any servers and server groups that you define later are associated automatically
with the default profile and the configuration manager distributes the definitions at
the next refresh. For a server definition, the following attributes are distributed:
v Communication method
v TCP/IP address (high-level address), Version 4 or Version 6
v Port number (low-level address)
v Server password
v Server URL
v The description
When server definitions are distributed, the attribute for allowing replacement is
always set to YES. You can set other attributes, such as the server's node name, on
the managed server by updating the server definition.
A managed server may already have a server defined with the same name as a
server associated with the profile. The configuration refresh does not overwrite the
local definition unless the managed server allows replacement of that definition.
On a managed server, you allow a server definition to be replaced by updating the
local definition. For example:
update server santiago allowreplace=yes
A configuration refresh does not replace or remove any local schedules that are
active on a managed server. However, a refresh can update an active schedule that
is already managed by a configuration manager.
Changing a profile
You can change a profile and its associated configuration information.
For example, if you want to add a policy domain named FILESERVERS to objects
already associated with the ALLOFFICES profile, enter the following command:
define profassociation alloffices domains=fileservers
You can also delete associated configuration information, which results in removal
of configuration from the managed server. Use the DELETE PROFASSOCIATION
command.
You can change the description of the profile. Enter the following command:
update profile alloffices
description=’Configuration for all offices with file servers’
See “Removing configuration information from managed servers” on page 712 for
details.
For example, to lock the ALLOFFICES profile for two hours (120 minutes), enter
the following command:
lock profile alloffices 120
You can let the lock expire after two hours, or unlock the profile with the following
command:
unlock profile alloffices
From the configuration manager, to notify all servers that are subscribers to the
ALLOFFICES profile, enter the following command:
notify subscribers profile=alloffices
The managed servers then refresh their configuration information, even if the time
period for refreshing the configuration has not passed.
See “Refreshing configuration information” on page 721 for how to set this period.
On the configuration manager, you can delete the association of objects with a
profile. For example, you may want to remove some of the administrators that are
associated with the ADMINISTRATORS profile. With an earlier command, you had
included all administrators defined on the configuration manager (by specifying
ADMINS=*). To change the administrators included in the profile you must first
delete the association of all administrators, then associate just the administrators
Procedure
1. Before you make these changes, you may want to prevent any servers from
refreshing their configuration until you are done. Enter the following
command:
lock profile administrators
2. Now make the change by entering the following commands:
delete profassociation administrators admins=*
Results
When you delete the association of an object with a profile, the configuration
manager no longer distributes that object via the profile. Any managed server
subscribing to the profile deletes the object from its database when it next contacts
the configuration manager to refresh configuration information. However, a
managed server does not delete the following objects:
v An object that is associated with another profile to which the server subscribes.
v A policy domain that has client nodes still assigned to it. To delete the domain,
you must assign the affected client nodes to another policy domain on the
managed server.
v An administrator that currently has a session open with the server.
v An administrator that is the last administrator with system authority on the
managed server.
Also the managed server does not change the authority of an administrator if
doing so would leave the managed server without any administrators having
the system privilege class.
You can avoid both problems by ensuring that you have locally defined at least
one administrator with system privilege on each managed server.
v An administrative schedule that is active. To remove an active schedule, you
must first make the schedule inactive on the managed server.
v A server definition for a server that currently has an open connection from the
managed server.
v A server definition that is specified in the definition of a device class that is a
SERVER device type.
v A server definition that is the definition for the event server for the managed
server.
Deleting profiles
You can delete a profile from a configuration manager. Before deleting a profile,
you should ensure that no managed server still has a subscription to the profile. If
the profile still has some subscribers, delete the subscriptions on each managed
server first.
When you delete subscriptions, consider whether you want the managed objects to
be deleted on the managed server at the same time. For example, to delete the
subscription to profile ALLOFFICES from managed server SANTIAGO without
deleting the managed objects, log on to the SANTIAGO server and enter the
following command:
delete subscription alloffices
Note: You can use command routing to issue the DELETE SUBSCRIPTION
command for all managed servers.
If you try to delete a profile, that still has subscriptions, the command fails unless
you force the operation:
delete profile alloffices force=yes
If you do force the operation, managed servers that still subscribe to the deleted
profile will later contact the configuration manager to try to get updates to the
deleted profile. The managed servers will continue to do this until their
subscriptions to the profile are deleted. A message will be issued on the managed
server alerting the administrator of this condition.
See “Deleting subscriptions” on page 720 for more details about deleting
subscriptions on a managed server.
For example, from a configuration manager, you can display information about
profiles defined on that server or on another configuration manager. From a
managed server, you can display information about any profiles on the
configuration manager to which the server subscribes. You can also get profile
You may need to get detailed information about profiles and the objects associated
with them, especially before subscribing to a profile. You can get the names of the
objects associated with a profile by entering the following command:
query profile server=headquarters format=detailed
If the server from which you issue the query is already a managed server
(subscribed to one or more profiles on the configuration manager being queried),
by default the query returns profile information as it is known to the managed
server. Therefore the information is accurate as of the last configuration refresh
done by the managed server. You may want to ensure that you see the latest
version of profiles as they currently exist on the configuration manager. Enter the
following command:
query profile uselocal=no format=detailed
To get more than the names of the objects associated with a profile, you can do one
of the following:
v If command routing is set up between servers, you can route query commands
from the server to the configuration manager. For example, to get details on the
ENGDOMAIN policy domain on the HEADQUARTERS server, enter this
command:
headquarters: query domain engdomain format=detailed
Subscribing to a profile
After an administrator at a configuration manager has created profiles and
associated objects with them, managed servers can subscribe to one or more of the
profiles.
Note:
v Unless otherwise noted, the commands in this section would be run on a
managed server:
v An administrator at the managed server could issue the commands.
v You could log in from the enterprise console and issue them.
v If command routing is set up, you could route them from the server that you are
logged in to.
Before a managed server subscribes to a profile, be aware that if you have defined
any object with the same name and type as an object associated with the profile
that you are subscribing to, those objects will be overwritten. You can check for
such occurrences by querying the profile before subscribing to it.
Subscription scenario
The scenario that is documented is a typical one, where a server subscribes to a
profile on a configuration manager, in this case HEADQUARTERS.
Procedure
1. Display the names of the objects in the profiles on HEADQUARTERS.
You might want to perform this step to see if the object names on the profiles
are used on your server for any objects of the same type. Issue this command:
query profile * server=headquarters format=detailed
You might want to get detailed information on some of the objects by issuing
specific query commands on either your server or the configuration manager.
Note: If any object name matches and you subscribe to a profile containing an
object with the matching name, the object on your server will be replaced, with
the following exceptions:
v A policy domain is not replaced if the domain has client nodes assigned to it.
v An administrator with system authority is not replaced by an administrator
with a lower authority level if the replacement would leave the server
without a system administrator.
v The definition of a server is not replaced unless the server definition on the
managed server allows replacement.
v A server with the same name as a server group is not replaced.
v A locally defined, active administrative schedule is not replaced
2. Subscribe to the ADMINISTRATORS and ENGINEERING profiles.
After the initial subscription, you do not have to specify the server name on the
DEFINE SUBSCRIPTION commands. If at least one profile subscription already
exists, any additional subscriptions are automatically directed to the same
configuration manager. Issue these commands:
define subscription administrators server=headquarters
Results
Note: You can initiate a configuration refresh from a managed server at any time.
To initiate a refresh, simply reissue the SET CONFIGREFRESH with any value
greater than 0. The simplest approach is to use the current setting:
set configrefresh 1440
Querying subscriptions
From time to time you might want to view the profiles to which a server is
subscribed. You might also want to view the last time that the configuration
associated with that profile was successfully refreshed on your server.
The QUERY SUBSCRIPTION command gives you this information. You can name
a specific profile or use a wildcard character to display all or a subset of profiles to
which the server is subscribed. For example, the following command displays
ADMINISTRATORS and any other profiles that begin with the string “ADMIN”:
query subscription admin*
To see what objects the ADMINISTRATORS profile contains, use the following
command:
query profile administrators uselocal=no format=detailed
The field Managing profile shows the profile to which the managed server
subscribes to get the definition of this object.
Deleting subscriptions
If you decide that a server no longer needs to subscribe to a profile, you can delete
the subscription.
When you delete a subscription to a profile, you can choose to discard the objects
that came with the profile or keep them in your database. For example, to request
that your subscription to PROFILEC be deleted and to keep the objects that came
with that profile, issue the following command:
delete subscription profilec discardobjects=no
After the subscription is deleted on the managed server, the managed server issues
a configuration refresh request to inform the configuration manager that the
subscription is deleted. The configuration manager updates its database with the
new information.
By issuing this command with a value greater than zero, you cause the managed
server to immediately start the refresh process.
At the configuration manager, you can cause managed servers to refresh their
configuration information by notifying the servers. For example, to notify
subscribers to all profiles, enter the following command:
notify subscribers profile=*
The managed servers then start to refresh configuration information to which they
are subscribed through profiles.
The configuration manager sends the objects that it can distribute to the managed
server. The configuration manager skips (does not send) objects that conflict with
local objects. If the configuration manager cannot send all objects that are
associated with the profile, the managed server does not record the configuration
refresh as complete. The objects that the configuration manager successfully sent
are left as local instead of managed objects in the database of the managed server.
The local objects left as a result of an unsuccessful configuration refresh become
managed objects at the next successful configuration refresh of the same profile
subscription.
See “Associating configuration information with a profile” on page 707 for details
on when objects cannot be distributed.
To do this from the configuration manager, you do not simply delete the
association of the object from the profile, because that would cause the object to be
deleted from subscribing managed servers. To ensure the object remains in the
databases of the managed servers as a locally managed object, you can copy the
current profile, make the deletion, and change the subscriptions of the managed
servers to the new profile.
For example, servers are currently subscribed to the ENGINEERING profile. The
ENGDOMAIN policy domain is associated with this profile. You want to return
control of the ENGDOMAIN policy domain to the managed servers. You can do
the following:
Procedure
1. Copy the ENGINEERING profile to a new profile, ENGINEERING_B:
copy profile engineering engineering_b
2. Delete the association of the ENGDOMAIN policy domain from
ENGINEERING_B:
delete profassociation engineering_b domains=engdomain
3. Use command routing to delete subscriptions to the ENGINEERING profile:
americas,europe,asia: delete subscription engineering
discardobjects=no
4. Delete the ENGINEERING profile:
delete profile engineering
Results
To return objects to local control when working on a managed server, you can
delete the subscription to one or more profiles. When you delete a subscription,
you can choose whether to delete the objects associated with the profile. To return
objects to local control, you do not delete the objects. For example, use the
following command on a managed server:
delete subscription engineering discardobjects=no
To ensure passwords stay valid for as long as expected on all servers, set the
password expiration period to the same time on all servers. One way to do this is
to route a SET PASSEXP command from one server to all of the others.
Ensure that you have at least one administrator that is defined locally on each
managed server with system authority. This avoids an error on configuration
refresh when all administrators for a server would be removed as a result of a
change to a profile on the configuration manager.
It might appear that the configuration information is more recent on the managed
server than on the configuration manager. This could occur in the following
situations:
v The database on the configuration manager has been restored to an earlier time
and now has configuration information from profiles that appear to be older
than what the managed server has obtained.
v On the configuration manager, an administrator deleted a profile, forcing the
deletion even though one or more managed servers still subscribed to the
profile. The administrator redefined the profile (using the same name) before the
managed server refreshed its configuration information.
If the configuration manager still has a record of the managed server's subscription
to the profile, the configuration manager does not send its profile information at
the next request for refreshed configuration information. The configuration
manager informs the managed server that the profiles are not synchronized. The
managed server then issues a message indicating this condition so that an
Procedure
1. If the configuration manager's database has been restored to an earlier point in
time, the administrator may want to query the profile and associated objects on
the managed server and then manually update the configuration manager with
that information.
2. Use the DELETE SUBSCRIPTION command on the managed server to delete
subscriptions to the profile that is not synchronized. If desired, you can also
delete definitions of the associated objects, then define the subscription again.
Results
It is possible that the configuration manager may not have a record of the
managed server's subscription. In this case, no action is necessary. When the
managed server requests a refresh of configuration information, the configuration
manager sends current profile information and the managed server updates its
database with that information.
Procedure
Complete the following steps to switch a managed server.
1. Query profiles on the server that is the new configuration manager to compare
with current profiles to which the managed server subscribes.
2. On the managed server, delete all subscriptions to profiles on the current
configuration manager. Remember to delete the subscription to the profile
named DEFAULT_PROFILE. Consider whether to discard the managed objects
in the database when you delete the subscriptions.
Verify that all subscriptions are deleted by querying subscriptions.
3. Change server communications as needed. Define the server that is the new
configuration manager. You can delete the server that was formerly the
configuration manager.
4. On the managed server, define subscriptions to profiles on the new
configuration manager.
When you issue the DELETE SUBSCRIPTION command, the managed server
automatically notifies the configuration manager of the deletion by refreshing its
configuration information. As part of the refresh process, the configuration
manager is informed of the profiles to which the managed server subscribes and to
which it does not subscribe. If the configuration manager cannot be contacted
Procedure
Results
See “Setting the server name” on page 613 for more information before you use
theSET SERVERNAME command.
Through the Operations Center, you can manage multiple Tivoli Storage Manager
servers, issue commands to those servers, and access web clients.
You can route commands to one server, multiple servers, servers defined to a
named group, or a combination of these servers. A routed command cannot be
further routed to other servers; only one level of routing is allowed.
Each server that you identify as the target of a routed command must first be
defined with the DEFINE SERVER command. If a server has not been defined, that
server is skipped and the command routing proceeds to the next server in the
route list.
Tivoli Storage Manager does not run a routed command on the server from which
you issue the command unless you also specify that server. To be able to specify
the server on a routed command, you must define the server just as you did any
other server.
Routed commands run independently on each server to which you send them. The
success or failure of the command on one server does not affect the outcome on
any of the other servers to which the command was sent.
The return codes for command routing can be one of three severities: 0, ERROR, or
WARNING. See Administrator's Reference for a list of valid return codes and
severity levels.
To route a command to a single server, enter the defined server's name, a colon,
and then the command to be processed.
For example, to route a QUERY STGPOOL command to the server that is named
ADMIN1, enter:
admin1: query stgpool
The colon after the server name indicates the end of the routing information. This
is also called the server prefix. Another way to indicate the server routing
information is to use parentheses around the server name, as follows:
(admin1) query stgpool
Note: When writing scripts, you must use the parentheses for server routing
information.
To route a command to more than one server, separate the server names with a
comma. For example, to route a QUERY OCCUPANCY command to three servers named
ADMIN1, GEO2, and TRADE5 enter:
admin1,geo2,trade5: query occupancy
or
(admin1,geo2,trade5) query occupancy
The routed command output of each server is displayed in its entirety at the server
that initiated command routing. In the previous example, output for ADMIN1
would be displayed, followed by the output of GEO2, and then the output of
TRADE5.
Processing of a command on one server does not depend upon completion of the
command processing on any other servers in the route list. For example, if GEO2
server does not successfully complete the command, the TRADE5 server continues
processing the command independently.
A server group is a named group of servers. After you set up the groups, you can
route commands to the groups.
or
(west_complex) query stgpool
or
(west_complex,north_complex) query stgpool
The QUERY STGPOOL command is sent for processing to servers BLD12 and
BLD13 which are members of group WEST_COMPLEX, and servers NE12 and
NW13 which are members of group NORTH_COMPLEX.
You can route commands to multiple single servers and to server groups at the
same time.
For example, to route the QUERY DB command to servers HQSRV, REGSRV, and
groups WEST_COMPLEX and NORTH_COMPLEX, enter:
hqsrv,regsrv,west_complex,north_complex: query db
or
(hqsrv,regsrv,west_complex,north_complex) query db
Procedure
Results
After you have the server groups set up, you can manage the groups and group
members.
Procedure
To route commands to a server group, you must complete the following steps:
1. Define the server with the DEFINE SERVER command if it is not already defined.
2. Define a new server group with the DEFINE SERVERGROUP command. Server
group names must be unique because both groups and server names are
allowed for the routing information.
3. Define servers as members of a server group with the DEFINE GRPMEMBER
command.
Results
The following example shows how to create a server group that is called
WEST_COMPLEX, and define servers BLD12 and BLD13 as members of the
WEST_COMPLEX group:
define servergroup west_complex
define grpmember west_complex bld12,bld13
You can obtain information about server groups by issuing the QUERY SERVERGROUP
command.
Procedure
Results
The following sample output shows the results of the QUERY SERVERGROUP
command.
Server Group Members Description Managing profile
---------------------------------------------------------------------------
WEST_COMPLEX BLD12, BLD13
You can copy a server group by issuing the COPY SERVERGROUP command.
Procedure
Results
This command creates the new group. If the new group exists, the command fails.
You can rename a server group by issuing the RENAME SERVERGROUP command.
Procedure
You can update a server group by issuing the UPDATE SERVERGROUP command.
Procedure
For example, to update the NORTH server group to modify its description, issue
the following command:
update servergroup north description="Northern marketing region"
You can delete a server group by issuing the DELETE SERVERGROUP command.
Procedure
To delete the WEST_COMPLEX server group from the Tivoli Storage Manager
server, issue the following command:
delete servergroup west_complex
Results
This command removes all members from the server group. The server definition
for each group member is not affected. If the deleted server group is a member of
other server groups, the deleted group is removed from the other groups.
You can move group members to another group by issuing the MOVE GRPMEMBER
command.
Procedure
You can delete group members from a group by issuing the DELETE GROUPMEMBER
command.
Procedure
To delete group member BLD12 from the NEWWEST server group, issue the
following command:
delete grpmember newwest bld12
Results
When you delete a server, the deleted server is removed from any server groups of
which it was a member.
Procedure
For example, to ping the server GEO2, issue the following command:
ping server geo2
The PING SERVER command uses the user ID and password of the administrative ID
that issued the command. If the administrator is not defined on the server that is
being pinged, the ping fails even if the server is running.
The source server is a client of the target server, and the data for the source server
is managed only by the source server. In other words, the source server controls
the expiration and deletion of the files that comprise the virtual volumes on the
target server. You cannot use virtual volumes when the source server and the
target server are on the same Tivoli Storage Manager server.
At the target server, the virtual volumes from the source server are seen as archive
data. The source server is registered as a client node (of TYPE=SERVER) at the
target server and is assigned to a policy domain. The archive copy group of the
default management class of that domain specifies the storage pool for the data
from the source server.
Note: If the default management class does not include an archive copy group,
data cannot be stored on the target server.
You can benefit from the use of virtual volumes in the following ways:
Note: When you issue a DEFINE SERVER command, the source server sends a
verification code to the target server. When the source server begins a session with
the target server, it also sends the verification code. If the code matches what was
previously stored on the target, the session is opened in read/write mode. If the
verification code is lost at the source server (for example, after a database restore),
you can reset the code by issuing the UPDATE SERVER command with the FORCESYNC
parameter set to YES.
For details, see “Reconciling virtual volumes and archive files” on page 739.
Related concepts:
“Performance limitations for virtual volume operations” on page 735
Related tasks:
“Setting up source and target servers for virtual volumes” on page 734
In the following example (illustrated in Figure 88 on page 735), the source server is
named TUCSON and the target server is named MADERA.
v At Tucson site:
1. Define the target server:
– MADERA has a TCP/IP address of [Link]:1845
– Assign the password CALCITE to MADERA.
– Assign TUCSON as the node name by which the source server TUCSON
will be known by the target server. If no node name is assigned, the server
name of the source server is used. To see the server name, you can issue
the QUERY STATUS command.
2. Define a device class for the data to be sent to the target server. The device
type for this device class must be SERVER, and the definition must include
the name of the target server.
v At Madera site:
Register the source server as a client node. The target server can use an existing
policy domain and storage pool for the data from the source server. However,
you can define a separate management policy and storage pool for the source
server. Doing so can provide more control over storage pool resources.
1. Use the REGISTER NODE command to define the source server as a node of
TYPE=SERVER. The policy domain to which the node is assigned determines
where the data from the source server is stored. Data from the source server
is stored in the storage pool specified in the archive copy group of the
default management class of that domain.
2. You can set up a separate policy and storage pool for the source server.
a. Define a storage pool named SOURCEPOOL:
define stgpool sourcepool autotapeclass maxscratch=20
b. Copy an existing policy domain STANDARD to a new domain named
SOURCEDOMAIN:
copy domain standard sourcedomain
c. Assign SOURCEPOOL as the archive copy group destination in the
default management class of SOURCEDOMAIN:
update copygroup sourcedomain standard standard type=archive
destination=sourcepool
3. After issuing these commands, ensure that you assign the source server to
the new policy domain (UPDATE NODE) and activate the policy.
TUCSON MADERA
Related tasks:
“Changing policy” on page 478
Some of the factors that can affect volume performance when using virtual
volumes are:
v Distance between locations
v Network infrastructure and bandwidth between locations
v Network configuration
v Data size and distribution
v Data read and write patterns
Use the server-to-server virtual volumes feature to share a single tape library with
multiple servers. Although there are other situations that can use this feature, such
as cross-server or off-site vaulting, this feature is not optimized for long distances.
For best results, use server-to-server virtual volumes for situations where the two
servers (source and target) are not communicating over long distances. For
example:
v The source server and target server reside within the same building.
v The source server and target server reside in different buildings but are typically
covering short geographic distances such as a mile or a couple miles.
Avoid moving large amounts of data between the servers, which might slow down
communications significantly, depending on the network bandwidth and
availability.
Specify, in the device class definition (DEVTYPE=SERVER) how often, and how
long a time period you want the source server to attempt to contact the target
server. Keep in mind that frequent attempts to contact the target server over an
extended period can affect your communications.
To minimize mount wait times, set the total mount limit for all server definitions
that specify the target server to a value that does not exceed the mount total limit
at the target server. For example, a source server has two device classes, each
specifying a mount limit of 2. A target server has only two tape drives. In this case,
the source server mount requests might exceed the target server tape drives.
For example, to perform an incremental backup of the source server and send the
volumes to the target server, issue the following command:
backup db type=incremental devclass=targetclass
See “Moving copy storage pool and active-data pool volumes on-site” on page
1028 for more information.
For example, a primary storage pool named TAPEPOOL is on the source server.
You can define a copy storage pool named TARGETCOPYPOOL, also on the
source server. TARGETCOPYPOOL must have an associated device class whose
device type is SERVER. When you back up TAPEPOOL to TARGETCOPYPOOL,
the backup is sent to the target server. To accomplish this, issue the following
commands:
define stgpool targetcopypool targetclass pooltype=copy
maxscratch=20
backup stgpool tapepool targetcopypool
To configure your system, ensure that the management policy for those nodes
specifies a storage pool that has a device class whose device type is SERVER. For
example, the following command defines the storage pool named TARGETPOOL.
define stgpool targetpool targetclass maxscratch=20
reclaim=100
For details about storage pool reclamation and how to begin it manually, see
“Reclaiming space in sequential-access storage pools” on page 367.
For example, storage pool TAPEPOOL is on the source server. The TAPEPOOL
definition specifies NEXTSTGPOOL=TARGETPOOL. TARGETPOOL has been
defined on the source server as a storage pool of device type SERVER. When data
is migrated from TAPEPOOL, it is sent to the target server.
define stgpool tapepool tapeclass nextstgpool=targetpool
maxscratch=20
For example, to copy server information directly to a target server, issue the
following command:
export server devclass=targetclass
If data has been exported from a source server to a target server, you can import
that data from the target server to a third server. The server that will import the
data uses the node ID and password of the source server to open a session with
the target server. That session is in read-only mode because the third server does
not have the proper verification code.
For example, to import server information from a target server, issue the following
command:
import server devclass=targetclass
The reconciliation action is determined by the FIX parameter as shown in Table 63.
Table 63. FIX parameter reconciliation
FIX= At the Source At the Target Server Action
Server
No files exist
Files exist but are marked
Volumes exist for deletion Report error
Active files exist but
NO
attributes do not match
Active files exist Report error
Volumes do not
exist Files exist but are marked
None
for deletion
No files exist Report error
Two methods are available to perform the export and import operation:
v Export directly to another server on the network. This results in an immediate
import process without the need for compatible sequential device types between
the two servers.
v Export to sequential media. Later, you can use the media to import the
information to another server that has a compatible device type.
This chapter takes you through the export and import tasks. See the following
sections:
Concepts:
“Reviewing data that can be exported and imported”
Tasks for Exporting Directly to Another Server:
“Exporting data directly to another server” on page 744
“Preparing to export to another server for immediate import” on page 748
“Monitoring the server-to-server export process” on page 750
Tasks for Exporting to Sequential Media:
“Exporting and importing data using sequential media volumes” on page 753
“Exporting tasks” on page 755
“Importing data from sequential media volumes” on page 758
Exporting restrictions
The export function does have some limitations and restrictions. One restriction is
that you can export information from an earlier version and release of Tivoli
Storage Manager to a later version and release, but not from a later version and
release to an earlier version and release.
For example, you can export from a V6.1 server to a V6.2 server, but you cannot
export from V6.2 server to V6.1 server.
Important:
1. Because results could be unpredictable, ensure that expiration, migration,
backup, or archive processes are not running when the EXPORT NODE command
is issued.
2. The EXPORT NODE and EXPORT SERVER commands will not export data from shred
pools unless you explicitly permit it by setting the ALLOWSHREDDABLE parameter
to YES. If this value is specified, and the exported data includes data from
shred pools, but that data can no longer be shredded.
Related concepts:
“Securing sensitive client data” on page 539
When you export to sequential media, administrators or users may modify data
shortly after it has been exported, then the information copied to tape may not be
consistent with data stored on the source server. If you want to export an exact
point-in-time copy of server control information, you can prevent administrative
and other client nodes from accessing the server.
When you export directly to another server, administrators or users may modify
data shortly after it has been exported. You can decide to merge file spaces, use
incremental export, or prevent administrative and other client nodes from
accessing the server.
Related concepts:
“Preventing administrative clients from accessing the server” on page 744
Related tasks:
“Preventing client nodes from accessing the server” on page 744
Related reference:
“Options to consider before exporting” on page 745
To prevent users from accessing the server during export operations, cancel
existing client sessions.
Procedure
After you cancel the client sessions, you can complete one of the following steps:
1. Disable server access to prevent client nodes from accessing the server.
This option is useful when you export all client node information from the
source server and want to prevent all client nodes from accessing the server.
2. Lock out particular client nodes from server access.
This option is useful when you export a subset of client node information from
the source server and want to prevent particular client nodes from accessing
the server until the export operation is complete.
What to do next
After the export operation is complete, allow client nodes to access the server
again by:
v Enabling the server
v Unlocking client nodes
If you do not want to merge file spaces, see the topic on how duplicate file spaces
are managed.
Choosing to merge file spaces allows you to restart a cancelled import operation
because files that were previously imported can be skipped in the subsequent
import operation. This option is available when you issue an EXPORT SERVER or
EXPORT NODE command.
When you merge file spaces, the server performs versioning of the imported
objects based on the policy bound to the files. An import operation may leave the
target file space with more versions than policy permits. Files are versioned to
maintain the policy intent for the files, especially when incremental export (using
the FROMDATE and FROMTIME parameters) is used to maintain duplicate client file
copies on two or more servers.
The following definitions show how the server merges imported files, based on the
type of object, when you specify MERGEFILESPACES=YES.
Archive Objects
If an archive object for the imported node having the same TCP/IP
address, TCP/IP port, name, insert date, and description is found to
already exist on the target server, the imported object is skipped.
Otherwise, the archive object is imported.
Backup Objects
If a backup object for the imported node has the same TCP/IP address,
TCP/IP port, insert date, and description as the imported backup object,
the imported object is skipped. When backup objects are merged into
existing file spaces, versioning will be done according to policy just as it
occurs when backup objects are sent from the client during a backup
operation. Setting their insert dates to zero (0) will mark excessive file
versions for expiration.
Otherwise, the server performs the following tasks:
v If the imported backup object has a later (more recent) insert date than
an active version of an object on the target server with the same node,
file space, TCP/IP address, and TCP/IP port, then the imported backup
object becomes the new active copy, and the active copy on the target
server is made inactive. Tivoli Storage Manager expires this inactive
version based on the number of versions that are allowed in policy.
v If the imported backup object has an earlier (less recent) insert date than
an active copy of an object on the target server with the same node, file
space, TCP/IP address, TCP/IP port, then the imported backup object is
inserted as an inactive version.
The number of objects imported and skipped is displayed with the final statistics
for the import operation.
Related concepts:
“Managing duplicate file spaces” on page 766
Related tasks:
“Querying the activity log for export or import information” on page 772
You can use the FROMDATE and FROMTIME parameters to export data based on the
date and time the file was originally stored in the server. The FROMDATE and
FROMTIME parameters only apply to client user file data; these parameters have no
effect on other exported information such as policy. If clients continue to back up
to the originating server while their data is moving to a new server, you can move
the backup data that was stored on the originating server after the export
operation was initiated. This option is available when you issue an EXPORT SERVER
or EXPORT NODE command.
You can use the TODATE and TOTIME parameters to further limit the time you specify
for your export operation.
Alternatively, you can have the server skip duplicate definitions. This option is
available when you issue any of the EXPORT commands.
Related concepts:
“Determining whether to replace existing definitions” on page 760
The resumed export continues at a point where the suspension took place.
Therefore, data that has already been exported is not exported again and only the
data that was not sent is included in the restarted export. Issue the QUERY EXPORT
command to view all running and suspended restartable export operations, the
RESTART EXPORT command to restart an export operation, or the SUSPEND EXPORT to
suspend a running server-to-server EXPORT NODE or EXPORT SERVER process.
Suspended server-to-server export operations are not affected by a server restart.
Note: Do not issue the CANCEL PROCESS command if you want to restart the
operation at a later time. CANCEL PROCESS ends the export process and deletes all
saved status.
If an export operation fails prior to identifying all eligible files, when the export
operation is restarted it continues to identify eligible files and may export files that
were backed up while the operation was suspended.
A restarted export operation will export only the data that was identified. During a
suspension, some files or nodes identified for export might be deleted or might
expire. To ensure that all data is exported, restart the export operation at the
earliest time and restrict operations on the selected data.
At any given time, a restartable export operation will be in one of the following
states:
Running - Not Suspendible
This state directly corresponds to phase 1 of a restartable export, “Creating
definitions on target server.”
Running
The operation is running as an active process and is either in phase 2:
“Identifying and exporting eligible files” or phase 3: “File list complete.
Exporting eligible files.”
Attention: Ensure that the target server's Tivoli Storage Manager level is newer
or the same as the source server's level. If you suspend export operations and
upgrade the source server's database, the target server may stop the export
operation if the new source server's Tivoli Storage Manager level is incompatible
with the target server's level.
Procedure
To determine how much space is required to export all server data, issue the
following command:
export server filedata=all previewimport=yes
After you issue the EXPORT SERVER command, a message similar to the following
message is issued when the server starts a background process:
EXPORT SERVER started as Process 4
You can view the preview results by querying the activity log.
You can also view the results on the following applications:
v Server console
Related tasks:
“Requesting information about an export or import process” on page 770
“Canceling server processes” on page 610
You can direct import messages to an output file to capture any error messages
that are detected during the import process. Do this by starting an administrative
client session in console mode before you invoke the import command.
Procedure
If you want to view the status of any server-to-server exports that can be
suspended, issue the QUERY EXPORT command. The QUERY EXPORT command lists all
running or suspended operations.
If a process completes, you can query the activity log for status information from
an administrative client running in batch or interactive mode.
You can also query the activity log for status information from the server console.
The process first builds a list of what is to be exported. The process can therefore
be running for some time before any data is transferred. The connection between
the servers might time-out. You may need to adjust the COMMTIMEOUT and
IDLETIMEOUT server options on one or both servers.
If a process completes, you can query the activity log for status information from
the server console or from an administrative client running in batch or interactive
mode. The process first builds a list of what is to be exported. The process can
therefore be running for some time before any data is transferred. The connection
between the servers might time-out. You may need to adjust the COMMTIMEOUT and
IDLETIMEOUT server options on one or both servers.
You can specify a list of administrator names, or you can export all administrator
names.
You can preview the result on the server console or by querying the activity log.
Procedure
Issue the following command to export all the administrator definitions to the
target server defined as OTHERSERVER.
export admin * toserver=otherserver previewimport=yes
This lets you preview the export without actually exporting the data for immediate
import.
You can also specify whether to export file data. File data includes file space
definitions and authorization rules. You can request that file data be exported in
any of the following groupings of files:
v Active and inactive versions of backed up files, archive copies of files, and
space-managed files
v Active versions of backed up files, archive copies of files, and space-managed
files
v Active and inactive versions of backed up files
v Active versions of backed up files
v Archive copies of files
v Space-managed files
To export client node information and all client files for NODE1 directly to
SERVERB, issue the following example command:
export node node1 filedata=all toserver=serverb
Results
Important: When you specify a list of node names or node patterns, the server
will not report the node names or patterns that do not match any entries in the
database. Check the summary statistics in the activity log to verify that the server
exported all intended nodes.
Procedure
Procedure
To export server data to another server on the network and have the file spaces
merged with any existing file spaces on the target server, as well as replace
definitions on the target server and have the data, that is to be exported, to begin
with any data inserted in the originating server beginning on 10/25/2007, issue the
following command:
export server toserver=serv23 fromdate=10/25/2007 filedata=all
mergefilespaces=yes dates=relative
Procedure
1. To determine how much data and which objects are moved, issue both EXPORT
or IMPORT commands with PREVIEW=YES.
The server sends export or import messages to the activity log and to the
following place:
v Server console
Export Reports the types of objects, number of objects, and number of bytes
that would be copied to sequential media volumes. Use this
information to determine how many sequential media volumes you
will need.
Import
Reports the number and types of objects found on the sequential media
volumes that meet your import specifications. Also reports information
about any detected problems, such as corrupted data. Use this
information to determine which data to move to the server and to
determine if you have enough storage pool space allocated on the
server.
2. To determine how much space is required to export all server data, issue the
following command:
export server filedata=all preview=yes
After you issue the EXPORT SERVER command, the server starts a background
process and issues a message similar to the following output:
EXPORT SERVER started as Process 4
You can view the preview results by querying the activity log or the following
place:
v Server console
You can request information about the background process. If necessary, you
can cancel an export or import process.
Related tasks:
“Requesting information about an export or import process” on page 770
“Canceling server processes” on page 610
Procedure
1. Select a device class.
You can query the source and target servers to select a device class on each
server that supports the same device type. If you cannot find a device class on
each server that supports a matching device type, define a new device class
that is available to both servers.
Tip:
a. If the mount limit for the device class is exceeded when you request an
export (that is, if all the drives are busy), the server automatically cancels
lower priority operations, such as reclamation, to make a mount point
available for the export process.
b. You can export data to a storage pool on another server by specifying a
device class whose device type is SERVER.
2. Estimate the number of removable media volumes that you must label.
To estimate the number of removable media volumes that you must label,
divide the number of bytes to be moved by the estimated capacity of a volume
in the storage pool.
You can estimate the following forms of removable media volumes:
v The number of removable media volumes that are required to store the
exported data
For example, you have LTO Generation 1 tapes with an estimated capacity of
100 GB. If the preview shows that you need to transfer 150 GB of data, then
label at least two tape volumes before you export the data.
3. Use scratch media. You can use scratch media to ensure that you have
sufficient space to store all the exported data. If you use scratch media, record
the label names and the order in which they were mounted.
Or, you can use the USEDVOLUMELIST parameter on the EXPORT command to
create a file that contains a list of volumes that were used.
4. Label the removable media volumes.
During an import process, you must specify the order in which volumes are to
be mounted.
This order must match the order in which the following media were mounted
during the export process:
v volumes
To ensure that the volumes are mounted in the correct order, label them with
information that identifies the order in which they are mounted during the
import process. For example, label them as DSM001, DSM002, DSM003.
When you export data, record the date and time for each labeled volume. Store
this information in a safe location because you need the information when you
import the data. Alternatively, if you used the USEDVOLUMELIST parameter on the
export command, save the generated output file. This file can be used on the
import command volumes parameter.
For more information about exporting data, see EXPORT SERVER in the
Administrative's Reference.
Related tasks:
Exporting tasks
You can export all server control information or a subset of server control
information.
When you export data, you must specify the device class to which export data will
be written. You must also list the volumes in the order in which they are to be
mounted when the data is imported.
You can specify the USEDVOLUMELIST parameter to indicate the name of a file where
a list of volumes used in a successful export operation will be stored. If the
specified file is created without errors, it can be used as input to the IMPORT
command on the VOLUMENAMES=FILE:filename parameter. This file will contain
comment lines with the date and time the export was done, and the command
issued to create the export.
Note: An export operation will not overwrite an existing file. If you perform an
export operation and then try the same operation again with the same volume
name, the file is skipped, and a scratch file is allocated. To use the same volume
name, delete the volume entry from the volume history file.
Related tasks:
“Planning for sequential media used to export data” on page 754
You can specify a list of administrator names, or you can export all administrator
names.
Procedure
Issue the following command to export definitions for the DAVEHIL and PENNER
administrator IDs to the DSM001 tape volume, which the TAPECLASS device class
supports, and to not allow any scratch media to be used during this export
process:
export admin davehil,penner devclass=tapeclass
volumenames=dsm001 scratch=no
You can also specify whether to export file data. File data includes file space
definitions and authorization rules. You can request that file data be exported in
any of the following groupings of files:
v Active and inactive versions of backed up files, archive copies of files, and
space-managed files
v Active versions of backed up files, archive copies of files, and space-managed
files
v Active and inactive versions of backed up files
v Active versions of backed up files
v Archive copies of files
v Space-managed files
When exporting active versions of client backup data, the server searches for active
file versions in an active-data pool associated with a FILE device class, if such a
pool exists. This process minimizes the number of mounts that are required during
the export process.
If you do not specify that you want to export file data, then the server only exports
client node definitions.
For example, suppose that you want to perform the following steps:
v Export definitions for client nodes and file spaces in the ENGPOLDOM policy
domain
v Export any active backup versions of files belonging to these client nodes
v Export this information to scratch volumes in the TAPECLASS device class
Procedure
When you issue the EXPORT POLICY command, the server exports the following
information belonging to each specified policy domain:
v Policy domain definitions
v Policy set definitions, including the active policy set
v Management class definitions, including the default management class
v Backup copy group and archive copy group definitions
v Schedule definitions
v Associations between client nodes and schedules
For example, suppose that you want to export policy and scheduling definitions
from the policy domain named ENGPOLDOM. You want to use tape volumes
DSM001 and DSM002, which belong to the TAPECLASS device class, but allow the
server to use scratch tape volumes if necessary.
Procedure
For example, you want to export server data to four defined tape cartridges, which
the TAPECLASS device class supports. You want the server to use scratch volumes
if the four volumes are not enough, and so you use the default of SCRATCH=YES.
Procedure
During the export process, the server exports definition information before it
exports file data information. This ensures that definition information is stored on
the first tape volumes. This process allows you to mount a minimum number of
tapes during the import process, if your goal is to copy only control information to
the target server.
In the example above, the server exports:
v Administrator definitions
v Client node definitions
v Policy domain, policy set, management class, and copy group definitions
Procedure
Results
After Tivoli Storage Manager is installed and set up on the target server, a system
administrator can import all server control information or a subset of server
control information by specifying one or more of the following import commands:
v IMPORT ADMIN
v IMPORT NODE
v IMPORT POLICY
v IMPORT SERVER
The entire process of importing all server control information and file data from
tape volumes to a new target server includes:
v Previewing information before you import data
v Importing definitions
v Tailoring server storage definitions on the target server
v Importing file data
You can merge imported client backup, archive, and space-managed files into
existing file spaces, and automatically skip duplicate files that may exist in the
target file space on the server. Optionally, you can have new file spaces created.
If you do not want to merge file spaces, look into how duplicate file spaces are
managed. Choosing to merge file spaces allows you to restart a cancelled import
operation since files that were previously imported can be skipped in the
subsequent import operation.
When you merge file spaces, the server performs versioning of the imported
objects based on the policy bound to the files. An import operation may leave the
target file space with more versions than policy permits. Files are versioned to
maintain the policy intent for the files, especially when incremental export (using
the FROMDATE and FROMTIME parameters) is used to maintain duplicate client file
copies on two or more servers.
The following definitions show how the server merges imported files, based on the
type of object, when you specify MERGEFILESPACES=YES.
Archive Objects
If an archive object for the imported node having the same TCP/IP
address, TCP/IP port, insert date, and description is found to already exist
on the target server, the imported object is skipped. Otherwise, the archive
object is imported.
Backup Objects
If a backup object for the imported node has the same TCP/IP address,
TCP/IP port, insert date, and description as the imported backup object,
the imported object is skipped. When backup objects are merged into
existing file spaces, versioning will be done according to policy just as it
occurs when backup objects are sent from the client during a backup
operation. Setting their insert dates to zero (0) will mark excessive file
versions for expiration.
Otherwise, the server performs the following tasks:
v If the imported backup object has a later (more recent) insert date than
an active version of an object on the target server with the same node,
file space, TCP/IP address, and TCP/IP port, then the imported backup
object becomes the new active copy. The active copy on the target server
is made inactive. Tivoli Storage Manager expires this inactive version
based on the number of versions that are allowed in policy.
v If the imported backup object has an earlier (less recent) insert date than
an active copy of an object on the target server with the same node, file
space, TCP/IP address, and TCP/IP port, then the imported backup
object is inserted as an inactive version.
v If there are no active versions of an object with the same node, file
space, TCP/IP address, TCP/IP port on the target server, and the
imported object has the same node, TCP/IP address, TCP/IP port as the
versions, then:
The number of objects imported and skipped is displayed with the final statistics
for the import operation.
Related concepts:
“Managing duplicate file spaces” on page 766
Related tasks:
“Querying the activity log for export or import information” on page 772
By using the REPLACEDEFS parameter with the IMPORT command, you can specify
whether to replace existing definitions on the target server when Tivoli Storage
Manager encounters an object with the same name during the import process.
For example, if a definition exists for the ENGPOLDOM policy domain on the
target server before you import policy definitions, then you must specify
REPLACEDEFS=YES to replace the existing definition with the data from the
export tape.
When you import file data, you can keep the original creation date for backup
versions and archive copies, or you can specify that the server use an adjusted
date.
If you want to keep the original dates set for backup versions and archive copies,
use DATES=ABSOLUTE, which is the default. If you use the absolute value, any
files whose retention period has passed will be expired shortly after they are
imported to the target server.
When you specify a relative date, the dates of the file versions are adjusted to the
date of import on the target server. This is helpful when you export from a server
that is in a different time zone than the target server.
When you set PREVIEW=YES, tape operators must mount export tape volumes so
that the target server can calculate the statistics for the preview.
Procedure
Issue the following design to preview information for the IMPORT SERVER
command:
import server devclass=tapeclass preview=yes
volumenames=dsm001,dsm002,dsm003,dsm004
Figure 89 on page 762 shows an example of the messages sent to the activity log
and the following place:
Server console
Figure 89. Sample report created by issuing preview for an import server command
Use the value reported for the total number of bytes copied to estimate storage
pool space needed to store imported file data.
For example, Figure 89 shows that 8 856 358 bytes of data will be imported.
Ensure that you have at least 8 856 358 bytes of available space in the backup
storage pools defined to the server. You can issue the QUERY STGPOOL and QUERY
VOLUME commands to determine how much space is available in the server storage
hierarchy.
In addition, the preview report shows that 0 archive files and 462 backup files will
be imported. Because backup data is being imported, ensure that you have
sufficient space in the backup storage pools used to store this backup data.
Related tasks:
Importing definitions
When previewing information before importing data, you must import server
control information. This includes administrator definitions, client node definitions,
policy domain, policy set, management class, and copy group definitions, schedule
definitions, and client node associations.
However, do not import file data at this time, because some storage pools named
in the copy group definitions may not exist yet on the target server.
Before you import server control information, perform the following tasks:
Procedure
1. Read the following topics:
v “Determining whether to replace existing definitions” on page 760
v “Determining how the server imports active policy sets”
2. Start an administrative client session in console mode to capture import
messages to an output file.
3. Import the server control information from specified tape volumes.
Related tasks:
“Directing import messages to an output file” on page 764
“Importing server control information” on page 765
When the server imports policy definitions, several objects are imported to the
target server.
If the server encounters a policy set named ACTIVE on the tape volume during the
import process, it uses a temporary policy set named $$ACTIVE$$ to import the
active policy set.
After $$ACTIVE$$ is imported to the target server, the server activates this policy
set. During the activation process, the server validates the policy set by examining
the management class and copy group definitions. If any of the following
conditions occur, the server issues warning messages during validation:
v The storage destinations specified in the backup and archive copy groups do not
refer to defined storage pools.
v The default management class does not contain a backup or archive copy group.
v The current ACTIVE policy set contains management class names that are not
defined in the policy set to be activated.
v The current ACTIVE policy set contains copy group names that are not defined
in the policy set to be activated.
After each $$ACTIVE$$ policy set has been activated, the server deletes that
$$ACTIVE$$ policy set from the target server. To view information about active
policy on the target server, you can use the following commands:
v QUERY COPYGROUP
v QUERY DOMAIN
v QUERY MGMTCLASS
v QUERY POLICYSET
Results from issuing the QUERY DOMAIN command show the activated policy set as
$$ACTIVE$$. The $$ACTIVE$$ name shows you that the policy set which is
currently activated for this domain is the policy set that was active at the time the
export was performed.
The information generated by the validation process can help you define a storage
hierarchy that supports the storage destinations currently defined in the import
data.
You can direct import messages to an output file to capture any error messages
that are detected during the import process. Do this by starting an administrative
client session in console mode before you invoke the import command.
Procedure
If you have completed the prerequisite steps, you might be ready to import the
server control information.
Based on the information generated during the preview operation, you know that
all definition information has been stored on the first tape volume named DSM001.
Specify that this tape volume can be read by a device belonging to the
TAPECLASS device class.
Procedure
You can issue the command from an administrative client session or from the
following:
server console
Procedure
To tailor server storage definitions on the target server, complete the following
steps:
1. Identify any storage destinations that are specified in copy groups and
management classes that do not match defined storage pools:
v If the policy definitions you imported included an ACTIVE policy set, that
policy set is validated and activated on the target server. Error messages that
are generated during validation include whether any management classes or
copy groups refer to storage pools that do not exist on the target server. If
you directed console messages to an output file, you have a copy of these
messages in a file.
v Query management class and copy group definitions to compare the storage
destinations that are specified with the names of existing storage pools on
the target server.
To request detailed reports for all management classes, backup copy groups,
and archive copy groups in the ACTIVE policy set, enter these commands:
query mgmtclass * active * format=detailed
query copygroup * active * standard type=backup format=detailed
query copygroup * active * standard type=archive format=detailed
2. If storage destinations for management classes and copy groups in the ACTIVE
policy set refer to storage pools that are not defined, complete one of the
following tasks:
v Define storage pools that match the storage destination names for the
management classes and copy groups.
v Change the storage destinations for the management classes and copy
groups. complete the following steps:
a. Copy the ACTIVE policy set to another policy set
Results
Depending on the amount of client file data that you expect to import, you might
want to examine the storage hierarchy to ensure that sufficient storage space is
available. Storage pools that are specified as storage destinations by management
classes and copy groups might fill up with data. For example, you might need to
define extra storage pools to which data can migrate from the initial storage
destinations.
Related tasks:
“Directing import messages to an output file” on page 764
“Defining storage pools” on page 245
Related reference:
“Defining and updating a policy set” on page 500
You can request that file data be imported in any of the following groupings:
v Active and inactive versions of backed up files, archive copies of files, and
space-managed files
v Active versions of backed up files, archive copies of files, and space-managed
files
v Active and inactive versions of backed up files
v Active versions of backed up files
v Archive copies of files
v Space-managed files
Data being imported will not be stored in active-data pools. Use the COPY
ACTIVEDATA command to store newly imported data into an active-data pool.
When the server imports file data information, it imports any file spaces belonging
to each specified client node. If a file space definition already exists on the target
server for the node, the server does not replace the existing file space name.
If the server encounters duplicate file space names when it imports file data
information, it creates a new file space name for the imported definition by
replacing the final character or characters with a number. A message showing the
old and new file space names is written to the system log and to the activity log. A
message showing the old and new file space names is written to the activity log
and to the following place:
When you import file data, you can keep the original creation date for backup
versions and archive copies, or you can specify that the server use an adjusted
date.
Because tape volumes containing exported data might not be used for some time,
the original dates defined for backup versions and archive copies may be old
enough that files are expired immediately when the data is imported to the target
server.
To prevent backup versions and archive copies from being expired immediately,
specify DATES=RELATIVE on the IMPORT NODE or IMPORT SERVER commands to
adjust for the elapsed time since the files were exported to tape.
For example, assume that data exported to tape includes an archive copy archived
five days prior to the export operation. If the tape volume resides on the shelf for
six months before the data is imported to the target server, the server resets the
archival date to five days prior to the import operation.
If you want to keep the original dates set for backup versions and archive copies,
use DATES=ABSOLUTE, which is the default. If you use the absolute value, any
files whose retention period has passed will be expired shortly after they are
imported to the target server.
You can import file data, either by issuing the IMPORT SERVER or IMPORT NODE
command. When you issue either of these commands, you can specify which type
of files should be imported for all client nodes specified and found on the export
tapes.
You can specify any of the following values to import file data:
All Specifies that all active and inactive versions of backed up files, archive
copies of files, and space-managed files for specified client nodes are
imported to the target server
None Specifies that no files are imported to the target server; only client node
definitions are imported
Archive
Specifies that only archive copies of files are imported to the target server
Backup
Specifies that only backup copies of files, whether active or inactive, are
imported to the target server
For example, suppose you want to import all backup versions of files, archive
copies of files, and space-managed files to the target server. You do not want to
replace any existing server control information during this import operation.
Procedure
Specify the four tape volumes that were identified during the preview operation.
These tape volumes can be read by any device in the TAPECLASS device class. To
issue this command, enter:
import server filedata=all replacedefs=no
devclass=tapeclass volumenames=dsm001,dsm002,dsm003,dsm004
You can limit the import to nodes that were assigned to specific policy domains on
the source server. For example, suppose you exported from the source server the
data for all nodes in all domains. To import to the target server the data only for
nodes that were in the ENGDOM on the source server, enter this command:
import node filedata=all domains=engdom devclass=tapeclass
volumenames=dsm001,dsm002,dsm003,dsm004
If the ENGDOM policy domain exists on the target server, the imported nodes are
assigned to that domain. If ENGDOM does not exist on the target server, the
imported nodes are assigned to the STANDARD policy domain.
If you do not specify a domain on the IMPORT NODE command, the imported node
is assigned to the STANDARD policy domain.
While the server allows you to issue any import command, data cannot be
imported to the server if it has not been exported to tape. For example, if a tape is
created with the EXPORT POLICY command, an IMPORT NODE command will not find
any data on the tape because node information is not a subset of policy
information.
See Table 64 on page 769 for the commands that you can use to import a subset of
exported information to a target server.
If invalid data is encountered during an import operation, the server uses the
default value for the new object's definition. If the object already exists, the existing
parameter is not changed.
During import and export operations, the server reports on the affected objects to
the activity log and also to the:
server console
You should query these objects when the import process is complete to see if they
reflect information that is acceptable.
Each time you run the IMPORT NODE or IMPORT SERVER command with the FILEDATA
parameter equal to a value other than NONE, Tivoli Storage Manager creates a
new file space and imports data to it. This process ensures that the current import
does not overwrite data from a previous import.
A file space definition may already exist on the target server for the node. If so, an
administrator with system privilege can issue the DELETE FILESPACE command to
remove file spaces that are corrupted or no longer needed. For more information
on the DELETE FILESPACE command, refer to the Administrator's Reference.
Related concepts:
“Managing duplicate file spaces” on page 766
An imported file space can have the same name as a file space that already exists
on a client node. In this case, the server does not overlay the existing file space,
and the imported file space is given a new system generated file space name.
This new name may match file space names that have not been backed up and are
unknown to the server. In this case, you can use the RENAME FILESPACE command
to rename the imported file space to the naming convention used for the client
node.
You can use the following two ways to monitor export or import processes:
v You can view information about a process that is running on the server console
or from an administrative client running in console mode.
v After a process has completed, you can query the activity log for status
information from an administrative client running in batch or interactive mode.
Watch for mount messages, because the server might request mounts of volumes
that are not in the library. The process first builds a list of what is to be exported.
The process can therefore be running for some time before any data is transferred.
You can query an export or import process by specifying the process ID number.
Procedure
For example, to request information about the EXPORT SERVER operation, which
started as process 4, enter:
query process 4
If you issue a preview version of an EXPORT or IMPORT command and then query
the process, the server reports the types of objects to be copied, the number of
objects to be copied, and the number of bytes to be copied.
When you export or import data and then query the process, the server displays
the number and types of objects copied so far, and the total number of bytes that
have been transferred, along with information on any media mount requests that
may be outstanding for the process.
Related tasks:
“Requesting information about server processes” on page 791
Figure 90 on page 771 shows an example of the information that is displayed after
issuing an EXPORT SERVER command.
Procedure
1. To start an administrative session in console mode, issue the following
command:
> dsmadmc -consolemode
While the system is running in console mode, you cannot enter any
administrative commands from the client session. You can, however, start
another administrative client session for entering commands (for example,
QUERY PROCESS) if you are using a multitasking workstation, such as AIX.
2. If you want the server to write all terminal output to a file, specify the OUTFILE
option with a destination. For example, to write output to the [Link] file,
enter:
> dsmadmc -consolemode -outfile=[Link]
For information about using the CONSOLE mode option and ending an
administrative session in console mode, see the Administrator's Reference.
To minimize processing time when querying the activity log for export or import
information, restrict the search by specifying EXPORT or IMPORT in the SEARCH
parameter of the QUERY ACTLOG command.
Procedure
To determine how much data will be moved after issuing the preview version of
the EXPORT SERVER command, query the activity log by issuing the following
command:
query actlog search=export
Results
For information about monitoring operations with the Operations Center, including
the monitoring of alerts, see Chapter 17, “Managing the storage environment with
the Operations Center,” on page 587.
You can complete the monitoring tasks by using the command-line interface (CLI)
or the Operations Center, which also includes a CLI.
The following list describes some of the items that are important to monitor daily.
Instructions for monitoring these items, and other monitoring tasks can be found
in the topics in this section. Not all of these tasks apply to all environments.
v Verify that the database file system has enough space.
v Examine the database percent utilization, available free space, and free-pages.
v Verify that there is enough disk space in the file systems that contain these log
files.
– Active log
– Archive log
– Mirror log
– Archive failover log
v Verify that the instance directory file system has enough space.
v Verify that the database backups completed successfully, and that they are
running frequently enough.
v Check the database and recovery log statistics.
v Verify that you have current backup files for device configuration and volume
history information. You can find the file names for the backups by looking in
the [Link] file for the DEVCONFIG and VOLUMEHISTORY options. Ensure that
file systems where the files are stored have sufficient space.
v Search the summary table for failed processes.
v Search the activity log for error messages.
v For storage pools that have deduplication enabled, ensure that processes are
completing successfully.
v Check the status of your storage pools to ensure that there is enough space
available.
v Check for any failed storage pool migrations.
v Check the status of sequential access storage pools.
v Check how many scratch volumes are available.
v Determine if there are any tape drives offline, or their paths that are offline.
v Determine if there are any libraries offline, or their paths that are offline.
v Verify that all of the tapes have the appropriate write-access.
v Verify the status and settings for disaster recovery manager (DRM).
v Check for failed or missed schedules.
v Check the summary table for scheduled client operations such as backup,
restore, archive, and retrieve.
For detailed information about the commands mentioned here, see the
Administrator's Reference.
The examples used here are based on a 24-hour period, but your values can differ
depending on the time frame you specify.
The following steps describe the commands that you can use to monitor server
processes:
Procedure
1. Search the summary table for any server processes that failed within the
previous 24-hour period:
select activity as process, number as processnum from summary where
activity in (’EXPIRATION’,’RECLAMATION’,’MIGRATION’,’STGPOOL BACKUP’,
’FULL_DBBACKUP’,’INCR_DBBACKUP’,’REPLICATION’) and successful=’NO’
and end_time> (current_timestamp - interval ’24’ hours)
This example output indicates that backup storage pool process number 7
failed:
PROCESS: STGPOOL BACKUP
PROCESSNUM: 7
2. Search the activity log for the messages associated with the failed process
number that was indicated in the output of the command in Step 1.
select message from actlog where process=7 and date_time>(current_timestamp
- interval ’24’ hours) and severity in (’W’,’E’,’S’)
Example output:
MESSAGE: ANR1221E BACKUP STGPOOL: Process 7 terminated - insufficient space in
target storage pool FILECOPYPOOL. (SESSION: 1, PROCESS: 7)
Tip: This SELECT statement is searching the last 24 hours for a full or
incremental database backup. You can adjust this statement to search the last 48
hours or longer, depending on the frequency that you have scheduled
TYPE=FULL database backups.
select count(*) as frequency from summary where end_time>(current_
timestamp - interval ’24’ hours) and successful=’YES’ and activity in
(’FULL_DBBACKUP’,’INCR_DBBACKUP’)
Example output:
FREQUENCY
------------
3
Example output:
ACTIVITY: IDENTIFY
NUMBER: 5
FILESPROCESSED: 12946
DUPLICATEEXTENTS: 10504
DUPLICATEBYTES: 127364341
SUCCESSFUL: YES
Related tasks:
“Monitoring your database daily”
“Monitoring disk storage pools daily” on page 782
“Monitoring sequential access storage pools daily” on page 783
“Monitoring scheduled operations daily” on page 786
Chapter 17, “Managing the storage environment with the Operations Center,” on
page 587
For detailed information about the commands mentioned here, see the
Administrator's Reference.
The following steps describe the commands that you can use to monitor the
database:
Example output:
Location Total Space(MB) Used Space(MB) Free Space(MB)
------------------------------ ----------- --------------- ---------------
/fvt/kolty/srv/db2/mgsA3/pat-h1 253,952.00 62,066.64 191,821.36
2. Examine the file systems where the database is located, using the appropriate
operating system commands for the following:
v Ensure that the file systems are not approaching full.
v Ensure that other applications, or unexpected users of the file system space
are not storing data in the server database directories.
v Check the operating system and device error logs for any early signs or
indications of device failures.
3. Query the database to ensure that the percent utilization is acceptable, and that
the remaining space is sufficient for the next few days or weeks of expected
activity. This includes examining the free space available, and the free-pages
values. If you find that you are approaching your space limits, take action to
ensure that you get additional space provisioned to avoid any potential
problems.
query db format=detailed
Example output:
Database Name: mgsA2
Total Size of File System (MB): 253,952
Space Used by Database(MB): 544
Free Space Available (MB): 191,821
Total Pages: 40,964
Usable Pages: 40,828
Used Pages: 33,116
Free Pages: 7,712
Buffer Pool Hit Ratio: 97.7
Total Buffer Requests: 102,279
Sort Overflows: 0
Package Cache Hit Ratio: 78.9
Last Database Reorganization: 08/24/2011 [Link]
Full Device Class Name: FILECLASS
Incrementals Since Last Full: 1
Last Complete Backup Date/Time: 08/25/2011 [Link]
4. Monitor the file systems to ensure that they are not running out of space. Verify
that there is enough disk space in the file systems that contain these log files:
v Active log
v Archive log
v Mirror log
v Archive failover log
If the archive log directory fills up it will overflow to the active log directory. If
you see archive log space file systems filling up, it might be an indication that
a database backup is not being run, or not being run often enough. It might
also be an indication that the space is shared with other applications that are
contending for the same space.
Example output:
Total Space(MB): 1,000
Used Space(MB): 0
Free Space(MB): 995
Active Log Directory: /fvt/kolty/srv/db2/mgsA3/alog
Archive Log Directory: /fvt/kolty/srv/db2/mgsA3/archlog
Mirror Log Directory:
Archive Failover Log Directory: /fvt/kolty/srv/db2/mgsA3/flog
5. Examine the instance directory to ensure that it has enough space. If there is
insufficient space in this directory, the Tivoli Storage Manager server fails to
start.
You should also examine the instance_dir/sqllib/db2dump directory and delete
*.[Link] and *.[Link] files regularly.
V6.1 servers:
v Servers that are running version 6.1 must periodically delete the [Link]
file.
6. Verify that the database backups completed successfully, and examine the
details to determine if there are any problems:
select * from summary where end_time>(current_timestamp - interval
’24’ hours) and activity in (’FULL_DBBACKUP’,’INCR_DBBACKUP’)
If there are no results to this select command, then there were no database
backups in the previous 24-hour period.
a. Issue the QUERY PROCESS command to look at current status of an active
backup:
query process
Example output:
Process Process Description Status
Number
-------- -------------------- -------------------------------------------------
5 Database Backup TYPE=FULL in progress. 62,914,560 bytes
backed up to volume /fvt/kolty/srv/Storage/143-
[Link] .
7. Check to ensure that the DEVCONFIG and VOLUMEHISTORY files configured in the
[Link] file are current and up-to-date. Ensure that the file systems where
these files are being written to are not running out of space. If there are old or
unnecessary volume history entries, consider pruning the old entries using the
DELETE VOLHISTORY command.
Important: Save the volume history file to multiple locations. Ensure that these
different locations represent different underlying disks and file systems.
Related tasks:
For detailed information about the commands mentioned here, see the
Administrator's Reference.
The following steps describe the commands that you can use to monitor disk
storage pools:
Procedure
1. Check the status of storage pools, and ensure that there is enough space
available.
v Examine the percent utilization to ensure that the amount of space is
sufficient for ingestion rates.
v The high and low migration thresholds should be set to values that will
allow for proper migration cycles.
v If the storage pool is set to CACHE=YES, the percent migration should be
approaching zero.
v This indicates that items are being cleared out of the pool appropriately.
Issue the QUERY STGPOOL command to display information about one or more
storage pools.
query stgpool
Example output:
Storage Device Estimated Pct Pct High Low Next
Pool Class Capacity UtilMigr Mig Mig Storage-
Name Name Pct Pct Pool
----------- ---------- ---------- ----- ----- ---- --- -----------
ARCHIVEPOOL DISK 1,000.0 M 0.0 0.0 90 70 storage_pool
BACKUPPOOL DISK 1,000.0 M 0.0 0.0 5 1 storage_pool
2. Check the status of the disk volumes. Issue the SELECT command and specify a
particular device class name:
select volume_name, status from volumes
where devclass_name=’devclass name’
Example output:
VOLUME_NAME: /fvt/kolty/srv/Storage/ar1
STATUS: ONLINE
VOLUME_NAME: /fvt/kolty/srv/Storage/bk1
STATUS: ONLINE
Example output:
START_TIME: 2011-08-23 [Link].000000
END_TIME: 2011-08-23 [Link].000000
PROCESS: MIGRATION
PROCESSNUM: 7
POOLNAME: storage_pool_example
Related tasks:
“Monitoring your server processes daily” on page 778
“Monitoring your database daily” on page 779
“Monitoring sequential access storage pools daily”
“Monitoring scheduled operations daily” on page 786
Chapter 17, “Managing the storage environment with the Operations Center,” on
page 587
For detailed information about the commands mentioned here, see the
Administrator's Reference.
The following steps describe the commands that you can use to monitor sequential
access storage pools:
Procedure
1. Check the status of your storage pools, and ensure that there is enough space
available. Examine the percent utilization to ensure that the amount of space is
sufficient for the amount of data that is being taken in. Set the high and low
migration thresholds to values that will allow for proper migration cycles.
Issue the QUERY STGPOOL command to display information about one or more
storage pools.
query stgpool
Example output:
Storage Device Estimated Pct Pct High Low Next Storage-
Pool Name Class Name Capacity UtilMigr Mig Mig Pool
Pct Pct
----------- ---------- ---------- ----- ----- ---- --- -----------
ARCHIVEPOOL DISK 1,000.0 M 0.0 0.0 90 70 storage_pool
BACKUPPOOL DISK 1,000.0 M 0.0 0.0 5 1 storage_pool
2. Check the status of the sequential access storage pool volumes with this SELECT
command:
select volume_name,status,access,write_errors,read_errors,
error_state from volumes where stgpool_name=’STORAGE_POOL_NAME’
VOLUME_NAME: /fvt/kolty/srv/Storage/[Link]
STATUS: FULL
ACCESS: READWRITE
WRITE_ERRORS: 0
READ_ERRORS: 0
ERROR_STATE: NO
3. Verify that all of the tapes have the appropriate write-access by issuing this
command:
select volume_name,access from volumes
where stgpool_name=’TAPEPOOL’ and access!=’READWRITE’
For example, this output indicates that the following volumes are not available
for use:
VOLUME_NAME: A00011L4
ACCESS: DESTROYED
VOLUME_NAME: KP0033L3
ACCESS: UNAVAILABLE
4. Use the QUERY DIRSPACE command to display information about free space in
the directories that are associated with a device class with a device type of
FILE.
query dirspace
Example ouput:
Device Class Directory Estimated Estimated
Name Capacity Available
------------ ------------------------------------ --------- ---------
FILECLASS /fvt/kolty/srv/Storage 253,952 M 185,616 M
Tip: Ensure that the amount of available space is higher than the total capacity
of all storage pools assigned to the device class or classes using that directory.
5. Determine how many scratch volumes are available in tape libraries with this
SELECT command:
select library_name,count(*) "Scratch volumes" from libvolumes
where status=’Scratch’ group by library_name
Example output:
LIBRARY_NAME Scratch volumes
------------------------- ----------------
TS3310 6
6. Determine how many scratch volumes can be potentially allocated out of the
storage pools using those tape libraries.
select stgpool_name,(maxscratch-numscratchused)
as "Num Scratch Allocatable" from stgpools
where devclass=’DEVICE_CLASS_NAME’
Tip: Ensure that the number of allocatable scratch volumes is equal to the
number of available scratch library volumes in the assigned tape library.
7. Issue these SELECT commands to determine if there are any tape drives or paths
that are offline:
a. Check to ensure that the drives are online:
select drive_name,online from drives
where online<>’YES’
Example output:
DRIVE_NAME ONLINE
-------------------------------- -----------------------------------------
DRIVEA NO
b. Check to ensure that the paths to the drives are also online. A drive can be
online, while the path is offline.
select library_name,destination_name,online
from paths where online<>’YES’ and destination_type=’DRIVE’
Example output:
LIBRARY_NAME: TS3310
DESTINATION_NAME: DRIVEA
ONLINE: NO
8. Check to see if there are any library paths that are offline with this SELECT
command:
select destination_name,device,online from paths
where online<>’YES’ and destination_type=’LIBRARY’
Example output:
DESTINATION_NAME: TS3310
DEVICE: /dev/smc0
ONLINE: NO
9. If you are using the DRM, check the status and settings.
a. Check to see which copy storage pool volumes are onsite:
select stgpool_name,volume_name,upd_date,voltype from drmedia
where state in (’MOUNTABLE’,’NOTMOUNTABLE’)
Example output:
STGPOOL_NAME: COPYPOOL
VOLUME_NAME: CR0000L5
UPD_DATE: 2011-04-17 [Link].000000
VOLTYPE: Copy
Example output:
PLANPREFIX:
INSTRPREFIX:
PLANVPOSTFIX: @
NONMOUNTNAME: NOTMOUNTABLE
COURIERNAME: COURIER
VAULTNAME: VAULT
DBBEXPIREDAYS: 60
CHECKLABEL: Yes
FILEPROCESS: No
CMDFILENAME:
RPFEXPIREDAYS: 60
Related tasks:
“Monitoring your server processes daily” on page 778
“Monitoring your database daily” on page 779
“Monitoring disk storage pools daily” on page 782
“Monitoring scheduled operations daily”
Chapter 17, “Managing the storage environment with the Operations Center,” on
page 587
For detailed information about the commands mentioned here, see the
Administrator's Reference.
The following steps describe the commands that you can use to monitor scheduled
operations:
Procedure
1. The most valuable command that you can use to check the status of your
scheduled operations is the QUERY EVENT command. Issue this command and
look for any missed or failed scheduled operations that might indicate a
problem:
query event * * type=client
query event * type=admin
For some commands, you can display the information in either a standard or
detailed format. The standard format presents less information than the detailed
format, and is useful in displaying an overview of many objects. For displaying
more information about a particular object, use the detailed format when
supported by a given command.
For information about creating customized queries of the database, see “Using SQL
to query the IBM Tivoli Storage Manager database” on page 794.
Most of these definition queries let you request standard format or detailed format.
Standard format limits the information and usually displays it as one line per
object. Use the standard format when you want to query many objects, for
example, all registered client nodes. Detailed format displays the default and
specific definition parameters. Use the detailed format when you want to see all
the information about a limited number of objects.
Here is an example of the standard output for the QUERY NODE command:
Node Name Platform Policy Days Days Locked?
Domain Since Since
Name Last Password
Access Set
---------- -------- --------- ------ -------- -------
CLIENT1 AIX STANDARD 6 6 No
GEORGE Linux86 STANDARD 1 1 No
JANET HPUX STANDARD 1 1 No
JOE2 Mac STANDARD <1 <1 No
TOMC WinNT STANDARD 1 1 No
Here is an example of the detailed output for the QUERY NODE command:
You can use the QUERY SESSION command to request information about client
sessions. Figure 92 shows a sample client session report.
Sess Comm. Sess Wait Bytes Bytes Sess Platform Client Name
Number Method State Time Sent Recvd Type
------ ------ ------ ------ ------- ------- ----- -------- --------------------
3 Tcp/Ip IdleW 9 S 7.8 K 706 Admin WinNT TOMC
5 Tcp/Ip IdleW 0 S 1.2 K 222 Admin AIX GUEST
6 Tcp/Ip Run 0 S 117 130 Admin Mac2 MARIE
Check the wait time to determine the length of time (seconds, minutes, hours) the
server has been in the current state. The session state reports status of the session
and can be one of the following:
Start Connecting with a client session.
Most commands run in the foreground, but others generate background processes.
In some cases, you can specify that a process run in the foreground. Tivoli Storage
Manager issues messages that provide information about the start and end of
processes. In addition, you can request information about active background
processes. If you know the process ID number, you can use the number to limit the
search. However, if you do not know the process ID, you can display information
about all background processes by issuing the QUERY PROCESS command.
This list is not all-inclusive. For a detailed explanation of the QUERY STATUS
command, see the Administrator's Reference.
You can issue the QUERY OPTION command with no operands to display general
information about all defined server options. You also can issue it with a specific
option name or pattern-matching expression to display information on one or more
server options. You can set options by editing the server options file.
Options can also be set through the IBM Tivoli Storage Manager Console.
See the QUERY OPTION command in the Administrator's Reference for more
information.
When you enter the QUERY SYSTEM command, the server issues the following
queries:
QUERY ASSOCIATION
Displays all client nodes that are associated with one or more client
schedules
QUERY COPYGROUP
Displays all backup and archive copy groups (standard format)
QUERY DB
Displays information about the database (detailed format)
QUERY DBSPACE
Displays display information about the directories used by the database.
QUERY DEVCLASS
Displays all device classes (detailed format)
QUERY DOMAIN
Displays all policy domains (standard format)
QUERY LOG
Displays information about the recovery log (detailed format)
QUERY MGMTCLASS
Displays all management classes (standard format)
QUERY OPTION
Displays all server options
QUERY PROCESS
Displays information about all active background processes
QUERY SCHEDULE
Displays client schedules (standard format)
QUERY SESSION
Displays information about all administrative and client node sessions in
standard format
QUERY STATUS
Displays general server parameters, such as those defined by SET
commands
QUERY STGPOOL
Displays information about all storage pools (detailed format)
QUERY VOLUME
Displays information about all storage pool volumes (standard format)
QUERY VOLHISTORY
Displays sequential volume history information that has been collected by
the server.
SELECT
Displays the results of two SQL queries:
IBM Tivoli Storage Manager Versions 6.1 and later use the DB2 open database
connectivity (ODBC) driver to query the database and display the results.
DB2 provides its own ODBC driver which can also be used to access the Tivoli
Storage Manager server DB2 database. For more information on the DB2 native
ODBC driver, refer to DB2 documentation at: [Link]
db2luw/v10r5. Search on Introduction to DB2 CLI and ODBC
You can issue the SELECT command from the command line of an administrative
client. You cannot issue this command from the server console.
To help you find what information is available in the database, Tivoli Storage
Manager provides three system catalog tables:
[Link]
Contains information about all tables that can be queried with the SELECT
command.
[Link]
Describes the columns in each table.
[Link]
Defines the valid values for each enumerated type and the order of the
values for each type.
TABNAME: ACTLOG
TABNAME: AF_VOL_SEGMENTS
TABNAME: ARCHDESC_NAMEVIEW
TABNAME: ARCHIVES
TABNAME: ARCHIVE_NAMEVIEW
TABNAME: AR_COPYGROUPS
TABNAME: ASSOCIATIONS
TABNAME: AS_VOLUME_ASSIGNMENT
TABNAME: BACKUPS
TABNAME: BACKUPSETS
TABNAME: BACKUP_NAMEVIEW
TABNAME: BU_COPYGROUPS
TABNAME: CLIENT_ADMINISTRATORS
TABNAME: CONTENTS
TABNAME: DB
TABNAME: DEVCLASSES
TABNAME: DF_VOL_CONTENTS
TABNAME: DRIVES
TABNAME: DRMSTATUS
TABNAME: EVENTS
TABNAME: FILESPACEVIEW
TABNAME: GROUPMEMBER
TABNAME: LIBRARIES
You can also issue the SELECT command to query columns. For example, to get a
list of columns for querying in the database TSMDB1 and the table name ACTLOG,
enter the following command:
select colname from [Link] where tabschema=’TSMDB1’and tabname=’ACTLOG’
COLNAME: DATE_TIME
COLNAME: DOMAINNAME
COLNAME: MESSAGE
COLNAME: MSGNO
COLNAME: NODENAME
COLNAME: ORIGINATOR
COLNAME: OWNERNAME
COLNAME: PROCESS
COLNAME: SCHEDNAME
COLNAME: SERVERNAME
COLNAME: SESSID
COLNAME: SESSION
COLNAME: SEVERITY
For many more examples of the command, see the Administrator's Reference.
Example 1: Find the number of nodes by type of operating system by issuing the
following command:
select platform_name,count(*) as "Number of Nodes" from nodes
group by platform_name
Example 2: For all active client sessions, determine how long they have been
connected and their effective throughput in bytes per second:
select session_id as "Session", client_name as "Client", state as "State",
current_timestamp-start_time as "Elapsed Time",
(cast(bytes_sent as decimal(18,0)) /
cast(second(current_timestamp-start_time) as decimal(18,0)))
as "Bytes sent/second",
(cast(bytes_received as decimal(18,0)) /
cast(second(current_timestamp-start_time) as decimal(18,0)))
as "Bytes received/second"
from sessions
Session: 24
Client: ALBERT
State: Run
Elapsed Time: 4445.000000
Bytes sent/second: 564321.9302768451
Bytes received/second: 0.0026748857944
Session: 26
Client: MILTON
State: Run
Elapsed Time: 373.000000
Bytes sent/second: 1638.5284210992221
Bytes received/second: 675821.6888561849
For example:
A script can be run from an administrative client or the server console. You can
also include it in an administrative command schedule to run automatically. See
“Tivoli Storage Manager server scripts” on page 626 for details.
Tivoli Storage Manager is shipped with a file that contains a number of sample
scripts. The file, [Link], is in the server directory. To create and store the
scripts as objects in your server's database, issue the DSMSERV RUNFILE
command during installation:
> dsmserv runfile [Link]
You can also run the file as a macro from an administrative command line client:
macro [Link]
The sample scripts file contains Tivoli Storage Manager commands. These
commands first delete any scripts with the same names as those to be defined,
then define the scripts. The majority of the samples create SELECT commands, but
others do such things as back up storage pools. You can also copy and change the
sample scripts file to create your own scripts.
Some of the client operations recorded to the table are BACKUP, RESTORE,
ARCHIVE and RETRIEVE. Server processes include MIGRATION,
RECLAMATION and EXPIRATION.
To list column names and their descriptions from the activity summary table, enter
the following command:
select colname,remarks from columns where tabname=’summary’
You can determine how long to keep information in the summary table. For
example, to keep the information for 5 days, enter the following command:
set summaryretention 5
Tivoli Storage Manager does not create records in the SQL activity summary table
for manual backups or for successful scheduled backups of 0 bytes. Records are
created in the summary table for successful scheduled backups only if data is
backed up.
For details about using command line options and redirecting command output,
see the Administrator's Reference.
You can also query the activity log for client session information. For example,
issue the following command to search the activity log for any messages that were
issued in relation to session 4:
query actlog search="(SESSION:4)"
Any error messages sent to the server console are also stored in the activity log.
Use the following sections to adjust the size of the activity log, set an activity log
retention period, and request information about the activity log.
To minimize processing time when querying the activity log, you can:
v Specify a time period in which messages have been generated. The default for
the QUERY ACTLOG command shows all activities that have occurred in the
previous hour.
v Specify the message number of a specific message or set of messages.
v Specify a string expression to search for specific text in messages.
v Specify the QUERY ACTLOG command from the command line for large
queries instead of using the graphical user interface.
v Specify whether the originator is the server or client. If it is the client, you can
specify the node, owner, schedule, domain, or session number. If you are doing
client event logging to the activity log and are only interested in server events,
then specifying the server as the originator will greatly reduce the size of the
results.
For example, to review messages generated on May 30 between 8 a.m. and 5 p.m.,
enter:
query actlog begindate=05/30/2002 enddate=05/30/2002
begintime=08:00 endtime=17:00
You can also request information only about messages logged by one or all clients.
For example, to search the activity log for messages from the client for node JEE:
query actlog originator=client node=jee
Note: With retention-based management, you lose some control over the amount
of space that the activity log occupies. For more information on size-based activity
log management, see “Setting a size limit for the activity log.”
The server will periodically remove the oldest activity log records until the activity
log size no longer exceeds the configured maximum size allowed. To manage the
activity log by size, the parameter MGMTSTYLE must be set to the value SIZE. To
change the maximum size of the activity log to 12 MB, for example, enter:
set actlogretention 12 mgmtstyle=size
Note: With size-based management, you lose some control over the length of time
that activity log messages are kept. For more information on retention-based
activity log management, see “Setting a retention period for the activity log.”
The accounting file contains text records that can be viewed directly or can be read
into a spreadsheet program. The file remains opened while the server is running
and accounting is set to ON. The file continues to grow until you delete it or prune
old records from it. To close the file for pruning, either temporarily set accounting
off or stop the server.
There are 31 fields, which are delimited by commas (,). Each record ends with a
new-line character. Each record contains the following information:
Field Contents
1 Product version
2 Product sublevel
3 Product name, ‘ADSM',
4 Date of accounting (mm/dd/yyyy)
5 Time of accounting (hh:mm:ss)
6 Node name of Tivoli Storage Manager client
7 Client owner name (UNIX)
8 Client Platform
9 Authentication method used
10 Communication method used for the session
11 Normal server termination indicator (Normal=X'01', Abnormal=X'00')
12 Number of archive store transactions requested during the session
13 Amount of archived files, in kilobytes, sent by the client to the server
14 Number of archive retrieve transactions requested during the session
15 Amount of space, in kilobytes, retrieved by archived objects
16 Number of backup store transactions requested during the session
17 Amount of backup files, in kilobytes, sent by the client to the server
18 Number of backup retrieve transactions requested during the session
19 Amount of space, in kilobytes, retrieved by backed up objects
20 Amount of data, in kilobytes, communicated between the client node and the
server during the session
You can use Tivoli Monitoring for Tivoli Storage Manager Version 6.3.4 with any
Tivoli Storage Manager Version 5.5 or later server. For more information about
installing and configuring Tivoli Monitoring for Tivoli Storage Manager, see
Technote 1649883 at: [Link]
[Link]?uid=swg21649883.
You can log the events to any combination of the following receivers:
Tivoli Storage Manager server console and activity log
See “Logging events to the IBM Tivoli Storage Manager server console and
activity log” on page 809.
File and user exits
See “Logging events to a file exit and a user exit” on page 810.
Tivoli event console
See “Logging events to the Tivoli Enterprise Console” on page 811.
Event server receiver (Enterprise Event Logging)
Routes the events to an event server. See “Enterprise event logging:
logging events to another server” on page 820.
Simple Network Management Protocol (SNMP)
See “Logging events to an SNMP manager” on page 815.
The Windows Event Log
See “Logging events to the Windows event log” on page 820.
In addition, you can filter the types of events to be enabled for logging. For
example, you might enable only severe messages to the event server receiver and
one or more specific messages, by number, to another receiver. Figure 94 on page
808 shows a possible configuration in which both server and client messages are
filtered by the event rules and logged to a set of specified receivers.
Server Console
Client
File
Messages Event
Rules
User Exit
Tivoli Event
Console
Event Server
Server
Messages
When you enable or disable events, you can specify the following:
v A message number or an event severity (ALL, INFO, WARNING, ERROR, or
SEVERE).
v Events for one or more client nodes (NODENAME) or for one or more servers
(SERVERNAME).
To enable or disable events, issue the ENABLE EVENTS and DISABLE EVENTS
commands. For example,
v To enable event logging to a user exit for all error and severe server messages,
enter:
enable events userexit error,severe
v To enable event logging to a user exit for severe client messages for all client
nodes, enter:
enable events userexit severe nodename=*
v To disable event logging to a user exit for error server messages, enter:
Note: Server messages in the SEVERE category and message ANR9999 can provide
valuable diagnostic information if there is a serious problem. For this reason, you
should not disable these messages. Use the SET CONTEXTMESSAGING ON command to
get additional information that could help determine the cause of ANR9999D
messages. The IBM Tivoli Storage Manager polls the server components for
information that includes process name, thread name, session ID, transaction data,
locks that are held, and database tables that are in use.
At server startup, event logging begins automatically to the server console and
activity log and for any receivers that are started based on entries in the server
options file. A receiver for which event logging has begun is an active receiver.
To begin logging events to receivers for which event logging is not started
automatically, issue the BEGIN EVENTLOGGING command. You can also use this
command after you have disabled event logging to one or more receivers. To end
event logging for an active receiver issue the END EVENTLOGGING command.
For example,
v To begin logging events to the event server, enter:
begin eventlogging eventserver
v To end logging events to the event server, enter:
end eventlogging eventserver
Logging events to the IBM Tivoli Storage Manager server console and
activity log
Logging events to the server console and activity log begins automatically at server
startup.
Enabling client events to the activity log will increase the database utilization. You
can set a retention period or size limit for the log records by using the SET
ACTLOGRETENTION command (see “Setting a retention period for the activity
log” on page 801 and “Setting a size limit for the activity log” on page 801). At
server installation, activity log management is retention-based, and this value is set
to one day. If you increase the retention period or the size limit, utilization is
Chapter 27. Logging IBM Tivoli Storage Manager events to receivers 809
further increased. For more information about the activity log, see “Using the
Tivoli Storage Manager activity log” on page 799.
You can disable server and client events to the server console and client events to
the activity log. However, you cannot disable server events to the activity log.
Also, certain messages, such as those issued during server startup and shutdown
and responses to administrative commands, will still be displayed at the console
even if disabled.
To enable all error and severe client events to the console and activity log, you can
issue the ENABLE EVENTS command. See the Administrator's Reference for more
information.
Be aware that this file can rapidly grow in size depending on the events enabled
for it. There are two versions of the file exit: binary and text. The binary file exit
stores each logged event as a record, while the text file exit stores each logged
event as a fixed-sized, readable line. For more information about the text file exit,
see “Readable text file exit (FILETEXTEXIT) format” on page 826.
Procedure
1. Add an option for the exit to the server options file:
v For a file exit: Add either the FILEEXIT option (for a binary file exit) or
FILETEXTEXIT (for a text file exit) option.
a. Specify whether event logging to the file exit receiver begins
automatically at server startup. The parameters are YES and NO. If you
do not specify YES, you must begin event logging manually by issuing
the BEGIN EVENTLOGGING command.
b. Specify the file where each logged event is to be stored.
c. Specify how files will be stored if the file being stored already exists.
REPLACE will overwrite the existing file, APPEND will append data to
the existing file, and PRESERVE will not overwrite the existing file.
For example,
fileexit yes \tsm\server\data replace
See “Beginning and ending event logging” on page 809 for more information.
Application clients, Data Protection for IBM ESS for DB2, and Data Protection for
IBM ESS for Oracle must have enhanced Tivoli Enterprise Console support enabled
in order to route the events to the Tivoli Enterprise Console. Because of the
number of messages, you should not enable all messages from a node to be logged
to the Tivoli Enterprise Console.
Chapter 27. Logging IBM Tivoli Storage Manager events to receivers 811
Event Name Source
TSM_TDP_ESS_DB2_EVENT Data Protection for IBM ESS for DB2
TSM_TDP_ESS_ORACLE_EVENT Data Protection for IBM ESS for Oracle
Enabling either of these options not only changes the event class format, but also
generates a unique event class for individual Tivoli Storage Manager messages for
the client, the server, application clients, Data Protection for IBM ESS for DB2, Data
Protection for IBM ESS for Oracle, and Data Protection for IBM ESS for R/3.
Application clients can issue unique events in the following ranges. All events
follow the IBM 3.4 naming convention, which uses a three-character prefix
followed by four digits.
If UNIQUETDPTECEVENTS is enabled, Data Protection for IBM ESS for DB2, Data
Protection for IBM ESS for Oracle, and Data Protection for R/3 can issue unique
events in the following ranges:
Based upon the setting of the option or options on the Tivoli Storage Manager
server, the Tivoli Enterprise Console administrator must create a rule base using
one of the following baroc files:
Each successive baroc file accepts the events of the previous baroc file. For
example, [Link] accepts all events in [Link], and [Link]
accepts all events contained in [Link].
Chapter 27. Logging IBM Tivoli Storage Manager events to receivers 813
Encoding events to UTF-8
Tivoli Storage Manager supports the following option to encode a Tivoli Enterprise
Console event into UTF-8 before sending it to the Tivoli Enterprise Console server.
Some Tivoli Enterprise Console patches (for example, Patch 0004 for Tivoli
Enterprise Console Version 3.6 Modification 2) require UTF-8 encoded events for
some locales.
To determine whether this option is enabled, issue the QUERY OPTION command.
To set up Tivoli as a receiver for event logging, complete the following procedure:
Procedure
1. Define the Tivoli Storage Manager event classes to the Tivoli Enterprise Console
with the baroc file for your operating system:
[Link]
This file is distributed with the server.
See “Beginning and ending event logging” on page 809 for more information.
Tivoli Storage Manager also implements an SNMP subagent that can be configured
to report exception conditions and provide support for a management information
base (MIB). The management information base (MIB), which is shipped with Tivoli
Storage Manager, defines the variables that will run server scripts and return the
server scripts' results. You must register SNMPADMIN, the administrative client
Chapter 27. Logging IBM Tivoli Storage Manager events to receivers 815
the server runs these scripts under. Although a password is not required for the
subagent to communicate with the server and run scripts, a password should be
defined for SNMPADMIN to prevent access to the server from unauthorized users.
An SNMP password (community name) is required, however, to access the SNMP
agent, which forwards the request to the subagent.
Note: Because the SNMP environment has weak security, you should consider not
granting SNMPADMIN any administrative authority. This restricts SNMPADMIN
to issuing only Tivoli Storage Manager queries.
SNMP SET requests are accepted for the name and input variables associated with
the script names stored in the MIB by the SNMP subagent. This allows a script to
be processed by running a GET request for the ibmAdsm1ReturnValue and
ibmAdsm2ReturnValue variables. A GETNEXT request will not cause the script to
run. Instead, the results of the previous script processed will be retrieved. When an
entire table row is retrieved, the GETNEXT request is used. When an individual
variable is retrieved, the GET request is used.
Procedure
1. Systems A, B, C: A Tivoli Storage Manager server communicates with a local
subagent.
2. System D: A DPI-enabled SNMP agent is installed. This is required for
communication between the Tivoli Storage Manager SNMP subagent,
dsmsnmp, and the SNMP Manager you are using. A DPI-enabled SNMP agent
is available as part of the AIX operating system.
3. System E: An SNMP manager, such as NetView, is installed.
4. The subagents on systems A, B, and C communicate with the agent on system
D.
5. The agent on system D forwards SNMP traps to NetView on system E.
Results
To set the variables associated with the script, the nodes on which the subagent
and the agent are run must have read-write authority to the MIB variables. This is
done through the SNMP configuration process on the system that the SNMP agent
runs on.
An SNMP agent is needed for communication between an SNMP manager and its
managed systems. The SNMP agent is realized through the snmpd daemon. The
Distributed Protocol Interface (DPI) Version 2 is an extension of this SNMP agent.
The SNMP manager system can reside on the same system as the Tivoli Storage
Manager server, but typically would be on another system connected through
SNMP. The SNMP management tool can be any application, such as NetView or
Tivoli Enterprise Console, which can manage information through SNMP MIB
monitoring and traps. The Tivoli Storage Manager server system runs the processes
needed to send Tivoli Storage Manager event information to an SNMP
management system. The processes are:
v SNMP agent (snmpd)
v Tivoli Storage Manager SNMP subagent (dsmsnmp)
v Tivoli Storage Manager server (dsmserv)
SNMP Manager
Windows Linux
System
Tivoli Storage Tivoli Storage
AIX Manager server Manager server
SNMP Manager
SNMP DPI
Solaris HP-UX
Figure 96 on page 818 shows how the communication for SNMP works in a Tivoli
Storage Manager system:
v The SNMP manager and agent communicate with each other through the SNMP
protocol. The SNMP manager passes all requests for variables to the agent.
v The agent then passes the request to the subagent and sends the answer back to
the manager. The agent responds to the manager's requests and informs the
manager about events by sending traps.
v The agent communicates with both the manager and subagent. It sends queries
to the subagent and receives traps that inform the SNMP manager about events
taking place on the application monitored through the subagent. The SNMP
agent and subagent communicate through the Distributed Protocol Interface
(DPI). Communication takes place over a stream connection, which typically is a
TCP connection but could be another stream-connected transport mechanism.
Chapter 27. Logging IBM Tivoli Storage Manager events to receivers 817
v The subagent answers MIB queries of the agent and informs the agent about
events by sending traps. The subagent can also create and delete objects or
subtrees in the agent's MIB. This allows the subagent to define to the agent all
the information needed to monitor the managed application.
SNMP Manager
get/set
respond
SNMP Protocol SNMP Protocol
trap
SNMP Agent
query
reply
SNMP DPI register SNMP DPI
trap
SNMP Subagent
Note:
1. You can start dsmsnmp and the server in any order. However, starting dsmsnmp
first is more efficient in that it avoids retries.
2. The MIB file name is [Link]. The file name is located in the directory in
which the server is installed.
3. Merge the contents of the [Link] file into the /etc/[Link] file.
The IBM Tivoli Storage Manager SNMP set up procedure is illustrated by Figure 97
on page 819:
snmpd
SNMP DPI
Windows
SNMP DPI
dsmsnmp
[Link]
Tivoli Storage
Manager server
Procedure
1. Modify the server options file to specify the SNMP communication method.
Figure 98 displays an example of a SNMP communication method setting in the
server options file.
You must specify the COMMMETHOD and SNMPSUBAGENT options. The
SNMPSUBAGENT option must specify a host that is an AIX system with a
DPI-enabled SNMP agent, such as the SystemView agent.
commmethod snmp
snmpsubagent hostname jimbo communityname public timeout 600
snmpsubagentport 1521
snmpheartbeatinterval 5
snmpmessagecategory severity
For details about server options, see the server options section in
Administrator's Reference.
2. Install, configure, and start the SNMP agent as described in the documentation
for that agent. The SNMP agent must support the DPI Version 2.0 standard.
Tivoli Storage Manager supports the SNMP agent that is built into the AIX
operating system.
Before starting the agent, ensure that the dpid2 and snmpd subsystems have
been started.
Chapter 27. Logging IBM Tivoli Storage Manager events to receivers 819
begin eventlogging snmp
enable event snmp all
6. Define the Tivoli Storage Manager SNMP MIB values for the SNMP manager to
help format and display the Tivoli Storage Manager SNMP MIB variables and
messages. The [Link] file ships with the Tivoli Storage Manager server
and must be loaded by the SNMP manager. This file is in the installation
directory of the server. For example, when you run NetView for Windows as an
SNMP manager, the [Link] file is copied to the \netview_path\SNMP_MIB
directory and then loaded through the following command:
[C:\] loadmib -load [Link]
To enable severe and error events for logging on the Event Log, you can issue the
ENABLE EVENTS command. For example:
enable events nteventlog severe,error
The sending server receives the enabled events and routes them to a designated
event server. This is done by a receiver that IBM Tivoli Storage Manager provides.
At the event server, an administrator can enable one or more receivers for the
events being routed from other [Link] 99 on page 821 shows the
relationship of a sending Tivoli Storage Manager server and a Tivoli Storage
Manager event server.
Server Console
Client
Messages Event Event File
Rules EVENTS Rules
User Exit
Tivoli Event
Console
Server
Messages
The following scenario is a simple example of how enterprise event logging can
work.
Then the administrator enables the events by issuing the ENABLE EVENTS
command for each sending server. For example, for SERVER_A the
administrator would enter:
enable events file severe,error servername=server_a
Note: By default, logging of events from another server is enabled to the event
server activity log. However, unlike events originating from a local server,
events originating from another server can be disabled for the activity log at an
event server.
Chapter 27. Logging IBM Tivoli Storage Manager events to receivers 821
One or more servers can send events to an event server. An administrator at the
event server enables the logging of specific events from specific servers. In the
previous example, SERVER_A routes severe, error, and warning messages to
SERVER_B. SERVER_B, however, logs only the severe and error messages. If a
third server sends events to SERVER_B, logging is enabled only if an ENABLE
EVENTS command includes the third server. Furthermore, the SERVER_B
determines the receiver to which the events are logged.
Because the lists of enabled and disabled events could be very long, Tivoli Storage
Manager displays the shorter of the two lists.
For example, assume that 1000 events for client node HSTANFORD were enabled
for logging to the user exit and that later two events were disabled. To query the
enabled events for HSTANFORD, you can enter:
query enabled userexit nodename=hstanford
The output would specify the number of enabled events and the message names of
disabled events:
998 events are enabled for node HSTANFORD for the USEREXIT receiver.
The following events are DISABLED for the node HSTANFORD for the USEREXIT
receiver:
ANE4000, ANE49999
The QUERY EVENTRULES command displays the history of events that are
enabled or disabled by a specific receiver for the server or for a client node.
query enabled userexit nodename=hstanford
The samples for the C, H, and make files are shipped with the server code in the
\win32app\ibm\adsm directory.
You can also use Tivoli Storage Manager commands to control event logging. For
details, see Chapter 27, “Logging IBM Tivoli Storage Manager events to receivers,”
on page 807 and Administrator's Reference.
/***********************************************************************
* Name: USEREXITSAMPLE.H
* Description: Declarations for a user exit
* Environment: WINDOWS NT
***********************************************************************/
#ifndef _H_USEREXITSAMPLE
#define _H_USEREXITSAMPLE
#include <stdio.h>
#include <sys/types.h>
#ifndef uchar
typedef unsigned char uchar;
#endif
/* DateTime Structure Definitions - TSM representation of a timestamp */
typedef struct
{
uchar year; /* Years since BASE_YEAR (0-255) */
uchar mon; /* Month (1 - 12) */
uchar day; /* Day (1 - 31) */
uchar hour; /* Hour (0 - 23) */
uchar min; /* Minutes (0 - 59) */
uchar sec; /* Seconds (0 - 59) */
} DateTime;
/******************************************
* Some field size definitions (in bytes) *
******************************************/
#define MAX_SERVERNAME_LENGTH 64
#define MAX_NODE_LENGTH 64
#define MAX_COMMNAME_LENGTH 16
#define MAX_OWNER_LENGTH 64
#define MAX_HL_ADDRESS 64
#define MAX_LL_ADDRESS 32
#define MAX_SCHED_LENGTH 30
#define MAX_DOMAIN_LENGTH 30
#define MAX_MSGTEXT_LENGTH 1600
/**********************************************
* Event Types (in [Link]) *
**********************************************/
/***************************************************
* Application Types (in [Link]) *
***************************************************/
Chapter 27. Logging IBM Tivoli Storage Manager events to receivers 823
#define TSM_APPL_HSM 2 /* Space manage client */
#define TSM_APPL_API 3 /* API client */
#define TSM_APPL_SERVER 4 /* Server (ie. server to server ) */
/*****************************************************
* Event Severity Codes (in [Link]) *
*****************************************************/
/************************************************************
* Data Structure of Event that is passed to the User-Exit. *
* The same structure is used for a file receiver *
************************************************************/
/************************************
* Size of the Event data structure *
************************************/
/*************************************
* User Exit EventNumber for Exiting *
*************************************/
/**************************************
*** Do not modify above this line. ***
**************************************/
#endi
/***********************************************************************
* Name: USEREXITSAMPLE.C
* Description: Example user-exit program that is invoked by
* the TSM V3 Server
* Environment: *********************************************
* ** This is a platform-specific source file **
* ** versioned for: "WINDOWS NT" **
* *********************************************
***********************************************************************/
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <io.h>
#include <windows.h>
#include "USEREXITSAMPLE.H"
/**************************************
*** Do not modify below this line. ***
**************************************/
/****************
*** DLL MAIN ***
****************/
BOOL WINAPI
DllMain(HMODULE hMod, DWORD fdwReason, LPVOID lpvReserved)
{
return(TRUE);
} // End of WINAPI
/******************************************************************
* Procedure: adsmV3UserExit
* If the user-exit is specified on the server, a valid and
* appropriate event will cause an elEventRecvData structure
* (see USEREXITSAMPLE.H) to be passed to a procedure named
* adsmV3UserExit that returns a void.
*
* This procedure can be named differently:
* ----------------------------------------
* The procedure name must match the function name specified in
* the server options file (4th arg). The DLL name generated from
* this module must also match in the server options file
* (3rd arg).
* INPUT : A (void *) to the elEventRecvData structure
* RETURNS: Nothing
******************************************************************/
/**************************************
*** Do not modify above this line. ***
**************************************/
Chapter 27. Logging IBM Tivoli Storage Manager events to receivers 825
fprintf(stderr,"NT UserExit: Got event
/* Be aware that certain function calls are process-wide and can cause
* synchronization of all threads running under the TSM Server process!
* Among these is the system() function call. Use of this call can
* cause the server process to hang and otherwise affect performance.
* Also avoid any functions that are not thread-safe. Consult your
* system’s programming reference material for more information.
*/
The following table presents the format of the output. Fields are separated by
blank spaces.
Table 65. Readable text file exit (FILETEXTEXIT) format
Column Description
0001-0006 Event number (with leading zeros)
0008-0010 Severity code number
0012-0013 Application type number
0015-0023 Session ID number
0025-0027 Event structure version number
0029-0031 Event type number
0033-0046 Date/Time (YYYYMMDDDHHmmSS)
0048-0111 Server name (right padded with spaces)
1
0113-0176 Node name
1
0178-0193 Communications method name
1
0195-0258 Owner name
1
0260-0323 High-level internet address (n.n.n.n)
1
0325-0356 Port number from high-level internet address
1
0358-0387 Schedule name
1
0389-0418 Domain name
0420-2019 Event text
2020-2499 Unused spaces
Chapter 27. Logging IBM Tivoli Storage Manager events to receivers 827
828 IBM Tivoli Storage Manager for Windows: Administrator's Guide
Part 6. Protecting the server
Disasters, by their very nature, cannot be predicted, in either their intensity, timing,
or long-term effects. The ability to recover from a disaster, if one occurs, is
essential. To protect your system infrastucture and data and to recover from a
disaster, use the tools and procedures that Tivoli Storage Manager provides.
The security of your data is the most important aspect of managing data. You can
control access to the server and client nodes, encrypt data transmission, and
protect administrator and node passwords through authentication processes. The
two methods of authentication are LOCAL and LDAP. The LOCAL password
authentication takes place on the Tivoli Storage Manager server, and those
passwords are not case-sensitive.
LDAP password authentication takes place on the LDAP directory server, and the
passwords are case-sensitive. When using LDAP authentication, the password is
sent to the server by the client. By default, Secure Sockets Layer (SSL) is required
when LDAP authentication is used, to avoid exposing the password. SSL is used
when authenticating the server to the client and secures all communication
between the client and server. You can choose not to use SSL with LDAP
authentication if other security measures are in place to protect the password. One
example of an alternative security measure is a virtual private network (VPN)
connection.
Related concepts:
“Managing Tivoli Storage Manager administrator IDs” on page 844
“Managing passwords and logon procedures” on page 852
“Securing the server console” on page 843
“Securing sensitive client data” on page 539
Related reference:
“Managing access to the server and clients” on page 844
“Administrative authority and privilege classes” on page 845
Securing communications
You can add more protection for your data and passwords by using Secure Sockets
Layer (SSL).
SSL is the standard technology for creating encrypted sessions between servers and
clients. SSL provides a secure channel for servers and clients to communicate over
open communication paths. With SSL, the identity of the server is verified through
the use of digital certificates.
To ensure better system performance, use SSL only for sessions when it is needed.
Consider adding additional processor resources on the Tivoli Storage Manager
server to manage the increased requirements.
Tip: Any Tivoli Storage Manager documentation that indicates "SSL" or to "select
SSL" applies to TLS.
SSL is provided by the Global Security Kit (GSKit) that is installed with the Tivoli
Storage Manager server that the server, client, and storage agent use. The
Operations Center and Reporting agent do not use GSKit.
Each Tivoli Storage Manager server, client, or storage agent that enables SSL must
use a trusted self-signed certificate or obtain a unique certificate that is signed by a
certificate authority (CA). You can use your own certificates or purchase certificates
from a CA. Either certificate can be installed and added to the key database on the
Tivoli Storage Manager server, client, or storage agent. The certificate is verified by
the SSL client or server that requests or initiates the SSL communication.
SSL is set up independently on the Tivoli Storage Manager server, client, and
storage agent.
The Tivoli Storage Manager server, client, or storage agent can serve as SSL clients
during communication. An SSL client is the component that initiates
communication and verifies the certificate for an SSL server. For example, if a
Tivoli Storage Manager client initiates the SSL communication with a Tivoli Storage
Manager server, the Tivoli Storage Manager client is the SSL client and the server
is the SSL server.
For more information about the components that can be an SSL client or SSL
server, see Table 66.
Table 66. SSL clients and servers in a Tivoli Storage Manager environment
SSL client SSL server Description
Client Server The Tivoli Storage Manager client initiates a communication
request with the Tivoli Storage Manager server. The client
verifies the certificate. The server provides the certificate.
Server (such Server (such The Tivoli Storage Manager source server initiates a
as a source as a target communication request with the Tivoli Storage Manager
server) server) target server. The source server acts as an SSL client and
verifies the certificate that the target server provides.
The storage agent can be the SSL client and the SSL provider
at the same time.
Server LDAP server The Tivoli Storage Manager server initiates a communication
request with the LDAP server. The Tivoli Storage Manager
server acts as the SSL client and verifies the certificate that
the LDAP server provides.
Operations Server The Operations Center initiates a communication request
Center with the Tivoli Storage Manager server. The Operations
Center acts as the SSL client and verifies the certificate that
the Tivoli Storage Manager server provides.
Reporting Server The Reporting agent initiates a communication request with
the Tivoli Storage Manager server. The Reporting feature acts
as the SSL client and verifies the certificate that the Tivoli
Storage Manager server provides.
Setting up SSL
You can set up SSL or TLS on the Tivoli Storage Manager server, backup-archive
client, and storage agent to ensure that your data is encrypted during
communication. You can use an SSL certificate to verify an SSL communication
request between the server, client, and storage agent.
Procedure
To configure Tivoli Storage Manager servers and clients for SSL or TLS, complete
the following steps:
1. Specify the TCP/IP port on which the server waits for client communications
that are enabled for SSL or TLS. You can use the SSLTCPADMINPORT option or
SSLTCPPORT option, or both, to specify TLS port numbers. The options are
stored in the [Link] file.
2. Create the key database file if it does not exist. Complete the following steps to
create the key database file for the server, client, and storage agent:
v For Tivoli Storage Manager V6.3.3 and later servers, the [Link] file and
other files that are related to SSL or TLS are created when the server is first
started. Tivoli Storage Manager automatically creates the server key database
file, [Link]. If a password exists for the server database, it is reused for the
[Link] key database. After you create the database, the key database access
password is generated and stored.
v To create the key database file for the storage agent, issue the DSMSTA
SETSTORAGESERVER command and specify the SSL=YES and
STAKEYDBPW=password parameters.
v To create the key database file, [Link], for the client, issue the following
command in the bin directory on the client:
Important: To use TLS 1.2, the default label must be “TSM Server
SelfSigned SHA key”. You must specify the SSLTLS12 YES server option
in the server options file and the storage agent options file, if necessary.
CA-signed certificate
You must obtain a unique certificate that is signed by a CA or use a
trusted self-signed certificate for each server that enables SSL or TLS.
Backup-archive clients use the [Link] or [Link] files to import
the self-signed certificates, which the server automatically generates.
4. Manually transfer the appropriate Tivoli Storage Manager server .arm file to the
client computers. If you transfer the [Link] file, you must first change the
default certificate in the [Link] file to the “TSM Server SelfSigned SHA Key”
label. To change the default certificate, issue the following command from the
server instance directory:
gsk8capicmd_64 -cert -setdefault -db [Link]
-stashed -label "TSM Server SelfSigned SHA Key"
5. Using a backup-archive client user ID, specify the ssl yes and tcpport options
in the client options file:
v [Link]
The server is normally set up for SSL or TLS connections on a different port. If
you use an SSL or TLS connection, two ports are open on the server. One port
accepts regular non-SSL or non-TLS client connections and the other port
accepts SSL or TLS connections only.
6. If you want to use a certificate that is issued by a certificate authority (CA),
you do not need to complete steps 4 and 5. Install the CA root certificate on all
clients. A set of default root certificates are preinstalled if you specified the
-populate parameter in the command when you created the key database file.
Related reference:
“Adding a certificate to the key database” on page 836
For IPv4 or IPv6, the COMMMETHOD server option must specify either TCPIP or
V6TCPIP. The server options for TLS communications are SSLTCPPORT and
SSLTCPADMINPORT. The server can listen on separate ports for the following
communications:
v Backup-archive clients that use the regular protocol
v Administrator IDs that use the regular protocol
v Backup-archive clients that use the TLS protocol
v Administrator IDs that use the TLS protocol
Use the TCPADMINPORT and SSLTCPADMINPORT options to separate administrative
client traffic from regular client traffic on TCPPORT and SSLTCPPORT options. If the
TCPADMINPORT and SSLTCPADMINPORT options are not used, administrative traffic
flows on client ports as well.
The backup-archive client user decides which protocol to use and which port to
specify in the [Link] file for the SSLTCPADMINPORT option. If the
backup-archive client requires TLS authentication but the server is not in TLS
mode, the session fails.
Related concepts:
“Managing passwords and logon procedures” on page 852
Related tasks:
“Configuring Tivoli Directory Server for TLS on the iKeyman GUI” on page 840
“Configuring Tivoli Directory Server for TLS on the command line” on page 841
Related reference:
“Configuring Windows Active Directory for TLS/SSL” on page 842
You can use your own certificates or purchase certificates from a CA. Either can be
installed and added to the key database. If you include the -stashpw parameter on
a GSKit gsk8capicmd_64 command, the password that you define is saved for later
use. The server and the storage agent create the key databases by using the stash
facility.
The key database is created when you start the Tivoli Storage Manager server. If
the certificate is signed by a trusted CA, obtain the certificate, install it in the key
database, and restart the server. Because the certificate is provided by a trusted
authority, the certificate is accepted by Tivoli Storage Manager and communication
between server and client can start.
For example, to add a certificate to the key database for the client, issue the
following command:
gsk8capicmd_64 -cert -add -label "TSM061" -format ascii
-file [Link] -db [Link] -pw password
The [Link] file is generated by the V6.3 server for distribution to the V6.3 or
later backup-archive clients, and for use in server-server communication and
storage agent-server communication. The [Link] file might also be generated by
the V6.3 server, but is not designed for passwords that authenticate with an LDAP
server.
The first time that you enter a password you can use the -stashpw password
parameter. The password is then saved in the *.sth file and retrieved when you
use the -stashed parameter in later commands. You can use the -stashpw password
parameter with the CREATE and POPULATE parameters.
To show the certificates that are available to use for SSL or TLS communication,
issue the following command from the client directory:
gsk8capicmd_64 -cert -list -db [Link] -stashed
Related concepts:
“Managing passwords and logon procedures” on page 852
You can use a Transport Layer Security (TLS) certificate if the client trusts the
certificate authority (CA). Trust is established when you add a signed certificate to
the server key database and use a root certificate for the CA in the client key
database.
The Global Security Kit (GSKit) is included in the Tivoli Storage Manager server
installation. The backup-archive client and server communicate with SSL through
services provided by GSKit.
Procedure
Complete the following steps to add a certificate to the key database using GSKit:
1. Obtain a signed, server key database certificate from your CA.
2. To receive the signed certificate and make it the default for communicating
with clients, issue the following command:
gsk8capicmd_64 -cert -receive -db [Link]
-pw password -stash -file cert_signed.arm -default_cert yes
Tip: For this example, the client key database name is [Link].
6. To verify that the client can successfully connect, issue the dsmc query session
command.
Procedure
If you do not have a backup copy of the [Link] file, perform the following steps:
1. Issue the DELETE KEYRING server command to delete the entry for it that is
located in the Tivoli Storage Manager database.
2. Delete all remaining cert.* files.
3. Shut down the server.
4. Start the server. The server automatically creates a new [Link] file and a
corresponding entry in the Tivoli Storage Manager database. If you do not issue
the DELETE KEYRING command, the server attempts, on startup, to create the key
database with the previous password.
Procedure
To set up the storage agent to use SSL communication with the Tivoli Storage
Manager server and client, complete the following steps:
1. On the storage agent, issue the DSMSTA SETSTORAGESERVER command to
initialize the storage agent and add communication information to the device
configuration file and the storage agent options file [Link]:
Hint: The following command is entered on one line, but is displayed here on
multiple lines to make it easier to read.
dsmsta setstorageserver myname=sta
mypa=sta_password
myhla=ip_address
servername=server_name
serverpa=server_password
hla=ip_address
lla=ssl_port
STAKEYDBPW=password
ssl=yes
Requirement:
v When you set the SSL=YES and STAKEYDBPW=password parameters, a key
database file is set up in the storage agent options file, [Link]. All
passwords are obfuscated in [Link].
v To enable SSL communication, ensure that the Tivoli Storage Manager LLA
parameter specifies the server SSLTCPADMIN port. If the SSLTCPADMIN is not
specified, use the SSLTCPPORT port instead. Set the SSL parameter to YES.
2. Import the Tivoli Storage Manager server certificate, [Link], to the key
database file for the storage agent. Ensure that the required SSL certificates are
in the key database file that belongs to each storage agent that uses SSL
communication. To import the SSL certificate, switch to the storage agent
directory and issue the following command:
gskcapicmd_64 -cert -add -label server_example_name
-db [Link] -stashed -file [Link] -format ascii
3. Specify the SSLTCPPORT and the SSLTCPADMINPORT options in the [Link]
options file.
4. Create the key database certificate and default certificates by starting the
storage agent.
Tip: To provide the new password to the storage agent, you must change the
key database password and then issue the DSMSTA SETSTORAGESERVER
command.
Results
When the Tivoli Storage Manager server and storage agent initiate communication,
SSL certificate information is displayed to indicate that SSL is in use.
Related reference:
“Adding a certificate to the key database” on page 836
TLS is provided by the Global Security Kit (GSKit) that is installed with the Tivoli
Storage Manager server.
If you use an LDAP directory server to authenticate passwords, you can use the
SSL or TLS protocol to secure connections between the Tivoli Storage Manager
server and the LDAP server. When you configure the Tivoli Storage Manager
server to work with an LDAP directory server, you must consider the directory
server to use before you configure SSL or TLS.
The LDAP directory server must supply a trusted certificate to the Tivoli Storage
Manager server. If the Tivoli Storage Manager server determines that the certificate
is valid, an SSL or TLS connection is established. If not, the connection fails. The
root certificate that is used with the LDAP Directory server certificate must be
added to the key database file for the Tivoli Storage Manager server. If the root
certificate is not added, the LDAP Directory server certificate cannot be used.
The directory servers that are available are IBM Tivoli Directory Server V6.2 or 6.3
or Windows Active Directory 2003 or 2008. You can configure Tivoli Directory
Configuring IBM Tivoli Directory Server is one of the preliminary tasks you must
do before you can authenticate passwords with an LDAP directory server. The
Tivoli Directory Server can use a self-signed certificate to secure the
communication between server and backup-archive client, and the LDAP directory
server.
You can use the iKeyman graphical user interface (GUI) to set up Tivoli Directory
Server. If the Tivoli Storage Manager server already has a trusted certificate from
your LDAP server, you do not have to complete the steps that are documented
here. If the LDAP directory server already has a signed certificate, you do not have
to complete these steps.
Procedure
To configure Tivoli Directory Server for Transport Layer Security (TLS) by using
the iKeyman GUI, complete the following steps:
1. Install and configure Java Runtime Environment 1.4.1 or later before you
install Tivoli Directory Server.
2. Ensure that you have GSKit version 8 installed. See Instructions to install,
uninstall, and upgrade GSKit 8 ([Link]
[Link]?uid=swg21577384).
3. Set the JAVA_HOME environmental variable to point to the Java subdirectory
of the Tivoli Directory Server installation directory. The installation directory is
/opt/IBM/ldap/Vx.x, where x.x is the version number.
4. Ensure that the local_policy.jar and US_export_policy.jar files are in the
$JAVA_HOME/jre/lib/security directory.
5. Verify whether the Content Management system (CMS) provider is registered.
Open the $JAVA_HOME/jre/lib/security/[Link] file to see whether the
entry exists. If the entry does not exist, open the [Link] file and add
the following entry:
[Link].X=[Link]
You must configure IBM Tivoli Directory Server before you can authenticate
passwords with an LDAP directory server. The Tivoli Directory Server can use a
self-signed certificate to secure the communication between server and
backup-archive client, and the LDAP directory server.
If the Tivoli Storage Manager server already has a trusted certificate from your
LDAP server, you do not have to complete the steps that are documented here. If
the LDAP directory server already has a signed certificate, you do not have to
complete these steps.
Procedure
To configure Tivoli Directory Server for Transport Layer Security (TLS), complete
the following steps:
1. Using the Tivoli Directory Server instance user name, create the key database
by issuing the following command:
gsk8capicmd_64 -keydb -create -db "directory/[Link]"
-pw “pa$$=w0rd” -stashpw -populate
2. Create a self-signed certificate or get one from a certificate authority (CA). To
create a self-signed certificate, issue the following command:
gsk8capicmd_64 -cert -create -db "directory/[Link]" -stashed -label
"LDAP_directory_server" -dn "cn=[Link]"
-san_dnsname [Link] -size 2048
-sigalg SHA256WithRSA -expire 3650
3. Extract the certificate to a file by issuing the following command:
gsk8capicmd_64 -cert -extract -db "directory/[Link]" -stashed -label
"LDAP_directory_server" -target [Link] -format ascii
4. Copy the certificate file ([Link]) to the Tivoli Storage Manager server.
5. To add the certificate to the Tivoli Storage Manager server key database, issue
the following command from the Tivoli Storage Manager server. You must issue
the command from the instance user ID from the instance directory.
gsk8capicmd_64 -cert -add -db "[Link]" -stashed -label
"LDAP_directory_server" -format ascii -file [Link]
Tip: The Tivoli Storage Manager server authenticates with the “LDAP simple
password authentication” method.
8. Restart Tivoli Directory Server and Tivoli Storage Manager server.
You must configure Windows Active Directory before the Tivoli Storage Manager
server can authenticate passwords.
To set up the Windows Active Directory server, complete the following steps:
1. Turn off automatic root certificate updates to Windows Update if your
Windows Active Directory server does not have access to the internet.
2. Synchronize the system times of the Tivoli Storage Manager server and the
Windows Active Directory system. You can use a Network Time Protocol (NTP)
server. For more information about synchronizing the system times, see your
operating system documentation. You can also see the Microsoft website for
information about synchronizing Active Directory (http://
[Link]/en-us/library/cc786897).
3. Set up Transport Layer Security (TLS) for LDAP server connections. Go to the
Microsoft website ([Link] and search for LDAP and SSL.
a. Obtain a signed certificate. Active Directory requires that a signed certificate
be in the Windows certificate store to enable TLS. You can obtain a signed
certificate from the following sources:
v A third-party certificate authority (CA)
v Install the Certificate Services role on a system that is joined to the Active
Directory domain and configure an enterprise root CA
Tip: To determine whether the file is DER binary or ASCII, open the certificate
in a text editor. If you can read the characters, then the file is ASCII.
Ensure that you have the root certificate and that the subject on the certificate
matches the CA name. The “Issued by” and “Issued to/subject” for the root
certificate must be the same. Export the CA certificate by using one of the
following methods:
v Export the CA certificate from the “Certificates (Local Computer)” Microsoft
Management Console (MMC) snap-in.
v Copy the certificate from C:\Windows\system32\certsrv\CertEnroll\*.crt
into the server key database. The file is in DER binary format.
v Download the CA certificate file from the Certificate Services web interface
[Link] server hostname>/certsrv/, if it is enabled through
the Certificate Enrollment Web Services.
6. Copy the certificate to the Tivoli Storage Manager server.
7. Add the certificate to the Tivoli Storage Manager server key database. Issue the
following command from the Tivoli Storage Manager server as the instance
user from the instance directory:
gsk8capicmd_64 -cert -add -db "[Link]" -stashed
-label "My CA" -format ascii -file [Link]
Tip: The Tivoli Storage Manager server authenticates with the “LDAP simple
password authentication” method.
Related tasks:
Setting up TLS
An administrator with system privilege can revoke or grant new privileges to the
SERVER_CONSOLE user ID. However, an administrator cannot update, lock,
rename, or remove the SERVER_CONSOLE user ID. The SERVER_CONSOLE user
ID does not have a password.
Therefore, you cannot use the user ID from an administrative client unless you set
authentication to off.
Table 68 describes the typical tasks for managing access to the server and clients.
Table 68. Managing access
Task Details
Allow a new administrator to access the 1. “Registering administrator IDs” on page
server 847
2. “Granting authority to administrators” on
page 848
Modify authority for registered “Managing Tivoli Storage Manager
administrators administrator IDs”
Give a user authority to access a client “Managing client access authority levels” on
remotely page 447
Give an administrator authority to create a “Generating client backup sets on the server”
backup set for a client node on page 544
Prevent administrators from accessing the “Locking and unlocking administrator IDs
server from the server” on page 852
Prevent new sessions with the server, but “Disabling or enabling access to the server”
allow current sessions to complete on page 471
Prevent clients from accessing the server “Locking and unlocking client nodes” on
page 440
Change whether passwords are required to “Disabling the default password
access IBM Tivoli Storage Manager authentication” on page 865
Change requirements for passwords v “Modifying the default password
expiration period for passwords that are
managed by the Tivoli Storage Manager
server” on page 860
v “Setting a limit for invalid password
attempts” on page 863
v “Setting a minimum length for a
password” on page 864
Prevent clients from initiating sessions within “Server-initiated sessions” on page 433
a firewall
Tip: For information on connecting with IBM
Tivoli Storage Manager across a firewall, refer
to the Installation Guide.
Related reference:
“Administrative authority and privilege classes”
Important: Two server options give you additional control over the ability of
administrators to perform tasks.
v QUERYAUTH allows you to select the privilege class that an administrator must
have to issue QUERY and SELECT commands. By default, no privilege class is
required. You can change the requirement to one of the privilege classes,
including system.
v REQSYSAUTHOUTFILE allows you to specify that system authority is required for
commands that cause the server to write to an external file (for example,
BACKUP DB). By default, system authority is required for such commands.
See the Administrator's Reference for details on server options.
Restricted Restricted
Unrestricted Unrestricted
Table 69 summarizes the privilege classes, and gives examples of how to set
privilege classes.
Table 69. Authority and privilege classes
Privilege Class Capabilities
System Perform any administrative task with the
grant authority rocko classes=system server.
v System-wide responsibilities
v Manage the enterprise
v Manage IBM Tivoli Storage Manager
security
Unrestricted Policy Manage the backup and archive services for
grant authority smith classes=policy nodes assigned to any policy domain.
v Manage nodes
v Manage policy
v Manage schedules
Restricted Policy Same capabilities as unrestricted policy
grant authority jones domains=engpoldom except authority is limited to specific policy
domains.
Unrestricted Storage Manage server storage, but not definition or
grant authority coyote classes=storage deletion of storage pools.
v Manage the database and recovery log
v Manage IBM Tivoli Storage Manager
devices
v Manage IBM Tivoli Storage Manager
storage
Restricted Storage Manage server storage, but limited to specific
grant authority holland stgpools=tape* storage pools.
v Manage IBM Tivoli Storage Manager
devices
v Manage IBM Tivoli Storage Manager
storage
Related concepts:
“Overview of remote access to web backup-archive clients” on page 445
“Managing Tivoli Storage Manager administrator IDs” on page 844
Procedure
To query the system for a detailed report on administrator ID DAVEHIL, issue the
following example QUERY ADMIN command:
query admin davehil format=detailed
Only administrator IDs that authenticate to the LDAP directory server are listed in
the report.
Procedure
For example, JONES has restricted policy privilege for policy domain
ENGPOLDOM.
Procedure
1. To extend JONES’ authority to policy domain MKTPOLDOM and add operator
privilege, issue the following example command:
grant authority jones domains=mktpoldom classes=operator
2. As an additional example, assume that three tape storage pools exist:
TAPEPOOL1, TAPEPOOL2, and TAPEPOOL3. To grant restricted storage
privilege for these storage pools to administrator HOLLAND, you can issue the
following command:
grant authority holland stgpools=tape*
3. HOLLAND is restricted to managing storage pools with names that begin with
TAPE, if the storage pools existed when the authority was granted. HOLLAND
is not authorized to manage any storage pools that are defined after authority
has been granted. To add a new storage pool, TAPEPOOL4, to HOLLAND’s
authority, issue the following command:
grant authority holland stgpools=tapepool4
For example, rather than revoking all of the privilege classes for administrator
JONES, you want to revoke only the operator authority and the policy authority to
policy domain MKTPOLDOM.
Procedure
Issue the following command to revoke only the operator authority and the policy
authority to policy domain MKTPOLDOM:
revoke authority jones classes=operator domains=mktpoldom
Procedure
For example, administrator HOGAN has system authority. To reduce authority for
HOGAN to the operator privilege class, perform the following steps:
1. Revoke the system privilege class by issuing the following command:
revoke authority hogan classes=system
2. Grant operator privilege class by issuing the following command:
grant authority hogan classes=operator
For example, to revoke both the storage and operator privilege classes from
administrator JONES, issue the following command:
revoke authority jones
Tip: If you authenticate a password with an LDAP directory server, the letters and
characters that comprise the password are case-sensitive.
Procedure
Renaming an administrator ID
You can rename an administrator ID if it needs to be identified by a new ID. You
can also assign an existing administrator ID to another person by issuing the
RENAME command. You cannot rename an administrator ID to one that exists on the
system.
For example, if administrator HOLLAND leaves your organization, you can assign
administrative privilege classes to another user by completing the following steps:
Procedure
1. Assign HOLLAND's user ID to WAYNESMITH by issuing the RENAME ADMIN
command:
Results
Procedure
Important:
1. You cannot remove the last system administrator from the system.
2. You cannot remove the administrator SERVER_CONSOLE.
Results
You can also lock or unlock administrator IDs according to the form of
authentication that they use. When you specify AUTHENTICATION=LOCAL in the
command, all administrator IDs that authenticate with the Tivoli Storage Manager
server are affected. When you specify AUTHENTICATION=LDAP in the command, all
administrator IDs that authenticate with an LDAP directory server are affected.
Procedure
1. Lock MARYSMITH out by entering the following example command:
lock admin marysmith
2. When MARYSMITH returns, any system administrator can unlock the
administrator ID by issuing the following command:
unlock admin marysmith
MARYSMITH can now access the server to complete administrative tasks. You
cannot lock or unlock the SERVER_CONSOLE ID from the server.
Tivoli Storage
Manager backup-
archive clients DB2
Figure 104. Configuring the server to authenticate passwords with an LDAP directory server
The LDAP directory server interprets letters differently from the Tivoli Storage
Manager server. The LDAP directory server distinguishes the case that is used,
either uppercase or lowercase. For example, the LDAP directory server can
distinguish between secretword and SeCretwOrd. The Tivoli Storage Manager server
interprets all letters for LOCAL passwords as uppercase.
The following terms are used when describing the LDAP directory server
environment:
Distinguished name (DN)
A unique name in an LDAP directory. The DN consists of the following
information. The information must be ordered in this way.
v The relative distinguished name (RDN)
v The organizational unit (ou)
v The organization (o)
v The country (c)
For example:
uid=jackspratt,ou=marketing,o=[Link],c=us
uid=cbukowski,ou=manufacturing,o=[Link],c=us
uid=abbynormal,ou=sales,o=[Link],c=us
You must know the user ID that was specified in the SET LDAPUSER command. For
information about the Tivoli Directory access control lists, go to the Tivoli
Directory server information center ([Link]
tivihelp/v2r1/topic/[Link]/[Link]).
Note: Windows Active Directory users who change passwords when the “Enforce
password history” policy is enabled can authenticate with the previous password
for one hour. For more information, see the Microsoft site (http://
[Link]/?id=906305).
Procedure
Complete the following steps to set up the LDAP directory server so that it can
authenticate passwords:
1. Ensure that you have a directory server installed on the LDAP server. Use one
of the following directory servers:
v IBM Tivoli Directory Server V6.2 or 6.3
v Windows Active Directory version 2003 or 2008
Requirement: If you use Tivoli Directory Server V6.2, you must update Global
Security Kit (GSKit) to V7.0.4.33 or later. For more information, see SSL errors
after upgrading to ITDS 6.3 client ([Link]
[Link]?uid=swg21469388).
2. Create the base distinguished name (Base DN) on the LDAP directory server
for the Tivoli Storage Manager namespace. The Base DN is the part of the
LDAP directory structure from which Tivoli Storage Manager operates,
specified in the LDAPURL option. For example, ou=armonk,cn=tsmdata can be a
Base DN. See your LDAP documentation for how to create a Base DN.
3. Edit the access controls on the LDAP directory server and grant access to the
Base DN to the user ID, which is specified in the SET LDAPUSER command. This
ID cannot be a part of the Base DN. You can grant access to the Base DN to
more than one user ID. However, the security of the LDAP server can be easily
compromised if you have too many user IDs with full permission over the Base
DN.
4. Set up the directory server. See “Configuring SSL or TLS for LDAP directory
servers” on page 839.
What to do next
To verify that the LDAP directory server is properly set up, complete the following
steps on the Tivoli Storage Manager server:
1. Test the forward- and reverse-DNS lookup of the LDAP directory server.
2. Test the network connection with the LDAP directory server.
You establish policies for passwords that will be authenticated by each server.
Restriction: You can issue Tivoli Storage Manager server commands to manage
your password policies. If you set a password policy on both the LDAP server and
Tivoli Storage Manager server, the settings might conflict. The result might be that
you are not able to access a node or log on with an administrator ID. For
information on the maximum invalid attempts policy, see the table in “Setting a
limit for invalid password attempts” on page 863.
In addition to setting a policy for case sensitivity, you can configure the
LDAP-authenticated password policy to set the following options:
Password history
The password history is the number of times that you must define a new
password before you can reuse a password.
Minimum age
The minimum age is the length of time before you can change the
password.
Maximum age
The maximum age is the length of time before you must change the
password.
A combination of characters
You can determine the number of special characters, numbers, and
alphabetical characters for your passwords. For example, some products set
up a password policy to enforce the following rules:
v The password cannot contain the user account name or parts of the user
full name that exceed three consecutive characters
v The password must be at least eight characters in length
v The password must contain characters from two of the following four
categories:
– English uppercase characters (A through Z)
– English lowercase characters (a through z)
– Base 10 digits (0 through 9)
– Non-alphabetic characters (for example, !, $, #, %)
Use any of the following characters when you create a password:
The LDAP server that you use determines the complexity that you can
have for passwords outside of Tivoli Storage Manager.
Procedure
Complete the following steps on the Tivoli Storage Manager server to authenticate
passwords with an LDAP directory server:
1. Import the key database file from the LDAP directory server. You can use any
method to copy the file from the LDAP directory server to the Tivoli Storage
Manager server.
2. Open the [Link] file and specify the LDAP directory server with the
LDAPURL option. Specify the LDAP directory server URL and the base
distinguished name (DN) on the LDAPURL option. For example:
LDAPURL ldap://[Link]/cn=project_x
The default port is 389. If you want to use a different port number, specify it as
part of the LDAPURL option. For example, to specify a port of 222:
LDAPURL ldap://[Link]/cn=project_x
3. Restart the Tivoli Storage Manager server.
4. Issue the SET LDAPUSER command to define the ID of the user who can
administer Tivoli Storage Manager operations on the LDAP directory server.
This user ID must have full administrative authority over the Base DN and be
able to add, delete, and modify all Base DN entries. For example:
set ldapuser "cn=apastolico,ou=manufacturing,o=dhs,c=us"
See the Administrator’s Reference for more information about the SET LDAPUSER
command.
5. Issue the SET LDAPPASSWORD command to define the password for the user ID
that is defined in the LDAPUSER option. For example:
set ldappassword "boX=T^p$"
If the user ID and password are verified to be correct, communication lines are
opened and the node or administrator ID can run Tivoli Storage Manager
applications.
Procedure
For example:
register admin admin1 “c0m=p1e#Pa$$w0rd?s” authentication=ldap
register node node1 “n0de^Passw0rd%s” authentication=ldap
After you issue the commands, the passwords for administrator ID admin1 and
the node ID node1 can be authenticated with an LDAP directory server.
Tip: A node and its password or an administrator ID and its password each
occupy one inetOrgPerson object on the LDAP directory server. For information
about inetOrgPerson objects, see Definition of the inetOrgPerson LDAP Object
Class ([Link]
To know which authentication method is in use, issue the QUERY NODE
FORMAT=DETAILED or QUERY ADMIN FORMAT=DETAILED command.
2. Optional: To register all new nodes and administrator IDs with a default
authentication method, issue the SET DEFAULTAUTHENTICATION command. Any
REGISTER NODE or REGISTER ADMIN commands that are issued after you issue the
SET DEFAULTAUTHENTICATION command create nodes and administrators with the
default authentication method. You can set the authentication methods to
LDAP or LOCAL.
For information about the SET DEFAULTAUTHENTICATION command, see the
Administrator's Reference.
When you authenticate nodes and administrator IDs with an LDAP directory
server, you ensure more protection for your passwords. Communication lines
between the LDAP directory server and Tivoli Storage Manager are protected with
Transport Layer Security (TLS).
You can change a password authentication method after you configure the LDAP
directory server and the Tivoli Storage Manager server. However, you cannot
update the authentication method for your own user ID unless you have system
authority. If necessary, another administrator must change the authentication
method.
Procedure
The following example UPDATE NODE command has a password that is made up
of characters that are supported by the Tivoli Storage Manager server:
update node node1 n0de^87^n0de authentication=ldap
Tip: A shared LDAP server might have a password that is on the LDAP
directory server. In that case, the user is not prompted to enter a new
password.
2. Optional: Issue the QUERY NODE FORMAT=DETAILED or the QUERY ADMIN
FORMAT=DETAILED command to view the results. If you must change the
authentication method for several nodes or administrator IDs, you can use a
wildcard character (*). For example,
update node * authentication=ldap
In the preceding example, the authentication method for all nodes is changed
to “LDAP pending.”
What to do next
All nodes and administrator IDs require new passwords after you run the
UPDATE command. Before the node and administrative IDs are given a password,
they are in the LDAP pending state. The node and administrator IDs are updated
to use LDAP authentication, but you must first give them a password.
Find the nodes that are authenticated with the LDAP directory server:
query node authentication=ldap
Find the administrator IDs that do not authenticate their passwords with an LDAP
directory server:
query admin authentication=local
You can query individual nodes or administrator IDs to determine whether they
authenticate with an LDAP directory server. To determine the password
authentication method for node tivnode_12 issue the following command:
query node tivnode_12 format=detailed
Issue the SET PASSEXP command to set the password expiration period for selected
administrator IDs or client nodes. You must specify the administrator ID or node
name with the ADMIN or NODE parameter in the SET PASSEXP command. If you set
the expiration period only for selected users, the expiration period can be 0 - 9999
days. A value of 0 means that user's password never expires.
Restriction: The SET PASSEXP command does not affect administrator IDs and
nodes if their passwords are authenticated with an LDAP directory server.
Procedure
Issue the following command to set the expiration period of client node
node_tsm12 to 120 days:
The Tivoli Storage Manager server administrator has a new node that must
authenticate its password with an LDAP directory server. The first action is to
create the “cn=tsmdata” entry and Base DN on the LDAP directory server. The
server administrator can then set up the LDAPURL option that is based on the Base
DN. Here is an example entry for the LDAPURL option:
[Link]
LDAPURL ldaps://[Link]/cn=tsmdata
After you set the LDAPURL option, restart the server. Complete the following steps
to configure the server:
1. Issue the query option ldapurl command to validate that you entered all of
the values correctly.
2. Issue the set ldapuser uid=tsmserver,ou=Users,cn=aixdata command to
configure the LDAPUSER.
3. Issue the SET LDAPPASSWORD adsm4Data command to define the password.
4. For this scenario, the node that must be added is NODE1. Issue the following
command:
register node c0mplexPassw0rd NODE1 authentication=ldap
command.
A single node (UPDNODE1) that currently authenticates with the Tivoli Storage
Manager server is now required to authenticate with an LDAP directory server. For
UPDNODE1, use the AUTHENTICATION parameter in the UPDATE NODE command. For
example:
update node updnode1 newC0mplexPW$ authentication=ldap
If you want to update all your nodes to authenticate with an LDAP directory
server, you can use a wildcard. Issue the following command to have all the nodes
authenticate with an LDAP directory server:
update node * authentication=ldap
If you have nodes that authenticate with the Tivoli Storage Manager server and
nodes that authenticate with an LDAP directory server, you can determine where
nodes are authenticating. Issue the following command to determine which nodes
authenticate with an LDAP directory server:
query node authentication=ldap
Issue the following command to determine which nodes authenticate with the
Tivoli Storage Manager server:
query node authentication=local
You can issue a LOCK NODE command to lock all nodes that authenticate with the
Tivoli Storage Manager server. These nodes might be rarely used, and you might
not know by which password authentication method they are supposed to be
managed. When you lock the nodes, the node owners must consult with you. At
that point, you can find out whether they want to use the LDAP directory server
or stay with the Tivoli Storage Manager server. You can issue the LOCK NODE or
UNLOCK NODE commands with a wildcard to lock or unlock all nodes in that group.
To lock all nodes that authenticate with the Tivoli Storage Manager server, issue
the following command:
lock node * authentication=local
After you configure everything, you can design it so that every new node and
administrator authenticate with an LDAP directory server. After you issue the SET
DEFAULTAUTH command, you do not have to designate the authentication method
for any REGISTER NODE or REGISTER ADMIN commands. Issue the following
command to set the default authentication method to LDAP:
set defaultauth=ldap
Any REGISTER NODE or REGISTER ADMIN command that is issued after this SET
DEFAULTAUTH command inherits the authentication method (LDAP). If you want to
register a node that authenticates with the Tivoli Storage Manager server, include
AUTHENTICATION=LOCAL in the REGISTER NODE command.
On the Tivoli Storage Manager server, issue the SET INVALIDPWLIMIT command to
limit the invalid password attempts for the Tivoli Storage Manager namespace.
If you initially set a limit of 4 and then lower the limit, some clients might fail
verification during the next logon attempt.
After a client node is locked, only an administrator with storage authority can
unlock the node.
An administrator can also force a client to change their password on the next
logon by specifying the FORCEPWRESET=YES parameter on the UPDATE NODE or UPDATE
ADMIN command. For more information, see the Administrator's Reference.
Related tasks:
“Locking and unlocking client nodes” on page 440
“Locking and unlocking administrator IDs from the server” on page 852
This feature affects all node and administrator passwords, whether the password
authenticates with the Tivoli Storage Manager server or the LDAP directory server.
Procedure
To set the minimum password length to eight characters, issue the following
example command:
set minpwlength 8
The default value at installation is 0. A value of 0 means that the password length
is not checked. You can set the length value from 0 to 64.
You can only disable password authentication for passwords that authenticate with
the Tivoli Storage Manager server (LOCAL).
Procedure
To allow administrators and client nodes to access the Tivoli Storage Manager
server without entering a password, issue the following command:
set authentication off
With this feature, a user can log on to a Windows computer and access the
backup-archive client without entering another password. When unified logon is
enabled, the server continues to use its normal authentication methods for
protocols other than Named Pipes.
The procedure described here assumes that the Tivoli Storage Manager server and
all the Tivoli Storage Manager client computers are in the same Windows domain.
A Windows domain is a way of allowing the Windows Domain Controller to
manage the user accounts for all members of the domain. The Tivoli Storage
Manager unified logon procedure takes advantage of the convenience of allowing
the Windows domain to manage user accounts.
Tip: The Tivoli Storage Manager server can run successfully on the Windows
server or workstation operating system and does not have to reside on the
Windows Domain Controller computer.
To enable unified logon, you must have the following system requirements:
v The backup-archive client must be installed on a supported Windows operating
system.
v The Tivoli Storage Manager server must enable the Named Pipes protocol.
v The backup-archive client must use the Named Pipes communications method.
The unified logon feature applies only to node and administrator passwords that
authenticate to the Tivoli Storage Manager server. Passwords that are stored and
authenticate to an LDAP directory server are not affected by this feature.
Authentication must be LOCAL (Tivoli Storage Manager server) for unified logon to
apply.
Unified logon affects node and administrator passwords that authenticate to the
Tivoli Storage Manager server. Passwords that authenticate to an LDAP directory
server are not affected.
Procedure
Tip:
a. In the example, server_name is the NetBIOS name of the computer where
the Tivoli Storage Manager server is running.
b. In the example, nodename can be substituted with the name of the
workstation where the Tivoli Storage Manager server is installed.
c. The username must be the same as the Windows account name that the
user is logged in as.
10. To verify that unified logon is enabled, start the backup-archive client. You can
also perform a backup and restore.
Related tasks:
“Registering nodes with the server” on page 420
Database backups, infrastructure setup files, and copies of client data can be stored
offsite, as shown in Figure 105.
On-site Off-site
Backup
Archive Database
Database and
backups
recovery log
Disk storage pool
Server
Infrastructure
setup files
DRM: The disaster recovery manager (DRM ) can automate some disaster recovery tasks. A
note like this one identifies those tasks.
Related tasks:
“Storage pool hierarchies” on page 260
Related information:
Configuring clustered environments
DRM: To store database backup media and setup files offsite, you can use disaster recovery
manager.
Related tasks:
Chapter 32, “Disaster recovery manager,” on page 1005
Automatic backups by the database manager are based on the following values
that are set by Tivoli Storage Manager:
v The active log space that was used since the last backup, which triggers a full
database backup
v The active log utilization ratio, which triggers an incremental database backup
You can back up the database to tape, FILE, or to remote virtual volumes.
Reserve the device class that you want to use for backups so that the server does
not attempt to back up the database if a device is not available. If a database
backup shares a device class with a lower priority operation, such as reclamation,
and all the devices are in use, the lower priority operation is automatically
canceled. The canceled operation frees a device for the database backup.
Restriction: Tivoli Storage Manager does not support database backup (loading
and unloading) to a Centera device.
Procedure
To specify the device class to be used for database backups, issue the SET
DBRECOVERY command. For example, to specify a device class named DBBACK,
issue the following command:
set dbrecovery dbback
Tips:
v When you issue the SET DBRECOVERY command, you can also specify the number
of number of concurrent data streams to use for the backup. Use the NUMSTREAMS
parameter.
v To change the device class, reissue the SET DBRECOVERY command.
v If you issue the BACKUP DB command with the TYPE=FULL parameter, and the
device class is not the one that is specified in the SET DBRECOVERY command, a
warning message is issued. However, the backup operation continues and is not
affected.
v Device class definitions are saved in the device configuration files.
Related concepts:
“Configuring concurrent multistreaming” on page 872
Related tasks:
“Protecting the device configuration file” on page 879
By default, the percentage of the virtual address space that is dedicated to all
database manager processes is set to 70 - 80 percent of system random-access
memory.
Procedure
To change this setting, specify the DBMEMPERCENT server option. Ensure that the
value that you specify provides adequate memory for applications other than the
Chapter 29. Protecting and recovering the server infrastructure and client data 871
Tivoli Storage Manager are running on the system.
For example, if you assign four drives to database backup processing, Tivoli
Storage Manager attempts to write to all four drives concurrently. For restore
operations, the server uses the information that is in the volume history file to
determine the number of data streams that were used during the backup
operation. The server attempts to use the same number of data streams during the
restore operation. For example, if the backup operation used four data streams, the
server attempts the restore operation using four data streams.
Operation If the number of available If the number of available If the number of available drives is
drives exceeds the specified drives equals the specified less than the specified number of
number of streams, the server number of streams, the streams, the server uses
uses server uses
Backup The number of drives that is The number of drives that is All available drives.
equal to the specified number equal to the specified
of streams. number of streams.
Restore The number of drives that is The number of drives that is All available drives. At least one drive
equal to the number of equal to the number of is required for restore processing
streams that were used in the streams that were used in the
backup operation. A restore backup operation.
process never uses more
drives than the number of
streams that were used to
back up the database.
Suppose that you specify four data streams for database backup operations. To
indicate the maximum number of volumes that can be simultaneously mounted,
you specify 4 as the value of the MOUNTLIMIT parameter in the device class
definition. If only three drives are available at the time of the backup operation,
the operation runs using three drives. A message is issued that indicates that fewer
drives are being used for the backup operation than the number requested. If all
four drives for the device class are online, but one drive is in use by another
operation, the backup operation has a higher priority and preempts use of the
drive. If you specify four data streams, but the value of the MOUNTLIMIT parameter
is 2, only two streams are used.
Important: Although multiple, concurrent data streams can reduce the time that is
required for a backup operation, the amount of time that you can save depends on
the size of the database. In general, the benefit of using multiple, concurrent data
streams for database backup and restore operations is limited if the database is less
than 100 GB.
Another potential disadvantage is that more volumes are required for multistream
processing than for single-stream processing. For example, if the backup of an 850
GB database requires a single linear tape open (LTO) volume, switching to four
data streams requires four volumes. Furthermore, those volumes might be partially
The decision to use multiple, concurrent data streams for database backup and
restore operations depends on the size of the database, the cost of media, and
performance impacts.
When deciding whether to use data streaming, consider the following issues to
determine whether the benefits of concurrent data streaming are sufficient. If the
disadvantages of multiple, concurrent data streaming exceed the benefits, continue
to use single-stream processing.
v What is the size of your database? In general, the amount of time that you save
by using multiple, concurrent data streams decreases as the size of the database
decreases because of the extra time caused by additional tape mounts. If your
database is less than 100 GB, the amount of time that you save might be
relatively small.
In many environments with databases larger than 100 GB, two database-backup
streams can provide superior performance. However, depending on your
environment, additional streams might not provide enough I/O throughput
relative to the size of your database, the devices that you use, and the I/O
capability of your environment. Consider using three or four database-backup
streams only for environments in which the following conditions apply:
– The Tivoli Storage Manager database is located on very high-performing disk
subsystems.
– The database is spread across several different RAID arrays that use multiple
database directories.
v How many drives are available for the device class to be used for database
backup?
v Will server operations other than database backup operations compete for
drives?
v If drives are preempted by a database backup operation, what will be the effect
on server operations?
v What is the cost of the tape volumes that you use for database backup
operations? For example, suppose that the backup of an 850 GB database
requires a single high-capacity LTO volume. If you specify four streams, the
same backup operation requires four volumes.
Chapter 29. Protecting and recovering the server infrastructure and client data 873
Specifying multiple data streams for database backup operations:
You can specify multiple data streams for automatic or manual database-backup
operations. For database restore operations, the server attempts to use the same
number of data streams that you specified for the backup operation.
Procedure
Example
Tips:
v To change the number of data streams for automatic database backup
operations, reissue the SET DBRECOVERY command and specify a different value
for the NUMSTREAMS parameter. For example, reissue the SET DBRECOVERY
command if you add additional drives to the target library or if drives are not
available because of maintenance or device failure. The new value specified by
the NUMSTREAMS parameter is used for the next backup operation.
v To display the number of data streams that are to be used for a database backup
operation, issue the QUERY DB command.
v During a database backup operation, the number of sessions that is displayed in
the output of the QUERY SESSION command or the SELECT command is equal to or
less than the number of specified data streams. For example, if you specified
four data streams, but only three drives are online, 3 sessions are displayed in
the output. If you issue the QUERY DRIVE command, the number of drives in use
is also 3.
v If you reduce the number of data streams after a database backup operation, this
information will not be available to the server when the database is restored. To
specify fewer data streams for the restore operation, take one or both of the
following actions in the device configuration file:
– Reduce the number of online and usable drive definitions by removing
DEFINE DRIVE commands.
– Update the value of the MOUNTLIMIT parameter of the DEFINE DEVCLASS
command.
– During database backup operations, stop other Tivoli Storage Manager
database activities. Other database activities compete for database I/O and
affect throughput during database backup operations that use multiple
streams.
Ensure that you can recover the database to its most current state or to a specific
point-in-time by making both full and incremental database backups:
v To restore the database to its most current state, you need the last full backup,
the last incremental backup after that full backup, and the active and archive log
files.
Tivoli Storage Manager can make full and incremental database backups to tape
while the server is running and available to clients. However, when deciding what
backups to do and when to do them, consider the following properties of backups:
v Full backups take longer than incremental backups.
v Full backups have shorter recovery times than incremental backups because you
must load only one set of volumes to restore the entire database.
v Full backups are required for the first backup and after extending the database
size.
v Only full backups prune archive log space in the archive log directory. If the
available active and archive log space gets low, full database backups occur
automatically. To help prevent space problems, schedule regular full backups
frequently.
For a full database backup, specify TYPE=FULL. For an incremental database backup,
specify TYPE=INCREMENTAL. For example, to run a full database backup using a
device class LTOTAPE, three volumes, and three concurrent data streams, issue the
following command:
Chapter 29. Protecting and recovering the server infrastructure and client data 875
backup db devclass=ltotape type=full volumenames=vol1,vol2,vol3
numstreams=3
Database backups require devices, media, and time. Consider scheduling backups
at specific times of the day and after major storage operations.
Procedure
To schedule database backups, use the DEFINE SCHEDULE command. For a full
database backup, specify TYPE=FULL. For an incremental database backup, specify
TYPE=INCREMENTAL. For example, to set up a schedule to run a full backup to device
class FILE every day at 1:00 a.m., enter the following command:
define schedule daily_backup type=administrative
cmd="backup db deviceclass=file type=full" starttime=01:00
A snapshot database backup is a full database backup that does not interrupt the
full and incremental backup series. Consider using snapshot database backups in
addition to full and incremental backups.
Procedure
To make a snapshot database backup, issue the BACKUP DB command. For example,
to make a snapshot database backup to the TAPECLASS device class, enter the
following command:
backup db type=dbsnapshot devclass=tapeclass
New volume history entries are created for the snapshot database volumes.
Restriction: To prevent the accidental loss of what might only way to recover the
server, you cannot delete the most current snapshot database using the DELETE
VOLHISTORY command.
Related concepts:
“Volume history file and volume reuse” on page 72
Related tasks:
“Protecting the volume history file” on page 878
For protection against database and log media failures, place the active log and the
archive log in different file systems. In addition, mirror both logs. Mirroring
simultaneously writes data to two independent disks. For example, suppose that a
sudden power outage causes a partial page write. The active log is corrupted and
is not readable. Without mirroring, recovery operations cannot complete when the
server is restarted. However, if the active log is mirrored and a partial write is
detected, the log mirror can be used to construct valid images of the missing data.
To protect the active log, the archive log, and the archive failover log, take the
following steps:
Procedure
v To specify the active log mirror, use the MIRRORLOGDIRECTORY parameter on the
DSMSERV FORMAT command. Mirror the active log in a file system that exists on a
different disk drive than the primary active log.
Tip: To specify the active log mirror, you can also use the MIRRORLOGDIRECTORY
server option.
v You cannot mirror the archive log through Tivoli Storage Manager. However,
you can mirror the archive log by using operating system or hardware
mirroring, such as that provided by RAID 5. Mirror the archive log directory
using file system or disk-drive subsystem-level facilities. Ensure that the
mirrored log is in a file system on a different physical hardware.
v The archive failover log, also called a secondary archive log, is the directory that
the server uses to store archive log files if the archive log directory is full.
Specifying an archive failover log directory can prevent problems that occur if
the archive log runs out of space. Use of an archive failover log is optional, but
it provides an extra level of protection.
Store the archive log and the archive failover log on different physical drives. To
mirror the archive failover log, use operating system or hardware mirroring.
What to do next
Tips:
v Consider mirroring the active log and the archive log if retention protection is
enabled. If a database restore is needed, you can restore the database to the
current point in time with no data loss.
v You can dynamically start or stop mirroring while Tivoli Storage Manager is
running.
v Despite its benefits, mirroring does not protect against a disaster or a hardware
failure that affects multiple drives or causes the loss of the entire system. In
Chapter 29. Protecting and recovering the server infrastructure and client data 877
addition, mirroring doubles the amount of disk space that is required for logs.
Mirroring also results in decreased performance.
Related concepts:
“Active log” on page 647
“Archive log” on page 648
“Archive failover log” on page 649
The following volume history is stored in the Tivoli Storage Manager database and
updated in the volume history files:
v Sequential-access storage-pool volumes that were added, reused through
reclamation or move data operations, or deleted during delete volume or
reclamation operations
v Full and incremental database-backup volumes
v Export volumes for administrator, node, policy, and server data
v Snapshot database-backup volumes
v Backup set volumes
Procedure
To specify the file path and name for a volume history file, use the VOLUMEHISTORY
server option. To specify more than one path and name, use multiple
VOLUMEHISTORY entries. Tivoli Storage Manager stores duplicate volume histories in
all the files that are specified with VOLUMEHISTORY options. To find the required
volume-history information during a database restore operation, the server tries to
open volume history files in the order in which the VOLUMEHISTORY entries occur in
the server options file. If the server cannot read a file, the server tries to open the
next volume history file.
Ensure that volume history is protected by taking one or more of the following
steps:
v Store at least one copy of the volume history file offsite or on a disk separate
from the database.
v Store a printout of the file offsite.
v Store a copy of the file offsite with your database backups and device
configuration file.
v Store a remote copy of the file, for example, on an NFS-mounted file system.
Tip: To manually update the volume history file, you can use the BACKUP
VOLHISTORY command. Ensure that updates are complete by following these
guidelines:
v If you must halt the server, wait a few minutes after issuing the BACKUP
VOLHISTORY command.
v Specify multiple VOLUMEHISTORY options in the server options file.
v Review the volume history files to verify that the files were updated.
Related tasks:
“Deleting information about volume history” on page 615
Procedure
To specify the file path and name for a device configuration file, use the DEVCONFIG
server option. To specify more than one path and name, use multiple DEVCONIG
entries. Tivoli Storage Manager stores duplicate device configuration information in
all the files that are specified with DEVCONFIG options.
To find the required device-configuration information during a database restore
operation, the server tries to open device configuration files in the order in which
the DEVCONFIG entries occur in the server options file. If the server cannot read a
file, the server tries to open the next device configuration file.
To ensure the availability of device configuration information, take one or more of
the following steps:
v Store at least one copy of the device configuration file offsite or on a disk
separate from the database.
v Store a printout of the file offsite.
v Store a copy of the file offsite with your database backups and volume history
file.
v Store a remote copy of the file, for example, on an NFS-mounted file system.
Tips:
v To manually update the device configuration file, use the BACKUP DEVCONFIG
command. Ensure that updates are complete by following these guidelines:
– If you must halt the server, wait a few minutes after issuing the BACKUP
DEVCONIG command.
– Specify multiple DEVCONFIG options in the server options file.
Chapter 29. Protecting and recovering the server infrastructure and client data 879
– Review the device configuration files to verify that the files were updated.
– If you are using automated tape libraries, volume location information is
saved in the device configuration file. The file is updated whenever CHECKIN
LIBVOLUME, CHECKOUT LIBVOLUME, and AUDIT LIBRARY commands are issued,
and the information is saved as comments (/*....*/). This information is used
during restore or load operations to locate a volume in an automated library.
If a disaster occurs, you might have to restore Tivoli Storage Manager with devices
that are not included in the device configuration file.
What to do next
DRM: DRM automatically saves a copy of the device configuration file in its disaster
recovery plan file.
Related tasks:
“Updating the device configuration file” on page 906
To ensure the availability of server options file, take one or more of the following
steps:
v Store at least one copy of the server options file offsite or on a disk separate
from the database.
v Store a printout of the file offsite.
v Store a copy of the file offsite with your database backups and device
configuration file.
v Store a remote copy of the file, for example, on an NFS-mounted file system.
DRM: DRM automatically saves a copy of the server options file in its disaster recovery
plan file.
You can determine the following information from the recovery log:
v The directory where the recovery log is located
v The amount of disk space required
If you lose the recovery log, you lose the changes that were made since the last
database backup.
What to do next
DRM: DRM helps you save database and recovery log information.
The [Link] file includes the server's public key, which allows the client to
encrypt data. The digital certificate file cannot be stored in the server database
because the Global Security Kit (GSKit) requires a separate file in a certain format.
The [Link] file is generated by the V6.3 server for distribution to the V6.3
clients.
Keep backup copies of the [Link] and [Link] file in a secure location. If
both of the original files and any copies are lost or corrupted, you can generate a
new certificate file.
Attention: If client data object encryption is in use and the encryption key is not
available, data cannot be restored or retrieved under any circumstance. When
using ENABLECLIENTENCRYPTKEY for encryption, the encryption key is stored
on the server database. This means that for objects using this method, the server
database must exist and have the proper values for the objects for a proper restore
operation. Ensure that you back up the server database frequently to prevent data
loss.
For more information about encryption keys, see IBM Tivoli Storage Manager Using
the Application Programming Interface.
Related tasks:
“Troubleshooting the certificate key database” on page 837
You can use server-to-server communications to store copies of the recovery plan
on a remote target server, in addition to traditional disk-based files. Storing
recovery plan files on a target server provides the following advantages:
v A central repository for recovery plan files
v Automatic expiration of plan files
v Query capabilities for displaying information about plan files and their contents
Chapter 29. Protecting and recovering the server infrastructure and client data 881
v Fast retrieval of a recovery plan file if a disaster occurs
You can also store the recovery plan locally, on CD, or in print.
DRM: DRM can query the server and generate a detailed recovery plan for your
installation.
Related tasks:
“Storing the disaster recovery plan locally” on page 1019
“Storing the disaster recovery plan on a target server” on page 1019
Related reference:
“The disaster recovery plan file” on page 1048
A typical Tivoli Storage Manager configuration includes a primary disk pool and
primary tape pool for data backup. Copy storage pools contain active and inactive
versions of data that is backed up from primary storage pools. Figure 106 shows a
configuration with an onsite FILE-type active-data pool and an offsite copy storage
pool.
HSM
Backup Active backup
data only
Archive
Disk Storage
Pool (FILE)
Related concepts:
“Active-data pools” on page 241
Tip: Backing up storage pools requires an additional 200 bytes of space in the
database for each file copy. As more files are added to the copy storage pools and
active-data pools, reevaluate your database size requirements.
Each of the commands in the following examples uses four parallel processes
(MAXPROCESS=4) to perform an incremental backup of the primary storage pool
to the copy storage pool or a copy to the active-data pool. Set the MAXPROCESS
parameter in the BACKUP STGPOOL command to the number of mount points or
drives that can be dedicated to this operation.
Procedure
v To back up data in a primary storage pool to a copy storage pool, use the BACKUP
STGPOOL command. For example, to back up a primary storage pool named
ARCHIVEPOOL to a copy storage pool named DISASTER-RECOVERY, issue the
following command:
backup stgpool archivepool disaster-recovery maxprocess=4
The only files backed up to the DISASTER-RECOVERY pool are files for which a
copy does not exist in the copy storage pool. The data format of the copy
storage pool and the primary storage pool can be NATIVE, NONBLOCK, or the
NDMP formats NETAPPDUMP, CELERRADUMP, or NDMPDUMP. The server
copies data from the primary storage pool only to a copy storage pool that has
the same format.
Restriction: A BACKUP STGPOOL command does not back up a shred storage pool
to a copy storage pool unless you explicitly permit it by setting the
SHREDTONOSHRED parameter to YES. If this value is not specified, the server issues
an error message and does not allow the backup. If this value is specified, the
server does not issue a warning when the BACKUP STGPOOL command for the
shred pool is run.
Tip: To further minimize the potential loss of data, you can mark the backup
volumes in the copy storage pool as OFFSITE and move them to an offsite
location. In this way, the backup volumes are preserved and are not reused or
mounted until they are brought on-site. Ensure that you mark the volumes as
OFFSITE before you back up the database. To avoid marking volumes as offsite
or physically move volumes:
– Specify a device class of SERVER in your database backup.
– Back up a primary storage pool to a copy storage pool or associated with a
device class of SERVER.
Chapter 29. Protecting and recovering the server infrastructure and client data 883
v To copy active data, use the COPY ACTIVEDATA command. For example, to copy
active data from a primary storage pool named BACKUPPOOL to an active-data
pool named CLIENT-RESTORE, issue the following command:
copy activedata backuppool client-restore maxprocess=4
The primary storage pool must have a data format of NATIVE or NONBLOCK.
Copies from primary storage pools with any of the NDMP formats are not
permitted. The only files copied to the CLIENT-RESTORE pool are active backup
files for which a copy does not exist in the active-data pool.
Results
Because backups and active-data copies are made incrementally, you can cancel the
processes. If you reissue the BACKUP STGPOOL or COPY ACTIVEDATA command, the
backup or active-data copy continues from the point at which the process was
canceled.
Restrictions:
v If a backup is to be made to a copy storage pool and the file exists with the
same insertion date, no action is taken. Similarly, if a copy is to be made to an
active-data pool and the file exists with the same insertion data, no action is
taken.
v When a disk storage pool is backed up, cached files (copies of files that remain
on disk after being migrated to the next storage pool) are not backed up.
v Files in a copy storage pool or an active-data pool do not migrate to another
storage pool.
v After a file is backed up to a copy storage pool or a copy is made to an
active-data pool, the file might be deleted from the primary storage pool. When
an incremental backup of the primary storage pool occurs, the file is then
deleted from the copy storage pool. Inactive files in active-data pools are deleted
during the process of reclamation. If an aggregate being copied to an active-data
pool contains some inactive files, the aggregate is reconstructed into a new
aggregate without the inactive files.
Related concepts:
“Active-data pools” on page 241
“Copy storage pools” on page 241
“Primary storage pools” on page 240
“Securing sensitive client data” on page 539
Related tasks:
“Backing up the data in a storage hierarchy” on page 265
Chapter 19, “Automating server operations,” on page 619
Create a schedule for backing up two primary storage pools to the same copy
storage pool.
Assume that you have two primary storage pools: one random access storage pool
(DISKPOOL) and one tape storage pool (TAPEPOOL, with device class
TAPECLASS). Files stored in DISKPOOL are migrated to TAPEPOOL. You want to
back up the files in both primary storage pools to a copy storage pool.
Procedure
Note:
a. Because scratch volumes are allowed in this copy storage pool, you do not
need to define volumes for the pool.
b. All storage volumes in COPYPOOL are located onsite.
2. Perform the initial backup of the primary storage pools by issuing the
following commands:
backup stgpool diskpool copypool maxprocess=2
backup stgpool tapepool copypool maxprocess=2
3. Define schedules to automatically run the commands for backing up the
primary storage pools. The commands to schedule are those that you issued in
step 2.
Results
Tips:
v To minimize tape mounts, you can take one or both of the following steps:
– Back up the disk storage pool first, then the tape storage pool.
– If you schedule storage pool backups and migrations and have enough disk
storage, back up or copy as many files as possible from the disk storage pool
to copy storage pools and active-data pools. After the backup and copy
operations are complete, migrate the files from the disk storage pools to
primary tape storage pools.
v if you have active-data pools, you can schedule the COPY ACTIVEDATA command
to copy the active data that is in primary storage pools to the active-data pools.
Related concepts:
“Active-data pools” on page 241
“Copy storage pools” on page 241
“Primary storage pools” on page 240
“Securing sensitive client data” on page 539
Related tasks:
“Backing up the data in a storage hierarchy” on page 265
Chapter 19, “Automating server operations,” on page 619
Chapter 29. Protecting and recovering the server infrastructure and client data 885
Protecting data in a Centera storage pool:
Performing a storage pool backup for data stored in a Centera storage pool is not
supported. To ensure the safety of the data, therefore, consider using the
replication feature of the Centera storage device.
With this feature, you can copy data to a replication Centera storage device at a
different location. If the data in the primary Centera storage pool become
unavailable, you can access the replication Centera storage device by specifying its
IP address using the HLADDRESS parameter on the UPDATE DEVCLASS command for
the device class pointed to by the Centera storage pool. After the primary Centera
storage device is re-established, you can issue the UPDATE DEVCLASS command again
and change the value of the HLADDRESS parameter to point back to the primary
Centera storage device. You must restart the server each time you update the
HLADDRESS parameter on the UPDATE DEVCLASS command.
Related concepts:
“Files on sequential volumes (CENTERA)” on page 42
You can also enable the simultaneous-write function so that active client backup
data is written to active-data pools at the same time it is written to the primary
storage pool. The active-data pools must be specified in the definition of the
primary storage pool, and the clients whose active data is to be saved must be
members of a policy domain that specifies the active-data pool as the destination
for active backup data.
When you delay reuse of such volumes and they no longer contain any files, they
enter the pending state. Volumes remain in the pending state for the time that is
specified with the REUSEDELAY parameter for the storage pool to which the volume
belongs.
Delaying reuse of volumes can be helpful under certain conditions for disaster
recovery. When files are expired, deleted, or moved from a volume, they are not
erased from the volumes: The database references to these files are removed. Thus
the file data might still exist on sequential volumes if the volumes are not
immediately reused.
A disaster might force you to restore the database using a database backup that is
not the most recent backup. In this case, some files might not be recoverable
because the server cannot find them on current volumes. However, the files might
exist on volumes that are in pending state.
Procedure
You might be able to use the volumes in pending state to recover data by doing
the following steps:
1. Restore the database to a point-in-time before file expiration.
2. Use a primary, copy-storage, or active-data pool volume that is not rewritten
and that contains the expired file at the time of database backup.
Results
If you back up your primary storage pools, set the REUSEDELAY parameter for the
primary storage pools to 0 to efficiently reuse primary scratch volumes. For your
copy storage pools and active-data pools, delay the reuse of volumes for as long as
you keep your oldest database backup.
Related tasks:
“Scenario: Protecting the database and storage pools” on page 898
Related reference:
“Running expiration processing to delete expired files” on page 512
Use this section to help you audit storage pool volumes for data integrity.
Chapter 29. Protecting and recovering the server infrastructure and client data 887
To ensure that all files are accessible on volumes in a storage pool, audit any
volumes you suspect might have problems by using the AUDIT VOLUME command.
You have the option of auditing multiple volumes using a time range criteria, or
auditing all volumes in a storage pool.
If a storage pool has data validation enabled, run an audit for the volumes in the
storage pool to have the server validate the data.
Note: If Tivoli Storage Manager detects a damaged file on a Centera volume, then
a command is sent to Centera to delete the file. If Centera is unable to delete the
file because the retention period for the file is not expired, then the volume that
contains the file is not be deleted.
To display the results of a volume audit after it completes, use the QUERY ACTLOG
command.
Related tasks:
“Requesting information from the activity log” on page 800
During the auditing process, the server performs the following actions:
v Sends informational messages about processing to the server console.
v Prevents new files from being written to the volume.
v Generates a cyclic redundancy check, if data validation is enabled for the storage
pool.
You can specify whether you want the server to correct the database if
inconsistencies are detected. Tivoli Storage Manager corrects the database by
deleting database records that refer to files on the volume that cannot be accessed.
The default is to report inconsistencies that are found (files that cannot be
accessed), but to not correct the errors.
If files with read errors are detected, their handling depends on the following
conditions:
v The type of storage pool to which the volume is assigned
v The FIX parameter on the AUDIT VOLUME command
v The location of file copies (whether a copy of the file exists in a copy storage
pool)
When a volume in a primary storage pool is audited, the setting of the FIX
parameter determines how errors are handled.
The FIX parameter on an AUDIT VOLUME command can have the following effects:
FIX=NO
The server reports, but does not delete, any database records that refer to
files found with logical inconsistencies. If the AUDIT VOLUME command
detects a read error in a file, the file is marked as damaged in the database.
You can do one of the following actions:
v If a backup copy of the file is stored in a copy storage pool, you can
restore the file by using the RESTORE VOLUME or RESTORE STGPOOL
command.
v If the file is a cached copy, you can delete references to the file on this
volume by using the AUDIT VOLUME command again. Specify FIX=YES.
If the AUDIT VOLUME command does not detect a read error in a damaged
file, the file state is reset, and the file can be used. For example, if a dirty
tape head caused some files to be marked damaged, you can clean the
head and then audit the volume to make the files accessible again.
FIX=YES
Any inconsistencies are fixed as they are detected.
If the AUDIT VOLUME command detects a read error in a file:
v If the file is not a cached copy and a backup copy is stored in a copy
storage pool, the file is marked as damaged in the database. The file can
then be restored using the RESTORE VOLUME or RESTORE STGPOOL
command.
v If the file is not a cached copy and a backup copy is not stored in a copy
storage pool, all database records that refer to the file are deleted.
v If the file is a cached copy, the database records that refer to the cached
file are deleted. The primary file is stored on another volume.
If the AUDIT VOLUME command does not detect a read error in a damaged
file, the file state is reset, and the file can be used. For example, if a dirty
tape head caused some files to be marked damaged, you can clean the
head and then audit the volume to make the files accessible again.
When a volume in a copy storage pool is audited, the setting of the FIX parameter
determines how errors are handled.
The FIX parameter on an AUDIT VOLUME command can have the following effects:
FIX=NO
The server reports the error and marks the file copy as damaged in the
database.
FIX=YES
The server deletes references to the file on the audited volume from the
database.
Chapter 29. Protecting and recovering the server infrastructure and client data 889
Errors in an audit of active-data storage pool volumes:
When a volume in an active-data storage pool is audited, the setting of the FIX
parameter determines how errors are handled.
The FIX parameter on an AUDIT VOLUME command can have the following effects:
FIX=NO
The server reports the error and marks the file copy as damaged in the
database.
FIX=YES
The server deletes references to the file on the audited volume from the
database. The physical file is deleted from the active-data pool.
When auditing a volume in an active-data pool, the server skips inactive files in
aggregates that were removed by reclamation. These files are not reported as
skipped or marked as damaged.
Data validation is helpful if you introduce new hardware devices. The validation
assures that the data is not corrupted as it moves through the hardware, and then
is written to the volume in the storage pool. You can use the DEFINE STGPOOL or
UPDATE STGPOOL commands to enable data validation for storage pools.
When you enable data validation for an existing storage pool, the server validates
data that is written from that time forward. The server does not validate existing
data which was written to the storage pool before data validation was enabled.
When data validation is enabled for storage pools, the server generates a cyclic
redundancy check (CRC) value and stores it with the data when it is written to the
storage pool. The server validates the data when it audits the volume, by
generating a cyclic redundancy check and comparing this value with the CRC
value stored with the data. If the CRC values do not match, then the server
processes the volume in the same manner as a standard audit volume operation.
This process can depend on the following conditions:
v The type of storage pool to which the volume is assigned
v The FIX parameter of the AUDIT VOLUME command
v The location of file copies (whether a copy of the file exists in a copy storage
pool or an active-data pool)
Check the activity log for details about the audit operation.
The server removes the CRC values before it returns the data to the client node.
Related reference:
“Errors in an audit of active-data storage pool volumes”
“Errors in an audit of copy storage pool volumes” on page 889
“Errors in an audit of a primary storage pool volume” on page 889
Data validation is available for nodes and storage pools. The forms of validation
are independent of each other.
Tivoli Storage
Manager
client
1 2
3 Tivoli Storage
Storage
Manager
Agent
server
4 5
Storage
Pool
Table 72 provides information that relates to Figure 107. This information explains
the type of data being transferred and the appropriate command to issue.
Table 72. Setting data validation
Where to Set
Numbers in Data Type of Data
Figure 107 Validation Transferred Command Command Parameter Setting
1 Node File Data and See Note See Note
definition Metadata
2 Node File Data and REGISTER NODE UPDATE NODE VALIDATEPROTOCOL=ALL or
definition Metadata VALIDATEPROTOCOL=DATAONLY
3 Server Metadata DEFINE SERVER UPDATE VALIDATEPROTOCOL=ALL
definition SERVER
(storage agent
only)
Chapter 29. Protecting and recovering the server infrastructure and client data 891
Table 72. Setting data validation (continued)
Numbers in Where to Set
Figure 107 Data Type of Data
on page 891 Validation Transferred Command Command Parameter Setting
4 Storage pool File Data DEFINE STGPOOL UPDATE CRCDATA=YES1
definition STGPOOL
issued on the
Tivoli Storage
Manager
server
5 Storage pool File Data DEFINE STGPOOL UPDATE CRCDATA=YES1
definition STGPOOL
issued on the
Tivoli Storage
Manager
server
1
This parameter is not available for primary sequential access storage pools that use the following data formats:
NETAPPDUMP, CELERRADUMP, NDMPDUMP.
Note: The storage agent reads the VALIDATEPROTOCOL setting for the client from the
Tivoli Storage Manager server.
Figure 108 is similar to the previous figure, however note that the top section
encompassing 1, 2, and 3 is shaded. All three of these data validations are
related to the VALIDATEPROTOCOL parameter. What is significant about this validation
is that it is active only during the client session. After validation, the client and
server discard the CRC values generated in the current session. This is in contrast
to storage pool validation, 4 and 5, which is always active when the storage
pool CRCDATA setting is YES.
The validation of data transfer between the storage pool and the storage agent 4
is managed by the storage pool CRCDATA setting defined by the Tivoli Storage
Manager server. Even though the flow of data is between the storage agent and the
storage pool, data validation is determined by the storage pool definition.
Therefore, if you always want your storage pool data validated, set your primary
storage pool CRCDATA setting to YES.
Tivoli Storage
Manager
client
1 2
4 5
Storage
Pool
Figure 108. Protocol data validation versus storage pool data validation
If the network is fairly stable but your site is perhaps using new hardware devices,
you might decide to enable only data validation for storage pools. When the server
sends data to the storage pool, the server generates cyclic redundancy checking,
and stores the CRC value with the data. The server validates the CRC value when
the server audits the volume. Later, you might decide that data validation for
storage pools is no longer required after the devices prove to be stable.
Related tasks:
“Using virtual volumes to store data on another server” on page 732
“Auditing storage pool volumes” on page 887
Related reference:
“Validating a node's data during a client session” on page 536
Consider the impact on performance when you decide whether data validation is
necessary for storage pools. This method of validation is independent of validating
data during a client session with the server. When you choose to validate storage
pool data, there is no performance impact on the client.
If you enable CRC for storage pools on devices that later prove to be stable, you
can increase performance by updating the storage pool definition to disable data
validation.
Use the AUDIT VOLUME command to specify an audit for data written to volumes
within a range of days, or to run an audit for a storage pool.
You can manage when the validation of data in storage pools occurs by scheduling
the audit volume operation. You can choose a method suitable to your
environment, for example:
v Select volumes at random to audit. A random selection does not require
significant resources or cause much contention for server resources but can
provide assurance that the data is valid.
Chapter 29. Protecting and recovering the server infrastructure and client data 893
v Schedule a daily audit of all volumes written in the last day. This method
validates data written to a storage pool on a daily basis.
v Audit volumes in storage pools only for client nodes that are considered to be
critical users.
To display the results of a volume audit after it completes, you can issue the QUERY
ACTLOG command.
Procedure
To specify that only summary messages for d:\tsm\admvol.1 are sent to the
activity log and server console, issue the following command:
audit volume d:\adsm\admvol.1 quiet=yes
The audit volume process is run in the background and the server returns the
following message:
ANR2313I Audit Volume (Inspect Only) process started for volume
D:\TSM\ADMVOL.1 (process ID 4).
To view the status of the audit volume process, issue the following command:
query process 4
The server then begins the audit process with the first volume on which the first
file is stored. For example, Figure 109 on page 895 shows five volumes defined to
ENGBACK2. In this example, File A spans VOL1 and VOL2, and File D spans
VOL2, VOL3, VOL4, and VOL5.
If you request that the server audit volume VOL3, the server first accesses volume
VOL2, because File D begins at VOL2. When volume VOL2 is accessed, the server
only audits File D. It does not audit the other files on this volume.
Because File D spans multiple volumes, the server accesses volumes VOL2, VOL3,
VOL4, and VOL5 to ensure that there are no inconsistencies between the database
and the storage pool volumes.
For volumes that require manual mount and demount operations, the audit
process can require significant manual intervention.
This option is useful when the volume you want to audit contains part of a file,
the rest of which is stored on a different, damaged volume. For example, to audit
only volume VOL5 in the example in Figure 109 and have the server fix any
inconsistencies found between the database and the storage volume, enter:
audit volume vol5 fix=yes skippartial=yes
When you use the parameters FROMDATE, TODATE, or both, the server limits the audit
to only the sequential media volumes that meet the date criteria, and automatically
includes all online disk volumes. When you include the STGPOOL parameter you
limit the number of volumes that might include disk volumes.
Procedure
Issue the AUDIT VOLUME command with the FROMDATE and TODATE parameters.
For example, to audit the volumes in storage pool BKPOOL1 for volumes written
from March 20, 2002 to March 22, 2002.
audit volume stgpool=bkppool1 fromdate=03/20/2002 todate=03/22/2002
The server audits all volumes that were written to starting at [Link] a.m. on
March 20 and ending at [Link] p.m. on March 22, 2002.
Chapter 29. Protecting and recovering the server infrastructure and client data 895
Auditing volumes in a specific storage pool
You can limit the audit to volumes in a specified storage pool.
For example, you can audit the volumes in storage pool BKPOOL1 by issuing the
following command:
audit volume stgpool=bkppool1
For example, if your critical users store data in storage pool STPOOL3 and you
want all volumes in the storage pool audited every two days at 9:00 p.m., issue the
following command:
define schedule crcstg1 type=administrative
cmd=’audit volume stgpool=stgpool3’ active=yes starttime=21:00 period=2
A data error, which results in a file being unreadable, can be caused by such things
as a tape deteriorating or being overwritten or by a drive needing cleaning. If a
data error is detected when a client tries to restore, retrieve, or recall a file or
during a volume audit, the file is marked as damaged. If the same file is stored in
other copy storage pools or active-data pools, the status of those file copies is not
changed.
Iffiles are marked as damaged, you can perform the following operations on them:
v Restore, retrieve, or recall the files
v Move the files by migration, reclamation, or the MOVE DATA command
v Back up during a BACKUP STGPOOL operation if the primary file is damaged
v Restore during a RESTORE STGPOOL or RESTORE VOLUME operation if the backup
copy in a copy storage pool or active-data pool volume is damaged
v Migrate or reclaim during migration and reclamation
Procedure
To maintain the data integrity of user files, you can perform the following steps:
1. Detect damaged files before the users do. The AUDIT VOLUME command marks a
file as damaged if a read error is detected for the file. If an undamaged copy is
in an on-site copy storage pool or an active-data pool volume, it is used to
provide client access to the file.
2. Reset the damaged status of files if the error that caused the change to
damaged status was temporary. You can use the AUDIT VOLUME command to
correct situations when files are marked damaged due to a temporary hardware
problem, such as a dirty tape head. The server resets the damaged status of
files if the volume in which the files are stored is audited and no read errors
are detected.
3. Correct files that are marked as damaged. If a primary file copy is marked as
damaged and a usable copy exists in a copy storage pool or an active-data pool
volume, the primary file can be corrected using the RESTORE VOLUME or RESTORE
STGPOOL command.
4. Regularly run commands to identify files that are marked as damaged:
v The RESTORE STGPOOL command displays the name of each volume in the
restored storage pool that contains one or more damaged primary files. Use
this command with the preview option to identify primary volumes with
damaged files without actually performing the restore operation.
v The QUERY CONTENT command with the DAMAGED parameter displays damaged
files on a specific volume.
Related tasks:
“Data validation during audit volume processing” on page 890
“Restoring damaged files”
This section explains how to restore damaged files based on the scenario in
“Example: Scheduling a backup with one copy storage pool” on page 885.
If a client tries to access a file stored in TAPEPOOL and a read error occurs, the file
in TAPEPOOL is automatically marked as damaged. Future accesses to the file
automatically use the copy in COPYPOOL as long as the copy in TAPEPOOL is
marked as damaged.
To restore any damaged files in TAPEPOOL, you can define a schedule that issues
the following command periodically:
restore stgpool tapepool
You can check for and replace any files that develop data-integrity problems in
TAPEPOOL or in COPYPOOL. For example, every three months, query the
volumes in TAPEPOOL and COPYPOOL by entering the following commands:
query volume stgpool=tapepool
Chapter 29. Protecting and recovering the server infrastructure and client data 897
query volume stgpool=copypool
Then issue the following command for each volume in TAPEPOOL and
COPYPOOL:
audit volume <volname> fix=yes
If a read error occurs on a file in TAPEPOOL, that file is marked damaged and an
error message is produced. If a read error occurs on file in COPYPOOL, that file is
deleted and a message is produced.
This scenario assumes a storage hierarchy that consists of the following storage
pools:
v Default random-access storage pools named BACKUPPOOL, ARCHIVEPOOL,
and SPACEMGPOOL
v A tape storage pool named TAPEPOOL
To provide extra levels of protection for client data, the scenario also specifies an
offsite copy storage pool and an onsite active-data pool.
The standard procedures for the company include the following activities:
v Weekly reclamation of its copy storage pool. Reclamation for the copy storage
pools is turned off at other times.
Procedure
Restriction: Do not run the MOVE DRMEDIA and BACKUP STGPOOL or BACKUP DB
commands concurrently. Ensure that the storage pool backup processes are
complete before you issue the MOVE DRMEDIA command.
5. Perform the following operations nightly after the scheduled operations
completes:
a. Back up the volume history and device configuration files. If they change,
back up the server options files and the database and recovery log setup
information.
b. Move the copy storage pool volumes marked offsite, the database backup
volumes, volume history files, device configuration files, server options
files, and the database and recovery log setup information to the offsite
location.
Chapter 29. Protecting and recovering the server infrastructure and client data 899
c. Identify offsite volumes that must be returned onsite. For example, issue the
following command:
query volume stgpool=disaster-recovery access=offsite status=empty
For database restore operations, the Tivoli Storage Manager server reads the
information that is in the volume history file to determine the number of data
streams to read. The server attempts to match the number of streams that were
used during the backup operation. For example, if the backup operation used four
streams, the Tivoli Storage Manager server attempts the restore operation using
four streams.
If you reduce the number of data streams after a database backup operation, this
information will not be available to the server when the database is restored. To
specify fewer data streams for the restore operation, take one or both of the
following actions in the device configuration file:
v Reduce the number of online and usable drive definitions by removing DEFINE
DRIVE commands.
v Update the value of the MOUNTLIMIT parameter of the DEFINE DEVCLASS
command.
Related concepts:
“Configuring concurrent multistreaming” on page 872
To restore a database to point in time, you need the latest full backup before the
point in time. You also need the latest incremental backup after that last full
backup. You can also use snapshot database backups to restore a database to a
specific point in time.
Before restoring the database, have available the following infrastructure setup
files:
v Server options file
v Volume history file:
Copy the volume history file pointed to by the server options file. The backup
copy must a different name. If the restore fails and you must try it again, you
might need the backup copy of the volume history file. After the database is
restored, any volume history information pointed to by the server options is lost.
This information is required to identify the volumes to be audited.
If your old volume history file shows that any of the copy storage pool volumes
that are required to restore your storage pools were reused (STGREUSE) or
deleted (STGDELETE), you might not be able to restore all your files. You can
avoid this problem by including the REUSEDELAY parameter when you define
your copy storage pools.
v Device configuration file:
You might need to modify the device configuration file based on the hardware
available at the recovery site. For example, the recovery site might require a
different device class, library, and drive definitions.
v Detailed query output about the database and recovery log
Chapter 29. Protecting and recovering the server infrastructure and client data 901
If files were migrated, reclaimed, or moved after a backup, the files might be lost
and the space occupied by those files might be reused. You can minimize this loss
by using the REUSEDELAY parameter when defining or updating sequential-access
storage pools. This parameter delays volumes from being returned to scratch or
being reused.
Procedure
What to do next
After a restore, the volume inventories for Tivoli Storage Manager and for your
tape management system might be inconsistent. For example, after a database
backup, a new volume is added to Tivoli Storage Manager. The tape management
Similarly, the volume inventories for Tivoli Storage Manager and for any
automated libraries might also be inconsistent. Issue the AUDIT LIBRARY command
to synchronize these inventories.
Related tasks:
“Updating the device configuration file” on page 906
“Restoring to a point-in-time in a shared library environment” on page 915
“Delaying reuse of volumes for recovery purposes” on page 886
You can use full and incremental backups to restore a database to its most current
state. Snapshot database backups are complete database copies of a point in time.
You can restore a database to its most current state if the last backup series that
was created for the database is available. A backup series consists of a full backup,
the latest incremental backup, and all active and archive logs for database changes
since the last backup in the series was run.
Attention: Recovering the database to its most current state is not possible if the
active or archive logs are lost.
Procedure
To restore a database to its most current state, issue the DSMSERV RESTORE DB
command. For example:
dsmserv restore db
If the original database and recovery log directories are available, use the DSMSERV
RESTORE DB utility to restore the database. However, if the database and recovery
log directories are lost, recreate them first, and then issue the DSMSERV RESTORE DB
utility.
In a Tivoli Storage Manager shared library environment, the server that manages
and controls the shared library is known as the library manager. The library
manager maintains a database of the volumes within the shared library.
Procedure
Chapter 29. Protecting and recovering the server infrastructure and client data 903
1. Copy the volume history file to a temporary location and rename the file.
After the database is restored, any volume history information that is pointed
to by the server options is lost. You need this information to identify the
volumes to be audited.
2. Put the device configuration file and the server options file in the server
working directory. You can no longer recreate the device configuration file;
you must have a copy of the original.
3. Gather the outputs from your detailed queries about your database and
recovery log setup information.
4. Determine whether the original database and recovery log directories exist. If
the original database or recovery log directories were lost, recreate them using
the operating system mkdir command.
Note: The directories must have the same name as the original directories.
5. Use the DSMSERV RESTORE DB utility to restore the database to the current time.
6. Start the Tivoli Storage Manager server instance.
7. Issue an AUDIT LIBRARY command from each library client for each shared
library.
8. Create a list from the old volume history information (generated by the QUERY
VOLHISTORY command) that shows all of the volumes that were reused
(STGREUSE), added (STGNEW), and deleted (STGDELETE) since the original
backup. Use this list to perform the rest of this procedure.
9. Audit all disk volumes, all reused volumes, and any deleted volumes located
by the AUDIT VOLUME command using the FIX=YES parameter.
10. Issue the RESTORE STGPOOL command to restore those files detected as
damaged by the audit. Include the FIX=YES parameter on the AUDIT VOLUME
command to delete database entries for files not found in the copy storage
pool or active-data pool.
11. Mark any volumes that cannot be located as destroyed, and recover those
volumes from copy storage pool backups. Recovery from active-data pool
volumes is not suggested unless the loss of inactive data is acceptable. If no
backups are available, delete the volumes from the database by using the
DELETE VOLUME command with the DISCARDDATA=YES parameter.
12. Redefine any storage pool volumes that were added since the database
backup.
Results
In a Tivoli Storage Manager shared library environment, the servers that share a
library and rely on a library manager to coordinate and manage the library usage
are known as library clients. Each library client maintains a database of volume
usage and volume history. If the database of the library client becomes corrupted,
it might be restored by following these steps:
Procedure
1. Copy the volume history file to a temporary location and rename the file.
After the database is restored, any volume history information that is pointed
to by the server options is lost. You need this information to identify the
volumes to be audited.
2. Put the device configuration file and the server options file in the server
working directory. You can no longer recreate the device configuration file;
you must have a copy of the original.
3. Gather the outputs from your detailed queries about your database and
recovery log setup information.
4. Check to see if the original database and recovery log directories exist. If the
original database or recovery log directories were lost, recreate them using the
operating system mkdir command.
Note: The directories must have the same name as the original directories.
5. Use the DSMSERV RESTORE DB utility to restore the database to the current time.
6. Create a list from the old volume history information (generated by the QUERY
VOLHISTORY command) that shows all of the volumes that were reused
(STGREUSE), added (STGNEW), and deleted (STGDELETE) since the original
backup. Use this list to perform the rest of this procedure.
7. Audit all disk volumes, all reused volumes, and any deleted volumes located
by the AUDIT VOLUME command using the FIX=YES parameter.
8. Issue the RESTORE STGPOOL command to restore those files detected as
damaged by the audit. Include the FIX=YES parameter on the AUDIT VOLUME
command to delete database entries for files not found in the copy storage
pool.
9. Mark any volumes that cannot be located as destroyed, and recover those
volumes from copy storage pool backups. If no backups are available, delete
the volumes from the database by using the DELETE VOLUME command with the
DISCARDDATA=YES parameter.
10. Issue the AUDIT LIBRARY command for all shared libraries on this library client.
11. Redefine any storage pool volumes that were added since the database
backup.
Results
Chapter 29. Protecting and recovering the server infrastructure and client data 905
Related tasks:
“Restoring to a point-in-time a library client server” on page 916
If this occurs, you must update the device configuration files manually with
information about the new devices. Whenever you define, update, or delete device
information in the database, the device configuration file is automatically updated.
This information includes definitions for device classes, libraries, drives, and
servers.
For virtual volumes, the device configuration file stores the password (in encrypted
form) for connecting to the remote server. If you regressed the server to an earlier
point-in-time, this password might not match what the remote server expects. In
this case, manually set the password in the device configuration file. Then ensure
that the password on the remote server matches the password in the device
configuration file.
Note: Set the password in clear text. After the server is operational again, you can
issue a BACKUP DEVCONFIG command to store the password in encrypted form.
Related tasks:
“Recovering with different hardware at the recovery site” on page 1040
“Automated SCSI library at the original and recovery sites” on page 1040
Related reference:
Automated SCSI library at the original site and a manual scsi library at the
recovery site
The RESTORE STGPOOL command restores specified primary storage pools that have
files with the following problems:
v The primary copy of the file had read errors during a previous operation. Files
with read errors are marked as damaged.
v The primary copy of the file on a volume that has an access mode of
DESTROYED..
v The primary file is in a storage pool that is UNAVAILABLE, and the operation is
for restore, retrieve, or recall of files to a user, or export of file data.
Restrictions:
v Cached copies of files in a disk storage pool are never restored. References to
any cached files were identified with read errors or cached files that are stored
on a destroyed volume are removed from the database during restore processing.
v Restoring from an active-data pool might cause some or all inactive files to be
deleted from the database if the server determines that an inactive file needs to
be replaced but cannot find it in the active-data pool. Do not consider
active-data pools for recovery of a primary pool unless the loss of inactive data
is acceptable.
v You cannot restore a storage pool defined with a CENTERA device class.
v Restoring from an active-data pool might cause some or all inactive files to be
deleted from the database if the server determines that an inactive file needs to
be replaced but cannot find it in the active-data pool.
Restore processing copies files from a copy storage pool or an active-data pool
onto new primary storage pool volumes. The server then deletes database
references to files on the original primary storage pool volumes. A primary storage
pool volume becomes empty if all files that were stored on that volume are
restored to other volumes. In this case, the server automatically deletes the empty
volume from the database.
After the files are restored, the old references to these files in the primary storage
pool are deleted from the database. Tivoli Storage Manager 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 were restored to other locations, the destroyed volume is automatically
deleted from the database.
Chapter 29. Protecting and recovering the server infrastructure and client data 907
pool volume and to copies of the files in copy storage pool volumes and
active-data pool volumes. You cannot restore those files.
Procedure
To restore a storage pool, use the RESTORE STGPOOL command. To identify volumes
that contain damaged primary files, use the PREVIEW=YES parameter. During
restore processing, a message is issued for every volume in the restored storage
pool that contains damaged, noncached files. To identify the specific files that are
damaged on these volumes, use the QUERY CONTENT command.
What to do next
DRM: DRM can help you track your on-site and offsite primary and copy storage pool
volumes. DRM can also query the server and generate a current, detailed disaster recovery
plan for your installation.
Related tasks:
“Fixing damaged files” on page 896
This process preserves the collocation of client files. However, if the copy storage
pool or active-data pool being used to restore files does not have collocation
enabled, restore processing can be slow.
Procedure
If you need to use a copy storage pool or an active-data pool that is not collocated
to restore files to a primary storage pool that is collocated, you can improve
performance by completing the following steps:
1. Restore the files first to a random access storage pool (on disk).
2. Allow or force the files to migrate to the target primary storage pool.
For the random access pool, set the target storage pool as the next storage pool.
Adjust the migration threshold to control when migration occurs to the target
storage pool.
Related tasks:
“Keeping client files together using collocation” on page 357
The restoration might be incomplete for one or more of the following reasons:
v Either files were never backed up, or the backup copies were marked as
damaged.
v A copy storage pool or active-data pool was specified on the RESTORE STGPOOL
command, but files were backed up to a different copy storage pool or
After files are restored, the server deletes database references to files on the
original primary storage pool volumes. Tivoli Storage Manager now locates these
files on the volumes to which they were restored, rather than on the volume on
which they were previously stored. A primary storage pool volume becomes empty
if all files that were stored on that volume are restored to other volumes. In this
case, the server automatically deletes the empty volume from the database.
Procedure
To recreate files for one or more volumes that were lost or damaged, use the
RESTORE VOLUME command. The RESTORE VOLUME command changes the access mode
of the volumes being restored to destroyed. When the restoration is complete (when
all files on the volume are restored to other locations), the destroyed volume is
empty and is then automatically deleted from the database.
Chapter 29. Protecting and recovering the server infrastructure and client data 909
What to do next
Attention:
v Cached copies of files in a disk storage pool are never restored. References to
any cached files that are on a volume that is being restored are removed from
the database during restore processing.
v You can also recreate active versions of client backup files in storage pool
volumes by using duplicate copies in active-data pools. However, do not
consider active-data pools for recovery of a volume unless the loss of inactive
data is acceptable. If the server determines that an inactive file must be replaced
but cannot find it in the active-data pool, restoring from an active-data pool
might cause some or all inactive files to be deleted from the database.
v You cannot restore volumes in a storage pool defined with a CENTERA device
class.
Procedure
Note: This precaution prevents the movement of files stored on these volumes
until volume DSM087 is restored.
3. Bring the identified volumes to the on-site location and set their access mode to
READONLY to prevent accidental writes. If these offsite volumes are being
used in an automated library, the volumes must be checked into the library
when they are brought back on-site.
4. Restore the destroyed files. Issue this command:
restore volume dsm087
This command sets the access mode of DSM087 to DESTROYED and attempts
to restore all the files that were stored on volume DSM087. The files are not
restored to volume DSM087, but to another volume in the TAPEPOOL storage
pool. All references to the files on DSM087 are deleted from the database and
the volume itself is deleted from the database.
5. Set the access mode of the volumes used to restore DSM087 to OFFSITE using
the UPDATE VOLUME command.
6. Set the access mode of the restored volumes that are now on-site, to
READWRITE.
When the restoration of a volume might be incomplete, you can get more
information about the remaining files on volumes for which restoration was
incomplete.
The restoration might be incomplete for one or more of the following reasons:
v Files were either never backed up or the backup copies are marked as damaged.
v A copy storage pool or active-data pool was specified on the RESTORE VOLUME
command, but files were backed up to a different copy storage pool or a
different active-data pool. If you suspect this problem, use the RESTORE VOLUME
command again without specifying a copy storage pool or active-data pool from
which to restore files. You can specify the PREVIEW parameter on the second
RESTORE VOLUME command, if you do not actually want to restore files.
v Volumes in the copy storage pool or active-data pool needed to perform the
restore operation are offsite or unavailable. Check the activity log for messages
that occurred during restore processing.
v Backup file copies in copy storage pools or active-data pools were moved or
deleted by other processes during restore processing. To prevent this problem,
do not issue the following commands for copy storage pool volumes or
active-data pool volumes while restore processing is in progress:
– MOVE DATA
– DELETE VOLUME with the DISCARDDATA parameter set to YES
– AUDIT VOLUME with the FIX parameter set to YES
– MIGRATE STGPOOL
– RECLAIM STGPOOL
You can prevent reclamation processing for your copy storage pools and
active-data pools by setting the RECLAIM parameter to 100 with the UPDATE
STGPOOL command.
The destroyed volume access mode designates primary volumes for which files are
to be restored.
Chapter 29. Protecting and recovering the server infrastructure and client data 911
The destroyed designation is important during restore processing, particularly
when the RESTORE STGPOOL command is used to restore many primary storage pool
volumes after a major disaster.
Procedure
When you restore a file that has multiple copies that are stored on different
sequential storage pools, the Tivoli Storage Manager server selects the storage pool
volume to restore the file from by priority. The server also restores or retrieves files
from the client by priority. The priority is based on the status of the volume.
If you did not specify preemption settings for the server, and a mounted volume is
in use by another process, restore operations is pending until the other processes
complete. The restore operation is pending even when an unmounted volume is
available. In Tivoli Storage Manager V7.1, the server prioritizes idle volumes before
unmounted volumes to enable a restore operation to complete faster.
The server selects a storage pool to restore or retrieve a file from in the following
order:
1. Mounted file volume
2. Unmounted file volume
3. Unmounted VTL volume
4. Idle (mounted, but not in use) volume
5. Unmounted, tape library volume
6. Unmounted, stand-alone tape volume
7. In use, VTL or tape volume
8. Unavailable volume
9. Offsite volume
10. Irretrievable file volume
For example, there are three copies of a file stored in three storage pool volumes
that are called V1, V2, and V3. The storage pool volumes have the following status:
v V1 is idle and is stored in a storage tape pool called P1
v V2 is in use and is stored in a storage tape pool called P2
v V3 is unmounted and is stored in a storage tape pool called P3
If duplication occurs, Tivoli Storage Manager uses volumes from multiple copy
storage pools or active-data pools to restore the data. This process can result in
duplicate data being restored. To prevent this duplication, keep one complete set of
copy storage pools and one complete set of active-data pools available to the
server. Alternatively, ensure that only one copy storage pool or one active-data
pool has an access of read/write during the restore operation.
The primary storage pool Main contains volumes Main1, Main2, and Main3.
v Main1 contains files File11, File12, File13
v Main2 contains files File14, File15, File16
v Main3 contains files File17, File18, File19
The copy storage pool DuplicateA contains volumes DupA1, DupA2, and DupA3.
v DupA1 contains copies of File11, File12
v DupA2 contains copies of File13, File14
v DupA3 contains copies of File15, File16, File17, File18 (File19 is missing because
BACKUP STGPOOL was run on the primary pool before the primary pool
contained File 19.)
The copy storage pool DuplicateB contains volumes DupB1 and DupB2.
v DupB1 contains copies of File11, File12
v DupB2 contains copies of File13, File14, File15, File16, File17, File18, File19
If you do not designate copy storage pool DuplicateB as the only copy storage
pool to have read/write access for the restore operation, then Tivoli Storage
Manager can choose the copy storage pool DuplicateA, and use volumes DupA1,
DupA2, and DupA3. Because copy storage pool DuplicateA does not include file
File19, Tivoli Storage Manager would then use volume DupB2 from the copy
storage pool DuplicateB. The program does not track the restoration of individual
files, so File15, File16, File17, and File18 are restored a second time, and duplicate
copies are generated when volume DupB2 is processed.
Chapter 29. Protecting and recovering the server infrastructure and client data 913
Restoring and recovering an LDAP server
If you use an LDAP directory server to authenticate passwords, you might need to
restore its contents at some time.
There are ways to avoid locking your ID and not being able to logon to the server
or rendering data unavailable.
v Give system privilege class to the console administrator ID.
v Make sure that at least one administrator with system privilege class can access
the server with LOCAL authentication.
v Do not back up the LDAP directory server to the IBM Tivoli Storage Manager
server. An administrator who backs up the Windows Active Directory or the
IBM Tivoli Directory Server to the Tivoli Storage Manager server might render
them unusable. The Tivoli Storage Manager server requires an external directory
for the initial administrator authentication. Backing up the directory server to
the Tivoli Storage Manager server locks the administrator ID and renders them
unable to logon to the LDAP directory server.
You must configure the LDAP settings on a target server before replicating,
exporting, or importing nodes and administrators onto it.
You must run the SET LDAPUSER and SET LDAPPASSWORD commands, and define the
LDAPURL option on the target server. If it is not configured properly, you can
replicate, export, import, or use Enterprise Configuration on the target server. But
all nodes and administrators that are transferred from the source to the target with
the LDAP server are then changed to use LDAP authentication. Nodes and
administrators that changed to LDAP authentication on the target server become
inaccessible.
You can configure the target server for LDAP authentication after replicating or
exporting to it, but the data is unavailable until that occurs. After configuring the
LDAP settings at the target server level, the node or administrator entries must be
set up on the LDAP server. Either share the LDAP server between the source and
the target server, or replicate the source LDAP server to the target server. All
applicable nodes and administrators are transferred to the target.
If the transfer is unsuccessful, the LDAP administrator must manually add the
node and administrator passwords onto the LDAP server. Or you can issue the
UPDATE NODE or UPDATE ADMIN commands on the IBM Tivoli Storage Manager server.
After you issue the AUDIT LDAPDIRECTORY FIX=YES command, the following events
occur:
v All nodes and administrators that were removed from the LDAP directory
server are listed for you.
v All nodes and administrators that are missing from the LDAP directory server
are listed for you. You can correct these missing entries by issuing the UPDATE
NODE or UPDATE ADMIN command.
If multiple Tivoli Storage Manager servers share an LDAP directory server, avoid
issuing the AUDIT LDAPDIRECTORY FIX=YES command.
Procedure
Chapter 29. Protecting and recovering the server infrastructure and client data 915
Restoring to a point-in-time a library client server
A point-in-time restore of a library client server can cause volumes to be removed
from the volume inventory of a library client server and later overwritten.
If a library client server acquired scratch volumes after the point-in-time to which
the server is restored, these volumes would be set to private in the volume
inventories of the library client and library manager servers. After the restore, the
volume inventory of the library client server can be regressed to a point-in-time
before the volumes were acquired, thus removing them from the inventory. These
volumes would still exist in the volume inventory of the library manager server as
private volumes owned by the client.
The restored volume inventory of the library client server and the volume
inventory of the library manager server would be inconsistent. The volume
inventory of the library client server must be synchronized with the volume
inventory of the library manager server in order to return those volumes to scratch
and enable them to be overwritten. To synchronize the inventories, complete the
following steps:
Procedure
1. Audit the library on the library client server to synchronize the volume
inventories of the library client and library manager servers.
2. To resolve any remaining volume ownership concerns, review the volume
history and issue the UPDATE VOLUME command as needed.
Procedure
1. Install Tivoli Storage Manager on the replacement processor with the same
server options and the same size database and recovery log as on the
destroyed system.
2. Move the latest backup and all of the DISASTER-RECOVERY volumes on-site
from the offsite location.
Note: Do not change the access mode of these volumes until after you
complete step 7 on page 917.
3. If a current, undamaged volume history file exists, save it.
Clients can now access files. If a client tries to access a file that was stored on
a destroyed volume, the retrieval request goes to the copy storage pool. In this
way, clients can restore their files without waiting for the primary storage pool
to be restored. When you update volumes brought from offsite to change their
access, you greatly speed recovery time.
9. Define new volumes in the primary storage pool so the files on the damaged
volumes can be restored to the new volumes. With the new volumes, clients
can also back up, archive, or migrate files to the server. If you use only scratch
volumes in the storage pool, you are not required to complete this step.
10. Restore files in the primary storage pool from the copies in the
DISASTER-RECOVERY pool. To restore files from DISASTER-RECOVERY
pool, issue the following commands:
restore stgpool backuppool maxprocess=2
restore stgpool tapepool maxprocess=2
restore stgpool archivepool maxprocess=2
restore stgpool spacemgpool maxprocess=2
Chapter 29. Protecting and recovering the server infrastructure and client data 917
“Fixing an incomplete storage pool restoration” on page 908
The server from which client node data is replicated is called a source replication
server. The server to which client node data is replicated is called a target replication
server. A server can function as the source server of replicated data for some client
nodes and as the target server of replicated data for other client nodes.
The purpose of replication is to maintain the same level of files on the source and
the target replication servers. As part of replication processing, client node data
that was deleted from the source replication server is also deleted from the target
replication server. When client node data is replicated, only the data that is not on
the target replication server is copied.
Use node replication for data recovery at a disaster recovery site and to maintain
the same level of files on the source and target replication servers. Node replication
is used for the following objectives:
v Controlling network throughput by scheduling node replication at specific times
v Recovering data from large-scale site loss
To ensure high server availability, you can use node replication with clustering. In
a clustered environment, a client is less likely to fail over to another server. If you
replicate data from several source replication servers to one target replication
server, there is a high dependency on the target replication server. A clustered
environment eases the dependency on the target replication server.
The following table specifies replication compatibility for Tivoli Storage Manager
source and target replication servers.
Table 73. Replication compatibility of Tivoli Storage Manager servers
Compatibility with target replication server
Source replication server version version
V6.3.0 - V6.3.2 V6.3.0 - V6.3.2
V6.3.3 V6.3.3 or later
V6.3.4 or later V6.3.4 or later
You can replicate data for client nodes that are V6.3 or earlier. You can also
replicate data that was stored on a Tivoli Storage Manager V6.2 or earlier server
before you upgraded it to V6.3. You can also replicate data that was stored on a
Tivoli Storage Manager V6.2 or earlier server before you upgraded it to V6.3.
During normal operations, when the Tivoli Storage Manager V7.1 client logs in to a
source replication server, it receives connection information for the target failover
server. The client node stores the failover connection information in the client
options file. During client restore operations, the Tivoli Storage Manager server
automatically changes clients to the target replication server and back again. Only
one failover server can exist per node at any time. The server information is stored
in the options file. The failover server can be modified only if the default
replication server is modified and another replication is completed for the node.
To use automatic failover for replicated client nodes, the source replication server,
the target replication server, and the client must be at the v7.1 level or later. If any
of the servers are at an earlier level, automatic failover is disabled and you must
rely on manual failover.
If the client cannot connect to the source replication server, it uses the failover
connection information and attempts to log on to the target failover server. The
client logs on to the target replication server and is allowed only to recover data.
The client cannot store data during failover processing.
When a new client operation is started, the client attempts to connect to the source
replication server. The client resumes operations on the source server if the source
replication server is available.
When you configure a node for replication by using the REGISTER NODE command
or the UPDATE NODE command, the failover server is not specified.
Related tasks:
“Restoring, retrieving, and recalling data manually from a target replication server”
on page 988
NODE4
NODE1
CHICAGO_SRV
PHOENIX_SRV DALLAS_SRV
NODE4 data
NODE1 and NODE2 data
NODE3 data
NODE5 data
NODE2 ATLANTA_SRV
NODE3
NODE5
When a client node is registered on a target replication server, the domain for the
node is sent to the target server. If the target server does not have a domain with
the same name, the node on the target server is placed in the standard domain on
the target server and bound to the default management class.
To maintain the same number of file versions on the source and the target
replication servers, the source replication server manages file expiration and
deletion. If a file on the source replication server is marked for deletion, but not
yet deleted by the expiration processing, the target replication server deletes the
file during the next replication process. Expiration processing on the target
replication server is disabled for replicated data. The file on the target replication
server is deleted by the source replication server after the file is expired and
deleted on the source.
If a client node is removed from replication on the target replication server, the
policies on the target replication server are enabled. Data on the target replication
server is then managed by the policies that are on the target replication server, and
expiration processing can delete expired files.
Important: Policies that are defined on replication servers and that are dissimilar
can cause undesirable side-effects. As newer versions of backup files are replicated,
versions that exceed the value of the VEREXISTS parameter for the copy group are
marked for immediate deletion. If the node that owns the files is configured for
replication, expiration does not delete the files. However, because these files are
marked for immediate deletion, they are not available for the client to restore. The
files remain in the storage pool until replication deletes them based on the policy
on the source replication server.
Tips:
v Policies and storage pool hierarchies on the source and target replication servers
can be different. You can use deduplicated storage pools on the source
replication server, on the target replication server, or both. However, to maintain
synchronization of the data on source and target replication servers, configure
the management classes on the source and target replication servers to manage
data similarly. To coordinate policies, consider using Tivoli Storage Manager
enterprise configuration.
v Ensure that sufficient space is available in the storage pool on the target
replication server.
Replication rules
Replication rules control what data is replicated and the order in which it is
replicated.
The Tivoli Storage Manager server has the following predefined set of replication
rules. You cannot create replication rules.
ALL_DATA
Replicates backup, archive, or space-managed data. The data is replicated
with a normal priority. For example, you can assign the ALL_DATA rule to
backup data and archive data, and assign a different rule to
space-managed data.
ACTIVE_DATA
Replicates only active backup data. The data is replicated with a normal
priority. You can assign this rule only to the backup data type.
ALL_DATA_HIGH_PRIORITY
Replicates backup, archive, or space-managed data. The data is replicated
with a high priority. In a replication process that includes both
normal-priority and high-priority data, high-priority data is replicated first.
ACTIVE_DATA_HIGH_PRIORITY
Replicates active backup data. The data is replicated with a high priority.
You can assign this rule only to the backup data type.
DEFAULT
Replicates data according to the rule that is assigned to the data type at the
next higher level in the replication-rule hierarchy. The replication-rule
hierarchy comprises file space rules, individual client-node rules, and
server rules. Server rules apply collectively to all nodes that are defined to
a source replication server and that are configured for replication.
Rules that are assigned to data types in file spaces take precedence over
rules that are assigned to data types for individual nodes. Rules that are
assigned to data types for individual nodes take precedence over server
rules. For example, if the DEFAULT replication rule is assigned to back up
data in a file space, the server checks the replication rule for backup data
that is assigned to the client node. If the client node rule for backup data is
DEFAULT, the server checks the server rule for backup data.
The DEFAULT rule is valid only for data types at the file space level and
the client node level. It is not valid for data types at the server level.
Tip: When you set up the default replication configuration, you do not have to
assign or change replication rules. Tivoli Storage Manager automatically assigns
the DEFAULT replication rule to all data types in the file spaces and in the client
nodes that you configured. The system-wide replication rules are automatically set
to ALL_DATA. You can change file space, client-node, and system-wide rules after
you set up the default configuration.
If a file space is added to a client node that is configured for replication, the file
space rules for data types are initially set to DEFAULT. If you do not change the
file space rules, the client node and server rules determine whether data in the file
space is replicated.
To display the attributes of replication rules, issue the QUERY REPLRULE command.
In a client node that is configured for replication, each file space has three
replication rules. One rule applies to backup data in the file space. The other rules
apply to archive data and to space-managed data. The rules for the file space exist
regardless of whether the file space has backup, archive, or space-managed data. If
Similarly, each client node that is configured for replication has replication rules for
backup data, archive data, and space-managed data. Client node rules apply to all
the file spaces that belong to a node. Replication rules also exist at the server level
that applies collectively to every client node that is configured for replication on a
source replication server.
During replication processing, file space rules take precedence over rules for
individual nodes. Rules for individual nodes take precedence over server rules.
The replication rule that has precedence is called the controlling replication rule.
Replication process
File space /a, NODE1: File space /b, NODE1: File space /a, NODE2:
ALL BACKUP DATA
ARCHIVE DATA ARCHIVE DATA ARCHIVE DATA
File space /a, NODE1: File space /b, NODE1: File space /a, NODE2:
Target replication
server
When the REPLICATE NODE command is issued, a single replication process begins.
The source replication server identifies client nodes that are configured for
replication and the rules that apply to the file spaces in nodes that are enabled.
The backup data in file space /a that belongs to NODE2 is also high priority. The
file space rule for backup data, which is ALL_DATA_HIGH_PRIORITY, takes
precedence over the client node rule of DEFAULT and the server rule of
ALL_DATA.
Tips:
v Figure 112 on page 926 shows one possible configuration to achieve the specified
results. In general, multiple configurations can exist that accomplish the same
purpose.
For example, to replicate archive data first, you can assign the
ALL_DATA_HIGH_PRIORITY replication rule to the archive data type in each
file space that belongs to NODE1 and NODE2.
v Figure 112 on page 926 shows one replication process. To replicate certain client
nodes ahead of other client nodes, you can issue multiple REPLICATE NODE
commands in sequence, either manually or in a maintenance script. Each
command can specify a different client node or different file spaces in an
individual client node. For example, suppose NODE1 contains a large amount of
data and you want to conserve bandwidth. To replicate client node data
sequentially, you can specify NODE1 in a single REPLICATE NODE command and
NODE2 in another REPLICATE NODE command.
Related concepts:
“Replication rule hierarchy” on page 924
“Replication rule definitions” on page 923
Replication state
Replication state indicates whether replication is enabled or disabled. When you
disable replication, replication does not occur until you enable it.
Figure 113 on page 929 shows the interaction of replication states and replication
rules. In the example, NODE1 has a single file space /a that contains archive data.
Assume that the replication state of NODE1 on the target replication server is
ENABLED and that replication processing for all nodes is enabled.
ALL_DATA
File space ENABLED Replication Archive data
ALL_DATA_HIGH_PRIORITY DISABLED
rule for state of archive in /a
archive data data type is not replicated
? in /a
?
DEFAULT
ALL_DATA
ALL_DATA_HIGH_PRIORITY Node rule NONE Archive data
for in /a
archive data is not replicated
?
DEFAULT
ALL_DATA
ALL_DATA_HIGH_PRIORITY
ENABLED
Archive data
in /a
is replicated
Replication
processing
ends
To determine the replication state of a file space, issue the QUERY FILESPACE
command. To determine the replication state of a client node, issue the QUERY NODE
command, and to determine the replication state of a rule, issue the QUERY
REPLRULE command.
Replication mode
Replication mode is part of a client node definition and indicates whether a client
node is set up to send or receive replicated data. The replication mode can also
indicate whether the data that belongs to a client node is to be synchronized the
first time that replication occurs. Data synchronization applies only to client nodes
whose data was exported from the source replication server and imported on the
target replication server.
The following modes are possible for a client node whose data is not being
synchronized:
SEND Indicates that the client node is set up to send data to the target replication
server. The SEND replication mode applies only to the client node
definition on a source replication server.
RECEIVE
Indicates that the client node is set up to receive replicated data from the
source replication server. The RECEIVE replication mode applies only to
the client node definition on a target replication server.
NONE
The client node is not configured for replication. To be configured for
replication, the client node must be enabled or disabled for replication.
If the data that belongs to a client node was previously exported from a source
replication server and imported on a target replication server, the data must be
synchronized. Synchronization is also required after a database restore to preserve
the client node data that is on the target replication server. When the data that
belongs to a client node is synchronized, entries in the databases of the source and
target replication servers are updated.
The following special settings for replication mode are required to synchronize
data.
Restriction: To synchronize data, the date of the imported data on the target
replication server must be the original creation date.
SYNCSEND
Indicates that data that belongs to the client node on the source replication
server is to be synchronized with the client node data on the target
replication server. The SYNCSEND mode applies only to the client node
definition on a source replication server.
When data synchronization is complete, the replication mode for the node
on the source replication server is set to SEND.
SYNCRECEIVE
Indicates that data that belongs to the client node on the target replication
server is synchronized with the client node data on the source replication
server. This SYNCRECEIVE mode applies only to the client node definition
on the target replication server.
The following table shows the results when storage pools on source and target
replication servers are enabled for data deduplication. The destination storage pool
is specified in the backup or archive copy-group definition of the management
class for each file. If the destination storage pool does not have enough space and
data is migrated to the next storage pool, the entire file is sent, whether the next
storage pool is set up for deduplication.
Tip: If you have a primary storage pool that is enabled for deduplication on a
source replication server, you can estimate a size for a new deduplicated storage
pool on the target replication server. Issue the QUERY STGPOOL command for the
primary deduplicated storage pool on the source replication server. Obtain the
A Tivoli Storage Manager V7.1 server can replicate any node definition that is set
as a proxy agent for a replicating node. The associated replication node definition
must be replicated to the target replication server for failover to occur.
The following client node attributes are updated during node replication:
v Aggregation
v Automatic file space rename
v Archive delete authority
v Backup delete authority
v Backup initiation
v Cipher strength
v Client option sets
v Compression option
v Contact
v Data-read path
v Data-write path
v Email address
v File space access rules that are created with the client SET ACCESS command
v High-level address
v Low-level address
v Node lock state
v Operating system
v Option set name
v Password
v Password expiration period
v Proxy node
v Role override
v Session initiation
v Transaction group maximum
v URL
v Validate protocol
The following client node attributes are not updated during node replication:
v Domain name (might not exist on target replication server)
v Node conversion type
v Target level for automatic client deployment
Tips:
v If you want to convert client nodes for store operations to a target
replication server, you can manually duplicate client schedules that are
on the source replication server.
v You can generate backup sets on the target replication server for a
replicated client node.
Retention protection
You cannot configure servers for replication on which archive retention
protection is enabled.
Replication and file groups
When you are replicating files from one server to another, it is possible that
some of the files that are being replicated belong to a group of files that
are managed as a single logical entity. If a replication process ends without
replicating all the files in a group, client nodes are unable to restore,
retrieve, or recall the file group. When replication runs again, the source
replication server attempts to replicate the missing files.
If you want to... Use these commands... For more information, see...
Add client nodes for REGISTER NODE and UPDATE “Adding client nodes for
replication. NODE replication processing” on
page 962
Remove client nodes from REMOVE REPLNODE “Removing client nodes from
replication. Removing a node replication processing” on
from replication converts a page 963 and “Converting
replicating node to a client nodes for store
non-replicating node. A operations on a target
non-replicating node can replication server” on page
back up, archive, and 989
migrate data directly to the
target replication server.
As you plan, remember that a target replication server must be accessible from a
source replication server by using an IP connection. The connection must provide
sufficient bandwidth to accommodate the volume of data to be replicated. If the
connection is insufficient and becomes a bottleneck for replication, keeping the
data on the two servers synchronized can be a problem. Keep in mind that you
can use client-side data deduplication with node replication to reduce network
bandwidth requirements and storage requirements.
The destination storage pool on a target replication server must have sufficient
space to store replicated data.
Procedure
v Identify the client nodes and, if necessary, the files spaces that belong to those
nodes, that have data to be replicated.
v Identify the types of data that you want to replicate. With Tivoli Storage
Manager, you can replicate backup data, archive data, and space-managed data.
If you decide to replicate backup data, you must decide whether to replicate
only active backup data or to replicate active and inactive backup data. In
environments with large amounts of backup data, it might make sense to
replicate only active backup data. The type of data that you replicate can vary
by node or by file space.
v Determine the order in which data is to be replicated. If you want to replicate
some data ahead of other data in a replication process, you can assign a
high-priority replication rule to the data that you want to replicate first. A
high-priority classification does not increase the speed of replication.
v Set up a default replication configuration. In the default configuration, all
backup, archive, and space-managed data is replicated in all file spaces in all
replication-enabled client nodes. You can also change the replication rules at the
file space, client node, and server levels. In general, you can apply different
replication rules at different levels and achieve the same results.
To determine whether the database can manage more space requirements, you
must estimate how much more database space that node replication will use.
Requirement: Place the database and database logs on separate disks that have a
high performance capability. Use a separate disk or mount point for the following
options:
v Other applications that use the database and logs
v System tasks, such as system paging
Procedure
1. Determine number of files for each node and data type that is in use. Issue the
QUERY OCCUPANCY command for each node and data type that you plan to
replicate. For example, you can display information about the file spaces that
are assigned to the node named PAYROLL by issuing the following command:
query occupancy payroll
2. Determine how much more database space is required by using the value for
the total number of files that are used by all nodes and data types. Use the
following formula to calculate the amount of database space that is required:
Important: You must increase the available database space when the additional
required space approaches or exceeds the size of your database. Ensure that
you examine both replication servers and their databases and increase the
database size if necessary.
3. Increase the size of the database by the additional database space required and
include an additional 10% of the database size.
Procedure
1. Estimate the initial amount of data to be replicated. Decide which nodes, file
spaces, and data types must be replicated. To calculate the total amount of
physical space that is occupied for each file space and data type that must be
replicated, issue the QUERY OCCUPANCY command for each node. For example,
you can display information about the file spaces assigned to the node named
PAYROLL by issuing the following command:
query occupancy payroll
Tip: Tune the performance of replication to the data type. For example, if you
do not plan to replicate a data type in a file space, exclude the number of files
for that data type.
2. Determine the amount of data that is backed up daily by the client nodes.
Complete the following steps to estimate the amount of data that is replicated
incrementally daily:
a. When client nodes complete a store operation, the client logs completion
messages with the server. The completion messages report statistics or
information for a client operation that was transferred to the server.
Message ANE4961I shows the number of bytes that are transferred during a
client operation.
b. To determine the average amount of bytes that are backed up daily by a
particular node, add the number of bytes that are shown in the ANE4961I
messages over several days. Then calculate the average amount of bytes to
be replicated for all nodes to determine how much data is replicated daily.
Procedure
1. To calculate the required network bandwidth, determine the following
information:
v Total amount of data (TD) to be replicated, in gigabytes. To calculate the total
amount of data, see “Estimating the total amount of data to be replicated.”
v Length of replication window time (RWT) in hours. The length of the
replication window time is the time that you schedule during server
maintenance for replication to occur.
What to do next
If the value for required network bandwidth exceeds the capabilities of your
network, you must adjust the values in the formula. Reduce the TD value or
increase the replication time, to reduce the value for Required_Network_Bandwidth. If
you cannot adjust the TD or the RWT time values, adjust or replace your existing
network to reduce the additional workload.
Procedure
1. Determine the time that is required for replication by using the number of
bytes you want to replicate and the bytes per hour value. Use the following
formula to calculate how many hours it takes to complete replication:
Total_bytes_to_be_Replicated / Bytes_Per_Hour = Hours_to_Complete_Replication.
To calculate the Total_bytes_to_be_Replicated and the Bytes_Per_Hour values,
complete the steps in “Tuning replication processing” on page 977.
2. For the initial replication, determine how many hours it takes for the
replication to occur over the network during a daily window for replication by
using the following calculation:
Days_to_Complete_Replication = Hours_to_Complete_Replication / 24
What to do next
When you determine how long it takes for replication to finish, you can decide
which method you use to complete the initial replication. The method that you use
for the initial replication is based on the data, time, and bandwidth values that you
calculated.
Related tasks:
“Selecting a method for the initial replication” on page 943
Procedure
1. Export the data from the source replication server for the nodes that you want
to replicate. For example, to export client node information and all client files
for NODE1 directly to SERVERB, issue the following command:
export node node1 filedata=all toserver=serverb
Tip: You can also export client data directly to another server so that it can be
immediately imported. For example, to export client node information and all
client files for NODE1 directly to SERVERB, issue the following command:
export node node1 filedata=all toserver=serverb
When you decide how many nodes to add to a group, consider the amount of data
that is replicated daily by the nodes.
Procedure
1. Prioritize the subset of nodes that have critical data. Replicate critical data first,
by issuing the REPLICATE NODE command.
2. Continue to replicate the high-priority nodes daily while incrementally adding
the replication of other subsets of nodes that contain important, but not critical,
data.
3. Repeat this process until all subsets of all nodes that must be replicated
complete their initial replication.
Related concepts:
“Node replication processing” on page 923
“Replication rules” on page 923
Procedure
1. Configure the replication rules to replicate active data.
2. Replicate the active data. For example, issue the following UPDATE NODE
command to replicate active data for a node named PAYROLL:
update node payroll bkreplrule=active_data
3. After the initial replication of the active data is completed, configure the
replication rules to replicate all versions of the data by issuing the following
UPDATE NODE command:
update node payroll bkreplrule=active_data_high_priority
Results
During the next scheduled replication, any new active versions, including all
inactive versions, are replicated. The files that were active but are now inactive are
not replicated again.
Procedure
1. Configure all nodes that must be replicated by issuing the UPDATE NODE
command and specify the REPLSTATE=ENABLED parameter.
2. Issue the REPLICATE NODE command to start replication processing.
3. Monitor the progress of the replication by issuing the QUERY PROCESS command.
Summary information is displayed, which includes the amount of data that is
replicated and the process duration.
Remember: If you do not have time to complete replication, you can cancel it
after it has started, by issuing the CANCEL REPLICATION command.
4. Use the summary information to determine whether the values of the
controlled test match the actual replication values. You calculate the values of
the controlled test in “Tuning replication processing” on page 977. For example,
to display information about a replication process 23, issue the following
command:
query process 23
If you are unable to complete the replication process in the amount of time that
you scheduled, increase the number of data sessions that transfer data to the target
replication server. Replication performance improves when more deduplicated data
is stored on the target replication server. When more extents are stored on the
target replication server, more duplicates are found for an extent.
If you are replicating data from storage pools that are enabled for data
deduplication, run processes in the following order:
1. To identify duplicates, issue the IDENTIFY DUPLICATES command. Break files
into extents to reduce the amount of data that is sent to the target replication
server when replication occurs.
2. To start replication processing, issue the REPLICATE NODE command. Only file
extents that do not exist on the target replication server are sent during
replication, which reduces the required bandwidth and improves performance.
3. To start reclamation processing, issue the RECLAIM STGPOOL command.
Reclamation removes and links duplicated extents.
The following figure shows the replication rules that are created in the default
configuration. Backup data includes both active and inactive backup data.
Replication process
Normal priority data
Target replication
server
After you complete the default configuration, you can change the replication rules
to meet your specific replication requirements.
Server definitions are required for the source replication server to communicate
with the target replication server and for the target replication server to report
status to the source replication server.
Important: You can specify only one target replication server for a source
replication server. However, you can specify one or more source replication servers
for a single target replication server. Source and target replication servers must be
V6.3 or later.
The method that you use to set up servers depends on whether the server
definitions exist and on whether you are using the cross-define function to
automatically define one server to another.
Procedure
Remember: If you want an SSL connection, the value for the SET
SERVERLLADDRESS command on the target replication server must be an SSL
port. The value of the SET SERVERNAME command must match the server
name in the server definition.
2. On the source replication server, issue the following commands:
set servername source_server_name
set serverpassword source_server_password
set serverhladdress source_server_ip_address
set serverlladdress source_server_tcp_port
Remember: If you want an SSL connection, the value for the SET
SERVERLLADDRESS command on the source replication server must be an SSL
port. The value of the SET SERVERNAME command must match the server
name in the server definition.
A server definition is created on the source replication server, and the source
replication server is connected to the target replication server. A definition for
the target replication server is created that points to the source replication
server.
v If server definitions do not exist and you are not using the cross-define function,
complete the following steps:
1. Issue the following commands on both the source and target replication
servers:
set servername server_name
set serverpassword server_password
set serverhladdress ip_address
set serverlladdress tcp_port
Remember: If you want an SSL connection, the value for the SET
SERVERLLADDRESS command on the replication servers must be an SSL port.
The value of the SET SERVERNAME command must match the server name in
the server definition.
2. Issue the DEFINE SERVER command on each server. Do not specify the
CROSSDEFINE parameter. If you want an SSL connection, specify SSL=YES. For
example:
– On the source replication server:
define server target_server_name hladdress=target_server_ip_address
lladdress=target_server_tcp_port serverpassword=target_server_password
ssl=yes
– On the target replication server:
define server source_server_name hladdress=source_server_ip_address
lladdress=source_server_tcp_port serverpassword=source_server_password
ssl=yes
v If definitions exist for both the source and target replication servers, issue the
UPDATE SERVER command on each server. Do not specify the CROSSDEFINE
parameter. You can use the QUERY STATUS command to determine the server
names. If you want an SSL connection, specify SSL=YES. For example:
– On the source replication server:
update server target_server_name hla=target_server_ip_address
lladdress=target_server_tcp_port serverpassword=target_server_password
ssl=yes
– On the target replication server:
update server source_server_name hladdress=source_server_ip_address
lladdress=source_server_tcp_port serverpassword=
source_server_password
ssl=yes
Before you begin this procedure, issue the PING SERVER command. The command
verifies that the definitions for the source and target replication servers are valid
and that the servers are connected.
Procedure
To specify a target replication server, issue the SET REPLSERVER command on the
source replication server. For example, to specify a server named PHOENIX_SRV
as the target replication server, issue the following command:
set replserver phoenix_srv
Results
Issuing the SET REPLSERVER command also sets replication rules to ALL_DATA. To
display replication rules, you can issue the QUERY STATUS command.
Related concepts:
“Replication server configurations” on page 921
Restrictions:
v If a client node definition does not exist on the target replication server, do not
create it. The definition for the client node on the target replication server is
created automatically when the data of the node is replicated the first time.
v If a client node definition exists on both the source and target replication servers,
but the data that belongs to the client node was not exported and imported, you
must rename or remove the client node on the target replication server before
data can be replicated.
To configure a client node for replication, take one of the following actions,
depending on whether data of the node was exported from the source replication
server and imported on the target replication server:
Procedure
v If the data of the node was not exported from the source replication server and
imported on the target replication server, complete one of the following steps:
– If the client node is not already registered on a source replication server, issue
the REGISTER NODE command on the source replication server. Specify
REPLSTATE=ENABLED or REPLSTATE=DISABLED.
For example, to enable a new client node, NODE1, for replication, issue the
following command:
register node node1 password replstate=enabled
– If the client node is already registered on a source replication server, issue the
UPDATE NODE command on the source replication server. Specify
REPLSTATE=ENABLED or REPLSTATE=DISABLED.
For example, to enable an existing client node, NODE1, for replication, issue
the following command:
update node node1 replstate=enabled
v If the data of the node was exported from the source replication server and
imported to the target replication server, complete the following steps:
1. On the source replication server, issue the UPDATE NODE command:
a. Specify REPLSTATE=ENABLED or REPLSTATE=DISABLED.
b. Specify REPLMODE=SYNCSEND.
2. On the target replication server, issue the UPDATE NODE command and specify
REPLMODE=SYNCRECEIVE.
Data is synchronized during replication. After the replication process is
complete, the REPLMODE parameter in the client node definition on the source
replication server is set to SEND. The REPLMODE parameter in the client node
definition on the target replication server is set to RECEIVE, and the REPLSTATE
parameter is set to ENABLED.
Results
If you set the replication state of the client node to DISABLED, the replication
mode is set to SEND, but replication does not occur. If you set the replication state
of the client node to ENABLED, the client node definition is created on the target
replication server when replication occurs for the first time. In addition, the
replication mode of the client node on the target replication server is set to
RECEIVE, and the replication state is set to ENABLED.
If you add a file space to a client node that is configured for replication, the file
space replication rules for data types are automatically set to DEFAULT. To change
file space replication rules, issue the UPDATE FILESPACE command.
To determine the replication mode and the replication state that a client node is in,
issue the QUERY NODE command.
The default configuration is complete after client nodes are configured for
replication. You are now ready to replicate. If you do not change the default
replication rules, all backup, archive, and space-managed data in all
replication-enabled client nodes is replicated.
Related concepts:
“Replication mode” on page 930
“Replication state” on page 927
Rules for file spaces are either normal priority or high priority. In a replication
process that includes both normal-priority and high-priority data, high-priority
data is replicated first. If you issue the REPLICATE NODE command for two or more
clients, all high priority data for all file spaces in the specified nodes is processed
before normal priority data.
Before you select a rule, consider the order in which you want the data to be
replicated. For example, suppose that a file space contains active backup data and
archive data. Replication of the active backup data is a higher priority than the
archive data. To prioritize the active backup data, specify DATATYPE=BACKUP
REPLRULE=ACTIVE_DATA_HIGH_PRIORITY. To prioritize the archive data, issue the
UPDATE FILESPACE command again, and specify DATATYPE=ARCHIVE
REPLRULE=ALL_DATA.
Attention:
v If you specify ACTIVE_DATA_HIGH_PRIORITY, inactive backup data in
the file space is not replicated, and inactive backup data in the file space
on the target replication server is deleted.
v If you specify ACTIVE_DATA_HIGH_PRIORITY, you cannot specify
ARCHIVE or SPACEMANAGED as values for the parameter DATATYPE in
the same command instance.
DEFAULT
Replicates data according to the client node rule for the data type.
For example, suppose that you want to replicate the archive data in all the
file spaces that belong to a client node. Replication of the archive data is a
high priority. One method to accomplish this task is to specify
DATATYPE=ARCHIVE REPLRULE=DEFAULT for each file space. Ensure that the
client replication rule for archive data is set to
ALL_DATA_HIGH_PRIORITY or to DEFAULT. If the client replication rule
is DEFAULT, the server replication rule for archive data must be set to
ALL_DATA_HIGH_PRIORITY.
NONE
Data is not replicated.
For example, if you do not want to replicate the space-managed data in a
file space, specify NONE.
To display the replication rules for a file space, issue the QUERY FILESPACE
command. Specify FORMAT=DETAILED.
Procedure
v To change a replication rule for backup data, issue the UPDATE FILESPACE
command and specify DATATYPE=BACKUP. Specify the REPLRULE parameter. For
example, to specify the ACTIVE_DATA rule for backup data in file space /a on
NODE1, issue the following command:
update filespace node1 /a datatype=backup replrule=active_data
v To specify a replication rule for archive data, issue the UPDATE FILESPACE
command and specify DATATYPE=ARCHIVE. Specify the REPLRULE parameter. For
example, to specify the ALL_DATA_HIGH_PRIORITY rule for archive data in
file space /a on NODE1, issue the following command:
Example
In the following example, assume that you have two client nodes, NODE1 and
NODE2. The nodes have the following file spaces:
v NODE1: /a, /b, /c
v NODE2: /a, /b, /c, /d, /e
All the file space rules are set to DEFAULT. The backup, archive, and
space-managed rules for NODE1 and NODE2 are also set to DEFAULT. The server
rules are set to ALL_DATA. To replicate the backup data in file space /a in NODE1
and file space /c in NODE2 first, before replicating data in the other file spaces,
issue the following commands:
update filespace node1 /a datatype=backup replrule=all_data_high_priority
update filespace node2 /c datatype=backup replrule=all_data_high_priority
The data that belongs to the two nodes is replicated in the following order:
1. High Priority: Data in file space /a that belongs to NODE1 and data in file
space /c in NODE2
2. Normal priority: Data in file spaces /b and /c that belongs to NODE1 and data
in file spaces /a, /b, /d, and /e that belongs to NODE2
What to do next
Important: Data types in new file spaces that are added to a client node after the
node is configured for replication are automatically assigned the DEFAULT
replication rule.
Related concepts:
“Replication rules” on page 923
Rules for client nodes are either normal priority or high priority. In a replication
process that includes both normal-priority and high-priority data, high-priority
data is replicated first. If you issue the REPLICATE NODE command for two or more
clients, all high priority data for all file spaces in the specified nodes is processed
before normal priority data.
Before you select a rule, consider the order in which you want the data to be
replicated. For example, suppose that a client node contains active backup data
and archive data. Replication of the active backup data is a higher priority than
Attention:
v If you specify ACTIVE_DATA, inactive backup data that belongs to the
client node is not replicated.
v If the replication rule for backup data in any file spaces that belong to
the client node is DEFAULT, inactive backup data in those file spaces on
the target replication server is deleted.
ALL_DATA_HIGH_PRIORITY
Replicates backup, archive, or space-managed data. The data is replicated
with a high priority.
ACTIVE_DATA_HIGH_PRIORITY
Replicates only the active backup data in client nodes. The data is
replicated with a high priority.
Attention:
v If you specify ACTIVE_DATA_HIGH_PRIORITY, inactive backup data
that belongs to the client node is not replicated.
v If the replication rule for backup data in any file spaces that belong to
the client node is DEFAULT, inactive backup data in those file spaces on
the target replication server is deleted.
DEFAULT
Replicates data according to the server rule for the data type.
For example, suppose that you want to replicate the archive data in all
client nodes that are configured for replication. Replication of the archive
data is a high priority. One method to accomplish this task is to set the
file-space and client-node replication rules for archive data to DEFAULT.
Set the server rule for archive data to ALL_DATA_HIGH_PRIORITY.
NONE
Data is not replicated. For example, if you do not want to replicate the
space-managed data in a client node, specify the NONE replication rule for
space-managed data.
To display the replication rules that apply to all file spaces that belong to a node,
issue the QUERY NODE command and specify FORMAT=DETAILED.
Remember: File spaces are not displayed for client nodes that are registered on the
source replication server but that have not completed store operations. File spaces
are created only after the client stores data to the source replication server.
Replication rules for data types in file spaces are automatically assigned values of
DEFAULT.
Procedure
v To change a replication rule for backup data, issue the UPDATE NODE command
and specify the BKREPLRULEDEFAULT parameter. For example, to specify the
ACTIVE_DATA rule for backup data in NODE1, issue the following command:
update node node1 bkreplruledefault=active_data
v To change a replication rule for archive data, issue the UPDATE NODE command
and specify the ARREPLRULEDEFAULT parameter. For example, to specify the
ALL_DATA_HIGH_PRIORITY rule for archive data in NODE1, issue the
following command:
update node node1 arreplruledefault=all_data_high_priority
v To change a replication rule for space-managed data, issue the UPDATE NODE
command and specify the SPREPLRULEDEFAULT parameter. For example, to specify
the NONE rule for space-managed data in NODE1, issue the following
command:
update node node1 spreplruledefault=none
Related concepts:
“Replication rules” on page 923
Server rules are either normal priority or high priority. In a replication process that
includes both normal-priority and high-priority data, high-priority data is
replicated first. If you issue the REPLICATE NODE command for two or more clients,
all high priority data for all file spaces in the specified nodes is processed before
normal priority data.
Before you select a rule, consider the order in which you want the data to be
replicated. For example, suppose that your client nodes contain active backup data
and archive data. Replication of the active backup data is a high priority. To
prioritize the active backup data, specify the ACTIVE_DATA_HIGH_PRIORITY
replication rule. Specify the ALL_DATA rule for archive data.
Attention:
v If you specify ACTIVE_DATA_HIGH_PRIORITY, inactive backup data
that belongs to client nodes is not replicated.
v If the replication rules for backup data in any file spaces and any client
nodes is DEFAULT, inactive backup data in those file spaces on the
target replication server is deleted. For example, suppose the rules for
backup data in file space /a in NODE1 and file space /c in NODE2 are
DEFAULT. The rules for backup data in NODE1 and NODE2 are also
DEFAULT. If you specify ACTIVE_DATA as the server rule, inactive data
in file spaces /a and /c is deleted.
NONE
Data is not replicated. For example, if you do not want to replicate the
space-managed data in your client nodes, specify NONE.
To change server replication rules, issue one or more of the following commands
on the source replication server:
Procedure
v To change the server replication rule that applies to backup data, issue the SET
BKREPLRULEDEFAULT command on the source replication server. For example, to
specify the ACTIVE_DATA rule for backup data, issue the following command:
set bkreplruledefault active_data
v To change the server replication rule that applies to archive data, issue the SET
ARREPLRULEDEFAULT command on the source replication server. For example, to
specify the ALL_DATA_HIGH_PRIORITY rule for archive data, issue the
following command:
set arreplruledefault all_data_high_priority
v To change the server replication rule that applies to space-managed data, issue
the SET SPREPLRULEDEFAULT command on the source replication server. For
example, to specify the NONE rule for space-managed data, issue the following
command:
set spreplruledefault none
Related concepts:
NODE1 has two file spaces, /a and /b. NODE2 has one file space, /a. File space
and client replication rules for backup, archive, and space-managed data are set to
DEFAULT. Server replication rules are set to ALL_DATA. You have the following
goals:
v Replicate only the active backup data in file space /a that belongs to NODE1.
v Do not replicate any space-managed data in any of the file spaces that belong to
NODE1.
v Replicate the archive data in all file spaces that belong to NODE1 and NODE2.
Make the replication of the data a high priority.
v Replicate the active and inactive backup data in file space /a that belongs to
NODE2. Make replication of the data a high priority.
To accomplish these goals, replication rules must be set as shown in the following
figure:
Replication process
File space /a, NODE 1: File space /b, NODE 1: File space /a, NODE 2:
ALL BACKUP DATA
ARCHIVE DATA ARCHIVE DATA ARCHIVE DATA
File space /a, NODE 1: File space /b, NODE 1: File space /a, NODE 2:
Target replication
server
Results
Tips:
v In Figure 114 on page 959, all the data in all the files spaces of both client nodes
is replicated in one process. However, if the amount of node data is large and
you do not have enough bandwidth to replicate data in a single process, you can
use one of the following methods:
– Schedule or manually issue separate REPLICATE NODE commands at different
times for NODE1 and NODE2.
– Replicate high-priority and normal-priority data separately at different times
by specifying the PRIORITY parameter on the REPLICATE NODE command.
– Replicate different data types at different times by specifying the DATATYPE
parameter on the REPLICATE NODE command.
– Combine replication by priority and by data type by specifying both the
PRIORITY and DATATYPE parameters on the REPLICATE NODE command.
v To verify the replication rules that apply to the file spaces in the client nodes,
issue the VALIDATE REPLICATION command. You can also use this command to
verify that the source replication server can communicate with the target
replication server. To preview results, issue the REPLICATE NODE command and
specify PREVIEW=YES.
Related concepts:
“Replication rules” on page 923
Client node data that was exported and imported must be synchronized between
the source and target replication servers. You set up client nodes to synchronize
their data as part of the process of configuring nodes for replication. Data is
synchronized the first time that replication occurs. To synchronize data, the data
must be imported to the disaster recovery server by using ABSOLUTE as the value
for the DATES parameter on the IMPORT NODE command.
Procedure
What to do next
Important: You cannot display information about running replication processes for
client nodes that are being converted from import and export operations to
replication operations. The conversion process might run for a long time, but it
occurs only once for a client node that is being converted.
Before you add a client node for replication, ask the following questions:
v Was the data that belongs to the client node previously exported from the server
that is to be the source replication server for replicated data?
v If the data was exported, was it imported on the server that is now the target
replication server for replicated data?
v When you imported the data, did you specify DATES=ABSOLUTE on the IMPORT
NODE command?
If you answered "yes" to all of the preceding questions, you must set up to
synchronize the data on the source and target replication servers. The following
procedure explains how to set up synchronization when you add client nodes for
replication. Synchronization occurs during replication.
Restrictions:
v If a client node definition does not exist on the target replication server, do not
create it. The definition for the client node on the target replication server is
created automatically when the data of the node is replicated the first time.
v If a client node definition exists on both the source and target replication servers,
but the data that belongs to the client node was not exported and imported, you
must rename or remove the client node on the target replication server before
data can be replicated.
v If you previously removed a client node from replication on the source
replication server, but not on the target replication server, you do not have to
rename or remove the node on the target replication server.
Procedure
Results
If you set the replication state of the client node to DISABLED, the replication
mode is set to SEND, but replication does not occur. If you set the replication state
of the client node to ENABLED, the client node definition is created on the target
replication server when replication occurs for the first time. In addition, the
replication mode of the client node on the target replication server is set to
RECEIVE, and the replication state is set to ENABLED.
If you add a file space to a client node that is configured for replication, the file
space replication rules for data types are automatically set to DEFAULT.
What to do next
After you add client nodes for replication, ensure that they are included in any
existing administrative schedules for replication. Alternatively, you can create a
schedule for replication that includes the new client nodes.
Related concepts:
“Replication mode” on page 930
“Replication state” on page 927
Removing a client node from replication deletes only information about replication
from the server database. Removing a node from replication does not delete the
data that belongs to the node that was replicated.
To completely remove a client node from replication, issue the REMOVE REPLNODE
command on the source and target replication servers that have the node that is
configured for replication. For example, to remove NODE1 and NODE2 from
replication, issue the following command:
remove replnode node1,node2
What to do next
To verify that the node was removed, issue the QUERY NODE command on the source
and the target replication servers. For example, to verify that NODE1 and NODE2
were removed, issue the following command:
query node node1,node2 format=detailed
If the node was removed, the fields Replication State and Replication Mode are
blank. If you do not want to keep the node data that is stored on the target
replication server, you can delete it using the DELETE FILESPACE command for the
file spaces that belong to the node. If you do not want to keep the node definition
on the target replication server, delete the node definition by issuing the REMOVE
NODE command.
If you remove a client node from replication, rename the node, or delete the node
data, and then remove the node. You can add the node for replication later. All the
node data is replicated to the target replication server.
For example, suppose that you updated the definition of a client node whose data
you wanted to replicate. The data that belongs to the node was previously
exported from the source replication server and imported to the target replication
server. You specified ENABLED as the setting of the REPLSTATE parameter.
However, you did not specify SYNCSEND as the replication mode on the source
replication server. As a result, the REPLMODE parameter was automatically set to
SEND, and data that belongs to the node was not synchronized or replicated.
Procedure
To reconfigure the client node for replication, complete the following steps:
1. Issue the REMOVE REPLNODE command for the client node. For example, to
remove a client node, NODE1, from replication, issue the following command:
remove replnode node1
Issuing the REMOVE REPLNODE command resets the replication state and the
replication mode for the client node to NONE.
2. Issue the UPDATE NODE command with the correct parameters and values.
For example, to enable NODE1 for replication and synchronize the data that
belongs to the node, complete the following steps:
a. On the source replication server, issue the following command:
update node node1 replstate=enabled replmode=syncsend
Results
After synchronization and replication are complete, the REPLMODE parameter in the
client node definition on the source replication server is set to SEND. The REPLMODE
parameter in the client node definition on the target replication server is set to
RECEIVE.
Related concepts:
“Replication mode” on page 930
“Replication state” on page 927
You can add a source replication server to an existing configuration. For example,
suppose that you have a replication configuration comprising a single source
replication server and a single target replication server. You can add another source
server that replicates data to the existing target server.
Related concepts:
“Replication server configurations” on page 921
To change a target replication server, issue the SET REPLSERVER command on the
source replication server. Specify the name of the new target replication server. For
example, to specify NEW_TGTSRV as the new target replication server, issue the
following command:
set replserver new_tgtsrv
Results
The following example describes what occurs when you change or add target
replication servers. Suppose that DRSERVER is the target replication server for
PRODSERVER. PRODSERVER has one client, NODE1.
1. Files A, B, and C that belong to NODE1 are replicated to TGTSRV.
2. You change the target replication server to NEW_TGTSRV.
3. NODE1 backs up files D, E, and F to SRCSRV.
4. Replication occurs for NODE 1. Files, A, B, and C, which were replicated to
TGTSRV, are replicated to NEW_TGTSRV. New files D, E, and F are also
replicated to NEW_TGTSRV.
5. You reset the target replication server to TGTSRV.
6. Replication occurs for NODE1. Files D, E, and F are replicated to TGTSRV.
Procedure
1. Determine the default replication server by using QUERY STATUS command. For
example, issue the following command from the target replication server to
determine the default replication server:
QUERY STATUS
2. Identify the high-level address that is used by the source replication server for
replication. For example, issue the following command from the source
replication server:
QUERY SERVER
3. Identify the high-level address that the client uses to connect to the source
replication server. For example, issue the following command from the target
replication server:
QUERY SERVER
Restriction: You can specify only one failover server for each node target
replication server. The failover server information is stored in the client options
file.
You use the REMOVE REPLSERVER command to remove a server from the replication
environment. You must issue the command on both the source and the target
replication servers. If you use this command on only one of the replication servers,
the data is not replicated.
Procedure
1. Identify all nodes that replicated data on the target server that is being
removed. On the source replication server, issue the QUERY REPLNODE command.
2. On the source replication server, issue the QUERY REPLSERVER command to
identify the GUID for the target server you want to remove.
3. Take note of the GUID for the source server. You specify the GUID later in the
procedure.
4. On the source replication server, issue the REMOVE REPLSERVER command, and
specify the GUID for the target server. For example, to remove a replication
server and all replication state information that is associated with a server,
issue the following command:
remove replserver 11.9c.54.e0.8a.b5.11.d6.b3.c3.[Link].c1.5b
5. Remove all of the replication state information for data that is replicated from
the source server. On the target replication server, issue the REMOVE REPLSERVER
command, and specify the GUID for the source server.
6. Remove all of the nodes that were replicated from the source server. On the
target replication server, issue the REMOVE REPLNODE command.
Results
The node definitions on the source server that were replicated to the specified
target server are in the replication SEND mode. You can continue to replicate these
nodes to other replication servers by using the SET REPLSERVER command to
modify the default replication server value.
A server that uses SSL can obtain a unique certificate that is signed by a certificate
authority (CA), or the server can use a self-signed certificate. Before you start the
source and target replication servers, install the certificates and add them to the
key database files. Required SSL certificates must be in the key database file that
belongs to each server. SSL support is active if the server options file contains the
SSLTCPPORT or SSLTCPADMINPORT option or if a server is defined with SSL=YES at
startup.
If the client is configured for SSL communication, the client uses the SSL port to
communicate with the target server during failover.
The server and its database are updated with the new password. After you update
the password, shut down the server, add the certificates, and start the server.
To determine whether a server uses SSL, issue the QUERY SERVER command.
Procedure
To update a server definition for SSL, issue the UPDATE SERVER command. For
example, to update the server definition for server PHOENIX_SRV, issue the
following command:
update server phoenix_srv ssl=yes
Restriction: For event servers, library servers, and target replication servers, the
name of the source replication server must match the value of the SET SERVERNAME
command on the target server. Because the source replication server uses the name
of the target replication server for SSL communications, the name is not available
for the TCP/IP server definition that is required for enterprise events or library
sharing.
If you enable SSL communications and are using the following functions, you must
create separate source and target definitions that use TCP/IP for the corresponding
server-to-server communications:
v Enterprise configuration
v Command routing
v Virtual volumes
v LAN-free
If you use SSL with node replication, you must create separate server definitions
for enterprise configuration, command routing, virtual volumes, and LAN-free
communications.
Suppose that you want to use a source replication server to replicate data and to
route commands. In the option file of the target replication server, the value of the
TCPPORT option is 1500. The value of the SSLTCPPORT option is 1542.
Procedure
You can use the server name SSL for node replication:
define server ssl hladdress=[Link] lladdress=1542 ssl=yes
serverpassword=xxxxx
A controlling rule is the rule that the source replication server uses to replicate data
in a file space. For example, suppose the replication rule for backup data in file
space /a is DEFAULT. If the client-node rule for backup data is ALL_DATA, the
controlling rule for the backup data in file space /a is ALL_DATA.
Procedure
All file spaces are displayed regardless of whether the state of the data types in
the file spaces is enabled or disabled.
v To display the controlling replication rules and verify the connection with the
target replication server, issue the following command:
validate replication node1,node2 verifyconnection=yes
Procedure
Specifying the LISTFILES parameter signifies that the WAIT parameter is set to
YES and that you cannot the issue the WAIT parameter from the server console.
Procedure
Results
If the data that belongs to a client node is being replicated, any attempt to replicate
the data by issuing another REPLICATE NODE command fails. For example, suppose
the backup data that belongs to a client node is scheduled for replication at 6:00
a.m. Replication of the archive data is scheduled for 8:00 a.m. Replication of the
backup-data must complete before replication of the archive data starts.
Example
If you have many client nodes and are replicating a large amount of data, you can
replicate data more efficiently by issuing several REPLICATE NODE commands in
Tip: To ensure that replication for first group of client nodes finishes before the
replication for the other nodes starts, specify WAIT=YES on the first REPLICATE NODE
command. For example, if you want to replicate the data that belongs to NODE1
and NODE2 before the data that belongs to NODE3 and NODE4, issue the
following commands:
replicate node node1,node2 wait=yes
replicate node node3,node4
Data is replicated for a file space only when the following conditions are true:
v The replication state for data types in file spaces are enabled. For example, if the
replication state for archive data in a file space is enabled, archive data in the
file space is replicated.
v The controlling rule for the data type in the file space cannot be NONE. For
example, suppose the replication rule for archive data in a file space is
DEFAULT. If the file space rules and client node rules for archive data are both
DEFAULT and the server rule for archive data is NONE, archive data in the file
space is not replicated.
Procedure
To replicate data by file space, issue the REPLICATE NODE command and specify the
file space name or file space identifier. For example, to replicate data in file space
/a in NODE1, issue the following command:
replicate node node1 /a
What to do next
Tip: With the REPLICATE NODE command, you can also replicate data by priority
and by data type. To achieve greater control over replication processing, you can
combine replication by file space, data type, and priority.
To obtain information about the node replication process while it is running, issue
the QUERY PROCESS command:
query process
For node replication purposes, each file space contains three logical file spaces:
In this example, NODE1 has four file spaces with three object types. The QUERY
PROCESS command generates the following output for node replication:
Process Process Process Status
Number Description
--------- --------------- --------------
40 Replicate Node Replicating node(s) NODE1 File spaces
complete: 11. File spaces identifying
and replicating: 0. File spaces
replicating: 1. File spaces not
started: 0. Files current: 0. Files
replicated: 747,915 of 913,581. Files
updated: 0 of 0. Files deleted: 0 of 0.
Amount replicated: 546 GB of 732 GB.
Amount transferred: 389 GB. Elapsed time:
0 Day(s), 4 Hour(s), 59 Minute(s).
Because the example includes four file spaces with three object types, 12 logical file
spaces are processed for replication. The QUERY PROCESS command output shows
that 11 logical file spaces completed replication.
Related concepts:
“Node replication processing” on page 923
Example
If you do not specify a type on the REPLICATE NODE command, all data types are
replicated.
What to do next
Tip: Using the REPLICATE NODE command, you can also replicate data by file space
and by priority. To achieve greater control over replication processing, you can
combine replication by data type, file space, and priority.
Related concepts:
“Node replication processing” on page 923
Procedure
v To replicate only high-priority data, issue the REPLICATE NODE command and
specify PRIORITY=HIGH. For example, to replicate the high-priority data that
belongs to NODE1, issue the following command:
replicate node node1 priority=high
v To replicate only normal-priority data, issue the REPLICATE NODE command and
specify PRIORITY=NORMAL. For example, to replicate normal-priority data that
belongs to NODE1, issue the following command:
replicate node node1 priority=normal
Example
What to do next
Tip: Using the REPLICATE NODE command, you can also replicate data by file space
and by data type. To achieve greater control over replication processing, you can
combine replication by priority, file space, and data type.
Related concepts:
“Node replication processing” on page 923
The name of the file space is /a. It is common to NODE1 and NODE2.
Procedure
To replicate the data in the file space, issue the following command:
replicate node node1,node2 /a priority=normal datatype=archive,spacemanaged
Issuing this command replicates archive and space-managed data that is assigned
the replication rule ALL_DATA.
Related concepts:
“Node replication processing” on page 923
Use the MAXSESSIONS parameter to specify the maximum number of sessions to use.
When you calculate the value for the MAXSESSIONS parameter, consider the available
network bandwidth and the processor capacity of source and target replication
servers.
Consider the number of logical and physical drives that can be dedicated to the
replication process. You must ensure that there are enough drives available for
replication processing because other server processes or client sessions might also
be using drives. The number of mount points and drives available for replication
operations depends on the following factors:
v Tivoli Storage Manager server activity that is not related to replication
v System activity
v The mount limits of the device classes for the sequential-access storage pools
that are involved
v The availability of a physical drive on the source and target replication servers,
if the device type is not FILE
v The available network bandwidth and the processor capacity of source and
target replication servers
Procedure
Issue the REPLICATE NODE command and specify the MAXSESSIONS parameter to
determine the number of data sessions. For example, to set the maximum number
of replication sessions to 6 for NODE_GROUP1, issue the following command:
replicate node node_group1 maxsessions=6
Do not use a storage pool that is enabled for data deduplication to test replication.
By using storage pools that are not enabled for data deduplication to test
replication processing, you avoid processing extents that can increase the amount
of preprocessing time of the replication process. By determining the data transfer
and network capability of your replication operation without extent processing,
you get a better representation of the capability of your system. Test replication
processing with storage pools that are enabled for data deduplication if you want
to determine the effect of data deduplication on replication performance alone.
You must calculate the bytes-per-hour value for each source replication server
individually. You can determine which method is the most suitable for the server,
based on its bytes-per-hour value.
Complete the following steps to determine how much data you can replicate
during a specified timeframe so that you can tune replication processing for a
server. Repeat these steps to obtain bytes-per-hour value for each server that you
want to use for replication processing.
Procedure
1. Complete the following steps to select the appropriate data:
a. Select one or more nodes and file spaces that have approximately 500 GB to
1 TB of total data.
b. Select data that is typical of the data that you replicate on a routine basis.
c. Select nodes that are configured for replication.
2. To display the amount of data in a file space, issue the QUERY OCCUPANCY
command.
3. Select a timeframe during which replication is running normally.
4. If you plan to use Secure Sockets Layer (SSL) as the communication protocol
for replication processing, ensure that SSL is enabled.
Results
When you determine the bytes-per-hour value for each server, you can determine a
method to use for the initial replication.
Related tasks:
“Selecting a method for the initial replication” on page 943
Procedure
To see how your network manages more workload during replication, complete
the following tasks:
1. Increase the value of the MAXSESSIONS parameter by 10 on the REPLICATE NODE
command and run the test again.
2. Increase the number of replication sessions by 10 to transfer more data
concurrently during replication. Alternatively, if you determine that 10
replication sessions (the default MAXSESSIONS value) cause your network to
degrade below acceptable levels, decrease the value of the MAXSESSIONS
parameter.
3. Repeat the process, and adjust the value of the MAXSESSIONS parameter to
determine optimal data transfer capability.
Procedure
1. Determine the number of logical and physical drives that can be dedicated to
the replication process. For example, if a library has 10 tape drives and 4 of the
drives are used for another task, 6 drives are available for node replication.
2. Specify the number of mount points you require and ensure that there are
drives available to complete node replication. For example, to set the number of
point points to 6, issue the following UPDATE DEVCLASS command and specify
the MOUNTLIMIT parameter:
update devclass device_class_name mountlimit=6
3. Specify the number of data sessions that you want by using the MAXSESSIONS
parameter on the REPLICATE NODE command. For example, issue the following
REPLICATE NODE command and specify the MAXSESSIONS parameter:
replicate node prodnode maxsessions=6
To determine the replication state of a data type in a file space, issue the QUERY
FILESPACE command with the FORMAT parameter set to DETAILED.
To disable and enable replication of data types in a file space, complete one or
more of the following actions:
Procedure
v Backup data:
– To disable replication, issue the following command:
update filespace node_name file_space_name datatype=backup
replstate=disabled
– To enable replication, issue the following command:
update filespace node_name file_space_name datatype=backup
replstate=enabled
v Archive data:
– To disable replication, issue the following command:
update filespace node_name file_space_name datatype=archive
replstate=disabled
– To enable replication, issue the following command:
update filespace node_name file_space_name datatype=archive
replstate=enabled
v Space-managed data:
– To disable replication, issue the following command:
update filespace node_name file_space_name datatype=spacemanaged
replstate=disabled
– To enable replication, issue the following command:
update filespace node_name file_space_name datatype=spacemanaged
replstate=enabled
Related concepts:
“Replication state” on page 927
To determine the replication state of a node, issue the QUERY NODE command.
Procedure
v To disable replication for a node, issue the UPDATE NODE command and specify
REPLSTATE=DISABLED. For example, to disable replication for NODE1, issue the
following command:
update node node1 replstate=disabled
v To enable replication for a node, issue the UPDATE NODE command and specify
REPLSTATE=ENABLED. For example, to enable replication for NODE1, issue the
following command:
update node node1 replstate=enabled
Remember: If you disable replication for a client node while data that belongs to
the node is being replicated, the replication process is not affected. Replication of
the data continues until all the data that belongs to the client node is replicated.
However, replication for the client node will be skipped the next time that
replication runs.
Related concepts:
“Replication state” on page 927
Disabling outbound or inbound sessions can be useful if, for example, you plan a
network outage that affects communication between source and target replication
servers. Disabling and enabling sessions affects not only node replication
operations but also certain other types of operations.
To display the status and direction of sessions for a particular server, issue the
QUERY STATUS command.
Remember:
v When you disable sessions for a particular server, you disable the following
types of sessions in addition to replication:
– Server-to-server event logging
– Enterprise management
– Server registration
– LAN-free sessions between storage agents and the Tivoli Storage Manager
server
– Data storage that uses virtual volumes
v If you disable only outbound sessions on a source replication server, data that
belongs to client nodes that store data on the source replication server do not
have their data replicated. However, inbound sessions to the target replication
server can occur.
If a server is the target for multiple source replication servers and you disable
outbound sessions on a single source replication server, the target replication
server continues to receive replicated data from the other source replication
servers.
Procedure
v Between a single source replication server and a single target replication server:
– To disable sessions, issue one of the following commands:
- On the source replication server:
disable sessions server target_server_name direction=outbound
When you disable outbound node replication processing, you prevent new
replication processes from starting on a source replication server. Enabling
outbound node replication processing is required after a database restore.
Restriction: When you restore the Tivoli Storage Manager database, replication is
automatically disabled. Disabling replication prevents the server from deleting
copies of data on the target replication server that are not referenced by the
restored database. After a database restore, you must re-enable replication.
To display the status of replication processing for a particular server, issue the
QUERY STATUS command.
Issue the following commands on the source replication server to disable and
enable replication processing:
Procedure
v To disable replication, issue the DISABLE REPLICATION command.
v To enable replication, issue the ENABLE REPLICATION command.
Disabling a replication rule can be useful if, for example, you replicate groups of
normal-priority and high-priority client nodes on different schedules. For example,
suppose that the data that belongs to some client nodes is assigned the
ALL_DATA_HIGH_PRIORITY replication rule. The data that belongs to other
client nodes is assigned the ALL_DATA replication rule. The client nodes are
separated into groups, in which some of the nodes in each group have
high-priority data and other nodes in the group have normal-priority data.
You schedule replication for each group to take place at different times. However, a
problem occurs, and replication processes take longer than expected to complete.
As a result, the high-priority data that belongs to client nodes in groups that are
scheduled late in the replication cycle is not being replicated.
To replicate the high-priority data as soon as possible, you can disable the
ALL_DATA rule and rerun replication. When you rerun replication, only the client
node data that is assigned the ALL_DATA_HIGH_PRIORITY rule is replicated.
After high-priority data is replicated and the problem that caused the delay is
fixed, you can enable the ALL_DATA replication rule and resume scheduled
replication processing.
To disable and enable replication rules, complete one of the following steps:
Procedure
v To disable a replication rule, issue the UPDATE REPLRULE command and specify
STATE=DISABLED. For example, to disable the replication rule
ACTIVE_DATA_HIGH_PRIORITY, issue the following command:
update replrule active_data_high_priority state=disabled
v To enable a replication rule, issue the UPDATE REPLRULE command and specify
STATE=ENABLED. For example, to enable the replication rule
ACTIVE_DATA_HIGH_PRIORITY, issue the following command:
update replrule active_data_high_priority state=enabled
Related concepts:
Procedure
To prevent replication of a data type and purge the data from the file space on the
target replication server, issue the UPDATE FILESPACE command and specify
REPLSTATE=PURGEDATA. For example, to prevent replication of backup data in file
space /a on NODE1 and delete the backup data in file space /a on the target
replication server, issue the following command:
update filespace node1 /a datatype=backup replstate=purgedata
Data is purged the next time that replication runs for the file space. After the data
is purged, the replication rule for the specified data type is set to DEFAULT.
Replication for the data type is disabled.
Disabling replication prevents the Tivoli Storage Manager server from deleting
copies of data on the target replication server that are not referenced by the
restored database. Before re-enabling replication, determine whether copies of data
that are on the target replication server are needed. If they are, complete the steps
that are described in the following example. In the example, the name of the
source replication server is PRODSRV. DRSRV is the name of the target replication
server. NODE1 is a client node with replicated data on PRODSRV and DRSRV.
Restriction: You cannot use Secure Sockets Layer (SSL) for database restore
operations.
Procedure
1. Remove NODE1 from replication on PRODSRV and DRSRV by issuing the
REMOVE REPLNODE command:
remove replnode node1
2. Update NODE1 definitions PRODSRV and DRSRV. When replication occurs,
DRSRV sends the data to PRODSRV that was lost because of the database
restore.
a. On DRSRV, issue the UPDATE NODE command and specify the replication
mode SYNCSEND:
update node node1 replstate=enabled replmode=syncsend
b. On PRODSRV, issue the UPDATE NODE command and specify the replication
mode SYNCRECEIVE:
update node node1 replstate=enabled replmode=syncreceive
3. On DRSRV, set the replication rules to match the rules on PRODSRV. For
example, if only archive data was being replicated from PRODSRV to DRSRV,
Results
The original replication configuration is restored. PRODSRV has all the data that
was lost because of the database restore.
What to do next
Remember: In step 4, you set the PRODSRV as the target replication server for
DRSRV. If in your original configuration you were replicating data from DRSRV to
another server, you must reset the target replication server on DRSRV. For example,
if you were replicating data from DRSRV to BKUPDRSRV, issue the following
command on DRSRV:
set replserver bkupdrsrv
Procedure
Important: You cannot display information about running replication processes for
client nodes that are being converted from import and export operations to
replication operations. The data synchronization process might run for a long time,
but it occurs only once for a client node that is being converted.
The default record-retention period for completed processes is 30 days. To display
the retention period, issue the QUERY STATUS command and check the value in the
Replication Record Retention Period field.
The record for a running process is updated only after a group of files is processed
and committed. A file group consists of 2,000 files or 2 GB of data, whichever is
smaller. For example, if a single file is 450 GB, the record is not updated for a
relatively long time. If you notice that the number of files that are not yet
replicated for a running process is not decreasing fast enough, network bandwidth
or time might be insufficient to replicate the amount of data. Take one of the
following actions:
Procedure
The server activity log contains messages with the following information:
v The nodes that were enabled or disabled for replication
v The number of files that were eligible to be replicated compared to the number
of those files that were already stored on the target replication server
v The number of files that were successfully replicated and the number of files
that were missed
v The number of files on the target replication server that were deleted
Procedure
Procedure
To display the number of files that are stored on source and target replication
servers, issue the QUERY REPLNODE command. You can issue the command on a
source or a target replication server.
Results
The information in the output for QUERY REPLNODE includes files that are stored at
the time the command is issued. If a replication process is running, the information
does not include files that are waiting to be transferred. Information is reported by
data type. For example, you can determine the number of backup files that belong
to a client node that are stored on the source and the target replication servers.
Procedure
Results
In the output, check the values in the fields that represent bytes replicated and
bytes transferred for each data type:
v Replicated bytes are bytes that were replicated to the target replication server. If
a file was stored in a deduplicated storage pool, the number of bytes in the
stored file might be less than the number of bytes in the original file. This value
in this field represents the number of physical bytes in the original file.
v Transferred bytes represent the number of bytes that were sent to the target
replication server. For files stored in a deduplicated storage pool, the value in
this field includes the number of bytes in the original file before duplicate
extents were removed. If duplicate extents were already on the target replication
server, the number of bytes in the original file is more than the number of bytes
transferred.
Related concepts:
“Replication of deduplicated data” on page 931
“Active log mirror” on page 648
Related tasks:
Part 6, “Protecting the server,” on page 829
To display the retention period for replication records, issue the QUERY STATUS
command on the source replication server.
Procedure
To set the retention period for replication records, issue the SET REPLRETENTION
command.
Example
Replication records that exceed the retention period are deleted from the database
by Tivoli Storage Manager during automatic inventory-expiration processing. As a
result, the amount of time that retention records are retained can exceed the
specified retention period
If a replication process runs longer than the retention period, the record of the
process is not deleted until the process ends, the retention period passes, and
expiration runs.
What to do next
To display the contents of replication records, issue the QUERY REPLICATION
command and specify FORMAT=DETAILED.
Procedure
1. On the target replication server, issue the REMOVE REPLNODE command. For
example, to modify the definition of NODE1 so that it is a non-replicating
node, issue the following command:
remove replnode node1
2. To back up, archive, or migrate data, update the client options file to point to
the target replication server.
What to do next
If any schedules were defined on the source replication server, you can redefine
them on the target replication server. Client node data on the target replication
server is now managed by policies on the target replication server. For example,
file expiration and deletion are managed by the target replication server.
Delete any administrative schedules on source replication servers that issue the
REPLICATE NODE command for the client nodes that are included in the
configuration.
Procedure
1. Remove all nodes that are configured for replication by issuing the REMOVE
REPLNODE command on all source and target replication servers that have the
nodes that are configured for replication. For example, to remove
NODE_GROUP1 from replication, issue the following command:
remove replnode node_group1
What to do next
To verify that the target replication server was removed, issue the QUERY STATUS
command on the source replication server. If the target replication server was
removed, the field Target Replication Server is blank.
Tip: If you do not want to keep replicated node data on the target replication
server, you can delete the replicated data.
You can use a clustered environment for the following operating systems:
v IBM PowerHA® SystemMirror for AIX
v IBM Tivoli System Automation for Multiplatforms for AIX and Linux
v Microsoft Failover Cluster for Windows
You can use other cluster products with Tivoli Storage Manager, however,
documentation is not available and support is limited. For the latest information
about support for clustered environments, see [Link]
[Link]?uid=swg21609772.
Before you use another cluster product, verify that DB2 supports the required file
systems. For more information about the level of DB2 that you are using, refer to
the DB2 documentation at: [Link]
Search on Recommended file systems.
For more information about upgrading the server in a clustered environment, see
the Installation Guide.
This configuration provides the nodes with the ability to share data, which allows
higher server availability and minimized downtime. For example:
v You can configure, monitor, and control applications and hardware components
that are deployed on a cluster.
v You can use an administrative cluster interface and Tivoli Storage Manager to
designate cluster arrangements and define a failover pattern. The server is part
of the cluster that provides an extra level of security by ensuring that no
transactions are missed because a server failed. The failover pattern that you
establish prevents future failures.
v You can apply clustering to the node replication process. In this way, server
availability is higher than it would be if node replication is used as a process on
its own because a client is less likely to fail over to another server in a clustered
environment. If you replicate data from several source replication servers to one
target replication server, there is a high dependency on the target replication
server. A clustered environment eases the dependency on the target replication
server.
Components in a server cluster are known as cluster objects. Cluster objects are
associated with a set of properties that have data values that describe the identity
and behavior of an object in the cluster. Cluster objects can include the following
components:
v Nodes
Cluster nodes
Nodes in a cluster all have similar characteristics, which allows them to work
together.
Microsoft software helps configure, monitor, and control applications and hardware
components that are deployed on a Windows cluster. The administrator uses the
Microsoft Cluster Administrator interface and Tivoli Storage Manager to designate
cluster arrangements and define the failover pattern.
Tivoli Storage Manager supports tape failover for a cluster environment by using a
Fibre or SCSI connection. Although Microsoft failover clusters do not support the
failover of tape devices, the failover configuration can be monitored through the
Microsoft Cluster Administrator interface after it is set up through Tivoli Storage
Manager.
The Tivoli Storage Manager instance network name is independent of the name of
the physical node on which the Tivoli Storage Manager cluster group runs and
migrates from node to node. Clients connect to a Tivoli Storage Manager server by
using the Tivoli Storage Manager instance network name, rather than the Windows
node name. The Tivoli Storage Manager instance network name maps to a primary
or backup node. The mapping is dependent on which node owns the Tivoli
Storage Manager cluster group. Any client that uses Windows Internet Name
Service (WINS) or directory services to locate servers can automatically track the
Tivoli Storage Manager clustered server as it moves between nodes. You can
automatically track the Tivoli Storage Manager clustered server without modifying
or reconfiguring the client.
Each Tivoli Storage Manager cluster group has its own disk as part of a cluster
resource group. Tivoli Storage Manager cluster groups cannot share data between
the cluster groups. Each Tivoli Storage Manager server that is configured in a
Tivoli Storage Manager cluster group has its database, active logs, recovery logs,
and set of storage pool volumes on a separate disk owned by that Tivoli Storage
Manager cluster group.
The following example demonstrates the way that a Microsoft Failover Cluster
Manager for a Tivoli Storage Manager cluster server works.
Assume that a clustered Tivoli Storage Manager server that is named JUPITER is
running on Node Z and a clustered Tivoli Storage Manager server that is named
SATURN is running on Node X. Clients connect to the Tivoli Storage Manager
server JUPITER and the Tivoli Storage Manager server SATURN without knowing
which node hosts their server.
Node Z
SATURN
Node X
Client Local
disk
Client
Client
Figure 115. Clustering with JUPITER as Node Z and SATURN as Node X
When one of the software or hardware resources fails, failover occurs. Resources
(for example: applications, disks, and an IP address) migrate from the failed node
to the remaining node. The remaining node:
v Takes over the Tivoli Storage Manager cluster group
v Brings the disk resources, the network resources, and the DB2 resource online
v Restarts the Tivoli Storage Manager service
v Provides access to administrators and clients
The following table describes the hardware and software that you can use with
Tivoli Storage Manager fiber-tape failover.
Table 78. Hardware and software supported for fiber-tape failover
Operating system Fibre Channel adapter Fibre Channel tape library
and drives
Microsoft Windows Server QLogic QLE2462 with a IBM or other vendor Fibre
2008, Microsoft Windows Storport driver. Channel directly attached
Server 2008 R2 (64-bit), or tape and library devices. For
Microsoft Windows 2012. the latest list of supported
devices, see the IBM Support
Portal.
Ensure that the same level of Windows (Windows 2008, Windows 2008 R2, or
Windows 2012) is installed on all computers in the cluster.
To meet the minimum requirements for failover, ensure that one of the following
components is installed on the Windows system:
v Directly attached Fibre Channel tape or library device from IBM
v Directly attached tape or library device from another vendor
For best results, install both a Fibre Channel adapter and a Fibre Channel tape
library or drive on the Windows system. If you install a Fibre Channel adapter, it
must use a Storport driver.
If you use persistent reservation, ensure that you select a tape drive that you can
use for persistent reservation for all clusters within the system. For IBM tape
drives, see the IBM Tape Device Drivers Installation and User's Guide. For more
information about persistent reservation, see the section that describes persistent
reserve for tape drives.
When a node fails or needs to be taken offline, which node or nodes in the cluster
picks up the transaction processing? In a two-node cluster, there is little planning
necessary. In a more complex arrangement, you want to consider how your
transaction processing is best handled. A form of load balancing among your
nodes needs to be accounted for so that you maintain peak performance. Another
consideration is to ensure that your customers do not see any lag and little drop in
productivity.
Microsoft Cluster Servers and Microsoft Failover Clusters require each Tivoli
Storage Manager server instance to have a private set of disk resources. Although
nodes can share disk resources, only one node can actively control a disk at a time.
Attention: Ensure that the same level of Windows (Windows 2008, Windows 2008
R2, or Windows 2012) is installed on all computers in the cluster.
Is one configuration better than the other? To determine your best installation, you
need to look at the differences in performance and cost. Assume that you have a
Tivoli Storage Manager server-dedicated cluster whose nodes have comparable
power. During failover, the performance of a configuration might degrade because
one node must manage both Tivoli Storage Manager Cluster Instances. If each
node handles 100 clients in a normal operation, one node must handle 200 clients
during a failure.
Procedure
The following guidelines help determine what resources are needed for a
successful Tivoli Storage Manager cluster:
1. Decide which cluster configuration you must use with servers that use disk
devices. Each Tivoli Storage Manager Cluster Instance needs a separate set of
disk resources on the shared disk subsystem. You might have problems if you
configure the I/O subsystem as one large array when you configure a two
server cluster and later decide to expand to a four server cluster.
2. Identify the disk resources to be dedicated to Tivoli Storage Manager. Do not
divide a shared disk into multiple partitions with each partition assigned to a
different application and thus a different cluster group.
For example, Application A, a stable application, might be forced to fail over
because of a software problem with Application B if both applications use
partitions that are part of the same physical disk. This failover might happen,
for example, when a software problem with Application B occurs. This problem
causes the Cluster Services to fail over Application B and its corequisite disk
resource. Because the partitions exist on the same physical drive, Application A
is also forced to fail over. Therefore, as a best practice, when you install and
configure a Tivoli Storage Manager application, dedicate a shared disk as a
resource that can fail if necessary.
3. Ensure that you have an IP address and network name for each Tivoli Storage
Manager server instance that you configure. For a cluster that involves two
Tivoli Storage Manager cluster instances, two network names are required.
4. Create a cluster resource group and move disk resources to it. Each Tivoli
Storage Manager server instance requires a cluster resource group. Initially, the
group must contain only disk resources. You might choose just to rename an
existing resource group that contains only disk resources.
5. Tivoli Storage Manager is installed to a local disk on each node in the cluster.
Determine the disk to be used on each node. It is a best practice to use the
same drive letter on each system. When Tivoli Storage Manager server is
installed in a cluster environment, the SANDISCOVERY option must be set to ON.
By default, this option is set to OFF.
6. If you choose not to use Tivoli Storage Manager tape failover support, you can
attach tape devices in either of the following configurations:
Steps for the procedure vary depending upon which node you are currently
configuring. When configuring the primary node in the set, the Tivoli Storage
Manager server instance is created and configured. When configuring the
remaining nodes in the set, each node is updated in such a way that permits it to
host the Tivoli Storage Manager server instance created on the primary node. A
Tivoli Storage Manager server must be installed and configured on the first node
in the set before configuring the remaining nodes in the set. Violating this
requirement causes the configuration to fail.
Ensure that you completely configure one Tivoli Storage Manager cluster group
before moving on to the next when configuring multiple Tivoli Storage Manager
cluster groups. Because you are dealing with separate IP addresses and network
names for each Tivoli Storage Manager cluster group, you lessen the possibility of
mistakes by configuring each Tivoli Storage Manager cluster group separately.
Procedure
Use the Failover Cluster Manager program on the computer that owns the shared
disk or tape resource to prepare your resource group. Initially, the group must
contain only disk resources. You can create a group and move disk resources to it.
You can also choose to rename an existing resource group that contains only disk
resources.
Procedure
To prepare a resource group for cluster configuration, complete the following steps:
1. Open the Failover Cluster Manager program. Right-click on Services and
Applications and then choose More Actions > Create Empty Service or
Application.
2. Right-click on New Service or Application, select Change the name and
choose a new name for the resource group, for example, TSMGROUP.
3. Right-click on the resource group TSMGROUP and select Add storage.
Procedure
Complete the following steps for each node in your cluster to install the Tivoli
Storage Manager server:
1. Log in with the domain user ID. The domain user must be a member of the
Domain Administrators group.
2. Install the Tivoli Storage Manager server to a local disk on each node. Use the
same local disk drive letter for each node.
3. Restart the system after the server installation completes.
Procedure
1. Ensure that all systems are restarted after the installation. Verify that all
systems are running correctly.
2. Log on with the domain user ID. The domain user must be in the same domain
as the Tivoli Storage Manager server.
3. Open the Failover Cluster Manager program and verify that the resources are
online and available to the primary node.
4. Begin the initialization procedure on the primary node in your cluster. In the
Failover Cluster Manager program, verify that the owner of the resource group
is the primary node in your cluster.
5. From the Start menu, click All programs > Tivoli Storage Manager >
Configuration wizard.
6. Follow the wizard directions, clicking Next to step through the wizard. When
you are prompted to enter the user ID, enter the name of the domain account
to associate with the cluster.
7. If the initialization completed, click Done.
Procedure
To verify that the Tivoli Storage Manager server instance in a Microsoft Failover
Cluster is created and configured correctly, complete the following steps:
1. From the Failover Cluster Manager, select the server instance. The network
name that you configured is displayed in the Server Name pane.
Procedure
1. Open Failover Cluster Manager. Under Other Resources, right-click the Tivoli
Storage Manager Instance(x) resource. Select Bring this resource online.
2. To test the failover, right-click the Tivoli Storage Manager cluster resource
group and select Move this service or application to another node.
3. Verify that the failover from the second node to the first node completes
successfully.
Check your Windows Event log on a regular, if not daily, basis to monitor the
activity of the nodes in the cluster. By checking the log, you are informed that a
node has failed and needs maintenance.
The following list of topics describes situations that might affect the configuration
or format of your cluster after it is operational.
To migrate an existing Tivoli Storage Manager server into a cluster, you can either
move the clients or perform a backup and restore procedure. The choice depends
primarily on the availability and capacity of other Tivoli Storage Manager server
computers in your site and your familiarity with the backup and restore procedure.
If you move clients from a non-clustered Tivoli Storage Manager server computer
to a clustered one, you can have the time to gradually migrate your users to the
new system and not interrupt services. However, you must have the hardware
needed to run two Tivoli Storage Manager servers simultaneously.
For example, suppose that you have no hardware other than the two servers to be
clustered and you plan to use the computer that is currently running the Tivoli
Storage Manager server as a node. Follow this procedure to remove Tivoli Storage
Manager from the computer and reinstall it in the cluster:
Procedure
1. Back up all disk storage pools to a copy storage pool.
2. Back up the database of the existing Tivoli Storage Manager server.
3. Perform the installation and configuration of the cluster.
4. Restore the database to the clustered Tivoli Storage Manager server.
5. Restore the disk storage pool volumes from the copy storage pool.
6. After you verify that all of your data is on the clustered server, delete the old
server.
You might want to move a virtual Tivoli Storage Manager server when the
Windows server acts as the primary node and this server requires hardware or
system maintenance. Use the Microsoft Cluster Administrator interface to move the
management of the virtual Tivoli Storage Manager server to the secondary node
Procedure
Complete the following tasks in any order to ensure that a node can successfully
join the cluster:
v Update, if necessary, the drive and library that use the Tivoli Storage Manager
cluster tool.
v Take the Tivoli Storage Manager server offline until the failed node rejoins the
cluster. This action helps ensure that the Tivoli Storage Manager server that is
running on the other node is not affected.
The cluster log is a complete record of cluster activity compared to the Microsoft
Windows Event Log. The cluster log records the cluster service activity that is
recorded in the event log. Although the event log can point you to a problem, the
cluster log helps you resolve the problem.
The cluster log is enabled by default in Windows. Its output is printed as a log file
in %SystemRoot%\Cluster. For more information, see the Windows online help
documentation.
To recover from a disaster, you must know the location of your offsite recovery
media. DRM helps you to determine which volumes to move offsite and back
onsite and track the location of the volumes.
You can use complementary technologies to protect the Tivoli Storage Manager
server and to provide an alternative to disaster recovery. For example, you can use
DB2 HADR to replicate the Tivoli Storage Manager database or device-to-device
replication.
To ensure high server availability, you can use node replication with clustering to
minimize a disaster risk. In a clustered environment, a client is less likely to fail
over to another server. If you replicate data from several source replication servers
to one target replication server, there is a high dependency on the target replication
server. A clustered environment eases the dependency on the target replication
server.
Before you use DRM, familiarize yourself with Chapter 29, “Protecting and
recovering the server infrastructure and client data,” on page 869.
Note: Unless otherwise noted, you need system privilege class to perform DRM
tasks.
Related concepts:
“Clustered environment overview” on page 991
Related reference:
“Disaster recovery manager checklist” on page 1043
The following table describes how to set defaults for the disaster recovery plan file.
Table 79. Defaults for the disaster recovery plan file
Process Default
Primary storage pools to be When the recovery plan file is generated, you can limit processing to specified pools.
processed The recovery plan file will not include recovery information and commands for
storage pools with a data format of NETAPPDUMP.
For example, to specify that only the primary storage pools named PRIM1 and PRIM2
are to be processed, enter:
set drmprimstgpool prim1,prim2
Note: To remove all previously specified primary storage pool names and thus select
all primary storage pools for processing, specify a null string ("") in SET
DRMPRIMSTGPOOL.
To override the default: Specify primary storage pool names in the PREPARE
command
For example, to specify that only the copy storage pools named COPY1 and COPY2
are to be processed, enter:
set drmcopystgpool copy1,copy2
To remove any specified copy storage pool names, and thus select all copy storage
pools, specify a null string ("") in SET DRMCOPYSTGPOOL. If you specify both
primary storage pools (using the SET DRMPRIMSTGPOOL command) and copy
storage pools (using the SET DRMCOPYSTGPOOL command), the specified copy
storage pools should be those used to back up the specified primary storage pools.
To override the default: Specify copy storage pool names in the PREPARE command
Active-data pools to be When the recovery plan file is generated, you can limit processing to specified pools.
processed
The default at installation: None
For example, to specify that only the active-data pools named ACTIVEPOOL1 and
ACTIVEPOOL2 are to be processed, enter:
set drmactivedatastgpool activepool1,activepool2
To remove any specified active-data pool names, specify a null string ("") in SET
DRMACTIVEDATASTGPOOL.
Active-data pool volumes in MOUNTABLE state are processed only if you specify the
active-data pools using the SET DRMACTIVEDATASTGPOOL command or the
ACTIVEDATASTGPOOL parameter on the MOVE DRMEDIA, QUERY DRMEDIA,
and PREPARE commands. Processing of active-data pool volumes in MOUNTABLE
state is different than the processing of copy storage pool volumes in MOUNTABLE
state. All MOUNTABLE copy storage pool volumes are processed regardless whether
you specify copy storage pools with either the SET DRMCOPYSTGPOOL command
or the COPYSTGPOOL parameter.
To override the default: Specify active-data pool names using the MOVE DRMEDIA,
QUERY DRMEDIA, or PREPARE command.
The default at installation: For a description of how DRM determines the default
prefix, see the INSTRPREFIX parameter of the PREPARE command section in the
Administrator's Reference or enter HELP PREPARE from administrative client
command line.
The disaster recovery plan file will include, for example, the following file:
c:\Program Files\Tivoli\TSM\server2\recinstr\
[Link]
To override the default: The INSTRPREFIX parameter with the PREPARE command
Prefix for the recovery plan You can specify a prefix to the path name of the recovery plan file. DRM uses this
file prefix to identify the location of the recovery plan file and to generate the macros and
script file names included in the [Link]
and [Link] stanzas.
The default at installation: For a description of how DRM determines the default
prefix, see the PLANPREFIX parameter of the PREPARE command section in the
Administrator's Reference or enter HELP PREPARE from administrative client
command line.
The disaster recovery plan file name created by PREPARE processing will be in the
following format:
c:\Program Files\Tivoli\TSM\server2\recplans\20000603.013030
To override the default: The PLANPREFIX parameter with the PREPARE command
The default at installation: All copy storage pool volumes in the MOUNTABLE state
For example, to specify that DRM should not read the volume labels, enter:
set drmchecklabel no
Expiration period of a A database backup series (full plus incremental and snapshot) is eligible for
database backup series expiration if all of these conditions are true:
v The volume state is VAULT or the volume is associated with a device type of
SERVER (for virtual volumes).
v It is not the most recent database backup series.
v The last volume of the series exceeds the expiration value, number of days since
the last backup in the series.
For example, to specify the vault name as IRONVAULT, the contact name as J.
SMITH, and the telephone number as 1-555-000-0000, enter:
set drmvaultname "Ironvault, J. Smith, 1-555-000-0000"
Tip: Enter your site-specific information in the stanzas when you first create the
plan file or after you test it.
Enter your instructions in flat files that have the following names:
v [Link]
v [Link]
v [Link]
v [Link]
v [Link]
Note: The files created for the recovery instructions must be physical sequential
files.
[Link]
Include information such as administrator names, telephone numbers, and
location of passwords. For example:
Recovery Instructions for Tivoli Storage Manager Server ACMESRV on system ZEUS
Joe Smith (wk 002-000-1111 hm 002-003-0000): primary system programmer
Sally Doe (wk 002-000-1112 hm 002-005-0000): primary recovery administrator
Jane Smith (wk 002-000-1113 hm 002-004-0000): responsible manager
Security Considerations:
Joe Smith has the password for the Admin ID ACMEADM. If Joe is unavailable,
you need to either issue SET AUTHENTICATION OFF or define a new
administrative user ID at the replacement Tivoli Storage Manager server console.
[Link]
Include information such as the offsite vault location, courier name, and
telephone numbers. For example:
[Link]
Include the following installation information:
Server installation and the location of installation volumes and the
license number.
For example:
You will need to reinstall the Tivoli Storage Manager server and administrative
client after installing the Windows operating system.
The install volume for the Tivoli Storage Manager server is INS001. If that is
lost, you will need to contact Copy4You Software, at 1-800-000-0000, and obtain
a new copy. Another possibility is the local IBM Branch office at 555-7777.
A sample file, [Link], is shipped with DRM. You may want to copy
[Link] into your [Link] file to
supplement your installation-specific instructions.
- Obtain a workstation with at least the following:
- Install the Tivoli Storage Manager Server and Tivoli Storage Manager
Administrative Client
[Link]
Include information about how to recover the database and about how
much hardware space requirements. For example:
You will need to find replacement disk space for the server database. We
have an agreement with Joe Replace that in the event of a disaster, he
will provide us with disk space.
[Link]
Include information on primary storage pool recovery instructions. For
example:
Tip: The plan file that DRM generates is a template that contains information,
including commands for recovering the database, that might not apply to your
replacement systems or to your particular recovery scenario. To modify the plan or
to store additional instructions that you will need during recovery from an actual
disaster, use the [Link] stanzas. Enter your site-specific
information in the stanzas when you first create the plan file or after you test it.
Use the following procedure to specify information about server and client
machines and to store it in the server database:
Procedure
1. Specify server machine information by issuing the DEFINE MACHINE
command with ADSMSERVER=YES. For example, to define machine MACH22
in building 021, 2nd floor, in room 2929, with a priority of 1, enter the
following command:
define machine tsm1 adsmserver=yes priority=1
2. Specify the client node location and business priority by issuing the DEFINE
MACHINE command. For example, to define machine MACH22 in building
021, 2nd floor, in room 2929, with a priority of 1, enter:
define machine mach22 building=021 floor=2 room=2929 priority=1
3. Associate one or more client nodes with a machine by issuing the DEFINE
MACHNODEASSOCIATION command. Use this association information to
identify client nodes on machines that were destroyed. You should restore the
file spaces associated with these nodes. For example, to associate node
CAMPBELL with machine MACH22, enter:
define machnodeassociation mach22 campbell
4. To query machine definitions, issue the QUERY MACHINE command. See the
example, in “Client recovery scenario” on page 1038.
5. To add machine characteristics and recovery instructions to the database, issue
the INSERT MACHINE command. You must first query the operating system
to identify the characteristics for your client machine.
You can add the information manually or use a Microsoft VBScript command
procedure. A sample program is shipped with DRM.
v Add information manually:
The following partial output is from a query on an AIX client machine.
--1 Host Name: mach22 with 256 MB Memory Card
--- 256 MB Memory Card
---
--4 Operating System: AIX Version 4 Release 3
---
--- Hardware Address: [Link]x:a8:6a:46
’***************************************************************************
’ Get input arguments: MACHINENAME =machinename
’ INFILE =inputmachinefilename
’ OUTFILE =outputmacrofilename
’***************************************************************************
’***************************************************************************
’ Create the TSM macro file.
’***************************************************************************
’***************************************************************************
’ Place a TSM command in the TSM macro to delete any existing machine
’ characteristics for this machine from the TSM server database.
’***************************************************************************
’***************************************************************************
’ Read a line from the input machine characteristics file, add the TSM
’ command to insert the line of machine characteristics into the TSM server
’ database, and write the result to the output TSM macro.
’***************************************************************************
SEQUENCE = 1
INLINE = [Link]
[Link] "insert machine " & MACHINENAME & " " & SEQUENCE & "
char=’" & INLINE &"’"
SEQUENCE = SEQUENCE + 1
Loop
’***************************************************************************
’ Close the files.
’***************************************************************************
[Link]
[Link]
Procedure
1. Define the bootable media. For example, define the media named
TELLERWRKSTNIMAGE which is for AIX Version 4.3, contains the required
volumes named AIX001, AIX002, and AIX003, and is located in Building 21.
define recoverymedia tellerwrkstnimage type=boot
volumenames=aix001,aix002,aix003 product="AIX 4.3"
location="Building 21"
You should define the recovery media after a client machine configuration
changes. For example, after you have installed a new level of AIX on a client
machine and created a bootable image using mksysb, issue the DEFINE
RECOVERYMEDIA command to define the new mksysb volumes.
To query your recovery media definitions, issue the QUERY
RECOVERYMEDIA command with the FORMAT=DETAILED parameter.
2. Associate one or more machines with recovery media. Use the association
information to identify the boot media to use in the replacement machines. For
example, to associate machine MACH255 with recovery media
TELLERWRKSTNIMAGE, issue the following command:
define recmedmachassociation tellerwrkstnimage mach255
3. When the boot media is moved offsite, update its location. For example, to
update the location of boot media TELLERWRKSTNIMAGE to the offsite
location IRONVAULT, issue the following command:
update recoverymedia tellerwrkstnimage location=ironvault
Results
You can define media that contain softcopy manuals that you would need during
recovery. For example, to define a CD-ROM containing the AIX 5.1 manuals that
are on volume CD0001, enter:
define recoverymedia aix51manuals type=other volumes=cd0001
description="AIX 5.1 Bookshelf"
For details about the recovery plan file, see “The disaster recovery plan file” on
page 1048.
DRM creates one copy of the disaster recovery plan file each time you issue the
PREPARE command. You should create multiple copies of the plan for safekeeping.
For example, keep copies in print, on CD, on disk space that is located offsite, or
on a remote server.
Before creating a disaster recovery plan, back up your storage pools then backup
the database. See “Backing up primary storage pools” on page 883 and “Backing
up the server database” on page 870 for details about these procedures.
If you manually send backup media offsite, see “Moving copy storage pool and
active-data pool volumes offsite” on page 1026. If you use virtual volumes, see
“Using virtual volumes to store data on another server” on page 732.
When your backups are both offsite and marked offsite, you can create a disaster
recovery plan.
You can use the Tivoli Storage Manager scheduler to periodically run the
PREPARE command (see Chapter 19, “Automating server operations,” on page
619).
Tips:
v The plan file that DRM generates is a template that contains information,
including commands for recovering the database, that might not apply to your
replacement systems or to your particular recovery scenario. To modify the plan
or to store additional instructions that you will need during recovery from an
actual disaster, use the [Link] stanzas. Enter your
site-specific information in the stanzas when you first create the plan file or after
you test it.
v DRM creates a plan that assumes that the latest database full plus incremental
series would be used to restore the database. However, you may want to use
DBSNAPSHOT backups for disaster recovery and retain your full plus
For example, to store the recovery plan file locally in the c:\Program
Files\Tivoli\TSM\server2\recplans\ directory, enter:
prepare planprefix=c:\Program Files\Tivoli\TSM\server2\recplans\
What to do next
Recovery plan files that are stored locally are not automatically expired. You
should periodically delete down-level recovery plan files manually. DRM appends
to the file name the date and time ([Link]). For example:
c:\Program Files\Tivoli\TSM\server2\recplans\20000925.120532
The recovery plan file is written as an object on the target server, and a volume
history record is created on the source server. For more about recovery plan files
that are stored on target servers, see “Displaying information about recovery plan
files” on page 1022.
Each instance of the server has a unique set of files. For example, you might see
the following in this instance-specific directory:
v Server options file, disk file, database and log paths, and storage pool volumes:
c:\Program Files\Tivoli\TSM\server2\[Link]
c:\Program Files\Tivoli\TSM\server2\[Link]
c:\\Program Files\Tivoli\TSM\server2\db1
c:\ \Program Files\Tivoli\TSM\server2\activlog
c:\ \Program Files\Tivoli\TSM\server2\archlog
c:\Program Files\Tivoli\TSM\server2\[Link]
The database and log paths, and storage pool volumes could also be in a different
directory. For example, you might see:
c:\c:\Program Files\Tivoli\TSM\server2\stg\db1
c:\ c:\Program Files\Tivoli\TSM\server2\stg\activelog
c:\Program Files\Tivoli\TSM\server2\stg\[Link]
Additionally, the plan file itself will reside in a directory that you may have
specified or it may reside in the default directory (which is the instance–specific
directory). For example, if you specified the disaster recovery plan file prefix
c:\Program Files\Tivoli\TSM\server2\prepare\, you might see the following:
c:\Program Files\Tivoli\TSM\server2\prepare\20000925.120532
The disaster recovery plan file prefix specified (or the instance–specific directory if
no disaster recovery plan file prefix was specified) is also used in the stanzas
within the plan file. During a recovery, when the plan file has been split into
individual files, it is assumed that these individual files will reside in this same
directory.
To summarize, the environment for a recovery using the disaster recovery plan file
is assumed to be the same as the original environment which includes:
v The directory structure and location of the server executable and enrollment
certificates (for licensing)
v The directory structure and location of the administrative command line client
v The directory structure for server instance-specific files
v The directory structure for the database path, active log, and archive log
directories and storage pool volumes.
v The directory structure and the files created when the plan file was split into
multiple files, such as the following based on the earlier plan file example (the
following is not the entire output):
c:\Program Files\Tivoli\TSM\server2\prepare\[Link]
c:\Program Files\Tivoli\TSM\server2\prepare\[Link]
c:\Program Files\Tivoli\TSM\server2\prepare\[Link]
c:\Program Files\Tivoli\TSM\server2\prepare\[Link]
If the recovery environment is not the same, then you must edit the plan file to
account for the changes in the environment.
To help understand where these various directories and expected locations for
executables are used within the plan file, see “Example disaster recovery plan file”
on page 1054 and you will see the following usage:
Usage Directory
Server executable c:\Program Files\Tivoli\TSM\server
Enrollment certificates c:\Program Files\Tivoli\TSM\server
(licensing)
Administrative command line c:\Program Files\Tivoli\TSM\saclient
client
Disk formatting utility c:\Program Files\Tivoli\TSM\console
Instance-specific files c:\Program Files\Tivoli\TSM\server2
Storage pool volumes c:\Program Files\Tivoli\TSM\server2\stg
Plan file location c:\Program Files\Tivoli\TSM\server2\prepare
Procedure
1. From the source server: Issue QUERY RPFILE the command with the
DEVCLASS parameter that was used on the PREPARE command. Specify the
type of database backups that were assumed when the plan was created (either
full plus incremental or snapshot). For example, to display a list of all recovery
plan files that have been saved for the source server on any target servers and
created assuming snapshot database backups, enter:
query rpfile devclass=* source=dbsnapshot
2. You can also issue the QUERY VOLHISTORY command to display a list of
recovery plan files for the source server. Specify recovery plan files that were
created assuming either full plus incremental database backups (TYPE=RPFILE)
or database snapshot backups (TYPE=RPFSNAPSHOT). For example:
query volhistory type=rpfile
3. From the target server: Issue a QUERY RPFILE command that specifies the
node name associated with the server or servers that prepared the plan. For
example, to display a list of all recovery plan files that have been saved in the
target server, enter:
query rpfile nodename=*
For an example of the contents of a recovery plan file, see “The disaster recovery
plan file” on page 1048. You cannot issue the commands shown below from a
server console. An output delay can occur if the plan file is located on tape.
Procedure
v From the source server: Issue the following command for a recovery plan file
created on September 1, 2000 at 4:39 a.m. with the device class TARGETCLASS:
query rpfcontent marketing.20000901.043900 devclass=targetclass
Procedure
v From the source server: Issue the following command:
query rpfcontent marketing.20000831.045000
devclass=targetclass > [Link]
v From the target server: Issue the following command:
query rpfcontent marketing.20000831.045000
nodename=branch8 > [Link]
What to do next
To display a list of recovery plan files, use the QUERY RPFILE command. See
“Displaying information about recovery plan files” on page 1022 for more
information.
All recovery plan files that meet the criteria are eligible for expiration if both of the
following conditions exist:
v The last recovery plan file of the series is over 90 days old.
v The recovery plan file is not associated with the most recent backup series. A
backup series consists of a full database backup and all incremental backups that
apply to that full backup. Another series begins with the next full backup of the
database.
Expiration applies to plan files based on both full plus incremental and snapshot
database backups. Note, however, that expiration does not apply to plan files
stored locally. See “Storing the disaster recovery plan locally” on page 1019.
When the records are deleted from the source server and the grace period is
reached, the objects are deleted from the target server The record for the latest
recovery plan file is not deleted.
Procedure
To delete recovery plan files, issue the DELETE VOLHISTORY command For
example, to delete records for recovery plan files that were created on or before
08/30/2000 and assuming full plus incremental database backup series, enter the
following command:
delete volhistory type=rpfile todate=08/30/2000
To limit the operation to recovery plan files that were created assuming database
snapshot backups, specify TYPE=RPFSNAPSHOT.
Procedure
1. Move new backup media offsite and update the database with their locations.
See “Moving copy storage pool and active-data pool volumes offsite” on page
1026 for details.
2. Return expired or reclaimed backup media onsite and update the database with
their locations. See “Moving copy storage pool and active-data pool volumes
on-site” on page 1028 for details.
3. Offsite recovery media management does not process virtual volumes. To
display all virtual copy storage pool, active-data pool, and database backup
volumes that have their backup objects on the remote target server, issue the
QUERY DRMEDIA command. For example, enter the following command.
query drmedia * wherestate=remote
Offsite recovery media management does not move or display any two-sided
volumes that have a REMOVABLEFILE device type.
The disaster recovery plan includes the location of copy storage pool volumes and
active-data pool volumes. The plan can provide a list of offsite volumes required to
restore a server.
The following diagram shows the typical life cycle of the recovery media:
Offsite
Onsite
In Transit Vault
Storage Hierarchy
COURIER
Backup Active-
storage data
pool pool
NOTMOUNTABLE
MOUNTABLE
KUPEXPIREDAYS
VAULT
EDELAY
Backup
database
US
Private Scratch
RE
BAC
r/w
DB
M
DR
Scratch
VAULTRETRIEVE
ONSITERETRIEVE
COURIERRETRIEVE
DRM assigns the following states to volumes. The location of a volume is known
at each state.
MOUNTABLE
The volume contains valid data, and Tivoli Storage Manager can access it.
NOTMOUNTABLE
The volume contains valid data and is onsite, but Tivoli Storage Manager
cannot access it.
COURIER
The volume contains valid data and is in transit to the vault.
Procedure
Complete the following steps to identify the database backup, copy storage pool,
and active-data pool volumes and move them offsite:
1. Identify the copy storage pool, active-data pool, and database backup volumes
to be moved offsite For example, issue the following command:
query drmedia * wherestate=mountable
DRM displays information similar to the following output:
Volume Name State Last Update Automated
Date/Time LibName
--------------- ---------------- ------------------- -----------------
TPBK05 Mountable 01/01/2000 [Link] LIBRARY
TPBK99 Mountable 01/01/2000 [Link] LIBRARY
TPBK06 Mountable 01/01/2000 [Link] LIBRARY
Restriction: Do not run the MOVE DRMEDIA and BACKUP STGPOOL commands
concurrently. Ensure that the storage pool backup processes are complete before
you issue the MOVE DRMEDIA command.
For all volumes in the MOUNTABLE state, DRM does the following:
v Updates the volume state to NOTMOUNTABLE and the volume location
according to the SET DRMNOTMOUNTABLENAME. If this command is not
issued, the default location is NOTMOUNTABLE.
From this list identify and remove the cartridges (volumes) from the library.
c. For the 349X library type, if the number of cartridges to be checked out of
the library is greater than the number of slots in the I/O station, you can
define a high capacity area in your library. Then, use the following
command to eject the cartridges to the high capacity area, rather than to the
I/O station:
move drmedia * wherestate=mountable remove=bulk
3. Send the volumes to the offsite vault. Issue the following command to have
DRM select volumes in the NOTMOUNTABLE state:
move drmedia * wherestate=notmountable
For all volumes in the NOTMOUNTABLE state, DRM updates the volume state
to COURIER and the volume location according to the SET
DRMCOURIERNAME. If the SET command is not yet issued, the default
location is COURIER. For more information, see “Specifying defaults for offsite
recovery media management” on page 1009
4. When the vault location confirms receipt of the volumes, issue the MOVE
DRMEDIA command in the COURIER state. For example:
move drmedia * wherestate=courier
For all volumes in the COURIER state, DRM updates the volume state to
VAULT and the volume location according to the SET DRMVAULTNAME command.
If the SET command is not yet issued, the default location is VAULT. For more
information, see “Specifying defaults for offsite recovery media management”
on page 1009.
5. Display a list of volumes that contain valid data at the vault. Issue the
following command:
query drmedia wherestate=vault
6. If you do not want to step through all the states, you can use the TOSTATE
parameter on the MOVE DRMEDIA command to specify the destination state. For
example, to change the volumes from NOTMOUNTABLE state to VAULT state,
issue the following command:
move drmedia * wherestate=notmountable tostate=vault
Results
See “Preparing for disaster recovery” on page 1032 for an example that
demonstrates sending server backup volumes offsite using MOVE DRMEDIA and QUERY
DRMEDIA commands.
Procedure
1. To specify the number of days before a database backup series is expired, issue
the SET DRMDBBACKUPEXPIREDAYS command The following example sets
the number of days to 30.
set drmdbbackupexpiredays 30
To ensure that the database can be returned to an earlier level and database
references to files in the copy storage pool or active-data pool are still valid,
specify the same value for the REUSEDELAY parameter in your copy storage
pool and active-data pool definitions. If copy storage pools or active-data pools
managed by DRM have different REUSEDELAY values, set the
DRMDBBACKUPEXPIREDAYS value to the highest REUSEDELAY value.
A database backup volume is considered eligible for expiration if all of the
following conditions are true:
v The age of the last volume of the series has exceeded the expiration value.
This value is the number of days since the last backup in the series. At
installation, the expiration value is 60 days. To override this value, issue the
SET DRMDBBACKUPEXPIREDAYS command.
v For volumes that are not virtual volumes, all volumes in the series are in the
VAULT state.
v The volume is not part of the most recent database backup series.
Database backup volumes that are virtual volumes are removed during
expiration processing. This processing is started manually by issuing the
EXPIRE INVENTORY command or automatically through the EXPINTERVAL
option setting specified in the server options file.
2. Move a copy storage pool volume or an active-data pool volume on-site for
reuse or disposal. A copy storage pool volume or an active-data pool volume
can be moved on-site if it has been EMPTY for at least the number of days
specified with the REUSEDELAY parameter on the DEFINE STGPOOL
command. A database backup volume can be moved on-site if the database
backup series is EXPIRED according to the rules outlined in step 1. To
determine which volumes to retrieve, issue the following command:
query drmedia * wherestate=vaultretrieve
The server dynamically determines which volumes can be moved back on-site.
When you issue QUERY DRMEDIA WHERESTATE=VAULTRETRIEVE, the
field Last Update Date/Time in the output will contain the data and time that
the state of the volume was moved to VAULT, not VAULTRETRIEVE. Because
The server does the following for all volumes with in the VAULTRETRIEVE
state:
v Moves the volumes on-site where they can be can be reused or disposed of.
v Deletes the database backup volumes from the volume history table.
v For scratch copy storage pool volumes or active-data pool volumes, deletes
the record in the database. For private copy storage pool volumes or
active-data pool volumes, updates the access to read/write.
If IBM Tivoli Storage Manager is set up to use Secure Sockets Layer (SSL) for
client/server authentication, a digital certificate file, [Link], is created as part of
the process. This file includes the server's public key, which allows the client to
encrypt data. The digital certificate file cannot be stored in the server database
because the Global Security Kit (GSKit) requires a separate file in a certain format.
1. Keep backup copies of the [Link] and [Link] files.
2. Regenerate a new certificate file, if both the original files and any copies are
lost or corrupted. For details about this procedure, see “Troubleshooting the
certificate key database” on page 837.
Ensure that you set up the DRM and perform the daily operations to protect the
database, data, and storage pools.
Setup
1. License DRM by issuing the REGISTER LICENSE command.
2. Ensure that the device configuration and volume history files exist.
3. Back up the storage pools by issuing the BACKUP STGPOOL command.
4. Copy active data to active-data pools by using the COPY ACTIVEDATA
command.
5. Do a full backup the database (for example, a database snapshot
backup) by using the BACKUP DB command.
6. Define site-specific server recovery instructions in the DRM plan file.
7. Describe priority client machines by using the DEFINE MACHINE
command.
8. Generate the disaster recovery plan.
Daily Preparation Operations
Day 1
1. Back up client files.
2. Back up the primary storage pools to copy storage pools.
3. Copy active data from primary storage pools to active-data pools.
4. Back up the database (for example, a database snapshot backup).
Restriction: Ensure that the BACKUP STGPOOL command and the BACKUP
DB command are complete before you issue the MOVE DRMEDIA
command.
6. Send the backup volumes and disaster recovery plan file to the vault.
7. Generate the disaster recovery plan.
Day 2
1. Back up client files
2. Back up active and inactive data that is in the primary storage pools to
copy storage pools. Copy the active data that is in primary storage
pools to active-data pools.
3. Back up the database (for example, a database snapshot backup).
Restriction: Ensure that the BACKUP STGPOOL command and the BACKUP
DB command are complete before you issue the MOVE DRMEDIA
command.
5. Send the backup volumes and disaster recovery plan file to the vault.
6. Generate the disaster recovery plan.
Day 3
Procedure
Restriction: Ensure that the BACKUP STGPOOL command and the BACKUP DB
command are complete before you issue the MOVE DRMEDIA command.
b. Send the volumes offsite and record that the volumes were given to the
courier:
move drmedia * wherestate=notmountable
5. Create a recovery plan:
prepare
6. Give a copy the recovery plan file to the courier.
7. Create a list of tapes that contain data that is no longer valid and that should
be returned to the site:
query drmedia * wherestate=vaultretrieve
8. Give the courier the database backup tapes, storage pool backup tapes,
active-data pool tapes, the recovery plan file, and the list of volumes to be
returned from the vault.
9. The courier gives you any tapes that were on the previous day's return from
the vault list.
Update the state of these tapes and check them into the library:
1032 IBM Tivoli Storage Manager for Windows: Administrator's Guide
move drmedia * wherestate=courierretrieve cmdf=c:\drm\[Link]
cmd="checkin libvol libauto &vol status=scratch"
The volume records for the tapes that were in the COURIERRETRIEVE state
are deleted from the database. The MOVE DRMEDIA command also generates
the CHECKIN LIBVOL command for each tape that is processed in the file
c:\drm\[Link]. For example:
checkin libvol libauto tape01 status=scratch
checkin libvol libauto tape02 status=scratch
...
Example
Restriction: Ensure that the BACKUP STGPOOL command and the BACKUP DB
command complete before you issue other commands, for example, the MOVE
DRMEDIA command.
Related tasks:
“Creating a custom maintenance script” on page 628
Procedure
Results
Procedure
Restriction: When you run the disaster recovery script or the commands that the
script contains, the determination must be made whether to run as root or as the
DB2 instance user ID.
1. Review the recovery steps that are described in the
[Link] stanza of the plan.
2. Request the server backup tapes from the offsite vault.
Note: When you use the Tivoli Storage Manager device driver (ADSMSCSI),
you must start ADSMSCSI.
6. The recovery media names and their locations are specified in the
[Link] stanza and the
[Link] stanza. Ensure that the
environment is the same as when the disaster recovery plan file was created.
The environment includes the following directory structures:
v The directory structure of the Tivoli Storage Manager server executable and
disk formatting utility
v The directory structure for Tivoli Storage Manager server configuration files
(disk log, volume history file, device configuration file, and server options
file)
v The directory structure and the files that are created when the disaster
recovery plan file was split into multiple files
7. Restore the operating system, the Tivoli Storage Manager server software, the
Tivoli Storage Manager licenses, and the administrative client on the
replacement hardware.
a. Build a new replacement server instead of restoring the environment from
a backup:
1) Install the Tivoli Storage Manager server software.
2) Create the database directories, the active directories, and the archive
directories as in the original.
3) Run the dsmicfgx utility to configure the replacement instance. This
step configures the API for the DSMSERV RESTORE DB utility.
v Specify the instance userid and password.
v Specify the database directories, the active directories, and the
archive directories.
4) Remove the database instance that was created by the dsmicfgx utility.
For example,
dsmserv removedb TSMDB1
5) Restore the original [Link], volume history, and device
configuration files to the instance directory (as done by the recovery
script in plan file)
6) Run the DSMSERV RESTORE DB (as done by the recovery script in the
plan file).
8. Review the Tivoli Storage Manager macros that are contained in the recovery
plan:
v If, at the time of the disaster, the courier had not picked up the previous
night's database and storage pool incremental backup volumes but they
were not destroyed, remove the entry for the storage pool backup volumes
from the [Link] file.
The copy storage pool volumes and active-data pool volumes used in the
recovery already have the correct ORMSTATE.
15. Issue the BACKUP DB command to back up the newly restored database.
16. Issue the following command to check the volumes out of the library:
move drmedia * wherestate=mountable
17. Create a list of the volumes to be given to the courier:
query drmedia * wherestate=notmountable
18. Give the volumes to the courier and issue the following command:
move drmedia * wherestate=notmountable
19. Issue the PREPARE command.
Procedure
1. To view a list of client machines that were lost in building 21 and their restore
priority, issue the following command:
query machine building=021 format=detailed
DRM displays information similar to the following:
Machine Name: POLARIS
Machine Priority: 1
Building: 21
Floor: 2
Room: 1
Server?: No
Description: Payroll
Node Name: POLARIS
Recovery Media Name: MKSYSB1
Characteristics?: Yes
Recovery Instructions?: Yes
Identify which client machines have the highest priority so that restores can
begin using active-data pool volumes.
2. For each machine, issue the following commands:
a. Determine the location of the boot media. For example:
query recoverymedia mksysb1
The server displays the following information:
Recovery Media Name Volume Names Location Machine Name
-------------------- ----------- ---------- ----------------
MKSYSB1 vol1 vol2 IRONVAULT POLARIS
vol3
Note: You may also need to audit the library after the database is restored in order
to update the server inventory of the library volumes.
In this example, database backup volume DBBK01 was placed in element 1 of the
automated library. Then a comment is added to the device configuration file to
identify the location of the volume. Tivoli Storage Manager needs this information
to restore the database restore. Comments that no longer apply at the recovery site
are removed.
For example, if an automated tape library was used originally and cannot be used
at the recovery site, update the device configuration file. Include the DEFINE
LIBRARY and DEFINE DRIVE commands that are needed to define the manual
drive to be used. In this case, you must manually mount the backup volumes.
Note: If you are using an automated library, you may also need to update the
device configuration file to specify the location of the database backup volume.
Here is an example of the updated device configuration file when a manual library
is used at the recovery site:
/* Device Configuration */
After you restore the database, modify the device configuration file in the
database. After starting the server, define, update, and delete your library and
drive definitions to match your new configuration.
Note: If you are using an automated library, you may need to use the AUDIT
LIBRARY command to update the server inventory of the library volumes.
The restored server uses copy storage pool volumes to satisfy requests (for
example, from backup/archive clients) and to restore primary storage pool
volumes that were destroyed. If they are available, the server uses active-data
pools to restore critical client data.
If you are using an automated library, you may also need to audit the library after
the database is restored in order to update the Tivoli Storage Manager inventory of
the volumes in the library.
Locally:
v What is the recovery plan file pathname
prefix?
v How will recovery plan files be made
available at the recovery site?
– Print and store offsite
– Copy stored offsite
– Copy sent/NFS to recovery site
On Another Server:
v What server is to be used as the target
server?
v What is the name of the target server's
device class?
v How long do you want to keep recovery
plan files?
Determine where you want to create the
user-specified recovery instructions
Issue:
v SET DRMDBBACKUPEXPIREDAYS to
define the database backup expiration
v SET DRMPRIMSTGPOOL to specify the
DRM-managed primary storage pools
v SET DRMCOPYSTGPOOL to specify the
DRM-managed copy storage pools
v SET DRMACTIVEDATASTGPOOL to
specify the DRM-managed active-data
pools
v SET DRMPLANVPOSTFIX to specify a
character to be appended to new storage
pools
v SET DRMPLANPREFIX to specify the
RPF prefix
v SET DRMINSTRPREFIX to specify the
user instruction file prefix
v SET DRMNOTMOUNTABLENAME to
specify the default location for media to
be sent offsite
v SET DRMCOURIERNAME to specify the
default courier
v SET DRMVAULTNAME to specify the
default vault
v SET DRMCMDFILENAME to specify the
default file name to contain the
commands specified with the CMD
parameter on MOVE and QUERY
DRMEDIA
v SET DRMCHECKLABEL to specify
whether volume labels are verified when
checked out by the MOVE DRMEDIA
command
v SET DRMRPFEXPIREDAYS to specify a
value for the frequency of RPF expiration
(when plan files are stored on another
server)
Identify:
v Target disaster recovery server location
v Target server software requirements
v Target server hardware requirements
(storage devices)
v Tivoli Storage Manager administrator
contact
v Courier name and telephone number
v Vault location and contact person
Create:
v Enter the site-specific recovery
instructions data into files created in the
same path/HLQ as specified by SET
DRMINSTRPREFIX
Test disaster recovery manager
Test the installation and customization
v QUERY DRMSTATUS to display the
DRM setup
v Back up the active and inactive data that
is in primary storage pools to copy
storage pools. Copy the active data that
is in primary storage pools to active-data
pools.
v Back up the Tivoli Storage Manager
database
v QUERY DRMEDIA to list the copy
storage pool and active-data pool
volumes
v MOVE DRMEDIA to move offsite
v PREPARE to create the recovery plan file
Examine the recovery plan file created
Test the recovery plan file break out
v VBScript procedure [Link]
v Locally written procedure
Set up the schedules for automated
functions
Tip: The plan file that DRM generates is a template that contains information,
including commands for recovering the database, that might not apply to your
replacement systems or to your particular recovery scenario. To modify the plan or
to store additional instructions that you will need during recovery from an actual
disaster, use the [Link] stanzas. Enter your site-specific
information in the stanzas when you first create the plan file or after you test it.
You can use a Microsoft VBScript command procedure or an editor to break out
the stanzas in the disaster recovery plan file into individual files. A sample
procedure, [Link], is shipped with DRM. You can modify the procedure for
your installation. Store a copy of the procedure offsite for recovery.
Dim args
Dim PLANFILE, OUTDIR, OUTFILE
Dim STANZAS
Dim VOLNAMES(100),NbrV,LOGDBVOLS
Dim fso, fi, fo
Dim WORDS
Dim CRLF
Dim RESULTS, RESULTS2
CRLF = Chr(13) & Chr(10)
LOGDBVOLS = False : NbrV = 0
OUTDIR = "" : OUTFILE = ""
RESULTS = "" : RESULTS2 = ""
’*****************************************************************************
’* Get input arguments: PLANFILE=recoveryplanfilename
’*****************************************************************************
’****************************************************************************
’ Read a line from the input recovery plan file
’****************************************************************************
ALINE = [Link]
’****************************************************************************
’ Get the first 2 words. We’re looking for ’begin’/’end’ and a stanza name
’****************************************************************************
RESULTS = RESULTS & "Creating file " & OUTFILE & CRLF
’****************************************************************************
’ If the first word is ’end’ and this was a stanza that we created a file
’ for then close the output file.
’****************************************************************************
’****************************************************************************
’ This is the line within the plan file that identifies the plan file prefix.
’****************************************************************************
Elseif OUTDIR = "" And WORD1 = "DRM" And WORD2 = "PLANPREFIX" Then
OUTDIR = THEREST
If Not Right(OUTDIR,1) = "\" Then
OUTDIR = OUTDIR & "."
End If
RESULTS = RESULTS & "set planprefix to " & OUTDIR & CRLF
End If ’/* select on first word of input line from the recovery plan file */
[Link]
Tip: The plan file that DRM generates is a template that contains information,
including commands for recovering the database, that might not apply to your
replacement systems or to your particular recovery scenario. To modify the plan or
to store additional instructions that you will need during recovery from an actual
disaster, use the [Link] stanzas. Enter your site-specific
information in the stanzas when you first create the plan file or after you test it.
Command stanzas
Consist of scripts (for example, batch programs or batch files) and Tivoli
Storage Manager macros. You can view, print, and update these stanzas,
and run them during recovery.
Table 82 lists the recovery plan file stanzas, and indicates what type of
administrative action is required during set up or periodic updates, routine
processing, and disaster recovery. The table also indicates whether the stanza
contains a macro, a script, or a configuration file.
Tip: The plan file that DRM generates is a template that contains information,
including commands for recovering the database, that might not apply to your
replacement systems or to your particular recovery scenario. To modify the plan or
to store additional instructions that you will need during recovery from an actual
disaster, use the [Link] stanzas. Enter your site-specific
information in the stanzas when you first create the plan file or after you test it.
[Link]
begin [Link]
end [Link]
[Link]
begin [Link]
[Link]
[Link]
end [Link]
The replacement server must have enough disk space to install the database and
recovery log.
This stanza also identifies the Tivoli Storage Manager installation directory. When
Tivoli Storage Manager is re-installed on the replacement server, specify this
directory on the Setup Type panel during installation. If you specify a different
directory, edit the plan file to account for this change.
Location: E:\tsmdata\DBSpace
Total Space(MB): 285,985
Used Space(MB): 457
Free Space(MB): 285,527
end [Link]
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
begin [Link]
Location = dkvault
Device Class = VTL
Volume Name =
003902L4
Location = dkvault
Copy Storage Pool = COPYPOOL
Device Class = VTL
Volume Name =
003900L4
Location = dkvault
Active-data Storage Pool = ADP1
Device Class = VTL
Volume Name =
003901L4
end [Link]
See “Specifying recovery instructions for your site” on page 1011 for details. In the
following descriptions, prefix represents the prefix portion of the file name. See
“Specifying defaults for the disaster recovery plan file” on page 1006 for details.
[Link]
Identifies site-specific instructions that the administrator has entered in the file
identified by prefix [Link]. The instructions
should include the recovery strategy, key contact names, an overview of key
applications backed up by this server, and other relevant recovery instructions.
begin [Link]
This server contains the backup and archive data for FileRight Company
accounts receivable system. It also is used by various end users in the
finance and materials distribution organizations.
The storage administrator in charge of this server is Jane Doe 004-001-0006.
If a disaster is declared, here is the outline of steps that must be completed.
1. Determine the recovery site. Our alternate recovery site vendor is IBM
BRS in Tampa, Fl, USA 213-000-0007.
2. Get the list of required recovery volumes from this recovery plan file
and contact our offsite vault so that they can start pulling the
volumes for transfer to the recovery site.
3. etc...
end [Link]
[Link]
Contains instructions that the administrator has entered in the file identified by
prefix [Link]. The instructions should include the
name and location of the offsite vault, and how to contact the vault (for example, a
name and phone number).
begin [Link]
end [Link]
[Link]
Contains instructions that the administrator has entered in the file identified by
prefix [Link]. The instructions should include how
to rebuild the base server machine and the location of the system image backup
copies.
end [Link]
[Link]
Contains instructions that the administrator has entered in the file identified by
prefix [Link]. The instructions should include
how to prepare for the database recovery. For example, you may enter instructions
on how to initialize or load the backup volumes for an automated library. No
sample of this stanza is provided.
[Link]
Contains instructions that the administrator has entered in the file identified by
prefix [Link]. The instructions should include the
names of your software applications and the copy storage pool names containing
the backup of these applications. No sample of this stanza is provided.
[Link]
Provides a list of the database backup, copy storage-pool volumes, and active-data
pool volumes required to recover the server. This list can include both virtual
volumes and nonvirtual volumes. A database backup volume is included if it is
part of the most recent database backup series. A copy storage pool volume or an
active-data pool volume is included if it is not empty and not marked destroyed.
If you are using a nonvirtual volume environment and issuing the MOVE
DRMEDIA command, a blank location field means that the volumes are onsite and
available to the server. This volume list can be used in periodic audits of the
volume inventory of the courier and vault. You can use the list to collect the
required volumes before recovering the server.
For virtual volumes, the location field contains the target server name.
Location = dkvault
Device Class = VTL
Volume Name =
003902L4
Location = dkvault
Copy Storage Pool = COPYPOOL
Device Class = VTL
Volume Name =
003900L4
Location = dkvault
Active-data Storage Pool = ADP1
Device Class = VTL
Volume Name =
003901L4
end [Link]
[Link]
Provides details about the devices needed to read the backup volumes.
begin [Link]
end [Link]
[Link]
You can use the script as a guide and run the commands from a command line. Or
you can copy it to a file, modify it and the files it refers to, and run the script.
Tip: The commands in the plan file that is generated by DRM might not work on
your replacement systems. If necessary, use the [Link] stanzas in the
plan file to store information about the particular commands to be used during
recovery from an actual disaster. Enter your site-specific information in the
[Link] stanzas when you first create the plan file or after you test it.
At the completion of these steps, client requests for file restores are satisfied
directly from copy storage pool volumes and active-data pool volumes.
The disaster recovery plan issues commands by using the administrative client.
Note: Because this script invokes the administrative command-line client, ensure
that the communications options in the administrative client options file are set to
communicate with the recovered server before running this script. To review the
communications options used in the recovered server, see the server options file in
the [Link] stanza.
For more information, see the entry for the recovery plan prefix in Table 79 on
page 1006.
@echo off
rem Purpose: This script contains the steps required to recover the server
rem to the point where client restore requests can be satisfied
rem directly from available copy storage pool volumes.
rem Note: This script assumes that all volumes necessary for the restore have
rem been retrieved from the vault and are available. This script assumes
rem the recovery environment is compatible (essentially the same) as the
rem original. Any deviations require modification to this script and the
rem macros and scripts it runs. Alternatively, you can use this script
rem as a guide, and manually execute each step.
rem Restore the server database to latest version backed up per the
rem volume history file.
"D:\TSM\SERVER\DSMSERV" -k "Server1" restore db todate=09/26/2008 totime=[Link] +
source=dbb
rem Active-data pool volumes in this macro were not marked as ’offsite’ at the time
rem PREPARE ran. They were likely destroyed in the disaster.
rem Recovery Administrator: Remove from macro any volumes not destroyed.
dsmadmc -id=%1 -pass=%2 -ITEMCOMMIT +
-OUTFILE="D:\TSM\SERVER1\[Link]" +
macro "D:\TSM\SERVER1\[Link]"
rem Tell the server these copy storage pool volumes are available for use.
rem Recovery Administrator: Remove from macro any volumes not obtained from vault.
dsmadmc -id=%1 -pass=%2 -ITEMCOMMIT +
-OUTFILE="D:\TSM\SERVER1\[Link]" +
macro "D:\TSM\SERVER1\[Link]"
rem Copy storage pool volumes in this macro were not marked as ’offsite’ at the time
rem PREPARE ran. They were likely destroyed in the disaster.
rem Recovery Administrator: Remove from macro any volumes not destroyed.
dsmadmc -id=%1 -pass=%2 -ITEMCOMMIT +
-OUTFILE="D:\TSM\SERVER1\[Link]" +
macro "D:\TSM\SERVER1\[Link]"
:end
end [Link] script
Related tasks:
“Restoring to a point-in-time in a shared library environment” on page 915
“Scenario: Protecting the database and storage pools” on page 898
“Scenario: Recovering a lost or damaged storage pool volume” on page 910
“Example: Restoring a library manager database” on page 903
“Example: Restoring a library client database” on page 905
Related reference:
“Recovery instructions stanzas” on page 1057
[Link]
You can use the script as a guide and run the commands from a command line. Or
you can copy it to a file, modify it and the files it refers to, and run the script. You
may need to modify the script because of differences between the original and the
replacement systems.
The disaster recovery plan issues commands using the administrative client.
Note: Because this script invokes the administrative client, you should ensure that
the communications options in the client options file are set to communicate with
the recovered server before running this script. To review the communications
options used in the recovered server, see the server options file in the
[Link] stanza.
For more information, see the entry for the recovery plan prefix in Table 79 on
page 1006.
The following stanza contains text strings that are too long to display in the
hardcopy or softcopy publications. The long text strings utilize a plus symbol (+)
to indicate string continuation on the next line.
@echo off
rem Purpose: This script contains the steps required to recover the server
rem primary storage pools. This mode allows you to return the
rem copy storage pool volumes to the vault and to run the
rem server as normal.
rem Note: This script assumes that all volumes necessary for the restore
rem have been retrieved from the vault and are available. This script
rem assumes the recovery environment is compatible (essentially the
rem same) as the original. Any deviations require modification to this
rem this script and the macros and scripts it runs. Alternatively, you
rem can use this script as a guide, and manually execute each step.
rem Restore the primary storage pools from the copy storage pools.
dsmadmc -id=%1 -pass=%2 -ITEMCOMMIT +
-OUTFILE="D:\TSM\SERVER1\[Link]" +
macro "D:\TSM\SERVER1\[Link]"
:end
end [Link] script
Related tasks:
“Restoring to a point-in-time in a shared library environment” on page 915
“Scenario: Protecting the database and storage pools” on page 898
“Scenario: Recovering a lost or damaged storage pool volume” on page 910
“Example: Restoring a library manager database” on page 903
“Example: Restoring a library client database” on page 905
[Link]
[Link]
Contains a macro to mark copy storage pool volumes that were moved offsite and
then moved back onsite. This stanza does not include copy storage pool virtual
volumes. You can use the information as a guide and issue the administrative
commands, or you can copy it to a file, modify it, and run it. This macro is
invoked by the [Link] script.
After a disaster, compare the copy storage pool volumes listed in this stanza with
the volumes that were moved back onsite. You should remove entries from this
stanza for any missing volumes.
begin [Link] macro
/* Purpose: Mark copy storage pool volumes as available for use in recovery. */
/* Recovery Administrator: Remove any volumes that have not been obtained */
/* from the vault or are not available for any reason. */
/* Note: It is possible to use the mass update capability of the server */
/* UPDATE command instead of issuing an update for each volume. However, */
/* the ’update by volume’ technique used here allows you to select */
/* a subset of volumes to be processed. */
[Link]
After a disaster, compare the copy storage pool volumes listed in this stanza with
the volumes that were left onsite. If you have any of the volumes and they are
usable, you should remove their entries from this stanza.
begin [Link] macro
[Link]
Contains a macro to mark active-data pool volumes that were moved offsite and
then moved back onsite. This stanza does not include active-data pool virtual
volumes. You can use the information as a guide and issue the administrative
commands, or you can copy it to a file, modify it, and run it. This macro is
invoked by the [Link] script.
After a disaster, compare the active-data pool volumes listed in this stanza with the
volumes that were moved back onsite. You should remove entries from this stanza
for any missing volumes.
begin [Link] macro
/* Purpose: Mark active-data storage pool volumes as available for use in recovery. */
/* Recovery Administrator: Remove any volumes that have not been obtained */
/* from the vault or are not available for any reason. */
/* Note: It is possible to use the mass update capability of the server */
/* UPDATE command instead of issuing an update for each volume. However, */
/* the ’update by volume’ technique used here allows you to select */
/* a subset of volumes to be processed. */
[Link]
After a disaster, compare the active-data pool volumes listed in this stanza with the
volumes that were left onsite. If you have any of the volumes and they are usable,
you should remove their entries from this stanza.
begin [Link] macro
[Link]
During recovery, compare the primary storage pool volumes listed in this stanza
with the volumes that were onsite. If you have any of the volumes and they are
usable, remove their entries from the stanza.
This stanza does not include primary storage pool virtual volumes. These volumes
are considered offsite and have not been destroyed in a disaster.
begin [Link] macro
[Link]
Contains a macro to define primary storage pool volumes to the server. You can
use the macro as a guide and run the administrative commands from a command
line, or you can copy it to a file, modify it, and execute it. This macro is invoked
by the [Link] script.
Primary storage pool volumes with entries in this stanza have at least one of the
following three characteristics:
v Original volume in a storage pool whose device class was DISK.
The SET DRMPLANVPOSTFIX command adds a character to the end of the names
of the original volumes listed in this stanza. This character does the following:
v Improves the retrievability of volume names that must be renamed in the
stanzas. Before using the volume names, change these names to new names that
are valid for the device class on the replacement system.
v Generates a new name that can be used by the replacement server. Your naming
convention must take into account the appended character.
Note:
1. Replacement primary volume names must be different from any other
original volume name or replacement name.
2. The RESTORE STGPOOL command restores storage pools on a logical basis.
There is no one-to-one relationship between an original volume and its
replacement.
3. There could be entries for the same volume in
[Link] if the volume has a device class of
DISK.
This stanza does not include primary storage pool virtual volumes. These volumes
are considered offsite and have not been destroyed in a disaster.
[Link]
You can use the stanza as a guide and execute the administrative commands from
a command line. You can also can copy it to a file, modify it, and execute it. This
macro is invoked by the [Link] script.
This stanza does not include primary storage pool virtual volumes. These volumes
are considered offsite and have not been destroyed in a disaster.
/* Purpose: Restore the primary storage pools from copy storage pool(s). */
/* Recovery Administrator: Delete entries for any primary storage pools */
/* that you do not want to restore. */
Configuration stanzas
These stanzas contain copies of the following information: volume history, device
configuration, and server options.
[Link]
Contains a copy of the volume history information when the recovery plan was
created. The DSMSERV RESTORE DB command uses the volume history file to
determine what volumes are needed to restore the database. It is used by the
[Link] script.
The following rules determine where to place the volume history file at restore
time:
v If the server option file contains VOLUMEHISTORY options, the server uses the
fully qualified file name associated with the first entry. If the file name does not
begin with a directory specification, the server uses the prefix volhprefix.
v If the server option file does not contain VOLUMEHISTORY options, the server
uses the default name volhprefix followed by [Link]. The volhprefix is set to
the directory representing this instance of the server, which is typically the
directory that the server was originally installed from.
If a fully qualified file name was not specified in the server options file for the
VOLUMEHISTORY option, the server adds it to the [Link] stanza.
[Link]
Contains a copy of the server device configuration information when the recovery
plan was created. The DSMSERV RESTORE DB command uses the device
configuration file to read the database backup volumes. It is used by the
[Link] script.
At recovery time, you may need to modify this stanza. You must update the device
configuration information if the hardware configuration at the recovery site has
changed. Examples of changes requiring updates to the configuration information
are:
v Different device names
v Use of a manual library instead of an automated library
v For automated libraries, the requirement to manually place the database backup
volumes in the automated library and update the configuration information to
identify the element within the library. This allows the server to locate the
required database backup volumes.
For details, see “Updating the device configuration file” on page 906.
The following rules determine where the device configuration file is placed at
restore time:
Note: The devcprefix is set to the directory representing this instance of the server
which is typically the directory from which the server was originally installed.
If a fully qualified file name was not specified for the DEVCONFIG option in the
server options file, the server adds it to the stanza [Link].
begin [Link]
end [Link]
[Link]
Contains a copy of the server options file. This stanza is used by the
[Link] script.
Note: The following figure contains text strings that are too long to display in
hardcopy or softcopy publications. The long text strings have a plus symbol (+) at
the end of the string to indicate that they continue on the next line.
The disaster recovery plan file adds the DISABLESCHEDS option to the server
options file and sets it to YES. This option disables administrative and client
schedules while the server is being recovered. After the server is recovered, you
can enable scheduling by deleting the option or setting it to NO and then
restarting the server.
begin [Link]
end [Link]
[Link]
begin [Link]
end [Link]
[Link]
Provides information for the server machine (for example, machine location). This
stanza is included in the plan file if the machine information is saved in the
database using the DEFINE MACHINE with ADSMSERVER=YES.
begin [Link]
Purpose: General information for machine DSMSRV1.
This is the machine that contains DSM server DSM.
Machine Name: DSMSRV1
Machine Priority: 1
Building: 21
Floor: 2
Room: 2749
Description: DSM Server for Branch 51
Recovery Media Name: DSMSRVIMAGE
end [Link]
[Link]
Provides the recovery instructions for the server machine. This stanza is included
in the plan file if the machine recovery instructions are saved in the database.
begin [Link]
Purpose: Recovery instructions for machine DSMSRV1.
Primary Contact:
Jane Smith (wk 520-000-0000 hm 520-001-0001)
Secondary Contact:
John Adams (wk 520-000-0001 hm 520-002-0002)
end [Link]
[Link]
Provides the hardware and software characteristics for the server machine. This
stanza is included in the plan file if the machine characteristics are saved in the
database.
end [Link]
[Link]
Provides information about the media (for example, boot media) needed for
rebuilding the machine that contains the server. This stanza is included in the plan
file if recovery media information is saved in the database and it has been
associated with the machine that contains the server.
begin [Link]
Purpose: Recovery media for machine DSMSRV1.
Recovery Media Name: DSMSRV
Type: Other
Volume Names:
Location: IRONMNT
Description: Server Installation CD
Product:
Product Information:
end [Link]
The framework for evaluating disaster recovery strategies consists of the following
tiers:
Each tier corresponds to different recovery times and potentials for data loss. For
example, in a tier 1 production site data is typically saved only selectively, and
volumes that are stored at an offsite facility can be difficult to track. In addition,
recovery time is unpredictable. After a disaster, hardware and software must be
restored, and storage volumes must be sent back to the production site.
Use the following questions as a guide to help you in the planning process:
Cost How much can you afford for your disaster recovery implementation?
Performance
Do you want a low or a high performance disaster recovery solution?
Recovery Time Objective (RTO) and Recovery Point Objective (RPO)
What are your system requirements?
Current disaster recovery strategy
What disaster recovery strategy is implemented in your environment?
Data What data do you need? Categorize and prioritize the data that you
require.
When you plan a disaster recovery strategy that might be suitable for your site,
consider using DRM and Tivoli Storage Manager node replication for these
reasons:
v DRM is an effective tool for managing offsite vaulting. With DRM, you can
configure and automatically generate a disaster recovery plan that contains the
information, scripts, and procedures that are required to automatically restore
the server and recover client data after a disaster.
DRM also manages and tracks the media on which client data is stored, whether
the data is on site, in-transit, or in a vault, so that the data can be more easily
located if disaster strikes. DRM also generates scripts that assist you in
documenting information-technology systems and recovery procedures that you
can use, including procedures to rebuild the server.
Use DRM alone to meet the disaster recovery objectives in tier 1, or use it
together with other backup-and-recovery tools and technologies in tiers 2, 3 and
4.
v Tivoli Storage Manager node replication meets the objectives of tier 5. After a
successful node replication, the target server contains all metadata updates and
data that is stored on the source server.
In addition to fast recovery and minimal potential data loss, Tivoli Storage
Manager node replication offers the following advantages:
– Node replication is easier to manage than device-based replication.
Device-based replication requires that you keep the database and the data it
represents synchronized. You manually schedule database backups to match
the point in time when the device synchronizes.
– Results for Tivoli Storage Manager operations are reported in terms such as
"node names" and "file names." In contrast, device-based replication results
are reported in terms of "disks," "sectors," and "blocks."
In the following figure, the Tivoli Storage Manager server and database, tape
libraries, and tapes are in a single facility. If a disaster occurs, recovery time is
unpredictable. Tier 0 is not recommended and data might never be recovered.
Data center A
As shown in the following figure, storage volumes, such as tape cartridges and
media volumes, and are vaulted at an offsite location. Transportation is typically
handled by couriers. If a disaster occurs, the volumes are sent back to the
production site after hardware and the Tivoli Storage Manager server is restored.
Data center A
DRM
Offsite vault
Daily backups
Chapter 33. Integrating disaster recovery manager and node replication into your disaster recovery strategy 1077
consider that an extended recovery time can impact business operations for several
months or longer.
Daily At recovery
backups time
A dedicated recovery site can reduce recovery time compared to the single
production site in tier 1. The potential for data loss is also less. However, tier 2
architecture increases the cost of disaster recovery because more hardware and
software must be maintained. The recovery site must also have hardware and
software that are compatible with the hardware and software at the primary site.
For example, the recovery site must have compatible tape devices and Tivoli
Storage Manager server software. Before the production site can be recovered, the
hardware and software at the recovery site must be set up and running.
Transporting the storage volumes to the recovery site also affects recovery time.
Electronic vaulting moves critical data offsite faster and more frequently than
traditional courier methods. Recovery time is reduced because critical data is
already stored at the recovery site. The potential for lost or misplaced data is also
reduced. However, because the recovery site runs continuously, a tier 3 strategy is
relatively more expensive than a tier 1 or a tier 2 strategy.
As shown in the following figure, the recovery site is physically separated from the
production site. Often, the recovery site is a second data center that is operated by
the same organization or by a storage service provider. If a disaster occurs at the
primary site, storage media with the non-critical data are transported from the
offsite storage facility to the recovery site.
Electronic vaulting
Daily At recovery
backups time
If you implement a tier 3 strategy, you can use Tivoli Storage Manager
server-to-server communications for enterprise configuration of the Tivoli Storage
Manager servers and command routing.
As shown in the following figure, critical data is replicated the two sites by using
high-bandwidth connections and data replication technology, for example,
Peer-to-Peer Remote Connection (PPRC). Data is transmitted over long distances
by using technologies such as extended storage area network (SAN), Dense Wave
Division Multiplexing (DWDM), and IP/WAN channel extenders.
Chapter 33. Integrating disaster recovery manager and node replication into your disaster recovery strategy 1079
High bandwidth connections
Data center A Data center B
(hotsite)
DRM
Daily backups
Offsite
vault
At recovery time
Non-critical backups from both sites are moved to a single offsite storage facility. If
a disaster occurs, the backup volumes are recovered by courier from the offsite
vault and transported the designated recovery site.
If you implement a tier-4 disaster-recovery strategy, you can use Tivoli Storage
Manager server-to-server communications for enterprise configuration of multiple
Tivoli Storage Manager servers and command routing.
Recovery time for a tier 4 strategy is faster than the recovery time for a tier 1, tier
2, or tier 3 strategy. Recovery time is faster because hardware, software, and data
are available or can be made available at two sites.
High bandwidth
connections
Copies of critical data are available at both sites, and each server is able to recover
the server at the alternate site. Only the data transactions that are in-flight are lost
during a disaster.
If you implement a tier-5 disaster-recovery strategy, you can also use Tivoli Storage
Manager server-to-server communications to configure multiple Tivoli Storage
Manager servers and command routing.
As shown in the following figure, two sites are fully synchronized by using a
high-bandwidth connection.
Data sharing
Tier 6 is the most expensive disaster recovery strategy because it requires coupling
or clustering applications, additional hardware to support data sharing, and
high-bandwidth connections over extended distances. However, this strategy also
offers the fastest recovery time and the least amount of data loss. The typical
length of time for recovery is normally a few minutes.
Chapter 33. Integrating disaster recovery manager and node replication into your disaster recovery strategy 1081
1082 IBM Tivoli Storage Manager for Windows: Administrator's Guide
Part 7. Appendixes
To use the interface, you must first define an EXTERNAL-type Tivoli Storage
Manager library that represents the media manager. You do not define drives, label
volumes, or check in media. Refer to your media manager's documentation for that
product's setup information and instructions for operational usage.
The details of the request types and the required processing are described in the
sections that follow. The request types are:
v Initialization of the external program
v Begin Batch
v End Batch
v Volume Query
v Volume Eject
v Volume Release
v Volume Mount
v Volume Dismount
The libraryname passed in a request must be returned in the response. The volume
specified in an eject request or a query request must be returned in the response.
The volume specified in a mount request (except for 'SCRTCH') must be returned
in the response. When 'SCRTCH' is specified in a mount request, the actual volume
mounted must be returned.
CreateProcess call
The server creates two anonymous unidirectional pipes and maps them to the
stdin and stdout streams during the CreateProcess call. When a standard handle is
redirected to refer to a file or a pipe, the handle can only be used by the ReadFile
and WriteFile functions.
This precludes normal C functions such as gets or printf. Since the server will
never terminate the external program process, it is imperative that the external
program recognize a read or write failure on the pipes and exit the process. In
addition, the external program should exit the process if it reads an unrecognized
command.
The external program may obtain values for the read and write handles using the
following calls:
readPipe=GetStdHandle(STD_INPUT-HANDLE)
and
For each external library defined to the server, the following must occur during
server initialization:
Procedure
1. The server loads the external program (CreateProcess) in a newly created
process and creates pipes to the external program.
2. The server sends an initialization request description string, in text form, into
the standard input (stdin) stream of the external program. The server waits for
the response.
3. When the external process completes the request, the process must write an
initialization response string, in text form, into its standard output (stdout)
stream.
4. The server closes the pipes.
5. When the agent detects that the pipes are closed, it performs any necessary
cleanup and calls the stdlib exit routine.
Procedure
1. The server loads the external program in a newly created process and creates
pipes to the external program.
2. The server sends an initialization request description string (in text form) into
the standard input (stdin) stream of the external program. The server waits for
the response.
3. When the external process completes the request, the process must write an
initialization response string (in text form) into its standard output (stdout)
stream.
4. The server sends the MOUNT request (stdin).
5. The agent sends the MOUNT response (stdout).
6. The agent waits.
7. The server sends the DISMOUNT request (stdin).
8. The agent sends the DISMOUNT response (stdout), performs any necessary
cleanup, and calls the stdlib exit routine.
Procedure
1. The server loads the external program in a newly created process and creates
pipes to the external program.
2. The server sends an initialization request description string (in text form) into
the standard input (stdin) stream of the external program. The server waits for
the response.
3. When the external process completes the request, the process must write an
initialization response string (in text form) into its standard output (stdout)
stream.
4. The server sends the RELEASE request (stdin).
5. The agent sends the RELEASE response (stdout), performs any necessary
cleanup, and calls the stdlib exit routine.
The move commands cause a QUERY to be issued for a volume. If the QUERY
indicates that the volume is in the library, a subsequent EJECT for that volume is
issued. Because the move commands can match any number of volumes, a QUERY
and an EJECT request is issued for each matching volume.
The QUERY MEDIA command results in QUERY requests being sent to the agent.
During certain types of processing, Tivoli Storage Manager might need to know if
a volume is present in a library. The external agent should verify that the volume
is physically present in the library.
Procedure
1. The server loads the external program in a newly created process and creates
pipes to the external program.
2. The server sends an initialization request description string (in text form) into
the standard input (stdin) stream of the external program. The server waits for
the response.
3. When the external process completes the request, the process must write an
initialization response string (in text form) into its standard output (stdout)
stream.
4. The server sends the BEGIN BATCH request (stdin).
5. The agent sends the BEGIN BATCH response (stdout).
6. The server sends 1 to n volume requests (n > 1). These can be any number of
QUERY or EJECT requests. For each request, the agent will send the applicable
QUERY response or EJECT response.
7. The server sends the END BATCH request (stdin).
Error handling
If the server encounters an error during processing, it closes the stdin and stdout
streams to the agent exit. The agent detects this when it attempts to read from
stdin or write to stdout. If this occurs, the agent performs any necessary cleanup
and calls the stdlib exit routine.
If the code for any response (except for EJECT and QUERY) is not equal to
SUCCESS, Tivoli Storage Manager does not proceed with the subsequent steps.
After the agent sends a non-SUCCESS return code for any response, the agent will
perform any necessary cleanup and call the stdlib exit routine.
However, even if the code for EJECT or QUERY requests is not equal to SUCCESS,
the agent will continue to send these requests.
If the server gets an error while trying to write to the agent, it will close the pipes,
perform any necessary cleanup, and terminate the current request.
where:
resultCode
One of the following:
v SUCCESS
v INTERNAL_ERROR
where:
libraryname
Specifies the name of the EXTERNAL library as defined to Tivoli Storage
Manager.
volume
Specifies the volume name to be queried.
where:
libraryname
Specifies the name of the EXTERNAL library as defined to Tivoli Storage
Manager.
volume
Specifies the volume name queried.
resultCode
One of the following:
v SUCCESS
v LIBRARY_ERROR
v VOLUME_UNKNOWN
v VOLUME_UNAVAILABLE
v CANCELLED
v TIMED_OUT
v INTERNAL_ERROR
If resultCode is not SUCCESS, the exit must return statusValue set to UNDEFINED.
If resultCode is SUCCESS, STATUS must be one of the following values:
v IN_LIBRARY
v NOT_IN_LIBRARY
IN_LIBRARY means that the volume is currently in the library and available to be
mounted.
Tivoli Storage Manager does not attempt any other type of operation with that
library until an initialization request has succeeded. The server sends an
initialization request first. If the initialization is successful, the request is sent. If the
initialization is not successful, the request fails. The external media management
program can detect whether the initialization request is being sent by itself or with
another request by detecting end-of-file on the stdin stream. When end-of-file is
detected, the external program must end by using the stdlib exit routine (not the
return call).
When a valid response is sent by the external program, the external program must
end by using the exit routine.
where:
libraryname
Specifies the name of the EXTERNAL library as defined to Tivoli Storage
Manager.
resultcode
One of the following:
v SUCCESS
v NOT_READY
v INTERNAL_ERROR
where:
where:
libraryname
Specifies the name of the EXTERNAL library as defined to Tivoli Storage
Manager.
volume
Specifies the ejected volume.
resultCode
One of the following:
v SUCCESS
v LIBRARY_ERROR
v VOLUME_UNKNOWN
v VOLUME_UNAVAILABLE
v CANCELLED
v TIMED_OUT
v INTERNAL_ERROR
The external program must send a response to the release request. No matter what
response is received from the external program, Tivoli Storage Manager returns the
volume to scratch. For this reason, Tivoli Storage Manager and the external
program can have conflicting information on which volumes are scratch. If an error
occurs, the external program should log the failure so that the external library
inventory can be synchronized later with Tivoli Storage Manager. The
synchronization can be a manual operation.
where:
libraryname
Specifies the name of the EXTERNAL library as defined to Tivoli Storage
Manager.
volname
Specifies the name of the volume returned to scratch (released).
resultcode
One of the following:
v SUCCESS
v VOLUME_UNKNOWN
v VOLUME_UNAVAILABLE
v INTERNAL_ERROR
When the server requires a volume mount, the server starts the external media
management program, issues a request to initialize, then issues a request to mount
a volume. The external program is responsible for verifying that this request is
coming from Tivoli Storage Manager and not from an unauthorized system.
The volume that is mounted by the external media management program must be
a tape with a standard IBM label that matches the external volume label. When the
external program completes the mount request, the program must send a response.
If the mount was successful, the external program must remain active. If the
mount failed, the external program must end immediately by using the stdlib exit
routine.
where
libraryname
Specifies the name of the EXTERNAL library as defined to Tivoli Storage
Manager.
volname
Specifies the actual volume name if the request is for an existing volume. If a
scratch mount is requested, the volname is set to SCRTCH.
where
libraryname
Specifies the name of the EXTERNAL library as defined to Tivoli Storage
Manager.
volname
Specifies the name of the volume that is mounted for the request.
1094 IBM Tivoli Storage Manager for Windows: Administrator's Guide
specialfile
The fully qualified path name of the device special file for the drive in which
the volume was mounted. If the mount request fails, set the value to
/dev/null.
The external program must ensure that the special file is closed before the
response is returned to the server.
resultcode
The result code can be one of the following values:
v SUCCESS
v DRIVE_ERROR
v LIBRARY_ERROR
v VOLUME_UNKNOWN
v VOLUME_UNAVAILABLE
v CANCELLED
v TIMED_OUT
v INTERNAL_ERROR
After the dismount response is sent, the external process ends immediately by
using the stdlib exit routine.
where:
libraryname
Specifies the name of the EXTERNAL library as defined to Tivoli Storage
Manager.
volname
Specifies the name of the volume to be dismounted.
where:
libraryname
Specifies the name of the EXTERNAL library as defined to Tivoli Storage
Manager.
volname
Specifies the name of the volume dismounted.
resultcode
One of the following:
v SUCCESS
v DRIVE_ERROR
The samples for the C, H, and make files are shipped with the server code in the
\win32app\ibm\adsm directory.
You can also use Tivoli Storage Manager commands to control event logging. For
details, see Chapter 27, “Logging IBM Tivoli Storage Manager events to receivers,”
on page 807 and Administrator's Reference.
/***********************************************************************
* Name: USEREXITSAMPLE.H
* Description: Declarations for a user exit
* Environment: WINDOWS NT
***********************************************************************/
#ifndef _H_USEREXITSAMPLE
#define _H_USEREXITSAMPLE
#include <stdio.h>
#include <sys/types.h>
#ifndef uchar
typedef unsigned char uchar;
#endif
/* DateTime Structure Definitions - TSM representation of a timestamp */
typedef struct
{
uchar year; /* Years since BASE_YEAR (0-255) */
uchar mon; /* Month (1 - 12) */
uchar day; /* Day (1 - 31) */
uchar hour; /* Hour (0 - 23) */
uchar min; /* Minutes (0 - 59) */
uchar sec; /* Seconds (0 - 59) */
} DateTime;
/******************************************
* Some field size definitions (in bytes) *
******************************************/
#define MAX_SERVERNAME_LENGTH 64
#define MAX_NODE_LENGTH 64
/**********************************************
* Event Types (in [Link]) *
**********************************************/
/***************************************************
* Application Types (in [Link]) *
***************************************************/
/*****************************************************
* Event Severity Codes (in [Link]) *
*****************************************************/
/************************************************************
* Data Structure of Event that is passed to the User-Exit. *
* The same structure is used for a file receiver *
************************************************************/
/************************************
* Size of the Event data structure *
************************************/
/**************************************
*** Do not modify above this line. ***
**************************************/
#endi
/***********************************************************************
* Name: USEREXITSAMPLE.C
* Description: Example user-exit program that is invoked by
* the TSM V3 Server
* Environment: *********************************************
* ** This is a platform-specific source file **
* ** versioned for: "WINDOWS NT" **
* *********************************************
***********************************************************************/
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <io.h>
#include <windows.h>
#include "USEREXITSAMPLE.H"
/**************************************
*** Do not modify below this line. ***
**************************************/
/****************
*** DLL MAIN ***
****************/
BOOL WINAPI
DllMain(HMODULE hMod, DWORD fdwReason, LPVOID lpvReserved)
{
return(TRUE);
} // End of WINAPI
/******************************************************************
* Procedure: adsmV3UserExit
* If the user-exit is specified on the server, a valid and
* appropriate event will cause an elEventRecvData structure
* (see USEREXITSAMPLE.H) to be passed to a procedure named
* adsmV3UserExit that returns a void.
*
* This procedure can be named differently:
* ----------------------------------------
/**************************************
*** Do not modify above this line. ***
**************************************/
/* Be aware that certain function calls are process-wide and can cause
* synchronization of all threads running under the TSM Server process!
* Among these is the system() function call. Use of this call can
* cause the server process to hang and otherwise affect performance.
* Also avoid any functions that are not thread-safe. Consult your
* system’s programming reference material for more information.
*/
The following table presents the format of the output. Fields are separated by
blank spaces.
Table 83. Readable text file exit (FILETEXTEXIT) format
Column Description
0001-0006 Event number (with leading zeros)
0008-0010 Severity code number
0012-0013 Application type number
0015-0023 Session ID number
0025-0027 Event structure version number
0029-0031 Event type number
0033-0046 Date/Time (YYYYMMDDDHHmmSS)
You can use forums, wikis, and other social media tools to ask questions, talk to
experts, and learn from others.
User groups
Tivoli Global Storage Virtual User Group
Access this user group at [Link]
This group makes it possible for individuals from many different industries
and types of organizations to share information and work directly with the
IBM product experts. Local chapters also exist where members meet in
person to share experiences and hear from guest speakers.
[Link]
Access this mailing list at [Link]
This independently managed Storage Management discussion forum
started when Tivoli Storage Manager was known as ADSTAR Distributed
Storage Manager (ADSM). The members of this forum have many years of
experience with Tivoli Storage Manager in almost every type of IT
environment.
To subscribe to the forum, send an email to listserv@[Link]. The
body of the message must contain the following text: SUBSCRIBE ADSM-L
your_first_name your_family_name.
Find the latest best practices, white papers, and links to videos and other
resources. When you log on, you can comment on content, or contribute your own
content.
Learn from technical experts who share their knowledge and then answer your
questions. The sessions are designed to address specific technical issues and
provide in-depth but narrowly focused training.
Use these education resources to help you increase your Tivoli Storage Manager
skills:
Tivoli Education and Certification website
View available education at [Link]
education.
Use the Search for Training link to find local and online offerings of
instructor-led courses for Tivoli Storage Manager.
Education Assistant
Access resources at [Link]
tivv1r0/[Link].
Scroll to view the list of available training videos. Recorded product
demonstrations are also available on a YouTube channel.
Sign in using your IBM ID and password if you want to customize the site based
on your product usage and information needs. If you do not already have an IBM
ID and password, click Sign in at the top of the page and follow the instructions
to register.
IBM Support Assistant helps you gather support information when you must open
a problem management record (PMR), which you can then use to track the
problem. The product-specific plug-in modules provide you with the following
resources:
v Support links
v Education links
v Ability to submit problem management reports
You can find more information and download the IBM Support Assistant web page
at [Link]
You can also install the stand-alone IBM Support Assistant application on any
workstation. You can then enhance the application by installing product-specific
plug-in modules for the IBM products that you use. Find add-ons for specific
products at [Link]
Procedure
Determine what fixes are available by checking the IBM software support website
at [Link]
If you previously customized the site based on your product usage:
1. Click the link for the product, or a component for which you want to
find a fix.
2. Click Downloads, and then click Search for recommended fixes.
If you have not previously customized the site:
Click Downloads and search for the product.
Procedure
1. From the support page at [Link] click
Sign in and sign in using your IBM ID and password. If you do not have an
ID and password, click register now and complete the registration process.
2. Click Manage all my subscriptions in the Notifications pane.
3. Click the Subscribe tab, and then click Tivoli.
4. Select the products for which you want to receive notifications and click
Continue.
5. Specify your notification preferences and click Submit.
Procedure
1. Ensure that you have completed the following prerequisites:
a. Set up a subscription and support contract.
b. Determine the business impact of the problem.
c. Describe the problem and gather background information.
2. Follow the instructions in “Submitting the problem to IBM Software Support”
on page 1108.
Procedure
Accessibility features
The IBM Tivoli Storage Manager family of products includes the following
accessibility features:
v Keyboard-only operation using standard operating-system conventions
v Interfaces that support assistive technology such as screen readers
The command-line interfaces of all products in the product family are accessible.
The Operations Center and the Tivoli Storage Manager Server can be installed in
console mode, which is accessible.
The Tivoli Storage Manager Information Center is enabled for accessibility. For
information center accessibility information, see “Accessibility features in the
information center” ( [Link]
[Link]/iehs36_accessibility.html).
Vendor software
The Tivoli Storage Manager product family includes certain vendor software that is
not covered under the IBM license agreement. IBM makes no representation about
the accessibility features of these products. Contact the vendor for the accessibility
information about its products.
IBM may not offer the products, services, or features discussed in this document in
other countries. Consult your local IBM representative for information on the
products and services currently available in your area. Any reference to an IBM
product, program, or service is not intended to state or imply that only that IBM
product, program, or service may be used. Any functionally equivalent product,
program, or service that does not infringe any IBM intellectual property right may
be used instead. However, it is the user's responsibility to evaluate and verify the
operation of any non-IBM product, program, or service.
IBM may have patents or pending patent applications covering subject matter
described in this document. The furnishing of this document does not grant you
any license to these patents. You can send license inquiries, in writing, to:
The following paragraph does not apply to the United Kingdom or any other
country where such provisions are inconsistent with local law:
INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS
PUBLICATION “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS
FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or
implied warranties in certain transactions, therefore, this statement may not apply
to you.
Licensees of this program who want to have information about it for the purpose
of enabling: (i) the exchange of information between independently created
programs and other programs (including this one) and (ii) the mutual use of the
information which has been exchanged, should contact:
IBM Corporation
2Z4A/101
11400 Burnet Road
Austin, TX 78758
U.S.A.
The licensed program described in this information and all licensed material
available for it are provided by IBM under terms of the IBM Customer Agreement,
IBM International Program License Agreement, or any equivalent agreement
between us.
This information is for planning purposes only. The information herein is subject to
change before the products described become available.
This information contains examples of data and reports used in daily business
operations. To illustrate them as completely as possible, the examples include the
names of individuals, companies, brands, and products. All of these names are
fictitious and any similarity to the names and addresses used by an actual business
enterprise is entirely coincidental.
COPYRIGHT LICENSE:
Each copy or any portion of these sample programs or any derivative work, must
include a copyright notice as follows: © (your company name) (year). Portions of
this code are derived from IBM Corp. Sample Programs. © Copyright IBM Corp.
_enter the year or years_.
If you are viewing this information in softcopy, the photographs and color
illustrations may not appear.
Trademarks
IBM, the IBM logo, and [Link]® are trademarks or registered trademarks of
International Business Machines Corp., registered in many jurisdictions worldwide.
Other product and service names might be trademarks of IBM or other companies.
A current list of IBM trademarks is available on the Web at “Copyright and
trademark information” at [Link]
Java and all Java-based trademarks and logos are trademarks or registered
trademarks of Oracle and/or its affiliates.
LTO and Ultrium are trademarks of HP, IBM Corp. and Quantum in the U.S. and
other countries.
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.
This Software Offering does not use cookies or other technologies to collect
personally identifiable information.
Notices 1113
If the configurations deployed for this Software Offering provide you as customer
the ability to collect personally identifiable information from end users via cookies
and other technologies, you should seek your own legal advice about any laws
applicable to such data collection, including any requirements for notice and
consent.
For more information about the use of various technologies, including cookies, for
these purposes, see IBM’s Privacy Policy at [Link] and
IBM’s Online Privacy Statement at [Link] the
section entitled “Cookies, Web Beacons and Other Technologies” and the “IBM
Software Products and Software-as-a-Service Privacy Statement” at
[Link]
B
backup-archive client
A program that runs on a workstation or
file server and provides a means for users
to back up, archive, restore, and retrieve
files. See also administrative client.
backup copy group
A policy object containing attributes that
control the generation, destination, and
expiration of backup versions of files. A
backup copy group belongs to a
management class. See also copy group.
backup retention grace period
The number of days the storage manager
retains a backup version after the server
is unable to rebind the file to an
appropriate management class.
backup set
A portable, consolidated group of active
versions of backup files that are generated
for a backup-archive client.
backup set collection
A group of backup sets that are created at
the same time and which have the same
backup set name, volume names,
description, and device classes. The server
identifies each backup set in the collection
by its node name, backup set name, and
file type.
backup version
A file or directory that a client node
backed up to storage. More than one
backup version can exist in storage, but
only one backup version is the active
version. See also active version, copy
group, inactive version.
bind To associate a file with a management
class name. See also archive-retention
grace period, management class, rebind.
Glossary 1117
the server and used on client nodes in
C conjunction with client options files.
cache To place a duplicate copy of a file on client options file
random access media when the server An editable file that identifies the server
migrates a file to another storage pool in and communication method, and
the hierarchy. provides the configuration for backup,
cache file archive, hierarchical storage management,
A snapshot of a logical volume created by and scheduling.
Logical Volume Snapshot Agent. Blocks client-polling scheduling mode
are saved immediately before they are A method of operation in which the client
modified during the image backup and queries the server for work. See also
their logical extents are saved in the cache server-prompted scheduling mode.
files.
client schedule
CAD See client acceptor daemon. A database record that describes the
central scheduler planned processing of a client operation
A function that permits an administrator during a specific time period. The client
to schedule client operations and operation can be a backup, archive,
administrative commands. The operations restore, or retrieve operation, a client
can be scheduled to occur periodically or operating system command, or a macro.
on a specific date. See also administrative See also administrative command
command schedule, client schedule. schedule, central scheduler, schedule.
client A software program or computer that client/server
requests services from a server. See also Pertaining to the model of interaction in
server. distributed data processing in which a
program on one computer sends a request
client acceptor to a program on another computer and
A service that serves the Java applet for awaits a response. The requesting
the web client to web browsers. On program is called a client; the answering
Windows systems, the client acceptor is program is called a server.
installed and run as a service. On AIX,
UNIX, and Linux systems, the client client system-options file
acceptor is run as a daemon. A file, used on AIX, UNIX, or Linux
system clients, containing a set of
client acceptor daemon (CAD) processing options that identify the
See client acceptor. servers to be contacted for services. This
client domain file also specifies communication methods
The set of drives, file systems, or volumes and options for backup, archive,
that the user selects to back up or archive hierarchical storage management, and
data, using the backup-archive client. scheduling. See also client user-options
file, options file.
client node
A file server or workstation on which the client user-options file
backup-archive client program has been A file that contains the set of processing
installed, and which has been registered options that the clients on the system use.
to the server. The set can include options that
determine the server that the client
client node session contacts, and options that affect backup
A session in which a client node operations, archive operations,
communicates with a server to perform hierarchical storage management
backup, restore, archive, retrieve, migrate, operations, and scheduled operations.
or recall requests. See also administrative This file is also called the [Link] file.
session. For AIX, UNIX, or Linux systems, see also
client option set client system-options file. See also client
A group of options that are defined on system-options file, options file.
Glossary 1119
data center out-of-space condition on a file system for
In a virtualized environment, a container which hierarchical storage management
that holds hosts, clusters, networks, and (HSM) is active. Files are migrated to
data stores. server storage until space usage drops to
the low threshold that was set for the file
data deduplication
system. If the high threshold and low
A method of reducing storage needs by
threshold are the same, one file is
eliminating redundant data. Only one
migrated. See also automatic migration,
instance of the data is retained on storage
selective migration, threshold migration.
media. Other instances of the same data
are replaced with a pointer to the retained desktop client
instance. The group of backup-archive clients that
includes clients on Microsoft Windows,
data manager server
Apple, and Novell NetWare operating
A server that collects metadata
systems.
information for client inventory and
manages transactions for the storage destination
agent over the local area network. The A copy group or management class
data manager server informs the storage attribute that specifies the primary storage
agent with applicable library attributes pool to which a client file will be backed
and the target volume identifier. up, archived, or migrated. See also copy
storage pool.
data mover
A device that moves data on behalf of the device class
server. A network-attached storage (NAS) A named set of characteristics that are
file server is a data mover. applied to a group of storage devices.
Each device class has a unique name and
data storage-management application-
represents a device type of disk, file,
programming interface (DSMAPI)
optical disk, or tape.
A set of functions and semantics that can
monitor events on files, and manage and device configuration file
maintain the data in a file. In an HSM 1. For a storage agent, a file that contains
environment, a DSMAPI uses events to the name and password of the storage
notify data management applications agent, and information about the
about operations on files, stores arbitrary server that is managing the
attribute information with a file, supports SAN-attached libraries and drives that
managed regions in a file, and uses the storage agent uses.
DSMAPI access rights to control access to
2. For a server, a file that contains
a file object.
information about defined device
data store classes, and, on some servers, defined
In a virtualized environment, the location libraries and drives. The information
where virtual machine data is stored. is a copy of the device configuration
information in the database.
deduplication
The process of creating representative disaster recovery manager (DRM)
records from a set of records that have A function that assists in preparing and
been identified as representing the same using a disaster recovery plan file for the
entities. server.
default management class disaster recovery plan
A management class that is assigned to a A file that is created by the disaster
policy set. This class is used to govern recover manager (DRM) that contains
backed up or archived files when a file is information about how to recover
not explicitly associated with a specific computer systems if a disaster occurs and
management class through the scripts that can be run to perform some
include-exclude list. recovery tasks. The file includes
information about the software and
demand migration
The process that is used to respond to an
Glossary 1121
classes of extended attributes: user management support that is required. If
attributes, system attributes, and trusted no space management support is
attributes. required, the operation is passed to the
operating system, which performs its
external library
normal functions. The file system
A collection of drives that is managed by
migrator is mounted over a file system
the media-management system other than
when space management is added to the
the storage management server.
file system.
file system state
F The storage management mode of a file
file access time system that resides on a workstation on
On AIX, UNIX, or Linux systems, the which the hierarchical storage
time when the file was last accessed. management (HSM) client is installed. A
file system can be in one of these states:
file age native, active, inactive, or global inactive.
For migration prioritization purposes, the
number of days since a file was last frequency
accessed. A copy group attribute that specifies the
minimum interval, in days, between
file device type incremental backups.
A device type that specifies the use of
sequential access files on disk storage as FSID See file space ID.
volumes. FSM See file system migrator.
file server full backup
A dedicated computer and its peripheral The process of backing up the entire
storage devices that are connected to a server database. A full backup begins a
local area network that stores programs new database backup series. See also
and files that are shared by users on the database backup series, database
network. snapshot, incremental backup.
file space fuzzy backup
A logical space in server storage that A backup version of a file that might not
contains a group of files that have been accurately reflect what is currently in the
backed up or archived by a client node, file because the file was backed up at the
from a single logical partition, file system, same time as it was being modified.
or virtual mount point. Client nodes can
restore, retrieve, or delete their file spaces fuzzy copy
from server storage. In server storage, A backup version or archive copy of a file
files belonging to a single file space are that might not accurately reflect the
not necessarily stored together. original contents of the file because it was
backed up or archived the file while the
file space ID (FSID) file was being modified.
A unique numeric identifier that the
server assigns to a file space when it is
stored in server storage. G
file state GB See gigabyte.
The space management mode of a file
General Parallel File System (GPFS)
that resides in a file system to which
A high-performance shared-disk file
space management has been added. A file
system that can provide data access from
can be in one of three states: resident,
nodes in a clustered system environment.
premigrated, or migrated. See also
See also information lifecycle
migrated file, premigrated file, resident
management.
file.
gigabyte (GB)
file system migrator (FSM)
For processor storage, real and virtual
A kernel extension that intercepts all file
storage, and channel volume, 10 to the
system operations and provides any space
H
hierarchical storage management (HSM)
A function that automatically distributes
and manages data on disk, tape, or both
by regarding devices of these types and
potentially others as levels in a storage
hierarchy that range from fast, expensive
devices to slower, cheaper, and possibly
removable devices. The objectives are to
minimize access time to data and
maximize available media capacity. See
also hierarchical storage management
client, recall, storage hierarchy.
hierarchical storage management client (HSM
client) A client program that works with the
server to provide hierarchical storage
management (HSM) for a system. See also
hierarchical storage management,
management class.
HSM See hierarchical storage management.
HSM client
See hierarchical storage management
client.
Glossary 1123
systems. An inode contains the node,
I type, owner, and location of a file.
ILM See information lifecycle management. inode number
image A file system or raw logical volume that A number specifying a particular inode
is backed up as a single object. file in the file system.
image backup IP address
A backup of a full file system or raw A unique address for a device or logical
logical volume as a single object. unit on a network that uses the Internet
Protocol standard.
inactive file system
A file system for which space
management has been deactivated. See J
also active file system.
job file
inactive version A generated file that contains
A backup version of a file that is either configuration information for a migration
not the most recent backup version, or job. The file is XML format and can be
that is a backup version of a file that no created and edited in the hierarchical
longer exists on the client system. Inactive storage management (HSM) client for
backup versions are eligible for expiration Windows client graphical user interface.
processing according to the management See also migration job.
class assigned to the file. See also active
journal-based backup
version, backup version.
A method for backing up Windows clients
include-exclude file and AIX clients that exploits the change
A file containing statements to determine notification mechanism in a file to
the files to back up and the associated improve incremental backup performance
management classes to use for backup or by reducing the need to fully scan the file
archive. See also include-exclude list. system.
include-exclude list journal daemon
A list of options that include or exclude On AIX, UNIX, or Linux systems, a
selected files for backup. An exclude program that tracks change activity for
option identifies files that should not be files residing in file systems.
backed up. An include option identifies
journal service
files that are exempt from the exclusion
In Microsoft Windows, a program that
rules or assigns a management class to a
tracks change activity for files residing in
file or a group of files for backup or
file systems.
archive services. See also include-exclude
file.
incremental backup
K
The process of backing up files or KB See kilobyte.
directories, or copying pages in the
database, that are new or changed since kilobyte (KB)
the last full or incremental backup. See For processor storage, real and virtual
also selective backup. storage, and channel volume, 2 to the
power of 10 or 1,024 bytes. For disk
individual mailbox restore storage capacity and communications
See mailbox restore. volume, 1,000 bytes.
information lifecycle management (ILM)
A policy-based file-management system
for storage pools and file sets. See also
General Parallel File System.
inode The internal structure that describes the
individual files on AIX, UNIX, or Linux
Glossary 1125
storage for Tivoli Storage Manager servers
M that run on operating systems other than
macro file z/OS.
A file that contains one or more storage megabyte (MB)
manager administrative commands, For processor storage, real and virtual
which can be run only from an storage, and channel volume, 2 to the
administrative client using the MACRO 20th power or 1,048,576 bytes. For disk
command. See also Tivoli Storage storage capacity and communications
Manager command script. volume, 1,000,000 bytes.
mailbox restore metadata
A function that restores Microsoft Data that describes the characteristics of
Exchange Server data (from IBM Data data; descriptive data.
Protection for Microsoft Exchange
backups) at the mailbox level or migrate
mailbox-item level. To move data to another location, or an
application to another computer system.
managed object
A definition in the database of a managed migrated file
server that was distributed to the A file that has been copied from a local
managed server by a configuration file system to storage. For HSM clients on
manager. When a managed server UNIX or Linux systems, the file is
subscribes to a profile, all objects that are replaced with a stub file on the local file
associated with that profile become system. On Windows systems, creation of
managed objects in the database of the the stub file is optional. See also file state,
managed server. premigrated file, resident file, stub file.
Glossary 1127
backup-archive client program has been contacting for space management services.
installed, and which has been registered For example, a stub file can be orphaned
to the server. when the client system-options file is
modified to contact a server that is
node name
different than the one to which the file
A unique name that is used to identify a
was migrated.
workstation, file server, or PC to the
server.
node privilege class
P
A privilege class that gives an packet In data communication, a sequence of
administrator the authority to remotely binary digits, including data and control
access backup-archive clients for a specific signals, that are transmitted and switched
client node or for all clients in a policy as a composite whole.
domain. See also privilege class.
page A defined unit of space on a storage
non-native data format medium or within a database volume.
A format of data that is written to a
storage pool that differs from the format partial-file recall mode
that the server uses for operations. See A recall mode that causes the hierarchical
also native format. storage management (HSM) function to
read just a portion of a migrated file from
storage, as requested by the application
O accessing the file.
offline volume backup password generation
A backup in which the volume is locked A process that creates and stores a new
so that no other system applications can password in an encrypted password file
access it during the backup operation. when the old password expires.
Automatic generation of a password
online volume backup
prevents password prompting.
A backup in which the volume is
available to other system applications path An object that defines a one-to-one
during the backup operation. relationship between a source and a
destination. Using the path, the source
open registration
accesses the destination. Data can flow
A registration process in which users can
from the source to the destination, and
register their workstations as client nodes
back. An example of a source is a data
with the server. See also closed
mover (such as a network-attached
registration.
storage [NAS] file server), and an
operator privilege class example of a destination is a tape drive.
A privilege class that gives an
pattern-matching character
administrator the authority to disable or
See wildcard character.
halt the server, enable the server, cancel
server processes, and manage removable physical file
media. See also privilege class. A file that is stored in one or more
storage pools, consisting of either a single
options file
logical file, or a group of logical files that
A file that contains processing options.
are packaged together as an aggregate.
See also client system-options file, client
See also aggregate, logical file, physical
user-options file.
occupancy.
originating file system
physical occupancy
The file system from which a file was
The amount of space that is used by
migrated. When a file is recalled, it is
physical files in a storage pool. This space
returned to its originating file system.
includes the unused space that is created
orphaned stub file when logical files are deleted from
A file for which no migrated file can be aggregates. See also logical file, logical
found on the server that the client node is occupancy, physical file.
Glossary 1129
During the reconciliation process, data
R that is identified as no longer needed is
randomization removed.
The process of distributing schedule start recovery log
times for different clients within a A log of updates that are about to be
specified percentage of the schedule's written to the database. The log can be
startup window. used to recover from system and media
raw logical volume failures. The recovery log consists of the
A portion of a physical volume that is active log (including the log mirror) and
comprised of unallocated blocks and has archive logs.
no journaled file system (JFS) definition. register
A logical volume is read/write accessible To define a client node or administrator
only through low-level I/O functions. ID that can access the server.
rebind registry
To associate all backed-up versions of a A repository that contains access and
file with a new management class name. configuration information for users,
For example, a file that has an active systems, and software.
backup version is rebound when a later
version of the file is backed up with a remote
different management class association. For hierarchical storage management
See also bind, management class. products, pertaining to the origin of
migrated files that are being moved. See
recall To copy a migrated file from server also local.
storage back to its originating file system
using the hierarchical storage resident file
management client. See also selective On a Windows system, a complete file on
recall. a local file system that might also be a
migrated file because a migrated copy can
receiver exist in server storage. On a UNIX or
A server repository that contains a log of Linux system, a complete file on a local
server and client messages as events. For file system that has not been migrated or
example, a receiver can be a file exit, a premigrated, or that has been recalled
user exit, or the server console and from server storage and modified. See
activity log. See also event. also file state.
reclamation restore
The process of consolidating the To copy information from its backup
remaining data from many location to the active storage location for
sequential-access volumes onto fewer, use. For example, to copy information
new sequential-access volumes. from server storage to a client
reclamation threshold workstation.
The percentage of space that a retention
sequential-access media volume must The amount of time, in days, that inactive
have before the server can reclaim the backed-up or archived files are kept in the
volume. Space becomes reclaimable when storage pool before they are deleted.
files are expired or are deleted. Copy group attributes and default
reconciliation retention grace periods for the domain
The process of ensuring consistency define retention.
between the original data repository and retrieve
the larger system where the data is stored To copy archived information from the
for backup. Examples of larger systems storage pool to the workstation for use.
where the data is stored for backup are The retrieve operation does not affect the
storage servers or other storage systems. archive version in the storage pool. See
also archive.
Glossary 1131
shadow volume special file
The data stored from a snapshot of a On AIX, UNIX, or Linux systems, a file
volume. The snapshot can be taken while that defines devices for the system, or
applications on the system continue to temporary files that are created by
write data to the volumes. processes. There are three basic types of
special files: first-in, first-out (FIFO);
shared dynamic serialization
block; and character.
A value for serialization that specifies that
a file must not be backed up or archived SSL See Secure Sockets Layer.
if it is being modified during the
stabilized file space
operation. The backup-archive client
A file space that exists on the server but
retries the backup or archive operation a
not on the client.
number of times; if the file is being
modified during each attempt, the stanza A group of lines in a file that together
backup-archive client will back up or have a common function or define a part
archive the file on its last try. See also of the system. Stanzas are usually
dynamic serialization, serialization, shared separated by blank lines or colons, and
static serialization, static serialization. each stanza has a name.
shared library startup window
A library device that is used by multiple A time period during which a schedule
storage manager servers. See also library. must be initiated.
shared static serialization static serialization
A copy-group serialization value that A copy-group serialization value that
specifies that a file must not be modified specifies that a file must not be modified
during a backup or archive operation. The during a backup or archive operation. If
client attempts to retry the operation a the file is in use during the first attempt,
number of times. If the file is in use the backup-archive client cannot back up
during each attempt, the file is not backed or archive the file. See also dynamic
up or archived. See also dynamic serialization, serialization, shared dynamic
serialization, serialization, shared dynamic serialization, shared static serialization.
serialization, static serialization.
storage agent
snapshot A program that enables the backup and
An image backup type that consists of a restoration of client data directly to and
point-in-time view of a volume. from storage attached to a storage area
network (SAN).
space-managed file
A file that is migrated from a client node storage area network (SAN)
by the hierarchical storage management A dedicated storage network tailored to a
(HSM) client. The HSM client recalls the specific environment, combining servers,
file to the client node on demand. systems, storage products, networking
products, software, and services.
space management
See hierarchical storage management. storage hierarchy
A logical order of primary storage pools,
space monitor daemon
as defined by an administrator. The order
A daemon that checks space usage on all
is typically based on the speed and
file systems for which space management
capacity of the devices that the storage
is active, and automatically starts
pools use. The storage hierarchy is
threshold migration when space usage on
defined by identifying the next storage
a file system equals or exceeds its high
pool in a storage pool definition. See also
threshold.
storage pool.
sparse file
storage pool
A file that is created with a length greater
A named set of storage volumes that is
than the data it contains, leaving empty
the destination that is used to store client
spaces for the future addition of data.
Glossary 1133
tombstone object
T A small subset of attributes of a deleted
tape library object. The tombstone object is retained
A set of equipment and facilities that for a specified period, and at the end of
support an installation's tape the specified period, the tombstone object
environment. The tape library can include is permanently deleted.
tape storage racks, mechanisms for Transmission Control Protocol/Internet Protocol
automatic tape mounting, a set of tape (TCP/IP)
drives, and a set of related tape volumes An industry-standard, nonproprietary set
mounted on those drives. of communication protocols that provides
tape volume prefix reliable end-to-end connections between
The high-level-qualifier of the file name applications over interconnected networks
or the data set name in the standard tape of different types. See also communication
label. method.
target node transparent recall
A client node for which other client nodes The process that is used to automatically
(called agent nodes) have been granted recall a migrated file to a workstation or
proxy authority. The proxy authority file server when the file is accessed. See
allows the agent nodes to perform also selective recall.
operations such as backup and restore on trusted communications agent (TCA)
behalf of the target node, which owns the A program that handles the sign-on
data. password protocol when clients use
TCA See trusted communications agent. password generation.
TCP/IP
See Transmission Control U
Protocol/Internet Protocol.
UCS-2 A 2-byte (16-bit) encoding scheme based
threshold migration on ISO/IEC specification 10646-1. UCS-2
The process of moving files from a local defines three levels of implementation:
file system to server storage based on the Level 1-No combining of encoded
high and low thresholds that are defined elements allowed; Level 2-Combining of
for the file system. See also automatic encoded elements is allowed only for
migration, demand migration, migration Thai, Indic, Hebrew, and Arabic; Level
job, selective migration. 3-Any combination of encoded elements
are allowed.
throughput
In storage management, the total bytes in UNC See Universal Naming Convention.
the workload, excluding overhead, that
Unicode
are backed up or restored, divided by
A character encoding standard that
elapsed time.
supports the interchange, processing, and
timeout display of text that is written in the
A time interval that is allotted for an common languages around the world,
event to occur or complete before plus many classical and historical texts.
operation is interrupted.
Unicode-enabled file space
Tivoli Storage Manager command script Unicode file space names provide support
A sequence of Tivoli Storage Manager for multilingual workstations without
administrative commands that are stored regard for the current locale.
in the database of the Tivoli Storage
Universally Unique Identifier (UUID)
Manager server. The script can run from
The 128-bit numeric identifier that is used
any interface to the server. The script can
to ensure that two components do not
include substitution for command
have the same identifier. See also Globally
parameters and conditional logic. See also
Unique Identifier.
macro file, script.
Glossary 1135
VSS Restore
A function that uses a Microsoft Volume
Shadow Copy Service (VSS) software
provider to restore VSS Backups (IBM
Data Protection for Microsoft Exchange
database files and log files) that reside on
Tivoli Storage Manager server storage to
their original location.
W
wildcard character
A special character such as an asterisk (*)
or a question mark (?) that can be used to
represent one or more characters. Any
character or set of characters can replace
the wildcard character.
workload partition (WPAR)
A partition within a single operating
system instance.
workstation
A terminal or personal computer at which
a user can run applications and that is
usually connected to a mainframe or a
network.
worldwide name (WWN)
A 64-bit, unsigned name identifier that is
unique.
WPAR See workload partition.
WWN See worldwide name.
Index 1139
archive (continued) Automated Cartridge System Library Software (ACSLS)
directory 555 StorageTek library (continued)
increasing throughput using DSMMAXSG utility 126 mixing 3592 drive generations 183
instant 9, 13 Tivoli Storage Manager server options for 62
package 555 automated library device
policy, defining 497 adding, using commands 91
policy, introduction 24 auditing 137
process description 495 checking in media 130
storage usage, minimizing 555, 556 defining 38
storage usage, reducing 555, 556 managing media 135
uses for 8, 12 overflow location 245
archive copy group replacing tape drive 159
defining 508, 510 reusing media 141
deleting 532 scratch and private volumes 46
description of 482 updating 151
archive data volume inventory 47, 128
expiration 514 automatic deployment 434
managing 554 verifying 438
protection 514 automatic failover
archive failover log 877 overview 920
description 649 automatic failover scenario 968
move to another directory 681 automatically renaming file spaces 456
archive log 877 automating
description 648 administrative commands 27
move to another directory 681 client operations 560
space requirements 656 server operations 620
archiving awk script 1048
file 481, 495
file management 481
FILE-type volume, archiving many small objects to 188
ASCII restriction for browser script definition 627
B
background processes 609
ASSIGN DEFMGMTCLASS command 510
backup
association, client with schedule
amount of space used by client 399
defining 562
comparison of types 10, 13
deleting 573
default policy 477
association, file with management class 489, 490
defining criteria for client files 497
association, object with profile
differential, for NAS node 10, 51
administrative command schedule 711
file 480, 492, 494
administrator 707, 723
file management 480
client option set 708
file while open 502
deleting 712
FILE-type volume, backing up small objects to 188
policy domain 709
frequency for file 503
script 708
full, for NAS node 51
AUDIT LIBRARY command 137
group 12
AUDIT LICENSE command 597
increasing throughput using DSMMAXSG utility 126
AUDIT VOLUME command 887, 894
incremental 480, 492
auditing
logical volume 495
LDAP directory server 914
NAS file server 213
library's volume inventory 137
NAS file server to Tivoli Storage Manager server 232
license, automatic by server 597
NAS filer to Tivoli Storage Manager server 231
multiple volumes in sequential access storage pool 894
policy 24
single volume in sequential access storage pool 895
selective 480, 494
volume in disk storage pool 894
SnapMirror to Tape 237
volume, reasons for 887
snapshot, using hardware 9, 11
volumes by date 895
subfiles, server set-up 23, 552
volumes by storage pool 896
types available 10, 13
authority
BACKUP command 680
client access 447
backup copy group
granting to administrators 845
defining 502, 507
privilege classes 845
deleting 532
server options 845
description of 482
AUTOFSRENAME parameter 456
frequency 492
AUTOLABEL parameter for tape volumes 129
mode 492
Automated Cartridge System Library Software (ACSLS)
serialization 492
StorageTek library
backup data, protecting active 241
configuring 109
BACKUP DEVCONFIG command 879
description 39
Index 1141
class, device (continued) client node (continued)
requesting information about 198 importing 767
selecting for import and export 754 locking 440
sequential 179 managing registration 420, 431, 595
SERVER 177, 179, 734 options file 425
StorageTek devices 179, 195 performing operations for 535, 569, 576
tape 179, 186 privilege class for scheduling operations for 561
Ultrium, LTO 179 proxy node relationships 441
updating 179, 186 querying 443
VOLSAFE 195 reducing archive packages for 556
WORM 177, 179 registering 424
class, policy privilege removing 440
description 844, 845 renaming 439
granting 849 scheduling operations for 560
revoking 849, 850 setting password authentication 865
class, storage privilege setting scheduling mode 578
description 845 setting up subfile backups 553
granting 849 target 442
reducing 849 unlocking 440
revoking 850 updating 434
CLEAN DRIVE command 164 viewing information about 443
cleaner cartridge client nodes
checking in 166 defining 451
operations with 167 file spaces 451
CLI 587 managing 22, 431
client managing across a firewall 432
access user ID 447 prevent from accessing server 744
administrative 3 client option
API (application program interface) 424 TXNBYTELIMIT 263
API (application programming interface) 4 VIRTUALMOUNTPOINT 451
application client 4, 523 client option set
backup-archive 3 adding client options to 465
how to protect 8 assigning clients to 466
operations summary 10 copying 467
options file 425 creating 465
restore without primary volumes available 913 deleting 467
Tivoli Storage Manager for Space Management (HSM deleting an option from 467
client) 4, 486 for NAS node 213
using to back up NAS file server 213, 230 requesting information about 467
client file updating description for 467
allowing archive while changing 477 client options
allowing backup while changing 477, 502 UNIX and Linux 426
archive package 555 client options file
associating with management class 489, 490 create 426
damaged 913 update 426
delaying migration of 278 client point-in-time restore, enabling 527
deleting 414 client queries to the server, setting the frequency 581
deleting from a storage pool 413 client restartable restore session
deleting from cache 284 canceling 472
deleting when deleting a volume 414 interrupting, active 473
duplication when restoring 913 requesting information about 472
eligible for archive 477, 492 client schedule
eligible for backup 477, 492 define 561
eligible for expiration 479 client session
eligible for space management 496 canceling 469
how IBM Tivoli Storage Manager stores 262 DSMC loop 467
on a volume, querying 388 held volume 467
server migration of 271 managing 467
client migration 496 querying 468, 790
client node viewing information about 468, 790
adding 419 client system options file 424
agent 442 client-polling scheduling 577, 581
amount of space used 397 client, application
creating backup sets for 544 adding node for 420
file spaces, QUERY OCCUPANCY command 397 description 4
finding tapes used by 391 policy for 523
immediate processing 583 client/server, description of 3
Index 1143
commands, administrative (continued) commands, administrative (continued)
EXPIRE INVENTORY 27 REGISTER ADMIN 847
EXPORT ADMIN 741 REGISTER LICENSE 596
EXPORT NODE 755 REMOVE ADMIN 851
EXPORT POLICY 755 REMOVE NODE 440
EXPORT SERVER 755 RENAME ADMIN 850
EXTEND DBSPACE 672, 676 RENAME FILESPACE 769
GENERATE BACKUPSET 544 RENAME NODE 439
GRANT AUTHORITY 845 RENAME SCRIPT 636
HALT 607 RENAME SERVERGROUP 730
HELP 616 RENAME STGPOOL 409
IMPORT 770, 771 REPLY 144
IMPORT ADMIN 758 RESTORE DB 608
IMPORT NODE 758, 767 RESTORE NODE 228, 230
IMPORT POLICY 758 RESTORE STGPOOL 916
IMPORT SERVER 758, 767 ROLLBACK 641
LOCK ADMIN 852 RUN 636
LOCK NODE 440 SELECT 794
LOCK PROFILE 711, 712 SET ACCOUNTING 803
MACRO 138 SET AUTHENTICATION 865
MOVE DATA 401 SET CLIENTACTDURATION 583
MOVE MEDIA 138 SET CONFIGMANAGER 703, 706
MOVE NODEDATA 406 SET CONFIGREFRESH 719
NOTIFY SUBSCRIBERS 712 SET CONTEXTMESSAGING 808
PING SERVER 732 SET CROSSDEFINE 695, 698
PREPARE 1018 SET DBREPORTMODE 671
QUERY ACTLOG 800 SET DRMCHECKLABEL 1009
QUERY BACKUPSETCONTENTS 551 SET DRMCOPYSTGPOOL 1006
QUERY CONTENT 388 SET DRMCOURIERNAME 1009
QUERY COPYGROUP 529, 765 SET DRMDBBACKUPRXPIREDAYS 1009
QUERY DB 671 SET DRMFILEPROCESS 1009
QUERY DBSPACE 671 SET DRMINSTPREFIX 1006
QUERY DEVCLASS 198 SET DRMNOTMOUNTABLE 1009
QUERY DOMAIN 531 SET DRMPLANPOSTFIX 1006
QUERY DRIVE 152 SET DRMPLANPREFIX 1006
QUERY DRMSTATUS 1006 SET DRMPRIMSTGPOOL 1006
QUERY ENABLED 822 SET DRMRPFEXPIREDAYS 1022
QUERY EVENT 563 SET DRMVAULTNAME 1009
QUERY FILESPACE 462 SET EVENTRETENTION 575, 626
QUERY LIBRARY 150 SET INVALIDPWLIMIT 863
QUERY LICENSE 597 SET LICENSEAUDITPERIOD 597
QUERY MEDIA 138 SET MAXCMDRETRIES 582
QUERY MGMTCLASS 530 SET MAXSCHEDSESSIONS 579
QUERY MOUNT 144 SET MINPWLENGTH 864
QUERY NODE 443 SET PASSEXP 860
QUERY NODEDATA 398 SET QUERYSCHEDPERIOD 581
QUERY OCCUPANCY SET RANDOMIZE 580
backed-up, archived, and space-managed files 399 SET REGISTRATION 421
client file spaces 397 SET RETRYPERIOD 582
client nodes 397 SET SCHEDMODES 577
device classes 398 SET SERVERHLADDRESS 695, 698
storage pools 398 SET SERVERLLADDRESS 695, 698
QUERY OPTION 792 SET SERVERNAME 694, 698, 792
QUERY POLICYSET 530 SET SERVERPASSWORD 694, 695, 698
QUERY PROCESS 404 SET SUBFILE 552
QUERY REQUEST 144 SET SUMMARYRETENTION 798
QUERY RESTORE 472 SETOPT 615
QUERY RPFCONTENT 1022 UNLOCK PROFILE 711, 712
QUERY RPFILE 1022 UPDATE ADMIN 847
QUERY SCHEDULE 563 UPDATE ARCHIVE 556
QUERY SCRIPT 635 UPDATE BACKUPSET 550
QUERY SERVERGROUP 730 UPDATE CLIENTOPT 467
QUERY STGPOOL 382, 392, 761 UPDATE CLOPTSET 467
QUERY SUBSCRIPTION 719 UPDATE COPYGROUP 502, 508
QUERY SYSTEM 793 UPDATE DEVCLASS 179
QUERY VOLUME 384, 405 UPDATE DOMAIN 500
RECONCILE VOLUMES 739 UPDATE DRIVE 153
Index 1145
data deduplication (continued) data shredding (continued)
checklist for configuration 293 EXPIRE INVENTORY command 541
client-side 314 EXPORT NODE command 541, 742
changing location 316 EXPORT SERVER command 541, 742
client and server settings 285, 310 GENERATE BACKUPSET command 541, 543
multiple nodes 315 MOVE DATA command 402, 541
overview 286 setting up 540
single node 315 UPDATE STGPOOL command 541
controlling duplicate-identification manually 312 data storage
data deduplication 295, 296, 297, 298, 299, 300, 301, 324, active-data pools 241
325, 326, 327, 328, 329, 330 client files, process for storing 5
DEDUPLICATION parameter 310 concepts overview 15
DEDUPREQUIRESBACKUP server option 307 considering user needs for recovering 59
definition 285 deleting files from 414
detecting security attacks 302 evaluating 60
duplicate-identification processes 306, 311, 313, 314 example 243
IDENTIFY DUPLICATES command 312 managing 18
limitations 288 monitoring 887
managing 306 planning 60
memory xx server options affecting 62
moving or copying data 308 tailoring definitions 765
node replication 931, 987 using another IBM Tivoli Storage Manager server 732
options for 318 using devices not recognized by IBM Tivoli Storage
planning 291 Manager 88
processing 305 using disk devices 63
protecting data 307 using removable media devices 89
reclamation 307 using the storage hierarchy 270
requirements 293 data validation
server-side 285, 286, 310 during a client session 535
specifying the size of objects to be deduplicated 316 for storage pool volumes 890
statistics for virtual volumes 732
displaying information about files with links to a performance considerations for nodes 536
volume 319 performance considerations for storage pools 893
querying a duplicate-identification process 319, 320, database
321, 323 adding directories 674
querying a storage pool 318 audits 644
testing backup 870, 871, 875, 876
restore operations 303 buffer size 644
space savings 304 description of 643
Tivoli Storage Manager for Virtual Environments 326 increasing the size 672, 676
turning off 309 log files, alternative locations 682
virtual volumes, server-to-server managing 643
data deduplication 308 monitoring 671
data format move to another directory 680
NATIVE 238 moving 608
data format for storage pool 206, 209, 238 protecting 898
definition 245 relocating on a server 679
operation restrictions 249 reorganization, table and index
data movement, querying 404 archive log, space requirements 668
data mover index 678
defining 175, 224 overview 676
description 45 restrictions 677
managing 208 table 678
NAS file server 45 restoring 900, 903, 905
data protection with WORM media 133 most current state 875, 901, 903
data retention protection 514 point in time 875, 901
data retention using Centera setting user data limit 650
overview 42 SQL queries 644
unsupported functions 249 statistics collection 644
data shredding transactions 643, 685
BACKUP STGPOOL command 541 database backup 872
COPY ACTIVEDATA command 541 database backup and recovery
DEFINE STGPOOL command 541 general strategy 732
DELETE FILESPACE, command 541 methods 732
DELETE VOLUME, command 541 providing 732
description 539 database manager 654, 655
enforcing 541 database space 654
Index 1147
device class (continued) disaster recovery (continued)
updating 179, 186 providing 732
VOLSAFE 195 server
WORM 177, 179 disaster recovery 1034
device classes server recovery 1034
database backups 871 disaster recovery manager
device configuration file 879, 906 awk script 1048
unrecognized by IBM Tivoli Storage Manager 88 client recovery information 1005
device diagnostics 123 creating a disaster recovery plan 1018
device driver customizing 1006
for manual tape devices 74 displaying a disaster recovery plan 1022
IBM Tivoli Storage Manager, installing 74 expiring a disaster recovery plan 1022
installing 73 features 1005
overview 79 moving volumes back on-site 1028
requirements 73 project plan, checklist 1043
Windows 81 querying a disaster recovery plan 1022
device sharing 60 recovery media 1017
device special file names 76 saving machine characteristics 1013
device support 15 stanzas, recovery instructions 1011
device type storing a disaster recovery plan 1018
3590 179 disaster, protecting against 30
4MM 177, 179 disk device class, defined 177
8MM 177, 179 disk devices
CENTERA 42 random access 65
DISK 177 sequential access 65
DLT 177, 179 disk space
ECARTRIDGE 179 for the database and recovery log 650
FILE 177 freeing 71
GENERICTAPE 177, 179 disk storage
LTO 179, 191 and file-system requirements 63
multiple in a single library 52 random access (DISK) 40
REMOVABLEFILE 177 sequential access (FILE) 41
SERVER 177, 179, 734, 736 disk storage pool
VOLSAFE 195 cache, use of 284
WORM 177, 179 deleting cached files from 401
device, storage estimating space 380
adding, overview 86 estimating space for archived files 381
alias 75 estimating space for backed up files 380
automated library device 97 migration threshold 273
device information 123 setting up 63
device name 75 disk subsystems
disk 63 requirements 63
removable media device 89, 186 disk support 63
replacing tape drive 159 disk systems support 63
required IBM Tivoli Storage Manager definitions 58 dismounting
supported devices 36 idle volumes 145
devices volumes from REMOVABLEFILE devices 146
defining 173 display information 444
diagnosing ANR9999D messages 808 specific client node 444
diagnostics, for device 123 DISPLAY OBJNAME command 452
differential backup distribute workloads
compared to incremental 13 to reduce backup and restore time 441
of image, description 10, 51 DLT WORM media 133
direct-to-tape, policy for 522 domain, policy
directories active-data pools, specifying 498
deleting from archive packages 556 assigning client node 512
directory-level backup 235 changing 478
preventing archive of 557 creating 500
storage usage for archive packages 555 deleting 532
disability 1109 description of 482
DISABLE EVENTS command 808 distributing via profile 528, 705
DISABLE SESSIONS command 471 for NAS file server node 212
disaster recovery querying 531
auditing storage pool volumes 897 updating 496, 498
general strategy 732 drive
methods 31, 732 cleaning 164
node replication as a method for 988 defining 174
Index 1149
exporting file, client
administrator data 755 allowing archive while changing 477
client node data 756 allowing backup while changing 477, 502
data to tape 755 archive package 555
description of 741 associating with management class 489, 490
policy data 757 damaged 913
server data 757 delaying migration of 278
subfiles 554 deleting 414
EXPQUIET server option 513 deleting from a storage pool 413
EXTEND DBSPACE command 672, 676 deleting from cache 284
EXTERNAL library type 1090 deleting when deleting a volume 414
external media management duplication when restoring 913
IBM Tivoli Storage Manager setup 149 eligible for archive 477, 492
initialization requests 1090 eligible for backup 477, 492
interface description 1085 eligible for expiration 479
overview 148 eligible for space management 496
processing during server initialization 1086 how IBM Tivoli Storage Manager stores 262
volume dismount requests 1095 on a volume, querying 388
volume mount requests 1092 server migration of 271
volume release requests 1091 files, damaged 896, 897, 913
files, unreadable 896, 897
firewall, client nodes
F client-initiated sessions 432
server-initiated sessions 433
failover 968
fixes, obtaining 1106
failover cluster 998
format for storage pool 206, 209
installing Tivoli Storage Manager 1000
definition 245
fiber tape failover 995
operation restrictions 249
file data, importing 741
formatting
file deletion option
event classes 812
setting 425
storage pool volume 69, 255
FILE device type
frequency of backup 503
active-data pools 241
FSID 462
backing up or archiving many small objects 188
full image backup, NAS node 51
benefits 41
concurrent access to FILE volumes 41
defining device class 177
deleting scratch volumes 615 G
free space in directories 400 GENERATE BACKUPSET command 544
setting up storage pool 70 GENERICTAPE device type 186
file exit 807 Global Security Kit (GSKit) 833
logging events to 810 glossary 1115
file path name 452 GRANT AUTHORITY command 845
file retrieval date 285 group backup, on the client 12
file server, network-attached storage (NAS) group, server
backup methods 213 copying 730
registering a NAS node for 223 defining 729
using NDMP operations 50, 203 deleting 731
file size, determining maximum for storage pool 245 member, deleting 731
file space moving a member 731
deleting, effect on reclamation 368 querying 730
deleting, overview 463 renaming 730
description of 451 updating description 730
merging on import 745, 759
names that do not display correctly 462
QUERY OCCUPANCY command 397
querying 451
H
HALT command 607
renaming 769
halting the server 607
Unicode enabled 462
hardware scans
viewing information about 451
VMware environment 450, 603
file space identifier (FSID) 462
held volume in a client session 467
file spaces
help 587
defining 451
HELP command 616
file-level restore
hierarchy, storage 19
managing 234
copying active backup data 241
planning 233
defining in reverse order 249, 261
file-system requirements for disk storage 63
establishing 260
Index 1151
LDAP-authenticated password (continued) logical volume on client (continued)
transport layer security 839 management class for 489
update node or admin 859 policy for 492, 523
libraries process for backup 495
defining 92 restore 481
NDMP operations 217 logical volume, raw 21
virtual tape library 116 loop session, DSMC 467
library low migration thresholds 277
ACSLS (Automated Cartridge System Library LTO Ultrium devices and media
Software) 39, 109 device class, defining and updating 191
attaching for NAS file server backup 219 encryption 154, 193, 536
auditing volume inventory 137 WORM 133, 195
automated 135 LUN
categories for volumes in IBM 3494 38, 96 using in paths 176, 177
configuration example 97
configure for more than one device type 52
defining 152, 173
defining path for 176
M
machine characteristics 1013
deleting 152
machine recovery information 1014
detecting changes to, on a SAN 125, 174
macro
external 39
commit individual commands 640
IBM 3494 38, 96
continuation characters 638
managing 150
controlling command processing 640
manual 37
running 640
mixing device types 52, 183, 191
scheduling on client 564
mode, random or sequential 74
substitution variables 639
overflow location 245
testing 641
querying 150
using 637
SCSI 38
writing commands 637
serial number 174
writing comments 638
sharing among servers 102, 119
MACRO administrative command, using 428
type 47
magnetic disk devices 40, 63
updating 151
maintenance plan
volume inventory 47, 128
modify 629
VTL 38
maintenance script
library client, shared library 48, 103, 114, 121, 905, 916
create 628
library drive usage
custom 628
determining 215
modify 27
library manager, shared library 48, 103, 113, 119, 903, 915
managed server
library sharing 54
changing the configuration manager 718, 724
license
communication setup 692
compliance 597
deleting a subscription 720
features 596
description 688
monitoring 597
managed objects 688, 717
registering 596
refreshing configuration information 721
using 595
renaming 725
limitation for script definition on administrative Web
returning managed objects to local control 722
interface 627
setting up 705
LL ADDRESS 433
subscribing to a profile 705, 717, 718, 719
Local System account 604
management class
location, volume
assigning a default 510
changing 257
associating a file with 489
overflow for storage pool 245
binding a file to 489
querying volume 387
configuration 486
LOCK ADMIN command 852
controlling user access 486
LOCK NODE command 440
copying 496, 501
LOCK PROFILE command 711, 712
default 487
log mirror 647, 678
define new 527
logical block protection
defining 501
enabling 156
deleting 532
overview 155
description of 482, 486
read/write operations 158
querying 530
storage pool management 159
rebinding a file 491
supported drives 156
updating 490, 496, 501
logical devices 70
managingserver operation 26
logical volume on client
manual drive
backup 480
attaching 73
Index 1153
NAS file server, NDMP operations (continued) network-attached storage (NAS) file server
registering a NAS node 223, 423 backup methods 213
requirements for set up 203 registering a NAS node for 223
restoring a NAS file server 230 using NDMP operations 50, 203
scheduling a backup 228 new tape drive 159
storage pools for NDMP operations 217 next storage pool
NAS node definition 261
defining 223 deleting 414
deleting 208 migration to 271, 392
registering 223 node
renaming 207 registering 448, 478
NAS nodes 238 node privilege class
NATIVE data format 206 description of 446
NDMP granting 447
operations 206 node replication 945, 978
NDMP backup data 238 configuration
NDMP operations 238 effectiveness, measuring 986
NDMP operations for Celerra data movers 238 removing 989
NDMP operations for NAS file servers setting up the default 948, 950
backing up a NAS file server 230 source and target replication servers 921
backing up a NAS file server to native pools 231, 232 validating 970
configuration checklist 211 database requirements 940
data format 206 database restore, replicating after 983
data mover, description 45, 175 deduplicated data 931, 987
defining a data mover 175, 224 disabling and enabling
defining a storage pool 217 rules 982
defining paths to drives disabling and enabling replication
drives attached only to file server 225 all client nodes 980, 981
drives attached to file server and Tivoli Storage data types in file spaces 978
Manager server 224 individual client nodes 979
obtaining names for devices attached to file server 226 disaster recovery
defining paths to libraries 227 recovering data from the target 988
differential image backup, description 51 store operations on the target replication server 989
full image backup, description 51 file spaces
interfaces used with 205 data types, disabling and enabling 978
managing NAS nodes 207 purging data in 983
path, description 45, 176 querying replication results 985
planning 215 rules, changing 952
policy configuration 212, 524 import-and-export operations
prevent closing of inactive connections converting from 961
enabling TCP keepalive 211 restriction 933
overview 210 migration by HSM for Windows client 933
specifying connection idle time 211 mode, replication 930
registering a NAS node 223, 423 nodes
requirements for set up 203 adding for replication 962
restoring a NAS file server 230 all client nodes, disabling and enabling replication 980,
scheduling a backup 228 981
storage pools for NDMP operations 217 attributes updated during replication 932
NetApp file server individual client nodes, disabling and enabling
data format for backup 206 replication 979
international characters 234 removing from replication 963
NETAPPDUMP data format 206, 217 resetting the replication mode 964
NetView 807 overview 919
Network Appliance file server planning 939
backup methods 213 policy management 922
requirements 203 previewing results 970
storage pool for backup 249 process information
tape device for backup 203 activity log 986
using NDMP operations 50, 203 file spaces 985
network attached storage record retention 988
virtual file spaces 228 summary records 986
network bandwidth 941 records
network of IBM Tivoli Storage Manager servers 29 displaying 985
network of Tivoli Storage Manager servers 687 retaining 988
network-attached nodes replicating
comparing to local nodes 427 canceling processes 985
data by file space 972
Index 1155
option, server (continued) performance (continued)
COMMTIMEOUTcommunication timeout 468, 470 volume frequently used, improve with longer mount
DRIVEACQUIRERETRY 62 retention 182
EXPINTERVAL 513 period, specifying for an incremental backup 579
EXPQUIET 513 plan
IDLETIMEOUTidle timeout 468, 470, 790 Disaster Recovery Manager 1076
NOPREEMPT 62, 611 DRM 1076
NORETRIEVEDATEfile retrieval date 285 planning, capacity
overview 27 database space requirements
QUERYAUTH 845 estimates based on number of files 652
REQSYSAUTHOUTFILE 845 estimates based storage pool capacity 654
RESOURCETIMEOUT 62 starting size 652
RESTOREINTERVALrestore interval 471, 479, 513 recovery log space requirements
SEARCHMPQUEUE 62 active and archive logs 656
THROUGHPUTDATATHRESHOLD 470 active log mirror 668
THROUGHPUTTIMETHRESHOLD 470 archive failover log 669
TXNGROUPMAXmaximum transaction group size 262 archive log space for database reorganization 668
options file, client 425 point-in-time restore
options, querying enable for clients 9, 527
VIRTUALMOUNTPOINT client option 452 policy
overflow location 245 default 5, 477
overview deleting 531
Operations Center xvii description of 482
overviewOperations Center 587 distributing with enterprise management 528
owner authority, client 446, 448 effect of changing 510, 511
for application clients 523
for clients using SAN devices 525
P for direct-to-tape backup 522
for logical volume backups 523
PARALLEL command 630
for NAS file server node 212
Passport Advantage 1107
for point-in-time restore 527
password
for server as client 527
changing the key database 836, 837
for space management 477, 496, 501
LDAP-authenticated policy 856
importing 763
resetting an administrative 850
managing 475
setting authentication for a client 865
operations controlled by 480
setting expiration 860
planning 476
setting invalid limit 863
querying 529
setting minimum length 864
policy domain
update for scheduling operations 426
active-data pools, specifying 498
using with unified logon 865
assigning client node 512
path
changing 478
defining 176
creating 500
description 45, 215
define 526
paths
deleting 532
defining 173
description of 482
pending, volume state 387
distributing via profile 528, 705
per product ID (PID) 601
for NAS file server node 212
PERFORM LIBACTION 118
querying 531
performance
updating 496, 498
cache, considerations for using 71, 284
policy privilege class
clients, optimizing restore 241
description 844, 845
concurrent client/server operation considerations 579
granting 849
data protection, increasing with simultaneous-write
revoking 849, 850
function 331
policy set
data validation for nodes 536
activating 511
data validation for storage pools 893
changing, via the active policy set 478
file system effects on 69, 255
copying 478, 496, 500
random-access disk (DISK) 63
defining 500
FILE-type volumes, backing up many small objects to 188
deleting 532
fragmentation, private FILE volumes for reducing disk 41
description of 482
migration, multiple concurrent processes 245, 282
querying 530
mobile client 552
updating 500
reclamation, multiple concurrent processes
validating 510, 512
copy storage pools 375
pool, storage
primary sequential access storage pools 245, 371
3592, special considerations for 183
storage pool backup, reducing time required for 331
active-data pool 241
storage pool volume 279
Index 1157
QUERY DB command 671 reclamation (continued)
QUERY DBSPACE command 671 setting a threshold for sequential storage pool 245, 367,
QUERY DEVCLASS command 754 411
QUERY DIRSPACE 400 starting reclamation manually 371
QUERY DOMAIN command 531 storage pool for 245
QUERY DRMSTATUS command 1006 virtual volumes 374
QUERY ENABLED command 822 with single drive 372
QUERY EVENT command 573, 625 RECONCILE VOLUMES command 739
QUERY FILESPACE command 451 reconstructing aggregates 368, 375, 405
QUERY LICENSE command 597 recovery instructions file 1057
QUERY MEDIA command 138 recovery log 643, 647
QUERY MGMTCLASS command 530 active log 646, 647, 649
QUERY NODE command 443 active log mirror 648
QUERY OCCUPANCY command 397, 398, 399 alternative file locations
QUERY OPTION command 792 overview 682
QUERY POLICYSET command 530 specifying with ARCHFAILOVERLOGDIRECTORY
QUERY PROCESS command 610, 770, 791 option or parameter 683
identification numbers of migration processes 393 specifying with ARCHLOGDIRECTORY
information about data movement process 404 parameter 683
QUERY PVUESTIMATE 601 specifying with RECOVERYDIR parameter 684
QUERY RESTORE command 472 archive failover log 646, 649
QUERY RPFCONTENT command 1022 archive log 646, 648, 649
QUERY RPFILE command 1022 description of 28, 643
QUERY SCHEDULE command 563 increasing the size 678
QUERY SCRIPT command 635 log mirror 646, 648, 649
QUERY SERVERGROUP command 730 managing 643
QUERY SESSION command 468, 790 monitoring 671
QUERY SHREDSTATUS command 540 out of space 678
QUERY STATUS command 792 recovery logs
QUERY STGPOOL command 382, 392, 395 move to another directory 680
QUERY SUBSCRIPTION command 719 relocating on a server 679
QUERY SYSTEM command 793 recovery plan file
QUERY VOLHISTORY command 615 break out stanzas 1048
QUERY VOLUME command 384, 385, 405 using VBScript procedure 1048
QUERYAUTH server option 845 creating 1018
example 1054
prefix 1006
R stanzas 1051
recovery, disaster
random mode for libraries 74
auditing storage pool volumes 897
randomize, description of 580
general strategy 732
raw logical volume 21
media 1017
read-only access mode 259
methods 732
read/write access mode 259
providing 732
rebinding
redistributing data for database directories 674
description of 491
REGISTER ADMIN command 847
file to a management class 491
REGISTER LICENSE command 596
recalling a file
REGISTER NODE command 448
selective 482
registering
transparent 482
client option sets 423
receiver 807
workstation 424
RECLAIM STGPOOL command 371
registration
reclaiming storage space 674
description of 421
reclamation 377
licensing for a client node 595
active-data pools 374
licensing for an administrator 595
aggregate reconstruction 368
managing client node 420, 431
controlling duration 371
setting for a client node 421
delayed start of process 368
source server 424
delaying reuse of volumes 378, 887
relationships
description of 20
among clients, storage, and policy 484
effects of collocation 378
remote access to clients 445
effects of DELETE FILESPACE 368
removable file system device
multiple concurrent processes
example of setting up 89
copy storage pools 375
REMOVABLEFILE device type, defining and
primary sequential access storage pools 245, 371
updating 186
off-site volume
support for 89, 186
controlling when reclamation occurs 376
removable media 40
Index 1159
scheduled operations, setting the maximum 579 security (continued)
scheduler workload, controlling 579 data encryption (continued)
scheduling Oracle StorageTek T10000B 154, 536
administrative commands 27 Oracle StorageTek T10000C 154, 536
scheduling mode data encryption, 3592 Generation 2 and later 154
client-polling 577 features, overview 23
overview of 577 for the server 831
selecting 577 locking and unlocking administrators 852
server-prompted 577 locking and unlocking nodes 440
setting on a client node 578 managing access 831, 844
setting on the server 577 password expiration for nodes 860
scratch category, 349X library 38, 96 privilege class authority for administrators 845
scratch volume Secure Sockets Layer (SSL) for node replication 968, 969
deleting 254, 615 server options 845
description 46 security, replicating node data 919
FILE volumes 72 SELECT command 794
number allowed in a storage pool 245, 410 customizing queries 796
using in storage pools 257 selective backup 480, 494
script selective recall 482
maintenance 629 sending commands to servers 726
script, scheduling on client 564 sequence number 465, 467
script, server sequential mode for libraries 74
continuation characters 631 sequential storage pool
copying 634 auditing a single volume in 895
defining 627 auditing multiple volumes in 894
deleting 636 collocation 364
EXIT statement 632 criteria for migrating 281
GOTO statement 633 estimating space 381
IF clause 632 migration threshold 279
querying 635 reclamation 367
renaming 636 SERIAL command 630
routing commands in 727 serial number
running 636 automatic detection by the server 125, 174, 177
running commands in parallel 630 for a drive 175
running commands serially 630 for a library 174, 177
substitution variables 631 serialization parameter 477, 502, 508
updating 633, 634 server
used with SNMP 815 backing up subfiles on 552
Web browser, restricted to ASCII entry 627 canceling process 610
scripts 797 changing the date and time 609
SCSI deleting 700
automatic labeling of volumes 129 description of 3
library with different tape technologies 183 disabling access 471
SCSI library disaster recovery 31
connect to NAS file server 220 enabling access 471
connecting to the server 220 halting 607
SCSI tape library importing subfiles from 554
setting up for NDMP operations 217 instances
SEARCHMPQUEUE server option 62 multiple on single system 606
secure sockets layer 838 owner ID 606
configuration 838 maintaining, overview 17
Secure Sockets Layer 832 managing multiple 29
Secure Sockets Layer (SSL) managing operations 595
certificate managing processes 609
adding CA-signed 837 messages 808
adding to key database 836 monitoring 689
communication using 831 multiple instances 606
digital certificate file protection 881 network of IBM Tivoli Storage Manager 29
Global Security Kit 833 network of Tivoli Storage Manager servers 687
security options
client access, controlling 447 adding or updating 615
data encryption prefix 727
3592 generation 2 536 protecting 31
3592 Generation 2 185 querying about processes 610, 791
3592 generation 3 536 querying options 792
ECARTRIDGE 196, 197 querying status 792
IBM LTO Generation 4 154, 193, 536 running multiple servers 606
Index 1161
SET DRMPLANPREFIX command 1006 SnapMirror to Tape 237
SET DRMPRIMSTGPOOL command 1006 snapshot, using in backup 9, 11, 876
SET DRMRPFEXPIREDAYS 1022 using in directory-level backups 236
SET DRMVAULTNAME command 1009 SNMP
SET EVENTRETENTION command 575, 626 agent 815
SET INVALIDPWLIMIT command 863 communications 815
SET LICENSEAUDITPERIOD command 597 configuring 818
SET MAXCMDRETRIES command 582 enabled as a receiver 807, 815
SET MAXSCHEDSESSIONS command 579 heartbeat monitor 807, 815
SET PASSEXP command 860 manager 815
SET QUERYSCHEDPERIOD command 581 subagent 815
SET RANDOMIZE command 580 software support
SET REGISTRATION command 421 describing problem for IBM Software Support 1107
SET RETRYPERIOD command 582 determining business impact for IBM Software
SET SCHEDMODES command 577 Support 1107
SET SERVERHLADDRESS command 695, 698 submitting a problem 1108
SET SERVERLLADDRESS command 695, 698 Software Support
SET SERVERNAME command 613, 694, 695, 698 contacting 1106
SET SERVERPASSWORD 694, 695, 698 Sony WORM media (AIT50 and AIT100) 133
SET SUBFILE 552 source server 734
SET SUMMARYRETENTION 798 space
set up storage agent 838 directories associated with FILE-type device classes 400
SETOPT command 615 space requirements 940
setting space-managed file 481
clients to use subfile backup 553 special file names 76
compression 422 spoke servers
library mode 74 removing 591
password 860 restoring to preconfigured state 592
time interval for checking in volumes 183 SQL 794
setting data deduplication options 318 SQL activity summary table 798
settings 587 SQL SELECT * FROM PVUESTIMATE_DETAILS 601
shared access, nodes 442 ssl 832, 838
shared dynamic serialization, description of 502, 508 configuration 838
shared file system 70 SSL (Secure Sockets Layer)
shared library 102, 119 certificate
shared static serialization, description of 502, 508 adding CA-signed 837
SHRED DATA command 540 adding to key database 836
shredding communication using 831
BACKUP STGPOOL command 541 digital certificate file protection 881
COPY ACTIVEDATA command 541 SSL communication 832
DEFINE STGPOOL command 541 SSLTCPADMINPORT
DELETE FILESPACE, command 541 server option 835
DELETE VOLUME, command 541 SSLTCPPORT
deleting empty volumes 415 server option 835
deleting volumes with data 415 standard management class, copying 501
description 539 standard storage management policies, using 477
enforcing 541 start time, randomizing for a schedule 580
EXPIRE INVENTORY command 541 startup
EXPORT NODE command 541, 742 server 604
EXPORT SERVER command 541, 742 startup window, description of 580
GENERATE BACKUPSET command 541, 543 static serialization, description of 502, 508
MOVE DATA command 402, 541 status monitoring 587
setting up 540 status of a volume in an automated library 46, 127
UPDATE STGPOOL command 541 stopping the server 607
SHREDDING server option 540 storage agent 49
simultaneous-write operations to primary and copy storage storage area network (SAN)
pools client access to devices 49
drives 353, 354 device changes, detecting 125
inheritance model 339 LAN-free data movement 49
mount points 352 NDMP operations 50, 203
storage pools 355 policy for clients using LAN-free data movement 525
SnapLock sharing a library among servers 47, 102, 119
data protection, ensuring 521 storage agent role 49
event-based retention 520 storage devices 85, 177, 179
reclamation 517 storage hierarchy 19
retention periods 517 copying active backup data 241
WORM FILE volumes, setting up 521 defining in reverse order 249, 261
Index 1163
TCP keepalive type, device
enabling 211 3590 179
overview 210 4MM 177, 179
specifying connection idle time 211 8MM 177, 179
TCP/IP 432 CENTERA 42
connect server to database 646 DISK 177
IPv4 432 DLT 177, 179
IPv6 432 ECARTRIDGE 179
TECUTF8EVENT option 814 FILE 177
temporary disk space 654, 655 GENERICTAPE 177, 179
temporary space 654, 655 LTO 179, 191
test replication 977 multiple in a single library 52
text editor REMOVABLEFILE 177
to work with client 427 SERVER 177, 179, 734, 736
threshold VOLSAFE 195
migration, for storage pool WORM 177, 179
random access 273 typographic conventions xv
sequential access 280
reclamation 245, 367, 411
throughput capability 977
THROUGHPUTDATATHRESHOLD server option 470
U
Ultrium, LTO device type
THROUGHPUTTIMETHRESHOLD server option 470
device class, defining and updating 191
tiered data deduplication 317
encryption 154, 193, 536
tiering 317
WORM 133, 195
time interval, setting for checking in volumes 183
unavailable access mode
timeout
description 259
client session 470
marked with PERMANENT parameter 145
Tivoli Directory Server
uncertain, schedule status 574, 626
configure for TLS 840
Unicode
configure for TLS on the CLI 841
automatically renaming file space 456
Tivoli Enterprise Console 811
client platforms supported 453
setting up as a receiver 814
clients and existing backup sets 462
Tivoli event console 807, 811
deciding which clients need enabled file spaces 454
Tivoli Storage Manager
description of 453
server network 687
displaying Unicode-enabled file spaces 462
Tivoli Storage Manager definitions 789
example of migration process 460
Tivoli Storage Manager device driver 80, 81
file space identifier (FSID) 462
Tivoli Storage Manager for Space Management 501
how clients are affected by migration 459
description 481
how file spaces are automatically renamed 457
files, destination for 501
migrating client file spaces 455
migration of client files
options for automatically renaming file spaces 456
description 481
Unicode versions
eligibility 496
planning for 458
policy for, setting 496, 501
unified logon
premigration 481
enable 866
recall of migrated files 482
unified logon for Windows NT 865
reconciliation between client and server 482
uninstalling 81
selective migration 481
UNIQUETDPTECEVENTS option 812
setting policy for 501
UNIQUETECEVENTS option 812
simultaneous-write function, version support for 333
UNLOCK ADMIN command 852
space-managed file, definition 481
UNLOCK NODE command 440
stub file 481
UNLOCK PROFILE command 711, 712
TLS (Transport Layer Security)
unplanned shutdown 607
specifying communication ports 835
unreadable files 896, 897
TLS communication 832
UPDATE ADMIN command 850
transactions, database 643, 685
UPDATE ARCHIVE command 556
transparent recall 482
UPDATE BACKUPSET command 550
Transport Layer Security (TLS) 833
UPDATE CLIENTOPT command 467
specifying communication ports 835
UPDATE CLOPTSET command 467
troubleshooting
UPDATE COPYGROUP command 502, 508
device configuration 123
UPDATE DEVCLASS command 179
errors in database with external media manager 150
UPDATE DOMAIN command 500
tsmdlst 76
UPDATE LIBVOLUME command 46
tsmdlst utility 76
UPDATE MGMTCLASS command 501
TXNBYTELIMIT client option 263
UPDATE NODE command 434, 460, 465
TXNGROUPMAX server option 262
UPDATE POLICYSET command 500
UPDATE RECOVERYMEDIA command 1017
Index 1165
Windows clustered environment 992
Windows device driver 81
Windows Server 2008 82
Windows unified logon 865
wizard
client configuration 427
cluster configuration 1001
setup 427
workstation, registering 424
WORM devices and media
DLT WORM 133
IBM 3592 133
LTO WORM 133
Oracle StorageTek T10000B drives 134
Oracle StorageTek T10000C drives 134
Quantum LTO3 133
reclamation of optical media 373
Sony AIT50 and AIT100 133
special considerations for WORM media 133
VolSafe
considerations for media 133
defining VOLSAFE device classes 195
WORM FILE and SnapLock 516
WORM parameter 195
WORM scratch category for volumes in 349X library 96
writing data simultaneously to primary and copy storage
pools
use during client storage operations 331
Printed in USA