IBM Tivoli Storage Manager For AIX Installation Guide 6.2
IBM Tivoli Storage Manager For AIX Installation Guide 6.2
Version 6.2
Installation Guide
GC23-9781-02
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
| |
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 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 9. Installing a Tivoli Storage Manager server fix pack . . . . . . . 95 Chapter 10. Uninstalling Tivoli Storage Manager . . . . . . . . . . . . . . 97
Uninstalling and reinstalling Tivoli Storage Manager 97
| | | | | | | | | |
. . . 99
Appendix B. Accessibility features for Tivoli Storage Manager . . . . . . . 103 Notices . . . . . . . . . . . . . . 105
Trademarks . . . . . . . . . . . . . . 107
iv
Preface
This publication contains installation and configuration instructions for the Tivoli Storage Manager server and client API, server languages, and other Tivoli Storage Manager components. Instructions for installing the Tivoli Storage Manager license, device driver, storage agent, the Tivoli Integrated Portal and Administration Center, and the reporting and monitoring feature are also included in this publication.
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.
vi
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
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. | | | | | | | | | | |
Preface
vii
| | | |
viii
Preface
ix
| |
Preface
xi
xii
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
xiii
xiv
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.
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)
Table 6. Tivoli Storage Manager installable components (continued) Tivoli Storage Manager component: Description: Additional information:
| | | | | | | | | | | | | | | | |
Installs the component that Refer to the Storage Agent User's Guide. allows client systems to write data directly to, or read data directly from, storage devices that are attached to a storage area network (SAN). 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.
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.
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.
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
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.
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:
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.
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.
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
Item Optional: Secondary archive log (failover location for archive log)
Space required
Location
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 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
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.
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
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
| | | | | |
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. | | | | | | | | | | | | | |
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.
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
| | | |
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.
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.
15
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_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
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.
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.
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
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
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 /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
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.
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.
| | | | | | | | | |
http://workstation_name:port/
Or:
https://workstation_name:port/ibm/console
22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
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.
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
For example:
$ db2 update dbm cfg using dftdbpath /home/tsminst1/tsminst1
3. Create a new server options file. See Configuring server and client communications.
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
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
| | | | | | |
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.
28
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
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_$$
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
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 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
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
# . ~/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.
2. Start DB2.
$ db2start
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.
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.
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
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
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
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.
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.
34
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
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.
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.
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
memory on both the Tivoli Storage Manager server and the IBM Tivoli Monitoring server.
39
not available through the Tivoli Storage Manager reporting and monitoring feature installation wizard.
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
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
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
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
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
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
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
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.
43
| | | | | | | | | | | | | | | |
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
| | |
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
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
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
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.
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.
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.
50
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
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"
After setting up DB2 access, configure the Tivoli Enterprise Portal server.
51
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
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
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
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
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
| | | |
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
| | |
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.
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.
56
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
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
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
2. Enter a name for the reporting and monitoring agent instance, for example:
myinstance
60
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):
12. Enter the following command to start the reporting and monitoring agent you configured in step 3.
# itmcmd agent -o myinstance start sk
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
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.
63
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
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/
d. Delete the script that is called by the entry you deleted, /etc/rc.itm1.
64
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
65
66
67
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
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
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
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
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
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
71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
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
| | | |
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.
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
| |
| |
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
To uninstall the Administration Center, complete the following steps: 1. Change to the following subdirectory in the /opt/ibm/ac/ directory:
cd _uninst
74
| | | | | | | | | | | | | | | | | | | | |
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.
75
76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
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.
78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
./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
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
80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
./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
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
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.
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
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
87
88
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.
| | | | | | |
90
| | |
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.
92
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.
93
94
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
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
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.
97
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
98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
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
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
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
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.
101
102
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.
103
104
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
| | |
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
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
109
110
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
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
Printed in USA
GC23-9781-02