0% found this document useful (0 votes)
307 views132 pages

IBM Tivoli Storage Manager For AIX Installation Guide 6.2

Uploaded by

bupbechanh
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
307 views132 pages

IBM Tivoli Storage Manager For AIX Installation Guide 6.2

Uploaded by

bupbechanh
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 132

Tivoli Storage Manager for AIX

Version 6.2

Installation Guide

GC23-9781-02

Tivoli Storage Manager for AIX

Version 6.2

Installation Guide

GC23-9781-02

Note: Before using this information and the product it supports, read the information in Notices on page 105.

| | |

This edition applies to Version 6.2 of IBM Tivoli Storage Manager (product number 5608-E01, 5608-E02, 5608-E03, 5608-E07, 5608-E12) and to all subsequent releases and modifications until otherwise indicated in new editions or technical newsletters. This edition replaces GC23-9781-01. Copyright IBM Corporation 1993, 2010. 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 . . . . Publications . . . . . . . . . Tivoli Storage Manager publications Support information . . . . . . Getting technical training . . . Searching knowledge bases . . . Contacting IBM Software Support . . v . v . . . . . vi . . . . . vii . . . . . vii . . . . . vii . . . . . ix . . . . . . . . Stopping the server . . . . . . . . . . Registering licenses . . . . . . . . . . Preparing the system for database backups . . Running multiple server instances on a single system . . . . . . . . . . . . . . Monitoring the server . . . . . . . . . . . . . . . 33 . 33 . 33 . 34 . 35

Chapter 4. Installing the reporting and monitoring feature. . . . . . . . . . 37


Planning to install the Tivoli Storage Manager reporting and monitoring feature . . . . . . . System requirements for Tivoli Storage Manager reporting and monitoring. . . . . . . . . Work sheet for installation information . . . . Installing the Tivoli Storage Manager reporting and monitoring feature on AIX and Linux . . . . . Before reinstalling: confirm a complete uninstallation . . . . . . . . . . . . . Installing the Tivoli Storage Manager reporting and monitoring feature using the installation wizard . . . . . . . . . . . . . . . Installing the Tivoli Storage Manager reporting and monitoring feature using the console mode . Taking the first steps after you install the Tivoli Storage Manager reporting and monitoring feature . Setting permissions on an IBM Tivoli Monitoring server . . . . . . . . . . . . . . . Accessing DB2 and configuring the Tivoli Enterprise Portal server . . . . . . . . . Creating and configuring the Tivoli Data Warehouse. . . . . . . . . . . . . . Configuring Summarization and Pruning agent parameters . . . . . . . . . . . . . Configuring historical data collection . . . . . Installing a reporting and monitoring agent . . . Installing a reporting and monitoring agent on a Tivoli Storage Manager server . . . . . . . Installing a reporting and monitoring agent on an existing IBM Tivoli Monitoring server . . . . Creating and configuring the reporting and monitoring agent instance using the Candle Manage program . . . . . . . . . . . Creating and configuring the reporting and monitoring agent instance using the command line . . . . . . . . . . . . . . . . Configuring a data source for the reporting and monitoring feature using the Tivoli Integrated Portal . . . . . . . . . . . . . . . Installing software for custom reporting . . . . . Uninstalling the Tivoli Storage Manager reporting and monitoring feature . . . . . . . . . . Uninstalling the Tivoli Storage Manager reporting and monitoring feature . . . . . . 37 40 42 43 44

| |

New for IBM Tivoli Storage Manager Version 6.2. . . . . . . . . . . . . xiii Chapter 1. Planning to install IBM Tivoli Storage Manager . . . . . . . . . . . 1
What you should know first . . . . . . . . . 1 Installable components . . . . . . . . . . . 2 System requirements. . . . . . . . . . . . 4 Compatibility of the Tivoli Storage Manager server with other DB2 products on the system . . . . . 5 Capacity planning . . . . . . . . . . . . 6 Estimating database space requirements . . . . 6 Recovery log space requirements . . . . . . 8 Work sheet for planning space for the Tivoli Storage Manager server. . . . . . . . . . 9 Server naming best practices. . . . . . . . . 10 Installation directories . . . . . . . . . . . 11

45 47 49 50 50 53 54 55 56 57 58

Chapter 2. Installing Tivoli Storage Manager . . . . . . . . . . . . . . 13


|
Configuring the /etc/hosts file . Installing Tivoli Storage Manager installation wizard . . . . . Installing Tivoli Storage Manager installation wizard . . . . . Installing Tivoli Storage Manager Server language locales . . . Installing a language package . . . . . . using the . . . . . . using the console . . . . . . in silent mode . . . . . . . . . . . . . . 14 . 14 . . . . 15 16 17 18

Chapter 3. Taking the first steps after you install Tivoli Storage Manager . . . 19
Creating the directories and the user ID for the server instance . . . . . . . . . . . . Configuring Tivoli Storage Manager . . . . . Configuring Tivoli Storage Manager using the configuration wizard . . . . . . . . . Configuring Tivoli Storage Manager using the Administration Center . . . . . . . . . Configuring the server instance manually . . Starting the server instance . . . . . . . . Starting the server from the user ID that owns the server instance . . . . . . . . . . Authorizing root users to start the server . . Starting the server from the root user ID . . Automatically starting servers . . . . . .
Copyright IBM Corp. 1993, 2010

59

. 19 . 21 . 21 . 22 . 24 . 30 . . . . 30 31 31 32

60

62 63 64 64

iii

Chapter 5. Installing and configuring the Administration Center . . . . . . 67


Administration Center system requirements . . 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 . . . . . . . . . . . . . . Verifying your installation . . . . . . . . Automatically starting the Administration Center. Starting and stopping the Tivoli Integrated Portal server . . . . . . . . . . . . . . . Defining Administration Center users to the Tivoli Integrated Portal. . . . . . . . . . . . Uninstalling the Administration Center . . . . . 67 . 68 . 68 . 69 . 70 . 72 . 73 . 73 . 74 . 74

Chapter 8. Upgrading the Administration Center . . . . . . . . 89


Overview of upgrade and coexistence . . . . . Upgrading procedure for the Administration Center Obtaining information about Tivoli Integrated Portal or Integrated Solutions Console users. . . . . . Defining Integrated Solutions Console users to the Version 6.2 Administration Center . . . . . . . Server connections to the Administration Center . . 89 90 91 91 92

| |

Chapter 9. Installing a Tivoli Storage Manager server fix pack . . . . . . . 95 Chapter 10. Uninstalling Tivoli Storage Manager . . . . . . . . . . . . . . 97
Uninstalling and reinstalling Tivoli Storage Manager 97

| | | | | | | | | |

Chapter 6. Upgrading from Tivoli Storage Manager Version 6.1 . . . . . 77


Upgrading Tivoli Storage Manager using the installation wizard . . . . . . . . . . . Upgrading Tivoli Storage Manager using the console installation wizard . . . . . . . . Upgrading Tivoli Storage Manager in silent mode . 78 . 79 80

| Appendix A. Installation log files

. . . 99

Appendix B. Accessibility features for Tivoli Storage Manager . . . . . . . 103 Notices . . . . . . . . . . . . . . 105
Trademarks . . . . . . . . . . . . . . 107

Chapter 7. Upgrading the reporting and monitoring feature to Version 6.2 . . . 83


Upgrading version 6.2 Upgrading version 6.2 the reporting and monitoring feature using the installation wizard . . . the reporting and monitoring feature using the console installation wizard to . . 83 to . . 85

Glossary . . . . . . . . . . . . . 109 Index . . . . . . . . . . . . . . . 111

iv

IBM Tivoli Storage Manager for AIX: Installation Guide

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 the reporting and monitoring feature are also included in this publication.

Who should read this guide


This publication is intended for a system administrator installing and configuring Tivoli Storage Manager Version 6.2. | | | | If you are upgrading an existing 5.5.x Tivoli Storage Manager server to Tivoli Storage Manager Version 6.2, see the Server Upgrade Guide. If you are upgrading a Tivoli Storage Manager Version 6.1.x server to Version 6.2, see Chapter 6, Upgrading from Tivoli Storage Manager Version 6.1, on page 77. If you are upgrading an existing Tivoli Storage Manager Version 6.2 server to a later level of Version 6.2, see Chapter 9, Installing a Tivoli Storage Manager server fix pack, on page 95.

Publications
IBM Tivoli Storage Manager publications and other related publications are available online. You can search all publications in the Tivoli Storage Manager Information Center: http://publib.boulder.ibm.com/infocenter/tsminfo/v6r2. 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 Tivoli Storage Manager products at http://www.ibm.com/ developerworks/wikis/display/tivolidoccentral/Tivoli+Storage+Manager. You can also order some related publications from the IBM Publications Center Web site. The Web site 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.

Copyright IBM Corp. 1993, 2010

Tivoli Storage Manager publications


Publications are available for the server, storage agent, client, and Data Protection. | | | | | | | |
Table 1. IBM Tivoli Storage Manager troubleshooting and tuning publications Publication title 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 Performance Tuning Guide IBM Tivoli Storage Manager Problem Determination Guide Table 2. Tivoli Storage Manager server publications Publication title IBM Tivoli Storage Manager for AIX Installation Guide IBM Tivoli Storage Manager for AIX Administrator's Guide IBM Tivoli Storage Manager for AIX Administrator's Reference IBM Tivoli Storage Manager for HP-UX Installation Guide IBM Tivoli Storage Manager for HP-UX Administrator's Guide IBM Tivoli Storage Manager for HP-UX Administrator's Reference IBM Tivoli Storage Manager for Linux Installation Guide IBM Tivoli Storage Manager for Linux Administrator's Guide IBM Tivoli Storage Manager for Linux Administrator's Reference IBM Tivoli Storage Manager for Sun Solaris Installation Guide IBM Tivoli Storage Manager for Sun Solaris Administrator's Guide IBM Tivoli Storage Manager for Sun Solaris Administrator's Reference IBM Tivoli Storage Manager for Windows Installation Guide IBM Tivoli Storage Manager for Windows Administrator's Guide IBM Tivoli Storage Manager for Windows Administrator's Reference IBM Tivoli Storage Manager Server Upgrade Guide 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 Sun Solaris Storage Agent User's Guide IBM Tivoli Storage Manager for SAN for Windows Storage Agent User's Guide Order number SC23-9797 SC23-9798 SC23-9799 SC23-9800 SC23-9553 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 SC23-9554 SC27-2828 Order number SC27-2877 SC27-2878 GC23-9788 GC23-9789

vi

IBM Tivoli Storage Manager for AIX: Installation 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 Order number SC23-9791 SC23-9792

IBM Tivoli Storage Manager for Space Management for UNIX and Linux: SC23-9794 User's Guide

| |

IBM Tivoli Storage Manager Using the Application Programming Interface Table 5. Tivoli Storage Manager Data Protection publications Publication title IBM Tivoli Storage Manager for Enterprise Resource Planning: Data Protection for SAP Installation and User's Guide for DB2 IBM Tivoli Storage Manager for Enterprise Resource Planning: Data Protection for SAP Installation and User's Guide for Oracle

SC23-9793

Order number SC33-6341 SC33-6340

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. | | | | | | | | | | |

Getting technical training


Information about Tivoli technical training courses is available online. Go to these Web sites for training information: Tivoli software training and certification Choose from instructor led, online classroom training, self-paced Web classes, Tivoli certification preparation, and other training options at this site: http://www.ibm.com/software/tivoli/education/ Tivoli Support Technical Exchange Technical experts share their knowledge and answer your questions in these webcasts: http://www.ibm.com/software/sysmgmt/products/ support/supp_tech_exch.html

Searching knowledge bases


If you have a problem with IBM Tivoli Storage Manager, there are several knowledge bases that you can search. Begin by searching the Tivoli Storage Manager Information Center at http://publib.boulder.ibm.com/infocenter/tsminfo/v6r2. From this Web site, you can search the current Tivoli Storage Manager documentation.

Preface

vii

Searching the Internet


If you cannot find an answer to your question in the Tivoli Storage Manager Information Center, search the Internet for the information that might help you resolve your problem. | | | | | | | To search multiple Internet resources, go to the support Web site for Tivoli Storage Manager at http://www.ibm.com/support/entry/portal/Overview/Software/ Tivoli/Tivoli_Storage_Manager. You can search for information without signing in. Sign in using your IBM ID and password, if you want to customize the site based on your product usage and information needs. If you do not already have an IBM ID and password, click Sign in at the top of the page and follow the instructions to register. From the Support Web site, you can search various resources including: v IBM technotes v IBM downloads v IBM Redbooks publications v IBM Authorized Program Analysis Reports (APARs) Select the product and click Downloads to search the APAR list. If you still cannot find a solution to the problem, you can search forums and newsgroups on the Internet for the latest information that might help you resolve your problem. | | | | | | | An independent user discussion list, ADSM-L, is hosted by Marist College. You can subscribe by sending an e-mail to [email protected]. The body of the message must contain the following text: SUBSCRIBE ADSM-L your_first_name your_family_name. To share your experiences and learn from others in the Tivoli Storage Manager user community, go to the Tivoli Storage Manager wiki at http://www.ibm.com/ developerworks/wikis/display/tivolistoragemanager.

| | | |

Using IBM Support Assistant


| | | | IBM Support Assistant is a complimentary software product that helps you with problem determination. You can install the stand-alone IBM Support Assistant application on any workstation. You can then enhance the application by installing product-specific plug-in modules for the IBM products that you use. IBM Support Assistant helps you gather support information when you need to open a problem management record (PMR), which you can then use to track the problem. For more information, see the IBM Support Assistant Web site at http://www.ibm.com/software/support/isa/. The product-specific plug-in modules provide you with the following resources: v Support links v Education links v Ability to submit problem management reports | | Find add-ons for specific products here: http://www.ibm.com/support/ docview.wss?&uid=swg27012689.

viii

IBM Tivoli Storage Manager for AIX: Installation Guide

Finding product fixes


A product fix to resolve your problem might be available from the IBM Software Support Web site. | | | | | | | | | | | | | | | | | | | | | | | | | | | | You can determine what fixes are available by checking the IBM Software Support Web site at http://www.ibm.com/support/entry/portal/. v If you previously customized the site based on your product usage: 1. Click the link for your Tivoli Storage Manager product, or one of the other Tivoli Storage Manager components that you want to find a fix for. 2. Click Downloads, and then click Fixes by version. v If you have not customized the site based on your product usage, click Downloads and search for your product.

Receiving notification of product fixes


You can receive notifications about fixes, flashes, upgrades, and other news about IBM products. To sign up to receive notifications about IBM products, follow these steps: 1. From the support page at http://www.ibm.com/support/entry/portal/, click My notifications in the notifications module. 2. Sign in using your IBM ID and password. If you do not have an ID and password, click register now above the IBM ID and password. 3. Click the Subscribe tab to select your product family and click Continue. 4. Select the type of information that you want to receive, and add your personal preferences. You can specify how you want to be notified, how often, and you can also optionally select a folder for the notifications. 5. Click Submit. 6. For notifications for other products, repeat steps 4 and 5. Tip: You can also pick a product first, from the main support portal site, and then click in the Notifications section to create or update your subscription for that product.

Contacting IBM Software Support


You can contact IBM Software Support if you have an active IBM subscription and support contract and if you are authorized to submit problems to IBM. Before you contact IBM Software Support, follow these steps: 1. Set up a subscription and support contract. 2. Determine the business impact of your problem. 3. Describe your problem and gather background information. Then see Submitting the problem to IBM Software Support on page xi for information on contacting IBM Software Support.

Preface

ix

Setting up a subscription and support contract


| | | | | | | | | | | | | Set up a subscription and support contract. The type of contract that you need depends on the type of product you have. For IBM distributed software products (including, but not limited to, IBM Tivoli, Lotus, and Rational products, as well as IBM DB2 and IBM WebSphere products that run on Microsoft Windows or UNIX operating systems), enroll in IBM Passport Advantage in one of the following ways: v Online: Go to the Passport Advantage Web page at http://www.ibm.com/ software/lotus/passportadvantage/, click How to enroll, and follow the instructions. v By Phone: You can call 1-800-IBMSERV (1-800-426-7378) in the United States, or for the phone number to call in your country, go to the IBM Software Support Handbook Web page at http://www14.software.ibm.com/webapp/set2/sas/f/ handbook/home.html and click Contacts.

Determining the business impact


When you report a problem to IBM, you are asked to supply a severity level. Therefore, you must understand and assess the business impact of the problem you are reporting.
Severity 1 Critical business impact: You are unable to use the program, resulting in a critical impact on operations. This condition requires an immediate solution. Significant business impact: The program is usable but is severely limited. Some business impact: The program is usable with less significant features (not critical to operations) unavailable. Minimal business impact: The problem causes little impact on operations, or a reasonable circumvention to the problem has been implemented.

Severity 2 Severity 3 Severity 4

Describing the problem and gather background information


When explaining a problem to IBM, it is helpful to be as specific as possible. Include all relevant background information so that IBM Software Support specialists can help you solve the problem efficiently. To save time, know the answers to these questions: v What software versions were you running when the problem occurred? v Do you have logs, traces, and messages that are related to the problem symptoms? IBM Software Support is likely to ask for this information. v Can the problem be recreated? If so, what steps led to the failure? v Have any changes been made to the system? For example, hardware, operating system, networking software, and so on. v Are you using a workaround for this problem? If so, be prepared to explain it when you report the problem.

| |

IBM Tivoli Storage Manager for AIX: Installation Guide

Submitting the problem to IBM Software Support


You can submit the problem to IBM Software Support online or by phone. Online | | | | Go to the IBM Software Support Web site at http://www.ibm.com/ support/entry/portal/Open_service_request/Software/ Software_support_(general). Sign in to access IBM Service Requests, and enter your information into the problem submission tool. By phone For the phone number to call in your country, go to the contacts page of the IBM Software Support Handbook at http://www14.software.ibm.com/ webapp/set2/sas/f/handbook/home.html.

Preface

xi

xii

IBM Tivoli Storage Manager for AIX: Installation Guide

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

New for IBM Tivoli Storage Manager Version 6.2


This section summarizes changes that have been made to IBM Tivoli Storage Manager Version 6.2 that affect the Tivoli Storage Manager server, the Administration Center, and the reporting and monitoring feature installation and upgrade from Version 6.1. Any updates that have been made to the information since the previous edition are marked with a vertical bar ( | ) in the left margin. The following features are new for Tivoli Storage Manager in Version 6.2: DB2 version IBM DB2 Version 9.7 is installed during the installation of a Tivoli Storage Manager Version 6.2 server. Tivoli Storage Manager reporting and monitoring feature The Tivoli Storage Manager reporting and monitoring feature has been integrated into a new user interface called the Tivoli Integrated Portal. The Tivoli Integrated Portal provides all the functions that were available in the Integrated Solutions Console, but with a new look-and-feel. The Administration Center moved from the Integrated Solutions Console to the Tivoli Integrated Portal. This move affects the reporting and monitoring reports that are run from the Administration Center. Tivoli Integrated Portal The Tivoli Integrated Portal is a new graphical user interface (GUI) that you can install to work with the Tivoli Storage Manager Version 6.2 server. Tivoli Integrated Portal provides all the functions that were available in the Integrated Solutions Console. The Administration Center, Common Reporting, and other applications are integrated into this new user interface. Pre-Version 6.2 Tivoli Storage Manager servers using the Version 6.2 Administration Center cannot support the Version 6.2 features. See Chapter 5, Installing and configuring the Administration Center, on page 67 to install and configure the Administration Center, or Chapter 8, Upgrading the Administration Center, on page 89 to upgrade the Administration Center.

Copyright IBM Corp. 1993, 2010

xiii

xiv

IBM Tivoli Storage Manager for AIX: Installation Guide

Chapter 1. Planning to install IBM Tivoli Storage Manager


Install the Tivoli Storage Manager server component on the computer that manages storage devices and the Tivoli Storage Manager client code on every workstation that will transfer data to Tivoli Storage Manager server-managed storage. Tivoli Storage Manager server maintenance releases, client software, and publications are available from the Tivoli Storage Manager Web site at http://www.ibm.com/support/entry/portal/Overview/Software/Tivoli/ Tivoli_Storage_Manager.

What you should know first


Before installing IBM Tivoli Storage Manager for the first time, be familiar with your operating systems, storage devices, communication protocols, and system configurations. | | | | If you are upgrading an existing 5.5.x Tivoli Storage Manager server to Tivoli Storage Manager Version 6.2, see the Server Upgrade Guide. If you are upgrading a Tivoli Storage Manager Version 6.1.x server to Version 6.2, see Chapter 6, Upgrading from Tivoli Storage Manager Version 6.1, on page 77. If you are upgrading an existing Tivoli Storage Manager Version 6.2 server to a later level of Version 6.2, see Chapter 9, Installing a Tivoli Storage Manager server fix pack, on page 95. Before you install IBM Tivoli Storage Manager for the first time, familiarize yourself with the following items: v The operating system that is running on the Tivoli Storage Manager server workstation. v The operating systems that are running on any Tivoli Storage Manager client workstations. v Storage devices that will be available to Tivoli Storage Manager. v Communication protocols that are installed on your clients and servers. Restriction: You can install and run the Version 6.2 server on a system that already has DB2 installed on it, whether DB2 was installed by itself or as part of some other application, with some restrictions. For details, see Compatibility of the Tivoli Storage Manager server with other DB2 products on the system on page 5. Users who are experienced DB2 administrators can choose to perform advanced SQL queries and use DB2 tools to monitor the database. However, do not use DB2 tools to change DB2 configuration settings from those that are preset by Tivoli 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.2 server has been built and tested extensively using the data definition language (DDL) and database configuration that Tivoli Storage Manager deploys.

Copyright IBM Corp. 1993, 2010

Installable components
The IBM Tivoli Storage Manager server, client API, and licenses are required components. Other, optional components and products are also available with Tivoli Storage Manager. You can install the following components for Tivoli Storage Manager 6.2: v Tivoli Storage Manager server v Tivoli Storage Manager server languages v Tivoli Storage Manager licenses v Tivoli Storage Manager devices v Tivoli Storage Manager storage agent v Tivoli Storage Manager Administration Center v Tivoli Storage Manager reporting and monitoring Table 6 describes all the installable components.
Table 6. Tivoli Storage Manager installable components Tivoli Storage Manager component: Server (required) Description: Includes the Tivoli Storage Manager database, client API, GSKit, and tools to help you configure and manage Tivoli Storage Manager. Additional information: Refer to the Tivoli Storage Manager server overview in the Administrator's Guide.

Language pack (optional)

Each language pack (one See Server language locales on page 17. for each language) contains language-specific information for the server. 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. 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 Web site, at http://www.ibm.com/ support/entry/portal/Overview/Software/Tivoli/ Tivoli_Storage_Manager.

Licenses (required)

Devices (optional)

IBM Tivoli Storage Manager for AIX: Installation Guide

Table 6. Tivoli Storage Manager installable components (continued) Tivoli Storage Manager component: Description: Additional information:

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

Storage agent (optional)

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). To install a Version 6 storage agent, use the packages located in the server directory. 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 v Tivoli Common Reporting v Time scheduling services v IBM HTTP Server v Common Gateway Interface server Optional components are also available. Remember: The Administration Center is on a separate DVD. Refer to Administration Center system requirements on page 67.

Administration Center (optional)

Reporting and monitoring feature (optional)

Refer to Chapter 4, Installing the reporting and monitoring Provides reports and real time monitoring feature, on page 37. information about Tivoli Storage Manager servers and client activity. Remember: This feature is on a separate DVD.

Chapter 1. Planning to install the IBM Tivoli Storage Manager server

System requirements
The Tivoli Storage Manager server can require a large amount of memory, network bandwidth, and processor resources. In many cases, the server performs best when other applications are not installed on the same system.

Hardware requirements
Table 7 describes the minimum hardware requirements that are needed for your AIX system. For more details about planning disk space, see Capacity planning on page 6.
Table 7. Hardware requirements Type of hardware Hardware Disk space Hardware requirements An appropriately configured 64-bit p4, p5, or p6 System p computer. The following minimum disk space: v 5 MB for the /var directory v 10 MB for the /opt directory if you create mount points v 2 GB for the /opt/tivoli/tsm directory if you create mount points

| | | | | | | | | | | | | | | | |
Memory

v 360 MB for the /tmp directory v 300 MB for the /usr directory v 2 GB in the home 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. This allows I/O to be balanced across multiple directories or mounts. v 12 GB. v 16 GB if you are using deduplication. 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 on page 5 describes the minimum software requirements that are needed for your AIX system.

