+ All Categories
Home > Documents > IBM Tivoli Storage Manager for Databases Data Protection for Oracle for UNIX and Linux Installation...

IBM Tivoli Storage Manager for Databases Data Protection for Oracle for UNIX and Linux Installation...

Date post: 16-Oct-2015
Category:
Upload: vijay-kumar-reddy
View: 202 times
Download: 0 times
Share this document with a friend
Popular Tags:

of 116

Transcript
  • Tivoli Storage Manager for Databases

    Data Protection for Oracle for UNIX and Linux Installation and Users Guide

    Version 5 Release 4

    SC32-9064-03

  • Tivoli Storage Manager for Databases

    Data Protection for Oracle for UNIX and Linux Installation and Users Guide

    Version 5 Release 4

    SC32-9064-03

  • Note Before using this information and the product it supports, read the general information under Notices on page 91.

    This edition applies to Version 5, Release 4, Modification 1.0, of IBM Tivoli Storage Manager for Databases Data Protection for Oracle for AIX, Linux, HP-UX, or Solaris (product number 5608-APD) and to all subsequent releases until otherwise indicated in new editions.

    Copyright International Business Machines Corporation 1997, 2007. All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

  • Contents Summary of changes . . . . . . . . . v Technical changes for Version 5.4.1 . . . . . . . v

    About this guide . . . . . . . . . . vii Who should read this guide . . . . . . . . . vii Publications . . . . . . . . . . . . . . vii

    IBM Tivoli Storage Manager library . . . . . vii Accessing terminology online . . . . . . . ix Accessing publications online . . . . . . . ix Ordering publications . . . . . . . . . . ix Tivoli Technical Training . . . . . . . . . ix

    Accessibility . . . . . . . . . . . . . . x Support information . . . . . . . . . . . . x

    IBM Tivoli Storage Manager Web site . . . . . x IBM Tivoli Storage Manager for Databases Web site . . . . . . . . . . . . . . . . x

    Conventions used in this book . . . . . . . . x Typeface conventions . . . . . . . . . . x

    Reading syntax diagrams . . . . . . . . . . xi

    Chapter 1. Introducing Data Protection for Oracle . . . . . . . . . . . . . . 1 Understanding Tivoli Storage Manager . . . . . 1 Overview of Data Protection for Oracle . . . . . 2

    RMAN and Data Protection for Oracle . . . . . 2 LAN-free data transfer . . . . . . . . . . 3 Migration and coexistence . . . . . . . . . 3

    Chapter 2. Installing Data Protection for Oracle . . . . . . . . . . . . . . . 5 AIX . . . . . . . . . . . . . . . . . 6

    AIX 5L environment (64-bit) . . . . . . . . 6 HP-UX . . . . . . . . . . . . . . . . 9

    HP-UX PA-RISC environment (64-bit) . . . . . 9 HP-UX Itanium 2 environment (64-bit) . . . . 12

    Linux . . . . . . . . . . . . . . . . 15 Linux x86 environment (32-bit) . . . . . . . 15 Linux x86_64 environment . . . . . . . . 17 Linux on POWER environment . . . . . . . 20 Linux zSeries environment (64-bit) . . . . . . 23

    Solaris . . . . . . . . . . . . . . . . 26 Solaris SPARC environment (32-bit) . . . . . 26 Solaris SPARC environment (64-bit) . . . . . 29 Solaris x86 environment (32-bit) . . . . . . 32 Solaris x86_64 environment . . . . . . . . 35

    Chapter 3. Configuring Data Protection for Oracle . . . . . . . . . . . . . 39 1. Define Data Protection for Oracle options in the tdpo.opt file . . . . . . . . . . . . . . 39

    Available options . . . . . . . . . . . 40 2. Register the Data Protection for Oracle node to a Tivoli Storage Manager server . . . . . . . . 43

    3. Define Tivoli Storage Manager options in the dsm.opt and dsm.sys files . . . . . . . . . 44

    Required options . . . . . . . . . . . 44 Other options to consider . . . . . . . . . 45

    4. Define Tivoli Storage Manager policy requirements . . . . . . . . . . . . . . 47 5. Initialize the password with a Tivoli Storage Manager server . . . . . . . . . . . . . 49

    Chapter 4. Using RMAN and Data Protection for Oracle . . . . . . . . . 51 Invoking RMAN . . . . . . . . . . . . . 51 Scripts . . . . . . . . . . . . . . . . 51

    Example . . . . . . . . . . . . . . 52 Using the Duplex Copy function . . . . . . . 52 Removing old backups . . . . . . . . . . 54

    Example . . . . . . . . . . . . . . 54 Management class options affecting object removal . . . . . . . . . . . . . . 54

    Chapter 5. Using the utilities . . . . . 55 Command line syntax and characteristics . . . . 55 TDPOCONF . . . . . . . . . . . . . . 56

    Password command . . . . . . . . . . 56 Showenvironment command . . . . . . . 57

    TDPOSYNC . . . . . . . . . . . . . . 58 Considerations . . . . . . . . . . . . 59 Syncdb Command . . . . . . . . . . . 60

    Appendix A. Quick configuration guide 63

    Appendix B. Using the Tivoli Storage Manager scheduler . . . . . . . . . 65 Setting up a schedule . . . . . . . . . . . 65

    Part I: On the Tivoli Storage Manager server . . 66 Part II: On the client machine (NodeA1) . . . . 66

    Appendix C. Support information . . . 69 What to do when you encounter a problem . . . 69 Searching knowledge bases . . . . . . . . . 71

    Searching the information center . . . . . . 71 Searching the Internet . . . . . . . . . . 71

    Obtaining fixes . . . . . . . . . . . . . 71 Receiving weekly support updates . . . . . . 72 Contacting IBM Software Support . . . . . . . 72

    Determining the business impact . . . . . . 73 Describing problems and gathering information 74 Submitting problems . . . . . . . . . . 74

    Appendix D. Accessibility . . . . . . 77 Navigating the interface using the keyboard . . . 77 Magnifying what is displayed on the screen . . . 77

    Copyright IBM Corp. 1997, 2007 iii

    ||

  • Appendix E. Messages . . . . . . . . 79

    Notices . . . . . . . . . . . . . . 91

    Trademarks . . . . . . . . . . . . . . 93

    Index . . . . . . . . . . . . . . . 95

    iv IBM Tivoli Storage Manager for Databases: Data Protection for Oracle for UNIX and Linux Installation and Users Guide

  • Summary of changes This section summarizes changes made to the Data Protection for Oracle product and this publication. Technical changes to the text are indicated by vertical lines (|) in the margin to the left of the change.

    Technical changes for Version 5.4.1 The following changes have been made to this publication:

    Tivoli Storage Manager API password management Password expiration can now be managed by Data Protection for Oracle through the Tivoli Storage Manager API. This allows a new password to be automatically generated by the Tivoli Storage Manager server, thus preventing a backup failure due to an expired password.

    See the description of the passwordaccess option in the Required options on page 44 section for detailed information.

    SuSE Linux Enterprise Server 10 Support for Data Protection for Oracle on SuSE Linux Enterprise Server 10 is provided in this release.

    See Linux x86 environment (32-bit) on page 15 and Linux x86_64 environment on page 17 for detailed information.

    Changes since the SC32-9064-02 version are marked with a vertical bar (|) in the left margin.

    Copyright IBM Corp. 1997, 2007 v

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

  • vi IBM Tivoli Storage Manager for Databases: Data Protection for Oracle for UNIX and Linux Installation and Users Guide

  • About this guide The subject of this publication is Data Protection for Oracle, a component of the IBM Tivoli Storage Manager for Databases product.

    Data Protection for Oracle performs online or offline backups of Oracle 9i and Oracle 10g databases to Tivoli Storage Manager storage. This integration with the RMAN Media Management API maximizes the protection of data, thus providing a comprehensive storage management solution.

    Tivoli Storage Manager is a client-server licensed product that provides storage management services in a multi-platform computer environment.

    Who should read this guide The target audience for this publication are system installers, system users, Oracle database administrators, Tivoli Storage Manager administrators, and system administrators.

    In this book, it is assumed that you have an understanding of the following applications: v Oracle Server v Tivoli Storage Manager server v Tivoli Storage Manager backup-archive client v Tivoli Storage Manager Application Program InterfaceIt is also assumed that you have an understanding of one of the following operating systems: v AIX

    v HP-UX v Linux v Solaris Operating Environment (hereinafter referred to as Solaris)

    Publications This section lists related IBM Tivoli Storage Manager publications. It also describes how to access Tivoli publications online and how to order Tivoli publications.

    IBM Tivoli Storage Manager library The following documents are available in the IBM Tivoli Storage Manager library: v IBM Tivoli Storage Manager for Windows Backup-Archive Client Installation and

    Users Guide

    Provides information for an end-user to install, configure, and use the Tivoli Storage Manager client on Windows operating systems.

    v IBM Tivoli Storage Manager for UNIX and Linux Backup-Archive Clients Installation and Users Guide

    Provides information for an end-user to install, configure, and use the Tivoli Storage Manager client on UNIX and Linux operating systems.

    v IBM Tivoli Storage Manager for Windows Administrators Guide

    Copyright IBM Corp. 1997, 2007 vii

  • Provides concepts and procedures for configuring and customizing the Tivoli Storage Manager server on Windows operating systems.

    v IBM Tivoli Storage Manager for Windows Administrators Reference Provides details about administrative commands, server options, and server utilities for Tivoli Storage Manager server on Windows operating systems.

    v IBM Tivoli Storage Manager for AIX Administrators Guide Provides concepts and procedures for configuring and customizing the Tivoli Storage Manager server on AIX operating systems.

    v IBM Tivoli Storage Manager for AIX Administrators Reference Provides details about administrative commands, server options, and server utilities for Tivoli Storage Manager server on AIX operating systems.

    v IBM Tivoli Storage Manager for Sun Solaris Administrators Guide Provides concepts and procedures for configuring and customizing the Tivoli Storage Manager server on Sun Solaris operating systems.

    v IBM Tivoli Storage Manager for Sun Solaris Administrators Reference Provides details about administrative commands, server options, and server utilities for Tivoli Storage Manager server on Sun Solaris operating systems.

    v IBM Tivoli Storage Manager Messages Provides explanations and suggested actions for messages issued by the Tivoli Storage Manager server program for storage management services, the administrative client graphical user interface, administrative command line client, data protection clients, and backup-archive client.

    v IBM Tivoli Storage Manager: Problem Determination Guide This guide describes how to diagnose problems with Tivoli Storage Manager.

    v IBM Tivoli Storage Manager Using the Application Program Interface Provides information to help you add Tivoli Storage Manager application program interface calls to an existing application and to write programs with general-use program interfaces that obtain the services of Tivoli Storage Manager.

    v IBM Tivoli Storage Manager for SAN for AIX Storage Agent Users Guide Provides an overview of LAN-free data transfer and detailed explanations about configuring and using the Tivoli Storage Manager client, storage agent, and server.

    v IBM Tivoli Storage Manager for SAN for HP-UX Storage Agent Users Guide Provides an overview of LAN-free data transfer and detailed explanations about configuring and using the Tivoli Storage Manager client, storage agent, and server.

    v IBM Tivoli Storage Manager for SAN for Linux Storage Agent Users Guide Provides an overview of LAN-free data transfer and detailed explanations about configuring and using the Tivoli Storage Manager client, storage agent, and server.

    v IBM Tivoli Storage Manager for SAN for Sun Solaris Storage Agent Users Guide Provides an overview of LAN-free data transfer and detailed explanations about configuring and using the Tivoli Storage Manager client, storage agent, and server.

    v IBM Tivoli Storage Manager for SAN for Windows Storage Agent Users Guide Provides an overview of LAN-free data transfer and detailed explanations about configuring and using the Tivoli Storage Manager client, storage agent, and server.

    viii IBM Tivoli Storage Manager for Databases: Data Protection for Oracle for UNIX and Linux Installation and Users Guide

  • Accessing terminology online The Tivoli Software Glossary includes definitions for many of the technical terms related to Tivoli software. The Tivoli Software Glossary is available at the following Tivoli software library Web site:

    http://publib.boulder.ibm.com/tividd/glossary/tivoliglossarymst.htm

    The IBM Terminology Web site consolidates the terminology from IBM product libraries in one convenient location. You can access the Terminology Web site at the following Web address:

    http://www.ibm.com/ibm/terminology

    Accessing publications online The product CD contains the publications that are in the product library. The format of the publications is PDF, HTML, or both. To access the publications using a Web browser, open the infocenter.html file. The file is in the appropriate publications directory on the product CD.

    IBM posts publications for this and all other Tivoli products, as they become available and whenever they are updated, to the Tivoli software information center Web site. Access the Tivoli software information center by first going to the Tivoli software library at the following Web address:

    http://www.ibm.com/software/tivoli/library/

    Scroll down and click the Product manuals link. In the Tivoli Technical Product Documents Alphabetical Listing window, click the link to access the product library at the Tivoli software information center.

    Note: If you print PDF documents on other than letter-sized paper, set the option in the File Print window that allows Adobe Reader to print letter-sized pages on your local paper.

    Ordering publications You can order many Tivoli publications online at the following Web site:

    http://www.elink.ibmlink.ibm.com/public/applications/publications/cgibin/pbi.cgi

    You can also order by telephone by calling one of these numbers: v In the United States: 800-879-2755 v In Canada: 800-426-4968

    In other countries, contact your software account representative to order Tivoli publications.

    Tivoli Technical Training For Tivoli technical training information, refer to the following IBM Tivoli Education Web site:

    http://www.ibm.com/software/tivoli/education

    About this guide ix

  • Accessibility Accessibility features help users with a physical disability, such as restricted mobility or limited vision, to use software products successfully. With this product, you can use assistive technologies to hear and navigate the interface. You can also use the keyboard instead of the mouse to operate all features of the graphical user interface.

    For additional information, see the appendix, Appendix D, Accessibility, on page 77.

    Support information If you have a problem with your IBM software, you want to resolve it quickly. IBM provides the following ways for you to obtain the support you need: v Searching knowledge bases: You can search across a large collection of known problems and workarounds, Technotes, and other information.

    v Obtaining fixes: You can locate the latest fixes that are already available for your product.

    v Contacting IBM Software Support: If you still cannot solve your problem, and you need to work with someone from IBM, you can use a variety of ways to contact IBM Software Support.

    For more information about these three ways of resolving problems, see Appendix C, Support information, on page 69.

    IBM Tivoli Storage Manager Web site Technical support information and publications are available at the following address: http://www.ibm.com/software/sysmgmt/products/support/IBMTivoliStorageManager.html

    By accessing the Tivoli Storage Manager home page, you can access subjects that interest you. You can also keep up-to-date with the newest Tivoli Storage Manager product information.

    IBM Tivoli Storage Manager for Databases Web site The IBM Tivoli Storage Manager for Databases Web site contains a knowledge base of articles and information related to backup and restore issues. Access this information at: www.ibm.com/software/sysmgmt/products/support/ IBMTivoliStorageManagerforDatabases.html

    Conventions used in this book This guide uses several conventions for special terms and actions, operating system-dependent commands and paths.

    Typeface conventions This guide uses the following typeface conventions:

    Bold

    v Commands, keywords, authorization roles, or other information that you must use.

    x IBM Tivoli Storage Manager for Databases: Data Protection for Oracle for UNIX and Linux Installation and Users Guide

  • v Example: Log on to the server as root user.italics

    v Values or variables that you must provide. v Emphasized words and phrases. v Example: The node name of the production node and backup node must not be the same.

    bold italics

    v Options and parameters. v Example: Specify the value for the compression option.

    monospace

    v Directories, parameters, URLs, and output examples. v Example: The product is installed in the /usr/tivoli/tsm/client/ba/bin directory.

    UPPER CASE v Environment variables associated with Tivoli Storage Manager, operating systems, or Oracle Server.

    v Example: Make sure the DSM_DIR environment variable is set correctly.

    Reading syntax diagrams This section describes how to read the syntax diagrams used in this book. To read a syntax diagram, follow the path of the line. Read from left to right, and top to bottom. v The symbol indicates the beginning of a syntax diagram. v The symbol at the end of a line indicates the syntax diagram continues on the next line.

    v The symbol at the beginning of a line indicates a syntax diagram continues from the previous line.

    v The symbol indicates the end of a syntax diagram.

    Syntax items, such as a keyword or variable, can be: v On the line (required element) v Above the line (default element) v Below the line (optional element).

    Syntax Diagram Description Example

    Abbreviations:

    Uppercase letters denote the shortest acceptable truncation. If an item appears entirely in uppercase letters, it cannot be truncated.

    You can type the item in any combination of uppercase or lowercase letters.

    In this example, you can enter KEYWO, KEYWORD, or KEYWOrd.

    KEYWOrd

    About this guide xi

  • Syntax Diagram Description Example

    Symbols:

    Enter these symbols exactly as they appear in the syntax diagram.

    * Asterisk { } Braces : Colon , Comma = Equal Sign - Hyphen () Parentheses . Period

    Space

    Variables:

    Italicized lowercase items (var_name) denote variables.

    In this example, you can specify a var_name when you enter the KEYWORD command.

    KEYWOrd var_name

    Repetition:

    An arrow returning to the left means you can repeat the item.

    A character or space within the arrow means you must separate repeated items with that character or space.

    A footnote by the arrow references the number of times you can repeat the item.

    repeat

    ,

    repeat

    (1)

    repeat

    Notes:

    1 Specify repeat as many as 5 times.

    Required Choices:

    When two or more items are in a stack and one of them is on the line, you must specify one item.

    In this example, you must choose A, B, or C.

    A B

    C

    Optional Choice:

    When an item is below the line, that item is optional. In the first example, you can choose A or nothing at all.

    When two or more items are in a stack below the line, all of them are optional. In the second example, you can choose A, B, C, or nothing at all.

    A

    A

    B

    C

    xii IBM Tivoli Storage Manager for Databases: Data Protection for Oracle for UNIX and Linux Installation and Users Guide

  • Syntax Diagram Description Example

    Defaults:

    Defaults are above the line. The default is selected unless you override it. You can override the default by including an option from the stack below the line.

    In this example, A is the default. You can override A by choosing B or C. You can also specify the default explicitly.

    A

    B

    C

    Repeatable Choices:

    A stack of items followed by an arrow returning to the left means you can select more than one item or, in some cases, repeat a single item.

    In this example, you can choose any combination of A, B, or C.

    A

    B

    C

    Syntax Fragments:

    Some diagrams, because of their length, must fragment the syntax. The fragment name appears between vertical bars in the diagram. The expanded fragment appears between vertical bars in the diagram after a heading with the same fragment name.

    The fragment name

    The fragment name:

    A

    B

    C

    About this guide xiii

  • xiv IBM Tivoli Storage Manager for Databases: Data Protection for Oracle for UNIX and Linux Installation and Users Guide

  • Chapter 1. Introducing Data Protection for Oracle This section provides a brief overview of Tivoli Storage Manager and Data Protection for Oracle.

    Understanding Tivoli Storage Manager Tivoli Storage Manager is a client/server program that provides storage management services in a multi-vendor, multi-platform computer environment.

    Tivoli Storage Manager provides these functions: v Reduces network complexity Tivoli Storage Manager reduces network complexity with interfaces and functions that span network environments. This provides consistency across different operating systems and hardware.

    v Increases administrator productivity Tivoli Storage Manager can reduce the cost of network administration by allowing administrators to perform these actions: Automate repetitive processes Schedule unattended processes Administer Tivoli Storage Manager from anywhere in the network

    v Reduces the risk of data loss Many users do not back up their data. Other users apply stand-alone backup techniques with diskettes and tapes as the only protection for business data. These backup systems often produce disappointing results during recovery operations. Tivoli Storage Manager schedules routine backups that enable users to recover from accidental data deletion without administrator involvement.

    v Optimizes existing storage resources Tivoli Storage Manager allows users to move files from client file systems to Tivoli Storage Manager storage. This saves space on client file systems and can eliminate the expense of upgrading client storage hardware. Tivoli Storage Manager monitors client storage space and moves files from client file systems to Tivoli Storage Manager storage if an out-of-space condition threatens. This function can also eliminate the expense of client hardware upgrades.

    Tivoli Storage Manager provides these services: v Backup and restore services These services generate backup copies of data at specified intervals and restores the data from these copies when required. These services protect against workstation or file server media failure, accidental file deletion, data corruption, data vandalism, or site disasters.

    v Archive and retrieve services These services provide backup-archive clients with point-in-time copies of data for long-term storage.

    Copyright IBM Corp. 1997, 2007 1

  • v Server hierarchical storage management services These services migrate client files from expensive storage media to less expensive storage media (from disk to tape, for example). Administrator-defined thresholds determine file migration for each storage pool. Migration applies to all backup and archive client files.

    v Automation services Tivoli Storage Manager administrators can increase productivity by automating common storage administration tasks.

    v Administration services Tivoli Storage Manager administration services provide support for routine monitoring, administration, and accounting. Administrators can manage the server from another system or the same system. The Tivoli Storage Manager utilities allow the administrator to perform these functions: Set client and server options Define devices Format storage volumes Add additional clients Label tape volumes Tivoli Storage Manager monitors scheduled operations and maintains status information in the database. An administrator can export data to removable media. This data can be imported by another server, making the export and import features a convenient utility for moving server data. The administrator can specify the accounting option generated at the end of each client session.

    v Security services Security services control user access to Tivoli Storage Manager data, storage, policy definitions, and administrative commands.

    v Disaster recovery management Disaster recovery management helps the administrator implement a comprehensive backup and recovery procedure for important business applications, data, and records.

    Overview of Data Protection for Oracle Data Protection for Oracle currently supports Oracle 9i and Oracle 10g databases with the Oracle Recovery Manager (RMAN). See Chapter 2, Installing Data Protection for Oracle, on page 5 for specific levels of supported Oracle databases.

    RMAN and Data Protection for Oracle RMAN provides consistent and secure backup, restore, and recovery performance for Oracle databases. While the Oracle RMAN initiates a backup or restore, Data Protection for Oracle acts as the interface to the Tivoli Storage Manager server Version 5.3.x (or later). The Tivoli Storage Manager server then applies administrator-defined storage management policies to the data. Data Protection for Oracle implements the Oracle defined Media Management application program interface (SBTAPI) 2.0. This SBTAPI interfaces with RMAN and translates Oracle commands into Tivoli Storage Manager API calls to the Tivoli Storage Manager server.

    With the use of RMAN, Data Protection for Oracle allows you to perform the following functions: v Full and incremental backup function for the following while online or offline: Databases

    2 IBM Tivoli Storage Manager for Databases: Data Protection for Oracle for UNIX and Linux Installation and Users Guide

  • Tablespaces Datafiles Archive log files Control files

    v Full database restores while offline v Tablespace and datafile restore while online or offline

    LAN-free data transfer Data Protection for Oracle supports backup and restore operations in a LAN-free environment. This environment shifts the movement of data from the communications network to a storage area network (SAN). Data moves over the SAN to a SAN-attached storage device by the Tivoli Storage Manager Storage Agent. Running Data Protection for Oracle in a LAN-free environment avoids constraints of the network and decreases the load on the Tivoli Storage Manager server, allowing the server to support a greater number of simultaneous connections.

    Before enabling LAN-free support, you must install the Tivoli Storage Manager Managed System for SAN Storage Agent on the same system as Data Protection for Oracle. See the IBM Tivoli Storage Manager for SAN for your operating environment for more information about LAN-free requirements.

    Migration and coexistence v Data Protection for Oracle Version 5.4 does not support Oracle8 (8.0.x) databases. v Existing backups created using Data Protection for Oracle Version 2.2.0 and 2.2.1 are restorable using Data Protection for Oracle 5.4.

    v Data Protection for Oracle relies heavily on the tdpo.opt file for accuracy in setup and maintenance. The contents of the tdpo.opt file are different than the environment variables used with Data Protection for Oracle Version 2.1. Therefore, Version 2.1 RMAN scripts for environment variables are ignored. For more information, see Chapter 3, Configuring Data Protection for Oracle, on page 39 or Scripts on page 51.

    v Tivoli Storage Manager server Version 5.3.x (or later) and the Tivoli Storage Manager API Version 5.4.0 (or later) are required. Note that Tivoli Storage Manager API Version 5.3.4 is required for a Solaris SPARC 32-bit environment.

    Chapter 1. Introducing Data Protection for Oracle 3

    |||

    |||

  • 4 IBM Tivoli Storage Manager for Databases: Data Protection for Oracle for UNIX and Linux Installation and Users Guide

  • Chapter 2. Installing Data Protection for Oracle This chapter provides information on the required client environment for Data Protection for Oracle and instructions on installing Data Protection for Oracle.

    Make sure these conditions exist before installing Data Protection for Oracle: v Tivoli Storage Manager server Version 5.3.x (or later) is configured. v Tivoli Storage Manager API Version 5.4.0 (or later) is installed. Note that Tivoli Storage Manager API Version 5.3.4 is required for a Solaris SPARC 32-bit environment. The required version of the Tivoli Storage Manager API is included in the Data Protection for Oracle product media.

    v Determine the appropriate Data Protection for Oracle bit size to use by identifying the bit size of your Oracle target database. For example, if you are using a 32-bit Oracle target database, you must use a 32-bit version of Data Protection for Oracle. If you are using a 64-bit Oracle target database, you must use a 64-bit version of Data Protection for Oracle. The Data Protection for Oracle bit size is not determined by the bit size of your operating system.

    v Any previous version of Data Protection for Oracle or the Tivoli Storage Manager API must be uninstalled before installing a new or updated version. If you are installing a PTF version of Data Protection for Oracle, do not remove the license file from the previous version. The PTF driver does not contain a license.

    Attention: A root user must install the Tivoli Storage Manager API before installing Data Protection for Oracle on the workstation where the target database resides.

    After Data Protection for Oracle is installed, see Chapter 3, Configuring Data Protection for Oracle, on page 39 for detailed task instructions you must perform before attempting to back up data..

    Note: If you would like to configure Data Protection for Oracle using default settings, see Appendix A, Quick configuration guide, on page 63 for instructions.

    Important See the readmedporc_enu.htm file that is shipped on the product installation media for the most current information.

    Copyright IBM Corp. 1997, 2007 5

    ||||

    ||

  • AIX

    AIX 5L environment (64-bit) This section contains operating system, hardware, software, and communication requirements for installing Data Protection for Oracle in an AIX 5L environment.

    Operating system requirements One of the following AIX 5L operating systems: v AIX 5.2 (64-bit) v AIX 5.3 (64-bit)

    Hardware requirements v Any RS/6000 or pSeries workstation v Disk space: 8 MB v Memory: 64 MB (128 MB or more recommended)

    Software requirements v Tivoli Storage Manager server Version 5.3.x (or later) v Tivoli Storage Manager API Version 5.4.0 (or later) v One of the following levels of Oracle Server: Oracle9i Version 9.2 (64-bit) Oracle 10g Release 1 (64-bit) Oracle 10g Release 2 (64-bit)

    Communication methods v TCP/IP

    6 IBM Tivoli Storage Manager for Databases: Data Protection for Oracle for UNIX and Linux Installation and Users Guide

    |

  • Installing Data Protection for Oracle on AIX 5L 64-bit All installables on the CD reside under the /cdrom/usr/sys/inst.images directory.

    Table 1. AIX 5L 64-bit Default Installation Directories AIX Default Installation Directories

    Data Protection for Oracle 64-bit /usr/tivoli/tsm/client/oracle/bin64

    Data Protection for Oracle Utilities

    /usr/tivoli/tsm/client/oracle/bin64

    Tivoli Storage Manager API 64-bit

    /usr/tivoli/tsm/client/api/bin64

    Table 2. Data Protection for Oracle AIX 5L 64-bit, Utilities, Languages, and Tivoli Storage Manager API Package Names Package Package Name

    Data Protection for Oracle 64-bit tivoli.tsm.client.oracle.aix.64bit

    Data Protection for Oracle Utilities

    tivoli.tsm.client.oracle.tools.aix.64bit

    Electronic License Agreement tivoli.tsm.loc.client.oracle.aix.64bit.ela

    Data Protection for Oracle Languages

    tivoli.tsm.client.oracle.msg.aix.64bit.xx_XX

    Tivoli Storage Manager API 64-bit

    tivoli.tsm.client.api.aix.64bit

    Tivoli Storage Manager API Languages

    tivoli.tsm.msg.xx_XX.client.api.64bit

    Follow these instructions to install Data Protection for Oracle. This example assumes that your CD drive is /dev/cd0.

    1. Insert the CD containing the client package into the CD drive. 2. Log in as the root user.

    3. Enter smitty install at the command prompt. 4. Select Install and Update Software. Press Enter.

    5. Select Install and Update from ALL Available Software. Press Enter. 6. Enter /dev/cd0 in the Entry Field for INPUT device / directory for software.

    Press Enter. 7. Highlight the SOFTWARE to install option. Press F4 to list available software.

    8. Select the installable packages by performing the following: a. Highlight the Data Protection for Oracle package

    (tivoli.tsm.client.oracle.aix.64bit) and press F7. b. Highlight the Data Protection for Oracle utilities package

    (tivoli.tsm.client.oracle.tools.aix.64bit) and press F7. c. Highlight the Tivoli Storage Manager API package

    (tivoli.tsm.client.api.aix.64bit) and press F7. d. If you want to install Data Protection for Oracle in a language other than

    English, highlight the desired language package (tivoli.tsm.client.oracle.msg.aix.64bit.xx_XX) and press F7. Make sure the Tivoli Storage Manager API language package for the desired language (tivoli.tsm.msg.xx_XX.client.api.64bit) is also installed.

    Chapter 2. Installing Data Protection for Oracle 7

  • e. Highlight the Electronic License Agreement (tivoli.tsm.loc.client.oracle.aix.64bit.ela) and press F7. 1) Make sure you set ACCEPT new license agreements? to Yes. (The

    default is No). You can also specify the -Y option with the installp command.

    2) Set Preview new license agreements? to No (the default value) for the installation to proceed.

    3) If Preview new license agreements? is set to Yes, the installation will enter preview mode but Data Protection for Oracle does not install. Preview new license agreements? must be set to No for Data Protection for Oracle to install.

    After all five packages are selected, press Enter. 9. When the Install and Update from LATEST Available Software window

    displays, press Enter. 10. A window displays and prompts you with this message:

    ARE YOU SURE?

    Press Enter to continue the installation procedure. 11. After successfully installing Data Protection for Oracle, press F10 to exit the

    smitty install environment. You can view the Summary for more information regarding the installation.

    12. Link the Oracle target database instance with Data Protection for Oracle by performing the following steps: a. Set the Oracle LD_LIBRARY_PATH option to specify $ORACLE_HOME/lib as

    the first entry:

    LD_LIBRARY_PATH=$ORACLE_HOME/lib

    b. Shut down all Oracle instances that use $ORACLE_HOME. c. Go to the $ORACLE_HOME/lib directory. d. Symbolically link the library file to libobk.a:

    $ ln -s /usr/lib/libobk64.a $ORACLE_HOME/lib/libobk.a

    e. Start the Oracle instances.

    8 IBM Tivoli Storage Manager for Databases: Data Protection for Oracle for UNIX and Linux Installation and Users Guide

  • HP-UX

    HP-UX PA-RISC environment (64-bit) This section contains operating system, hardware, software, and communication requirements for installing Data Protection for Oracle in an HP-UX PA-RISC 64-bit environment.

    Operating system requirements One of the following levels of HP-UX 64-bit operating system: v HP-UX 11i v2 (64-bit)

    Hardware requirements v Any HP 9000 Series 700 or 800 workstation v Disk space: 8 MB v Memory: 96 MB

    Software requirements v Tivoli Storage Manager server Version 5.3.x (or later) v Tivoli Storage Manager API Version 5.4.0 (or later) v One of the following levels of Oracle Server: Oracle9i Version 9.2 (64-bit) Oracle 10g Release 1 (64-bit) Oracle 10g Release 2 (64-bit)

    Communication methods v TCP/IP

    Chapter 2. Installing Data Protection for Oracle 9

    ||

    |

  • Installing Data Protection for Oracle on HP-UX PA-RISC 64-bit All installable files reside under the /cdrom/oracle/hpux11/ directory.

    Table 3. HP-UX PA-RISC 64-bit Default Installation Directories HP-UX Default Installation Directories

    Data Protection for Oracle 64-bit /opt/tivoli/tsm/client/oracle/bin64

    Data Protection for Oracle Utilities

    /opt/tivoli/tsm/client/oracle/bin64

    Data Protection for Oracle Messages

    /opt/tivoli/tsm/client/oracle/bin64

    Tivoli Storage Manager API /opt/tivoli/tsm/client/api/bin64

    Table 4. Data Protection for Oracle 64-bit and Tivoli Storage Manager installable files and packages Component Installable file or package

    Data Protection for Oracle 64-bit base code, license, utilities

    TDPOracle64.bin

    Data Protection for Oracle Languages TDPOracle.msg.xx_XX.bin

    Tivoli Storage Manager API TIVsmCapi64

    Tivoli Storage Manager API Languages TIVsmC.msg.xx_XX

    To install: 1. Log in as the root user:

    # su Password:

    Enter your password. 2. Create a directory for mounting the CD. Set the appropriate permission to the

    directory:

    # mkdir /cdrom # chmod 755 /cdrom

    3. Insert the CD into the drive and mount the CD: # mount -r -F hsfs /cdrom

    Enter your device_name for the CD in this command. An example of device_name is /dev/dsk/c1t2d0.

    4. Issue this command to install the Tivoli Storage Manager API: $ swinstall -v -s /cdrom/oracle/hpux11/TIVsmCapi64

    5. Enter the name of the installable file (TDPOracle64.bin) on the command line and press Enter to install the Data Protection for Oracle product, utilities, and license:

    $ TDPOracle64.bin

    10 IBM Tivoli Storage Manager for Databases: Data Protection for Oracle for UNIX and Linux Installation and Users Guide

  • 6. If you want to install Data Protection for Oracle in a language other than English, enter the name of the installable file for the desired language (TDPOracle.msg.xx_XX.bin) on the command line and press Enter:

    $ TDPOracle.msg.xx_XX.bin

    Make sure the Tivoli Storage Manager API language package for the desired language (TIVsmC.msg.xx_XX) is also installed.

    7. Link the Oracle target database instance with Data Protection for Oracle by performing the following steps: a. Set the Oracle LD_LIBRARY_PATH option to specify $ORACLE_HOME/lib as

    the first entry:

    LD_LIBRARY_PATH=$ORACLE_HOME/lib

    b. Shut down all Oracle instances that use $ORACLE_HOME. c. Go to the $ORACLE_HOME/lib directory. d. Symbolically link the library file to libobk.sl:

    $ ln -s /usr/lib/pa20_64/libobk.sl $ORACLE_HOME/lib/libobk.sl

    e. Start the Oracle instances.

    Chapter 2. Installing Data Protection for Oracle 11

    |

  • HP-UX Itanium 2 environment (64-bit) This section contains operating system, hardware, software, and communication requirements for installing Data Protection for Oracle in an HP-UX Itanium 2 64-bit environment.

    Operating system requirements The following level of HP-UX operating system: v HP-UX 11i v2 (11.23) 64-bit

    Hardware requirements v An HP Integrity server with an Itanium 2 processor v Disk space: 8 MB v Memory: 96 MB

    Software requirements v Tivoli Storage Manager server Version 5.3.x (or later) v Tivoli Storage Manager API Version 5.4.0 (or later) v One of the following levels of Oracle Server: Oracle9i Version 9.2 (64-bit) Oracle 10g Release 1 (64-bit) Oracle 10g Release 2 (64-bit)

    Communication methods v TCP/IP

    12 IBM Tivoli Storage Manager for Databases: Data Protection for Oracle for UNIX and Linux Installation and Users Guide

    |

  • Installing Data Protection for Oracle on HP-UX Itanium 2 64-bit All installable files reside under the /cdrom/oracle/hpuxia/ directory.

    Table 5. HP-UX Itanium 2 64-bit Default Installation Directories HP-UX Default Installation Directories

    Data Protection for Oracle 64-bit /opt/tivoli/tsm/client/oracle/bin64

    Data Protection for Oracle Utilities

    /opt/tivoli/tsm/client/oracle/bin64

    Data Protection for Oracle Messages

    /opt/tivoli/tsm/client/oracle/bin64

    Tivoli Storage Manager API /opt/tivoli/tsm/client/api/bin64

    Table 6. Data Protection for Oracle 64-bit and Tivoli Storage Manager installable files and packages Component Installable file or package

    Data Protection for Oracle 64-bit base code, license, utilities

    TDPOracle64.bin

    Data Protection for Oracle Languages TDPOracle64.msg.xx_XX.bin

    Tivoli Storage Manager API TIVsmCapi64

    Tivoli Storage Manager API Languages TIVsmC.msg.xx_XX

    To install: 1. Log in as the root user:

    # su Password:

    Enter your password. 2. Create a directory for mounting the CD. Set the appropriate permission to the

    directory:

    # mkdir /cdrom # chmod 755 /cdrom

    3. Insert the CD into the drive and mount the CD: # mount -r -F hsfs /cdrom

    Enter your device_name for the CD in this command. An example of device_name is /dev/dsk/c1t2d0.

    4. Issue this command to install the Tivoli Storage Manager API: $ swinstall -v -s /cdrom/oracle/hpuxia/TIVsmCapi64

    5. Enter the name of the installable file (TDPOracle64.bin) on the command line and press Enter to install the Data Protection for Oracle product, utilities, and license:

    $ TDPOracle64.bin

    Chapter 2. Installing Data Protection for Oracle 13

  • 6. If you want to install Data Protection for Oracle in a language other than English, enter the name of the Data Protection for Oracle installable file for the desired language (TDPOracle.msg.xx_XX.bin) on the command line and press Enter:

    $ TDPOracle.msg.xx_XX.bin

    Make sure the Tivoli Storage Manager API language package for the desired language (TIVsmC.msg.xx_XX) is also installed.

    7. Link the Oracle target database instance with Data Protection for Oracle by performing the following steps: a. Set the Oracle LD_LIBRARY_PATH option to specify $ORACLE_HOME/lib as

    the first entry:

    LD_LIBRARY_PATH=$ORACLE_HOME/lib

    b. Shut down all Oracle instances that use $ORACLE_HOME. c. Go to the $ORACLE_HOME/lib directory. d. Symbolically link the library file to libobk.so:

    $ ln -s /usr/lib/hpux64/libobk.so $ORACLE_HOME/lib/libobk.so

    e. Start the Oracle instances.

    14 IBM Tivoli Storage Manager for Databases: Data Protection for Oracle for UNIX and Linux Installation and Users Guide

    ||||

  • Linux

    Linux x86 environment (32-bit) This section contains operating system, hardware, software, and communication requirements for installing Data Protection for Oracle in a Linux on Intel x86 32-bit environment.

    Operating system requirements One of the following levels of Linux 32-bit operating system: v Red Hat Enterprise Linux 4 (32-bit) v SuSE Linux Enterprise Server 9 (32-bit) v SuSE Linux Enterprise Server 10 (32-bit) v Asianux 2.0 (32-bit)

    Hardware requirements v Any Intel x86 (or compatible) 32-bit workstation v Disk space: 8 MB v Memory: 64 MB (128 MB or more recommended)

    Software requirements v Tivoli Storage Manager server Version 5.3.x (or later) v Tivoli Storage Manager API Version 5.4.0 (or later) v One of the following levels of Oracle Server: Oracle9i Version 9.2 (32-bit) Oracle 10g Release 1 (32-bit) Oracle 10g Release 2 (32-bit)

    Table 7. Supported Oracle Server and operating system combinations for Linux x86 32-bit Oracle 9i Version 9.2 (32-bit)

    Oracle 10g Release 1 (32-bit)

    Oracle 10g Release 2 (32-bit)

    Asianux 2.0 (32-bit) U U U

    SuSE Linux Enterprise Server 9 (32-bit)

    U U U

    SuSE Linux Enterprise Server 10 (32-bit)

    U

    Linux Red Flag Advanced Server 4.1 (32-bit)

    U U

    Communication methods v TCP/IP

    Chapter 2. Installing Data Protection for Oracle 15

    |||||

    |

    ||||

    |||||

  • Installing Data Protection for Oracle on Linux x86 All installable files reside under the /cdrom/oracle/linux86/ directory.

    Table 8. Linux x86 Default Installation Directories Linux Default Installation Directories

    Data Protection for Oracle 32-bit /opt/tivoli/tsm/client/oracle/bin

    Data Protection for Oracle Utilities

    /opt/tivoli/tsm/client/oracle/bin

    Data Protection for Oracle Messages

    /opt/tivoli/tsm/client/oracle/bin

    Tivoli Storage Manager API 32-bit

    /opt/tivoli/tsm/client/api/bin

    Table 9. Data Protection for Oracle Linux x86 and Tivoli Storage Manager installable files and packages Component Installable file or package

    Data Protection for Oracle 32-bit base code, license, and utilities

    TDP-Oracle.i386.bin

    Data Protection for Oracle Languages TDPOracle.msg.xx_XX.bin

    Tivoli Storage Manager API 32-bit TIVsm-API.i386.rpm

    Tivoli Storage Manager API Languages TIVsm-.msg.xx_XX.i386.rpm

    This installation procedure is designed to install directly from the Data Protection for Oracle CD: 1. Log in as the root user. 2. Mount the Data Protection for Oracle CD to /cdrom:

    $ mount /cdrom

    3. Change to the /cdrom/oracle/linux86 directory where the installation packages reside on the CD:

    $ cd /cdrom/oracle/linux86

    4. Issue the following command to install the Tivoli Storage Manager API: $ rpm -i TIVsm-API.i386.rpm

    5. Enter the name of the installable file (TDP-Oracle.i386.bin) on the command line and press Enter to install Data Protection for Oracle:

    $ TDP-Oracle.i386.bin

    6. If you want to install Data Protection for Oracle in a language other than English, enter the name of the Data Protection for Oracle installable file for the desired language (TDPOracle.msg.xx_XX.bin) on the command line and press Enter:

    $ TDPOracle.msg.xx_XX.bin

    Make sure the Tivoli Storage Manager API language package for the desired language (TIVsm-.msg.xx_XX.i386.rpm) is also installed. Note that the libobk.so library file is located automatically based on the link that the installation program places in the /usr/lib directory.

    16 IBM Tivoli Storage Manager for Databases: Data Protection for Oracle for UNIX and Linux Installation and Users Guide

  • Linux x86_64 environment This section contains operating system, hardware, software, and communication requirements for installing Data Protection for Oracle in a Linux x86_64 environment.

    Operating system requirements One of the following levels of Linux operating system: v Red Hat Enterprise Linux 4 (64-bit) v SuSE Linux Enterprise Server 9 (64-bit) v SuSE Linux Enterprise Server 10 (64-bit)

    Hardware requirements v Any Intel EM64T or Opteron AMD64 (or compatible) processor v Disk space: 8 MB v Memory: 64 MB (128 MB or more recommended)

    Software requirements v Tivoli Storage Manager server Version 5.3.x (or later) v Tivoli Storage Manager API Version 5.4.0 (or later) v One of the following levels of Oracle Server: Oracle9i Version 9.2 (64-bit) Oracle 10g Release 1 (64-bit) Oracle 10g Release 2 (64-bit)

    Table 10. Supported Oracle Server and operating system combinations for Linux x86_64 Oracle 9i Version 9.2 (64-bit)

    Oracle 10g Release 1 (64-bit)

    Oracle 10g Release 2 (64-bit)

    Asianux 2.0 (64-bit) U U U

    SuSE Linux Enterprise Server 9 (64-bit)

    U U U

    SuSE Linux Enterprise Server 10 (64-bit)

    U

    Communication methods v TCP/IP

    Chapter 2. Installing Data Protection for Oracle 17

    |||

    |

    |

    |||||

  • Installing Data Protection for Oracle on Linux x86_64 All installable files reside under the /cdrom/oracle/linux86_64 directory.

    Table 11. Linux x86_64 Default Installation Directories Linux Default Installation Directories

    Data Protection for Oracle Linux x86_64

    /opt/tivoli/tsm/client/oracle/bin64

    Data Protection for Oracle Utilities

    /opt/tivoli/tsm/client/oracle/bin64

    Data Protection for Oracle Messages

    /opt/tivoli/tsm/client/oracle/bin64

    Tivoli Storage Manager API /opt/tivoli/tsm/client/api/bin64

    Table 12. Data Protection for Oracle Linux x86_64 and Tivoli Storage Manager installable files and packages Component Installable file or package

    Data Protection for Oracle Linux x86_64 base code, license, utilities

    TDP-Oracle.x86_64.bin

    Data Protection for Oracle Languages TDPOracle.msg.xx_XX.x86_64.bin

    Tivoli Storage Manager API Linux x86_64 TIVsm-API64.i386.rpm

    Tivoli Storage Manager API Languages TIVsm-msg.xx_XX.i386.rpm

    This installation procedure is designed to install directly from the Data Protection for Oracle CD: 1. Log in as the root user on the machine with the accessible CD device. 2. Mount the Data Protection for Oracle CD to /cdrom:

    $ mount /cdrom

    3. Mount /cdrom to the /cdrom directory on the Linux zSeries machine. The /cdrom directory must already exist on the Linux zSeries machine:

    $ mount -o soft hostname:/cdrom /cdrom

    Note: hostname is the machine with the accessible CD device identified in Step 1.

    4. Change to the /cdrom/oracle/linux86_64 directory where the installation packages reside on the CD:

    $ cd /cdrom/oracle/linux86_64

    5. Issue the following command to install the Tivoli Storage Manager API: $ rpm -i TIVsm-API64.x86_64.rpm

    6. Enter the name of the installable file (TDP-Oracle.x86_64.bin) on the command line and press Enter to install Data Protection for Oracle:

    $ TDP-Oracle.x86_64.bin

    18 IBM Tivoli Storage Manager for Databases: Data Protection for Oracle for UNIX and Linux Installation and Users Guide

    |

    |

    |

    |

    ||||

  • 7. If you want to install Data Protection for Oracle in a language other than English, enter the name of the Data Protection for Oracle installable file for the desired language (TDPOracle.msg.xx_XX.bin) on the command line and press Enter:

    $ TDPOracle.msg.xx_XX.x86_64.bin

    Make sure the Tivoli Storage Manager API language package for the desired language (TIVsm-msg.xx_XX.x86_64.rpm) is also installed.

    Note: The libobk.so library file is located automatically based on the link that the installation program places in the /usr/lib64 directory.

    Chapter 2. Installing Data Protection for Oracle 19

  • Linux on POWER environment This section contains operating system, hardware, software, and communication requirements for installing Data Protection for Oracle in a Linux on POWER

    environment.

    Operating system requirements One of the following levels of Linux operating system: v Red Hat Enterprise Linux 4 v SuSE Linux Enterprise Server 9

    Hardware requirements v Any iSeries, pSeries, or Power 5 (or compatible) processor v Disk space: 8 MB v Memory: 96 MB

    Software requirements v Tivoli Storage Manager server Version 5.3.x (or later) v Tivoli Storage Manager API Version 5.4.0 (or later) v Oracle 10g Release 2 (64-bit)

    Communication methods v TCP/IP

    20 IBM Tivoli Storage Manager for Databases: Data Protection for Oracle for UNIX and Linux Installation and Users Guide

    |

  • Installing Data Protection for Oracle on Linux on POWER All installable files reside under the /cdrom/oracle/linuxppc64 directory.

    Table 13. Linux on POWER Default Installation Directories Linux Default Installation Directories

    Data Protection for Oracle Linux on POWER

    /opt/tivoli/tsm/client/oracle/bin64

    Data Protection for Oracle Utilities

    /opt/tivoli/tsm/client/oracle/bin64

    Data Protection for Oracle Messages

    /opt/tivoli/tsm/client/oracle/bin64

    Tivoli Storage Manager API /opt/tivoli/tsm/client/api/bin64

    Table 14. Data Protection for Oracle Linux on POWER and Tivoli Storage Manager installable files and packages Component Installable file or package

    Data Protection for Oracle Linux on POWER base code, license, utilities

    TDP-Oracle64.ppc64.bin

    Data Protection for Oracle Languages TDP-Oracle64.msg.xx_XX.ppc64.bin

    Tivoli Storage Manager API Linux on POWER

    TIVsm-API.ppc64.rpm

    Tivoli Storage Manager Languages TIVsm-msg.xx_XX.ppc64.rpm

    This installation procedure is designed to install directly from the Data Protection for Oracle CD: 1. Log in as the root user on the machine with the accessible CD device. 2. Mount the Data Protection for Oracle CD to /cdrom:

    $ mount /cdrom

    3. Mount /cdrom to the /cdrom directory on the Linux machine. The /cdrom directory must already exist on the Linux machine:

    $ mount -o soft hostname:/cdrom /cdrom

    Note: hostname is the machine with the accessible CD device identified in Step 1.

    4. Change to the /cdrom/oracle/linuxppc64 directory where the installation packages reside on the CD:

    $ cd /cdrom/oracle/linuxppc64

    5. Issue the following command to install the Tivoli Storage Manager API: $ rpm -i TIVsm-API.ppc64.rpm

    6. Enter the name of the installable file (TDP-Oracle64.ppc64.bin) on the command line and press Enter to install Data Protection for Oracle:

    $ TDP-Oracle64.ppc64.bin

    Chapter 2. Installing Data Protection for Oracle 21

    ||||

    |||

    |||

    ||

  • 7. If you want to install Data Protection for Oracle in a language other than English, enter the name of the Data Protection for Oracle installable file for the desired language (TDP-Oracle64.msg.xx_XX.ppc64.bin) on the command line and press Enter:

    $ TDP-Oracle64.msg.xx_XX.ppc64.bin

    Make sure the Tivoli Storage Manager API language package for the desired language (TIVsm-msg.xx_XX.ppc64.rpm) is also installed.

    Note: The libobk.so library file is located automatically based on the link that the installation program places in the /usr/lib64 directory.

    22 IBM Tivoli Storage Manager for Databases: Data Protection for Oracle for UNIX and Linux Installation and Users Guide

  • Linux zSeries environment (64-bit) This section contains operating system, hardware, software, and communication requirements for installing Data Protection for Oracle in a Linux zSeries 64-bit environment.

    Operating system requirements One of the following levels of Linux operating system: v SuSE Linux Enterprise Server 9

    Hardware requirements v A zSeries 900 or 800 server (64-bit) v Disk space: 8 MB v Memory: 64 MB (128 MB or more recommended)

    Software requirements v Tivoli Storage Manager server Version 5.3.x (or later) v Tivoli Storage Manager API Version 5.4.0 (or later)

    Note: To view Data Protection for Oracle in a language other than English, you must install the Tivoli Storage Manager Language package of the desired language.

    v Oracle 10g Release 1 (64-bit) v Oracle 10g Release 2 (64-bit)

    Communication methods v TCP/IP

    Chapter 2. Installing Data Protection for Oracle 23

    ||

    ||||

    |

  • Installing Data Protection for Oracle on Linux zSeries 64-bit All installable files reside under the /cdrom/oracle/linuxz64 directory.

    Table 15. Linux zSeries (64-bit environment) Default Installation Directories Linux Default Installation Directories

    Data Protection for Oracle Linux zSeries

    /opt/tivoli/tsm/client/oracle/bin64

    Data Protection for Oracle Utilities

    /opt/tivoli/tsm/client/oracle/bin64

    Data Protection for Oracle Messages

    /opt/tivoli/tsm/client/oracle/bin64

    Tivoli Storage Manager API /opt/tivoli/tsm/client/api/bin64

    Table 16. Data Protection for Oracle Linux zSeries (64-bit environment) and Tivoli Storage Manager installable files and packages Component Installable file or package

    Data Protection for Oracle Linux zSeries base code, license, utilities

    TDP-Oracle.s390x.bin

    Data Protection for Oracle Languages TDP-Oracle.msg.xx_XX.s390x.bin

    Tivoli Storage Manager API Linux zSeries TIVsm-API64.s390.rpm

    Tivoli Storage Manager Languages TIVsm-msg.xx_XX.s390.rpm

    This installation procedure is designed to install directly from the Data Protection for Oracle CD: 1. Log in as the root user on the machine with the accessible CD device. 2. Mount the Data Protection for Oracle CD to /cdrom:

    $ mount /cdrom

    3. Mount /cdrom to the /cdrom directory on the Linux machine. The /cdrom directory must already exist on the Linux machine:

    $ mount -o soft hostname:/cdrom /cdrom

    Note: hostname is the machine with the accessible CD device identified in Step 1.

    4. Change to the /cdrom/oracle/linuxz64 directory where the installation packages reside on the CD:

    $ cd /cdrom/oracle/linuxz64

    5. Issue the following command to install the Tivoli Storage Manager API: $ rpm -i TIVsm-API.s390.rpm

    6. Enter the name of the installable file (TDP-Oracle.s390x.bin) on the command line and press Enter to install Data Protection for Oracle:

    $ TDP-Oracle.s390x.bin

    24 IBM Tivoli Storage Manager for Databases: Data Protection for Oracle for UNIX and Linux Installation and Users Guide

  • 7. If you want to install Data Protection for Oracle in a language other than English, enter the name of the Data Protection for Oracle installable file for the desired language (TDP-Oracle.msg.xx_XX.s390x.bin) on the command line and press Enter:

    $ TDP-Oracle.msg.xx_XX.s390x.bin

    Make sure the Tivoli Storage Manager API language package for the desired language (TIVsm-msg.xx_XX.s390.rpm) is also installed.

    Note: The libobk.so library file is located automatically based on the link that the installation program places in the /usr/lib64 directory. This is the default link: /usr/lib64/libobk.so /opt/tivoli/tsm/client/oracle/bin64/libobk.so

    Chapter 2. Installing Data Protection for Oracle 25

    ||||

  • Solaris

    Solaris SPARC environment (32-bit) This section contains operating system, hardware, software, and communication requirements for installing Data Protection for Oracle in a Solaris SPARC 32-bit environment.

    Operating system requirements One of the following levels of Solaris operating system: v Solaris 9 v Solaris 10

    Hardware requirements v A SPARC 32-bit (or compatible) workstation. v Disk space: 8 MB v Memory: 96 MB

    Software requirements v Tivoli Storage Manager server Version 5.3.x (or later) v Tivoli Storage Manager API Version 5.3.4 v Oracle9i Version 9.2 (32-bit)

    Communication method v TCP/IP

    26 IBM Tivoli Storage Manager for Databases: Data Protection for Oracle for UNIX and Linux Installation and Users Guide

    |||

    |

  • Installing Data Protection for Oracle on Solaris SPARC 32-bit All installable files reside under the /cdrom/oracle/solaris directory.

    Table 17. Solaris SPARC 32-bit Default Installation Directories Solaris Default Installation Directories

    Data Protection for Oracle 32-bit /opt/tivoli/tsm/client/oracle/bin

    Data Protection for Oracle Utilities

    /opt/tivoli/tsm/client/oracle/bin

    Data Protection for Oracle Messages

    /opt/tivoli/tsm/client/oracle/bin

    Tivoli Storage Manager API 32-bit

    /opt/tivoli/tsm/client/api/bin

    Table 18. Data Protection for Oracle 32-bit and Tivoli Storage Manager installable files and packages Component Installable file or package

    Data Protection for Oracle 32-bit base code, license, utilities

    TDPoracle32.bin

    Data Protection for Oracle Languages TDPoracle32xx_XX.bin

    Tivoli Storage Manager API 32-bit TIVsmCapi.pkg

    Tivoli Storage Manager API Languages TIVsmClXx.pkg

    Perform these instructions to install the Tivoli Storage Manager API, Data Protection for Oracle, and the Data Protection for Oracle license package. This example assumes that your CD drive is /cdrom and that you are installing the Data Protection for Oracle 32-bit product. 1. Insert the CD containing the package into the CD drive. 2. Log in as the root user. 3. Issue this command to install the Tivoli Storage Manager API:

    $ pkgadd -d /cdrom/oracle/solaris/TIVsmCapi.pkg

    4. Enter the name of the installable file (TDPoracle32.bin) on the command line and press Enter to install Data Protection for Oracle:

    $ TDPoracle32.bin

    5. If you want to install Data Protection for Oracle in a language other than English, enter the name of the Data Protection for Oracle installable file for the desired language (TDPoracle32xx_XX.bin) on the command line and press Enter:

    $ TDPoracle32xx_XX.bin

    Make sure the Tivoli Storage Manager API language package for the desired language (TIVsmClXx.pkg) is also installed.

    Chapter 2. Installing Data Protection for Oracle 27

  • 6. Link the Oracle target database instance with Data Protection for Oracle by performing the following steps: a. Set the Oracle LD_LIBRARY_PATH option to specify $ORACLE_HOME/lib32 as

    the first entry:

    LD_LIBRARY_PATH=$ORACLE_HOME/lib32

    b. Shut down all Oracle instances that use $ORACLE_HOME. c. Go to the $ORACLE_HOME/lib32 directory. d. Symbolically link the library file to libobk.so:

    $ ln -s /usr/lib/libobk.so $ORACLE_HOME/lib32/libobk.so

    e. Start the Oracle instances.

    28 IBM Tivoli Storage Manager for Databases: Data Protection for Oracle for UNIX and Linux Installation and Users Guide

  • Solaris SPARC environment (64-bit) This section contains operating system, hardware, software, and communication requirements for installing Data Protection for Oracle in a Solaris SPARC 64-bit environment.

    Operating system requirements One of the following levels of Solaris operating system: v Solaris 9 (64-bit) v Solaris 10 (64-bit)

    Hardware requirements v A SPARC 64-bit (or compatible) workstation v Disk space: 8 MB v Memory: 96 MB

    Software requirements v Tivoli Storage Manager server Version 5.3.x (or later) v Tivoli Storage Manager API Version 5.4.0 (or later) v One of the following levels of Oracle Server: Oracle9i Version 9.2 (64-bit) Oracle 10g Release 1 (64-bit) Oracle 10g Release 2 (64-bit)

    Communication methods v TCP/IP

    Chapter 2. Installing Data Protection for Oracle 29

    |||

    |

  • Installing Data Protection for Oracle on Solaris SPARC 64-bit All installable files reside under the /cdrom/oracle/solaris directory.

    Table 19. Solaris SPARC 64-bit Default Installation Directories Solaris Default Installation Directories

    Data Protection for Oracle 64-bit /opt/tivoli/tsm/client/oracle/bin64

    Data Protection for Oracle Utilities

    /opt/tivoli/tsm/client/oracle/bin64

    Data Protection for Oracle Messages

    /opt/tivoli/tsm/client/oracle/bin64

    Tivoli Storage Manager API 64-bit

    /opt/tivoli/tsm/client/api/bin64

    Table 20. Data Protection for Oracle 64-bit and Tivoli Storage Manager installable files and packages Component Installable file or package

    Data Protection for Oracle 64-bit base code, license, utilities

    TDPoracle64.bin

    Data Protection for Oracle Languages TDPoracle64xx_XX.bin

    Tivoli Storage Manager API 64-bit TIVsmCapi.pkg

    Tivoli Storage Manager API Languages TIVsmClXx.pkg

    Perform these instructions to install the Tivoli Storage Manager API, Data Protection for Oracle, and the Data Protection for Oracle license package. This example assumes that your CD drive is /cdrom and that you are installing the Data Protection for Oracle 64-bit product. 1. Insert the CD containing the client package into the CD drive. 2. Log in as the root user. 3. Issue this command to install the Tivoli Storage Manager API:

    $ pkgadd -d /cdrom/oracle/solaris/TIVsmCapi.pkg

    4. Enter the name of the installable file (TDPoracle64.bin) on the command line and press Enter to install Data Protection for Oracle:

    $ TDPoracle64.bin

    5. If you want to install Data Protection for Oracle in a language other than English, enter the name of the Data Protection for Oracle installable file for the desired language (TDPoracle64xx_XX.bin) on the command line and press Enter:

    $ TDPoracle64xx_XX.bin

    Make sure the Tivoli Storage Manager API language package for the desired language (TIVsmClXx.pkg) is also installed.

    30 IBM Tivoli Storage Manager for Databases: Data Protection for Oracle for UNIX and Linux Installation and Users Guide

  • 6. Link the Oracle target database instance with Data Protection for Oracle by performing the following steps: a. Set the Oracle LD_LIBRARY_PATH option to specify $ORACLE_HOME/lib as

    the first entry:

    LD_LIBRARY_PATH=$ORACLE_HOME/lib

    b. Shut down all Oracle instances that use $ORACLE_HOME. c. Go to the $ORACLE_HOME/lib directory. d. Symbolically link the library file to libobk.so:

    $ ln -s /usr/lib/sparcv9/libobk.so $ORACLE_HOME/lib/libobk.so

    e. Start the Oracle instances.

    Chapter 2. Installing Data Protection for Oracle 31

  • Solaris x86 environment (32-bit) This section contains operating system, hardware, software, and communication requirements for installing Data Protection for Oracle in a Solaris x86 32-bit environment.

    Operating system requirements The following level of Solaris operating system: v Solaris 10 (32-bit)

    Hardware requirements v Any Intel x86 (or compatible) 32-bit workstation. v Disk space: 8 MB v Memory: 96 MB

    Software requirements v Tivoli Storage Manager server Version 5.3.x (or later) v Tivoli Storage Manager API Version 5.4.0 (or later) v Oracle 10g Release 1 (32-bit)

    Communication methods v TCP/IP

    32 IBM Tivoli Storage Manager for Databases: Data Protection for Oracle for UNIX and Linux Installation and Users Guide

    |

  • Installing Data Protection for Oracle on Solaris x86 32-bit All installable files reside under the /cdrom/oracle/solarisx86 directory.

    Table 21. Solaris x86 32-bit Default Installation Directories Solaris Default Installation Directories

    Data Protection for Oracle Solaris x86

    /opt/tivoli/tsm/client/oracle/bin

    Data Protection for Oracle Utilities

    /opt/tivoli/tsm/client/oracle/bin

    Data Protection for Oracle Messages

    /opt/tivoli/tsm/client/oracle/bin

    Tivoli Storage Manager API /opt/tivoli/tsm/client/api/bin

    Table 22. Data Protection for Oracle x86 32-bit and Tivoli Storage Manager installable files and packages Component Installable file or package

    Data Protection for Oracle 32-bit base code, license, utilities

    TDPoraclex86.bin

    Data Protection for Oracle Languages TDPoraclex86.xx_XX.bin

    Tivoli Storage Manager API 32-bit TIVsmCapi.pkg

    Tivoli Storage Manager API Languages TIVsmClXx.pkg

    Perform these instructions to install the Tivoli Storage Manager API, Data Protection for Oracle, and the Data Protection for Oracle license package. This example assumes that your CD drive is /cdrom and that you are installing the Data Protection for Oracle Solaris x86 32-bit product. 1. Insert the CD containing the client package into the CD drive. 2. Log in as the root user. 3. Issue this command to install the Tivoli Storage Manager API:

    $ pkgadd -d /cdrom/oracle/solarisx86/TIVsmCapi.pkg

    4. Enter the name of the installable file (TDPoraclex86.bin) on the command line and press Enter to install Data Protection for Oracle:

    $ TDPoraclex86.bin

    5. If you want to install Data Protection for Oracle in a language other than English, enter the name of the Data Protection for Oracle installable file for the desired language (TDPoraclex86.xx_XX.bin) on the command line and press Enter:

    $ TDPoraclex86.xx_XX.bin

    Make sure the Tivoli Storage Manager API language package for the desired language (TIVsmClXx.pkg) is also installed.

    Chapter 2. Installing Data Protection for Oracle 33

  • 6. Link the Oracle target database instance with Data Protection for Oracle by performing the following steps: a. Set the Oracle LD_LIBRARY_PATH option to specify $ORACLE_HOME/lib as

    the first entry:

    LD_LIBRARY_PATH=$ORACLE_HOME/lib

    b. Shut down all Oracle instances that use $ORACLE_HOME. c. Go to the $ORACLE_HOME/lib directory. d. Symbolically link the library file to libobk.so:

    $ ln -s /usr/lib/libobk.so $ORACLE_HOME/lib/libobk.so

    e. Start the Oracle instances.

    34 IBM Tivoli Storage Manager for Databases: Data Protection for Oracle for UNIX and Linux Installation and Users Guide

  • Solaris x86_64 environment This section contains operating system, hardware, software, and communication requirements for installing Data Protection for Oracle in a Solaris x86_64 environment.

    Operating system requirements The following level of Solaris operating system: v Solaris 10 (x86_64) and any patches required by Oracle.

    Hardware requirements v Any Intel EM64T or Opteron AMD64 (or compatible) processor v Disk space: 8 MB v Memory: 96 MB

    Software requirements v Tivoli Storage Manager server Version 5.3.x (or later) v Tivoli Storage Manager API Version 5.4.0 (or later) v One of the following levels of Oracle Server: Oracle 10g Release 1

    - Consult your Oracle documentation for details regarding support for Release 1.

    Oracle 10g Release 2 (64-bit)

    Communication methods v TCP/IP

    Chapter 2. Installing Data Protection for Oracle 35

    |

  • Installing Data Protection for Oracle on Solaris x86_64 All installable files reside under the /cdrom/oracle/solarisx86_64 directory.

    Table 23. Solaris x86_64 Default Installation Directories Solaris Default Installation Directories

    Data Protection for Oracle Solaris x86_64

    /opt/tivoli/tsm/client/oracle/bin64

    Data Protection for Oracle Utilities

    /opt/tivoli/tsm/client/oracle/bin64

    Data Protection for Oracle Messages

    /opt/tivoli/tsm/client/oracle/bin64

    Tivoli Storage Manager API /opt/tivoli/tsm/client/api/bin64

    Table 24. Data Protection for Oracle x86_64 and Tivoli Storage Manager installable files and packages Component Installable file or package

    Data Protection for Oracle x64 base code, license, utilities

    TDPoraclex86_64.bin

    Data Protection for Oracle Languages TDPoraclex86_64.xx_XX.bin

    Tivoli Storage Manager API x64 TIVsmCapi.pkg

    Tivoli Storage Manager API Languages TIVsmClXx.pkg

    Perform these instructions to install the Tivoli Storage Manager API, Data Protection for Oracle, and the Data Protection for Oracle license package. This example assumes that your CD drive is /cdrom and that you are installing the Data Protection for Oracle Solaris x86_64 product. 1. Insert the CD containing the client package into the CD drive. 2. Log in as the root user. 3. Issue this command to install the Tivoli Storage Manager API:

    $ pkgadd -d /cdrom/oracle/solarisx86_64/TIVsmCapi.pkg

    4. Enter the name of the installable file (TDPoraclex86_64.bin) on the command line and press Enter to install Data Protection for Oracle:

    $ ./TDPoraclex86_64.bin

    5. If you want to install Data Protection for Oracle in a language other than English, enter the name of the Data Protection for Oracle installable file for the desired language (TDPoraclex64.xx_XX.bin) on the command line and press Enter:

    $ TDPoraclex64.xx_XX.bin

    Make sure the Tivoli Storage Manager API language package for the desired language (TIVsmClXx.pkg) is also installed.

    36 IBM Tivoli Storage Manager for Databases: Data Protection for Oracle for UNIX and Linux Installation and Users Guide

    |

    |

    |

    |

  • 6. Link the Oracle target database instance with Data Protection for Oracle by performing the following steps: a. Set the Oracle LD_LIBRARY_PATH option to specify $ORACLE_HOME/lib as

    the first entry:

    LD_LIBRARY_PATH=$ORACLE_HOME/lib

    b. Shut down all Oracle instances that use $ORACLE_HOME. c. Go to the $ORACLE_HOME/lib directory. d. Symbolically link the library file to libobk.so:

    $ ln -s /usr/lib/amd64/libobk.so $ORACLE_HOME/lib/libobk.so

    or

    $ ln -s /usr/lib/em64t/libobk.so $ORACLE_HOME/lib/libobk.so

    e. Start the Oracle instances.

    Chapter 2. Installing Data Protection for Oracle 37

    |

    |

  • 38 IBM Tivoli Storage Manager for Databases: Data Protection for Oracle for UNIX and Linux Installation and Users Guide

  • Chapter 3. Configuring Data Protection for Oracle After Data Protection for Oracle is successfully installed, you must complete the following configuration tasks: 1. Define Data Protection for Oracle options in the tdpo.opt file. 2. Register the Data Protection for Oracle node to a Tivoli Storage Manager server. 3. Define Tivoli Storage Manager options in the dsm.opt and dsm.sys files. 4. Define Tivoli Storage Manager policy requirements. 5. Initialize the password with a Tivoli Storage Manager server.

    Note: If you would like to configure Data Protection for Oracle using default settings, see Appendix A, Quick configuration guide, on page 63 for instructions.

    1. Define Data Protection for Oracle options in the tdpo.opt file The Data Protection for Oracle options file, tdpo.opt, contains options that determine the behavior and performance of Data Protection for Oracle. The only environment variable Data Protection for Oracle Version 5.4.1 recognizes within an RMAN script is the fully qualified path name to the tdpo.opt file. Therefore, some RMAN scripts may need to be edited to use TDPO_OPTFILE=fully qualified path and file name of options file variable in place of other environment variables. For example: allocate channel t1 type sbt_tape parms

    ENV=(TDPO_OPTFILE=/home/rman/scripts/tdpo.opt)

    The TDPO_OPTFILE variable must be specified in upper case characters only. See Scripts on page 51 for further information. Note that the allocate channel entry is divided on two lines after the parms option to accommodate page formatting.

    If a fully qualified path name is not provided, Data Protection for Oracle uses the tdpo.opt file located in the Data Protection for Oracle default installation directory. If this file does not exist, Data Protection for Oracle fails.

    Considerations

    v It is strongly recommended that you use the tdpo.opt file exclusively instead of default parameters.

    v RMAN and the tdpoconf and tdposync utilities use the options defined in the tdpo.opt file.

    v By default, the tdpo.opt file is located in the directory where Data Protection for Oracle is installed.

    v Data Protection for Oracle supports options (specified in the tdpo.opt file) in both upper case or lower case type. However, the TDPO_OPTFILE variable must be specified in upper case characters only.

    Copyright IBM Corp. 1997, 2007 39

  • Available options The following options can be set in the tdpo.opt file:

    dsmi_log Specify the directory that contains the Data Protection for Oracle error log file (tdpoerror.log). Note that if the Tivoli Storage Manager errorlogname option is specified in the dsm.sys file (for the stanza used by Data Protection for Oracle), the errorlogname option will override the value specified by dsmi_log. If the errorlogname option is being used, make sure that it specifies a file in a path that has write permissions.

    For error log files, create a directory for the error logs and have the dsmi_log option point to that directory. The user performing backups must have writable rights to this directory.

    dsmi_orc_config Specify the complete path to the Tivoli Storage Manager client user options file (dsm.opt) used during the Data Protection for Oracle session. If you do not specify this option, Data Protection for Oracle looks for this options file in the Data Protection for Oracle installation directory. You must specify this option if your Tivoli Storage Manager client user options file is located in a directory other than the Data Protection for Oracle installation directory.

    tdpo_fs Specify a file space name on the Tivoli Storage Manager server for Data Protection for Oracle backup, delete, and restore operations. The file space name can contain a string of 1 to 1024 characters. v The default file space name is adsmorc. v When you have more than one Oracle database, use this option to back up each Oracle target database to its own file space on the Tivoli Storage Manager server.

    v If this option was set during Data Protection for Oracle backup operations, this option must be set during restore and delete operations.

    v The file space name in the include/exclude statement must match the file space name specified in the tdpo_fs option for include/exclude processing to function correctly.

    tdpo_owner This option specifies a session-owner name and object owner name. The value can contain a string of 1 to 64 characters. This value is case sensitive. For restore and delete operations, this option must specify the same value that was used during the Data Protection for Oracle backup. Do not set this option when passwordaccess generate is specified.

    tdpo_pswdpath This option specifies the directory where the TDPO.nodename password file is located. The default value is the directory where Data Protection for Oracle is installed. Note that when passwordaccess generate is specified, Data Protection for Oracle uses the value of the passworddir option specified in the dsm.sys file and does NOT use the tdpo_pswdpath option. However, the directory specified by the passworddir option must be a directory that is writeable by the Oracle user. The Oracle user is the User ID of the target Oracle database instance.

    40 IBM Tivoli Storage Manager for Databases: Data Protection for Oracle for UNIX and Linux Installation and Users Guide

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

    |||||

    ||||||||

  • tdpo_node Specify the Data Protection for Oracle node name used during operations with the Tivoli Storage Manager server. The node name can contain a string of 1 to 64 characters. It is recommended that you use a node name that is different from the backup-archive client node name.

    Be aware that it is the Tivoli Storage Manager API (and not Data Protection for Oracle) that negotiates which login credentials (nodename, password) to use with the Tivoli Storage Manager server. As a result, certain option settings affect password management. For example, when the tdpo_node option is specified (in the tdpo.opt file) and passwordaccess prompt is specified (in the dsm.sys file), the Tivoli Storage Manager API uses the value of the


Recommended