Chapter 1. Introducing Tivoli Storage Manager: Server Server Program
Chapter 1. Introducing Tivoli Storage Manager: Server Server Program
Tivoli Storage Manager supports separately licensed, optional products. These include: Tivoli Data Protection for applications (application clients) Application clients allow users to perform online backups of data for applications such as database programs. After the application program initiates a backup or restore, the application client acts as the interface to Tivoli Storage Manager. The Tivoli Storage Manager server then applies its storage management functions to the data. The application client can perform its functions while application users are working, with minimal disruption. Tivoli Data Protection for NDMP The Tivoli Data Protection for NDMP product allows you to use Tivoli Storage Manager with the Network Data Management Protocol (NDMP) to back up and restore file systems stored on a network-attached storage (NAS) file server. The data on the NAS file server is backed up to a tape library. See Chapter 6, Setting Up Tivoli Data Protection for NDMP for more information. Tivoli Space Manager Tivoli Space Manager provides space management services for workstations on some platforms. Tivoli Space Manager automatically migrates files that are less frequently used to server storage, freeing space on the workstation. The migrated files are also called spacemanaged files. Users can recall space-managed files automatically simply by accessing them as they normally would from the workstation. Tivoli Space Manager is also known as the hierarchical storage management (HSM) client. For information about supported operating systems for clients, see the Tivoli Storage Manager Web site: http://www.tivoli.com/support/storage_mgr/tivolimain.html 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 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 Tivoli Storage Manager. The sections describe how Tivoli Storage Manager manages client files based on information provided in administratordefined policies, and manages devices and media based on information 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.
Concepts: "How Tivoli Storage Manager Stores Client Data" How the Server Manages Storage Configuring and Maintaining the Server
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. Server storage can include hard disk, optical, 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 The Standard Policy. You can modify this policy and define other policies. Clients use Tivoli Storage Manager to store data for any of the following purposes: Backup and restore The backup process copies data from client workstations to server storage to ensure against loss of data that is regularly changed. The server retains versions of a file according to policy, and replaces older versions of the file with newer versions. Policy includes the number of versions and the retention time for versions. A client can restore the most recent version of a file, or can restore earlier versions. Archive and retrieve The archive process copies data from client workstations to server storage for long-term storage. The process can optionally delete the archived files from the client workstations. The server retains archive copies according to the policy for archive retention time. A client can retrieve an archived copy of a file. Instant archive and rapid recovery Instant archive is the creation of a complete set of backed-up files for a client. The set of files is called a backup set. A backup set is created on the server from the most recently backed-up files that are already stored in server storage for the client. Policy for the backup set consists of the retention time that you choose when you create the backup set. You can copy a backup set onto compatible portable media, which can then be taken directly to the client for rapid recovery without the use of a network and without having to communicate with the Tivoli Storage Manager server. Migration and recall Migration, a function of the Tivoli Space Manager program, frees up client storage space by copying files from workstations to server storage. On the client, the Tivoli Space Manager program replaces the original file with a stub file that points to the original in server storage. Files are recalled to the workstations when needed. This process is also called hierarchical storage management (HSM). Once configured, the process is transparent to the users. Files are migrated and recalled automatically. Policy determines when files are considered for automatic migration. On the UNIX systems that support the Tivoli Space Manager program, policies determine whether files must be backed up to the server before being migrated. Space management is also integrated with backup. If the file to be backed up is already migrated to server storage, the file is backed up from there. Figure 1 shows how policy is part of the Tivoli Storage Manager process for storing client data.
Figure 1. How Tivoli Storage Manager Controls Backup, Archive, and Migration Processes
The steps in the process are as follows: (1) A client initiates a backup, archive, or migration operation. The file involved in the operation is bound to a management class. The management class is either the default or one specified for the file in client options (the client's include-exclude list). (2) If the file is a candidate for backup, archive, or migration based on information in the management class, the client sends the file and file information to the server. (3) The server checks the management class that is bound to the file to determine the destination, the name of the Tivoli Storage Manager storage pool where the server initially stores the file. For backed-up and archived files, destinations are assigned in the backup and archive copy groups, which are within management classes. For space-managed files, destinations are assigned in the management class itself. The storage pool can be a group of disk volumes, tape volumes, or optical volumes. (4) The server stores the file in the storage pool that is identified as the storage destination. The Tivoli Storage Manager server saves information in its database about each file that it backs up, archives, or migrates. If you set up server storage in a hierarchy, Tivoli Storage Manager can later migrate the file to a storage pool different from the one where the file was initially stored. For example, you may want to set up server storage so that Tivoli Storage Manager migrates files from a disk storage pool to tape volumes in a tape storage pool.
Files remain in server storage until they expire and expiration processing occurs, or until they are deleted from server storage. A file expires because of criteria that are set in policy. For example, the criteria include the number of versions allowed for a file and the number of days that have elapsed since a file was deleted from the client's file system. For information on assigning storage destinations in copy groups and management classes, and on binding management classes to client files, see Chapter 12, Implementing Policies for Client Data. For information on managing the database, see Chapter 18, Managing the Database and Recovery Log. For information about storage pools and storage pool volumes, see Chapter 9, Managing Storage Pools and Volumes.
Back up a file server, and have the ability to restore Use the backup-archive client to perform individual files. incremental backups or selective backups. If the file server is a network-attached storage file server that is supported, you can use Tivoli Data Protection for NDMP to perform image backups. Make restore media portable, or make restores easier to perform remotely. Provide the ability to more easily restore the entire contents of a single logical volume, instead of restoring individual files. Use the backup-archive client to perform incremental backups, and then generate backup sets by using the Tivoli Storage Manager server. Use the backup-archive client to perform logical volume backups (also called image backups).
Set up records retention to meet legal or other long- Use the backup-archive client to occasionally term storage needs. perform archiving. To ensure that the archiving occurs at the required intervals, use central scheduling. Create an archive for a backup-archive client, from data that is already stored for backup. Use the backup-archive client to perform incremental backups, and then generate a backup set by using the Tivoli Storage Manager server. This is also called instant archive. Use the backup-archive client to regularly perform incremental backups (either manually or automatically through schedules). Then do one of the following:
Set up policy to ensure that data is preserved in server storage long enough to provide the required service level. See Setting Policy to Enable Point-in-Time Restore for Clients for details. Create backup sets for the backup-archive client on a regular basis. Set the retention time to provide the required service level. See Creating and Using Client Backup Sets for details.
Save a set of files and directories before making significant changes to them.
Use the backup-archive client to archive the set of files and directories. If this kind of protection is needed regularly, consider creating backup sets from backup data already stored for the client. Using backup sets instead of frequent archive operations can reduce the amount of metadata that must be stored in the server's database.
Back up data for an application that runs continuously, such as a database application (for (R) example, DB2 or Oracle) or a mail application (R) (TM) (Lotus Domino ). Exploit disk hardware capable of data snapshots.
Use the appropriate application client. For example, use Tivoli Data Protection for Lotus Domino.
Use the appropriate component that supports the hardware, such as Tivoli Data Protection for IBM (TM) Enterprise Storage Server . Use the backup-archive client with centrally scheduled backups that run during off-shift hours. Monitor the schedule results.
Reduce the load on the LAN by moving backup data Use LAN-free data movement or, for supported network-attached storage (NAS) file servers, use over your SAN. Tivoli Data Protection for NDMP. 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 14, Scheduling Operations for Client Nodes. 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 Backup Compared with Other Backup Types. 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 Progressive The standard method of incremental backup used by Tivoli backup Storage Manager. After the first, full backup of a client system, incremental backups are done. Incremental backup by date is also available. No additional full backups of a client are required after the first backup. Selective backup Backup of files that are selected by the user, regardless of whether the files have changed since the last backup. Allows users to protect a subset of their data independent of the normal incremental backup process. Helps ensure complete, effective, policy-based backup of data. Eliminates the need to retransmit backup data that has not been changed during successive backup operations.
information The user can restore just See the version of the file Incremental that is needed. Backup and BackupTivoli Storage Manager Archive does not need to restore Installation a base file followed by and User's incremental backups. Guide. This means reduced time and fewer tape mounts, as well as less data transmitted over the network.
The user can restore just See Selective the version of the file Backup and Backupthat is needed. Archive Tivoli Storage Manager Installation does not need to restore and User's a base file followed by Guide. incremental backups. This means reduced time and fewer tape mounts, as well as less data transmitted over the network. The base file plus a maximum of one subfile is restored to the client. See Enabling Clients to Use Subfile Backup and BackupArchive Installation and User's Guide.
A backup method that backs up only the parts of a file that have changed since the last backup. 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. The process works with either the standard progressive incremental backup or with selective backup. Applicable to clients on (R) Windows systems.
Maintains backups of data while minimizing connect time and data transmission for the backup of mobile and remote users.
Journal-
Journal-based backup
See Backup-
based backup
(progressive incremental backup, selective backup, adaptive subfile backup) by basing the backups on a list of changed files. The list is maintained on the client by the journal engine service of Tivoli Storage Manager. Full volume backup.
time required for backup. The files eligible for backup are known before the backup operation begins. Applicable to clients on (R) Windows NT and Windows 2000 systems.
has no effect on how files are restored; this depends on the type of backup performed.
Image backup
Allows backup of an The entire image is entire file system or raw restored. volume as a single Nondisruptive, on-line backup is possible for object. Can be selected Windows 2000 clients by by backup-archive using the Tivoli Storage clients on UNIX(R) and Manager snapshot Windows systems. function.
See Policy for Logical Volume Backups and BackupArchive Installation and User's Guide. See Chapter 6, Setting Up Tivoli Data Protection for NDMP. See Tivoli Data Protection for IBM ESS for Oracle Databases DB2 UDB Installation and User's Guide, Tivoli Data Protection for IBM ESS for R/3 Installation and User's Guide, and Tivoli Data Protection for EMC Symmetrix for R/3 Installation
Image backup with differential backups Backup using hardware snapshot capabilities
Full volume backup, which can be followed by subsequent differential backups. A method of backup that exploits the capabilities of IBM Enterprise Storage Server (TM) FlashCopy and EMC TimeFinder to make copies of volumes used by database servers. The Tivoli Data Protection for applications and databases then uses the volume copies to back up the database volumes.
Used only for the image backups of NAS file servers, performed by using Tivoli Data Protection for NDMP.
The full image backup plus a maximum of one differential backup are restored.
Implements highSee the referenced efficiency backup and publications for details. recovery of businesscritical applications while virtually eliminating backup-related downtime or user disruption on the database server.
and User's Guide. Archive The process creates a Use for maintaining The selected version of copy of files and stores copies of vital records the file is retrieved on them for a specific time. for legal or historical request. purposes. Note: 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. Although the archive function is a powerful way to store inactive data with fixed retention, it should not be used on a frequent and large scale basis as the primary See Archive and BackupArchive Installation and User's Guide.
backup method. Instant archive The process creates a backup set of the most recent versions of the files for the client, using files already in server storage from earlier backup operations. Use when portability of the recovery media or rapid recovery of a backup-archive client is important. Also use for efficient archiving. The files are restored directly from the backup set. The backup set resides on media that can be mounted on the client system, such as a CD, a tape drive, or a file system. The Tivoli Storage Manager server does not have to be contacted for the restore process, so the process does not use the network or the server. See Creating and Using Client Backup Sets.
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 storage pools. The data is backed up to copy storage pools, which the server can automatically access if needed to retrieve a file. See Storage Pool Protection: An Overview. You can back up the server's database. The database is key to the server's ability to track client data in server storage. See Database and Recovery Log Protection: An Overview.
These backups can become part of a disaster recovery plan, created automatically by Tivoli Disaster Recovery Manager. See Chapter 23, Using Tivoli Disaster Recovery Manager.
Moving data for a client node You can consolidate data for a client node by moving the data within server storage. You can move it to a different storage pool, or to other volumes in the same storage pool. See Moving Data by Node.
Interfaces to Tivoli Storage Manager Configuring and Managing Server Storage Managing Client Operations Maintaining the Server Protecting the Server
Server options are in the server options file. Some options can be changed and made active immediately by using the command, SETOPT. Most server options are changed by editing the server options file and then halting and restarting the server to make the changes active. In this book, specific server options are discussed where they are applicable. See Administrator's Reference for details about the server options file and reference information for all server options.
The devices can be locally attached, or accessible through a SAN. Key decisions in configuring and managing the storage include: Selecting the devices and media that will form the server storage, including library devices that will be shared among Tivoli Storage Manager servers Designing the storage hierarchy for efficient backups and optimal storage usage Using product features that allow the server to provide services to clients while minimizing traffic on the communications network: o LAN-free data movement o Data movement using NDMP to protect data on network-attached storage (NAS) file servers Using the Tivoli Storage Manager product to help you to manage the drives and media, or using an external media manager to do the management outside of the Tivoli Storage Manager product.
For an introduction to key storage concepts, see Chapter 2, Introducing Storage Devices.
The server can store data on hard 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: Ability to collocate data for clients as the data is moved to tape Streaming operation of tape drives, leading to better tape drive performance More efficient use of tape drives by spreading out the times when the drives are in use
For information about setting up storage pools on disk devices, see Chapter 3, Using Magnetic Disk Devices. For information about setting up a storage hierarchy, see Overview: The Storage Pool Hierarchy.
For information about removable media operations, see Chapter 7, Managing Removable Media Operations.
When you register clients, you have choices to make about the following: Whether the client should compress files before sending them to the server for backup Whether the client node ID has the authority to delete its files from server storage Whether an administrator ID that matches the client ID is created, for remote client operations
Other important tasks include the following: Controlling client options from the server Client options on client systems allow users to customize backup, archive, and space management operations, as well as schedules for these operations. On most client systems, the options are in a file called dsm.opt. In some cases, you may need or want to provide the clients with options to use. To help users get started, or to control what users back up, you can define sets of client options for clients to use. Client options sets are defined in the server database and are used by the clients that you designate. Among the options that can be in a client option set are the include and exclude options. These options control which files are considered for the client operations. For more information, see Chapter 11, Managing Client Nodes. Allowing subfile backups For mobile and remote users, you want to minimize the data sent over the network, as well as the time that they are connected to the network. You can set the server to allow a client node to back up changed portions of files that have been previously backed up, rather than entire files. The portion of the file that is backed up is called a subfile.
For more information, see Chapter 13, Managing Data for Client Nodes. Creating backup sets for client nodes You can perform an instant archive for a client by creating a backup set. A backup set copies a client node's active, backed-up files from server storage onto sequential media. If the sequential media can be read by a device available to the client system, you can restore the backup set directly to the client system without using the network. The server tracks backup sets that you create and retains the backup sets for the time you specify. For more information, see Chapter 13, Managing Data for Client Nodes. For more information, see Chapter 10, Adding Client Nodes and Chapter 11, Managing Client Nodes.
Managing Security
Tivoli Storage Manager includes security features for user registration and passwords. 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. You can ensure that only authorized administrators and client nodes are communicating with the server by requiring the use of passwords. You can also set the following requirements for passwords: Number of characters in a password. Expiration time. A limit on the number of consecutive, invalid password attempts. When the client exceeds the limit, Tivoli Storage Manager locks the client node from access to the server.
See Managing Passwords. You can control the authority of administrators. An organization may name a single administrator or may distribute the workload among a number of administrators and grant them different levels of authority. For details, see Managing Levels of Administrative Authority.
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 likely to require a policy different from policy for end users. Protecting data for applications such as Lotus Domino also may require a unique policy. For more information about the default policy and establishing and managing new policies, see Chapter 12, Implementing Policies for Client Data.
The management class determines where client files are initially stored and how they are managed. The management class contains information that determines how Tivoli Storage Manager handles files that clients backup, archive, or migrate. For example, the management class contains the backup copy group and the archive copy group. Each copy group points to a destination, a storage pool where files are first stored when they are backed up or archived. For a schedule to work on a particular client, the client machine must be turned on. The client must either be running the client scheduler or must allow the client acceptor daemon to start the scheduler when needed. To learn more: For how to set up policy domains and management classes, see Chapter 12, Implementing Policies for Client Data. For how to automate client operations, see Chapter 14, Scheduling Operations for Client Nodes. For how to set up an include-exclude list for clients, see Getting Users Started. For how to run the scheduler on client systems, see the user guides for the clients.
After you have created schedules, you manage and coordinate those schedules. Your tasks include the following: Verify that the schedule ran successfully. Determine how long Tivoli Storage Manager retains event records in the database. Balance the workload on the server so that all scheduled operations complete.
For more information about these tasks, see Chapter 15, Managing Schedules for Client Nodes.
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.
Other tasks that are needed less frequently include: Maintain compliance with the license agreement. Move the server.
See Licensing Tivoli Storage Manager. For suggestions about the day-to-day tasks required to administer the server, see Chapter 16, Managing Server Operations.
You can set up automatic logging of information about Tivoli Storage Manager clients and server events. See the following sections for more information about these tasks. Chapter 19, Monitoring the Tivoli Storage Manager Server Using SQL to Query the Tivoli Storage Manager Database Logging Tivoli Storage Manager Events to Receivers Daily Monitoring Scenario
Servers connected to a network can be centrally managed. Tivoli Storage Manager provides functions to help you configure, manage, and monitor the servers. An administrator working at one Tivoli Storage Manager server can work with servers at other locations around the world. 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: Designate one server as a configuration manager that distributes configuration information such as policy to other servers. See Setting Up an Enterprise Configuration. Route commands to multiple servers while logged on to one server. See Routing Commands. 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. 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 for details. Share an automated library among Tivoli Storage Manager servers. See Multiple Tivoli Storage Manager Servers Sharing Libraries. Store a recovery plan file for one server on another server, when using Tivoli Disaster Recovery Manager. You can also back up the server database and storage pools to another server. See Chapter 23, Using Tivoli Disaster Recovery Manager for details.
In addition to taking these actions, you can prepare a disaster recovery plan to guide you through the recovery process by using the Tivoli Disaster Recovery Manager. Tivoli Disaster Recovery Manager is an optional product that 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 Tivoli Disaster Recovery Manager are based on taking the following measures: Sending server backup volumes offsite or to another Tivoli Storage Manager server Creating the disaster recovery plan file for the Tivoli Storage Manager server Storing client machine information Defining and tracking client recovery media
For more information about protecting your server and for details about recovering from a disaster, see Chapter 22, Protecting and Recovering Your Server.