IBM Tivoli Storage Manager for AIX: Installation Guide

Table 8. Software requirements Type of software Operating System Minimum software requirements v AIX 5.3 running in a 64-bit kernel environment with the following additional requirements: AIX 5.3 Technology Level (TL) 11 and Service Pack (SP) 1 Minimum C++ runtime level with the xlC.rte 9.0.0.8 and xlC.aix50.rte 9.0.0.8 file sets. These file sets are included in the June 2008 fix pack package for IBM C++ Runtime Environment Components for AIX.

| |

For upgrades to Tivoli Storage Manager Version 6.2, the bos.iocp.rte file set. v AIX 6.1 running in a 64-bit kernel environment with the following additional requirements:

AIX 6.1 TL 2 Minimum C++ runtime level with the xlC.rte 9.0.0.8 and xlC.aix61.rte.9.0.0.8 file sets. These file sets are included in the June 2008 fix pack package for IBM C++ Runtime Environment Components for AIX. Web browser A Web browser to retrieve an online installation package. The following browsers are supported: v Microsoft Internet Explorer 6.0 SP1 v Microsoft Internet Explorer 7.0

v Firefox 2.0 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. Communication A configured communication method. protocol Processing Drivers Asynchronous I/O must be enabled. If you have an IBM 3570, IBM 3590, or IBM Ultrium tape library or drive, install the most current device driver before you install Tivoli Storage Manager 6.2. You can locate the device drivers at ftp:// ftp.software.ibm.com/storage/devdrvr/.

Compatibility of the Tivoli Storage Manager server with other DB2 products on the system
You can install other products that deploy and use DB2 products on the same system as the Tivoli Storage Manager Version 6.2 server on AIX, HP-UX, Linux, and Sun Solaris platforms, with some limitations. To install and use other products that use a DB2 product on the same system as the Tivoli Storage Manager server, ensure that the following criteria are met: v The other products that use a DB2 product must be using DB2 version 9 or later. DB2 products introduced product encapsulation and segregation support beginning with version 9. With this support, you can run multiple copies of DB2

Chapter 1. Planning to install the IBM Tivoli Storage Manager server

products, at different code levels, on the same system. For details, see the information about multiple DB2 copies: http://publib.boulder.ibm.com/ infocenter/db2luw/v9r7/index.jsp. v When you install different DB2 products on the system that has the Tivoli Storage Manager server, ensure that the user IDs, fence user IDs, installation location, other directories, and related information that you specify are different from all the IDs and locations that you used for the Tivoli Storage Manager server installation and configuration. If you used the dsmicfgx wizard or dsmupgdx wizard to configure Version 6.2 or upgrade the server from Version 5.5, these are values that you entered when running the wizard. If you used the manual configuration for Version 6.2 or upgrade from Version 5.5 procedures, review the procedures that you used if necessary, to recall the values that were used for the server. v Carefully consider the resources and capability of the system compared to the requirements for both the Tivoli Storage Manager server and the other applications that use the DB2 product. To provide sufficient resources for the other DB2 applications, you might need to change the Tivoli Storage Manager server settings so that the server uses less system memory and resources. Similarly, if the workloads for the other DB2 applications compete with the Tivoli Storage Manager server for processor or memory resources, the performance of the server in handling the expected client workload or other server operations might be adversely affected. To segregate resources and provide more capability for the tuning and allocation of processor, memory, and other system resources for multiple applications, consider using logical partition (LPAR), workload partition (WPAR), or other virtual machine support. For example, run a DB2 application in its own virtualized machine.

Capacity planning
Planning for Tivoli Storage Manager includes determining the number of client nodes to be managed by the Tivoli Storage Manager server, the backup and recovery needs of those clients, and the number and general size of client data files.

Estimating database space requirements


The size of the database depends on the number of client files to be stored and the method by which the server manages them. If you can estimate the maximum number of files that might be in server storage at any time, you can estimate the database size from the following information: v Each stored version of a file requires about 600 - 1000 bytes of database space. v Each cached file, copy storage pool file, and active-data pool file, and deduplicated file requires about an additional 100 - 200 bytes of database space. v Overhead can require up to 50% in additional space. In the following example for a single client, the computations are probable maximums. In addition, the numbers are not based on using file aggregation. In general, aggregation of small files reduces the required database space. Assume the following numbers for a Tivoli Storage Manager system: Versions of files

IBM Tivoli Storage Manager for AIX: Installation Guide

Backed up files Up to 500,000 client files might be backed up. Storage policies call for keeping up to three copies of backed up files:
500,000 files x 3 copies = 1,500,000 files

Archived files Up to 100,000 files might be archived copies of client files. Space-managed files Up to 200,000 files migrated from client workstations might be in server storage. Note: File aggregation does not affect space-managed files. At 1000 bytes per file, the space required for these files is:
(1 500,000 + 100,000 + 200,000) x 1000 = 1.8GB

Cached, copy storage pool, active-data pool files, and deduplicated files 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, about 100,000 files are in cache at any one time.
100,000 files x 200 bytes = 19MB

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 = 343MB

Active-data pool files All the active client-backup data in primary storage pools is copied to the active-data pool. Assume that 500,000 versions of the 1 500 000 backup files in the primary storage pool are active.
500,000 x 200 bytes = 95 MB

Deduplicated files Assume that a deduplicated storage pool contains 50,000 files.
50,000 x 200 bytes = 10 MB

Therefore, cached files, copy storage pool files, and active-data pool files, and deduplicated storage pool files require about an additional 0.5 GB of database space. Overhead About 2.3 GB is required for file versions, cached copies, copy storage pool files, and active-data pool files. Allow up to 50% additional space (or 1.2 GB) for overhead. The database should then have at least 3.5 GB per client. During SQL queries of the server, intermediate results are stored in temporary tables that require space in the free portion of the database. Therefore, using SQL queries requires additional database space. The more complicated the queries, the greater the space that is required. Tip:

Chapter 1. Planning to install the IBM Tivoli Storage Manager server

v 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. As a best practice, periodically monitor your database and adjust its size as necessary. v If you cannot estimate the numbers of files, you can roughly estimate the database size as from 1% to 5% of the required server storage space. For example, if you need 100 GB of server storage, your database should be 1 - 5 GB.

Recovery log space requirements


The recovery log space that you require depends on the amount of client activity with the server.

Active log space


Ensuring that the recovery log has enough space is essential for a V6.2 server. | | | | | | | | | The default size of the active log is 16,384 MB (16 GB). Under normal server operations, you are likely to need an active log that is larger than the default. The maximum size of the active log is 131,072 MB (128 GB). The minimum size of the active log is 2048 MB (2 GB). When estimating the size of the active log, ensure that the active log is large enough to handle not only the amount of concurrent activity that the server typically handles, but also higher workloads that can occur occasionally or under unusual conditions. Try to anticipate the greatest amount of workload that the server might need to handle. For simple backup and archive activity with no data deduplication, 20 GB for the active log is adequate. If you use data deduplication, and if you deduplicate large objects (for example, image backups), use an active log size that is 20% of the database size. Monitor the space usage and adjust the size of the active log as needed. To change the size of the active log, see the Administrator's Guide and search for increasing the active log size.

Active log mirror space


The active log mirror is a copy of the active log that can be used if the active log files cannot be read. There can be only one active log mirror. Creating a log mirror is optional. If you increase the size of the active log, the log mirror size is increased automatically. Be aware that mirroring the log can affect performance because of the doubled I/O activity that is required to maintain the mirror. The additional space that the log mirror requires is another factor to consider when deciding whether to create a log mirror.

IBM Tivoli Storage Manager for AIX: Installation Guide

Archive log space


The size of the archive log depends on the number of objects stored by client nodes between full backups of the database. To recover space, a full backup of the database causes obsolete archive log files to be pruned. The archive log files that are included in a backup are automatically pruned on a full database backup cycle. Therefore, the archive log must be large enough to contain the logs generated since the previous two full backups. If you perform a full backup of the database every day, the archive log must be large enough to hold the log files for client activity that occurs over two days. Typically 600 - 4000 bytes of log space are used when an object is stored in the server. Therefore you can estimate a starting size for the archive log using the following calculation:
objects stored per day x 3000 bytes per object x 2 days

For example:
5,000,000 objects/day x 3000 bytes/object x 2 days = 30,000,000,000 bytes, or 30 GB

It is important to maintain adequate space for the archive log directory. If the drive or file system where the archive log directory is located becomes full and there is no archive failover log directory, the data remains in the active log directory. This condition can cause the active log to fill up, which causes the server to stop.

Archive failover log space


The archive failover log is used by the server if the archive log directory runs out of space. Specifying an archive failover log directory can prevent problems that occur if the archive log runs out of space. If both the archive log directory and the drive or file system where the archive failover log directory is located become full, the data remains in the active log directory. This condition can cause the active log to fill up, which causes the server to halt.

Work sheet for planning space 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.
Item 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) The database Active log Archive log Optional: Log mirror for the active log Space required Location

Chapter 1. Planning to install the IBM Tivoli Storage Manager server

Item Optional: Secondary archive log (failover location for archive log)

Space required

Location

Server naming best practices


Coordinating the names for the different items associated with a server instance can make your life easier.

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. If you run the server 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 user home directory


The home directory can be created when creating the user ID, by using the option (-m) to create a home directory if it does not exist already. Depending on local settings, the home directory might have the form: /home/instance_user_ID For example: /home/tsminst1

Database instance name


The database instance name must be the same as the instance user ID under which you run the server instance. For example: tsminst1

Instance directory
The instance directory can have any name that you want. For easier identification, use a name that ties the directory to the instance name. You can create the instance directory as a subdirectory of the home directory for the instance user ID. For example: /home/instance_user_ID/ instance_user_ID The following example places the instance directory in the home directory for user ID tsminst1: /home/tsminst1/tsminst1 You can also create the directory in another location, for example: /tsmserver/tsminst1

Database name
The database name is always TSMDB1, for every server instance. This name cannot be changed.

10

IBM Tivoli Storage Manager for AIX: Installation Guide

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: PAYROLL SALES For more information about server names, see Tivoli Storage Manager Administrator's Guide.

Directories for database space and recovery log


The directories can be named according to local practices. For easier identification, consider using names that tie the directories to the server instance. For example, for the archive log: /tsminst1_archlog

Installation directories
Installation directories for the Tivoli Storage Manager server include the server, DB2, device, language, and other directories. Each one contains several additional directories. The default directories and their subdirectories are listed here for the server, DB2, devices, languages, and Administration Center: v Server directory (/opt/tivoli/tsm/server/bin), which contains: Server code and licensing v Additional server directories: The command and message help are located in the /opt/tivoli/tsm/server/ bin/lang/dsmserv.hlp directory, where lang is the language you select. Tivoli inventory (/opt/tivoli/tsm/tivinv) Event receiver (/etc/tivready/monitorslfs) v DB2 directories

Chapter 1. Planning to install the IBM Tivoli Storage Manager server

11

The DB2 product that is installed as part of the installation of the Tivoli Storage Manager server has the directory structure as documented in DB2 information sources. For more details, you can begin with this information center: http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/index.jsp. From this Web site, you can search using this term: directory structure. Many of the directories that are listed in the information center topics contain vital information about the DB2 instance, the database, and configuration. Protect these directories and files as you do the server directories. v Device directories /opt/tivoli/tsm/devices/bin /usr/lib/drivers /usr/lib/methods v Language directory Language-dependent portions of the program are located here: /opt/tivoli/tsm/server/bin/lang, where lang is the language you select. You can use U.S. English, German, French, Italian, Spanish, Brazilian Portuguese, Korean, Japanese, traditional Chinese, simplified Chinese, Chinese GBK, Chinese Big5, and Russian. v Administration Center directories The Administration Center directory (/opt/ibm/ac) contains the following directories: WebSphere (/opt/ibm/ac) Tivoli Integrated Portal (/opt/ibm/ac) Tivoli Common Reporting (/opt/ibm/ac/products/tcr) Administration Center (/opt/ibm/ac/systemApps/isclite.ear/TsmAC.war)

| | | | | | |

12

IBM Tivoli Storage Manager for AIX: Installation Guide

Chapter 2. Installing Tivoli Storage Manager


To install Tivoli Storage Manager 6.2, you can use the graphical installation wizard, the console wizard, or the command line in silent mode. Using the Tivoli Storage Manager installation software, you can install the following components: v Tivoli Storage Manager Server | | Tip: The Tivoli Storage Manager client application programming interface (API) and GSKit are automatically installed when you select the server component. v Tivoli Storage Manager Server Languages v Tivoli Storage Manager License v Tivoli Storage Manager Devices v Tivoli Storage Manager Storage Agent Important: Log in as the root user. If you do not log in as root, certain key Tivoli Storage Manager functions will not work properly. 1. If you are installing the products using the Tivoli Storage Manager DVD, complete the following steps: Insert the Tivoli Storage Manager DVD into a DVD drive. Ensure that the DVD is mounted on directory /dvdrom and change to that directory. 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: Tivoli Storage Manager: http://www.ibm.com/support/ docview.wss?uid=swg24025637 Tivoli Storage Manager Extended Edition: http:// www.ibm.com/support/docview.wss?uid=swg24025638 System Storage Archive Manager: http://www.ibm.com/ support/docview.wss?uid=swg24025639 b. Change to the directory where you placed the executable file. Tip: The files are extracted to the current directory. Ensure that the executable file is in the directory where you want the extracted files to be located. c. Change the file permissions by entering the following command:
chmod a+x package_name.bin

| | | | | |

The package_name is typically a name such as CZ1N1ML. d. Extract the installation files:
./package_name.bin

The package is large, so the extraction takes some time. 3. Select one of the following ways of installing Tivoli Storage Manager:
Copyright IBM Corp. 1993, 2010

13

Installation wizard Installing Tivoli Storage Manager using the installation wizard Command-line console wizard Installing Tivoli Storage Manager using the console installation wizard on page 15 Silent mode Installing Tivoli Storage Manager in silent mode on page 16 4. After you install Tivoli Storage Manager and before you customize it for your use, go to the Tivoli Storage Manager Web site: http://www.ibm.com/support/ entry/portal/Overview/Software/Tivoli/Tivoli_Storage_Manager. Click Support and downloads and apply any applicable fixes. | | | | | | | | | | | | | |

Configuring the /etc/hosts file


The /etc/hosts file must have the correct format before you start the Tivoli Storage Manager installation. Ensure that the /etc/hosts file meets the following requirements: 1. Locate the /etc/hosts file on your system. Open it with an editor, and as a root user if you plan on editing it. 2. Ensure that the following lines were not removed. Replace them if they are missing:
127.0.0.1 loopback localhost # loopback (lo0) name/address 9.11.153.39 your.server.name workstation

where you replace 9.11.153.39 with the IP address of your system and change your.server.name to the fully qualified host name for your system. Include the name of your workstation after the full qualified host name. 3. Save the host file.

Installing Tivoli Storage Manager using the installation wizard


Using the installation wizard is one method of installing Tivoli Storage Manager. To install Tivoli Storage Manager using the installation wizard, complete the following steps: 1. Select a method to start the installation wizard: v To start the wizard without saving your responses, enter the following command:
./install.bin

v To start the wizard and save your responses, enter the following command, and specify the -r option:
./install.bin -r /response.rsp

The Tivoli Storage Manager installation wizard starts. 2. Select the language for your installation and follow the wizard directions, selecting Next to step through the wizard. You must accept the license agreement to proceed. Then, select the components that you want to install (server, languages, licenses, device driver, storage agent). There is no default so you must make a selection or you receive an error message and are returned to the components' page. The Tivoli Storage Manager client application programming interface (API), DB2 Version 9.7, and GSKit 7 are automatically installed when you select the server component.

14

IBM Tivoli Storage Manager for AIX: Installation Guide

| | | |

Attention: If you are installing on a remote system using an X display, and the local system does not have an X Window System server running, the installation might fail. If this happens, ensure that the DISPLAY environment variable is not set and restart the installation. At the end of the installation, a message is displayed on the summary page that Tivoli Storage Manager successfully installed and a summary is provided. If there were any errors during the installation, another summary page lists the errors and directs you to an error log file. Fix the errors before continuing. The log for a new server installation is stored in the following location: /var/tivoli/tsm

| | |

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 19.

Installing Tivoli Storage Manager using the console installation wizard


Using the console installation wizard is one method of installing Tivoli Storage Manager. To install Tivoli Storage Manager using the console installation wizard, complete the following steps: 1. To start the wizard without saving your responses, enter the following command:
./install.bin -i console

To start the wizard and save your responses, enter the following command, and specify the -r option:
./install.bin -i console -r /response.rsp

2. Select the language for your installation and follow the wizard directions, selecting Next to step through the wizard. You must accept the license agreement to proceed. Then, select the components that you want to install (server, languages, licenses, device driver, storage agent). There is no default so you must make a selection or you receive an error message and are returned to the components' page. The Tivoli Storage Manager client application programming interface (API), DB2 Version 9.7, and GSKit 7 are automatically installed when you select the server component. | | | | Attention: If you are installing on a remote system using an X display, and the local system does not have an X Window System server running, the installation might fail. If this happens, ensure that the DISPLAY environment variable is not set and restart the installation. At the end of the installation, a message is displayed on the summary page that Tivoli Storage Manager successfully installed and a summary is provided. If there were any errors during the installation, another summary page lists the errors and directs you to an error log file. Fix the errors before continuing. The log for a new server installation is stored in the following location: /var/tivoli/tsm 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 19.

Chapter 2. Installing the Tivoli Storage Manager server components

15

Installing Tivoli Storage Manager in silent mode


Using silent mode is one method of installing Tivoli Storage Manager. Restriction: The following restrictions apply: You must include LICENSE_ACCEPTED=true or the installation fails. Changing the installation directory (the USER_INSTALL_DIR variable) is not supported. To either create a new response file or use an existing one for the silent installation, select one of the following options. v To start the silent installation and include all of the Tivoli Storage Manager components, enter the following command on a single line: | | | | |
./install.bin -i silent -DLICENSE_ACCEPTED=true -DINSTALL_SERVER=1 -DINSTALL_SERVER_LANGUAGES=1 -DINSTALL_LICENSE=1 -DINSTALL_DEVICES=1 -DINSTALL_STAGENT=1

You can install the following server language-packs during the silent installation, using these variables: INSTALL_GERMAN INSTALL_SPANISH INSTALL_FRENCH INSTALL_ITALIAN INSTALL_BRPORTUGUESE INSTALL_KOREAN INSTALL_JAPANESE INSTALL_RUSSIAN INSTALL_SCHINESE

INSTALL_TCHINESE INSTALL_ENGLISHUTF8 INSTALL_GERMANUTF8 INSTALL_SPANISHUTF8 INSTALL_FRENCHUTF8 INSTALL_ITALIANUTF8 INSTALL_PTBUTF8

INSTALL_KOREANUTF8 INSTALL_JAPANESEUTF8 INSTALL_SCHINESEUTF8 INSTALL_RUSSIANUTF8 INSTALL_TCHINESEUTF8 INSTALL_BIG5CH INSTALL_GBKCH INSTALL_JAPANESEPC For example, to install the German language pack, issue the following command: | | | |
./install.bin -i silent -DLICENSE_ACCEPTED=true -DINSTALL_SERVER=1 -DINSTALL_SERVER_LANGUAGES=1 -DINSTALL_GERMAN=1 -DINSTALL_LICENSE=1

16

IBM Tivoli Storage Manager for AIX: Installation Guide

v To use an existing response file, enter the following command:


./install.bin -i silent -DLICENSE_ACCEPTED=true -f response_file

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 that you selected during a prior installation, using the GUI or console wizard. If you include LICENSE_ACCEPTED=true in the response file manually, then issue this command:
./install.bin -i silent -f response_file

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. | | | | Attention: If you are installing on a remote system using an X display, and the local system does not have an X Window System server running, the installation might fail. If this happens, ensure that the DISPLAY environment variable is not set and restart the installation. Fix any errors before continuing. See the following log for more information: /var/tivoli/tsm | | | 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 19.

Server language locales


Translations for the IBM Tivoli Storage Manager server allows the server to display messages and help in languages other than U.S. English. It also allows for the use of locale conventions for date, time, and number formatting. You can use the languages shown in the following tables:
Table 9. Server languages for AIX Language Chinese, Simplified Chinese, Simplified (UTF-8) Chinese, Traditional (Big5) Chinese, Traditional (UTF-8) Chinese, Traditional (euc_tw) English English (UTF-8) French French (UTF-8) German LANGUAGE option value zh_CN ZH_CN Zh_TW ZH_TW zh_TW en_US EN_US fr_FR FR_FR de_DE

Chapter 2. Installing the Tivoli Storage Manager server components

17

Table 9. Server languages for AIX (continued) Language German (UTF-8) Italian Italian (UTF-8) Japanese, EUC Japanese, PC Japanese, UTF8 Korean Korean (UTF-8) Portuguese, Brazilian Portuguese, Brazilian (UTF-8) Russian Russian (UTF-8) Spanish Spanish (UTF-8) Notes: v The system must have en_US environment support installed. v Refer to the Administrator's Reference for further information on setting the LANGUAGE option. LANGUAGE option value DE_DE it_IT IT_IT ja_JP Ja_JP JA_JP ko_KR KO_KR pt_BR PT_BR ru_RU RU_RU es_ES ES_ES

Restriction: For Administration Center users, some characters might not display 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.

Installing a language package


If you install a language package, the IBM Tivoli Storage Manager server displays messages and help in languages other than U.S. English. Installation packages are provided with Tivoli Storage Manager. To enable support for a given locale, complete one of the following tasks: Set the LANGUAGE option in the server options file to the name of the locale that you want to use. For example: To use the it_IT locale, set the LANGUAGE option to it_IT. See Server language locales on page 17. v Set the LC_MESSAGES environment variable to match the value that is set in the server options file. For example, to set the environment variable for Italian, enter the following: v
export LC_MESSAGES=it_IT

If the locale successfully initializes, it controls the date, time, and number formatting for the server. If the locale does not successfully initialize, the server uses the U.S. English message files and the date, time, and number format.

18

IBM Tivoli Storage Manager for AIX: Installation Guide

Chapter 3. Taking the first steps after you install Tivoli Storage Manager
After installing Tivoli Storage Manager Version 6.2, 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 directories and the user ID for the server instance. 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 21. v Use the Tivoli Storage Manager configuration wizard in the Administration Center. See Configuring Tivoli Storage Manager using the Administration Center on page 22. v Manually configure the new Tivoli Storage Manager instance. See Configuring the server instance manually on page 24. 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 24. 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 25.. c. Issue the DSMSERV FORMAT command to format the database. See Formatting the database and log on page 28. d. Configure your system for database backup. See Preparing the database manager for backup on page 28. 3. Start the Tivoli Storage Manager server instance. See Starting the server instance on page 30. 4. Register your license. See Registering licenses on page 33. 5. Prepare your system for database backups. See Preparing the system for database backups on page 33. 6. Monitor the server. See Monitoring the server on page 35.

Creating the directories and the user ID for the server instance
Create the directories that the Tivoli Storage Manager server instance needs for database and recovery logs, and create the user ID for the Tivoli Storage Manager server instance. Review the information about planning space for the server before completing this task. 1. Create directories that the server requires. You need unique, empty directories for each of the items shown in the following table. Create the database

Copyright IBM Corp. 1993, 2010

19

directories, the active log directory, and the archive log directory on different physical volumes. See the planning information for details.
Item 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 Example commands for creating the directories mkdir /home/tsminst1/ tsminst1 Tip: For this example, the instance directory is created in the home directory for the instance owner ID, tsminst1. You can place it in other locations. mkdir mkdir mkdir mkdir /tsmdb001 /tsmdb002 /tsmdb003 /tsmdb004 Your 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 /tsmlog mkdir /tsmarchlog mkdir /tsmlogmirror

mkdir /tsmarchlogfailover

2. Create the user ID that will own the server instance. You use this user ID when you create the server instance in a later step. Create a user ID and group that will be the owner of the Tivoli Storage Manager server instance. a. Create the user ID and group. Restriction: The user ID and group name must comply with the following rules: v In the user ID, only lowercase letters (a-z), numerals (0-9), and the underscore character ( _ ) can be used. The user ID must be 8 characters or less, and cannot start with ibm, sql, sys, or a numeral. v In the group name, only lowercase letters (a-z), numerals (0-9), and the underscore character ( _ ) can be used. The group name must be 8 characters or less, and cannot start with ibm, sql, or a numeral. For example, create user ID tsminst1 in group tsmsrvrs. The following examples show how to create this user ID and group using operating system commands.
# mkgroup id=1001 tsmsrvrs # mkuser id=1002 pgrp=tsmsrvrs home=/home/tsminst1 tsminst1 # passwd tsminst1

