TSM6.3 Install Guide Windows
TSM6.3 Install Guide Windows
Version 6.3
Installation Guide
GC23-9785-03
Installation Guide
GC23-9785-03
Note: Before using this information and the product it supports, read the information in Notices on page 143.
This edition applies to Version 6.3 of IBM Tivoli Storage Manager (product number 5608-E01, 5608-E02, 5608-E03, 5608-E07) and to all subsequent releases and modifications until otherwise indicated in new editions or technical newsletters. This edition replaces GC23-9785-02. Copyright IBM Corporation 1993, 2011. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
Contents
Preface . . . . . . . . . . . . . . . v
Who should read this guide . . . . Installable components . . . . . . Publications . . . . . . . . . . Tivoli Storage Manager publications . Support information . . . . . . . Getting technical training . . . . Searching knowledge bases . . . Contacting IBM Software Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v . v viii viii . x . x . xi xiii
. 49 . 50
| | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | |
Chapter 3. Taking the first steps after you install Tivoli Storage Manager . . . 33
Creating the user ID and directories for the server instance . . . . . . . . . . . . . . Configuring Tivoli Storage Manager . . . . . Configuring Tivoli Storage Manager using the configuration wizard . . . . . . . . . Configuring the server instance by using the Management Console . . . . . . . . . Configuring the server instance manually . . . 34 . 35 . 36 . 37 . 39
Part 2. Installing and upgrading Tivoli Monitoring for Tivoli Storage Manager . . . . . . . . . . . . . 81
iii
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | |
Installing the Administration Center . . . . . Installing the Administration Center using the installation wizard. . . . . . . . . . Installing the Administration Center using the console installation wizard . . . . . . . Installing the Administration Center in silent mode . . . . . . . . . . . . . . Configuring LDAP user authentication . . . . Verifying the Administration Center installation Starting and stopping the Tivoli Integrated Portal server . . . . . . . . . . . . . . . Defining Administration Center users to the Tivoli Integrated Portal . . . . . . . . . . . Uninstalling the Administration Center . . . .
Chapter 9. Upgrading Tivoli Monitoring for Tivoli Storage Manager to Version 6.3 . . . . . . . . . . . 105
| Upgrade scenarios. . . . . . . . . . . . 105
Upgrading to version 6.3 on Windows systems . . 107
| Running the installation prerequisite checker . . . 114 | Administration Center work sheet . . . . . . 115
iv
Preface
This publication contains installation and configuration instructions for the Tivoli Storage Manager server and client API, server languages, and other Tivoli Storage Manager components. Instructions for installing the Tivoli Storage Manager license, device driver, storage agent, the Tivoli Integrated Portal and Administration Center, and Tivoli Monitoring for Tivoli Storage Manager are also included in this publication.
Installable components
The IBM Tivoli Storage Manager server, client API, and licenses are required components. Other, optional components and products are also available in separate packages. You can install the following components for Tivoli Storage Manager V6.3: v Tivoli Storage Manager server v Tivoli Storage Manager server languages v Tivoli Storage Manager licenses v Tivoli Storage Manager devices
Copyright IBM Corp. 1993, 2011
v Tivoli Storage Manager storage agent v Tivoli Storage Manager Administration Center v Tivoli Monitoring for Tivoli Storage Manager | | | | | | | | It is not possible to do the following items: v Install a Tivoli Storage Manager server and Tivoli Monitoring for Tivoli Storage Manager on the same system v Install a Tivoli Storage Manager server and the Administration Center on the same system It is possible to install the Administration Center and Tivoli Monitoring for Tivoli Storage Manager on the same system. To use them together, they must both be Version 6.3. Table 1 describes all the installable components. These components are located in several different installation packages.
Table 1. Tivoli Storage Manager installable components Tivoli Storage Manager component: Server (required) Description: Additional information:
Includes the database, Refer to the Tivoli Storage Manager server overview in the management console, Administrator's Guide. client API, GSKit, and tools to help you configure and manage Tivoli Storage Manager. Each language pack (one See Server language locales on page 31. for each language) contains language-specific information for the server and the management console. Refer to the chapter on managing server operations in the Includes support for all Administrator's Guide. Tivoli Storage Manager licensed features. After you install this package, you must configure the licenses you have purchased. Extends Tivoli Storage Manager media management capability. The Tivoli Storage Manager device driver is preferred for use with the Tivoli Storage Manager server. The device driver is required for use with automated library devices and optical disk devices, unless you are using Windows Removable Storage Manager to manage media. The device driver is not installed by default when the Tivoli Storage Manager devices component is selected. You must select Yes on the device window to install the Tivoli Storage Manager device driver. Refer to the chapter on adding devices in the Administrator's Guide. A list of devices supported by this driver is available from the Tivoli Storage Manager website, at http://www.ibm.com/ support/entry/portal/Overview/Software/Tivoli/ Tivoli_Storage_Manager.
Licenses (required)
Devices (optional)
vi
Table 1. Tivoli Storage Manager installable components (continued) Tivoli Storage Manager component: Storage agent (optional) Description: Additional information:
Installs the component that Refer to the Storage Agent User's Guide. allows client systems to write data directly to, or read data directly from, storage devices that are attached to a storage area network (SAN). Remember: The IBM Tivoli Storage Manager for Storage Area Networks is a separately licensed product. Installs the following components automatically to help you configure and manage Tivoli Storage Manager: v Tivoli Integrated Portal v Integrated Solutions Console v WebSphere Application Server Refer to Administration Center system requirements on page 114.
| | |
v Tivoli Storage Manager client performance monitor Optional components such as Tivoli Common Reporting are also available. Remember: The Administration Center is on a separate DVD. Tivoli Monitoring for Provides reports and real Tivoli Storage Manager time monitoring (optional) information about Tivoli Storage Manager servers and client activity. Remember: Tivoli Monitoring for Tivoli Storage Manager is on a separate DVD. Refer to Chapter 8, Installing Tivoli Monitoring for Tivoli Storage Manager, on page 83.
Preface
vii
Publications
Publications for the IBM Tivoli Storage Manager family of products are available online. The IBM 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. To search all publications, go to the Tivoli Storage Manager information center at http://publib.boulder.ibm.com/infocenter/tsminfo/v6r3. You can download PDF versions of publications from the Tivoli Storage Manager information center or from the IBM Publications Center at http://www.ibm.com/ shop/publications/order/. Go to Tivoli Documentation Central to find information centers that contain official product documentation for current and previous versions of Tivoli products, including the Tivoli Storage Manager product family. You can find Tivoli Documentation Central at https://www.ibm.com/developerworks/wikis/display/ tivolidoccentral/Home. You can also order some related publications from the IBM Publications Center website. The website provides information about ordering publications from countries other than the United States. In the United States, you can order publications by calling 1-800-879-2755.
Order number GC23-9781 SC23-9769 SC23-9775 GC23-9782 SC23-9770 SC23-9776 GC23-9783 SC23-9771 SC23-9777 GC23-9784 SC23-9772 SC23-9778 GC23-9785 SC23-9773 SC23-9779 SC27-4018
viii
Table 2. Tivoli Storage Manager server publications (continued) Publication title IBM Tivoli Storage Manager Upgrade and Migration Guide for V5 Servers IBM Tivoli Storage Manager Integration Guide for Tivoli Storage Manager FastBack Table 3. Tivoli Storage Manager storage agent publications Publication title IBM Tivoli Storage Manager for SAN for AIX Storage Agent User's Guide IBM Tivoli Storage Manager for SAN for HP-UX Storage Agent User's Guide IBM Tivoli Storage Manager for SAN for Linux Storage Agent User's Guide IBM Tivoli Storage Manager for SAN for Oracle Solaris Storage Agent User's Guide IBM Tivoli Storage Manager for SAN for Windows Storage Agent User's Guide Table 4. Tivoli Storage Manager client publications Publication title IBM Tivoli Storage Manager for UNIX and Linux: Backup-Archive Clients Installation and User's Guide IBM Tivoli Storage Manager for Windows: Backup-Archive Clients Installation and User's Guide IBM Tivoli Storage Manager Using the Application Programming Interface Order number SC23-9791 SC23-9792 SC23-9793 Order number SC23-9797 SC23-9798 SC23-9799 SC23-9800 SC23-9553 Order number GC27-4017 SC27-2828
IBM Tivoli Storage Manager for Space Management for UNIX and Linux: SC23-9794 Users Guide IBM Tivoli Storage Manager HSM for Windows Administration Guide Table 5. Tivoli Storage Manager data protection publications Publication title IBM Tivoli Storage Manager for Databases: Data Protection for Microsoft SQL Server Installation and Users Guide Order number GC27-4010 SC23-9795
IBM Tivoli Storage Manager for Databases: Data Protection for Oracle for SC27-4019 UNIX and Linux Installation and Users Guide IBM Tivoli Storage Manager for Databases: Data Protection for Oracle for SC27-4020 Windows Installation and Users Guide IBM Tivoli Storage Manager for Mail: Data Protection for Microsoft Exchange Server Installation and Users Guide GC27-4009
IBM Tivoli Storage Manager for Mail: Data Protection for Lotus Domino SC27-4021 UNIX and Linux Installation and Users Guide IBM Tivoli Storage Manager for Mail: Data Protection for Lotus Domino for Windows Installation and Users Guide IBM Tivoli Storage Manager for Enterprise Resource Planning: Data Protection for SAP Installation and Users Guide for DB2 SC27-4022 SC33-6341
Preface
ix
Table 5. Tivoli Storage Manager data protection publications (continued) Publication title IBM Tivoli Storage Manager for Enterprise Resource Planning: Data Protection for SAP Installation and Users Guide for Oracle IBM Tivoli Storage Manager for Virtual Environments Installation and Users Guide IBM Tivoli Storage Manager for Microsoft SharePoint Guide Order number SC33-6340 SC27-2898 N/A
Table 6. IBM Tivoli Storage Manager troubleshooting and tuning publications Publication title IBM Tivoli Storage Manager Problem Determination Guide IBM Tivoli Storage Manager Performance Tuning Guide IBM Tivoli Storage Manager Client Messages and Application Programming Interface Return Codes IBM Tivoli Storage Manager Server Messages and Error Codes IBM Tivoli Storage Manager for Mail: Data Protection for Microsoft Exchange Server Messages IBM Tivoli Storage Manager for Databases: Data Protection for Microsoft SQL Server Messages IBM Tivoli Storage Manager for Databases: Data Protection for Oracle Messages IBM Tivoli Storage Manager for Mail: Data Protection for Lotus Domino Messages IBM Tivoli Storage Manager for Enterprise Resource Planning: Data Protection for SAP Messages Order number GC23-9789 GC23-9788 SC27-2878 SC27-2877 GC27-4011 GC27-4012 SC27-4014 SC27-4015 SC27-4016
Note: You can find information about IBM System Storage Archive Manager at http://publib.boulder.ibm.com/infocenter/tsminfo/v6r3/ c_complydataretention_ovr.html.
Support information
You can find support information for IBM products from various sources. Start at the IBM Support Portal: http://www.ibm.com/support/entry/portal/. You can select the products that you are interested in and search for a wide variety of relevant information.
Tivoli Support Technical Exchange Technical experts share their knowledge and answer your questions in webcasts at http://www.ibm.com/software/sysmgmt/products/support/ supp_tech_exch.html. Storage Management community Interact with others who use IBM storage management products at http://www.ibm.com/developerworks/servicemanagement/sm/ index.html Global Tivoli User Community Share information and learn from other Tivoli users throughout the world at http://www.tivoli-ug.org/. IBM Education Assistant View short "how to" recordings designed to help you use IBM software products more effectively at http://publib.boulder.ibm.com/infocenter/ ieduasst/tivv1r0/index.jsp
xi
To share your experiences and learn from others in the Tivoli Storage Manager and Tivoli Storage FlashCopy Manager user communities, go to the following wikis: Tivoli Storage Manager wiki http://www.ibm.com/developerworks/wikis/display/ tivolistoragemanager Tivoli Storage FlashCopy Manager wiki https://www.ibm.com/developerworks/mydeveloperworks/wikis/home/ wiki/Tivoli Storage FlashCopy Manager
xii
Preface
xiii
xiv
xv
| | | |
Center using Internet Explorer 8 and Mozilla Firefox 3.5. All browsers used with Tivoli Integrated Portal 1.1.1 are supported in this latest version For Administration Center system requirements, see the following website: http://www.ibm.com/support/docview.wss?uid=swg21515628.
xvi
Storage Manager, or alter the DB2 environment for Tivoli Storage Manager in other ways, such as with other products. The Tivoli Storage Manager Version 6.3 server has been built and tested extensively using the data definition language (DDL) and database configuration that Tivoli Storage Manager deploys. Attention: Do not alter the DB2 software that is installed with Tivoli Storage Manager installation packages and fix packs. Do not install or upgrade to a different version, release, or fix pack of DB2 software because doing so can damage the database.
Hardware requirements
These tables list the minimum hardware and software requirements for the installation of a Tivoli Storage Manager server. Use these requirements as a starting point. You can find the most current information at Tivoli Storage Manager Supported Operating Systems. Table 7 describes the minimum hardware requirements needed for your Windows system. For more details about planning disk space, see Capacity planning on page 7.
Table 7. Hardware requirements Type of hardware Hardware Disk Space Hardware requirements An AMD64 or Intel EMT-64 processor v At least 3 GB of free disk storage (for a typical installation) v 200 MB temporary directory space v 2 GB partition size in the C:\ drive v 300 MB in the instance directory Significant additional disk space is required for database and log files. The size of the database depends on the number of client files to be stored and the method by which the server manages them. The default active log space is 16 GB, the minimum that is needed for most workloads and configurations. Allocate at least three times the active log space for the archive log (48 GB). Ensure that you have sufficient resources if you are using deduplication or expect a heavy client workload. For optimal performance and to facilitate I/O, specify at least four separate directories or Logical Unit Numbers (LUNs) to be used by the database and logs. By making these specifications, I/O is balanced across multiple directories or mounts.
| |
Ensure that you see the capacity planning section for more details about disk space.
Table 7. Hardware requirements (continued) Type of hardware Memory Hardware requirements 64-bit Windows systems v 12 GB. v 16 GB if you are using deduplication.
| | |
v At least 32 GB for heavily used servers. Using 32 GB or more of memory enhances performance of the Tivoli Storage Manager server database inventory. v If you plan to run multiple instances, each instance requires the memory listed for one server. Multiply the memory for one server by the number of instances planned for the system.
Software requirements
Table 8 describes the minimum software requirements needed for your Windows system.
Table 8. Software requirements Type of software Operating System Minimum software requirements One of the following operating systems: v Microsoft Windows Server 2008: Standard, Enterprise, or Datacenter x64 Edition (64-bit) v Microsoft Windows Server 2008 R2: Standard, Enterprise, or Datacenter Edition Communication At least one of the following communication protocols (installed by protocol default with the current Windows operating systems): v Named Pipes v TCP/IP Version 4 or Version 6 Web browser A web browser to retrieve an online installation package. The following browsers are supported: v Microsoft Internet Explorer 7.0 or later v Firefox 3.5 or later Your browser must support the server code page. If your browser does not support the server code page, the windows might be unreadable. If your browser meets these requirements but does not correctly display a Tivoli Storage Manager web-based interface, consider using a different browser. System functions The Windows system functions, such as Device Manager, are supported on the 64-bit Tivoli Storage Manager Console. Normal Windows system functions are available for the 64-bit server using the Manage Computer function of the Windows system.
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Or, double-click the prereqcheck.exe file. v Issue this command to start the installation wizard using the console method:
prereqcheck.exe -i console
3. Select the language for the prerequisite checker user interface. 4. In the welcome and disclaimer panels, review the statements and accept them. If the Prerequisite Results page indicates that your system passed the checks, you are ready to start the installation. If an error message is shown in the Prerequisite Results page, make the required corrections before continuing with the installation. The summary page lists the errors and directs you to an error log file. If you used the default directory, the log file can be found at this location: The installation directory; look for the file prereqcheck.log
Work sheet for planning details for the Tivoli Storage Manager server
You can use the work sheet to help you plan the amount and location of storage needed for the Tivoli Storage Manager server. You can also use it to keep track of names and user IDs.
Item The database Active log Archive log Optional: Log mirror for the active log Space required Location
Item Optional: Secondary archive log (failover location for archive log)
Space required
Location
Item The instance user ID for the server, which is the ID you use to start and run the Tivoli Storage Manager server The home directory for the server, which is the directory that contains the instance user ID The database instance name The instance directory for the server, which is a directory that contains files specifically for this server instance (the server options file and other server-specific files) Server name, use a unique name for each server
Location
| | | | | | | | | | | | | | | | | | | | | | | |
Capacity planning
Capacity planning for Tivoli Storage Manager includes database and recovery log requirements. In Tivoli Storage Manager, the term recovery log refers to the active log, the active log mirror, the archive log, and the archive failover log. The active log, the archive log, and the failover archive log are also known as transaction logs.
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
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 additional 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 calculations do not take into account the possible use of file aggregation. In general, aggregating small files reduces the amount of required database space. File aggregation does not affect space-managed files. Calculations are presented in the following steps: 1. Calculate the number of file versions: a. Calculate the number of backed-up files: As many as 500,000 client files might be backed up at a time. Storage policies call for keeping up to three copies of backed up files:
500,000 files x 3 copies = 1,500,000 files
b. Calculate the number of archive files. As many as 100,000 client files might be archived copies. c. Calculate the number of space-managed files. As many as 200,000 client files might be migrated from client workstations. Using 1000 bytes per file, the total amount of database space required for the files that belong to the client is 1.8 GB:
(1,500,000 + 100,000 + 200,000) x 1000 = 1.8 GB
2. Calculate the number of cached files, copy storage-pool files, active-data pool files, and deduplicated files a. Calculate the number of cached copies. Caching is enabled in a 5 GB disk storage pool. The high and low migration thresholds of the pool are 90% and 70%. Thus, 20% of the disk pool, or 1 GB, is occupied by cached files. If the average file size is about 10 KB, approximately 100,000 files are in cache at any one time:
100,000 files x 200 bytes = 19 MB
b. Calculate the number of copy storage-pool files. All primary storage pools are backed up to the copy storage pool:
(1,500,000 + 100,000 + 200,000) x 200 bytes = 343 MB
c. Calculate the number of active storage-pool files. All the active client-backup data in primary storage pools is copied to the active-data storage pool. Assume that 500,000 versions of the 1,500,000 backup files in the primary storage pool are active:
500,000 x 200 bytes = 95 MB
d. Calculate the number of deduplicated files. Assume that a deduplicated storage pool contains 50,000 files:
50,000 x 200 bytes = 10 MB
Based on the preceding calculations, about 0.5 GB of additional database space is required for the clients cached files, copy storage-pool files, and active-data pool files, and deduplicated files. 3. Calculate the amount of additional space that is required for database optimization. To provide optimal data access and management by the server, additional database space is required. The amount of additional database space is equal to 50% of the total space requirements for file objects.
(1.8 + 0.5) x 50% = 1.2 GB
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
4. Calculate the total amount of database space that is required for the client is approximately 3.5 GB:
1.8 + 0.5 + 1.2 = 3.5 GB
5. Calculate the total amount of database space that is required for all clients. If the client that was used in the preceding calculations is typical and you have 500 clients, for example, you can use the following calculation to estimate the total amount of database space required for all clients:
500 x 3.5 = 1.7 TB
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 A Java database connectivity (JDBC) client Structured Query Language (SQL) to the server from an administrative-client command line Consider using an additional 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 used in this topic, 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.
Database size < 500 GB 500 GB and < 1 TB 1 TB and < 1.5 TB 1.5 and < 2 TB 2 and < 3 TB 3 and < 4 TB Minimum temporary-space requirement 50 GB 100 GB 150 GB 200 GB 250 - 300 GB 350 - 400 GB
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
For guidance about the layout and tuning of the active log and archive log, see the Performance Tuning Guide. 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
Maximum number of client nodes 300 that back up, archive, or migrate files concurrently at any time Files stored during each transaction Log space that is required for each file 4096 3053 bytes
Use the following calculation to determine the size of the active log. One GB equals 1,073,741,824 bytes. (300 clients x 4096 files stored during each transaction x 3053 bytes for each file) 1,073,741,824 bytes = 3.5 GB Increase that amount by the suggested starting size of 16 GB: 3.5 + 16 = 19.5 GB
58.5 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 total archive log requirement. 3.5 x 3 = 10.5 GB Increase that amount by the suggested starting size of 48 GB: 10.5 + 48 = 58.5 GB
11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Example values
Description
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. Monitor your logs and adjust their size if necessary.
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
The setting of the client option RESOURCEUTILIZATION is larger than the default. Each client session runs a maximum of three sessions in parallel. The default value of the server option TXNGROUPMAX is 4096. The value of 3053 bytes for each file in a transaction represents the log bytes needed when backing up files from a Windows client where the file names are 12 - 120 bytes. This value is based on the results of tests performed under laboratory conditions. Tests consisted of clients performing backup operations to a random-access disk (DISK) storage pool. DISK pools result in more log use than sequential-access storage pools. Consider a value larger than 3053 bytes if the data being stored has file names that are longer than 12 - 120 bytes.
4096
4096 3053
12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Table 10. Multiple client sessions (continued) Item Active log: Suggested size Example values 26.5 GB
1
Description The following calculation was used for 300 clients. One GB equals 1,073,741,824 bytes. (300 clients x 3 sessions for each client x 4096 files stored during each transaction x 3053 bytes for each file) 1,073,741,824 = 10.5 GB Increase that amount by the suggested starting size of 12 GB: 10.5 + 12 = 22.5 GB The following calculation was used for 1000 clients. One GB equals 1,073,741,824 bytes. (1000 clients x 3 sessions for each client x 4096 files store during each transaction x 3053 bytes for each file) 1,073,741,824 = 35 GB Increase that amount by the suggested starting size of 16 GB: 35 + 16 = 51 GB
51 GB
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 Increase those amounts by the suggested starting size of 48 GB: 31.5 + 48 = 79.5 GB 105 + 48 = 153 GB
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. Monitor your active log and adjust its size if necessary.
Example: Estimating active and archive log sizes for simultaneous write operations: 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.
Chapter 1. Planning to install the IBM Tivoli Storage Manager server
13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
1
Maximum number of client nodes 300 that back up, archive, or migrate files concurrently at any time Files stored during each transaction Log space that is required for each file 4096 3453 bytes
Use the following calculation to determine the size of the active log. One GB equals 1,073,741,824 bytes. (300 clients x 4096 files stored during each transaction x 3453 bytes for each file) 1,073,741,824 bytes = 4.0 GB Increase that amount by the suggested starting size of 16 GB: 4 + 16 = 20 GB
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
Increase that amount by the suggested starting size of 48 GB: 12 + 48 = 60 GB 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. Monitor your logs and adjust their size if necessary.
14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Example: Estimating active and archive log sizes for basic client store operations and server operations: Migration of data in server storage, identification processes for data deduplication, reclamation, and expiration might run concurrently with client store operations. Administrative tasks such as administrative commands or SQL queries from administrative clients can also run concurrently with client store operations. Server operations and administrative tasks that run concurrently can increase the active log space that is required. 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. Example: Estimating archive log sizes with full database backups: 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 12. Full database backups Item Example values Description The number of client nodes that back up, archive, or migrate files every night. The default value of the server option TXNGROUPMAX is 4096.
Maximum number of client nodes 300 that back up, archive, or migrate files concurrently at any time Files stored during each transaction 4096
15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Table 12. Full database backups (continued) Item Log space that is required for each file Example values 3453 bytes Description 3053 bytes for each file plus 200 bytes for each copy storage pool. The value of 3053 bytes for each file in a transaction represents the log bytes needed when backing up files from a Windows client where the file names are 12 - 120 bytes. This value is based on the results of tests performed under laboratory conditions. Tests consisted of clients performing backup operations to a random-access disk (DISK) storage pool. DISK pools result in more log use than sequential-access storage pools. Consider a value larger than 3053 bytes if the data being stored has file names that are longer than 12 - 120 bytes. Active log: Suggested size 20 GB
1
Use the following calculation to determine the size of the active log. One GB equals 1,073,741,824 bytes.(300 clients x 4096 files per transaction x 3453 bytes per file) 1,073,741,824 bytes = 4.0 GB Increase that amount by the suggested starting size of 16 GB: 4 + 16 = 20 GB
Archive log: Suggested size with a full database backup every day
60 GB
Because of the requirement to be able to store archive logs 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 Increase that amount by the suggested starting size of 48 GB: 12 + 48 = 60 GB
132 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 total archive log requirement. Multiply the result by the number of days between full database backups: (4 GB x 3 ) x 7 = 84 GB Increase that amount by the suggested starting size of 48 GB: 84 + 48 = 132 GB
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. Monitor your logs and adjust their size if necessary.
16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
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
Consider the following scenario. Three hundred backup-archive clients back up 100,000 files each night. This activity creates a workload of 30,000,000 files. The average number of extents for each file is two. Therefore, the total number of extents is 60,000,000, and the space requirement for the archive log is 84 GB:
60,000,000 extents x 1,500 bytes for each extent = 84 GB
A duplicate-identification process operates on aggregates of files. An aggregate consists of files that are stored in a given transaction, as specified by the TXNGROUPMAX server option. Suppose that the TXNGROUPMAX server option is set to the default of 4096. If the average number of extents for each file is two, the total number of extents in each aggregate is 8192, and the space required for the active log is 12 MB:
8192 extents in each aggregate x 1500 bytes for each extent = 12 MB
The timing and number of the duplicate-identification processes The timing and number of duplicate-identification processes also affects the size of the active log. Using the 12 MB active-log size that was calculated in the preceding example, the concurrent load on the active log is 120 MB if 10 duplicate-identification processes are running in parallel:
12 MB for each process x 10 processes = 120 MB
File size Large files that are processed for duplicate identification can also affect the size of the active log. For example, suppose that a backup-archive client backs up an 80 GB, file-system image. This object can have a high number of duplicate extents if, for example, the files included in the file system image were backed up incrementally. For example, assume that a file system image has 1.2 million duplicate extents. The 1.2 million extents in this large file represent a single transaction for a duplicate-identification process. The total space in the active log that is required for this single object is 1.7 GB:
1,200,000 extents x 1,500 bytes for each extent = 1.7 GB
17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Active log: Suggested 1.7 GB size that is required for the deduplication of a single large object during a single duplicateidentification process
If other, smaller duplicate-identification processes occur at the same time as the duplicate-identification process for a single large object, the active log might not have enough space. For example, suppose that a storage pool is enabled for deduplication. The storage pool has a mixture of data, including many relatively small files that range from 10 KB to several hundred KB. The storage pool also has few large objects that have a high percentage of duplicate extents. To take into account not only space requirements but also the timing and duration of concurrent transactions, increase the estimated size of the active log by a factor of two. For example, suppose that your calculations for space requirements are 25 GB (23.3 GB + 1.7 GB for deduplication of a large object). If deduplication processes are running concurrently, the suggested size of the active log is 50 GB. The suggested size of the archive log is 150 GB. The examples in the following tables show calculations for active and archive logs. The example in the first table uses an average size of 700 KB for extents. The example in the second table uses an average size of 256 KB. As the examples show, the average deduplicate-extent size of 256 KB indicates a larger estimated size for the active log. To minimize or prevent operational problems for the server, use 256 KB to estimate the size of the active log in your production environment.
Table 13. Average duplicate-extent size of 700 KB Item Size of largest single object to deduplicate Example values 800 GB 4 TB Description The granularity of processing for deduplication is at the file level. Therefore, the largest single file to deduplicate represents the largest transaction and a correspondingly large load on the active and archive logs. The deduplication algorithms use a variable block method. Not all deduplicated extents for a given file are the same size, so this calculation assumes an average size for extents. Using the average extent size (700 KB), these calculations represent the total number of extents for a given object. The following calculation was used for an 800 GB object: (800 GB 700 KB) = 1,198,372 bits The following calculation was used for a 4 TB object: (4 TB 700 KB) = 6,135,667 bits 8.6 GB The estimated active log space that are needed for this transaction.
700 KB
700 KB
1,198,372 bits
6,135,667 bits
18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Table 13. Average duplicate-extent size of 700 KB (continued) Item Active log: Suggested total size 66 GB Example values
1
Description After considering other aspects of the workload on the server in addition to deduplication, multiply the existing estimate by a factor of two. In these examples, the active log space required to deduplicate a single large object is considered along with previous estimates for the required active log size. The following calculation was used for multiple transactions and an 800 GB object: (23.3 GB + 1.7 GB) x 2 = 50 GB Increase that amount by the suggested starting size of 16 GB: 50 + 16 = 66 GB The following calculation was used for multiple transactions and a 4 TB object: (23.3 GB + 8.6 GB) x 2 = 63.8 GB Increase that amount by the suggested starting size of 16 GB: 63.8 + 16 = 79.8 GB
79.8 GB
198 GB
239.4 GB
Multiply the estimated size of the active log by a factor of 3. The following calculation was used for multiple transactions and an 800 GB object: 50 GB x 3 = 150 GB Increase that amount by the suggested starting size of 48 GB: 150 + 48 = 198 GB The following calculation was used for multiple transactions and a 4 TB object: 63.8 GB x 3 = 191.4 GB Increase that amount by the suggested starting size of 48 GB: 191.4 + 48 = 239.4 GB
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. Monitor your logs and adjust their size if necessary.
Table 14. Average duplicate-extent size of 256 KB Item Size of largest single object to deduplicate Example values 800 GB 4 TB Description The granularity of processing for deduplication is at the file level. Therefore, the largest single file to deduplicate represents the largest transaction and a correspondingly large load on the active and archive logs.
19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Table 14. Average duplicate-extent size of 256 KB (continued) Item Average size of extents Extents for a given file Example values 256 KB 256 KB Description The deduplication algorithms use a variable block method. Not all deduplicated extents for a given file are the same size, so this calculation assumes an average extent size. Using the average extent size, these calculations represent the total number of extents for a given object. The following calculation was used for multiple transactions and an 800 GB object: (800 GB 256 KB) = 3,276,800 bits The following calculation was used for multiple transactions and a 4 TB object: (4 TB 256 KB) = 16,777,216 bits Active log: Suggested 4.5 GB size that is required for the deduplication of a single large object during a single duplicateidentification process Active log: Suggested total size 71.6 GB
1
3,276,800 bits
16,777,216 bits
23.4 GB
The estimated size of the active log space that is required for this transaction.
109.4 GB
After considering other aspects of the workload on the server in addition to deduplication, multiply the existing estimate multiplied by a factor of 2. In these examples, the active log space required to deduplicate a single large object is considered along with previous estimates for the required active log size. The following calculation was used for multiple transactions and an 800 GB object: (23.3 GB + 4.5 GB) x 2 = 55.6 GB Increase that amount by the suggested starting size of 16 GB: 55.6 + 16 = 71.6 GB The following calculation was used for multiple transactions and a 4 TB object: (23.3 GB + 23.4 GB) x 2 = 93.4 GB Increase that amount by the suggested starting size of 16 GB: 93.4 + 16 = 109.4 GB
20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Table 14. Average duplicate-extent size of 256 KB (continued) Item Archive log: Suggested size Example values 214.8 GB
1
Description
1
328.2 GB
The estimated size of the active log multiplied by a factor of 3. The following calculation was used for an 800 GB object: 55.6 GB x 3 = 166.8 GB Increase that amount by the suggested starting size of 48 GB: 166.8 + 48 = 214.8 GB The following calculation was used for a 4 TB object: 93.4 GB x 3 = 280.2 GB Increase that amount by the suggested starting size of 48 GB: 280.2 + 48 = 328.2 GB
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. Monitor your logs and adjust their size if necessary.
21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
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 dsmserv.opt 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. To change the maximum log size, halt the server. Open the dsmserv.opt file, and specify a new value for the ACTIVELOGSIZE option. When you are finished, restart the server. ANR4529I: IC_AUTOBACKUP_LOG_UTILIZATION_TRIGGER The ratio of used active-log space to available active-log space exceeds the log utilization threshold. If at least one full database backup has occurred, the Tivoli Storage Manager server starts an incremental database backup. Otherwise, the server starts a full database backup. ANR0295I: IC_BACKUP_NEEDED_LOG_UTILIZATION The ratio of used active-log space to available active-log space exceeds the log utilization threshold. 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.
22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
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.
Instance user ID
The instance user ID is used as the basis for other names related to the server instance. The instance user ID is also called the instance owner. For example: tsminst1 The instance user ID is the user ID that must have ownership or read/write access authority to all directories that you create for the database and the recovery log. The standard way to run the server is under the instance user ID. That user ID must also have read/write access to the directories that are used for any FILE device classes.
Instance directory
The instance directory is a directory that contains files specifically for a server instance (the server options file and other server-specific files). It can have any name that you want. For easier identification, use a name that ties the directory to the instance name. You can use a name that includes the name of the server instance as it appears (or will appear) in the registry. Default server instance names have the form Serverx. For example: d:\tsm\server1 The instance directory stores the following files for the server instance: v The server options file, dsmserv.opt v Device configuration file, if the DEVCONFIG server option does not specify a fully qualified name v Volume history file, if the VOLUMEHISTORY server option does not specify a fully qualified name
23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
v Volumes for DEVTYPE=FILE storage pools, if the directory for the device class is not fully specified, or not fully qualified v User exits v Trace output (if not fully qualified)
Database name
The database name is always TSMDB1, for every server instance. This name cannot be changed.
Server name
The server name is an internal name for Tivoli Storage Manager, and is used for operations that involve communication among multiple Tivoli Storage Manager servers. Examples include server-to-server communication and library sharing. The server name is also used when you add the server to the Administration Center so that it can be managed using that interface. Use a unique name for each server. For easy identification in the Administration Center (or from a QUERY SERVER command), use a name that reflects the location or purpose of the server. If you use the wizard, the default name that is suggested is the host name of the system that you are using. You can use a different name that is meaningful in your environment. If you have more than one server on the system and you use the wizard, you can use the default name for only one of the servers. You must enter a unique name for each server. For example: TUCSON_SERVER1 TUCSON_SERVER2 For more information about server names, see Tivoli Storage Manager Administrator's Guide.
24
v v v v
1. If you are installing the products using the Tivoli Storage Manager DVD, complete the following steps: Log on as an administrator. Insert the Tivoli Storage Manager server DVD. Use Windows Explorer to go to the DVD drive, double-click the DVD, and then double-click install.exe. To access Windows Explorer, go to Start > Programs > Accessories or right-click the Start button. The Tivoli Storage Manager server DVD browser window opens. 2. If you downloaded the program from Passport Advantage as an executable file, complete the following steps. a. Verify that you have enough space to store the installation files when they are extracted from the product package. See the download document for the space requirements: v Tivoli Storage Manager: http://www.ibm.com/support/ docview.wss?uid=swg24030522 v Tivoli Storage Manager Extended Edition: http://www.ibm.com/ support/docview.wss?uid=swg24030528 v System Storage Archive Manager: http://www.ibm.com/ support/docview.wss?uid=swg24030531 b. Change to the directory where you placed the executable file. Tip: In the next step, the files are extracted to the current directory. Be sure to extract the installation files to an empty directory. Do not extract to a directory that contains previously extracted files, or any other files. c. Either double-click the executable file, or enter the following command on the command line to extract the installation files. The files are extracted to the current directory.
package_name.exe
| | | | | |
25
| | | |
The package_name is typically a name such as CZ1N9ML. The package is large, so the extraction takes some time. 3. Optional: After all the files have been extracted, locate this file and run it to ensure that your system meets all requirements: prereqcheck.exe See Running the installation prerequisite checker on page 6 for details. 4. Select one of the following ways of installing Tivoli Storage Manager: Installation wizard Installing Tivoli Storage Manager by using the installation wizard Command-line console wizard Installing Tivoli Storage Manager by using the console installation wizard on page 27 Silent mode Installing Tivoli Storage Manager in silent mode on page 28 5. After you install Tivoli Storage Manager and before you customize it for your use, go to the Tivoli Storage Manager website: http://www.ibm.com/support/ entry/portal/Overview/Software/Tivoli/Tivoli_Storage_Manager. Click Support and downloads and apply any applicable fixes.
| | | | | | | | | | | | | | | | | | |
Or, double-click the install.exe file. To start the wizard and save your responses to later use for a silent installation, enter the following command and specify the -r option.
install.exe -r C:\path_name\response.rsp
where path_name is the full directory path to where you want the response file to be created. If you do not specify a fully qualified name, the response file is placed in a temporary directory. 2. Select the language for your installation and follow the wizard, selecting Next to step through the wizard. Select the product that you are entitled to use and a license agreement is displayed. You can select only one product on the page. If you select Tivoli Storage Manager, Tivoli Storage Manager Extended Edition, or System Storage Archive Manager, you are asked if you will be using LAN-free or library sharing. If you select YES, you must accept the Tivoli Storage Manager for Storage Area Networks license. This is in addition to the license for the product that you chose on the previous page. Select the components that you want to install. Components include the server, languages, license, device driver, and storage agent. There is no default, so you must make a selection. If you previously installed a server, ensure that you select the same directory when you install a language pack, license, or device
26
| | | | | |
driver. If you previously installed a storage agent, ensure that you select the same directory if you return to install a device driver. A server and a storage agent cannot be installed on the same workstation. The Tivoli Storage Manager client application programming interface (API), DB2 Version 9.7, and IBM Global Security Kit (GSKit) Version 8 are automatically installed when you select the server component. If there were any errors during the installation, the summary page lists the errors and directs you to an error log file. The log for a new server installation is stored in this location: The directory that was chosen for installation; look for the files log.txt and logs.zip. After you install a new Tivoli Storage Manager server, you must configure it. See Chapter 3, Taking the first steps after you install Tivoli Storage Manager, on page 33.
| | | | | | | | | | | | | | | | | | | | | |
To start the wizard and save your responses, enter the following command and specify the -r option.
install.exe -i console -r C:\path_name\response.rsp
where path_name is the full directory path to where you want the response file to be created. If you do not specify a fully qualified name, the response file is placed in a temporary directory. The Tivoli Storage Manager installation wizard starts. 2. Select the language for your installation and follow the wizard, selecting Next to step through the wizard. Select the product that you are entitled to use and a license agreement is displayed. You can select only one product on the page. If you select Tivoli Storage Manager, Tivoli Storage Manager Extended Edition, or System Storage Archive Manager, you are asked if you will be using LAN-free or library sharing. If you select YES, you must accept the Tivoli Storage Manager for Storage Area Networks license. This is in addition to the license for the product that you chose on the previous page. Select the components that you want to install. Components include the server, languages, license, device driver, and storage agent. There is no default, so you must make a selection. If you previously installed a server, ensure that you select the same directory when you install a language pack, license, or device driver. If you previously installed a storage agent, ensure that you select the same directory if you return to install a device driver. A server and a storage agent cannot be installed on the same workstation.
Chapter 2. Installing the Tivoli Storage Manager server components
27
| | |
The Tivoli Storage Manager client application programming interface (API), DB2 Version 9.7, and IBM Global Security Kit (GSKit) Version 8 are automatically installed when you select the server component. If there were any errors during the installation, the summary page lists the errors and directs you to an error log file. The log for a new server installation is stored in this location: The directory that was chosen for installation; look for the files log.txt and logs.zip. After you install a new Tivoli Storage Manager server, you must configure it. See Chapter 3, Taking the first steps after you install Tivoli Storage Manager, on page 33.
For command line: -DINSTANCE_CRED="instance1 userid1 password1, instance2 userid2 password2" (required for reinstallation only) For response file: INSTANCE_CRED=instance1 userid1 password1, instance2 userid2 password2 (required for reinstallation only)
28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Table 15. Variables for the silent installation (continued) Variable For command line:DINSTANCE_OMIT="instance3, instance4" (optional for reinstallation only) For response file: INSTANCE_OMIT=instance3, instance4 (optional for reinstallation only) Description Enter any instances that will not be recreated as part of the installation. Use this variable if you have an instance that exists but is not used. Use it if you have removed the instance user ID, forgotten the password, or otherwise do not want to create the instance as part of a reinstallation. Use quotation marks around your credentials when you pass them into the command line. Specify multiple instances by separating them with a comma. Tip: An instance cannot be in both the INSTANCE_CRED and the INSTANCE_OMIT parameters. All of the instances that exist when an installation package is reinstalled must be listed in either the INSTANCE_CRED or the INSTANCE_OMIT parameters. Or, the silent installation fails. -DINSTALL_DEVICES=1 (optional) -DINSTALL_LICENSE=1 (required for base packages) Install the Tivoli Storage Manager device driver. Install the Tivoli Storage Manager server license component. This variable should only be specified if the package being installed includes Tivoli Storage Manager server license files or the installation might fail. This option is typically only required for a first-time installation of the base release package. This option should not be used when installing most fix packs and interim fix packages because they do not include the server licenses. Specify the installation directory if you want to change it. The default directory is C:\Program Files\Tivoli\TSM. Install the Tivoli Storage Manager server component. Install the Tivoli Storage Manager storage agent.
29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Table 15. Variables for the silent installation (continued) Variable -DINSTALL_language_pack=1 (optional) Description Install a specific language pack. You can install the following server language-packs during the silent installation, using these variables: v INSTALL_GERMAN v INSTALL_SPANISH v INSTALL_FRENCH v INSTALL_ITALIAN v INSTALL_BRPORTUGUESE v INSTALL_KOREAN v INSTALL_JAPANESE v INSTALL_RUSSIAN v INSTALL_SCHINESE v INSTALL_TCHINESE For example, to install the German language pack, use this variable: -DINSTALL_GERMAN=1
Tip: After you start the silent installation, it immediately closes the foreground window and runs in the background. To receive a return code from the silent installation, run it using a batch script. See Installing silently using a batch script on page 31. v To enable a component during silent installation, append it to the install.exe command on a single line. For example:
install.exe -i silent -DIBM_TSM_LICENSE_ACCEPTED=true -DINSTALL_SERVER=1 -DINSTALL_LICENSE=1 -DINSTALL_ENGLISHUTF8=1
v Alternatively, the component variables can be placed into a response file. The path to this response file can then be passed into the install.exe command. To create this file, use the same variables that are in Table 15 on page 28. Remove the -D and separate the options on individual lines. Do not use quotation marks. For example:
INSTANCE_CRED=server1 server1 server1 INSTANCE_OMIT=server2 IBM_product_LICENSE_ACCEPTED=true INSTALL_SERVER=1 INSTALL_SPANISH=1
where the response_file is the full directory path to a file that you previously created in the Tivoli Storage Manager installation process. The response file contains variables you selected in a prior installation, using the GUI or console
30
| | | | | | | | | | | | |
wizard. You might see a difference between response files, depending on which installation mode you used (GUI or console). Remember: If you previously installed a server, ensure that you select the same directory when you install a language pack, license, or device driver. If you previously installed a storage agent, ensure that you select the same directory if you return to install a device driver. Check the path in this registry: HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion. If the value for Path is set, you must select that same path to install other components. Fix any errors before continuing. See the following log for more information: The directory that was chosen for the installation (look for the file log.txt). After you install a new Tivoli Storage Manager server, you must configure it. See Chapter 3, Taking the first steps after you install Tivoli Storage Manager, on page 33.
3. To run the batch file, open a command prompt. Issue this command:
install.bat
4. After the installation is complete, issue the following command to retrieve the return code:
echo %ERRORLEVEL%
Fix any errors before continuing. The installation log is stored in the directory that was chosen for the installation (look for the files log.txt and logs.zip). To continue on and configure Tivoli Storage Manager, see Chapter 3, Taking the first steps after you install Tivoli Storage Manager, on page 33.
31
Table 16. Server languages for Windows Language Chinese, Simplified Chinese, Traditional English French German Italian Japanese (Shift-JIS) Korean Portuguese, Brazilian Russian Spanish LANGUAGE option value chs cht ameng fra deu ita jpn kor ptb rus esp
Notes: For further information about setting the LANGUAGE option, see the Administrator's Reference.
| | | | | | | |
Tivoli Storage Manager Console language support With the Microsoft Management Console (MMC) snap-in, you can manage Tivoli Storage Manager Windows and non-Windows resources across the network. To use the Tivoli Storage Manager Management Console, install the Version 1.2 or later MMC package. Tivoli Storage Manager includes only the American English version of the MMC package, which is installed automatically with the Tivoli Storage Manager server. To enable other language support for the Tivoli Storage Manager Console, you must install the appropriate language version of MMC. Restriction: For Administration Center users, some characters might not be displayed properly if the web browser version is not the same language as the server. If this problem occurs, use a browser version that uses the same language as the server.
32
Chapter 3. Taking the first steps after you install Tivoli Storage Manager
After installing Tivoli Storage Manager Version 6.3, prepare for the configuration. Then, either use the configuration wizard to configure the Tivoli Storage Manager instance or configure the instance manually. Configure the Tivoli Storage Manager server instance by completing the following steps: 1. Create the directories and user ID for the server instance. See Creating the user ID and directories for the server instance on page 34. 2. Configure a Tivoli Storage Manager instance. Select one of the following options: v Use the Tivoli Storage Manager configuration wizard on your local system. See Configuring Tivoli Storage Manager using the configuration wizard on page 36. v Use the Management Console for a quick configuration. See Configuring the server instance by using the Management Console on page 37. v Manually configure the new Tivoli Storage Manager instance. See Configuring the server instance manually on page 39. Complete the following steps during a manual configuration. a. Set up your directories and create the Tivoli Storage Manager instance. See Creating the server instance on page 39. b. Create a new server options file by copying the sample file in order to set up communications between the server and clients. See .Configuring server and client communications on page 40. c. Issue the DSMSERV FORMAT command to format the database. See Formatting the database and log on page 43. d. Create a Windows service. See Creating a Windows service for the server instance on page 43. e. Configure your system for database backup. See Preparing the database manager for backup on page 38. 3. Configure options that control when the server runs database reorganization. See Configuring server options for server database maintenance on page 45. 4. Start the Tivoli Storage Manager server instance. See Starting the server instance on page 46. 5. Register your license. See Registering licenses on page 48. 6. Prepare your system for database backups. See Preparing the system for backups on page 48. 7. Monitor the server. See Monitoring the server on page 50.
| |
33
You are prompted to create and verify a password for the new user ID. 2) Issue the following commands to add the new user ID to the DB2 and Administrators groups:
net localgroup Administrators user_ID /add net localgroup DB2ADMNS user_ID /add net localgroup DB2USERS user_ID /add
b. Log in to the system, using the new user ID and password. c. For all directories that were created for the server instance, ensure that the user ID for the server instance has read/write access. The directories to check include the instance directory and all database and log directories. 2. Create directories that the server requires. Ensure that you are logged in under the new user ID you just created. You need unique, empty directories for each of the items shown in the following table. Create the database directories, the active log directory, and the archive log directory on different physical volumes. See the planning information for details.
34
Item
Your directories
The instance directory for the server, which is a directory that will contain files specifically for this server instance (the server options file and other server-specific files) The database directories
Active log directory Archive log directory Optional: Directory for the log mirror for the active log Optional: Secondary archive log directory (failover location for archive log)
mkdir k:\tsm\archlogfailover
| | | |
When a server is initially created, with the DSMSERV FORMAT utility or with the configuration wizard, a server database and recovery log is created. In addition, files are created to hold database information used by the database manager. 3. Log off the new user ID.
Chapter 3. Taking the first steps after you install Tivoli Storage Manager Version 6.3
35
4. Configure your system for database backup. See Preparing the database manager for backup on page 38.
36
Chapter 3. Taking the first steps after you install Tivoli Storage Manager Version 6.3
37
2. Set the DSMI_ api environment-variable configuration for the database instance: a. Open a DB2 command window. One method is to go to the C:\Program Files\Tivoli\TSM\db2\bin directory, or if you installed Tivoli Storage Manager in a different location, go to the db2\bin subdirectory in your main installation directory. Then, issue this command:
db2cmd
3. Create a file called tsmdbmgr.opt in the d:\tsmserver1 directory with the following contents:
************************************************* nodename $$_TSMDBMGR_$$ commmethod tcpip tcpserveraddr localhost tcpport 1500 passwordaccess generate errorlogname d:\tsmserver1\TSMDBMGR_TSMSERVER1.log
Tip: Ensure that you enter the same tcpport as the server is using. This is specified in the dsmserv.opt file. 4. Stop and start the database instance: a. Open a DB2 command window. One method of doing this is by going to the C:\Program Files\Tivoli\TSM\db2\bin directory, or if you installed Tivoli Storage Manager in a different location, go to the db2\bin subdirectory in your main installation directory. Then, issue this command:
db2cmd
38
c. Stop DB2:
db2stop
d. Start DB2:
db2start
For example, if the user account is tsminst1 and the server instance is Server1, enter the following command: |
db2icrt -s ese -u tsminst1 server1
You are prompted for the password for user ID tsminst1. Later, when you create and format the database, you use the instance name that you specified with this command, with the -k option. 2. Change the default path for the database to be the drive where the instance directory for the server is located. Complete the following steps: a. Click Start > Programs > IBM DB2 > DB2TSM1 > Command Line Tools > Command Line Processor. b. Enter quit to exit the command-line processor.
Chapter 3. Taking the first steps after you install Tivoli Storage Manager Version 6.3
39
A window with a command prompt should now be open, with the environment properly set up to successfully issue the commands in the next steps. c. From the command prompt in that window, issue the following command to set the environment variable for the server instance that you are working with:
set db2instance=instance_name
The instance_name is the same as the instance name that you specified when you issued the db2icrt command. For example, to set the environment variable for the Server1 server instance, issue the following command:
set db2instance=server1
For example, if the instance directory is d:\tsm\server1, the instance location is drive d:. Enter the command:
db2 update dbm cfg using dftdbpath d:
3. Create a new server options file. See Configuring server and client communications.
40
Tip: You can use TCP/IP Version 4, Version 6, or both. TCPPORT The server TCP/IP port address. The default value is 1500. TCPWINDOWSIZE Specifies the size of the TCP/IP buffer that is used when sending or receiving data. The window size that is used in a session is the smaller of the server and client window sizes. Larger window sizes use additional memory but can improve performance. To use the default window size for the operating system, specify 0. TCPNODELAY Specifies whether or not the server sends small messages or lets TCP/IP buffer the messages. Sending small messages can improve throughput but increases the number of packets sent over the network. Specify YES to send small messages or NO to let TCP/IP buffer them. The default is YES. TCPADMINPORT Specifies the port number on which the server TCP/IP communication driver is to wait for requests other than client sessions. The default value is 1500. SSLTCPPORT (SSL-only) Specifies the Secure Sockets Layer (SSL) port number on which the server TCP/IP communication driver waits for requests for SSL-enabled sessions for the command-line backup-archive client and the command-line administrative client. SSLTCPADMINPORT Specifies the port address on which the server TCP/IP communication driver waits for requests for SSL-enabled sessions for the command-line administrative client. Setting Named Pipes options: The Named Pipes communication method is ideal when running the server and client on the same Windows machine. Named Pipes require no special configuration. Here is an example of a Named Pipes setting:
commmethod namedpipename namedpipe \\.\pipe\adsmpipe
| | | | | | |
COMMMETHOD can be used multiple times in the IBM Tivoli Storage Manager server options file, with a different value each time. For example, the following example is possible:
commmethod tcpip commmethod namedpipe
Chapter 3. Taking the first steps after you install Tivoli Storage Manager Version 6.3
41
Setting shared memory options: You can use shared memory communications between clients and servers on the same system. To use shared memory, TCP/IP Version 4 must be installed on the system. The following example shows a shared memory setting:
commmethod shmport sharedmem 1510
In this example, SHMPORT specifies the TCP/IP port address of a server when using shared memory. Use the SHMPORT option to specify a different TCP/IP port. The default port address is 1510. | | | | | | | | COMMMETHOD can be used multiple times in the IBM Tivoli Storage Manager server options file, with a different value each time. For example, the following example is possible:
commmethod tcpip commmethod sharedmem
Setting SNMP DPI subagent options: Tivoli Storage Manager implements a simple network management protocol (SNMP) subagent. You can configure the SNMP subagent to send traps to an SNMP manager, such as NetView, and to provide support for a Management Information Base (MIB). For details about configuring SNMP for use with Tivoli Storage Manager, see the Administrator's Guide. The subagent communicates with the snmp daemon, which in turn communicates with a management application. The snmp daemon must support the DPI protocol. The subagent process is separate from the Tivoli Storage Manager server process, but the subagent gets its information from a server options file. When the SNMP management application is enabled, it can get information and messages from servers. Use the following SNMP DPI options as an example of a SNMP setting. You must specify the COMMMETHOD option. For details about the other options, see the Administrator's Reference.
commmethod snmpheartbeatinterval snmpmessagecategory snmp 5 severity
42
For example:
db2set -i server1 DB2CODEPAGE=819
43
| |
subdirectory in your main installation directory. The install.exe file in this directory installs the Tivoli Storage Manager server as a Windows service. 2. Install the Windows service by using the same server name and user ID that you used to start the Tivoli Storage Manager server. Issue the following command:
install "TSM server_instance_name" "C:\Program Files\Tivoli\TSM\server\dsmsvc.exe" instance_owner instance_owner_password
where: v TSM server_instance_name is the name of the service that is being installed. v server_instance_name is the instance name that was specified when you issued the db2icrt command. v instance_owner is the instance owner account; this account will own the service. v instance_owner_password is the password for the instance owner account. If a different name was used for the server instance, or there are multiple server instances running on the system, modify the service name. After installing the Windows service, manually change the service to an automatic startup type. Do this by going to Windows Administrative Tools > Services. | | | | | | | | | | | | | | | | | | | | | | | | | | | | Example. To install the Windows service for the server1 server instance, enter the following command on one line. The example uses rudy as the instance owner and s21ret as the instance owner account.
C:\>cd "\Program Files\Tivoli\TSM\console" C:\Program Files\Tivoli\TSM\console>install "TSM server1" "C:\Program Files\Tivoli\TSM\server\dsmsvc.exe" rudy s21ret
44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
DSMI_CONFIG=d:\tsmserver1\tsmdbmgr.opt DSMI_LOG=d:\tsmserver1
2. Set the DSMI_ api environment-variable configuration for the database instance: a. Open a DB2 command window. One method is to go to the C:\Program Files\Tivoli\TSM\db2\bin directory, or if you installed Tivoli Storage Manager in a different location, go to the db2\bin subdirectory in your main installation directory. Then, issue this command:
db2cmd
3. Create a file called tsmdbmgr.opt in the d:\tsmserver1 directory with the following contents:
************************************************* nodename $$_TSMDBMGR_$$ commmethod tcpip tcpserveraddr localhost tcpport 1500 passwordaccess generate errorlogname d:\tsmserver1\TSMDBMGR_TSMSERVER1.log
Tip: Ensure that you enter the same tcpport as the server is using. This is specified in the dsmserv.opt file. 4. Stop and start the database instance: a. Open a DB2 command window. One method of doing this is by going to the C:\Program Files\Tivoli\TSM\db2\bin directory, or if you installed Tivoli Storage Manager in a different location, go to the db2\bin subdirectory in your main installation directory. Then, issue this command:
db2cmd
c. Stop DB2:
db2stop
d. Start DB2:
db2start
Chapter 3. Taking the first steps after you install Tivoli Storage Manager Version 6.3
45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
If you update these server options while the server is running, you must stop and restart the server before the updated values take effect. 1. Edit the server options file, which is located in the server instance directory. Follow these guidelines when editing the server options file: v Remove the asterisk at the beginning of the line to activate an option. v Begin entering an option in any column. v Enter only one option per line. The entire option with its value must be on only one line. v If you have multiple entries for an option in the file, the server uses the last entry. 2. If you plan to use deduplication, enable the ALLOWREORGINDEX server option. Add the following option and value to the server options file:
allowreorgindex yes
3. Set two server options that control when reorganization starts and how long it runs. Select a time and duration so that reorganization runs when you expect that the server is least busy. These server options control both table and index reorganization processes. a. Set the time for reorganization to start by using the REORGBEGINTIME server option. Specify the time using the 24-hour system. For example, to set the start time for reorganization as 8:30 p.m., specify the following option and value in the server options file:
reorgbegintime 20:30
b. Set the interval during which the server can start reorganization. For example, to specify that the server can start reorganization for 4 hours after the time set by the REORGBEGINTIME server option, specify the following option and value in the server options file:
reorgduration 4
4. If the server was running while you updated the server options file, stop and restart the server.
46
| | |
47
| |
3. Set the service Startup Type and Log on account information. a. Select your service in the list, right-click it, and then click Properties. b. Select Automatic, Manual, or Disabled as the Startup Type. c. Specify the account under which the service logs on. The account must own the server DB2 instance and have permissions to start the service. To see the start and stop completion messages that are logged in the Windows Application log, use the Windows Event Viewer in Administrative Tools.
The server console stops. Tip: If you start the Tivoli Storage Manager server as a service, after you stop it, the database service continues to run.
Registering licenses
Immediately register any Tivoli Storage Manager licensed functions that you purchase so you do not lose any data after you start server operations, such as backing up your data. Use the REGISTER LICENSE command for this task.
48
The device class that you specify is used by the database manager for database backups. If you do not specify a device class with the SET DBRECOVERY command, the backup fails. For example, to specify that the DBBACK device class is to be used, issue this command:
set dbrecovery dbback
When you are ready to back up your database, see the BACKUP DB command in the Administrator's Reference.
Chapter 3. Taking the first steps after you install Tivoli Storage Manager Version 6.3
49
50
e. Database backups occur regularly, and log pruning occurs as often as full database backups occur. With this pattern, the archive log grows initially, then decreases, then might grow again. Over a period of time, as normal operations continue, the amount of space used by the archive log should reach a relatively constant level. If the archive log continues to grow, consider taking one or both of these actions: v Add space to the archive log. This might mean moving the archive log to a different file system. For information about moving the archive log, see the Tivoli Storage Manager Administrator's Guide. v Increase the frequency of full database backups, so that log pruning occurs more frequently. 3. If you defined a directory for the failover archive log, determine whether any logs get stored in that directory during normal operations. If the failover log space is being used, consider increasing the size of the archive log. The goal is that the failover archive log is used only under unusual conditions, not in normal operation. For details about monitoring, see the Administrator's Guide.
Chapter 3. Taking the first steps after you install Tivoli Storage Manager Version 6.3
51
52
53
6.x.x.x-TIV-TSMALL-platform.exe
4. 5. 6.
7.
where: platform denotes the operating system that Tivoli Storage Manager is to be installed on. Ensure that you have backed up your Tivoli Storage Manager database. See the Administrator's Guide for more details. Halt the server before installing a fix pack or interim fix. Ensure that extra space is available in the installation directory The installation of this fix pack might require additional temporary disk space in the installation directory of the server. The amount of additional disk space can be as much as that required for installing a new database as part of a Tivoli Storage Manager installation. The Tivoli Storage Manager installation wizard displays the amount of space that is required for installing the fix pack and the available amount. If the required amount of space is greater than the available amount, the installation stops. If the installation stops, add the required disk space to the file system and restart the installation. Select one of the following ways of installing Tivoli Storage Manager. Important: After a fix pack is installed, it is not necessary to go through the configuration again. You can stop after completing the installation, fix any errors, then restart your servers. Installation wizard Installing Tivoli Storage Manager by using the installation wizard on page 26 Command-line console wizard Installing Tivoli Storage Manager by using the console installation wizard on page 27 Silent mode Installing Tivoli Storage Manager in silent mode on page 28
Fix any errors before continuing. The installation log, installFixPack.log, is stored in the following location: coi\plan\tmp | | | | | | | | | | | | | |
54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
upgrade fails, and the server license module is uninstalled, the server base release installation media are required to reinstall the license. 1. Disable automatic failback. You must disable automatic failback so that no groups automatically fail back during the installation. The cluster service then restarts automatically. a. In the Failover Cluster Manager window, select Services and Applications and right-click the cluster group. b. Select Properties. c. On the Failover tab in the Properties window, select Prevent failback and click OK. d. If multiple groups exist, repeat the preceding steps to disable automatic failback. 2. Determine the first server on which to install the fix pack. 3. Move the cluster groups from the node where the fix pack is to be installed. 4. Stop the cluster server node. In the Component Services window, right-click Cluster Service and click Stop. 5. Install the Tivoli Storage Manager fix pack. For details, see Installing a Tivoli Storage Manager fix pack. Tip: Tivoli Storage Manager is still running and available on another node. If the DB2 installation attempts to access an offline instance near the end of the installation, you might receive error message SQL5005C. This message does not indicate an installation failure. 6. Take the Tivoli Storage Manager server and the DB2 resources offline: a. In the Failover Cluster Manager window, in the left pane, select Services and Applications and then select the cluster group. The resources for the group are displayed in the right window pane. In the Other Resources section, SERVER1 and the Tivoli Storage Manager server are displayed. b. In the Other Resources section, right-click the Tivoli Storage Manager Instance(x) Server, where x represents the instance number. Select Take this resource Offline. Repeat this step for SERVER1. 7. Restart the cluster service on the current node. In the Component Services window, right-click Cluster Service and click Start. 8. Move the cluster groups to the current node: a. In the Failover Cluster Manager window, click Services and Applications. b. Right-click the cluster group and select Move this service or application to another node. The Current Owner column changes to the current node. c. Optional: If multiple groups exist, move the other cluster groups to the current node, repeat steps 8a and 8b. 9. Start the DB2 resources: a. In the Failover Cluster Manager window, in the left window pane, select Services and Applications, and then select the cluster group. b. In the right window pane, right-click SERVER1 and select Bring this service online. Repeat this step for each Tivoli Storage Manager Instance (x) Server, where x represents the instance number. 10. Stop the cluster service on the second node. In the Component Services window, right-click Cluster Service and click Stop. 11. Install the Tivoli Storage Manager fix pack. Tivoli Storage Manager is now running and available on the first node. If the DB2 installation attempts to
55
| | | | | | | | | | | | | | | | | |
access an offline instance before the installation is completed, you might receive error message SQL5005C. This message does not indicate an installation failure. 12. Restart the cluster service on this node. From the Component Services window, right-click Cluster Service and click Start. 13. Move the cluster groups back to the servers that you want to use: a. In the Failover Cluster Manager window, click Services and Applications. b. Right-click the group that you want to move and select Move this service or application to another node. The Current Owner column changes to the selected node. c. For any other nodes that must be moved to the owners that you want to use, repeat step 13b. This step reverts the Microsoft Cluster Server environment to its initial configuration. 14. Restart automatic failback processing: a. In the Failover Cluster Manager window, right-click the cluster group. b. Select Properties. c. On the Failover tab of the Cluster Group Properties window, select Allow failback, and click OK.
56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
V6.1
V6.3
V5.5
V6.3
To return to an earlier version of Tivoli Storage Manager after an upgrade, you must have a full database backup of that original version and the installation code for the server of that original version.
57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
1. Plan for system hardware and software requirements. See Chapter 1, Planning to install the IBM Tivoli Storage Manager server, on page 3. Restriction: You cannot upgrade your server to run on an operating system that is different from the operating system it currently runs on. 2. If you are installing the program from Passport Advantage, ensure that the executable file for the installation package is in the directory where you want the installation package to be located. Extract the installation files to an empty directory. Do not extract to a directory that contains previously extracted files, or any other files. 3. For special instructions or specific information for your operating system, review the release notes: http://publib.boulder.ibm.com/infocenter/tsminfo/ v6r3/topic/com.ibm.itsm.relnotes.doc/relnote_server630.html. Alternatively, review the readme file found on the Tivoli Storage Manager installation DVD or in the directory in which the package was extracted. Attention: If the server that you are upgrading is at a release level earlier than V6.1.5.10, review Technote 1452146. The technote describes improvements to how the server performs database reorganization, and configuration changes that you might be required to make. 4. Locate the following file and run it to ensure that your system meets all requirements: prereqcheck.exe See Running the installation prerequisite checker on page 6 for details. 5. Back up the V6.1 server database and configuration files. 6. Back up the Deployment Engine by issuing the following commands:
cd "C:\Program Files\IBM\Common\acsi" setenv.cmd cd "C:\Program Files\IBM\Common\acsi\bin" de_backupdb.cmd
7. Ensure that all client activity and server processes are stopped. 8. Stop each server instance on the system by issuing this Tivoli Storage Manager command from an administrative command line or the server console:
halt
9. In the server instance directory of your installation, delete or rename the nodelock file. The nodelock file contains the previous licensing information for your installation. This licensing information is replaced when the upgrade is complete. 10. To create a list of current server instances, issue the following command: a. Open Windows Services. Go to Start > Programs > Administrative Tools > Services b. Find your existing server instances by looking for DB2-DB2TSM1 names, for example: DB2-DB2TSM1-SERVER1. Keep a record of each server name and each user ID associated with that server instance. The user ID is the name that is listed under Log On As. Keep a record of the database path for each instance. Verify that the database default paths are correct before performing the upgrade. 11. For each existing server instance, gather information about the corresponding DB2 instance. Note the default database path, database name, database alias, database path, and any DB2 variables configured for the instance.
58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
12. Ensure that you have the user ID and password for each server instance because you need these for the upgrade. 13. Install the latest Tivoli Storage Manager server code, by using a wizard or silent mode. By using one of the wizards, you are guided to perform the upgrade steps in the correct order and you might be prompted for your server instance credentials. Until the new version is installed and any required licenses are registered again, clients cannot connect to the server. If you use the installation wizard or console installation wizard for the upgrade, ensure that the following requirements are met: v The system must have one of the following protocols enabled. Ensure that the port that the protocol uses is not blocked by a firewall. Secure Shell (SSH). Ensure that the port is set to the default value, 22. Also ensure that the SSH daemon service has access rights for connecting to the system by using localhost. Remote shell (RSH). Remote Execution Protocol (REXEC). You might need to disable User Account Control, at least while running the wizard. If you choose not to disable User Account Control, you must ensure that one of the other protocols is configured to allow the wizard to run. For instructions, see Configuring Remote Execution Protocol on Windows Server 2008 on page 37. Windows server message block (SMB) SMB is the interface used by File and Print Sharing (also known as CIFS). To use the SMB protocol, you must ensure that File and Print Sharing is enabled, and that port 445 is not blocked by your firewall. v You must be able to log on to the system by using a protocol that is enabled on the system, by using either the user ID that you created for the server instance, or some other user ID that exists on the system. When using the wizard, you must provide the user ID and password to access the system. If a connection cannot be established by using SSH, RSH, or REXEC, manually upgrade the Tivoli Storage Manager server instance from Version 6.1. For details, see http://www.ibm.com/support/docview.wss?uid=swg27018195. To install the latest server code, use one of the following methods: Installation wizard Upgrading Tivoli Storage Manager by using the installation wizard on page 62 Command-line console wizard Upgrading Tivoli Storage Manager by using the console installation wizard on page 63 Silent mode Upgrading Tivoli Storage Manager in silent mode on page 64 The DB2CKUPGRADE script conducts checks and creates logs for each database. These logs contain the results of the DB2CKUPGRADE command for each database. The log names have the following structure: <installation_directory> db2ckupgrade_<instance_name>_<db_name>.log The wizard automatically corrects some errors in the database during the upgrade to Version 6.3 and DB2 Version 9.7. You might need to correct other errors manually. For more details about database errors, see the Problem Determination Guide and search for DB2 log files. Run the upgrade again after you fix any errors.
Chapter 5. Upgrading the server from V6 to V6.3
59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
14. Verify that the upgrade was successful by starting the server. See Starting the server instance on page 46. Perform some basic operations and query information about the system to confirm that all information transferred correctly. 15. Reregister previously registered licenses and register new licenses by using the REGISTER LICENSE command. For more information about the REGISTER LICENSE command, see the REGISTER LICENSE section in the IBM Tivoli Storage Manager Administrator's Reference. Restriction: You cannot register licenses for Tivoli Storage Manager for Mail, Tivoli Storage Manager for Databases, Tivoli Storage Manager for ERP, and Tivoli Storage Manager for Space Management. 16. Back up the Deployment Engine again by issuing the following commands:
cd "C:\Program Files\IBM\Common\acsi" setenv.cmd cd "C:\Program Files\IBM\Common\acsi\bin" de_backupdb.cmd
60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
2. If you are installing the products by using the Tivoli Storage Manager DVD, complete the following step: Log on as an administrator. Insert the Tivoli Storage Manager server DVD. Use Windows Explorer to go to the DVD drive, double-click the DVD, and then double-click install.exe. To access Windows Explorer, go to Start > Programs > Accessories. The Tivoli Storage Manager server DVD browser window opens. 3. If you downloaded the program from Passport Advantage as an executable file, complete the following step. a. Verify that you have enough space to store the installation files when they are extracted from the product package. See the download document for the space requirements: Tivoli Storage Manager: http://www.ibm.com/support/ docview.wss?uid=swg24025642 Tivoli Storage Manager Extended Edition: http:// www.ibm.com/support/docview.wss?uid=swg24025643 System Storage Archive Manager: http://www.ibm.com/ support/docview.wss?uid=swg24025644 4. If you downloaded the program from Passport Advantage, ensure that the executable file for the installation package is in the directory where you want the installation package to be located. Be sure to extract the installation files to an empty directory. Do not extract to a directory that contains previously extracted files, or any other files. 5. If you downloaded the program from Passport Advantage, change to the directory where you placed the executable file. To extract the installation files, double-click the following executable file or enter the following command on the command line.
6.x.x.x-TIV-TSMALL-platform.exe
where: platform denotes the operating system that Tivoli Storage Manager is to be installed on. 6. The remaining steps apply to all upgrades, including those that use the Tivoli Storage Manager DVD and that use Passport Advantage. Locate the following file and run it to ensure that your system meets all requirements: prereqcheck.exe See Running the installation prerequisite checker on page 6 for details. 7. Back up the Tivoli Storage Manager server database and configuration files. Ensure that at least one full database backup is available on site. If you must restore the database after a failed upgrade, having an on-site backup database saves time. For more information about database backups, see the Tivoli Storage Manager Administrator's Guide. 8. Back up the Deployment Engine by issuing the following commands:
cd "C:\Program Files\IBM\Common\acsi" setenv.cmd cd "C:\Program Files\IBM\Common\acsi\bin" de_backupdb.cmd
9. For each existing server instance, gather information about the corresponding DB2 instance. Note the default database path, database name, database alias, database path, and any DB2 variables configured for the instance. 10. Before upgrading Tivoli Storage Manager, stop the server.
Chapter 5. Upgrading the server from V6 to V6.3
61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
11. In the server instance directory of your installation, delete or rename the nodelock file. The nodelock file contains the previous licensing information for your installation. This licensing information is replaced when the upgrade is complete. 12. Select one of the following ways of upgrading Tivoli Storage Manager. Important: After Tivoli Storage Manager is upgraded, it is not necessary to go through the configuration again. You can stop after completing the upgrade itself, fix any errors, then restart your servers. Installation wizard Upgrading Tivoli Storage Manager by using the installation wizard Command-line console wizard Upgrading Tivoli Storage Manager by using the console installation wizard on page 63 Silent mode Upgrading Tivoli Storage Manager in silent mode on page 64 13. Reregister previously registered licenses and register new licenses by using the REGISTER LICENSE command. For more information about the REGISTER LICENSE command, see the REGISTER LICENSE section in the IBM Tivoli Storage Manager Administrator's Reference. Restriction: You cannot register licenses for Tivoli Storage Manager for Mail, Tivoli Storage Manager for Databases, Tivoli Storage Manager for ERP, and Tivoli Storage Manager for Space Management. 14. Back up the Deployment Engine again by issuing the following commands:
cd "C:\Program Files\IBM\Common\acsi" setenv.cmd cd "C:\Program Files\IBM\Common\acsi\bin" de_backupdb.cmd
Inspect the log file, log.txt, and correct any errors. If you installed Tivoli Storage Manager by using the default directory, the installation log file is stored in the following location: The directory that was selected for installation; look for the files log.txt and logs.zip.
Or, double-click the install.exe file. To start the wizard and save your responses to later use for a silent installation, enter the following command and specify the -r option.
62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
install.exe -r C:\path_name\response.rsp
where path_name is the full directory path to where you want the response file to be created. If you do not specify a fully qualified name, the response file is placed in a temporary directory. 2. Select the language for your installation and follow the wizard, selecting Next to step through the wizard. Select the product that you are entitled to use and a license agreement is displayed. You can select only one product on the page. If you select Tivoli Storage Manager, Tivoli Storage Manager Extended Edition, or System Storage Archive Manager, you are asked if you will be using LAN-free or library sharing. If you select YES, you must accept the Tivoli Storage Manager for Storage Area Networks license. This is in addition to the license for the product that you chose on the previous page. Select the components that you want to install. Components include the server, languages, license, device driver, and storage agent. There is no default, so you must make a selection. If you previously installed a server, ensure that you select the same directory when you install a language pack, license, or device driver. If you previously installed a storage agent, ensure that you select the same directory if you return to install a device driver. A server and a storage agent cannot be installed on the same workstation. The Tivoli Storage Manager client application programming interface (API), DB2 Version 9.7, and IBM Global Security Kit (GSKit) Version 8 are automatically installed when you select the server component. At the end of the upgrade, a summary is provided. If errors occurred during the upgrade, another summary page lists the errors and directs you to an error log file. The installation log is stored in the following location: The directory that was chosen for installation; look for the files log.txt and logs.zip.
To start the wizard and save your responses, enter the following command and specify the -r option.
install.exe -i console -r C:\path_name\response.rsp
where path_name is the full directory path to where you want the response file to be created. If you do not specify a fully qualified name, the response file is placed in a temporary directory.
63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
2. Select the language for your installation and follow the wizard, selecting Next to step through the wizard. Select the product that you are entitled to use and a license agreement is displayed. You can select only one product on the page. If you select Tivoli Storage Manager, Tivoli Storage Manager Extended Edition, or System Storage Archive Manager, you are asked if you will be using LAN-free or library sharing. If you select YES, you must accept the Tivoli Storage Manager for Storage Area Networks license. This is in addition to the license for the product that you chose on the previous page. Select the components that you want to install. Components include the server, languages, license, device driver, and storage agent. There is no default, so you must make a selection. If you previously installed a server, ensure that you select the same directory when you install a language pack, license, or device driver. If you previously installed a storage agent, ensure that you select the same directory if you return to install a device driver. A server and a storage agent cannot be installed on the same workstation. The Tivoli Storage Manager client application programming interface (API), DB2 Version 9.7, and IBM Global Security Kit (GSKit) Version 8 are automatically installed when you select the server component. At the end of the upgrade, a summary is provided. If errors occurred during the upgrade, another summary page lists the errors and directs you to an error log file. The installation log is stored in the following location: The directory that was chosen for installation; look for the files log.txt and logs.zip.
64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Table 18. Variables for the silent upgrade (continued) Variable For command line: -DINSTANCE_CRED="instance1 userid1 password1, instance2 userid2 password2" (required) For response file: INSTANCE_CRED=instance1 userid1 password1, instance2 userid2 password2 (required) Description Enter the instance credentials used by the upgrade wizard to redefine the database instance in an upgrade from V6.1. Use quotation marks around your credentials when you pass them into the command line. Specify multiple instances by separating them with a comma. install.exe -i silent -DIBM_TSM_LICENSE_ACCEPTED=true -DINSTALL_SERVER=1 -DINSTALL_LICENSE=1 -DINSTALL_DEVICES=1 -DINSTANCE_CRED= "instance1 userid1 password1, instance2 userid2 password2" To find the existing server instances, either issue the db2ilist command (from any path), or open Windows Services and go to Start > Programs > Administrative Tools > Services. Using Windows Services, you can find your server instances by looking for DB2-DB2TSM1 names, for example: DB2-DB2TSM1-SERVER1. The user ID is the name that is listed under Log On As. Tip: An instance cannot be in both the INSTANCE_CRED and the INSTANCE_OMIT parameters. All of the instances that exist when an installation package is upgraded must be listed in either the INSTANCE_CRED or the INSTANCE_OMIT parameters. Or, the silent upgrade fails. For command line:DINSTANCE_OMIT="instance3, instance4" (optional) For response file: INSTANCE_OMIT=instance3, instance4 (optional) Enter any instances that will not be recreated as part of the upgrade from V6.1. Use this variable if you have an instance that exists but is not used. Use it if you have removed the instance user ID, forgotten the password, or otherwise do not want to create the instance as part of a upgrade. Use quotation marks around your credentials when you pass them into the command line. Specify multiple instances by separating them with a comma. Tip: An instance cannot be in both the INSTANCE_CRED and the INSTANCE_OMIT parameters. All of the instances that exist when an installation package is upgraded must be listed in either the INSTANCE_CRED or the INSTANCE_OMIT parameters. Or, the silent upgrade fails. -DINSTALL_DEVICES=1 (optional) Upgrade the Tivoli Storage Manager device driver.
65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Table 18. Variables for the silent upgrade (continued) Variable -DINSTALL_LICENSE=1 (required for base packages) Description Upgrade the Tivoli Storage Manager server license component. This variable should be specified only if the package being upgraded includes Tivoli Storage Manager server license files or the installation might fail. This option is typically only required for a first-time upgrade of the base release package. This option should not be used when installing most fix packs and interim fix packages because they do not include the server licenses. Upgrade the Tivoli Storage Manager server component. Upgrade the Tivoli Storage Manager storage agent. A server and a storage agent cannot be installed on the same workstation. -DINSTALL_language_pack=1 (optional) Upgrade a specific language pack. You can install the following server language-packs during the silent installation, using these variables: v INSTALL_GERMAN v INSTALL_SPANISH v INSTALL_FRENCH v INSTALL_ITALIAN v INSTALL_BRPORTUGUESE v INSTALL_KOREAN v INSTALL_JAPANESE v INSTALL_RUSSIAN v INSTALL_SCHINESE v INSTALL_TCHINESE For example, to install the German language pack, use this variable: -DINSTALL_GERMAN=1
Tip: After you start the silent upgrade, it immediately closes the foreground window and runs in the background. To receive a return code from the silent upgrade, run it using a batch script. See Upgrading silently by using a batch script on page 67. v To enable a component for a silent upgrade, append it to the install.exe command on a single line. For example:
install.exe -i silent -DIBM_TSM_LICENSE_ACCEPTED=true -DINSTALL_SERVER=1 -DINSTALL_LICENSE=1 -DINSTALL_ENGLISHUTF8=1
v Alternatively, the component variables can be placed into a response file. The path to this response file can then be passed into the install.exe command. To create this file, use the same variables that are in Table 18 on page 64.
66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Remove the -D and separate the options on individual lines. Do not use quotation marks. For example:
INSTANCE_CRED=server1 server1 server1 INSTANCE_OMIT=server2 IBM_product_LICENSE_ACCEPTED=true INSTALL_SERVER=1 INSTALL_SPANISH=1
where the response_file is the full directory path to a file that you previously created in the Tivoli Storage Manager installation process. The response file contains variables you selected in a prior installation, using the GUI or console wizard. You might see a difference between response files, depending on which installation mode you used (GUI or console). Fix any errors before continuing. See the following log for more information: The upgrade directory; look for the file log.txt.
3. To run the batch file, open a command prompt. Issue this command:
install.bat
4. After the installation is complete, issue the following command to retrieve the return code:
echo %ERRORLEVEL%
Fix any errors before continuing. The installation log is stored in the directory that was chosen for the installation (look for the files log.txt and logs.zip).
67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
3. Disable the User Account Control if you are using a different Administrator user account to connect to a Windows Server 2008 system. To disable User Account Control, complete the following steps: a. Click Control Panel > Administrative Tools > Local Security Policy > Security Settings > Local Policies > Security Options. b. Double-click User Account Control. c. Run all administrators in Administrator Approval Mode and select Disable. d. Restart your system.
68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
6. In the Failover Cluster Manager window, verify that nothing but the shared disks remains in the cluster. 7. Move the cluster from the primary node to the node being updated. On each secondary node, go to the MMC. The MMC provides a choice of resources to delete. Delete the server instance and the registry entries for the server and console. Do not remove any files. Exit the MMC before moving to the next node. 8. Starting with the primary node, switch the cluster to the node being updated, and install Tivoli Storage Manager V6.3 on each node in the cluster. Important: Before installing the server, ensure that no windows are opened to DB2 directories; otherwise, the DB2 installation fails. 9. Ensure that the primary node owns the cluster resources and that all nodes in the cluster are running. From the MMC on the primary node, run the Cluster Configuration wizard. If you have multiple instances, repeat this procedure for each instance that you plan to reuse. Update these instances in the same order that was used originally. The MMC names the first server instance SERVER1, the second SERVER2, and so on. 10. Move the cluster resources to the next node to be configured. To initialize and configure the server, in MMC, run the Initial Configuration wizard on the appropriate node. When the last node in the cluster is added, the MMC creates cluster entries for Tivoli Storage Manager. Tip: When configuring on the second node, you might see message ANRU1119E: "A problem was encountered while interpreting Tivoli Storage Manager administration results. The wizard will not continue. Report this to Tivoli Storage Manager technical support." If you see this message, click OK > Finish.
69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
3. Move the cluster groups off the node where V6.3 is to be installed. 4. Stop the cluster server node. In the Component Services window, right-click Cluster Service and click Stop. 5. Install Tivoli Storage Manager V6.3. For details, see Installing the Tivoli Storage Manager server components. Tip: Tivoli Storage Manager is still running and available on another node. If the DB2 installation attempts to access an offline instance, near the end of the installation, you might receive error message SQL5005C. This message does not indicate an installation failure. 6. Take the Tivoli Storage Manager server and the DB2 resources offline: a. In the Failover Cluster Manager window, in the left panel, select Services and Applications and then select the cluster group. The resources for the group are displayed in the right window panel. In Other Resources, SERVER1 and the Tivoli Storage Manager server are displayed. b. In Other Resources, right-click the Tivoli Storage Manager Instance(x) Server. Select Take this resource Offline. Repeat this step for SERVER1. 7. Restart the cluster service on the current node. In the Component Services window, right-click Cluster Service and click Start. 8. Move the cluster groups to the current node: a. In the Failover Cluster Manager window, click Services and Applications. b. Right-click the cluster group and select Move this service or application to another node. The Current Owner column changes to the current node. c. If multiple groups exist, to move the other cluster groups to the current node, repeat steps 8a and 8b. 9. Bring the DB2 resources online: a. In the Failover Cluster Manager window, in the left window panel, select Services and Applications, and then select the cluster group. b. In the right window panel, right-click SERVER1 and select Bring this service online. Repeat this step for each Tivoli Storage Manager Instance (x) Server. 10. Stop the cluster service on the second node. For example, from the Component Services window, right-click Cluster Service and click Stop. 11. On the second node, install Tivoli Storage Manager V6.3. Tivoli Storage Manager is now running and available on the first node. If the DB2 installation attempts to access an offline instance, near the end of the installation, you might receive error message SQL5005C. This message does not indicate an installation failure. 12. Restart the cluster service on this node. From the Component Services window, right-click Cluster Service and click Start. 13. Move the cluster groups back to the preferred servers: a. In the Failover Cluster Manager window, click Services and Applications. b. Right-click the group that you want to move and select Move this service or application to another node. The Current Owner column changes to the selected node. c. For any other nodes that must be moved to their preferred owners, repeat step 13b. This step reverts the Microsoft Cluster Server environment to its initial configuration. 14. If automatic failback was turned off in step 1, turn it back on: a. In the Failover Cluster Manager window, right-click the cluster group.
70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
b. Select Properties. The Cluster Group Properties window opens. c. On the Failover tab, select Allow failback, and click OK.
71
72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
b. If you must reuse the space that is occupied by the database and recovery log directories, you can now delete these directories. 3. Use the installation program to uninstall the Version 6.3 server. Uninstallation removes the server and the database manager, with their directories. 4. Reinstall the version of the server program that you were using before the upgrade to Version 6.3. This version must match the version that your server was running when you created the database backup that you will restore in a later step. For example, if the server was at version 6.2.2.0 before the upgrade, and you intend to use the database backup that was in use on this server, you must install the 6.2.2.0 fix pack to be able to restore the database backup. 5. Copy the following files to the directory for server information. v Device configuration file v Volume history file
Copyright IBM Corp. 1993, 2011
73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
v The server options file (typically dsmserv.opt) 6. If you are reverting to a version at or earlier than 6.1.2, complete the following steps. a. Locate the instance file: Instance.dat in the Tivoli Storage Manager server installation directory b. Recreate each of the instances in the instance file by issuing the db2icrt command:
installation_directory \db2\instance\db2icrt InstanceName -s ese u InstanceUser,password
c. Recreate the variables in the instance file by issuing the db2set -i command. Issue this command for each variable in your instance file. Ensure that the variable is in quotation marks:
installation_directory\db2\instance\db2set i InstanceName "Variable"
7. Format the database by using the DSMSERV FORMAT utility. For details, see the information for the version of the server that you are reinstalling. Information for Version 6.2 is available at this information center: http://publib.boulder.ibm.com/infocenter/tsminfo/v6r2. Information for Version 6.1 is available at this information center: http://publib.boulder.ibm.com/infocenter/tsminfo/v6. 8. Restore the database using the backup that was created in the preparation steps before the upgrade. 9. If you enabled data deduplication for any FILE-type storage pools that existed before the upgrade, or if you moved data that existed before the upgrade into new storage pools while using the Version 6.3 server, you must perform additional recovery steps. For more details, refer to Additional recovery steps if you created new storage pools or enabled data deduplication on page 75. 10. If the REUSEDELAY parameter setting on storage pools is less than the age of the database that you restored, restore volumes on any sequential-access storage pools that were reclaimed after that database backup. Use the RESTORE VOLUME command. If you do not have a backup of a storage pool, audit the reclaimed volumes by using the AUDIT VOLUME command, with the FIX=YES parameter to resolve inconsistencies. For example:
audit volume volume_name fix=yes
11. If client backup or archive operations were performed using the Version 6.3 server, audit the storage pool volumes on which the data was stored. 12. If you were using active-data pools before upgrading to Version 6.3, you must recreate them. The amount of time required to recreate the active-data pools might be significant, depending on the number and size of the active-data pools to be recreated.
74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Additional recovery steps if you created new storage pools or enabled data deduplication
If you created new storage pools, enabled data deduplication for any FILE-type storage pools, or did both while your server was running as a Version 6.3 server, you must complete additional steps to return to the previous server version. To complete this task, you must have a complete backup of the storage pool, which must have been created before the upgrade to Version 6.3. Use this information if you did either or both of the following actions while your server was running as a Version 6.3 server: v You enabled the data deduplication function for any storage pools that existed before the upgrade to Version 6.3 program. Data deduplication applies only to storage pools that use a FILE device type. v You created new, primary storage pools after the upgrade, and moved data that had been stored in other storage pools into the new storage pools. Perform these steps after the server is again restored to V6.1 or V6.2. v For each storage pool for which you enabled the data deduplication function, restore the entire storage pool by using the RESTORE STGPOOL command. v For storage pools that you created after the upgrade, determine what action to take. Data that was moved from existing, V6.1 or V6.2 storage pools into the new storage pools might be lost because the new storage pools no longer exist in your restored V6.1 or V6.2 server. Possible recovery depends on the type of storage pool: If data was moved from V6.1 or V6.2 DISK-type storage pools into a new storage pool, space that was occupied by the data that was moved was probably reused. Therefore, you must restore the original, V6.1 or V6.2 storage pools, by using the storage pool backups that were created before the upgrade to Version 6.3. If no data was moved from V6.1 or V6.2 DISK-type storage pools into a new storage pool, then audit the storage pool volumes in these DISK-type storage pools. If data was moved from V6.1 or V6.2 sequential-access storage pools into a new storage pool, that data might still exist and be usable in storage pool volumes on the restored V6.1 or V6.2 server. The data might be usable if the REUSEDELAY parameter for the storage pool was set to a value that prevented reclamation while the server was running as a Version 6.3 server. If any volumes were reclaimed while the server was running as a Version 6.3 server, restore those volumes from storage pool backups that were created before the upgrade to Version 6.3.
75
76
To use the console to uninstall Tivoli Storage Manager, enter this command:
"Uninstall Tivoli Storage Manager.exe" -i console
3. Follow the prompts to uninstall Tivoli Storage Manager. v To uninstall Tivoli Storage Manager using silent mode with a batch script, complete the following steps: Tip: If you do not use a batch script, this uninstallation method immediately closes the foreground window and runs in the background. You will not receive a return code. 1. Create a file and name it uninstall.bat. The file name must end with .bat, not .bat.txt. 2. Type this command into the uninstall.bat file and save it:
"Uninstall Tivoli Storage Manager.exe" -i silent
77
4. If you are using a command prompt, after the uninstallation is complete, issue the following command to retrieve the return code:
echo %ERRORLEVEL%
See Chapter 2, Installing the Tivoli Storage Manager server components, on page 25 for Tivoli Storage Manager Version 6.3 installation steps to reinstall the components.
Keep a record of the database path for each instance. 3. Uninstall Tivoli Storage Manager. See Chapter 7, Uninstalling Tivoli Storage Manager, on page 77. After uninstalling Tivoli Storage Manager, check the Control Panel > Add or Remove Programs to verify that Tivoli Storage Manager DB2 is uninstalled. 4. When you uninstall any version of Tivoli Storage Manager 6.1 or later, including a fix pack, an instance file is created. The instance file is created to help reinstall Tivoli Storage Manager. Check this file and use the information when you are prompted for the instance credentials when reinstalling. In silent installation mode, you provide these credentials using the INSTANCE_CRED variable. You can find the instance file in the following location: Instance.dat in the Tivoli Storage Manager server installation directory 5. Reinstall Tivoli Storage Manager. See Chapter 2, Installing the Tivoli Storage Manager server components, on page 25. 6. Recreate your server instances. See Creating the server instance on page 39. Tip: The installation wizard configures the server instances but you must verify that they exist. If they do not exist, you must manually configure them. 7. Catalog the database. Log in to each server instance as the instance user, one at a time, and issue the following commands:
78
db2instance=server1 catalog database tsmdb1 attach to server1 update dbm cfg using dftdbpath instance_drive detach
8. Verify that Tivoli Storage Manager recognizes the server instance by listing your directories. Your home directory appears if you did not change it. Your instance directory does appear if you used the configuration wizard. Issue this command:
db2 list database directory
79
80
Part 2. Installing and upgrading Tivoli Monitoring for Tivoli Storage Manager
Install and upgrade Tivoli Monitoring for Tivoli Storage Manager.
81
82
| | | | | | |
Report A should be generated using criteria A,B, and C. Reports B and C should A should be generReport be run 4 times daily. ated using criteria A,B, and Report C. Reports B and C should A should be generReports E and F should run 4 times daily. ated using criteria A,B, and be be terminated after one hour. C. Reports B and C should Report A should be generbe Reports E and F should run 4 times daily. ated using criteria A,B, and Reports G and H should be be terminated after one hour. C. mailed to personnel S, T, Reports E and F should Reports B and C should A should be generReport be run and K. be terminated after one hour. 4 times daily. ated using criteria A,B, and Reports G and H should be mailed to personnel S, T, C. Reports E and F should Reports B and C should A should be generReports G and H should be and K. be run 4 times daily. Report ated using criteria A,B, and mailed to personnel S,be terminated after one hour. T, C. and K. Reports E and F should Reports B and C should Reports G and H should be be run 4 times daily. mailed to personnel S,be terminated after one hour. T, and K. Reports E and F should Reports G and H should be mailed to personnel S,be terminated after one hour. T, and K. Reports G and H should be mailed to personnel S, T, and K.
Report on Monitoring Machine A is functioning at a Report on Monitoring B level. Machine A is functioning at a Report on Monitoring Machine B is functioning at a B level. B level with some issues. functioning at a Machine A is Machine B is functioning at a B level. There are two with some that B level machines issues. need immediate attention.functioning at a Machine B is There are two with some that B level machines issues. Machine C needs maintenenc need immediate attention. Machine D is terminal. two machines that There are Machine C needs maintenenc need immediate attention. Machine D is terminal. Machine C needs maintenenc Machine D is terminal.
Historical reports
DB2 database
| | |
Figure 1. Tivoli Monitoring for Tivoli Storage Manager components that provide the reporting and monitoring capabilities
83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
To build a system that can monitor data and produce reports, complete the following tasks: 1. Install Tivoli Monitoring for Tivoli Storage Manager, which includes these components: v DB2 v IBM Tivoli Monitoring, which includes: Tivoli Enterprise Portal server Tivoli Data Warehouse Tivoli Enterprise Monitoring server Summarization Pruning agent Warehouse Proxy agent Tivoli Monitoring for Tivoli Storage Manager agent Note: If you plan to monitor more than five Tivoli Storage Manager servers, you must install an agent on each of the servers that you intend to monitor. If you intend to monitor more than five servers, install additional agents. Otherwise, you can use the agent that was installed as part of the installation package. 3. Create and configure the agent instance to point to the Tivoli Storage Manager servers that you want to monitor. 4. To view historical reports, install the Administration Center, including the Tivoli Common Reporting component. 2. Note: The Administration Center, Tivoli Monitoring for Tivoli Storage Manager, and the monitoring agents must all be at version 6.3, but can be used to monitor any V5.4 - V6.3 Tivoli Storage Manager server. Related tasks Installing using the installation wizard on page 93 Chapter 10, Installing and configuring the Administration Center, on page 113 Creating and configuring the agent instance on page 95
Planning to install
Be sure to review all applicable planning information, including system requirements, capacity planning, and installation scenarios, before installing. Before you install the software, complete these tasks: Choose an installation scenario that best suits your needs. Read the system requirements that are required for your operating system. Review the capacity planning information. Review the installation work sheet and note the user IDs, passwords, and other values that are required during installation. 5. Optional: Run the prerequisite checker to verify the readiness of your installation environment. 1. 2. 3. 4. You must install the Administration Center, including the Tivoli Common Reporting component, on the same system where you installed Tivoli Monitoring for Tivoli Storage Manager. You can install either one first, but you must select the Tivoli Common Reporting component during the Administration Center installation.
84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
If you installed the Administration Center without the Tivoli Common Reporting component, you must rerun the Administration Center installer to install the Tivoli Common Reporting component and to view historical reports. Install the Administration Center and Tivoli Monitoring for Tivoli Storage Manager on a system that is different than the system where the Tivoli Storage Manager server is installed. Note: The Administration Center, Tivoli Monitoring for Tivoli Storage Manager, and the monitoring agents must all be at version 6.3, but can be used to monitor any V5.4 - V6.3 Tivoli Storage Manager server.
Installation scenarios
Before installing Tivoli Monitoring for Tivoli Storage Manager, choose the scenario that best meets the needs of your company.
Table 19. Installation scenarios Scenario Number Scenario 1 Description Use this scenario for a new installation with a plan to monitor and report on 1-5 Tivoli Storage Manager servers. Tasks that you must complete Perform all the tasks in this scenario on the same system: 1. Install Tivoli Monitoring for Tivoli Storage Manager. The approximate installation time is 45 - 90 minutes, depending on the speed of your system. 2. Configure the agent instance that was installed as part of the Tivoli Monitoring for Tivoli Storage Manager installation package. The approximate configuration time is 10 minutes. 3. Install the Administration Center on the same system as the Tivoli Monitoring for Tivoli Storage Manager. Ensure that you select the Tivoli Common Reporting component during installation. The approximate installation time is 45 - 90 minutes, depending on the speed of your system. Notes: 1. You cannot install IBM Tivoli Monitoring for Tivoli Storage Manager on the same system where Tivoli Storage Manager server is installed. 2. However, you can install the monitoring agent on any remote Tivoli Storage Manager server that you want to monitor, even if you intend to monitor less than 5 servers.
85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Table 19. Installation scenarios (continued) Scenario Number Scenario 2 Description Use this scenario for a new installation with a plan to monitor and report on more than 5 Tivoli Storage Manager servers. Tasks that you must complete 1. Install Tivoli Monitoring for Tivoli Storage Manager. The approximate installation time is 45 - 90 minutes, depending on the speed of your system. 2. Install additional agents on each Tivoli Storage Manager server that you want to monitor, and configure your agents to point to the Tivoli Enterprise Monitoring server host installed in Step 1. The approximate installation time is 15 - 30 minutes per additional agent, and 10 minutes additional configuration time per agent. 3. Install the Administration Center on the same system as the Tivoli Monitoring for Tivoli Storage Manager. Ensure that you select the Tivoli Common Reporting component during the installation. The approximate installation time is 45 - 90 minutes, depending on the speed of your system. Notes: 1. You cannot install IBM Tivoli Monitoring for Tivoli Storage Manager on the same system where Tivoli Storage Manager server is installed. 2. However, you can install the monitoring agent on any remote Tivoli Storage Manager server that you want to monitor, even if you intend to monitor less than 5 servers.
86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Table 19. Installation scenarios (continued) Scenario Number Scenario 3 Description Use this scenario when you install the software into an existing IBM Tivoli Monitoring environment with a plan to monitor up to 5 Tivoli Storage Manager servers. Tasks that you must complete Prerequisite: You must have IBM Tivoli Monitoring version 6.2.2 FP2 installed. 1. Install the new agent on the IBM Tivoli Monitoring server where Tivoli Enterprise Monitoring server and Tivoli Enterprise Portal server are installed. During the agent installation, you must specify the same directory that you did when you installed IBM Tivoli Monitoring. The approximate installation time is 15 30 minutes per additional agent, and 10 minutes additional configuration time per agent. 2. Configure each agent. Notes: 1. You cannot install IBM Tivoli Monitoring for Tivoli Storage Manager on the same system where Tivoli Storage Manager server is installed. 2. However, you can install the monitoring agent on any remote Tivoli Storage Manager server that you want to monitor, even if you intend to monitor less than 5 servers. Scenario 4 Use this scenario when you install the software into an existing IBM Tivoli Monitoring environment with a plan to monitor more than 5 Tivoli Storage Manager servers. Prerequisite: You must have IBM Tivoli Monitoring version 6.2.2 FP2 installed. 1. Install the new agent on the Tivoli Storage Managerserver that you want to monitor and configure the agent instance to point to the system where the Tivoli Enterprise Monitoring server and Tivoli Enterprise Portal server are installed. During the agent installation, you must specify the same directory that you did when you installed IBM Tivoli Monitoring. The approximate installation time is 15 30 minutes per additional agent, and 10 minutes additional configuration time per agent. 2. Configure each agent. Notes: 1. You cannot install IBM Tivoli Monitoring for Tivoli Storage Manager on the same system where Tivoli Storage Manager server is installed. 2. However, you can install the monitoring agent on any remote Tivoli Storage Manager server that you want to monitor, even if you intend to monitor less than 5 servers.
Chapter 8. Installing Tivoli Monitoring for Tivoli Storage Manager
87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Related tasks Installing using the installation wizard on page 93 Related reference Installation work sheet on page 91
System requirements
There are hardware and software requirements your system must meet before you install Tivoli Monitoring for Tivoli Storage Manager on a Windows system.
Hardware requirements
These tables list the minimum hardware and software requirements needed to install Tivoli Monitoring for Tivoli Storage Manager. Use these requirements as a starting point, but you can find the latest information at http://www.ibm.com/ support/docview.wss?uid=swg21425842. Table 20 describes the hardware requirements for the Tivoli Monitoring for Tivoli Storage Manager.
Table 20. Hardware requirements Type of hardware Hardware Hardware requirements v Dual core Intel Pentium compatible processor or multiprocessor-based computer with a 2 GHz or greater processor v Network interface card v Remote registry service must be enabled. For more information visit the Microsoft website. Disk space v 10 GB free space in the home directory where the warehouse data is stored (minimum). v 30 GB free disk space (minimum). Requirements increase as historical data is gathered and stored in Tivoli Data Warehouse. Memory v 3 GB minimum v If Tivoli Storage Manager monitoring agents are installed on the IBM Tivoli Monitoring server, memory requirements increase quickly as the number of Tivoli Storage Manager servers are monitored from that one IBM Tivoli Monitoring server. v If a Tivoli Storage Manager monitoring agent is installed on a Tivoli Storage Manager server, there is only a single instance of the agent running on the Tivoli Storage Manager server and no increases in memory requirements are needed by the IBM Tivoli Monitoring server.
88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Table 20. Hardware requirements (continued) Type of hardware Monitor Hardware requirements Set your monitor resolution to 1024 x 768 (minimum) to view the entire window.
Software requirements
Table 21 describes the minimum software requirements for Tivoli Monitoring for Tivoli Storage Manager.
Table 21. Software requirements Type of software Operating system Minimum software requirements v Windows 2008 x86 32-bit v Windows 2008, 2008 R2 x64 Important: If you are installing a Tivoli Monitoring for Tivoli Storage Manager agent, and you previously installed an IBM Tivoli Monitoring server, you must install the Tivoli Monitoring for Tivoli Storage Manager agent on the existing Tivoli Enterprise Monitoring server. Tivoli Monitoring for Tivoli Storage Manager can only be used with IBM Tivoli Monitoring, version 6.2 FP1 or later. Web browser A web browser is required to use the Tivoli Common Reporting interface. Access Tivoli Common Reporting and the Administration Center with the Tivoli Integrated Portal. The browser can be installed on the same or separate system. The following browsers can be used: v Microsoft Internet Explorer 6.x v Microsoft Internet Explorer 7 v Microsoft Internet Explorer 8 v Firefox version 3.5 v Firefox version 3.6 cannot be used with Windows Server 2008 IBM Java version 5 is required to start Tivoli Enterprise Portal. Oracle Java is not supported. If the Common Reporting portlet is blank when opened in Internet Explorer 7, the default security settings might be too restrictive. Complete these steps to modify the security settings: 1. In an Internet Explorer version 7 window, click Tools > Internet Options, and on the Security tab, click Custom level. 2. Locate the Miscellaneous category, disable the Access data sources across domains option, and click OK to apply the changes. Tip: If your browser still does not display correctly, consider using a different browser. To avoid potential compatibility issues with web browsers you can view the Tivoli Enterprise Portal remotely using the Java Web Start applet: 1. Connect to http://hostname:1920. 2. Click IBM Tivoli Enterprise Portal Webstart Client to start the Java Web Start client. 3. Optionally create a desktop shortcut to launch the Tivoli Enterprise Portal in the future.
89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Table 21. Software requirements (continued) Type of software Minimum software requirements
Communication You must have at least one of the following communication protocols: Protocol v Named Pipes v TCP/IP Version 4 or Version 6 X Window System or X11 GUI Other software You must have an X11 Windows server running.
Eclipse 3.3 and Business Intelligence and Reporting Tools (BIRT), version 2.2.1 are required for creating custom BIRT reports.
Related tasks Capacity planning Running the prerequisite checker on page 93 Installing using the installation wizard on page 93 Related reference Installation work sheet on page 91
Capacity planning
Planning for Tivoli Monitoring for Tivoli Storage Manager includes determining how many servers that you want to monitor, how many agents and agent instances are required, and how much memory, and space is necessary for growth over time. The following list provides planning guidelines so you can anticipate the growth of your system over time, depending on how many agents are in your environment: v Each agent instance running on any server, whether it is a Tivoli Storage Manager agent or a Tivoli Monitoring for Tivoli Storage Manager requires approximately 150 MB of memory. v Each agent instance running on any server, whether it is a Tivoli Storage Manager agent, or a Tivoli Monitoring for Tivoli Storage Manager, requires up to 15% CPU resources during data collection. v During a one year period, the data WAREHOUS can grow to approximately 500 GB for each Tivoli Storage Manager server that is being monitored using the installation defaults. This value depends on the number of nodes backing up and archiving to that server, and the frequency that backups are occurring. Enabling pruning on the monitoring server can reduce that amount by approximately 50 percent. Related tasks Running the prerequisite checker on page 93 Related reference Installation work sheet on page 91
90
| | | |
91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Table 22. Tivoli Monitoring for Tivoli Storage Manager installation work sheet
Item DB2 user IDs db2admin Description Database administrator This is the Tivoli Data Warehouse user name and password. This user has permission to perform all the administrative tasks in DB2. encryption key The encryption key must be the same for all agents accessing the Tivoli Enterprise Monitoring server. Tivoli Enterprise Portal user name and password. User name: Password: Default value* db2admin Your value
The password must meet the password complexity requirements of the security policy.
IBMTivoliMonitoringEncryptionKey Must be exactly 32 characters in length. Valid characters are A-Z, a-z, 0-9, @ and #. User name: sysadmin Password: The password must meet the password complexity requirements of the security policy.
sysadmin
ITMUser
Tivoli Data Warehouse user name and password. This user has access to read the information from the WAREHOUS database.
ITMuser
The password must meet the password complexity requirements of the security policy.
Instance name
You can specify the name of the agent instance. If you intend to monitor more than one Tivoli Storage Manager server, you will need agent instance names for all instances. This is the group that the DB2 instance user ID belongs to. You can specify which directory that you The default value is /home. want to store the DB2 instance information. This is where the database is stored by default. If you specify /home, the instance information is stored in /home/db2inst1. If you specify /information/db2, the instance information is stored in /information/db2/db2inst1. Ensure that there is enough space available in this directory and that the directory has write-access.
DB2 port
The default port number is: 50000. Valid port numbers are 1024 - 65535.
*Best practices are to use the default values listed here. If you change these values ensure that you document them because they are needed later.
Related tasks Running the prerequisite checker on page 93 Installing using the installation wizard on page 93 Capacity planning on page 90
92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Or, double-click the prereqcheck.exe file. v Issue this command to start the installation wizard using the console method:
prereqcheck.exe -i console
3. Select the language for the prerequisite checker user interface. 4. In the welcome and disclaimer panels, review the statements and accept them. If an error message is shown in the Prerequisite Results page, make the required corrections before continuing with the installation. The summary page lists the errors and directs you to an error log file. Related tasks Installing using the installation wizard
93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
v If you are installing using the DVD, insert the DVD into a DVD drive, navigate to that drive, and click the install.exe file to begin the installation wizard. Tip: You can run the prereqcheck.exe file to ensure that your system meets all requirements. v You can also download the program from the Passport Advantage site or the Tivoli Storage Manager FTP downloads site at ftp://public.dhe.ibm.com/ storage/tivoli-storage-management/maintenance/, and complete these steps to start the installation wizard: a. Verify that the executable file is in the directory where you want the extracted files to be located, and that there is enough space to store the installation files when they are extracted. For space requirements see the Passport Advantage download document. Important: 1) Extract the installation files to an empty directory. Do not extract to a directory that contains previously extracted files, or any other files. 2) Ensure that there are no spaces, and no non-ASCII characters in the file name or path. 3) Use short path names for the directory to avoid problems with the 255 character path limit on Windows systems. For example: C:\tsm_images. b. Navigate to the directory where you placed the executable or package file, and extract the installation files. c. Locate the prereqcheck.exe file, and run it to ensure that your system meets all requirements. d. Double-click the install.exe file, and follow the wizard instructions to complete the installation. Tips: a. If you are installing into an existing IBM Tivoli Monitoring environment, you must specify the existing IBM Tivoli Monitoring instance directory. The default directory is C:\IBM. b. You cannot change the installation directory after you click Next. You must uninstall and begin again to change the installation directory. c. If there were any errors during the installation, the summary page lists the errors and directs you to an error log file. If you installed using the default directory, the log file can be found at: C:\IBM\logs.txt. d. The logs.zip file contains all of the installation log files for or all of the different components, and can be found at: install_dir/. For example, C:\IBM\logs.zip, if you installed using the default directory. After you have completed the installation, you must install the Administration Center, including the Tivoli Common Reporting component. See Chapter 10, Installing and configuring the Administration Center, on page 113. While the Administration Center installation is running, you can create and configure the agent instance. See Creating and configuring the agent instance on page 95.
94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Related tasks Running the prerequisite checker on page 93 Chapter 10, Installing and configuring the Administration Center, on page 113 Creating and configuring the agent instance
95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
This configuration provides the most efficient use of memory on both the Tivoli Storage Manager server, and the IBM Tivoli Monitoring server. Related tasks Creating and configuring the agent instance on Windows systems Next steps after creating and configuring the agent instance on page 97
96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Manage Tivoli Monitoring Services window, select the Tivoli Enterprise Portal server, right-click and select stop, wait for it to stop, and then right-click and select Start. Related tasks Next steps after creating and configuring the agent instance
where port is the port number specified when you installed the Tivoli Integrated Portal. The default port is 16311. b. Navigate to Reporting > Common Reporting > Work with Reports > Public Folders > Tivoli Products > Tivoli Storage Manager. 3. Optional: After you determine that you are successfully collecting data, you can review the pruning and retention values to ensure that they are appropriate for your organization. Pruning can significantly reduce the size of your database, in some cases by as much as 50 percent. a. Log in to the Tivoli Enterprise Portal. b. From the main menu, click Edit > History Configuration > Tivoli Storage Manager. c. Highlight the rows containing the groups that you want to modify. The summarization and pruning fields below the table become active. d. Select the summarization and pruning values that you want to modify, specify how long you want to keep the data, and click OK. The following table is one example of a modified pruning setup.
97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Table 23. Example of a modified pruning setup in the Configuration Controls Summarization value Yearly Quarterly Monthly Weekly Daily Hourly Pruning value Yearly Quarterly Monthly Weekly Daily Hourly Detailed data Specify a numeric value 3 4 12 31 7 1 31 Years, months, days Years Months Months Days Days Days Days
These settings are only examples. Your selections can vary depending on the data that you collect, how often you collect it, how long you keep it, and how often you prune it. To test the data that is being collected, start with a short interval. After you are sure that the data is being collected correctly, you can adjust the collection interval and pruning values to suit the needs or your company. Depending on the intervals that you chose, it can be a few days before your data is available for reports. Remember: Pruning removes data that is older than a specified time range. You cannot run reports on data that was removed through pruning. For additional information about running BIRT reports, or creating customized Cognos reports, see the section about monitoring operations in the Administrator's Guide. If you experience issues with your installation such as data not displaying in your reports, or other issues, review the information in the Problem Determination Guide about resolving problems with Tivoli Monitoring for Tivoli Storage Manager.
98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Restriction: You can only use Tivoli Monitoring for Tivoli Storage Manager with the IBM Tivoli Monitoring, version 6.2.2 FP2, or later. See the system requirements for your platform for additional requirements. Related tasks Installing monitoring agents on Tivoli Storage Manager servers Installing monitoring agents on existing IBM Tivoli Monitoring servers on page 100 Installing monitoring agents and application support files on existing IBM Tivoli Monitoring servers on page 101
99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Important: Do not use a domain ID to install or configure agents. The Windows user ID that you use when installing must be a local ID with Administrator privileges, and cannot be a domain ID. Restriction: You can only use Tivoli Monitoring for Tivoli Storage Manager with the IBM Tivoli Monitoring, version 6.2.2 FP2, or later. See the system requirements for your platform for additional requirements. To install the agent in an existing Tivoli Monitoring environment, complete these steps: 1. Start the installation wizard from the DVD or package file. 2. Accept the license agreement and click Next. 3. On the Component Selection page, select Tivoli Monitoring for Tivoli Storage Manager agent, and click Next. 4. Follow the wizard instructions to specify the installation location, language, and encryption key. For each agent that you install, you must specify the same encryption key that you entered during installation of the monitoring server. The default encryption key is: IBMTivoliMonitoringEncryptionKey. Requirement: If you are installing into an existing IBM Tivoli Monitoring environment, you must choose the same directory where IBM Tivoli Monitoring is installed. For example, if you installed IBM Tivoli Monitoring in the /opt/IBM/ITM directory, then you must specify /opt/IBM/ITM as the destination folder for this installation. 5. You are presented with the installation summary of your configuration. Select one of the following tasks: v Click Next to start the installation. v Click Previous to make corrections or changes. At the end of the installation, the Installation Results page displays. If there were any errors during the installation, the summary panel lists the errors and directs you to an error log file. 6. Click Finish. After you install the agent, you must create and configure the agent instance. See Creating and configuring the agent instance on page 95.
100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Installing monitoring agents and application support files on existing IBM Tivoli Monitoring servers
If you have an existing IBM Tivoli Monitoring system that does not have Tivoli Monitoring for Tivoli Storage Manager installed, you must run the agent-only installation wizard, which installs the agent application support files, to monitor Tivoli Storage Manager servers. Important: Do not use a domain ID to install or configure agents. The Windows user ID that you use when installing must be a local ID with Administrator privileges, and cannot be a domain ID. Restriction: You can only use Tivoli Monitoring for Tivoli Storage Manager with the IBM Tivoli Monitoring, version 6.2.2 FP2, or later. See the system requirements for your platform for additional requirements. In this procedure, you complete the following tasks for an existing IBM Tivoli Monitoring system that does not have Tivoli Monitoring for Tivoli Storage Manager installed: v Install the monitoring agent on the Tivoli Storage Manager servers that you want to monitor, and configure it to point to the existing IBM Tivoli Monitoring server. See Installing monitoring agents on Tivoli Storage Manager servers on page 99. v Install the Tivoli Monitoring for Tivoli Storage Manager Agent only package files on the existing IBM Tivoli Monitoring server, to obtain the necessary application support files. Important: You must install the application support files using the Tivoli Monitoring for Tivoli Storage Manager agent only installation wizard. You cannot simply copy the files directly from the package. Complete these steps to install the agent-only package, which includes the application and support files: 1. Start the installation wizard from the DVD or package file. 2. Accept the license agreement and click Next. 3. On the Component Selection page, select Tivoli Monitoring for Tivoli Storage Manager agent, and click Next. 4. Follow the wizard instructions to specify the installation location, language, and encryption key. For each agent that you install, you must specify the same encryption key that you entered during installation of the monitoring server. The default encryption key is: IBMTivoliMonitoringEncryptionKey. Requirement: If you are installing into an existing IBM Tivoli Monitoring environment, you must choose the same directory where IBM Tivoli Monitoring is installed. For example, if you installed IBM Tivoli Monitoring in the /opt/IBM/ITM directory, then you must specify /opt/IBM/ITM as the destination folder for this installation. 5. You are presented with the installation summary of your configuration. Select one of the following tasks: v Click Next to start the installation. v Click Previous to make corrections or changes. At the end of the installation, the Installation Results page displays. If there were any errors during the installation, the summary panel lists the errors and directs you to an error log file.
Chapter 8. Installing Tivoli Monitoring for Tivoli Storage Manager
101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
6. Click Finish. Note: You do not have to create and configure an agent instance on the existing IBM Tivoli Monitoring server. Therefore, performance is not impacted by the installation of the agent on the IBM Tivoli Monitoring server.
102
| | | | | | | | | | | | | | | | | | | |
3. Choose one of these uninstallation methods: v To uninstall using the graphical interface click Start > Control Panel > Programs > Programs and Features, select IBM Tivoli Monitoring for Tivoli Storage Manager, and follow the menus to uninstall the software. v To uninstall using the command-line interface, open a command prompt window, navigate to installation_directory\_uninst directory, and issue the uninstall.exe command. The installation_directory is the location you selected to install Tivoli Monitoring for Tivoli Storage Manager. For example: C:\IBM\_uninst. If IBM Tivoli Monitoring for Tivoli Storage Manager no longer displays in the Programs menu, but you still have some of the components on your system, you can manually remove those components: v Click Start > Control Panel > Add / Remove Programs > IBM Tivoli Monitoring > Change/Remove, and follow the prompts. v To remove the agent select IBM Tivoli Monitoring for storage > Change/Remove, and follow the prompts. v To remove DB2 select DB2 Enterprise Server Edition - DBCOPY1 > Change/Remove, and follow the prompts. v Remove the installation directory. For example: C:\IBM. v Restart your system.
103
104
Chapter 9. Upgrading Tivoli Monitoring for Tivoli Storage Manager to Version 6.3
You can upgrade Tivoli Monitoring for Tivoli Storage Manager from V6.1 and V6.2 to V6.3. | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Upgrade scenarios
Before upgrading Tivoli Monitoring for Tivoli Storage Manager, choose the scenario that best meets the needs of your company.
Table 24. Upgrade scenarios Upgrade scenario number Scenario 1
Description Use this scenario for an upgraded installation, with a plan to monitor and report on 1-5 Tivoli Storage Manager servers.
Tasks that you must perform Perform all of the tasks in this scenario on the same system: 1. Install Tivoli Monitoring for Tivoli Storage Manager. The approximate installation time is 45 - 90 minutes, depending on the speed of your system. 2. Configure the agent instance that was installed as part of the IBM Tivoli Monitoring for Tivoli Storage Manager installation package. The approximate configuration time is 10 minutes. 3. Install the Administration Center on the same system as the Tivoli Monitoring for Tivoli Storage Manager server. Ensure that you select the Tivoli Common Reporting component during installation. The approximate installation time is 45 - 90 minutes, depending on the speed of your system. Notes: 1. You cannot install IBM Tivoli Monitoring for Tivoli Storage Manager on the same system where Tivoli Storage Manager server is installed. 2. However, you can install the monitoring agent on any remote Tivoli Storage Manager server that you want to monitor, even if you intend to monitor less than 5 servers.
105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Description Use this scenario for an upgraded installation, with a plan to monitor and report on more than 5 Tivoli Storage Manager servers.
Tasks that you must perform 1. Install Tivoli Monitoring for Tivoli Storage Manager. The approximate installation time is 45 - 90 minutes. 2. Install additional agents on each Tivoli Storage Manager server, and configure your agents to point to the Tivoli Enterprise Monitoring server host installed in Step 1. The approximate installation time is 15 - 30 minutes per additional agent, an 10 minutes additional configuration time per agent. 3. Install the Administration Center on the same system as the Tivoli Monitoring for Tivoli Storage Manager server. Ensure that you select the Tivoli Common Reporting component during installation. The approximate installation time is 45 - 90 minutes, depending on the speed of your system. Notes: 1. You cannot install IBM Tivoli Monitoring for Tivoli Storage Manager on the same system where Tivoli Storage Manager server is installed. 2. However, you can install the monitoring agent on any remote Tivoli Storage Manager server that you want to monitor, even if you intend to monitor less than 5 servers.
Scenario 3
Use this scenario for upgrading an existing IBM Tivoli Monitoring environment, with a plan to monitor up to 5 Tivoli Storage Manager servers.
Prerequisite: You must have IBM Tivoli Monitoring version 6.2.2 FP2 installed. Install the new agent on the IBM Tivoli Monitoring server where Tivoli Enterprise Monitoring server and Tivoli Enterprise Portal server are installed. During the agent installation, you must specify the same directory as you did when you installed IBM Tivoli Monitoring. Configure each agent. Notes: 1. You cannot install IBM Tivoli Monitoring for Tivoli Storage Manager on the same system where Tivoli Storage Manager server is installed. 2. However, you can install the monitoring agent on any remote Tivoli Storage Manager server that you want to monitor, even if you intend to monitor less than 5 servers.
106
| | | | | | |
107
| | | | | | | |
2) Ensure that there are no spaces, and no non-ASCII characters in the file name or path. 3) Use short path names for the directory to avoid problems with the 255 character path limit on Windows systems. For example: C:\tsm_images. b. Navigate to the directory where you placed the executable or package file, and extract the installation files. c. Locate the prereqcheck.exe file, and run it to ensure that your system meets all requirements. d. Double-click the install.exe file, and follow the wizard instructions to complete the installation. Tips: a. If you are installing into an existing IBM Tivoli Monitoring environment, you must specify the existing IBM Tivoli Monitoring instance directory. The default directory is C:\IBM. b. You cannot change the installation directory after you click Next. You must uninstall and begin again to change the installation directory. c. If there were any errors during the installation, the summary page lists the errors and directs you to an error log file. If you installed using the default directory, the log file can be found at: C:\IBM\logs.txt. d. The logs.zip file contains all of the installation log files for or all of the different components, and can be found at: install_dir/. For example, C:\IBM\logs.zip, if you installed using the default directory. After you complete the upgrade, you must install the Version 6.3 Administration Center, including the Tivoli Common Reporting component. See Chapter 10, Installing and configuring the Administration Center, on page 113. Remember: The data source and all previous reports are overwritten during the Administration Center installation. If you customized any BIRT or Cognos reports that you want to save, you must export them before you install the Administration Center. After the installation is complete, you can import the customized reports. While the Administration Center installation is running, you can create and configure the agent instance. See Creating and configuring the agent instance on page 95.
| | |
| | | | | | | | | | |
108
| | | | | | |
Tip: You can also right-click, and select Stop, or click the stoplight icon at the top of the page. 3. Install a version 6.3 monitoring agent on the remote Tivoli Storage Manager that you want to monitor, or on an existing IBM Tivoli Monitoring system. For details see Installing additional agents. 4. Return to the Manage Tivoli Enterprise Monitoring Services window, select each monitoring agent instance, right-click, and select Start.
109
110
111
112
113
Or, double-click the prereqcheck.exe file. v Issue this command to start the installation wizard using the console method:
prereqcheck.exe -i console
3. Select the language for the prerequisite checker user interface. 4. In the welcome and disclaimer panels, review the statements and accept them. If the Prerequisite Results page indicates that your system passed the checks, you are ready to start the installation.
114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Item Installation location
If an error message is shown in the Prerequisite Results page, make the required corrections before continuing with the installation. The summary page lists the errors and directs you to an error log file. If you used the default directory, the log file can be found at this location: The installation directory; look for the file prereqcheck.log
Port number: 5129 Time interval: 24 hours Operation save time: 14 days
115
| | | | | | | | | | | | | | | |
| | | | | |
where platform denotes the operating system that the Administration Center is to be installed on. 3. Optional: After all the files have been extracted, locate this file and run it to ensure that your system meets all requirements: prereqcheck.exe See Running the installation prerequisite checker on page 6 for details. 4. Ensure that there are no processes using install_dir/tipv2/java. To check, issue this command:
116
Use a process monitor or explorer tool. 5. Select one of the following ways to install the Administration Center: Installation wizard Installing the Administration Center using the installation wizard Command-line console wizard Installing the Administration Center using the console installation wizard on page 118 Silent mode Installing the Administration Center in silent mode on page 118
Or, double-click the install.exe file. The Administration Center installation wizard starts. 2. Select the language for your installation and follow the prompts. Tivoli Integrated Portal, the Administration Center, and the Client Performance Monitor are installed by default. The default Tivoli Integrated Portal user name is tipadmin. You must specify a password for this ID, or for a new ID you create. You use the ID and password later to log on to the Tivoli Integrated Portal and the Administration Center. Important: Save the user name and password or you are unable to uninstall the Administration Center. At the end of the installation, a summary is provided. Make a note of the port number that is listed in the summary panel. It might be different from the one that you entered in the wizard, depending on port availability and your system requirements. You need this port to log on to the Administration Center. | | | | Tip: A file named TSM_Administration_Center.htm is created in the Administration Center installation directory. Open this file in a web browser to automatically connect to the Administration Center. A desktop shortcut is also created for this file. If there are any errors during the installation, another summary page lists the errors and directs you to an error log file. The installation log is stored in this location: The directory that was chosen for installation (look for the file log.txt).
117
2. Select the language for your installation and follow the prompts. Tivoli Integrated Portal, the Administration Center, and the Client Performance Monitor are installed by default. The default Tivoli Integrated Portal user name is tipadmin. You must specify a password for this ID, or for a new ID you create. You use the ID and password later to log on to the Tivoli Integrated Portal and the Administration Center. Important: Save the user name and password or you are unable to uninstall the Administration Center. At the end of the installation, a summary is provided. Make a note of the port number that is listed in the summary panel. It might be different from the one that you entered in the wizard, depending on port availability and your system requirements. You need this port to log on to the Administration Center. | | | | Tip: A file named TSM_Administration_Center.htm is created in the Administration Center installation directory. Open this file in a web browser to automatically connect to the Administration Center. A desktop shortcut is also created for this file. If there are any errors during the installation, another summary page lists the errors and directs you to an error log file. The installation log is stored in this location: The directory that was chosen for installation (look for the file log.txt). | | | | | | | | | | | | |
Tip: After you start the silent installation, it immediately closes the foreground window and runs in the background. To receive a return code from the silent installation, run it using a batch script. See Installing silently using a batch script on page 31 for more details.
118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
If there are any errors during the installation, another summary page lists the errors and directs you to an error log file. The installation log is stored in this location: The directory that was chosen for installation (look for the file log.txt).
Bind distinguish name The distinguished name (DN) for the application server to use when binding to the LDAP repository. If no name is specified, the application server binds anonymously. In most cases, bind DN and
Chapter 10. Installing the Administration Center
119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
bind password are needed. However, when anonymous bind can satisfy all of the required functions, bind DN and bind password are unnecessary. Bind password The password that the application server uses when binding to the LDAP repository. 7. Click OK. 8. In the message box, click Save directly to the master configuration. 9. In the repository identifier column, click the identifier for the repository that you want to use. 10. On the configuration panel, under Additional Properties, click the LDAP entity types. 11. In the Entity Type column, click the link for Group, OrgContainer, and PersonAccount. Complete the search bases field. The search bases field specifies the search bases that are used to search this entity type. The search bases specified must be sub-trees of the base entry in the repository. The following example search bases have o=ibm,c=us as the base entry in the repository:
o=ibm,c=us or cn=users,o=ibm,c=us or ou=austin,o=ibm,c=us
You can use a semicolon to delimit the search bases. For example:
ou=austin,o=ibm,c=us;ou=raleigh,o=ibm,c=us
12. Click OK and then click Save to the master configuration. You must save to the master configuration every time that you update the search bases field. 13. Return to the federated repositories page and click Supported Entity Types under Additional Properties. 14. In the Entity type column, click the link for Group, OrgContainer, and PersonAccount and complete the base entry for the default parent and Relative Distinguished Name properties fields. a. In the Base entry for the default parent field, enter the same value that you entered in the Search bases field in step 11. b. In the Relative Distinguished Name properties field, enter the appropriate LDAP attribute name. In most cases, the values for this field are cn for Group, o;ou;dc;cn for OrgContainer, and uid for PersonAccount. 15. Click OK and then click Save to the master configuration. You must save to the master configuration every time that you update the base entry for the default parent field. 16. Return to the federated repositories page and click Apply, then click Save to the master configuration. 17. Under Repositories in the realm, click Add base entry to Realm. 18. On the repository reference page, select the repository that you created in step 6 on page 119 from the repository list. 19. Enter the distinguished name of a base entry that uniquely identifies the repository in the realm. You must enter the information in the Distinguished name of a base entry uniquely identifying this set of entries in the realm field. In most instances, this value is the same value that you entered in the Search bases field in step 11. 20. In the Distinguished name of a base entry in this repository field, enter the distinguished name of the base entry within the repository. In most instances, this value is the same value that you entered in the Distinguished name of a base entry that uniquely identifies this set of entries in the realm field.
120
| | | | | | | | | | | | | | | | | | | | | |
21. Click OK and then click Save to the master configuration. You must save to the master configuration every time that you update the distinguished name of a base entry. The base entry identifies the set of entries in the realm field. Two repositories are displayed under repositories in the realm on the federated repositories page; the repository you added, and a default repository. 22. Change the realm name or leave the value in the Realm name field as it is. 23. In the primary administrative user name field, enter the name of a user that you added in the repository. The named user is granted administrative privileges for the Tivoli Integrated Portal server. 24. Click the server identity that is stored in the repository. 25. In the server user ID or the administrative user node field, enter the ID that you entered in the primary administrative user name field. Enter the password for the user ID. 26. Select the default file repository that shows File in the Repository type column and remove it. 27. Click OK and then click Save to the master configuration. 28. Return to the secure administration, applications, and infrastructure page. 29. In the available realm definition list, select Federated repositories and click Set as current. 30. Click Apply and then click Save to the master configuration. 31. Stop and restart the Tivoli Integrated Portal server.
http://workstation_name:non_secure_port/ibm/console
Or:
https://workstation_name:secure_port/ibm/console
The workstation_name is the network name or IP address of the computer on which you installed the Administration Center. The non_secure_port is the HTTP port and the secure_port is the HTTPS port. Attention: Use the port number that was shown in the summary panel of the installation wizard, which might be different from the port that you specified in the wizard. If you use an incorrect port, no warning messages are shown but you are not able to complete all Administration Center tasks.
Chapter 10. Installing the Administration Center
121
| | |
The default HTTP port is 16310. The default HTTPS port is 16311. If you use a different port number from the default, the secure port typically appears as the non-secure port plus 1. Look in the following file to see the port that is being used. In this file, WC_defaulthost contains the value for the HTTP port and WC_adminhost_secure contains the value for the HTTPS port. TIP_HOME\properties\TIPPortDef.properties where TIP_HOME is the home directory for the Tivoli Integrated Portal installation. The default for TIP_HOME is C:\IBM\tivoli\tipv2.
| | | | | | | |
Tips: v If you use http://workstation_name:16310/ibm/console to connect to the Administration Center, you are automatically redirected to the secure port and address. v A file named TSM_Administration_Center.htm is created in the Administration Center installation directory. Open this file in a web browser to automatically connect to the Administration Center. A desktop shortcut is also created for this file. 3. To get started, log in using the Tivoli Integrated Portal user ID and password that you created during the Administration Center installation. Save this password in a safe location because it is also needed to uninstall the Administration Center. 4. After you successfully log in, the Tivoli Integrated Portal welcome page is shown. Expand the Tivoli Storage Manager folder in the Work Items list and click Getting Started to display the Tivoli Storage Manager welcome page. This page provides instructions for using the Administration Center.
122
| | | | | | |
where port is the port number that you entered earlier. Ensure that you have the correct port number based on the information in the wizard summary panel. The default HTTP port is 16310. The default HTTPS port is 16311. If you are using a port number other than the default, the secure port typically appears with 1 as the last number. See Verifying the Administration Center installation on page 121 for more details. When you start and stop the Tivoli Integrated Portal using the command line, the variables in the commands have these meanings: v TIP_HOME is the Tivoli Integrated Portal installation directory. The default for TIP_HOME is C:\IBM\tivoli\tipv2. v TCR_HOME is the Tivoli Common Reporting installation directory. The default for TCR_HOME is C:\IBM\tivoli\tipv2Components\ TCRComponent. v tip_admin is the administrator user ID for the Administration Center. v tip_pw is the password for the administrator. v tip_profile is the DB2 profile name for the administrator.
| | |
| | | | | | | | | | | | | | | | | | | | |
Start or stop the Tivoli Integrated Portal server from the command line by using one of the following methods. If Tivoli Common Reporting is installed: Change to the TCR_HOME\bin directory and issue one of the following commands: v To start Tivoli Common Reporting and a Tivoli Integrated Portal server, issue this command:
startTCRserver.cmd
v To stop Tivoli Common Reporting and a Tivoli Integrated Portal server, issue this command:
stopTCRserver.cmd tip_admin tip_pw
If Tivoli Common Reporting is not installed: Change to the TIP_HOME\bin directory and issue one of the following commands: v To start a Tivoli Integrated Portal server, issue this command:
startServer.bat server1
v To stop a Tivoli Integrated Portal server, issue the following command on a single line:
stopServer.bat server1 -username tip_admin -password tip_pw -profileName tip_profile
123
classes. After logging in using this ID, they can use their Tivoli Storage Manager administrator name and password to manage connections for the servers they manage. Complete the following steps to define Administration Center users to the Tivoli Integrated Portal: In the navigation tree, expand Users and Groups. Click Manage Users. Click Create. Click Group Membership. Select Group name, then click Search. Add TSM_AdminCenter to the Current groups list. Click Close. The TSM_AdminCenter group is a shell for you to populate with users. You must manually enter the user credentials. 8. Complete the form and click Create. 1. 2. 3. 4. 5. 6. 7.
Tip: Ensure that you have your Administration Center user name and password to uninstall the Administration Center. v To use the console to uninstall the Administration Center, enter this command:
"uninstall.exe" -i console
Tip: Ensure that you have your Administration Center user name and password to uninstall the Administration Center. v To silently uninstall the Administration Center, issue the following command. Sample response files (uninstall_response.txt) are available with the Administration Center installation driver. Use one of the sample files to run a silent installation. Ensure that you enter the full path name to the sample response file.
"uninstall.exe" -i silent -f path_name_to_response_file
3. Follow the prompts to uninstall the Administration Center. To uninstall the current version of the Administration Center using silent mode with a batch script, complete the following steps:
124
Tip: If you do not use a batch script, this uninstallation method immediately closes the foreground window, and runs in the background. You will not receive a return code. 1. Create a file and name it uninstall.bat. The file name must end with .bat, not .bat.txt. 2. Type this command into the uninstall.bat file and save it:
"uninstall.exe" -i silent
3. Double-click the uninstall.bat file or start it using a command prompt. 4. If you are using a command prompt, after the uninstallation is complete, issue the following command to retrieve the return code:
echo %ERRORLEVEL%
See Chapter 10, Installing and configuring the Administration Center, on page 113 for the installation steps to reinstall the Administration Center.
125
126
127
| | |
c. Upload the server connections file. From the navigation tree in the Administration Center interface, expand Tivoli Storage Manager and click Manage Servers > Upload Connection File. When administrators log on to the Tivoli Integrated Portal, they are prompted to provide a Tivoli Storage Manager administrative user ID and password for the servers that they manage. Tip: If administrators manage a large number of Tivoli Storage Manager servers, they can edit the tsmservers.xml file and add the Tivoli Storage Manager administrative credentials.
128
| | | | |
Adding administrative credentials to the tsmservers.xml file prevents an administrator from having to provide the credentials after logging on to the Tivoli Integrated Portal, but including the passwords in the file can create a security exposure. 5. Optional: Uninstall the previous version of the Administration Center. To uninstall a Version 6.2 Administration Center, see the instructions at the following website: http://publib.boulder.ibm.com/infocenter/tsminfo/v6r2. To uninstall a Version 6.1 Administration Center, see the instructions at the following website: http://publib.boulder.ibm.com/infocenter/tsminfo/v6.
129
130
| | | | | | |
v Use the Change Password action in the Manage Servers table to specify the administrative credentials for one or more server connections. Tip: You can also edit the tsmservers.xml file directly and add the administrative credentials, if this is permitted by the security policies of your company. For more information, see the Administration Center online help for the Manage Servers page.
131
132
Part 4. Appendixes
133
134
| | | | | | | |
135
Table 26. Contents of the log.zip file (continued) File Name DB2.log Description Location
Contains information about the coi\plan\install or coi\plan\uninstall installation and uninstallation commands. Return codes can be retrieved from this log file, but not for DB2. If installation or uninstallation completed, the executePackage or remove-package scripts for a component are available. Installation log files. Review these log files if the Administration Center installation or uninstallation fails. For log information about additional Administration Center components, see the Problem Determination Guide. v coi\plan\install\logs v coi\plan\install\MachinePlan_host_name\ 00001_eWAS v coi\plan\install\MachinePlan_host_name\ 00002_TIP v coi\plan\install\MachinePlan_host_name\ 00003_TSM_AdminCenter or v install_root\_uninst\plan\install\ MachinePlan_host_name\00001_eWAS v install_root\_uninst\plan\install\ MachinePlan_host_name\00002_TIP
v install_root\_uninst\plan\install\ MachinePlan_host_name\00003_TSM_AdminCenter
For information about exit codes for the Tivoli Storage Manager server, Administration Center, or Tivoli Monitoring for Tivoli Storage Manager wizards, see Table 27. Tip: Some of the exit codes for a silent installation might be different than the exit codes for a GUI or console installation. For example, an exit code of 1 for a silent installation means that the installation completed successfully without warnings or errors. However, for a GUI or console installation, an exit code of 1 means that the installation completed, but that one or more of the actions from the installation sequence caused a warning or non-fatal error. See the Problem Determination Guide for the latest information.
Table 27. InstallAnywhere exit codes Code 0 1 -1 1000 1001 2000 2001 2002 2003 Description Success: The installation completed successfully without any warnings or errors. The installation completed successfully, but one or more of the actions from the installation sequence caused a warning or a non-fatal error. One or more of the actions from the installation sequence caused an unrecoverable error. The installation was canceled by the user. The installation includes an invalid command-line option. Unhandled error. The installation failed the authorization check, might indicate an expired version. The installation failed a rules check. A rule placed on the installer itself failed. An unresolved dependency in silent mode caused the installer to exit.
136
Table 27. InstallAnywhere exit codes (continued) Code 2004 2005 2006 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 4000 4001 Description The installation failed because not enough disk space was detected during the execution of the Install action. The installation failed while trying to install on a Windows 64-bit system, but installation did not include support for Windows 64-bit systems. The installation failed because it was launched in a UI mode that is not supported by this installer. Unhandled error specific to a launcher. The installation failed due to an error specific to the lax.main.class property. The installation failed due to an error specific to the lax.main.method property. The installation was unable to access the method specified in the lax.main.method property. The installation failed due to an exception error caused by the lax.main.method property. The installation failed because no value was assigned to the lax.application.name property. The installation was unable to access the value assigned to the lax.nl.java.launcher.main.class property. The installation failed due to an error specific to the lax.nl.java.launcher.main.class property. The installation failed due to an error specific to the lax.nl.java.launcher.main.method property. The installation was unable to access the method specified in the lax.nl.launcher.java.main.method property. A component to start Java could not be found at the directory specified by the java.home system property. An incorrect path to the installer jar caused the relauncher to launch incorrectly.
137
138
| | | | | | | | |
The DB2 service for the server instance that is named Server_instance. For example: DB2 - DB2TSM1 SERVER1
| | | | | | |
Servers upgraded from V6.1.0 or V6.1.1: On a system that is running the Tivoli Storage Manager V6.1.0 or V6.1.1 server program, an additional service named DB2 - DB2TSM1 - DB2TSM-0 is displayed in the list of services. When the V6.1.0 or V6.1.1 server program is upgraded to a later version, that service is renamed to DB2 DB2TSM1 - DB2TSM. This service does not affect the operation of the Tivoli Storage Manager server instances that you configure. DB2TSM is a nonfunctional DB2 instance.
139
140
Appendix C. Accessibility features for the Tivoli Storage Manager product family
Accessibility features help users who have a disability, such as restricted mobility or limited vision, to use information technology products successfully.
Accessibility features
The following list includes the major accessibility features in the Tivoli Storage Manager family of products: v Keyboard-only operation v Interfaces that are commonly used by screen readers v Keys that are discernible by touch but do not activate just by touching them v Industry-standard devices for ports and connectors v The attachment of alternative input and output devices The Tivoli Storage Manager Information Center, and its related publications, are accessibility-enabled. The accessibility features of the information center are described at http://publib.boulder.ibm.com/infocenter/tsminfo/v6r3/topic/ com.ibm.help.ic.doc/iehs36_accessibility.html.
Keyboard navigation
On Windows, the Tivoli Storage Manager product family follows Microsoft conventions for all keyboard navigation and access. Drag and Drop support is managed using the Microsoft Windows Accessibility option known as MouseKeys. For more information about MouseKeys and other Windows accessibility options, please refer to the Windows online help (keyword: MouseKeys). On other operating systems, these products follow the operating-system conventions for keyboard navigation and access.
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.
141
142
Notices
This information was developed for products and services offered in the U.S.A. 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: IBM Director of Licensing IBM Corporation North Castle Drive Armonk, NY 10504-1785 U.S.A. For license inquiries regarding double-byte character set (DBCS) information, contact the IBM Intellectual Property Department in your country or send inquiries, in writing, to: Intellectual Property Licensing Legal and Intellectual Property Law IBM Japan Ltd 1623-14, Shimotsuruma, Yamato-shi Kanagawa 242-8502 Japan 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. This information could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these changes will be incorporated in new editions of the publication. IBM may make improvements and/or changes in the product(s) and/or the program(s) described in this publication at any time without notice. Any references in this information to non-IBM Web sites are provided for convenience only and do not in any manner serve as an endorsement of those Web sites. The materials at those Web sites are not part of the materials for this IBM product and use of those Web sites is at your own risk.
Copyright IBM Corp. 1993, 2011
143
IBM may use or distribute any of the information you supply in any way it believes appropriate without incurring any obligation 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. Such information may be available, subject to appropriate terms and conditions, including in some cases, payment of a fee. 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. Any performance data contained herein was determined in a controlled environment. Therefore, the results obtained in other operating environments may vary significantly. Some measurements may have been made on development-level systems and there is no guarantee that these measurements will be the same on generally available systems. Furthermore, some measurements may have been estimated through extrapolation. Actual results may vary. Users of this document should verify the applicable data for their specific environment. Information concerning non-IBM products was obtained from the suppliers of those products, their published announcements or other publicly available sources. IBM has not tested those products and cannot confirm the accuracy of performance, compatibility or any other claims related to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products. 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: This information contains sample application programs in source language, which illustrate programming techniques on various operating platforms. You may copy, modify, and distribute these sample programs in any form without payment to IBM, for the purposes of developing, using, marketing or distributing application programs conforming to the application programming interface for the operating platform for which the sample programs are written. These examples have not been thoroughly tested under all conditions. IBM, therefore, cannot guarantee or imply reliability, serviceability, or function of these programs. The sample
144
programs are provided "AS IS", without warranty of any kind. IBM shall not be liable for any damages arising out of your use of the sample programs. 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 ibm.com 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 http://www.ibm.com/legal/copytrade.shtml. Intel, Itanium, and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries. Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both. Microsoft and Windows 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.
Java and all Java-based trademarks and logos are trademarks or registered trademarks of Oracle and/or its affiliates.
Other company, product, or service names may be trademarks or service marks of others.
Notices
145
146
Glossary
A glossary is available with terms and definitions for the IBM Tivoli Storage Manager server and related products. The glossary is located in the Tivoli Storage Manager information center: http://publib.boulder.ibm.com/ infocenter/tsminfo/v6r3
147
148
Index A
accessibility features 141 activating server 46 activating server options 40 active log space requirements 10 Administration Center backward compatibility 127 configuring server 33, 35 console installation wizard 118 default port 117, 118 DISPLAY 117, 118 installation 117, 118 installation log 117, 118 installation wizard 117 installing 117, 118 LD_LIBRARY_PATH_64 117, 118 overview 113 port 117, 118 prerequisite checker 6, 114 secure port 117, 118 SELINUX 117, 118 server connection to 130 system requirements 114 Tivoli Storage Manager installation uninstalling 121, 124 upgrading 127, 128 verifying 121 verifying prerequisites 6, 114 work sheet 115 Administration Centerreporting 108 administrative commands HALT 48 REGISTER LICENSE 48 agent Tivoli Monitoring for Tivoli Storage installing 98 Tivoli Monitoring for Tivoli Storage existing server 100 agents Tivoli Monitoring for Tivoli Storage installing 99 API 38, 44 API configuration 38, 44 archive failover log space description 21 archive log space requirements 10 archive log directory 34
C
capacity planning database space requirements estimates based on number of files 7 estimates based storage pool capacity 10 starting size 7 recovery log space requirements active and archive logs 10 active log mirror 21 Tivoli Monitoring for Tivoli Storage Manager 90 client nodes reverting to previous server version data affected 73 client options for shared memory communications 42 clustered environment applying a fix pack to a V6.x server 54 upgrading from V6.1 to V6.3 68 upgrading from V6.2 to V6.3 69 commands administrative, SET DBRECOVERY 48 DSMSERV FORMAT 43 commands, administrative HALT 48 REGISTER LICENSE 48 communication methods Named Pipes 41 setting 40 Shared Memory 42 SNMP 42 TCP/IP 40 components installable v configuring 33, 35, 39 communication protocols 40 data source 108 data source after upgrade 128 configuring Tivoli Storage Manager server minimal 37 configuring, manually 33, 35, 39 configuring, server instance 35 configuring, wizard 33, 35, 36 console installation wizard 27, 63 Console language support 31 create server instance 33, 35 creating and configuring the agent instance 95 Credential Vault 127 custom reporting 102 customer support contact xiii
121
Manager,
B
BACKUP DB command 38, 44 backup-archive client installable package vi backups database 48 batch script 31, 67
D
data deduplication effects when reverting to previous server version data source 108 database backups 48 error logs 135 installing 43 73
149
database (continued) name 23 database directories 34 database manager 38, 44 database manager (DB2TSM1) 139 DB2 installation logs 135 db2icrt command 39 Deployment Engine backup 57, 60 device driver, Tivoli Storage Manager directories naming for server 23 directories, instance 34 disability 141 disk space 4 DISPLAY variable 27, 62, 63 DSMSERV FORMAT command 43 dsmserv.v6lock 48
vi
E
education see Tivoli technical training x enabling client/server communications error logs DB2 135 installation 135 expiration server option 46 40
F
first steps 33 fix packs 53 fixes 25, 116 fixes, obtaining xii, xiii FORMAT, DSMSERV 43
InstallAnywhere exit codes 135 installation work sheet for Tivoli Monitoring for Tivoli Storage Manager 91 installation log 26, 27, 62, 63 installation wizard 26, 62 installing Administration Center 116 BIRT 102 database 43 device support 25 fix packs 53 graphical user interface using 26 minimum requirements for 4 prerequisite checker 6, 93, 114 recovery log 43 server 3, 25 Tivoli Monitoring for Tivoli Storage Manager 84, 93 Tivoli Storage Manager reporting and monitoring 85 Tivoli Storage Manager server 27 verifying prerequisites 6, 93, 114 what to know before 3 work sheet for the Administration Center 115 installing agents on existing IBM Tivoli Monitoring servers 101 installing overview 83 installing the Administration Center silently 118 installing the Tivoli Storage Manager Administration Center 118 installing the Tivoli Storage Manager server 28 silently 28 instance directories 34 instance user ID 23 Integrated Solutions Console users 129 interim fix 53 Internet, searching for problem resolution xi, xii
G
group 34 GSKit removing Version 7 Version 7 71 Version 8 71 71
K
keyboard 141 KILL command 48 knowledge bases, searching xi
H
HALT command 48 halting the server 48 hardware requirements Administration Center 114 Tivoli Monitoring for Tivoli Storage Manager Tivoli Storage Manager 4 home directory 39
L
LANGUAGE option 31, 32 language support 32 languages, set 32 LD_LIBRARY_PATH_64 variable 27, 62, 63 LDAP federated repositories authentication 119 license, Tivoli Storage Manager 48 licenses installable package vi Linux installation SELinux AVC denial 135 log files installation 135
88
I
IBM Publications Center viii IBM Support Assistant xii IBM Tivoli Monitoring installing an agent on an existing server installable components vi 100
150
M
maintenance updates 53 memory requirements 4, 88 Microsoft Management Console starting server 47 monitoring logs 50 multiple servers upgrading multiple servers 49
Q
quick configuration 37
R
recovery log archive failover log space 21 installing 43 REGISTER LICENSE command 48 Remote Execution Protocol 37, 67 removing the Tivoli Storage Manager server 77 Reporting and monitoring feature prerequisite checker 6, 114 verifying prerequisites 6, 114 reports installing Tivoli Monitoring for Tivoli Storage Manager upgrading 105 upgrading Tivoli Monitoring 107 requirements for installation 4 responses saving 26, 27, 62, 63 reverting to previous server version 73 REXEC 37, 67
N
Named Pipes 41 names, best practices database name 23 directories for server instance user ID 23 server instance 23 server name 23 23
93
O
options communications 40 starting the server 46 options, client SSLTCPADMINPORT 41 SSLTCPPORT 41 TCPADMINPORT 41 TCPPORT 41 TCPWINDOWSIZE 41
S
SELINUX 26, 27, 62, 63 server after upgrade reverting to previous server version 73 before upgrade importance of preparation steps 73 naming best practices 23 starting using Windows services 47 stopping 48 server connections in the Administration Center server database reorganization options 45 server instance 35, 39 server instance, creating 39 server instances naming 23 naming best practices 23 server license 48 server, Tivoli Storage Manager activating 46 halting 48 options 40 setting up 46 starting 46 services on Windows systems database manager (DB2TSM1) 139 DB2 139 server 139 SET DBRECOVERY 48 setting server options 40 shared memory client options 42 shared memory communications method 42 silent installation Administration Center 118 batch file 31, 67 Tivoli Storage Manager 28 silent upgrade Tivoli Storage Manager 64 SNMP communication method 42
P
Passport Advantage xiii, 25 performance ulimits, setting for optimal performance 46 planning installing Tivoli Monitoring for Tivoli Storage Manager installing Tivoli Storage Manager reporting and monitoring 85 upgrading Tivoli Monitoring for Tivoli Storage Manager 105 planning, capacity database space requirements estimates based on number of files 7 estimates based storage pool capacity 10 starting size 7 recovery log space requirements active log mirror 21 recovery log space requirementsv 10 prerequisite checker installation 6, 93, 114 running 6, 93, 114 problem determination describing problem for IBM Software Support xiv determining business impact for IBM Software Support xiv submitting a problem to IBM Software xiv publications download viii order viii search viii Tivoli Storage Manager viii
130
84
Index
151
software requirements Administration Center 114 Tivoli Monitoring for Tivoli Storage Manager 88 Tivoli Storage Manager 4 software support describing problem for IBM Software Support xiv determining business impact for IBM Software Support xiv submitting a problem xiv Software Support contact xiii SSLTCPADMINPORT option 41 SSLTCPPORT option 41 starting server 46 stopping server 48 storage pools reverting to previous server version 73 summary of amendments Version 6.3 xv support contract xiii support information x support subscription xiii
U
U.S. English 32 ulimits 46 uninstalling 77, 78 Administration Center 124 Tivoli Monitoring for Tivoli Storage Manager 102 Tivoli Monitoring for Tivoli Storage Manager on Windows 102 Tivoli Storage Manager 77 uninstalling and reinstalling 78 upgrade scenarios Upgrading Tivoli Monitoring for Tivoli Storage Manager 105 upgrading 63 installation wizard using 62 Tivoli Monitoring for Tivoli Storage Manager 107 V6.1 to V6.3 in a clustered environment 68 V6.2 to V6.3 in a clustered environment 69 upgrading the Tivoli Storage Manager server 64 silently 64 upgrading, from 5.5 57 upgrading, from 6.1 57 upgrading, from 6.2 57, 60 upgrading, to Version 6.3 57, 60 User Account Control 37, 67 user ID 34
T
TCP/IP setting options 40 Version 4 40 Version 6 40 TCPNODELAY option 41 TCPPORT option 41 TCPWINDOWSIZE option 41 technical changes xv Tivoli Integrated Portal 108, 121 backward compatibility 127 console help server start 122 stop 122 console server start 122 stop 122 overview 113 users 123, 129, 130 Tivoli Monitoring for Tivoli Storage Manager prerequisite checker 93 verifying prerequisites 93 what to configure after installing 95 Tivoli Storage Manager installation 26 server changes xv upgrade 63 upgrading 62 Version 6.3 xv Tivoli Storage Manager device driver, installable package Tivoli Storage Manager fix packs 53 Tivoli Storage Manager server prerequisite checker 6, 114 verifying prerequisites 6, 114 Tivoli Storage Manager support site 25 Tivoli Storage Manager, setting up 46 Tivoli technical training x training, Tivoli technical x translation features 31 translations 31
W
Windows creating and configuring the Tivoli Monitoring for Tivoli Storage Manager agent instance 96 system requirements 4 uninstalling Tivoli Monitoring for Tivoli Storage Manager 102 Windows clustered environment applying a fix pack to a V6.x server 54 upgrading from V6.1 to V6.3 68 upgrading from V6.2 to V6.3 69 Windows Server 2008 37, 67 Windows service 34 creating 43 Windows services Tivoli Storage Manager server 139 Windows Services Control Manager starting server 47 work sheet installing the Administration Center 115 server space planning 6
vi
152
Printed in USA
GC23-9785-03