b. Log off, then log in to your system, using the new user ID and password. Use telnet so that you are prompted for the password and can change it if necessary.

20

IBM Tivoli Storage Manager for AIX: Installation Guide

c. If a configuration profile does not exist for the user ID, create the file. For example, create a .profile file if you are using the Korn shell (ksh). d. For all directories that were created for the server instance, ensure that the user ID that owns the server instance has access. The directories to check include the instance directory and all database and log directories. Change the owner of the directories that were created to the user ID for the server instance. e. Log off the new user ID.

Configuring Tivoli Storage Manager


After you have installed Tivoli Storage Manager Version 6.2 and prepared for the configuration, configure the Tivoli Storage Manager server instance. Configure a Tivoli Storage Manager server instance by selecting 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. v Use the Tivoli Storage Manager configuration wizard in the Administration Center. See Configuring Tivoli Storage Manager using the Administration Center on page 22. v Manually configure the new Tivoli Storage Manager instance. See Configuring the server instance manually on page 24. Complete the following steps during a manual configuration. 1. Set up the directories and create the Tivoli Storage Manager instance. See Creating the server instance on page 24. 2. Create a new server options file by copying the sample file in order to set up communications between the Tivoli Storage Manager server and clients. See Configuring server and client communications on page 25.. 3. Issue the DSMSERV FORMAT command to format the database. See Formatting the database and log on page 28. 4. Configure your system for database backup. See Preparing the database manager for backup on page 28.

Configuring Tivoli Storage Manager using the configuration wizard


The wizard offers a guided approach to configuring a server. By using the wizard, you can avoid some configuration steps that are complex when done manually. Start the wizard on the system where you installed the Tivoli Storage Manager Version 6.2 server program. Before beginning the configuration wizard, you must complete all preceding steps to prepare for the configuration, including installing the Version 6.2 server program, creating the database and log directories, and creating the directories and user ID for the server instance. 1. Ensure that the following requirements are met: v The system where you installed the Version 6.2 server program must have the X Window System client. You must also be running an X Window System server on your desktop.

Chapter 3. Taking the first steps after you install Tivoli Storage Manager Version 6.2

21

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. Remote shell (RSH). Remote Execution Protocol (REXEC). v You must be able to log in to the Version 6.2 system with the user ID that you created for the server instance, using the SSH, RSH, or REXEC protocol. When using the wizard, you must provide this user ID and password to access that system. 2. Start the local version of the wizard: Open the dsmicfgx program in the /opt/tivoli/tsm/server/bin directory. This wizard can only be run as a root user. Follow the instructions to complete the configuration. The wizard can be stopped and restarted, but the server is not operational until the entire configuration process is complete.

Configuring Tivoli Storage Manager using the Administration Center


The Administration Center wizard offers a guided approach to configuring a server. By using this wizard, you can avoid some configuration steps that are complex when done manually. Before beginning the configuration wizard, you must complete all preceding steps to prepare for the configuration, including installing the Version 6.2 server program, creating the database and log directories, and creating the directories and user ID for the server instance. 1. 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. Remote shell (RSH). Remote Execution Protocol (REXEC). v You must be able to log in to the Version 6.2 system with the user ID that you created for the server instance, using the SSH, RSH, or REXEC protocol. When using the wizard, you must provide this user ID and password to access that system. 2. Start the Administration Center by entering one of the following addresses in a supported Web browser:

| | | | | | | | | |

http://workstation_name:port/

Or:
https://workstation_name:port/ibm/console

22

IBM Tivoli Storage Manager for AIX: Installation Guide

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

The workstation_name is the network name or IP address of the workstation on which you installed the Administration Center and the port is the Web administration HTTP or HTTPS port number. Attention: Ensure that you are using the same port that was displayed in the summary panel of the wizard after you completed the Administration Center installation. Because of system resources and availability of certain ports on your workstation, this might be a different number from the port you had entered into the wizard in a previous panel. You will not receive any warning messages that you are using an incorrect port, and might even be able to complete some Administration Center tasks with a different port. To save time and resources, ensure that you use the intended port. The default Web administration port (HTTP) is 16310. The default secure Web administration port (HTTPS) is 16316. If you are using a different port number from the default, the secure port typically appears with 6 as the last number. Look in the following file if you want to see the port that is being used. In this file, WC_defaulthost contains the variable for the HTTP port and WC_adminhost_secure contains the variable for the HTTPS port. TIP_HOME/properties/TIPPortDef.properties where TIP_HOME is the root directory for the Tivoli Storage Manager installation. The default for TIP_HOME is /opt/ibm/ac. Tip: If you use http://workstation_name:16310/ to connect to the Administration Center, you are redirected to the secure port and address (https://workstation_name:16316/ibm/console). To start the Administration Center using the default ports, for example, enter one of the following addresses in a supported Web browser:
http://workstation_name:16310/

Or:
https://workstation_name:16316/ibm/console

3. Log in, using the Tivoli Integrated Portal user ID and password you created during the installation. After you successfully log in, the Tivoli Integrated Portal welcome page is displayed. 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. 4. Go to Tivoli Storage Manager Manage Servers and use the menu to find the Create Server Instance wizard. 5. After you open the Create Server Instance wizard, a list of tasks for setting up a Tivoli Storage Manager server instance displays. Click Next to continue. 6. Enter the TCP/IP server address and system administrator's (root user ID) logon credentials, and click Next. 7. Specify the instance and server configuration information, using the wizard to guide you.

Chapter 3. Taking the first steps after you install Tivoli Storage Manager Version 6.2

23

8. Verify the settings on the Summary page. After you have verified the information, click Finish. The Tivoli Storage Manager instance is configured in steps as indicated in the progress bar on the following page. After the configuration is finished, the wizard exits to the Manage Servers page where you can find your new server.

Configuring the server instance manually


After installing Tivoli Storage Manager Version 6.2, you can configure Tivoli Storage Manager manually instead of using the configuration wizard.

Creating the server instance


Create a Tivoli Storage Manager instance by issuing the db2icrt command. You can have one or more server instances on one workstation. Important: Before you run the db2icrt command, verify the following items: v The home directory for the user (/home/tsminst1) exists. If there is no home directory, you must create it. The instance directory, which can be in the home directory, stores the following files for the server instance: The server options file, dsmserv.opt The dsmserv.v6lock file Device configuration file, if the DEVCONFIG server option does not specify a fully qualified name Volume history file, if the VOLUMEHISTORY server option does not specify a fully qualified name Volumes for DEVTYPE=FILE storage pools, if the directory for the device class is not fully specified, or not fully qualified User exits Trace output (if not fully qualified) v A file called .profile exists in the home directory (/home/tsminst1), even if this .profile file is empty. The .profile file is owned by the instance user ID. 1. Log in using the root user ID and create a Tivoli Storage Manager instance. The name of the instance must be the same name as the user that owns the instance. Use the db2icrt command and enter the command on one line:
# /opt/tivoli/tsm/db2/instance/db2icrt -a SERVER -u instance_name instance_name

For example, if your user ID for this instance is tsminst1, use the following command to create the instance. Place it all on one line.
# /opt/tivoli/tsm/db2/instance/db2icrt -a SERVER -u tsminst1 tsminst1

Remember: From this point on, use this new user ID when configuring your Tivoli Storage Manager server. Log out of the root user ID and log in under the new instance-user ID. 2. Change the default directory for the database to be the same as the instance directory for the server. If you have multiple servers, log in under the instance ID for each server. Issue this command:
$ db2 update dbm cfg using dftdbpath instance_directory

24

IBM Tivoli Storage Manager for AIX: Installation Guide

For example:
$ db2 update dbm cfg using dftdbpath /home/tsminst1/tsminst1

3. Create a new server options file. See Configuring server and client communications.

Configuring server and client communications


A default sample server options file, dsmserv.opt.smp, is created during Tivoli Storage Manager installation in the /opt/tivoli/tsm/server/bin directory. You must set up communications between the server and clients by creating a new server options file. To do so, copy the sample file to the directory for the server instance. Ensure that you have a server instance directory, for example /home/tsminst1/ instance1, and copy the sample file to this directory. Name the new file dsmserv.opt and edit the options. Complete this set-up before you initialize the server database (see Formatting the database and log on page 28. Each sample or default entry in the sample options file is a comment, a line beginning with an asterisk (*). Options are not case-sensitive and one or more blank spaces are allowed between keywords and values. When editing the options file, follow these guidelines: v Remove the asterisk at the beginning of the line to activate an option. v Begin entering the options in any column. v Enter only one option per line, and the option must be on only one line. v If you make multiple entries for a keyword, the Tivoli Storage Manager server uses the last entry. If you change the server options file, you must restart the server for the changes to take effect. See the Administrator's Reference for a description of all server options. You can specify one or more of the following communication methods: v Shared memory v TCP/IP Version 4 or Version 6 v Simple network management protocol (SNMP) DPI Setting TCP/IP options: Select from a range of TCP/IP options for the Tivoli Storage Manager server or retain the default. The following is an example of a list of TCP/IP options you can use to set up your system.
commmethod tcpport tcpwindowsize tcpnodelay tcpip 1500 0 yes

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
Chapter 3. Taking the first steps after you install Tivoli Storage Manager Version 6.2

25

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. You can specify an integer from 0 to 2048. 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 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. The maximum number of concurrent shared memory sessions is based on available system resources. Each shared memory session uses one shared memory region of up to 4 MB, and four IPCS message queues, depending on the Tivoli Storage Manager client level. If the server and client are not run under the same user ID, then the server must be root. This prevents shared memory communication errors.

26

IBM Tivoli Storage Manager for AIX: Installation Guide

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

Chapter 3. Taking the first steps after you install Tivoli Storage Manager Version 6.2

27

Formatting the database and log


Use the DSMSERV FORMAT command to initialize a server instance. No other server activity is allowed while initializing the database and recovery log. After you have completed setting up server communications, you are ready to initialize the database. Do not place the directories on file systems that might run out of space. If certain directories (for example, the archive log) become unavailable or full, the server stops. See Capacity planning on page 6 for more details. Before you issue the DSMSERV FORMAT command, log on to the system as the instance owner that you created. See Creating the server instance on page 24 if you have not yet created a server instance. If you are running under something other than the English regional locale, the DB2CODEPAGE system environment variable must be set before you issue the DSMSERV FORMAT command. Set it to DB2CODEPAGE=819:
db2set -i tsminst1 DB2CODEPAGE=819

| | | | | | |

Issue the following command to start the database manager:


db2start

If the database manager does not start after you issue the DSMSERV FORMAT command, you might need to disable the file system mount option NOSUID. If this option is set on the file system that contains the DB2 instance owner directory, or on any file system that contains the DB2 database, active logs, or archive logs, it must be disabled in order to start the system.

Example: Format a database


Enter the following command on one line.
dsmserv format dbdir=/tsm/db activelogdir=/tsm/activelog archlogdir=/tsm/archlog

Preparing the database manager for backup


To back up the data in the database to Tivoli Storage Manager, you must enable the database manager and configure the Tivoli Storage Manager application programming interface (API). If you use the Tivoli Storage Manager Server Instance Configuration wizard to create a Tivoli Storage Manager server instance, you do not need to complete these steps. If you are configuring an instance manually, complete the following steps before issuing either the BACKUP DB or the RESTORE DB commands. | | | | | | | | | Attention: If the database is unusable, the entire Tivoli Storage Manager server is unavailable. If a database is lost and cannot be recovered, it might be difficult or impossible to recover data managed by that server. Therefore, It is critically important to back up the database. However, even without the database, fragments of data or complete files might easily be read from storage pool volumes that are not encrypted. Even if data is not completely recovered, security can be compromised. For this reason, sensitive data should always be encrypted by the Tivoli Storage Manager client or the storage device, unless the storage media is physically secured. In the following commands, the examples use tsminst1 for the server instance user ID and /home/tsminst1/tsminst1 for the Tivoli Storage Manager server instance directory. Replace these values with your actual values in the commands.

28

IBM Tivoli Storage Manager for AIX: Installation Guide

1. Set the DSMI_ api environment-variable configuration for the database instance: a. Log in using the tsminst1 user ID. b. When user tsminst1 is logged in, ensure that the DB2 environment is properly initialized. The DB2 environment is initialized by running the /home/tsminst1/sqllib/db2profile script, which normally runs automatically from the user ID's profile. If /home/tsminst1/.profile does not run the db2profile script, add the following lines to /home/tsminst1/.profile:
if [ -f /home/tsminst1/sqllib/db2profile ]; then . /home/tsminst1/sqllib/db2profile fi

c. Add or update the following lines to the userprofile file in the /home/tsminst1/sqllib directory:
export DSMI_CONFIG=/home/tsminst1/tsminst1/tsmdbmgr.opt export DSMI_DIR=/usr/tivoli/tsm/client/api/bin64 export DSMI_LOG=/home/tsminst1/tsminst1

2. Log out and log in again as tsminst1, or issue this command:


. ~/.profile

3. Create a file called tsmdbmgr.opt in the /home/tsminst1/tsminst1 directory and add the following line:
SERVERNAME TSMDBMGR_TSMINST1

4. Add the following lines to the Tivoli Storage Manager API dsm.sys configuration file. The dsm.sys configuration file is in the following default location: /usr/tivoli/tsm/client/api/bin64 Avoid placing the server name, TSMDBMGR_TSMINST1, first in dsm.sys because it should not be the system-wide default. In this example, the added lines are after the stanza for server_a.
Servername server_a COMMMethod TCPip TCPPort 1500 TCPServeraddress node.domain.company.COM servername TSMDBMGR_TSMINST1 commmethod tcpip tcpserveraddr localhost tcpport 1500 passwordaccess generate passworddir /home/tsminst1/tsminst1 errorlogname /home/tsminst1/tsminst1/tsmdbmgr.log nodename $$_TSMDBMGR_$$

5. Stop and start the database instance: a. Stop DB2:


db2stop

b. Start DB2:
db2start

6. Set the API password: a. Ensure that the Tivoli Storage Manager server is started. See Starting the server instance on page 30 for the details. b. Log in using the root user ID. c. Source the database manager by running the following command.
. /home/tsminst1/sqllib/db2profile

Chapter 3. Taking the first steps after you install Tivoli Storage Manager Version 6.2

29

d. Change the API password, using this command:


/home/tsminst1/sqllib/adsm/dsmapipw

e. When prompted by the dsmapipw command, specify TSMDBMGR as both the original and new password. f. Enter this operating system command:
rm /home/tsminst1/tsminst1/tsmdbmgr.log

Starting the server instance


Verify that the server instance is correctly set up by starting the Tivoli Storage Manager instance. You can start the server when logged in to the system with the user ID you created for this instance. You can also start the server when logged in as the root user. Before you start a Tivoli Storage Manager server instance, ensure that you have created the dsmserv.opt file and put the parameters for this instance in that file. See Configuring server and client communications on page 25 if you have not yet created a dsmserv.opt file. Remember: Starting the server is an operating system-level operation and has certain restrictions. If you do not have the permissions to use the dsmserv program, you cannot start it. If you do not have authority to read/write files in the instance directory, you cannot start that instance of the server.

Starting the server from the user ID that owns the server instance
The user ID that owns the server instance has a user profile that enables it to run the server with the necessary permissions. To start a Tivoli Storage Manager server instance, complete the following steps: 1. Run the user profile (db2profile) before starting the server if you do not have one. Attention: If you are logged in as the instance user, the db2profile was already copied to .profile when you defined the instance. If you are not logged in as an instance user and that profile did not run, you should do this step manually. A .profile is not automatically created.
# . /home/tsminst1/sqllib/db2profile

2. Change to the instance directory you want to use.


# cd instance_directory

where instance_directory is the name of your Tivoli Storage Manager instance directory. 3. Start the server instance by issuing the following command:
# /opt/tivoli/tsm/server/bin/dsmserv

Note: The command runs in the foreground so that you can set an administrator ID and connect to the server instance. The name for the instance of the Tivoli Storage Manager server is tsminst1. To start tsminst1, verify that you are in the home directory that you set up for the server instance and enter the following command:

30

IBM Tivoli Storage Manager for AIX: Installation Guide

# . ~/sqllib/db2profile # /opt/tivoli/tsm/server/bin/dsmserv To start the server in the background, enter the following command: # /opt/tivoli/tsm/server/bin/dsmserv -q & To view the output from a server that is started with a command like this, see the nohup.out file.

Authorizing root users to start the server


In Version 6.2 a user that is not the instance owner must be explicitly granted authority to start a Tivoli Storage Manager server. In the following example, user ID tsmuser1 is in the primary group TSMSRVRS, and tsmuser1 is used to create Tivoli Storage Manager server and DB2 instances. The SYSADM_GROUP of the instance is TSMSRVRS because it is the primary group of user ID tsmuser1. User ID tsmuser2 is also in the primary group TSMSRVRS. It is best to use the instance user ID to start the server. However, if you want to allow another user ID to access the database, you must explicitly grant it authority. Log in as the instance owner, connect to the database, and issue the DB2 GRANT command. For example: 1. Log in from root or as the instance owner.
# su - tsmuser1

2. Start DB2.
$ db2start

3. Connect to the TSMDB1 database.


$ db2 connect to tsmdb1

4. Grant user tsmuser2 authority to the database.


$ db2 grant dbadm on database to user tsmuser2

You can allow the root user to run the server by substituting the user root for tsmuser2. However, root must belong to the SYSADM_GROUP group, and must have been granted DBADM authority by the instance user.

Starting the server from the root user ID


With some setup, you can start the server from the root user ID. You can run the server using either the root user ID or the user ID that owns the server instance. To start a Tivoli Storage Manager server instance from the root user ID, do the following steps: 1. If you plan to run the server using the root user ID, add the root user ID to the primary group of the user ID that owns the instance. 2. Change the .profile file for the root user to run the db2profile script for the instance user ID, using the following command. For example, if the instance name is tsminst1, then the root user ID must run /home/tsminst1/sqllib/ db2profile to set the database environment variables and library.
# . ~tsminst1/sqllib/db2profile

Restriction: If you are running a Bourne shell, be sure to enter the fully qualified home directory for the instance user ID.
Chapter 3. Taking the first steps after you install Tivoli Storage Manager Version 6.2

31

# . <home_directory>/sqllib/db2profile

where home_directory is the fully qualified home directory for the instance user ID. 3. Change to the instance directory. For example, for the server instance named tsminst1:
# cd /home/tsminst1/tsminst1

4. Start the server instance. v To start the tsminst1 server using the root user ID and run it as the instance owner, use the -u option.
# nohup /opt/tivoli/tsm/server/bin/dsmserv -u tsminst1 -q &

With this command, the server program runs in the background. v To start the tsminst1 server using the root user ID and run it as the root user ID, issue the following command. If the root user ID is a member of the instance-user ID's primary group, the root user ID has authority to start the database manager.
# /opt/tivoli/tsm/server/bin/dsmserv

Important: The database and log files are written by the instance user ID, not the root user ID. Ensure that the permissions on the database and log directories allow read and write access by the instance user ID.

Automatically starting servers


You can automatically start servers at system startup. Use the rc.dsmserv script, which is provided for this purpose. The rc.dsmserv script is located in /opt/tivoli/tsm/server/bin. Tip: If you used the configuration wizard, you had the choice of starting the configured server automatically when the system is restarted. If you selected that choice, the startup of the server was added to the /etc/inittab file. For each server that you want to automatically start, add an entry to the /etc/inittab file to run the rc.dsmserv script. v Set the run level to the value that corresponds to multiuser mode, with networking enabled. Typically, the run level to use is 2, 3, or 5, depending on the operating system and its configuration. Consult documentation for your operating system for details on run levels. v On the rc.dsmserv command, specify the instance owner name with the -u option, and the location of the server instance directory with the -i option. Verify correct syntax for the entry by consulting documentation for your operating system. For example, if the instance owner is tsminst1 and the server instance directory is /home/tsminst1/tsminst1, add the following entry to /etc/inittab, on one line:
tsm1:2:once:/opt/tivoli/tsm/server/bin/rc.dsmserv -u tsminst1 -i /home/tsminst1/tsminst1 -q >/dev/console 2>&1

In this example, the ID for the process is tsm1, and the run level is set to 2. If you have more than one server instance that you want to run, add an entry for each server instance. For example, if you have instance owner IDs tsminst1 and

32

IBM Tivoli Storage Manager for AIX: Installation Guide

tsminst2, and instance directories /home/tsminst1/tsminst1 and /home/tsminst2/tsminst2, add the following entries to /etc/inittab. Each entry is on one line.
tsm1:2:once:/opt/tivoli/tsm/server/bin/rc.dsmserv -u tsminst1 -i /home/tsminst1/tsminst1 -q >/dev/console 2>&1 tsm2:2:once:/opt/tivoli/tsm/server/bin/rc.dsmserv -u tsminst2 -i /home/tsminst2/tsminst2 -q >/dev/console 2>&1

Stopping the server


You can stop the server without warning if an unexpected problem requires you to return control to the operating system. To avoid losing administrative and client node connections, stop the server only after current sessions have completed or been canceled. To stop the server, issue the following command from the Tivoli Storage Manager command prompt:
halt

The server console stops. If you cannot connect to the server with an administrative client and you want to stop the server, you must cancel the process by using the kill command with the process ID number (pid) that is displayed at initialization. Important: Before you issue the kill command, ensure that you know the correct process ID for the Tivoli Storage Manager server. The dsmserv.lock file, in the directory from which the server is running, can be used to identify the process ID of the process to kill. To display the file enter:
cat /opt/tivoli/tsm/server/bin/dsmserv.lock

Issue the following command to stop the server:


# kill -36 dsmserv_pid where dsmserv_pid is the process ID number.

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.

Preparing the system for database backups


To prepare the system for automatic and manual database backups, you must specify the device class to be used. Before you begin the setup, ensure that you have defined a tape or file device class. See the defining device classes section of the Administrator's Guide. To set up your system for database backups, issue the SET DBRECOVERY command to specify a device class to be used for the backups. You can also change the device class to be used for database backups with the SET DBRECOVERY command. Perform the following setup procedure:

Chapter 3. Taking the first steps after you install Tivoli Storage Manager Version 6.2

33

1. If you did not use the configuration wizard (dsmicfgx) to configure the server, ensure that you have completed the steps to manually configure the system for database backups. 2. Select the device class to be used for backups of the database. Issue the following command from a IBM Tivoli Storage Manager administrative command line.
set dbrecovery device_class_name

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.

Running multiple server instances on a single system


It is possible to create more than one server instance on your system. Each server instance has its own instance directory, and database and log directories. Multiply the memory and other system requirements for one server by the number of instances planned for the system. The set of files for one instance of the server are stored separately from those used by another server instance on the same system. Use the steps in Creating the server instance on page 24 for each new instance, including creating the new instance user. To manage the system memory that is used by each server, use the DBMEMPERCENT server option to limit the percentage of system memory. If all servers are equally important, use the same value for each server. If one server is a production server and other servers are test servers, set the value for the production server to a higher value than the test servers. | | | | | | | If you are upgrading from Tivoli Storage Manager Version 6.1 to Version 6.2 and have multiple servers on your system, you only have to run the upgrade wizard once. The upgrade wizard collects the database and variables information for all of your V6.1 server instances. All instances that exist in DB2 Version 9.5 are dropped and recreated in DB2 Version 9.7. The wizard issues the db2 upgrade db dbname command for each database. The database environment variables for each instance on your system are also reconfigured during the upgrade process.

34

IBM Tivoli Storage Manager for AIX: Installation Guide

Monitoring the server


When you start using server in production operation, monitor the space used by the server to ensure that the amount of space is adequate. Make adjustments as needed. 1. Monitor the active log, to ensure that the size is correct for the workload that is handled by the server instance. When the server workload is up to its typical expected level, and the space that is used by the active log is 80 - 90% of the space that is available to the active log directory, you might need to increase the amount of space. Whether you need to increase the space depends on the types of transactions in the server's workload, because transaction characteristics affect how the active log space is used. The following transaction characteristics can affect the space usage in the active log: v The number and size of files in backup operations Clients such as file servers that back up large numbers of small files can cause large numbers of transactions that complete during a short period of time. The transactions might use a large amount of space in the active log, but for a short period of time. Clients such as a mail server or a database server that back up large chunks of data in few transactions can cause small numbers of transactions that take a long time to complete. The transactions might use a small amount of space in the active log, but for a long period of time. v Network connection types Backup operations that occur over fast network connections cause transactions that complete more quickly. The transactions use space in the active log for a shorter period of time. Backup operations that occur over relatively slower connections cause transactions that take a longer time to complete. The transactions use space in the active log for a longer period of time. If the server is handling transactions with a wide variety of characteristics, the space that is used for the active log might go up and down by a large amount over time. For such a server, you might need to ensure that the active log typically has a smaller percentage of its space used. The extra space allows the active log to grow for transactions that take a very long time to complete, for example. 2. Monitor the archive log to ensure that space is always available. Remember: If the archive log becomes full, and the failover archive log becomes full, the active log can become full and the server will stop. The goal is to make enough space available to the archive log so that it never uses all its available space. You are likely to notice the following pattern: a. Initially, the archive log grows rapidly as typical client-backup operations occur. b. Database backups occur regularly, either as scheduled or done manually. c. After at least two full database backups occur, log pruning occurs automatically. The space used by the archive log decreases when the pruning occurs. d. Normal client operations continue, and the archive log grows again.

Chapter 3. Taking the first steps after you install Tivoli Storage Manager Version 6.2

35

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.

36

IBM Tivoli Storage Manager for AIX: Installation Guide

Chapter 4. Installing the reporting and monitoring feature


IBM Tivoli Storage Manager reporting and monitoring provides information and reports about the IBM Tivoli Storage Manager servers and client activity. The Tivoli Storage Manager reporting and monitoring feature installs the following components: v IBM Tivoli Monitoring, which includes of the following components: IBM DB2 IBM Tivoli Monitoring - Tivoli Enterprise Portal - Tivoli Data Warehouse - Tivoli Enterprise Monitoring Server - Summarization Pruning Agent - Warehouse Proxy Agent Tivoli Storage Manager reporting and monitoring agent

To view historical reports only, (no access to current data on the Tivoli Enterprise Portal) you have to install the Administration Center. For details on installing the Administration Center, see Chapter 5, Installing and configuring the Administration Center, on page 67. For more details on how the Tivoli Storage Manager data flows between components see the IBM Tivoli Storage Manager Administrator's Guide for your operating system. To create your own reports, you are also required to install the Business Intelligence and Reporting Tools (BIRT) software. The Tivoli Storage Manager reporting and monitoring feature does not have an option to create custom reports using Tivoli Storage Manager. For more details on using custom reporting, see Installing software for custom reporting on page 63. Related information IBM Tivoli Storage Manager reporting and monitoring feature information roadmap

Planning to install the Tivoli Storage Manager reporting and monitoring feature
Before installing the Tivoli Storage Manager reporting and monitoring feature, there are some decisions you must make.

You have IBM Tivoli Monitoring currently installed on a server


If you are currently using IBM Tivoli Monitoring, the Tivoli Storage Manager reporting and monitoring feature can be installed on your existing IBM Tivoli Monitoring server but the following requirements must be met:

Copyright IBM Corp. 1993, 2010

37

v The IBM Tivoli Monitoring server must be a fully-licensed version of IBM Tivoli Monitoring. v The IBM Tivoli Monitoring server must be at the 6.2 FP1 or higher level. v Because the Tivoli Enterprise Monitoring Server controls the reporting and monitoring agent, the agent must be installed on your existing Tivoli Enterprise Monitoring Server. You can install the reporting and monitoring agent on any IBM Tivoli Monitoring server, but it is required on the Tivoli Enterprise Monitoring Server. For this type of reporting and monitoring installation, the Reporting and monitoring feature option would not be checked on the installation wizard and the IBM Tivoli Monitoring server is identified when prompted by the installation script.

| | |

The version of IBM Tivoli Monitoring that you install with the reporting and monitoring feature can only be used for Tivoli Storage Manager reporting and monitoring functions. You cannot upgrade or downgrade your existing IBM Tivoli Monitoring installation using the Tivoli Storage Manager reporting and monitoring installation wizard.

You do not have IBM Tivoli Monitoring installed on a server


In this situation, you must install all components of the Tivoli Storage Manager reporting and monitoring feature on one server. The Tivoli Storage Manager server 6.2 and higher versions must be installed on a separate system. Besides the Reporting and monitoring feature component, the Reporting and monitoring agent component is also required as part of data collection and monitoring and is installed on the Tivoli Storage Manager reporting and monitoring server.

Requirements for the Tivoli Storage Manager reporting and monitoring agent configuration
The only time you configure the reporting and monitoring agent on the server where you installed the Reporting and monitoring feature component is when you have the following conditions: v If you have an IT environment that has less than 10 Tivoli Storage Manager servers. v If you want to establish a prototype of the Tivoli Storage Manager server to test the installation first. | | | | | Collecting data from multiple Tivoli Storage Manager servers using this configuration requires creation of multiple reporting and monitoring agent instances and results in using large amounts of memory. For reporting and monitoring, you need an additional 4 GB or more of memory on the Tivoli Storage Manager server to provide optimum performance. For an IT environment that has more than 10 Tivoli Storage Manager servers, install the reporting and monitoring agent on each Tivoli Storage Manager server that you want to monitor. This configuration allows for the most efficient use of

38

IBM Tivoli Storage Manager for AIX: Installation Guide

memory on both the Tivoli Storage Manager server and the IBM Tivoli Monitoring server.

Installation scenarios for the reporting and monitoring feature


Depending on the type of reporting installation you are performing, you install different components. The following situations describe three installation scenarios and list the components you install for each scenario: v You have Tivoli Storage Manager, version 5.5 or 6.1 and you want to install the reporting and monitoring feature only. You install the reporting and monitoring agent on your Tivoli Storage Manager server. You install the following components on a different system which will be your Tivoli Storage Manager reporting and monitoring server: - Tivoli Storage Manager reporting and monitoring feature - Reporting and monitoring agent - Reporting and monitoring languages - Tivoli Storage Manager Administration Center For details on installing the Administration Center, see Chapter 5, Installing and configuring the Administration Center, on page 67. It is not available through the Tivoli Storage Manager reporting and monitoring feature installation wizard. v You are installing Tivoli Storage Manager, version 6.2 for the first time and you want to install both Tivoli Storage Manager server and the Tivoli Storage Manager reporting and monitoring feature. 1. You install Tivoli Storage Manager, version 6.2 and the reporting and monitoring agent on one system. 2. You install the following components on a different system which will be your Tivoli Storage Manager server: Tivoli Storage Manager reporting and monitoring feature Reporting and monitoring agent Reporting and monitoring languages Tivoli Storage Manager Administration Center For details on installing the Administration Center, see Chapter 5, Installing and configuring the Administration Center, on page 67. It is not available through the Tivoli Storage Manager reporting and monitoring feature installation wizard. v You have Tivoli Storage Manager, version 5.5 or 6.1 installed and you want to upgrade to Tivoli Storage Manager, version 6.2. 1. You upgrade your Tivoli Storage Manager, version 5.5 or 6.1 server to Tivoli Storage Manager, version 6.2 and install the Tivoli Storage Manager reporting and monitoring agent on this system. 2. You install the following components on a different system which will be your Tivoli Storage Manager reporting and monitoring server: Tivoli Storage Manager reporting and monitoring feature Tivoli Storage Manager reporting and monitoring agent Tivoli Storage Manager reporting and monitoring languages Tivoli Storage Manager Administration Center For details on installing the Administration Center, see Chapter 5, Installing and configuring the Administration Center, on page 67. It is
Chapter 4. Installing the reporting and monitoring feature

39

not available through the Tivoli Storage Manager reporting and monitoring feature installation wizard.

System requirements for Tivoli Storage Manager reporting and monitoring


There are hardware and software requirements your system must meet before the reporting and monitoring feature is installed.

Hardware requirements
Table 10 describes the hardware requirements for the Tivoli Storage Manager reporting and monitoring feature.
Table 10. Hardware requirements Type of hardware Hardware Hardware requirements v Dual core Intel Pentium compatible processor or multiprocessor-based computer with a 2Ghz or greater processor v Minimum 64 bit system for AIX v Network interface card v Graphic display adapter Disk space v 30 GB free disk space (minimum). Requirements increase as historical data is gathered and stored in Tivoli Data Warehouse. v Minimum, 10 GB free space made available in the home directory where the warehouse data is stored. Memory v 4 GB minimum v If Tivoli Storage Manager monitoring agents are installed on the 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 is running on the Tivoli Storage Manager server and no increases in memory requirements are needed by the IBM Tivoli Monitoring server. Monitor Set your monitor resolution to 1024 x 768 (minimum) in order to view the entire window.

Software requirements
Table 11 describes the minimum software requirements for the Tivoli Storage Manager reporting and monitoring feature.
Table 11. Software requirements Type of software Operating System Minimum software requirements See Table 12 on page 41 for a complete list of supported operating systems and components.

40

IBM Tivoli Storage Manager for AIX: Installation Guide

Table 11. Software requirements (continued) Type of software Web browser Minimum software requirements A Web browser to log on and use the console. The Web browser can be installed on the same or a separate system. The following browsers can be used: v Microsoft Internet Explorer 6.x (Windows systems only) v Firefox 1.0.2 v Firefox 1.3 v Firefox 1.4 Mozilla has published some fixes you might need to run on AIX systems v Netscape 6.2 v Netscape 7 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. Communication At least one of the following communication protocols: Protocol v Named Pipes v TCP/IP Version 4 or Version 6 Optional software The following optional software is required for creating your own custom reports: v Business Intelligence and Reporting Tools (BIRT), version 2.2.1, All-In-One software v IBM Java 1.5 Java Developers Kit/Java Runtime Environment (JDK/JRE) installed on the server where you are creating custom reports X Window System or X11 GUI Supplied with AIX and Linux software If you are accessing the Tivoli Storage Manager reporting and monitoring server remotely, you have to tunnel the X11 server back to your system. If you are on a Windows system, you must have an X11 Window System running.

Table 12 lists the operating systems that are supported by Tivoli Monitoring and the reporting and monitoring feature. | | | | | | | | | | |
Table 12. Supported operating systems Feature: (IBM Tivoli Monitoring server, reporting component, and data collection agent) X X X X X X

Operating systems Windows 2003 Windows 2003 64 bit Windows 2008 Windows 2008 64 bit AIX 5.3 64 bit AIX 6.1 64 bit

Data collection agent only X X X X X X

Chapter 4. Installing the reporting and monitoring feature

41

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

Table 12. Supported operating systems (continued) Feature: (IBM Tivoli Monitoring server, reporting component, and data collection agent) X X

Operating systems RHEL 5 32 bit Intel RHEL 5 32 bit Intel Xeon RHEL 5 32 bit Intel AMD SLES 10 32 bit Intel SLES 10 32 bit Intel Xeon SLES 10 32 bit Intel AMD RHEL 5 64 bit Intel RHEL 5 64 bit Intel Xeon RHEL 5 64 bit AMD SLES 10 64 bit Intel SLES 10 64 bit Intel Xeon SLES 10 64 bit Intel AMD

Data collection agent only X X X X X X X X X X X X

Important: If you are installing a reporting and monitoring agent, and you previously installed an IBM Tivoli Monitoring server, you must install the reporting and monitoring agent on the existing Tivoli Enterprise Monitoring Server. The reporting and monitoring feature is only supported with IBM Tivoli Monitoring, version 6.2 FP1.

Related tasks Installing a reporting and monitoring agent on page 56 Installing software for custom reporting on page 63

Work sheet for installation information


Use the work sheet to record information that you need during installation and administration of the Tivoli Storage Manager reporting and monitoring feature. | | | | | | | | | |
Table 13. Work sheet for installation information for Tivoli Storage Manager reporting and monitoring Item db2 user ID Description Default value*

The user name and User name: db2inst1 Password: password for the administrator for the IBM Tivoli Data Warehouse database. This user has permission to do all the administrative tasks in DB2.

42

IBM Tivoli Storage Manager for AIX: Installation Guide

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

Table 13. Work sheet for installation information for Tivoli Storage Manager reporting and monitoring (continued) Item Description Default value* IBMTivoliMonitoringEncryptionKey

encryption key The encryption key needs to be the same for any agent trying to access the Tivoli Enterprise Monitoring server. sysadmin User name and password for access to the Tivoli Enterprise Portal.

ITMUser

User name: itmuser User name and password for access to the Tivoli Data Password: Warehouse. This user has access to read the information from the WAREHOUS database. Attention: You are only prompted for this during configuration of the warehouse, not at installation time.

DB2 port

default port number

50000

*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.

Installing the Tivoli Storage Manager reporting and monitoring feature on AIX and Linux
You can install the Tivoli Storage Manager reporting and monitoring feature on an AIX and Linux system using the Tivoli Storage Manager reporting and monitoring installation wizard or using the console mode. Confirm your system meets the system hardware and software and component requirements. See System requirements for Tivoli Storage Manager reporting and monitoring on page 40. Confirm you have the required access privileges. See Work sheet for installation information on page 42. | | | | If you have uninstalled a previous version of the Tivoli Storage Manager reporting and monitoring feature, before the reinstallation of the feature, confirm that the DB2 users, db2inst1 and db2fenc1 do not exist. See the section, Before reinstalling: confirm a complete uninstallation.

Chapter 4. Installing the reporting and monitoring feature

43

Before reinstalling: confirm a complete uninstallation


If you have uninstalled a previous version of the Tivoli Storage Manager reporting and monitoring feature, confirm that the DB2 users, db2inst1 and db2fenc1 do not exist before reinstallating. After uninstalling, ensure these DB2 users do not exist by completing the following steps on the server where you are reinstalling: 1. Check for the existence of the db2inst1 and db2fenc1 users by running the following command:
lsuser db2inst1 lsuser db2fenc1

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

2. If the users exist, remove them by running the following command:


rmuser db2inst1 rmuser db2fenc1

3. Clean up the /etc/services file by completing the following steps: a. cd /etc


cp services services.org vi services

b. Look for this line in the file: db2c_db2inst1 xxxxxx/tcp, where xxxxxx is a port number (default is 50000). Remove the line by completing the following steps: 1) Scroll down the file using the up arrow and down arrow to locate the line. 2) With the cursor on that line, type: dd. The line disappears. 3) Press the ESC key. 4) Type : The colon input line opens at the bottom of the screen. 5) Type wq Your changes are saved and vi is exited. 4. Return to your home directory by running the following command. Typically, /home is the default home directory name for the db2inst1 and db2fenc1 users.
cd home directory for db2inst1 and db2fenc1

| | |

5. If these directories exist, remove them by running the following command:


rmdir -fr db2inst1 rmdir -fr db2fenc1

Attention: If an existing database is stored in the db2inst1 directory that data is lost. Related tasks Installing the Tivoli Storage Manager reporting and monitoring feature using the installation wizard on page 45 Installing the Tivoli Storage Manager reporting and monitoring feature using the console mode on page 47

44

IBM Tivoli Storage Manager for AIX: Installation Guide

Installing the Tivoli Storage Manager reporting and monitoring feature using the installation wizard
You can install the Tivoli Storage Manager reporting and monitoring feature using the Tivoli Storage Manager reporting and monitoring installation wizard. See Installing the Tivoli Storage Manager reporting and monitoring feature on AIX and Linux on page 43 for prerequisites. If you are installing the Tivoli Storage Manager reporting and monitoring feature from a DVD, complete the following steps: 1. Insert the Tivoli Storage Manager reporting and monitoring feature DVD into the DVD drive. 2. Ensure that the DVD is mounted on directory /dvdrom and change to that directory. If you downloaded the program from Passport Advantage as an executable file or as a tar file, complete the following steps: 1. Change to the directory where you downloaded the executable file. Tip: This file system requires around 6.5 GB to 7 GB of free disk space. 2. Change the file permissions by entering the following command:
chmod +x Cxxxxxx.bin

| | | |

where xxxxxx is some part number, for example: CZ1N1ML. 3. Start extracting the required files by running the following command:
./Cxxxxxx.bin

Attention: There are two self-extracted packages for AIX. These steps need to be run for each package. Attention: If you are installing on a remote system using an X display, and the local system does not have an X server running, the installation may fail. If this happens, you must unset the DISPLAY environment variable and restart the installation. To install the Tivoli Storage Manager reporting and monitoring feature, complete the following steps: 1. After all the files have been extracted, to start the installation GUI wizard, issue the following command:
./install.bin

| | | |

The Tivoli Storage Manager reporting and monitoring installation wizard displays. 2. Select the language for the wizard at the bottom of the page and click OK. 3. Accept the license agreement in order to proceed. Click Next. 4. On the Component Selection page, depending on the purpose of this installation, select one of the following options: v For an IBM Tivoli Monitoring server, select the Reporting and monitoring feature option. This option installs the following components: IBM DB2 9.5 IBM Tivoli Monitoring 6.2.1
Chapter 4. Installing the reporting and monitoring feature

45

| | |

Reporting and monitoring agent v For the reporting and monitoring agent only, select the Reporting and monitoring agent only option. Use this option to monitor a Tivoli Storage Manager server, and install the agent on the Tivoli Storage Manager server you want to monitor. Remember: For all Linux platforms that are only supported on the reporting and monitoring agent, you must use this option. See the Supported operating systems table in the following link for more on supported platforms: System requirements for Tivoli Storage Manager reporting and monitoring on page 40 v If you want a language other than English, choose one of the following options: If you chose to install the Reporting and monitoring feature, select the Language package for feature option, and the Language package for monitoring agent only option. If you chose to install the Reporting and monitoring agent only option, install the Language package for monitoring agent only option. Attention: The installer checks the version level of any components you have previously installed. You can get the message: No components to install in the following scenarios: v If you are installing the Reporting and monitoring feature, the feature language package, and the monitoring agent language package, and they are all at the same level or higher. v If you are installing just the reporting and monitoring agent and the agent language package and they are all at the same level or higher. 5. If you get this message, select Enter to exit out of the installer. Select the destination directory for this installation. If you are installing into an existing IBM Tivoli Monitoring environment, choose the exact directory where that code is installed. If you selected the option to install the Reporting and monitoring feature component, accept the Tivoli Monitoring license agreement in order to proceed. Click Next. The DB2 Enterprise Server Edition page is displayed. In the DB2 password field, enter a password twice, it cannot be longer than eight characters. Leave all other selections with the default. Click Next. The Encryption page is displayed. Enter the encryption key and click Next. Make note of this key for later use.

| |

| | | | | | | | |

6.

7.

8.

9. Accept the default installation location and click Next. 10. You are presented with the pre-installation summary of your configuration. Perform one of the following tasks: v To start the installation, click Install. v To make corrections or changes, click Previous. At the end of the installation, the Installation Results page presents a message with the installation results. If there were any errors during the installation, the summary panel lists the errors and directs you to an error log file. To view historical reports, you have to install the Administration Center. If you have not installed the Administration Center, install it next. See Chapter 5, Installing and configuring the Administration Center, on page 67 for details.

46

IBM Tivoli Storage Manager for AIX: Installation Guide

If you plan to install the Tivoli Storage Manager reporting and monitoring agent on the Tivoli Storage Manager server, this installation must be done before continuing to the other configuration steps. Related tasks: v Accessing DB2 and configuring the Tivoli Enterprise Portal server on page 50 v Creating and configuring the Tivoli Data Warehouse on page 53 v Configuring Summarization and Pruning agent parameters on page 54 v Configuring historical data collection on page 55

Installing the Tivoli Storage Manager reporting and monitoring feature using the console mode
You can install the Tivoli Storage Manager reporting and monitoring feature using the command-line console mode installation. See Installing the Tivoli Storage Manager reporting and monitoring feature on AIX and Linux on page 43 for prerequisites. If you are installing the Tivoli Storage Manager reporting and monitoring feature from a DVD, complete the following steps: 1. Insert the Tivoli Storage Manager reporting and monitoring feature DVD into the DVD drive. 2. Ensure that the DVD is mounted on directory /dvdrom and change to that directory. If you downloaded the program from Passport Advantage as an executable file or as a tar file, complete the following steps: 1. Change to the directory where you downloaded the executable file. Tip: This file system requires around 6.5 GB to 7 GB of free disk space. 2. Change the file permissions by entering the following command:
chmod +x Cxxxxxx.bin

| | | |

where xxxxxx is some part number, for example: CZ1N1ML. 3. Start extracting the required files by running the following command:
./Cxxxxxx.bin

Attention: There are two self-extracted packages for AIX. These steps need to be run for each package. Attention: If you are installing on a remote system using an X display, and the local system does not have an X server running, the installation may fail. If this happens, you must unset the DISPLAY environment variable and restart the installation. To install the Tivoli Storage Manager reporting and monitoring feature in console mode, complete the following steps: 1. Run the following command from the install directory. This command starts the text-based install program.
install.bin -i console

2. Choose the locale by entering the number for your language. Press Enter for English (the default) and to continue.
Chapter 4. Installing the reporting and monitoring feature

47

| | | | |

3. Type 1 to accept the license agreement. Press Enter to proceed. 4. Choose one of the following options, and enter your selection. v Type 1- Reporting and monitoring feature from the Component Selection window to install the following components: DB2 9.5 IBM Tivoli Monitoring 6.2.1 Tivoli Storage Manager reporting and monitoring agent v Type 2- Reporting and monitoring agent only to install only the reporting and monitoring agent on an existing Tivoli Storage Manager server. Remember: For all Linux platforms that are only supported on the reporting and monitoring agent, you must use this option. See the Supported operating systems table in the following link for more on supported platforms: System requirements for Tivoli Storage Manager reporting and monitoring on page 40 5. If you want a language other than English, choose one of the following options: v If you chose to install the feature, type 3 and 4, separated by commas. v If you chose to install the Reporting and monitoring agent only option, type 4 Press Enter.

| |

| | | | | | | | |

Attention: The installer checks the version level of any components you have previously installed. You can get the message: No components to install in the following scenarios: v If you are installing the Reporting and monitoring feature, the feature language package, and the monitoring agent language package, and they are all at the same level or higher. v If you are installing just the reporting and monitoring agent and the agent language package and they are all at the same level or higher. If you get this message, select Enter to exit out of the installer. 6. If you selected the option to install the Reporting and monitoring feature component, accept the Tivoli Monitoring license agreement to proceed. 7. Press enter to accept the destination directory. If you are installing into an existing IBM Tivoli Monitoring environment, choose the exact directory where that code is installed. 8. Enter the DB2 administrator password. It cannot be longer than eight characters. Press Enter. 9. Re-enter the password you selected. Press Enter. 10. Press Enter to accept the default encryption key. 11. Press Enter. The pre-installation summary displays. 12. Press Enter to accept the pre-installation summary of your configuration and start the installation. 13. Press Enter to exit the console mode installation program. To view historical reports, you have to install the Administration Center. If you have not installed the Administration Center, install it next. See Chapter 5, Installing and configuring the Administration Center, on page 67 for details.

48

IBM Tivoli Storage Manager for AIX: Installation Guide

After the Tivoli Storage Manager reporting and monitoring console mode installation has completed, you must complete the following tasks before you can collect historical data. If you plan to install the Tivoli Storage Manager monitoring agent on the Tivoli Storage Manager server, that must be done before continuing to the other configuration steps. v Accessing DB2 and configuring the Tivoli Enterprise Portal server on page 50 v Creating and configuring the Tivoli Data Warehouse on page 53 v Configuring Summarization and Pruning agent parameters on page 54 v Configuring historical data collection on page 55

Taking the first steps after you install the Tivoli Storage Manager reporting and monitoring feature
After you install the Tivoli Storage Manager reporting and monitoring feature, there are several configuration tasks that you need to perform to enable reporting for historical data collection. Important: All post installation configuration steps must be performed as the root user. 1. Configure DB2 in order to access the Tivoli Data Warehouse. See Setting permissions on an IBM Tivoli Monitoring server on page 50. 2. Configure the Tivoli Enterprise Portal Server to view real-time monitoring information for the configured Tivoli Storage Manager servers and clients. You must also configure the portal in order to collect and view historical data. See Accessing DB2 and configuring the Tivoli Enterprise Portal server on page 50. 3. Configure the IBM Tivoli Data Warehouse and the Summarization and Pruning Agent in order to collect and view reports on the historical data using the Manage Tivoli Enterprise Monitoring Services application. v See Creating and configuring the Tivoli Data Warehouse on page 53 v See Configuring Summarization and Pruning agent parameters on page 54 4. Configure the Tivoli Enterprise Portal to actually start the historical data collection. See Configuring historical data collection on page 55. 5. Install the Tivoli Storage Manager monitoring agent on each of the Tivoli Storage Manager servers where you plan to configure a monitoring agent instance to run. See Installing a reporting and monitoring agent on page 56. Tip: This process is the best practice if you want the Tivoli Storage Manager reporting and monitoring server to receive information about more than 10 Tivoli Storage Manager servers. When you have less than 10 Tivoli Storage Manager servers to monitor, use the Tivoli Storage Manager monitoring agent that is already installed on your Tivoli Monitoring server to get information from the Tivoli Storage Manager servers. 6. Create and configure the Tivoli Storage Manager monitoring agent instance using the Candle Manage program or the command line. v See Creating and configuring the reporting and monitoring agent instance using the Candle Manage program on page 59. v See Creating and configuring the reporting and monitoring agent instance using the command line on page 60.

Chapter 4. Installing the reporting and monitoring feature

49

. 7. Configure the data source for the monitoring agent instance using the Tivoli Integrated Portal. See Configuring a data source for the reporting and monitoring feature using the Tivoli Integrated Portal on page 62.

Setting permissions on an IBM Tivoli Monitoring server


After installing the Tivoli Storage Manager reporting and monitoring feature on an IBM Tivoli Monitoring server, the permissions are set for non-root users to have read, write, and execute privileges. After an installation of IBM Tivoli Monitoring or the Tivoli Storage Manager reporting and monitoring agent, some directories and files under the /itm directory have read, write, and execute permission's (777) for everyone. Most of these files reside in the itm/bin and itm/config directories. These files are not secure because everyone can access, change, or delete them. On an IBM Tivoli Monitoring server, this allows non-root users to create, modify, and start different IBM Tivoli Monitoring agents, including the Tivoli Storage Manager reporting and monitoring agent. If you require additional security for these directories or files, run the following commands: 1. Change permissions (chmod) to 0750 for theIBM Tivoli Monitoring Home directory. This command limits read, write, and execute permissions to root and group.
chmod 0750 /opt/tivoli/tsm/reporting/itm

2. IBM Tivoli Monitoring Home directory/bin/secureMain g itm enable This command replicates read, write, and execute permissions to root and group through all the /itm directories.
/opt/tivoli/tsm/reporting/itm/bin/secureMain g itm enable

CAUTION: Running these commands limits which user ID can create, modify, and manage different IBM Tivoli Monitoring agents.

Accessing DB2 and configuring the Tivoli Enterprise Portal server


Configure the Tivoli Enterprise Portal server so that you can monitor real-time data as well as collect and view historical data. First, ensure that you have permissions to access the DB2 database.

Accessing IBM DB2


Before you start the post installation steps, ensure that you have permissions to access IBM DB2. Important: All post installation steps must be performed as the root user. Complete the following steps to ensure that you have access to DB2 and permission to issue DB2 commands. 1. To ensure that you have permissions to issue DB2 commands, complete the following steps:

50

IBM Tivoli Storage Manager for AIX: Installation Guide

a. Locate the db2profile script in the /home/db2inst1/sqllib directory. b. Move this script into the .profile or .bashrc file, depending on the shell being used. c. Add the following line to the file, then save it:
. /home/db2inst1/sqllib/db2profile

d. After saving the file, log out of the system and then log back in. 2. For access to DB2, complete the following steps: a. Issue the following command to find out what group has db2 admin privilege:
db2 get dbm cfg | grep SYSADM

This command returns something similar to the following example:


(root@fvtlnx01)/#db2 get dbm cfg | grep SYSADM SYSADM group name(SYSADM_GROUP) = DB2GRP1

b. Check the /etc/group file to see the members of this group:


cat /etc/group

This command returns something similar to the following example:


(root@fvtlnx01)/#cat /etc/group at:!:25: audio:x:17: bin:x:1:daemon cdrom:x:20: console:x:21: daemon:x:2: dialout:x:16:cvtdb2 disk:x:6: floppy:x:19: ftp:x:49: mail:x:12: man:x:62: modem:x:43: news:x:13: db2grp1:x:12312:root,joe,admin

c. Look for a line similar to the last line in this example. This line, which starts with db2grp1 means that root, joe and admin are members of the db2grp1 group. If root is not on this line, add it to the end of the line. To do this complete the following steps: 1) Open the etc/group file.
vi etc/group

2) Enter root to the end of the line that starts with the text, db2grp1. If there are already one or more users at the end of this line, add root to the end of the line, separated by a comma. 3. Open the following file in a text editor:
/etc/rc.itm1

4. Locate the line that has the function, start_all(). It is near the top of the file. 5. Add the db2start command to this function as follows:
/usr/bin/su - root -c " /home/db2inst1/sqllib/adm/db2start > /dev/null 2>&1"

6. Delete the following default sk command:


/usr/bin/su - root -c " /opt/tivoli/tsm/reporting/itm/bin/itmcmd agent start sk >/dev/null 2>&1"

After setting up DB2 access, configure the Tivoli Enterprise Portal server.

Chapter 4. Installing the reporting and monitoring feature

51

Configuring the Tivoli Enterprise Portal server


Configure the Tivoli Enterprise Portal server to send the historical data to the IBM Tivoli Data Warehouse database to collect and view historical data as well as monitor real-time data. | | | | | | | | | | | Before starting this task, ensure that you have started DB2 by completing the following steps: 1. cd /opt/tivoli/tsm/reporting/db2/adm 2. Run the db2start command. See the following example:
root@ /opt/tivoli/tsm/reporting/db2/adm>db2start 02/15/2010 11:53:49 0 0 SQL1026N The database manager is already active. SQL1026N The database manager is already active.

If the DB2 server is started, you see the example message, if it is not started, the command starts the DB2 server. Configure the portal server using the Candle Manage program by completing the following steps: 1. Start the Tivoli Enterprise Monitoring Services by completing the following steps: a. Go to the directory where the Candle Manage program is located by issuing the following command:
cd /opt/tivoli/tsm/reporting/itm/bin

2. Start the Candle Manage program, by issuing the following command:


./CandleManage &

3. Right-click Tivoli Enterprise Monitoring Server and select Start service. 4. Right-click Tivoli Enterprise Portal Server and select Configure. The Common Event Console Configuration window opens. 5. Click OK to open the Configure Tivoli Enterprise Portal Server window. Select the Agent Parameters tab. 6. You have two options for this step: a. If you want to view historical data, type the following passwords in the password fields: 1) The DB2 admin ID db2inst1 2) The TEPS DB user ID itmuser 3) The Warehouse DB user ID itmuser b. If you only want to monitor real-time data, type the following passwords in the password fields. 1) The DB2 admin ID db2inst1 2) The TEPS DB user ID itmuser 7. Click Save to return to the CandleManage menu. 8. Right-click on Tivoli Enterprise Portal Server Start service to start the portal server. You can select the Desktop or the Browser. 9. Once the Tivoli Enterprise Portal opens, select the Accept this certificate permanently option in the Security Alert window. After configuring the portal, configure the Tivoli Data Warehouse.

| | | |

52

IBM Tivoli Storage Manager for AIX: Installation Guide

Related tasks Creating and configuring the Tivoli Data Warehouse

Creating and configuring the Tivoli Data Warehouse


The IBM Tivoli Data Warehouse database (an IBM DB2 database named WAREHOUS) holds the historical reports that are collected by the Tivoli Storage Manager reporting and monitoring agent. After installing the Tivoli Storage Manager reporting and monitoring feature, you must create and configure this DB2 database from the DB2 command line. Complete the following tasks before creating the DB2 warehouse database: 1. Ensure that you have configured the Tivoli Enterprise Portal server. 2. Decide where to store this database. By default, it is stored in your home directory. 3. Ensure that the directory has at least 10 GB of disc space available. If needed, update the directory to increase its size, or change the default location where DB2 is storing the database to a directory with the required disc space. 4. If you need to change the location to a different directory, run the db2 update command. a. To ensure the location change, is successful, complete one of the following tasks: 1) Before running the db2 update command, attach the appropriate DB2 instance. To attach the DB2 instance, run the following command:
db2 attach to DB2 instance name

2) After running the db2 update command, restart the appropriate DB2 instance. b. Run the following db2 update command where /dbpath is the directory location where you intend to store the DB2 WAREHOUS database:
db2 update dbm cfg using DFTDBPATH /dbpath

1. Create the DB2 WAREHOUS database by issuing the following commands:


db2 create database WAREHOUS using codeset utf-8 territory US db2 connect to WAREHOUS

2. To allow historical data to be collected, place the following commands into an SQL script file and then run the script. Complete the following steps to add the commands and run the SQL script: a. Create an SQL script file, for example: KHD_DB2_crt_BP_TBSP.sql b. Add the following commands to the SQL file:
-- CREATE a Bufferpool of page size 8K CREATE BUFFERPOOL ITMBUF8K IMMEDIATE SIZE 2501 PAGESIZE 8 K; -- CREATE a Regular Tablespace using the 8K Bufferpool CREATE REGULAR TABLESPACE ITMREG8K PAGESIZE 8 K MANAGED BY SYSTEM USING ('itmreg8k') BUFFERPOOL ITMBUF8k; -- CREATE a System tablespace using the 8K Bufferpool CREATE SYSTEM TEMPORARY TABLESPACE ITMSYS8K PAGESIZE 8 K MANAGED BY SYSTEM USING ('itmsys8k') BUFFERPOOL ITMBUF8k; -- CREATE a User tablespace using the 8K Bufferpool CREATE USER TEMPORARY TABLESPACE ITMUSER8K PAGESIZE 8 K MANAGED BY SYSTEM USING ('itmuser8k') BUFFERPOOL ITMBUF8k;
Chapter 4. Installing the reporting and monitoring feature

53

c. Enter the following command to run the SQL script and set up the WAREHOUS database:
db2 -stvf KHD_DB2_crt_BP_TBSP.sql

3. Enter the following commands to grant access to the itmuser user ID:
db2 "GRANT CONNECT ON DATABASE TO USER itmuser" db2 "GRANT CREATETAB ON DATABASE TO USER itmuser"

4. Configure the warehouse proxy by completing the following steps: a. Start the Candle Manage Program. b. In the Manage Tivoli Enterprise Monitoring Services window, select Warehouse Proxy and click Configure. 5. In the Configure Warehouse Proxy window, select Agent Parameters. 6. In the section JBDC Drivers, select Add. 7. Go to the directory /opt/tivoli/tsm/reporting/db2/java, select the following driver files and click OK: v db2jcc.jar v db2jcc_license_cu.jar 8. Enter jdbc:db2://localhost:<port number>/WAREHOUS in the Warehouse URL field. Port 50000 is the default. 9. In the User ID field, type itmuser for the user ID. There is no password. 10. Click DB connection to test the database connection. 11. Click Save to return to the CandleManage menu. 12. Right-click Warehous Proxy and select Start Service. To complete the steps to enable reporting for historical data collection, configure and activate the Summarization and Pruning agent. Related tasks Configuring Summarization and Pruning agent parameters

Configuring Summarization and Pruning agent parameters


After installing the Tivoli Storage Manager reporting and monitoring feature, you must configure the monitoring agent parameters for summarization and pruning using the IBM Tivoli Monitoring program, Candle Manage. To configure the Tivoli Storage Manager reporting and monitoring agent summarization and pruning parameters for historical reporting using the Candle Manage program, complete the following steps: 1. Run the Candle Manage program by going to the directory where the program is located and issuing the following command:
./CandleManage &

2. Configure the drivers that are used for data source connectivity by completing the following steps: a. Select Summarization and Pruning agent. b. Right-click and select Configure. c. Select Agent Parameters d. In the section JDBC Drivers, select Add. e. Go to the directory /opt/tivoli/tsm/reporting/db2/java and select the following driver files: v db2jcc.jar v db2jcc_license_cu.jar

54

IBM Tivoli Storage Manager for AIX: Installation Guide

| | | |

f. Click OK. g. In the user ID, type itmuser. Clear the password field and enter the password that was specified when you configured the Tivoli Enterprise Portal server. h. Click DB connection to test the database connection. i. Select Scheduling. The default is 2 am. Change this value 60 min to ensure that your configurations are correct. After you are satisfied that you are collecting data, change it back to an appropriate value. Daily scheduling gives you a daily report. j. Click Save to return to the CandleManage menu. 3. Using the Candle Manage program, start the monitoring agent by completing the following steps: a. Select Summarization and Pruning agent. b. Right-click and select Start Service. Next, configure historical data collection in order to start collecting historical data. Related tasks Configuring historical data collection

Configuring historical data collection


Historical data collection requires starting the accumulation of historical data after installing the Tivoli Storage Manager reporting and monitoring feature and configuring the Tivoli Storage Manager monitoring agent. This configuration is done using a Web browser to connect to Tivoli Enterprise Portal. To start the Tivoli Enterprise Portal client browser on a Tivoli Monitoring server, complete the following steps: 1. Open a Web browser on any Tivoli Monitoring server. Important: The Web browser does not have to be on the IBM Tivoli Monitoring server itself. The Web browser can be on any machine and it can be used to access the Tivoli Monitoring server on the machine where it was installed. The URL must specify the address of the Tivoli Monitoring server. The Web browser logon necessitates that the IBM Java runtime is installed. 2. Enter the following URL address, where hostname is the host of the Tivoli Monitoring server.
http://<hostname>:1920///cnp/kdh/lib/cnp.html

| | |

3. A Java plug-in Options window displays explaining that the settings specified for the Java plug-in are different from the settings recommended for the Tivoli Enterprise Portal. Click Continue. 4. Accept the security certificate. Historical data collection is started using the Tivoli Enterprise Portal. You must configure the Tivoli Enterprise Portal to periodically ask the agent for data from the Tivoli Storage Manager server. If you do not collect the historical data, you cannot see any historical reports. The following process is an example of how to begin collecting data. 1. Start Tivoli Enterprise Portal. 2. Log on to the Tivoli Enterprise Portal using the user ID sysadmin with no password.

Chapter 4. Installing the reporting and monitoring feature

55

3. From the menu of Tivoli Enterprise Portal, select: Edit History Configuration 4. From the Select Product, select Tivoli Storage Manager. Tip: Type the letter T to scroll down to Tivoli. 5. Select all the attribute groups that you want to capture historical data for in the Select Attribute Groups list. You can use the SHIFT or Ctrl keys to select all or specific attribute groups. 6. In the Configuration Controls section, select the following parameters: v Collection Interval: 60 minutes. v Collection Location: TEMA v Warehouse Interval: 1 day v Summarization: Yearly, Monthly, Weekly, Quarterly, Daily and Hourly | | | | | | | v Pruning: Yearly Keep: 1 year Quarterly Keep: 1 and select quarterly. Monthly Keep: 1 and select monthly. Weekly Keep: 1 and select weekly. Daily Keep: 1 and select daily. Hourly Keep: 1 and select hourly. Important: These settings are examples. Your selections depend on how you want to collect and prune your data. To test your data that is collected, start with a short interval. Once you know the data is being collected correctly, you can adjust the collection interval for production data. Depending on the intervals that you chose, it can be a few days before your data is available for reports. | | | | For more details on the collection parameters and how they affect the Tivoli Storage Manager server, see the Tivoli Common Reporting and Tuning white paper on the Tivoli Storage Manager Wiki. Tivoli Common Reporting Configuration and Tuning, V6.1 white paper 7. Click Configure Groups. 8. Select all the attribute groups that you want to begin capturing data for in the Select Attribute Groups. 9. Click Start Collecting to begin the collecting data. 10. Click Close to end historical configuration.

Installing a reporting and monitoring agent


You can install the Tivoli Storage Manager reporting and monitoring agent on any remote Tivoli Storage Manager server where you want a single instance of the agent running. The Tivoli Storage Manager reporting and monitoring agent gathers data and sends it to the Tivoli Monitoring server. By installing a single instance of the agent on the Tivoli Storage Manager server, instead of the monitoring server, you avoid increases in memory requirements on the monitoring server. To use the reporting and monitoring agent in an existing Tivoli Monitoring environment, you must install the reporting and monitoring agent on the existing

56

IBM Tivoli Storage Manager for AIX: Installation Guide

Tivoli Enterprise Monitoring Server. You can install the reporting and monitoring agent on any Tivoli Monitoring server, but it must be on the Tivoli Enterprise Monitoring Server, as this server controls the reporting and monitoring agent. | | | | Attention: The reporting and monitoring feature is only supported with the IBM Tivoli Monitoring, version 6.2 FP1, or higher level. See System requirements for Tivoli Storage Manager reporting and monitoring on page 40 for other supported software and hardware. Complete the following steps to create and configure your reporting and monitoring agent: 1. Install the reporting and monitoring agent: v To install the reporting and monitoring agent on the Tivoli Storage Manager server, go to the following topic: Installing a reporting and monitoring agent on a Tivoli Storage Manager server v To install the reporting and monitoring agent in an existing Tivoli Monitoring environment, go to the following topic: Installing a reporting and monitoring agent on an existing IBM Tivoli Monitoring server on page 58 2. Create and configure the reporting and monitoring agent instance: v Creating and configuring the reporting and monitoring agent instance using the Candle Manage program on page 59 v Creating and configuring the reporting and monitoring agent instance using the command line on page 60 3. Configure the data source: v Configuring a data source for the reporting and monitoring feature using the Tivoli Integrated Portal on page 62

Installing a reporting and monitoring agent on a Tivoli Storage Manager server


Once you have installed the reporting and monitoring feature, you can install the reporting and monitoring agent on any remote Tivoli Storage Manager server where you want a single instance of the agent running. The reporting and monitoring agent gathers data and sends it to the Tivoli Monitoring server. By installing a single instance of the agent on the Tivoli Storage Manager server, instead of the Tivoli Monitoring server, you avoid increases in memory requirements on the monitoring server. To install the Tivoli Storage Manager reporting and monitoring agent on the Tivoli Storage Manager server, complete the following steps: 1. Insert the reporting and monitoring feature DVD into the DVD drive. The reporting and monitoring installation wizard starts. 2. Accept each license agreement presented to proceed. Click Next. 3. On the Component Selection page, select only Tivoli Storage Manager reporting and monitoring agent. Click Next. 4. Follow the wizard instructions for installation location, and languages and encryption. You must use the encryption key that you entered during installation of the monitoring server for each separate agent that you install on any Tivoli Storage Manager server. 5. Enter the password for the Tivoli Enterprise Management Server and click Next.

Chapter 4. Installing the reporting and monitoring feature

57

6. You are presented with the installation summary of your configuration. Select one of the following tasks: v To start the installation, click Next. v To make corrections or changes, click Previous. At the end of the installation, the Installation Results page displays a message with the installation results. If there were any errors during the installation, the summary panel lists the errors and directs you to an error log file. 7. Click Finish. You must configure a reporting and monitoring agent instance. After configuring the reporting and monitoring agent instance, you must also configure the data source that the reporting and monitoring agent instance uses. This data source gives you the ability to view the historical reports using the Administration Center.

Installing a reporting and monitoring agent on an existing IBM Tivoli Monitoring server
You can install a reporting and monitoring agent on an existing IBM Tivoli Monitoring server. You must have the following components installed in order to use a reporting and monitoring agent in an existing Tivoli Monitoring environment. Once you have installed the reporting and monitoring agent on the appropriate components, you have to configure the components, if you have not already done so. v The Tivoli Enterprise Monitoring server. v The Tivoli Enterprise Portal server v The warehouse summarization and pruning agent v The warehouse proxy agent If any of these components are on separate systems, you must install and configure the reporting and monitoring agent on each of those systems. See the Related Tasks section for further instructions. | | | | Attention: The reporting and monitoring feature is only supported with the IBM Tivoli Monitoring, version 6.2 FP1, or higher level. See System requirements for Tivoli Storage Manager reporting and monitoring on page 40 for other supported software and hardware. To install the reporting and monitoring agent on an existing Tivoli Monitoring environment, complete the following steps: 1. Insert the reporting and monitoring feature DVD into the DVD drive. The reporting and monitoring installation wizard starts. 2. Accept each license agreement presented to proceed. Click Next. 3. On the Component Selection page, select only Tivoli Storage Manager reporting and monitoring agent. Click Next. 4. Follow the wizard instructions for installation location, and languages and encryption. You must use the encryption key that you entered during installation of the monitoring server for each separate agent that you install on any Tivoli Storage Manager server. 5. Enter the password for the Tivoli Enterprise Management Server and click Next. 6. You are presented with the installation summary of your configuration. Select one of the following tasks:

58

IBM Tivoli Storage Manager for AIX: Installation Guide

v To start the installation, click Next. v To make corrections or changes, click Previous. At the end of the installation, the Installation Results page displays a message with the installation results. If there were any errors during the installation, the summary panel lists the errors and directs you to an error log file. 7. Click Finish. You must configure a reporting and monitoring agent instance. After configuring the reporting and monitoring agent instance, you must also configure the data source that the reporting and monitoring agent instance uses. This data source gives you the ability to view the historical reports using the Administration Center. Related tasks Accessing DB2 and configuring the Tivoli Enterprise Portal server on page 50 Creating and configuring the Tivoli Data Warehouse on page 53 Configuring Summarization and Pruning agent parameters on page 54 Configuring historical data collection on page 55

Creating and configuring the reporting and monitoring agent instance using the Candle Manage program
After installing the reporting and monitoring agent, manually create and configure the reporting and monitoring agent instance for historical reporting using the Candle Manage program. | | The term, reporting agent, is synonymous with the reporting and monitoring agent. This term is used throughout the Candle Manage program. If you must monitor multiple Tivoli Storage Manager servers from the same IBM Tivoli Monitoring server, create an instance of the reporting and monitoring agent using the following method for each Tivoli Storage Manager server you want to monitor. If you install the reporting and monitoring agent on your Tivoli Storage Manager server, you do this task once, for the Tivoli Storage Manager server where the reporting and monitoring agent is installed. To configure a reporting and monitoring instance for historical reporting, complete the following steps: 1. Run the Candle Manage program using the following command:
/opt/tivoli/tsm/reporting/itm/bin/CandleManage

2. In the CandleManage window, right-click on Reporting Agent for Tivoli Storage Manager to configure a new instance of the reporting and monitoring agent. 3. In the Manage Application Instances window, click Add instance. 4. In the Input window, enter an instance name and click OK. For example, you could use the name of the server to be monitored. 5. In the Agent Configuration window, complete the following fields for the Tivoli Storage Manager server to be monitored: a. In the Server Address field, enter the server address for the Tivoli Storage Manager server. b. In the Port Number field, enter the port number that is used to communicate with the Tivoli Storage Manager server. c. In the TSM Administrator field, enter the Tivoli Storage Manager Administrator ID used to access the server.
Chapter 4. Installing the reporting and monitoring feature

59

d. In the TSM Administrator Password field, enter the password, twice for the Tivoli Storage Manager Administrator ID. e. Click OK to save the settings. 6. In the Configure a Reporting Agent for Tivoli Storage Manager on system name window, if you are installing on a server other than the one that the reporting and monitoring agent is installed on, enter the Tivoli Enterprise Monitoring Server information and click Save. The Manage Tivoli Enterprise Monitoring Services window opens with the new reporting and monitoring agent instance. 7. To start the reporting and monitoring agent instance, in the Manage Tivoli Enterprise Monitoring Services window, complete one of the following tasks: v Select the reporting agent instance that you want to start and click the green light icon in the toolbar at the top of the window. v If you do not have the toolbar enabled, right-click the reporting agent instance in the list and start the service. 8. Configure the data source for the reporting and monitoring agent instance. This data source allows you to view the historical reporting. v Configuring a data source for the reporting and monitoring feature using the Tivoli Integrated Portal on page 62

Creating and configuring the reporting and monitoring agent instance using the command line
After installing the reporting and monitoring agent, manually create and configure the reporting and monitoring agent instance to enable historical reporting using the command line. The term, reporting agent, that is displayed in the following examples is synonymous with the reporting and monitoring agent. If you must monitor multiple Tivoli Storage Manager servers from the same IBM Tivoli Monitoring server, create an instance of the reporting and monitoring agent using the following method for each Tivoli Storage Manager server you want to monitor. If you install the reporting and monitoring agent on your Tivoli Storage Manager server, you do this task once, for the Tivoli Storage Manager server where the reporting and monitoring agent is installed. To configure a reporting and monitoring agent instance for historical reporting, complete the following steps: 1. Run the following command from the /opt/Tivoli/TSM/Reporting/itm/bin directory, where /opt/Tivoli/TSM/Reporting/ is the default directory where you installed the reporting and monitoring agent:
itmcmd config -A -t sk

The command returns the following instruction:


Enter the instance name

2. Enter a name for the reporting and monitoring agent instance, for example:
myinstance

The command returns the following question:


Edit "Monitoring Agent for Tivoli Storage Manager" settings? [ 1=Yes, 2=No ] (default is: 1): ss2.storage.tucson.ibm.com

60

IBM Tivoli Storage Manager for AIX: Installation Guide

3. Enter 1. The command returns the following question:


Edit 'TSM Server Connection Information' settings? [ 1=Yes, 2=No ] (default is: 1):

4. Enter 1. The command returns the following prompts for your response:
Server Address (default is: ): Port Number (default is: 1500): TSM Administrator (default is: ): TSM Administrator Password (default is: ):

5. For the Server Address, enter the address of the Tivoli Storage Manager server to be monitored. 6. For the Port Number, take the default or enter another port number. 7. For the TSM Administrator ID, enter the Tivoli Storage Manager administrator ID to access the server where the monitoring agent is installed. 8. For the TSM Administrator Password, enter the correct password for the administrator ID. The command returns the following question:
Will this agent connect to a TEMS? [1=YES, 2=NO] (Default is: 1):

9. Enter 1. The command returns the following prompts, for your response:
TEMS Host Name (Default is: sysback): Network Protocol [ip, sna, ip.pipe or ip.spipe] (Default is: ip.pipe): Now choose the next protocol number from one of these: - ip - sna - ip.spipe - 0 for none Network Protocol 2 (Default is: 0): IP.PIPE Port Number (Default is: 1918): Enter name of KDC_PARTITION (Default is: null):

10. Enter a protocol name or enter the default ip.pipe. The command returns the following information:
Configure connection for a secondary TEMS? [1=YES, 2=NO] (Default is: 2):

11. To have this agent connect to another Tivoli Enterprise Monitoring Server, enter 1. Otherwise, go to step 12 If you entered 1 to connect to another server, the command returns the following information:
Enter Optional Primary Network Name or 0 for "none" (Default is: 0):

The command returns the following information:


Agent configuration completed...

12. Enter the following command to start the reporting and monitoring agent you configured in step 3.
# itmcmd agent -o myinstance start sk

If successful, the command returns the following information:

Chapter 4. Installing the reporting and monitoring feature

61

Starting Reporting Agent for Tivoli Storage Manager Agent Started Successfully

If there is a problem with the reporting and monitoring agent instance starting, the command returns the following information:
Starting Reporting Agent for Tivoli Storage Manager ... KCIIN0198E Unable to start agent. Please, check log file. # exit

13. Configure the data source for the reporting and monitoring agent instance. This data source allows you to view the historical reporting. v Configuring a data source for the reporting and monitoring feature using the Tivoli Integrated Portal

Configuring a data source for the reporting and monitoring feature using the Tivoli Integrated Portal
To view historical reports using the Administration Center, configure the data source. You must configure the data sources for historical reporting. Configuring a data source for one report propagates throughout all the historical reports that are available through the Tivoli Storage Manager reporting and monitoring feature. To configure a data source, using the Administration Center, complete the following steps: 1. Before accessing the Administration Center, ensure that the Tivoli Integrated Portal server is running by completing the following commands from a command line: | | | |
cd <TIP_home>\profiles\TIPProfile\bin startServer.bat server1 -user tipuser -password tippassword cd <TIP_home>/profiles/TIPProfile/bin startServer.sh server1 -user <tipuser -password tippassword

where TIP_home is the default directory where you installed the Administration Center. | | | | | | | | 2. To open the Tivoli Integrated Portal window, open a Web browser and enter the following address: http://hostname:port where port is the port number that is specified when you installed the Tivoli Integrated Portal. The default is 16310. If you are using a remote system, you can access the Tivoli Integrated Portal by entering the IP address or fully qualified host name of the remote system. You might have to authenticate to the remote system if there is a firewall that exists. 3. In the User ID field, enter the Tivoli Integrated Portal user ID that was defined when you installed the Tivoli Storage Manager Administration Center. 4. In the Password field, enter the Tivoli Integrated Portal password you defined for the user ID and click Log in. 5. On the left side of the window, expand and click Reporting Common Reporting. 6. After the Tivoli Common Reporting window opens, select Tivoli Products Tivoli Common Reporting. 7. Select one of the reports, right click, and select Data Sources from the menu. 8. Select the first data source and click Edit.

62

IBM Tivoli Storage Manager for AIX: Installation Guide

9. The Report Data Sources window opens. The fields are populated with the following values: a. In the Display Name field, DB2 WAREHOUS is the name for the IBM Tivoli Data Warehouse data source. b. In the User ID field, itmuser is the user ID. c. In the Password field, enter the password that you defined for the user ID. d. In the JDBC Driver and the JDBC URL fields, is the information that matches your JDBC information. Click Save. e. Exit the Report Data Sources window. 10. The Reports window opens. To test the data, select a report, right-click View As HTML or PDF. 11. Depending on the report you have selected to test, complete the fields indicating the data that the report needs to contain. 12. Click Run. The selected report displays. 13. Click Log out to end the session.

Installing software for custom reporting


The Tivoli Storage Manager reporting and monitoring feature does not have an option to create custom reports for Tivoli Storage Manager. You can create your own reports using the Business Intelligence and Reporting Tools (BIRT) software. Ensure that you have fulfilled the IBM JDK/JRE requirements listed in the software requirements section for installing optional software. See System requirements for Tivoli Storage Manager reporting and monitoring on page 40 To create your own custom reports using BIRT and Tivoli Common Reporting from your data that is stored in Tivoli Data Warehouse, complete the following steps: 1. Download and install BIRT, version 2.2.1, All-In-One software using one of the following Web sites: v Go to the following IBM Tivoli Open Process Automation Library (OPAL) Web site for the BIRT software that you need to download and install: BIRT Report Designer, v2.2.1, for Tivoli Common Reporting v If you cannot access OPAL, go to the following BIRT Web site: BIRT Report Downloads 2. Import the data, configure the data source, and customize the reports following the directions in the Customizing Tivoli Common Reporting Report Designs document found at: Customizing Tivoli Common Reporting Report Designs Related information Tivoli Common Reporting Information Center

Chapter 4. Installing the reporting and monitoring feature

63

Uninstalling the Tivoli Storage Manager reporting and monitoring feature


You can uninstall the Tivoli Storage Manager reporting and monitoring feature using a GUI or the command line.

Uninstalling the Tivoli Storage Manager reporting and monitoring feature


You can uninstall the Tivoli Storage Manager reporting and monitoring feature using this procedure. If you plan to reinstall this procedure helps you ensure that all previous versions and directories have been deleted from your system. To uninstall the Tivoli Storage Manager reporting and monitoring feature using the wizard, complete the following steps: 1. Change to the directory where the software is installed, for example:
cd /opt/tivoli/tsm/reporting

The default path is /opt/tivoli/tsm/reporting. 2. Change to the directory, _uninst, for example:
cd _uninst

3. To uninstall the product, run one of the following commands: If you use a GUI, issue the following command:
Uninstall_Tivoli_Storage_Manager_for_Reporting_and_Monitoring

If you use the command line, issue the following command:


Uninstall_Tivoli_Storage_Manager_for_Reporting_and_Monitoring i console

a. To continue the uninstallation, click Enter. b. Enter the type of uninstall you are performing. If you are uninstalling the entire product, type 1. Click Enter. c. Once the uninstallation is complete, a message displays stating that all items were successfully uninstalled. 4. After uninstalling the Tivoli Storage Manager reporting and monitoring feature, certain components of IBM DB2 might still exist on the system. Complete the following steps to remove these components: a. Stop any remaining DB2 service b. Remove any DB2 users c. Remove any remaining DB2 associated files and directories 5. To avoid any issues with future installations, after uninstalling the Tivoli Storage Manager reporting and monitoring feature, complete the following steps to delete the IBM Tivoli Monitoring entry from the inittab file. a. Change directories to the directory where the initab file is located, for example:
cd /etc/

b. Edit the initab file, for example:


vi initab

c. Delete the following entry and save the file:


rcitm1:2:once:/etc/rc.itm1 > /dev/console 2>&1

d. Delete the script that is called by the entry you deleted, /etc/rc.itm1.

64

IBM Tivoli Storage Manager for AIX: Installation Guide

6. After you perform an uninstallation, the DB2 entry, db2_tsm1 <portnumber>/tcp still exists in the /etc/services file. Complete the following steps to remove the entry: a. cd /etc
cp services services.mmddyy

where mm = month dd = day and yy = year. For example: cp services services.041209 b. Open the Services file: vi services and search for the line:
db2_tsm1 portnumber/tcp

where the port number is the DB2 port number you set during the install of the DB2 database. For example: db2_tsm1 50022/tcp c. Delete the entry. d. Save the file. 7. You must also remove the DB2 database data. By default these files are located in the /home/db2inst1 and the /home/db2fenc1 directories. CAUTION: By removing these files, you remove any database data and all the files stored under this directory
rm -r /home/db2inst1 rm -r /home/db2fenc1

| | | | | | |

8. Check for the existence of the db2inst1 and db2fenc1 users by running the following command:
lsuser db2inst1 lsuser db2fenc1

9. If the users exist, remove them by running the following command:


rmuser db2inst1 rmuser db2fenc1

10. Restart the system.

Chapter 4. Installing the reporting and monitoring feature

65

66

IBM Tivoli Storage Manager for AIX: Installation Guide

Chapter 5. Installing and configuring the Administration Center


Use the Administration Center to administer Tivoli Storage Manager and the reporting and monitoring feature from a supported browser anywhere in your network. The time required to install the Tivoli Integrated Portal and Administration Center depends on the speed of your processor and the memory in your machine. Use the following steps to install the Tivoli Integrated Portal and Administration Center. | | If you are upgrading the Administration Center, see Chapter 8, Upgrading the Administration Center, on page 89. 1. Install your Tivoli Storage Manager Version 6.2 servers. See Chapter 2, Installing Tivoli Storage Manager, on page 13. Give each server a unique name. 2. Start your Tivoli Storage Manager Version 6.2 server. See Starting the server instance on page 30. 3. Download and install the Administration Center. See Installing the Administration Center on page 68. 4. Verify the Administration Center installation. See Verifying your installation on page 72. 5. Define your Tivoli Integrated Portal users. See Defining Administration Center users to the Tivoli Integrated Portal on page 74. 6. Add connections for the Tivoli Storage Manager servers that you want to manage. See Server connections to the Administration Center on page 92.

Administration Center system requirements


The Tivoli Storage Manager server can require a large amount of memory, network bandwidth, and processor resources. In many cases, the server performs best when other applications are not installed on the same system. If the system meets the combined requirements for the server and the Administration Center, it can support both applications. If you plan to use the Administration Center to manage an environment with a large number of servers or administrators, consider installing the Administration Center on a separate system. For Administration Center system requirements, see the following Web site: http://www.ibm.com/support/docview.wss?uid=swg21410467. | | | | Important: The following platform is supported for Tivoli Integrated Portal Version 1.1.1.2 and the Administration Center for Tivoli Storage Manager Version 6.2: v AIX (32-bit)

Copyright IBM Corp. 1993, 2010

67

Installing the Administration Center


To install the Administration Center, you can use the graphical installation wizard, the console wizard, or the command line in silent mode. Using the Administration Center installation software, install the Tivoli Storage Manager Administration Center. 1. If you are installing the Administration Center using the DVD, complete the following steps: Insert the Tivoli Storage Manager Administration Center DVD into a DVD drive. Ensure that the DVD is mounted on directory /dvdrom and change to that directory. 2. If you are installing the Administration Center from the Tivoli Storage Manager FTP downloads site, obtain the package file here: ftp://ftp.software.ibm.com/ storage/tivoli-storage-management/maintenance/admincenter/. Change to the directory where you placed the executable file and complete the following steps: Tip: The files are extracted to the current directory. Ensure that the executable file is in the directory where you want the extracted files to be located. a. Change file permissions by entering the following command:
chmod a+x 6.2.0.0-TIV-TSMAC-platform.bin

where platform denotes the architecture that the Administration Center is to be installed on. b. Run the following command to extract the installation files:
./6.2.0.0-TIV-TSMAC-platform.bin

3. Select one of the following ways of installing 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 69 Silent mode Installing the Administration Center in silent mode on page 70

Installing the Administration Center using the installation wizard


Using the installation wizard is one method of installing the Administration Center. To install the Administration Center using the installation wizard, complete the following steps: 1. To start the wizard, enter the following command:
./install.bin

The Administration Center installation wizard starts. 2. Select the language for your installation and follow the prompts. You must accept the license agreement to proceed. Select the Administration Center

68

IBM Tivoli Storage Manager for AIX: Installation Guide

component. Selecting the default option installs the required components for the Administration Center. The advanced option provides additional components that you can select. After you select the Administration Center component, you are prompted for a Tivoli Integrated Portal user name and password. The default Tivoli Integrated Portal user name is tipadmin and you must specify a password for this ID, or for a new ID you create. You will use these later to log onto the Tivoli Integrated Portal and Administration Center. Important: Save the user name and password or you are unable to uninstall the Administration Center. You can create additional Tivoli Integrated Portal user IDs and passwords for any other administrators who will access the Administration Center. | | | | | | | | | | | Attention: If you are installing on a remote system using an X display, and the local system does not have an X Window System server running, the installation might fail. If this happens, ensure that the DISPLAY environment variable is not set and restart the installation. At the end of the installation, a message is displayed on the summary page that Tivoli Storage Manager successfully installed and a summary is provided. Ensure that you make a note of the port number listed in the summary panel because it might be different from the one you originally entered in the wizard, depending on port availability and your system requirements. You will need this port to log on to the Administration Center. Using the correct port is essential so that the various Administration Center operations can function properly. If there were any errors during the installation, another summary page lists the errors and directs you to an error log file. Fix the errors before continuing. The installation log is stored in the following location: /var/tivoli/tsm

Installing the Administration Center using the console installation wizard


Using the console installation wizard is one method of installing the Administration Center. To install the Administration Center using the console installation wizard, complete the following steps: 1. To start the wizard, enter the following command:
./install.bin -i console

2. Select the language for your installation and follow the prompts. You must accept the license agreement to proceed. Select the Administration Center component. Selecting the default option installs the required components for the Administration Center. The advanced option provides additional components that you can select. After you select the Administration Center component, you are prompted for a Tivoli Integrated Portal user name and password. The default Tivoli Integrated Portal user name is tipadmin and you must specify a password for this ID, or for a new ID you create. You will use these later to log onto the Tivoli Integrated Portal and Administration Center. Important: Save the user name and password or you are unable to uninstall the Administration Center.
Chapter 5. Installing the Administration Center

69

You can create additional Tivoli Integrated Portal user IDs and passwords for any other administrators who will access the Administration Center. | | | | | | | | | | | Attention: If you are installing on a remote system using an X display, and the local system does not have an X Window System server running, the installation might fail. If this happens, ensure that the DISPLAY environment variable is not set and restart the installation. At the end of the installation, a message is displayed on the summary page that Tivoli Storage Manager successfully installed and a summary is provided. Ensure that you make a note of the port number listed in the summary panel because it might be different from the one you originally entered in the wizard, depending on port availability and your system requirements. You will need this port to log on to the Administration Center. Using the correct port is essential so that the various Administration Center operations can function properly. If there were any errors during the installation, another summary page lists the errors and directs you to an error log file. Fix the errors before continuing. The installation log is stored in the following location: /var/tivoli/tsm

Installing the Administration Center in silent mode


Completing a silent installation is one method of installing the Administration Center. To start the silent installation, enter the following command on a single line. See the sample response files (sample_response.txt) for more details about the variables. These files are located in the Tivoli Storage Manager installation media root directory.
install -i silent -f path_name_to_response_file

Ensure that you enter the full path name to the sample response file. Update the LICENSE_ACCEPTED variable to accept the Tivoli Integrated Portal Version 1.1.1.2 and Tivoli Storage Manager Administration Center license agreements. If the LICENSE_ACCEPTED variable is anything other than true, the installation ends and no log is produced. By removing the # sign before #LICENSE_ACCEPTED=false and changing false to true #---- you are accepting the Tivoli Integrated Portal Version 1.1.1.2 and Tivoli Storage Manager Administration Center license agreements.
LICENSE_ACCEPTED=true

Define the installation location. To reuse an instance of Tivoli Integrated Portal, point to its existing installation location. For example:
USER_INSTALL_DIR=/opt/IBM/ac

Do not define the IAGLOBAL_WUI_HOME, #---- variable unless you are upgrading an existing Tivoli Integrated Portal installation. Comment it out by placing # signs in front of the hyphens: #---- #----.
IAGLOBAL_WUI_HOME==/opt/IBM/WebSphere/UpdateInstaller #----#----

If you are upgrading an existing Tivoli Integrated Portal, complete a backup first. After the backup is done, issue the following command:
IAGLOBAL_BACKUP_PROCEDURE_DONE=true

70

IBM Tivoli Storage Manager for AIX: Installation Guide

Select reuse if you want to use an existing Tivoli Integrated Portal location.
IAGLOBAL_INSTALL_LOCATION_SELECTION=create|reuse CHOSEN_INSTALL_SET=default|advanced ESSServer is (IAGLOBAL_AUTHENTICATION_SVC_SELECTION=YES) CHOSEN_INSTALL_SET=advanced IAGLOBAL_AUTHENTICATION_SVC_SELECTION=YES IAGLOBAL_USER_REGISTRY_LDAP_SELECTED=false WAS_INFO note

The WASPortsCreationAction creates all the ports. The WASPassword variable is not encrypted.
IAGLOBAL_WASUserID=tipadmin IALOCAL_WASPassword=TIP_pw IAGLOBAL_WC_defaulthost=16310 IAGLOBAL_WC_defaulthost_secure=16311 IAGLOBAL_BOOTSTRAP_ADDRESS=16312 IAGLOBAL_SOAP_CONNECTOR_ADDRESS=16313 IAGLOBAL_WC_adminhost=16315 IAGLOBAL_WC_adminhost_secure=16316 IAGLOBAL_DCS_UNICAST_ADDRESS=16318 IAGLOBAL_ORB_LISTENER_ADDRESS=16320 IAGLOBAL_SAS_SSL_SERVERAUTH_LISTENER_ADDRESS=16321 IAGLOBAL_CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS=16322 IAGLOBAL_CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS=16323

The VMM configuration values are FILE_BASED|LDAP. Enter either this variable:
IAGLOBAL_DEFAULT_USER_REGISTRY_SELECTION=FILE_BASED

Or these variables:
IAGLOBAL_USER_REGISTRY_LDAP_SELECTED=true IAGLOBAL_LDAP_PRIMARY_USER=tipadmin IALOCAL_LDAP_BIND_PASSWORD=******* IAGLOBAL_LDAP_BASE_ENTRY="o\=IBM,c\=US" IAGLOBAL_LDAP_BIND_DN="cn\=root" IAGLOBAL_LDAP_GROUP_ENTITY=Group IAGLOBAL_LDAP_GROUP_SUFFIX="o\=IBM,c\=US" IAGLOBAL_LDAP_NAME="rhelvm1.tivlab.raleigh.ibm.com" IAGLOBAL_LDAP_ORG_ENTITY=OrgContainer IAGLOBAL_LDAP_ORG_SUFFIX="o\=IBM,c\=US" IAGLOBAL_LDAP_PORT=389 IAGLOBAL_LDAP_REPOSITORY_ID=rhelvm1 IAGLOBAL_LDAP_USER_ENTITY=PersonAccount IAGLOBAL_LDAP_USER_SUFFIX="o\=IBM,c\=US"

| | | |

Attention: If you are installing on a remote system using an X display, and the local system does not have an X Window System server running, the installation might fail. If this happens, ensure that the DISPLAY environment variable is not set and restart the installation. If there were any errors during the installation, another summary page lists the errors and directs you to an error log file. Fix the errors before continuing. The installation log is stored in the following location: /var/tivoli/tsm

Chapter 5. Installing the Administration Center

71

Verifying your installation


After installing the Administration Center, complete several procedures to verify your installation. Complete the following steps: 1. Start the Administration Center by entering one of the following addresses in a supported Web browser:

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

http://workstation_name:port/

Or:
https://workstation_name:port/ibm/console

The workstation_name is the network name or IP address of the workstation on which you installed the Administration Center and the port is the Web administration HTTP or HTTPS port number. Attention: Ensure that you are using the same port that was displayed in the summary panel of the wizard after you completed the Administration Center installation. Because of system resources and availability of certain ports on your workstation, this might be a different number from the port you had entered into the wizard in a previous panel. You will not receive any warning messages that you are using an incorrect port, and might even be able to complete some Administration Center tasks with a different port. To save time and resources, ensure that you use the intended port. The default Web administration port (HTTP) is 16310. The default secure Web administration port (HTTPS) is 16316. If you are using a different port number from the default, the secure port typically appears with 6 as the last number. Look in the following file if you want to see the port that is being used. In this file, WC_defaulthost contains the variable for the HTTP port and WC_adminhost_secure contains the variable for the HTTPS port. TIP_HOME/properties/TIPPortDef.properties where TIP_HOME is the root directory for the Tivoli Storage Manager installation. The default for TIP_HOME is /opt/ibm/ac. Tip: If you use http://workstation_name:16310/ to connect to the Administration Center, you are redirected to the secure port and address (https://workstation_name:16316/ibm/console). To start the Administration Center using the default ports, for example, enter one of the following addresses in a supported Web browser:
http://workstation_name:16310/

Or:

72

IBM Tivoli Storage Manager for AIX: Installation Guide

| | | |

https://workstation_name:16316/ibm/console

2. 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 you need it not only to log in but also to uninstall the Administration Center. 3. After you successfully log in, the Tivoli Integrated Portal welcome page is displayed. 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.

Automatically starting the Administration Center


Complete several steps so that the Administration Center automatically starts. The Tivoli Integrated Portal is built on top of a WebSphere Application Server. The WebSphere server must be running or the Tivoli Integrated Portal is not accessible from a browser. To enable the automatic start during system startup of the Administration Center WebSphere server, complete the following steps: 1. Log in with the root user ID. | 2. Change to the /opt/ibm/ac/products/tsm/bin directory (default). 3. Run the following script:
setTSMUnixLinks.sh

The symbolic links that will allow the WebSphere server to restart after the system is rebooted are now set. Before uninstalling the Administration Center, ensure that you remove the WebSphere server automatic-restart. Complete the following steps: 1. Log in with the root user ID. 2. Change to the /opt/ibm/ac/products/tsm/bin directory (default). 3. Run the following script:
setTSMUnixLinks.sh uninstall

Starting and stopping the Tivoli Integrated Portal server


The IBM Tivoli Integrated Portal server is automatically started after a successful installation. If you shut down the system after the initial installation, any Tivoli Integrated Portal servers that were started are stopped. Use the command line to start and stop Tivoli Integrated Portal servers. 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 root directory for the Tivoli Storage Manager installation. The default for TIP_HOME is /opt/ibm/ac. v tip_admin is the administrator user ID for the Administration Center. v tip_pw is the password for the administrator. 1. Change to the TIP_HOME/bin subdirectory in the Tivoli Storage Manager installation directory.

| |

| |

Chapter 5. Installing the Administration Center

73

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

2. Start or stop the Tivoli Integrated Portal server by issuing one of the following commands: v To start an Tivoli Integrated Portal server, issue this command:
startServer.sh server1 -username tip_admin -password tip_pw

v To stop an Tivoli Integrated Portal server, issue this command:


stopServer.sh server1 -username tip_admin -password tip_pw

Defining Administration Center users to the Tivoli Integrated Portal


When you install the 6.2 Administration Center, you must define the users to the Tivoli Integrated Portal. You can create a separate Tivoli Integrated Portal user ID for each Tivoli Storage Manager administrator, or for a group of administrators. As a best practice, give each Tivoli Storage Manager administrator their own Tivoli Integrated Portal administrator ID. Creating separate Tivoli Integrated Portal administrator IDs can help you control access for administrators who manage different servers, or have different privilege 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: 1. In the navigation tree, expand Users and Groups. 2. Click Manage Users. 3. Click Create. 4. Click Group Membership. 5. Select Group name, then click Search. 6. Add TSM_AdminCenter to the Current groups list. 7. 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.

Uninstalling the Administration Center


Uninstall the Administration Center either by using one of two wizards or in silent mode. Complete the following steps: 1. If you have the WebSphere server automatic restart set up, ensure that you remove it before uninstalling the Administration Center. 2. Log in with the root user ID. 3. Change to the install_directory /products/tsm/bin directory. 4. Run the following script:
setTSMUnixLinks.sh uninstall

To uninstall the Administration Center, complete the following steps: 1. Change to the following subdirectory in the /opt/ibm/ac/ directory:
cd _uninst

2. Use one of the following methods to uninstall the Administration Center:

74

IBM Tivoli Storage Manager for AIX: Installation Guide

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

To use the installation wizard (GUI) to uninstall the Administration Center, issue this command:
./uninstall

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, issue this command:
./uninstall -i console

Tip: Ensure that you have your Administration Center user name and password to uninstall the Administration Center. The uninstallation closes if your user name and password are invalid, and you must start over. 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 -i silent -f path_name_to_response_file

3. Follow the prompts to uninstall the Administration Center. You see a message that the Administration Center uninstallation was successful. See Chapter 5, Installing and configuring the Administration Center, on page 67 for the installation steps to reinstall the Administration Center.

Chapter 5. Installing the Administration Center

75

76

IBM Tivoli Storage Manager for AIX: Installation Guide

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

Chapter 6. Upgrading from Tivoli Storage Manager Version 6.1


You can upgrade directly to Tivoli Storage Manager Version 6.2 from any version of Tivoli Storage Manager Version 6.1. Multiple server instances on a system all use the same installed code, so all the server instances on a system must be upgraded at the same time. The upgrade process recreates your server instances, recatalogs the databases for each instance, and upgrades each database, using information saved from your previous installation. As a server and database are moved into Tivoli Storage Manager Version 6.2, the validity of the data is checked against constraints that are enforced in the new database. Tip: If you are upgrading from Tivoli Storage Manager Version 6.1 to Version 6.2 and have multiple servers on your system, you only have to run the upgrade wizard once. See Running multiple server instances on a single system on page 34 for more information about running multiple servers. If you are upgrading a 5.5 Tivoli Storage Manager server to Tivoli Storage Manager Version 6.2, see the Server Upgrade Guide. If you are upgrading an existing Tivoli Storage Manager Version 6.2 server to a later level of Version 6.2, see Chapter 9, Installing a Tivoli Storage Manager server fix pack, on page 95. 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. 1. Check the readme file for any special instructions or specific information for your operating system. 2. Plan for system hardware and software requirements. See Chapter 1, Planning to install IBM Tivoli Storage Manager, on page 1. Restriction: You cannot upgrade your server to run on an operating system that is different from the operating system it currently runs on. 3. Back up your V6.1 server database and configuration files. 4. Make a list of your current server instances by running the following command:
# /opt/tivoli/tsm/db2/instance/db2ilist

Keep a record of the database path for each instance. Verify that the database default paths are correct before performing the upgrade. 5. Stop each server instance on the system by issuing this Tivoli Storage Manager command from an administrative command line:
halt

6. Ensure that no server database backup or restore operations are running. 7. Ensure that you have the user ID and password for each server instance because you need these for the upgrade. 8. Install the latest Tivoli Storage Manager server code, using a wizard or silent mode. Using one of the wizards, you are guided to perform the upgrade steps in the correct order and you are prompted for your server instance credentials.
Copyright IBM Corp. 1993, 2010

77

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

Until the new version is installed and any required licenses are registered again, clients cannot connect to the server. Ensure that the following requirements are met if you use the installation or console installation wizard for the upgrade: 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. Remote shell (RSH). Remote Execution Protocol (REXEC). v You must be able to log in to the Version 6.2 system with the user ID that you created for the server instance, using the SSH, RSH, or REXEC protocol. When using the wizard, you must provide this user ID and password to access that system. If a connection cannot be established using SSH, RSH, or REXEC, manually upgrade the Tivoli Storage Manager server instance from Version 6.1 to 6.2. See http://www.ibm.com/support/docview.wss?uid=swg27018195 for details. Use one of the following methods to install the latest server code: Installation wizard Upgrading Tivoli Storage Manager using the installation wizard Command-line console wizard Upgrading Tivoli Storage Manager using the console installation wizard on page 79 Silent mode Upgrading Tivoli Storage Manager in silent mode on page 80 The DB2CKUPGRADE script conducts checks and creates logs for each database. These logs contain the results of the DB2CKUPGRADE command for each database. The logs are called: /tmp/db2ckupgrade_<instance_name>_<db_name>.log The wizard automatically corrects some errors in the database during the upgrade to Version 6.2 and DB2 Version 9.7. Other errors might need to be corrected manually. See the Problem Determination Guide and search for DB2 log files for more details about database errors. Run the upgrade again after you fix any errors. 9. Verify that the upgrade was successful by starting the server. See Starting the server instance on page 30. Perform some basic operations and query information about the system to confirm that all information transferred correctly.

Upgrading Tivoli Storage Manager using the installation wizard


Using the installation wizard is one method of upgrading Tivoli Storage Manager from Version 6.1. See Chapter 6, Upgrading from Tivoli Storage Manager Version 6.1, on page 77 for an overview of the upgrade steps, before starting the upgrade. To upgrade Tivoli Storage Manager from Version 6.1, using the installation wizard, complete the following steps: 1. Select a method to start the installation wizard: v To start the wizard without saving your responses, enter the following command:

78

IBM Tivoli Storage Manager for AIX: Installation Guide

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

./install.bin

v To start the wizard and save your responses, enter the following command, and specify the -r option:
./install.bin -r /response.rsp

The Tivoli Storage Manager installation wizard starts. 2. Select the language for your installation and follow the wizard directions, selecting Next to step through the wizard. You must accept the license agreement to proceed. Then, select the components that you want to install (server, languages, licenses, device driver, storage agent). There is no default so you must make a selection or you receive an error message and are returned to the components' page. The Tivoli Storage Manager client application programming interface (API), DB2 Version 9.7, and GSKit 7 are automatically installed when you select the server component. Tip: During the upgrade from Tivoli Storage Manager Version 6.1 to Version 6.2, or if 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. If this file exists and you start an upgrade, the upgrade might fail because the server instance cannot be created when information is retrieved from the file. Consider removing or temporarily renaming the instance file if you have old information in it, or if you get an error message after adding your credentials to the Instance user ID panel of the installation wizard. You can find the instance file in the following location: /etc/tivoli/tsm/instance.info Attention: If you are installing on a remote system using an X display, and the local system does not have an X Window System server running, the installation might fail. If this happens, ensure that the DISPLAY environment variable is not set and restart the installation. At the end of the upgrade, a message is displayed on the summary page that Tivoli Storage Manager successfully installed and a summary is provided. If there were any errors during the upgrade, another summary page lists the errors and directs you to an error log file. Fix the errors before continuing. The installation log is stored in the following location: /var/tivoli/tsm

Upgrading Tivoli Storage Manager using the console installation wizard


Using the console installation wizard is one method of upgrading Tivoli Storage Manager from Version 6.1. See Chapter 6, Upgrading from Tivoli Storage Manager Version 6.1, on page 77 for an overview of the upgrade steps, before starting the upgrade. To upgrade the Tivoli Storage Manager server from Version 6.1, using the console installation wizard, complete the following steps: 1. To start the wizard without saving your responses, enter the following command:
./install.bin -i console

Chapter 6. Upgrading the server from V6.1 to V6.2

79

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

To start the wizard and save your responses, enter the following command, and specify the -r option:
./install.bin -i console -r /response.rsp

2. Select the language for your installation and follow the wizard directions, selecting Next to step through the wizard. You must accept the license agreement to proceed. Then, select the components that you want to install (server, languages, licenses, device driver, storage agent). There is no default so you must make a selection or you receive an error message and are returned to the components' page. The Tivoli Storage Manager client application programming interface (API), DB2 Version 9.7, and GSKit 7 are automatically installed when you select the server component. Tip: During the upgrade from Tivoli Storage Manager Version 6.1 to Version 6.2, or if 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. If this file exists and you start an upgrade, the upgrade might fail because the server instance cannot be created when information is retrieved from the file. Consider removing or temporarily renaming the instance file if you have old information in it, or if you get an error message after adding your credentials to the Instance user ID panel of the installation wizard. You can find the instance file in the following location: /etc/tivoli/tsm/instance.info Attention: If you are installing on a remote system using an X display, and the local system does not have an X Window System server running, the installation might fail. If this happens, ensure that the DISPLAY environment variable is not set and restart the installation. At the end of the upgrade, a message is displayed on the summary page that Tivoli Storage Manager successfully installed and a summary is provided. If there were any errors during the upgrade, another summary page lists the errors and directs you to an error log file. Fix the errors before continuing. The installation log is stored in the following location: /var/tivoli/tsm

Upgrading Tivoli Storage Manager in silent mode


Using silent mode is one method of upgrading Tivoli Storage Manager from Version 6.1. See Chapter 6, Upgrading from Tivoli Storage Manager Version 6.1, on page 77 for an overview of the upgrade steps, before starting the upgrade. Restriction: The following restrictions apply: You must include the LICENSE_ACCEPTED=true and INSTANCE_CRED variables or the upgrade fails. Changing the installation directory (the USER_INSTALL_DIR variable) is not supported. To either create a new response file or use an existing one for the silent upgrade, select one of the following options. v To start the silent upgrade and include all of the Tivoli Storage Manager components, enter the following command on a single line:

80

IBM Tivoli Storage Manager for AIX: Installation Guide

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

./install.bin -i silent -DLICENSE_ACCEPTED=true -DINSTALL_SERVER=1 -DINSTALL_SERVER_LANGUAGES=1 -DINSTALL_LICENSE=1 -DINSTALL_DEVICES=1 -DINSTALL_STAGENT=1 -DINSTANCE_CRED="instance1 userid1 password1,instance2 userid2 password2"

When you add the INSTANCE_CRED variable to the command, enter credentials for each of your server instances and use quotation marks around your credentials. To find the existing server instances, issue this command:
# /opt/tivoli/tsm/db2/instance/db2ilist

You can install the following server language-packs during the silent upgrade, using these variables: INSTALL_GERMAN INSTALL_SPANISH INSTALL_FRENCH INSTALL_ITALIAN INSTALL_BRPORTUGUESE INSTALL_KOREAN INSTALL_JAPANESE INSTALL_RUSSIAN INSTALL_SCHINESE INSTALL_TCHINESE INSTALL_ENGLISHUTF8 INSTALL_GERMANUTF8 INSTALL_SPANISHUTF8 INSTALL_ITALIANUTF8 INSTALL_PTBUTF8 INSTALL_KOREANUTF8 INSTALL_JAPANESEUTF8 INSTALL_SCHINESEUTF8

INSTALL_FRENCHUTF8

INSTALL_RUSSIANUTF8 INSTALL_TCHINESEUTF8 INSTALL_BIG5CH INSTALL_GBKCH INSTALL_JAPANESEPC v To use an existing response file, enter the following command:
./install.bin -i silent -DLICENSE_ACCEPTED=true -f response_file

where the response_file is the full directory path to a file that you previously created in the Tivoli Storage Manager upgrade process. The response file contains variables that you selected during a prior upgrade, using the GUI or console wizard. If you include LICENSE_ACCEPTED=true in the response file manually, then issue this command:
./install.bin -i silent -f response_file

You might see a difference between response files, depending on which installation mode you used (GUI or console).
Chapter 6. Upgrading the server from V6.1 to V6.2

81

| | | | | |

Attention: If you are installing on a remote system using an X display, and the local system does not have an X Window System server running, the installation might fail. If this happens, ensure that the DISPLAY environment variable is not set and restart the installation. Fix any errors before continuing. See the following log for more information: /var/tivoli/tsm

82

IBM Tivoli Storage Manager for AIX: Installation Guide

Chapter 7. Upgrading the reporting and monitoring feature to Version 6.2


You can upgrade to the reporting and monitoring feature, v6.2 from the reporting and monitoring feature, v6.1.

Upgrading the reporting and monitoring feature to version 6.2 using the installation wizard
You can upgrade the reporting and monitoring feature to version 6.2 using the reporting and monitoring installation wizard. See Installing the Tivoli Storage Manager reporting and monitoring feature on AIX and Linux on page 43 for prerequisites. If you are installing the Tivoli Storage Manager reporting and monitoring feature from a DVD, complete the following steps: 1. Insert the Tivoli Storage Manager reporting and monitoring feature DVD into the DVD drive. 2. Ensure that the DVD is mounted on directory /dvdrom and change to that directory. If you downloaded the program from Passport Advantage as an executable file or as a tar file, complete the following steps: 1. Change to the directory where you downloaded the executable file. Tip: This file system requires around 6.5 GB to 7 GB of free disk space. 2. Change the file permissions by entering the following command:
chmod +x Cxxxxxx.bin

| | | |

where xxxxxx is some part number, for example: CZ1N1ML. 3. Start extracting the required files by running the following command:
./Cxxxxxx.bin

Attention: There are two self-extracted packages for AIX. These steps need to be run for each package. To upgrade the Tivoli Storage Manager reporting and monitoring feature, complete the following steps: 1. After all the files have been extracted, to start the installation GUI wizard, issue the following command:
./install.bin

The Tivoli Storage Manager reporting and monitoring installation wizard displays. 2. Select the language for the wizard at the bottom of the page and click OK. 3. Accept the license agreement in order to proceed. Click Next. 4. On the Component Selection page, depending on the purpose of this installation, select one of the following options:
Copyright IBM Corp. 1993, 2010

83

| | | | | | |

v For an IBM Tivoli Monitoring server, select the Reporting and monitoring feature option. This option installs the following components: IBM DB2 9.5 IBM Tivoli Monitoring 6.2.1 Reporting and monitoring agent v For the reporting and monitoring agent only, select the Reporting and monitoring agent only option. Use this option to monitor a Tivoli Storage Manager server, and install the agent on the Tivoli Storage Manager server you want to monitor. Remember: For all Linux platforms that are only supported on the reporting and monitoring agent, you must use this option. See the Supported operating systems table in the following link for more on supported platforms: System requirements for Tivoli Storage Manager reporting and monitoring on page 40 v If you want a language other than English, choose one of the following options: If you chose to install the Reporting and monitoring feature, select the Language package for feature option, and the Language package for monitoring agent only option. If you chose to install the Reporting and monitoring agent only option, install the Language package for monitoring agent only option. Attention: The installer checks the version level of any components you have previously installed. You can get the message: No components to install in the following scenarios: v If you are installing the Reporting and monitoring feature, the feature language package, and the monitoring agent language package, and they are all at the same level or higher. v If you are installing just the reporting and monitoring agent and the agent language package and they are all at the same level or higher. 5. If you get this message, select Enter to exit out of the installer. Select the destination directory for this installation. If you are installing into an existing IBM Tivoli Monitoring environment, choose the exact directory where that code is installed. If you selected the option to install the Reporting and monitoring feature component, accept the Tivoli Monitoring license agreement in order to proceed. Click Next. The DB2 Enterprise Server Edition page is displayed. In the DB2 password field, enter a password twice, it cannot be longer than eight characters. Leave all other selections with the default. Click Next. The Encryption page is displayed. Enter the encryption key and click Next. Make note of this key for later use. Accept the default installation location and click Next. You are presented with the pre-installation summary of your configuration. Perform one of the following tasks: v To start the installation, click Install. v To make corrections or changes, click Previous. At the end of the installation, the Installation Results page presents a message with the installation results. If there were any errors during the installation, the summary panel lists the errors and directs you to an error log file.

| |

| | | | | | | | |

6.

7.

8. 9. 10.

84

IBM Tivoli Storage Manager for AIX: Installation Guide

To view historical reports, you must install the Administration Center. Upgrading procedure for the Administration Center on page 90. After installing the Administration Center, your previous reports and data source are overwritten. Reconfigure your data source. Configuring a data source for the reporting and monitoring feature using the Tivoli Integrated Portal on page 62 If you did not perform the following configuration tasks when you previously installed the reporting and monitoring feature, complete these related tasks now. Related tasks: v Accessing DB2 and configuring the Tivoli Enterprise Portal server on page 50 v Creating and configuring the Tivoli Data Warehouse on page 53 v Configuring Summarization and Pruning agent parameters on page 54 v Configuring historical data collection on page 55

Upgrading the reporting and monitoring feature to version 6.2 using the console installation wizard
You can upgrade the reporting and monitoring feature to version 6.2 using the console installation wizard. See Installing the Tivoli Storage Manager reporting and monitoring feature on AIX and Linux on page 43 for prerequisites. If you are installing the Tivoli Storage Manager reporting and monitoring feature from a DVD, complete the following steps: 1. Insert the Tivoli Storage Manager reporting and monitoring feature DVD into the DVD drive. 2. Ensure that the DVD is mounted on directory /dvdrom and change to that directory. If you downloaded the program from Passport Advantage as an executable file or as a tar file, complete the following steps: 1. Change to the directory where you downloaded the executable file. Tip: This file system requires around 6.5 GB to 7 GB of free disk space. 2. Change the file permissions by entering the following command:
chmod +x Cxxxxxx.bin

| | | |

where xxxxxx is some part number, for example: CZ1N1ML. 3. Start extracting the required files by running the following command:
./Cxxxxxx.bin

Attention: There are two self-extracted packages for AIX. These steps need to be run for each package. Attention: If you are installing on a remote system using an X display, and the local system does not have an X server running, the installation may fail. If this happens, you must unset the DISPLAY environment variable and restart the installation.

Chapter 7. Upgrading the reporting feature to v6.2

85

To upgrade the Tivoli Storage Manager reporting and monitoring feature in console mode, complete the following steps: 1. Run the following command from the install directory. This command starts the text-based install program.
install.bin -i console

| | | | |

2. Choose the locale by entering the number for your language. Press Enter for English (the default) and to continue. 3. Type 1 to accept the license agreement. Press Enter to proceed. 4. Choose one of the following options, and enter your selection. v Type 1- Reporting and monitoring feature from the Component Selection window to install the following components: DB2 9.5 IBM Tivoli Monitoring 6.2.1 Tivoli Storage Manager reporting and monitoring agent v Type 2- Reporting and monitoring agent only to install only the reporting and monitoring agent on an existing Tivoli Storage Manager server. Remember: For all Linux platforms that are only supported on the reporting and monitoring agent, you must use this option. See the Supported operating systems table in the following link for more on supported platforms: System requirements for Tivoli Storage Manager reporting and monitoring on page 40 5. If you want a language other than English, choose one of the following options:

| |

v If you chose to install the feature, type 3 and 4, separated by commas. v If you chose to install the Reporting and monitoring agent only option, type 4 Press Enter.

| | | | | | | | |

Attention: The installer checks the version level of any components you have previously installed. You can get the message: No components to install in the following scenarios: v If you are installing the Reporting and monitoring feature, the feature language package, and the monitoring agent language package, and they are all at the same level or higher. v If you are installing just the reporting and monitoring agent and the agent language package and they are all at the same level or higher. If you get this message, select Enter to exit out of the installer. 6. If you selected the option to install the Reporting and monitoring feature component, accept the Tivoli Monitoring license agreement to proceed. 7. Press enter to accept the destination directory. If you are installing into an existing IBM Tivoli Monitoring environment, choose the exact directory where that code is installed. 8. Enter the DB2 administrator password. It cannot be longer than eight characters. Press Enter. 9. Re-enter the password you selected. Press Enter. 10. Press Enter to accept the default encryption key. 11. Press Enter. The pre-installation summary displays.

86

IBM Tivoli Storage Manager for AIX: Installation Guide

12. Press Enter to accept the pre-installation summary of your configuration and start the installation. To view historical reports, you must install the Administration Center. Upgrading procedure for the Administration Center on page 90. After installing the Administration Center, your previous reports and data source are overwritten. Reconfigure your data source. Configuring a data source for the reporting and monitoring feature using the Tivoli Integrated Portal on page 62 If you did not perform the following configuration tasks when you previously installed the reporting and monitoring feature, complete these related tasks now. v v v v Accessing DB2 and configuring the Tivoli Enterprise Portal server on page 50 Creating and configuring the Tivoli Data Warehouse on page 53 Configuring Summarization and Pruning agent parameters on page 54 Configuring historical data collection on page 55

Chapter 7. Upgrading the reporting feature to v6.2

87

88

IBM Tivoli Storage Manager for AIX: Installation Guide

Chapter 8. Upgrading the Administration Center


To administer IBM Tivoli Storage Manager Version 6.2 and later servers, you must upgrade to the Administration Center Version 6.2. | | | | | | The IBM Tivoli Integrated Portal is a graphical user interface (GUI) that you can install to work with the Tivoli Storage Manager Version 6.2 server. Tivoli Integrated Portal provides all the functions that were available in the Integrated Solutions Console. With Tivoli Storage Manager Version 6.2, the Administration Center is integrated as part of the Tivoli Integrated Portal instead of the Integrated Solutions Console. See Chapter 5, Installing and configuring the Administration Center, on page 67 if you are installing the Administration Center for the first time. The Administration Center provides wizards to help guide you through common configuration tasks. The Tivoli Integrated Portal lets you install components provided by multiple IBM applications, and access them from a single interface. You must manually complete the upgrade from an earlier version of the Administration Center to Version 6.2. You must define your Tivoli Integrated Portal user IDs to the new Administration Center. In addition, you must provide credentials for each of the Tivoli Storage Manager servers. | | | | | | | | | Restriction: The Administration Center Version 6.2 is only compatible with the Tivoli Integrated Portal Version 1.1.1.2. If you have earlier versions of the Administration Center and Tivoli Integrated Portal installed, you must upgrade both. The Administration Center can also be installed to a currently existing Tivoli Integrated Portal Version 1.1.1.2. In the panel where you select which directory to install into, there is an option to install to an existing Tivoli Integrated Portal. If you select that option, the panel is automatically filled in with information about any other Tivoli Integrated Portal Version 1.1.1.2 already installed on the system.

Overview of upgrade and coexistence


Upgrading involves collecting the configuration information from a previous version of the Administration Center and duplicating it in the new version. Coexistence involves running the Administration Center V6.2 on the same workstation at the same time as you run the previous version. | | | | To support coexistence, provide non-conflicting port assignments. You can choose to have the same port definitions and run only one version or the other, or you can define separate ports and run two versions of the Administration Center concurrently. If your disk space permits, having the two versions of the Administration Center coexist is the recommended upgrade strategy. It lets users have a functioning Administration Center during the time that it takes for the upgrade to complete. It also ensures that the configuration of the previous Administration Center is still accessible during the upgrade procedure.
Copyright IBM Corp. 1993, 2010

89

Upgrade does not uninstall the previous version, which is still functional. After the upgrade completes successfully, you can uninstall the previous Administration Center using its documented process. | | | | The Administration Center Version 6.2 is not compatible with the Integrated Solutions Console. The Integrated Solutions Console was part of the Administration Center for Tivoli Storage Manager Version 6.1.0. You must install the Version 6.2 Administration Center with Tivoli Integrated Portal.

Upgrading procedure for the Administration Center


Use the upgrade procedure to upgrade from a previous version of the IBM Tivoli Storage Manager Administration Center to the Administration Center Version 6.2. | | | | | | | | | | | | | | | | | | | | | | The 6.1 Administration Center is built on the Integrated Solutions Console and the 6.2 Administration Center is built on the Tivoli Integrated Portal. You can either have both versions (6.1 and 6.2) on your workstation at the same time, or uninstall Version 6.1 and then install the Version 6.2 Administration Center. There are two scenarios for upgrading to the Version 6.2 Administration Center, depending upon which Administration Center version you are using. v If you are upgrading from a Tivoli Storage Manager Version 5.5 Administration Center, you can locate and save the database file, tsmservers.xml, for the Tivoli Storage Manager server. v If you are upgrading from a Tivoli Storage Manager Version 6.1 Administration Center, you can use the Manage Servers section to download a file containing information about the defined Tivoli Storage Manager servers. To start the upgrade procedure, complete the following steps: 1. Obtain information about the Tivoli Storage Manager servers defined to the previous Administration Center: v If the Administration Center is earlier than Version 6.1, save the tsmservers.xml file that is located in the installation directory of the earlier Administration Center. v If you have a Version 6.1 Administration Center, you can download the server definitions to a file. Click Manage Servers Download Connection File. For more details on the contents of the file and how to use it, refer to the Manage Servers help section in the Administration Center. 2. Prepare for the installation by collecting your user IDs and server credentials from the earlier Administration Center. 3. Install Administration Center Version 6.2. Note the following restrictions: v Integrated Solutions Console user IDs are not recreated in the new Administration Center. v Tivoli Storage Manager server credentials are not recreated in the new Administration Center. v If you have the reporting and monitoring feature installed, the Administration Center upgrade overwrites your existing reports and data source connections. After upgrading the Administration Center, you have to reconfigure the data source in order to view your reports. For steps on configuring your data source, see Configuring a data source for the reporting and monitoring feature using the Tivoli Integrated Portal on page 62.

| | | | | | |

90

IBM Tivoli Storage Manager for AIX: Installation Guide

| | |

4. Manually duplicate the user configuration of your earlier Administration Center. Build up a new environment for Version 6.2: a. Obtain the information about user IDs and server credentials from the earlier Administration Center. You must have the valid Administration Center user ID and password to upgrade the Administration Center. b. Define each Integrated Solutions Console user previously defined to the earlier Administration Center. c. Define to each Tivoli Integrated Portal user ID its set of Tivoli Storage Manager server connections. v The Tivoli Storage Manager server database file (tsmservers.xml) from the Version 5.5 Administration Center can be uploaded. v The server definitions file previously downloaded from Version 6.1 can be uploaded. Save the file, then load the server definitions into the Version 6.2 Administration Center by clicking Action Upload Connection File. 5. Optional: Uninstall the earlier Administration Center.

Obtaining information about Tivoli Integrated Portal or Integrated Solutions Console users
You can find information about users through the Users and Groups menu item. Complete the following steps to obtain information about the defined user IDs: 1. Expand the Console Settings item in the navigation tree. 2. Click User and Group Management. 3. In the Search drop-down list, click Users. 4. In the Search by drop-down list table, click uid. 5. In the Search entry field, enter *. 6. Click Search. The table is filled with all known user IDs. Capture this information for later use. 7. Determine the password for each of these IDs. | | | | | | | | | | | | | | | | |

Defining Integrated Solutions Console users to the Version 6.2 Administration Center
When you upgrade to the Version 6.2 Administration Center, you must define the user IDs to the IBM Tivoli Integrated Portal. You can create a separate Tivoli Integrated Portal user ID for each Tivoli Storage Manager administrator, or for a group of administrators. As a best practice, give each Tivoli Storage Manager administrator their own Tivoli Integrated Portal administrator ID. Creating separate Tivoli Integrated Portal administrator IDs can help you control access for administrators who manage different servers, or have different privilege classes. After logging on 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 the Integrated Solutions Console user IDs to Tivoli Integrated Portal: 1. In the navigation tree, expand Users and Groups. 2. Click Manage Users. 3. Click Create.
Chapter 8. Upgrading the Administration Center

91

| | | | | |

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. 4. 5. 6. 7.

Server connections to the Administration Center


A Manage Servers section is in the Tivoli Integrated Portal navigation tree of the Version 6.2 Administration Center. When you open this section, you are presented with a table of servers defined to the Administration Center for your Integrated Solutions Console or Tivoli Integrated Portal user ID. From the Manage Servers section, you can quickly provide server connection information to the Administration Center. To facilitate this configuration step, the table of servers contains an action that lets you upload to the Administration Center an XML file that contains connection information and, optionally, a set of credentials for each Tivoli Storage Manager server. This action can be used as an alternative method for defining the Tivoli Storage Manager servers of the earlier Administration Center to the Version 6.2 Administration Center. If you chose not to have the two versions of the Administration Center coexist, you can upload the tsmservers.xml file saved from the previous Administration Center. This operation makes the servers known to the Version 6.2 Administration Center, but the server credentials must be provided for each server. Optionally, you can choose to edit the tsmserver.xml file and add Tivoli Storage Manager server credentials to the connections of the user that is performing the file upload operation. Refer to the Administration Center help for more information about uploading a connections file. If you choose to have the two versions of the Administration Center coexist, the installation of the Version 6.2 Administration Center copies the tsmservers.xml file from the earlier Administration Center. You do not need to use the upload action in this case. The Tivoli Storage Manager servers are known to the Version 6.2 Administration Center, but the server credentials must be provided for each server. For both scenarios, the server connections for each Integrated Solutions Console or Tivoli Integrated Portal user ID do not include Tivoli Storage Manager server credentials. Such a connection is considered to be an incomplete or partial server connection by the Version 6.2 Administration Center. In the Manage Servers section, the table of servers defined to the Administration Center contains a column that indicates if a server connection contains Tivoli Storage Manager server credentials. You can handle the partial server connections in two ways. You can either leave the connections in the partial state. When the Tivoli Integrated Portal user later attempts to use a partial server connection, the user is prompted to complete the server connection information. Or, you can use the Change Password action of the Manage Servers table to display a form that lets you quickly define Tivoli Storage Manager server credentials for one or more server connections. In general, partial server connections result in the display of the Incomplete Server Connection form. However, there are cases when the form cannot be displayed. In these cases, an error message is displayed indicating that the user should complete

92

IBM Tivoli Storage Manager for AIX: Installation Guide

the server connection by performing a detailed action. For example, the table of libraries attempts to obtain information about all the libraries across a set of servers. The user cannot be presented with the form for each server that has the issue.
ANRW0017E The server connection currently does not include the credentials required to access the server. Explanation An administrative session could not be started with the server because the server connection does not contain an administrator ID and password. The Administration Center will continue to deny access attempts to the server until a valid administrator ID and password are provided. Administrator response To complete the server connection information for this server: In the navigation tree, click Manage Servers. Select the server from the list of servers. Click Select Action > Modify Server Connection.

Chapter 8. Upgrading the Administration Center

93

94

IBM Tivoli Storage Manager for AIX: Installation Guide

Chapter 9. Installing a Tivoli Storage Manager server fix pack


Tivoli Storage Manager maintenance updates, also referred to as fix packs, bring your server up to the current maintenance level. The Tivoli Storage Manager server must not be running during maintenance updates. To install a fix pack or interim fix to the server, you must have the Tivoli Storage Manager license package installed. The license package is provided with the purchase of a base release. | | | | | To see a list of the latest maintenance and download fixes, visit this Web site: http://www.ibm.com/support/entry/portal/Overview/Software/Tivoli/ Tivoli_Storage_Manager. Click Support and downloads and apply any applicable fixes. For information about obtaining a base license package, click Warranties and licenses. For information about supported platforms and system requirements, go to the same Web site (http://www.ibm.com/support/entry/portal/Overview/Software/ Tivoli/Tivoli_Storage_Manager) and click Server requirements. To install a fix pack or interim fix, log in as the root user and complete the following steps. Attention: To preserve your server instances and database, do not uninstall your previous version of Tivoli Storage Manager. 1. Obtain the package file for the fix pack or interim fix you want to install from the Tivoli Storage Manager FTP downloads site: ftp://ftp.software.ibm.com/ storage/tivoli-storage-management/maintenance/server. 2. Change to the directory where you placed the executable file and complete the following steps: Tip: The files are extracted to the current directory. Ensure that the executable file is in the directory where you want the extracted files to be located. a. Change file permissions by entering the following command:
chmod a+x 6.x.x.x-TIV-TSMALL-platform.bin

where platform denotes the architecture that Tivoli Storage Manager is to be installed on. b. Issue the following command to extract the installation files:
./6.x.x.x-TIV-TSMALL-platform.bin

3. Ensure that you have backed up your Tivoli Storage Manager database. See the Administrator's Guide for more details. 4. Halt the server before installing a fix pack or interim fix. 5. 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 itself, fix any errors, then restart your servers. Installation wizard Installing Tivoli Storage Manager using the installation wizard on page 14
Copyright IBM Corp. 1993, 2010

95

Command-line console wizard Installing Tivoli Storage Manager using the console installation wizard on page 15 Silent mode Installing Tivoli Storage Manager in silent mode on page 16 | | | Fix any errors before continuing. The installation log, installFixPack.log, is stored in the following location: coi/plan/tmp

96

IBM Tivoli Storage Manager for AIX: Installation Guide

Chapter 10. Uninstalling Tivoli Storage Manager


You can use the following procedures to uninstall Tivoli Storage Manager. Before you remove Tivoli Storage Manager, there are several steps to complete to ensure that you do not lose your backup and archive data. Complete the following steps before you uninstall Tivoli Storage Manager: v Complete a full database backup. v Save a copy of the volume history and device configuration files. v Store the output volumes in a safe location. Important: Uninstalling Tivoli Storage Manager removes all components of the Tivoli Storage Manager server Version 6.2. It is not possible to uninstall a single component of the product by itself. For example, you cannot uninstall only the Tivoli Storage Manager device driver and leave the Tivoli Storage Manager server. To uninstall Tivoli Storage Manager, complete the following steps: 1. Change to the following subdirectory in the /opt/tivoli/tsm/_uninst directory:
cd _uninst

2. Use one of the following methods to uninstall Tivoli Storage Manager: v To use the installation wizard (GUI) to uninstall Tivoli Storage Manager, issue this command:
./Uninstall_Tivoli_Storage_Manager

v To use the console to uninstall Tivoli Storage Manager, issue this command:
./Uninstall_Tivoli_Storage_Manager -i console

v To silently uninstall Tivoli Storage Manager, issue this command:


./Uninstall_Tivoli_Storage_Manager -i silent

3. Follow the prompts to uninstall Tivoli Storage Manager. 4. You see a message that the Tivoli Storage Manager uninstallation was successful. See Chapter 2, Installing Tivoli Storage Manager, on page 13 for Tivoli Storage Manager Version 6.2 installation steps to reinstall the components.

Uninstalling and reinstalling Tivoli Storage Manager


If you plan to manually reinstall Tivoli Storage Manager instead of using the wizard, there are a number of steps to take to preserve your server instance names and database directories. During an uninstallation, any server instances you had set up are removed, but the database catalogs for those instances still exist. If you are using the wizard to upgrade from Tivoli Storage Manager Version 6.1, it is not necessary to complete these steps, the wizard completes them automatically. To manually uninstall and reinstall Tivoli Storage Manager complete the following steps: 1. Make a list of your current server instances before proceeding to the uninstallation. Run the following command:
# /opt/tivoli/tsm/db2/instance/db2ilist
Copyright IBM Corp. 1993, 2010

97

2. Run the following commands for every server instance:


db2 attach to instance_name db2 get dbm cfg show detail db2 detach

3. | | | | | | | | 4.

5. 6. | |

Keep a record of the database path for each instance. Uninstall Tivoli Storage Manager. See Chapter 10, Uninstalling Tivoli Storage Manager, on page 97. 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: /etc/tivoli/tsm/instance.info Reinstall Tivoli Storage Manager. See Chapter 2, Installing Tivoli Storage Manager, on page 13. Recreate your server instances. See Creating the server instance on page 24. 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:
db2 db2 db2 db2 catalog database tsmdb1 attach to instance_name update dbm cfg using dftdbpath instance_directory detach

8. Verify that the server instance was created successfully. Issue this command:
# /opt/tivoli/tsm/db2/instance/db2ilist

9. 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

If you see TSMDB1 listed, you can start the server.

98

IBM Tivoli Storage Manager for AIX: Installation Guide

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

Appendix A. Installation log files


If you experience errors during installation, these errors are recorded in several log files that are distributed in various locations. The following table describes the files that are created when you install or uninstall Tivoli Storage Manager and recommends which files to check when looking for information that might help you troubleshoot problems:
Table 14. Contents of the log.zip file File Name The log.txt file contains information about the following Environment Checks: v Platform v Version v Architecture v Prerequisites Description Contains installation log files. Review this log file when any installation failures occur. Location This file is located in: /var/tivoli/tsm The InstallAnywhere exit codes are in the log.txt file and can also be summoned by command. You can only retrieve the exit codes after the installation wizard is finished installing. The exit codes are for the Tivoli Storage Manager installation and upgrade from Tivoli Storage Manager Version 6.2 installation wizards as well as the Tivoli Storage Manager reporting and monitoring installation wizard. To use the command line, issue the following command: echo $? See Table 15 on page 100 for all the InstallAnywhere exit codes. DE_Install.log Contains information about the Deployment Engine (DE) installation. Review this log file if the DE installation fails. db2setup.log Contains information about the DB2 installation. Review this log file if the DB2 installation fails. db2_uninst.log Contains information about the DB2 uninstallation coi/plan/logs coi/plan/tmp de/root

Copyright IBM Corp. 1993, 2010

99

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

Table 14. Contents of the log.zip file (continued) File Name DB2.log Description Location

coi/plan/install or coi/plan/uninstall Contains information about the 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. v coi/plan/install/logs

Administration Center installation log files

v coi/plan/install/MachinePlan_<host_name>/ 00001_eWAS Review these log files if the v coi/plan/install/MachinePlan_<host_name>/ Administration 00002_TIP Center v coi/plan/install/MachinePlan_<host_name>/ installation or 00003_TSM_AdminCenter uninstallation or fails. For log information v <install_root>/_uninst/plan/install/ about additional MachinePlan_<host_name>/00001_eWAS Administration v <install_root>/_uninst/plan/install/ Center MachinePlan_<host_name>/00002_TIP components, see v <install_root>/_uninst/plan/install/ the Problem MachinePlan_<host_name>/ Determination 00003_TSM_AdminCenter Guide.

Table 15. InstallAnywhere exit codes Code 0 1 -1 1000 1001 2000 2001 2002 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.

100

IBM Tivoli Storage Manager for AIX: Installation Guide

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

Table 15. InstallAnywhere exit codes (continued) Code 2003 2004 2006 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 4000 4001 Description An unresolved dependency in silent mode caused the installer to exit. The installation failed because not enough disk space was detected during the execution of the Install action. 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.

Appendix A. Installation log files

101

102

IBM Tivoli Storage Manager for AIX: Installation Guide

Appendix B. Accessibility features for Tivoli Storage Manager


| | Accessibility features help a user who has a physical disability, such as restricted mobility or limited vision, to use software products successfully.

Accessibility features
The following list includes the major accessibility features in Tivoli Storage Manager: 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 v User documentation provided in HTML and PDF format. Descriptive text is provided for all documentation images. The Tivoli Storage Manager Information Center, and its related publications, are accessibility-enabled.

Keyboard navigation
Tivoli Storage Manager follows AIX operating system conventions for keyboard navigation and access.

Vendor software
Tivoli Storage Manager 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.

Related accessibility information


You can view the publications for Tivoli Storage Manager in Adobe Portable Document Format (PDF) using the Adobe Acrobat Reader. You can access these or any of the other documentation PDFs at the IBM Publications Center at http://www.ibm.com/shop/publications/order/.

IBM and accessibility


| | See the IBM Human Ability and Accessibility Center for more information about the commitment that IBM has to accessibility: http://www.ibm.com/able.

Copyright IBM Corp. 1993, 2010

103

104

IBM Tivoli Storage Manager for AIX: Installation Guide

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, 2010

105

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 wish 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 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 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

106

IBM Tivoli Storage Manager for AIX: Installation Guide

| | |

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.

Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both. 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. Other company, product, or service names may be trademarks or service marks of others.

Notices

107

108

IBM Tivoli Storage Manager for AIX: Installation Guide

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/v6r2

Copyright IBM Corp. 1993, 2010

109

110

IBM Tivoli Storage Manager for AIX: Installation Guide

Index Special characters


/etc/hosts file 14 backups database 33

A
accessibility features 103 accessing DB2 on Linux 50 activating server 30 active log mirror description 8 active log space 8 Administration Center backward compatibility 89 configuring server 19, 21 console installation wizard 69 default port 68, 69 DISPLAY 68, 69 installation 68, 69 installation log 68, 69 installation wizard 68 installing 68, 69 LD_LIBRARY_PATH_64 68, 69 overview 67 port 68, 69 secure port 68, 69 SELINUX 68, 69 server connection to 92 system requirements 67 Tivoli Storage Manager installation 72 uninstalling 72, 74 upgrading 89, 90 verifying 72 Version 6.2 xiii Administration Center, auto-start 73 Administration Center, configuration wizard 22 Administration Centerreporting 62 administrative commands HALT 33 REGISTER LICENSE 33 ADSMSCSI 2 agent reporting and monitoring , installing on existing server 58 reporting and monitoring, installing 56, 57 AIX configuring monitoring agent for historical reporting 59 API 28 API configuration 28 archive failover log space description 9 archive log directory 19 archive log space description 9 automatic starting, server 32

C
Candle Manage 59 Candle Manage program 54 CandleManage 54 capacity planning 6 client options for shared memory communications 26 coexistence Administration Center 89 commands administrative, SET DBRECOVERY 33 DSMSERV FORMAT 28 commands, administrative HALT 33 REGISTER LICENSE 33 Common reporting tool 37 communication methods Shared Memory 26 SNMP 27 TCP/IP 25 compatibility, server with other DB2 products 5 components installable 2 configuration wizard 21 configuration wizard, Administration Center 22 configuring 19, 21, 22, 24 data source 62 data source after upgrade 90 historical data collection 55 monitoring agent using a graphical interface 59 reporting and monitoring agent using CLI 60 summarization and pruning agent 54 Tivoli Data Warehouse on AIX 53 Tivoli Data Warehouse on Linux 53 Tivoli Enterprise Portal server on AIX 50, 52 Tivoli Enterprise Portal server on Linux 50, 52 configuring summarization and pruning 54 configuring, Administration Center 73 configuring, manually 19, 21, 24 configuring, server instance 21 configuring, wizard 19, 21 console installation wizard 15, 79 Console language support 17 create server instance 19, 21 Credential Vault 89 custom reporting 37, 63 customer support contact ix

D
data source 62 database backups 33 error logs 99 estimating the space needed

B
BACKUP DB command 28 backup-archive client installable package 2 Copyright IBM Corp. 1993, 2010

111

database (continued) installing 28 name 10 database directories 19 database manager 28 DB2 installation logs 99 setting up access 50 DB2 directories 11 DB2 products, compatibility with the server DB2 users 44 db2fenc1 user 44 db2icrt command 24 db2inst1 user 44 db2profile 30 DB2setting up access db2start command 50 default installation directories 11 device driver, Tivoli Storage Manager 2 directories Administration Center 11 DB2 11 default installation 11 devices 11 languages 11 naming for server 10 directories, instance 19 DISPLAY variable 15, 78, 79 DSMSERV FORMAT command 28

I
IBM Software Support submitting a problem xi IBM Support Assistant viii IBM Tivoli Monitoring installing a reporting and monitoring agent on an existing server 58 IBM Tivoli Monitoring Server permissions 50 installable components 2 InstallAnywhere exit codes 99 installation log 14, 15, 78, 79 installation wizard 14, 78 installing 14, 78 Administration Center 68 BIRT 63 command line 47 database 28 device support 13 fix packs 95 recovery log 28 reporting and monitoring agent 56, 57 reporting and monitoring feature 43, 45, 47 Reporting and monitoring feature 43 server 1, 13 Tivoli Storage Manager reporting and monitoring 37 Tivoli Storage Manager server 15 what to know before 1 work sheet for reporting and monitoring feature 42 installing the Administration Center silently 70 installing the Tivoli Storage Manager Administration Center 70 installing the Tivoli Storage Manager server 16 silently 16 instance directories 19 instance user ID 10 Integrated Solutions Console users 91 interim fix 95 Internet, searching for problem resolution viii, ix

E
education see Tivoli technical training enabling communications 25 error logs DB2 99 installation 99 expiration server option 30 vii

F
files dsmserv.opt.smp 25 first steps 19 fix packs 95 fixes 13, 68 fixes, obtaining ix FORMAT, DSMSERV 28

K
KILL command 33 knowledge bases, searching vii

L
LANGUAGE option 17, 18 language support 18 languages, set 18 LD_LIBRARY_PATH_64 variable 15, 78, 79 license, Tivoli Storage Manager 33 licenses installable package 2 Linux configuring monitoring agent for historical reporting Linux installation SELinux AVC denial 99 log files installation 99

G
group 19

H
HALT command 33 halting the server 33 hardware requirements reporting and monitoring feature historical data collection configuring 55 home directory 24 40

59

112

IBM Tivoli Storage Manager for AIX: Installation Guide

M
maintenance updates 95 memory requirements reporting and monitoring feature monitoring logs 35 multiple DB2 copies 5 multiple servers upgrading multiple servers 34 40

N
names, best practices database name 10 directories for server instance user ID 10 server instance 10 server name 10 new_in_refresh1 50 10

O
operational reporting 2 options starting the server 30 options file editing 25 options, client SSLTCPADMINPORT 26 SSLTCPPORT 26 TCPADMINPORT 26 TCPPORT 25 TCPWINDOWSIZE 25

reporting and monitoring agent, installing 56, 57 reporting and monitoring agent, installing on an existing server 58 reporting and monitoring feature Candle Manage 50, 52, 53 changes xiii configuring historical data collection 55 configuring monitoring agent using a graphical interface 59 configuring reporting and monitoring agent using CLI 60 configuring summarization and pruning 54 configuring Tivoli Data Warehouse on AIX 53 configuring Tivoli Data Warehouse on Linux 53 configuring Tivoli Enterprise Portal server on AIX 50, 52 configuring Tivoli Enterprise Portal server on Linux 50, 52 Version 6.2 xiii what to configure after installing 49 work sheet 42 reports installing overview 37 installing reporting and monitoring agent 56, 57 installing reporting and monitoring feature 43, 45, 47 reporting and monitoring agent on an existing server 58 uninstalling reporting and monitoring feature 64 upgrading 83 upgrading reporting and monitoring feature 83, 85 responses saving 14, 15, 78, 79

S
scripts rc.dsmserv 32 starting servers automatically 32 SELINUX 14, 15, 78, 79 server compatibility DB2 products 5 naming best practices 10 starting automatic 32 stopping 33 server instance 21, 24 server instance, creating 24 server instances naming 10 naming best practices 10 server license 33 server options dsmserv.opt.smp 25 tailoring 25 server options file setting 25 server, Tivoli Storage Manager activating 30 halting 33 options 25 setting up 30 starting 30 SET DBRECOVERY 33 shared memory client options 26 shared memory communications method silent installation Administration Center 70 Tivoli Storage Manager 16

P
Passport Advantage 13 planning installing Tivoli Storage Manager reporting and monitoring 37 problem determination describing problem for IBM Software Support x determining business impact for IBM Software Support submitting a problem to IBM Software xi publications download v order v search v Tivoli Storage Manager vi

R
Re-installing the reporting and monitoring feature on AIX and Linux 44 recovery log active log mirror 8 active log space 8 archive failover log space 9 archive log space 9 installing 28 log mirror 8 space requirements 8 REGISTER LICENSE command 33 removing the Tivoli Storage Manager server 97

26

Index

113

silent upgrade Tivoli Storage Manager 80 SNMP communication method 27 software requirements reporting and monitoring feature 40 Software Support contact ix describing problem for IBM Software Support x determining business impact for IBM Software Support special system configurations 1 SSLTCPADMINPORT option 26 SSLTCPPORT option 26 starting server 30 starting server from user ID 30 starting servers automatically 32 starting the server authorizing root users 31 starting, Administration Center 73 stopping server 33 summary of amendments Version 6.2 xiii support information vii system requirements, AIX 4

U
U.S. English 18 uninstalling 97 Administration Center 74 extra DB2 users 44 reporting and monitoring feature 44, 64 reporting and monitoring feature on AIX and Linux Tivoli Storage Manager 97 uninstalling and reinstalling 97 upgrading 79 command line 85 reporting and monitoring feature 83, 85 upgrading the Tivoli Storage Manager server 80 silently 80 upgrading, from 6.1 77 upgrading, to Version 6.2 77 user access on IBM Tivoli Monitoring server 50 user ID 19

64

W
WebSphere Application Server 73 Windows service 19 work sheet installing reporting and monitoring feature server space planning 9 42

T
TCP/IP setting options 25 Version 4 25 Version 6 25 TCPNODELAY option 26 TCPPORT option 25 TCPWINDOWSIZE option 25 technical changes xiii Tivoli Data Warehouse configuring on AIX 53 configuring on Linux 53 Tivoli Enterprise Portal server configuring on AIX 50, 52 configuring on Linux 50, 52 Tivoli Integrated Portal 62, 72 backward compatibility 89 console help server start 73 stop 73 console server start 73 stop 73 overview 67 users 74, 91 Tivoli Storage Manager installation 14 server changes xiii upgrade 79 upgrading 78 Version 6.2 xiii Tivoli Storage Manager device driver, installable package Tivoli Storage Manager fix packs 95 Tivoli Storage Manager support site 13 Tivoli Storage Manager, setting up 30 Tivoli technical training vii training, Tivoli technical vii translation features 17 translations 17

114

IBM Tivoli Storage Manager for AIX: Installation Guide

Program Number: 5608-E01, 5608-E02, 5608-E03, 5608-E07, 5608-E12

Printed in USA

GC23-9781-02

You might also like