Professional Documents
Culture Documents
Installation Guide
Supporting
SmartDBA Recovery Management for Oracle 5.0.10 SQL-BackTrack for Oracle 5.0.10
Telephone Fax
Copyright 2004 BMC Software, Inc., as an unpublished work. All rights reserved. BMC Software, the BMC Software logos, and all other BMC Software product or service names are registered trademarks or trademarks of BMC Software, Inc. IBM is a registered trademark of International Business Machines Corporation. DB2 is a registered trademark of International Business Machines Corporation. Oracle is a registered trademark, and the Oracle product names are registered trademarks or trademarks of Oracle Corporation. All other trademarks belong to their respective companies. BMC Software considers information included in this documentation to be proprietary and confidential. Your use of this information is subject to the terms and conditions of the applicable End User License Agreement for the product and the proprietary and restricted rights notices included in this documentation.
Customer Support
You can obtain technical support by using the Support page on the BMC Software Web site or by contacting Customer Support by telephone or e-mail. To expedite your inquiry, please see Before Contacting BMC Software.
read overviews about support services and programs that BMC Software offers find the most current information about BMC Software products search a database for problems similar to yours and possible solutions order or download product documentation report a problem or ask a question subscribe to receive e-mail notices when new product versions are released find worldwide BMC Software support center locations and contact information, including e-mail addresses, fax numbers, and telephone numbers
product information product name product version (release number) license number and password (trial or permanent)
operating system and environment information machine type operating system type, version, and service pack or other maintenance level such as PUT or PTF system hardware configuration serial numbers related software (database, application, and communication) including type, version, and service pack or maintenance level
s s s
sequence of events leading to the problem commands and options that you used messages received (and the time and date that you received them) product error messages messages from the operating system, such as file system full messages from related software
Contents
About This Book 11 Related Publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Chapter 1 Preparing to Install 13 14 14 14 14 15 16 18 19 19 21 23 24 24 25 26 27 27 27 28 31 32 32 33 35 35 36 42 44 45 45 48 50
5
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Products and Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SQL-BackTrack for Oracle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SQL-BackTrack Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SmartDBA Recovery Management Components . . . . . . . . . . . . . . . . . . . . . . . . . . . Installation Task Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installing on a Single Unix Computer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installing in a RAC Environment (Unix) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installing in a Failover Environment (Unix) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installing on a Windows Computer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installation Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Authorization Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Hardware Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Supported Operating Systems and Oracle Software . . . . . . . . . . . . . . . . . . . . . . . . SQL-BackTrack for Oracle Module Software Requirements. . . . . . . . . . . . . . . . . . Supported Backup Media. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installation Considerations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Upgrading from an Earlier Version of SQL-BackTrack for Oracle . . . . . . . . . . . . Installing Multiple Versions of SQL-BackTrack for Oracle . . . . . . . . . . . . . . . . . . . Licensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Licensing Guidelines. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Obtaining a License Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chapter 2 Installing SQL-BackTrack for Oracle
Installation Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installing SQL-BackTrack for Oracle on Unix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installing SQL-BackTrack for Oracle on Windows. . . . . . . . . . . . . . . . . . . . . . . . . . Verifying the Patch Level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Verifying Installation of SQL-BackTrack for Oracle on Unix . . . . . . . . . . . . . . . . . . . . SQL-BackTrack for Oracle Directory Structure on Unix . . . . . . . . . . . . . . . . . . . . . . . . SQL-BackTrack for Oracle Directory Structure on Windows . . . . . . . . . . . . . . . . . . . . Procedures for Uninstalling SQL-BackTrack for Oracle . . . . . . . . . . . . . . . . . . . . . . . .
Contents
Uninstalling SQL-BackTrack for Oracle on Unix . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Uninstalling SQL-BackTrack for Oracle on Windows . . . . . . . . . . . . . . . . . . . . . . . 53 Chapter 3 Performing Post-Installation Tasks 57
SQL-BackTrack for Oracle Post-Installation Tasks on Unix. . . . . . . . . . . . . . . . . . . . . . 57 Setting Environment Variables for Unix. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 Updating License Information for Unix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 Setting Up Licensing Notification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 Setting Port Numbers for dtlicense and dtoarchmon . . . . . . . . . . . . . . . . . . . . . . . . 65 Running the SQL-BackTrack for Oracle Configuration Script . . . . . . . . . . . . . . . . 66 SQL-BackTrack for Oracle Post-Installation Tasks on Windows . . . . . . . . . . . . . . . . . 67 Setting Environment Variables for Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 Adding or Updating a License Key on Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 Setting Up Operating System Authentication for Windows . . . . . . . . . . . . . . . . . . 69 Chapter 4 Configuring RAC Environments for SQL-BackTrack for Oracle 71
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 SQL-BackTrack for Oracle Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 Oracle Database Software Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 Setting the Time Zone for RAC Environments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 Storage Manager Software Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 Chapter 5 Configuring Failover Environments for SQL-BackTrack 75
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 SQL-BackTrack Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 Specifying Node Information for Failover Environments . . . . . . . . . . . . . . . . . . . . 77 Starting Services during a Node Failure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 Oracle Database Software Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 Storage Manager Software Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 Index Glossary 81 85
Figures
SQL-BackTrack for Oracle Installation Task Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SQL-BackTrack for Oracle on a Single Unix Computer . . . . . . . . . . . . . . . . . . . . . . . . SQL-BackTrack for Oracle in a RAC Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . SQL-BackTrack for Oracle in a Failover Environment . . . . . . . . . . . . . . . . . . . . . . . . . SQL-BackTrack for Oracle on Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SQL-BackTrack for Oracle Directory Structure on Unix . . . . . . . . . . . . . . . . . . . . . . . . SQL-BackTrack for Oracle Directory Structure on Windows . . . . . . . . . . . . . . . . . . . . 17 19 21 22 23 46 48
Figures
Tables
SmartDBA Recovery Management components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Operating System Authorization Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SQL-BackTrack for Oracle Catalog Space Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . Procedures for Determining Computer IDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SQL-BackTrack for Oracle Directory Structure on Unix ($DTBASE) . . . . . . . . . . . . . SQL-BackTrack for Oracle Directory Structure on Unix ($DT_OBACKTRACK_HOME) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SQL-BackTrack for Oracle Directory Structure on Windows (%DTBASE%) . . . . . . . SQL-BackTrack for Oracle Directory Structure on Windows (%DT_OBACKTRACK_HOME%) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Required Environment Variables for Unix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Optional Environment Variables for Unix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Optional Environment Variables for Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 24 26 33 46 47 49 49 59 59 68
Tables
10
NOTE
This book assumes that you are familiar with Oracle system administration and your operating system commands and privileges.
All SQL-BackTrack books are provided as online books. Your shipment also includes a printed installation book. Visit the BMC Software Customer Support page at http://www.bmc.com/support_home to request additional printed books or to view online books and notices (such as release notes and technical bulletins).
NOTE
Online books are formatted as Portable Document Format (PDF) or HTML files. To view, print, or copy PDF books, use the free Acrobat Reader from Adobe Systems. If your product installation does not install the reader, you can obtain the reader at http://www.adobe.com.
commands that you enter at the command line prompts that the obacktrack program displays
You can display the command-line Help by entering the -help option after a command. You can display the obacktrack Help by entering ? at any prompt.
11
Related Publications
Related Publications
The following related publications supplement this book and the online Help:
Document SQL-BackTrack for Oracle Messages Manual SQL-BackTrack for Oracle Reference Manual Description describes informational, warning, and error messages that SQL-BackTrack issues describes the syntax and usage of SQL-BackTrack commands, the usage of SQL-BackTrack parameter files and parameters, and the structure of the SQL-BackTrack catalog directory describes the features and limitations of this version of the SQL-BackTrack product and last-minute changes to product information provides instructions for using SQL-BackTrack to perform database backups and recoveries describes how to integrate SQL-BackTrack with several leading storage-manager products
Conventions
This book uses the following special conventions:
s
All syntax, operating system terms, and literal examples are presented in this typeface.
Variable text in path names, system messages, or syntax is displayed in angle brackets (<>):
testsys/<instance>/<fileName>
The symbol => connects items in a menu sequence. For example, Actions => Create Test instructs you to choose the Create Test command from the Actions menu.
12
Chapter
1
14 14 14 14 15 16 18 19 19 21 23 24 24 25 26 27 27 27 28 31 32 32 33
Preparing to Install
This chapter presents the following topics: Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Products and Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SQL-BackTrack for Oracle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SQL-BackTrack Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SmartDBA Recovery Management Components . . . . . . . . . . . . . . . . . . . . . . . . . . . Installation Task Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installing on a Single Unix Computer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installing in a RAC Environment (Unix) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installing in a Failover Environment (Unix) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installing on a Windows Computer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installation Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Authorization Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Hardware Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Supported Operating Systems and Oracle Software . . . . . . . . . . . . . . . . . . . . . . . . SQL-BackTrack for Oracle Module Software Requirements. . . . . . . . . . . . . . . . . . Supported Backup Media. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installation Considerations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Upgrading from an Earlier Version of SQL-BackTrack for Oracle . . . . . . . . . . . . Installing Multiple Versions of SQL-BackTrack for Oracle . . . . . . . . . . . . . . . . . . . Licensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Licensing Guidelines. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Obtaining a License Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 1
Preparing to Install
13
Overview
Overview
This chapter provides general information to review before installing the SQL-BackTrack for Oracle product. The following topics are described:
s s s s s s
Products and Components on page 14 Installation Task Map on page 16 Configurations on page 18 Installation Requirements on page 24 Installation Considerations on page 27 Licensing on page 32
SQL-BackTrack Modules
The SQL-BackTrack modules extend the capabilities of SQL-BackTrack for Oracle by allowing physical backups and exports directly to tape, disk, or specific enterprise storage-management systems. In earlier versions of SQL-BackTrack for Oracle, these components were known as open backup stream interface (OBSI) modules.
14
The standard tape and disk module software is installed with SQL-BackTrack for Oracle. If you want to perform a backup or recovery by using a supported enterprise storage-management system, you must first install the SQL-BackTrack for Oracle module for the storage management system. After installation, you must link the module software to your version of SQL-BackTrack for Oracle. For details about installing and linking SQL-BackTrack modules for enterprise storage-management systems, see your SQL-BackTrack module documentation.
NOTE
SQL-BackTrack modules for enterprise storage-management systems are sold separately. If you purchase such a module, the module documentation includes installation information.
Chapter 1
Preparing to Install
15
16
Figure 1
Install SQL-BackTrack for Oracle.
Installation begins.
Install SQL-BackTrack for Oracle on each Unix or Windows computer. Chapter 2, Installing SQL-BackTrack for Oracle
Install the BMC Application Server and SmartDBA client files on a Windows computer.
no
Chapter 1
Preparing to Install
17
Configurations
Figure 1
4
Are you installing in a RAC environment?
yes
Configure environment for use with SQL-BackTrack for Oracle. Chapter 4, Configuring RAC Environments for SQL-BackTrack for Oracle
no
5
Are you installing in a failover environment? yes
Configure environment for use with SQL-BackTrack for Oracle. Chapter 5, Configuring Failover Environments for SQL-BackTrack
no
Installation ends.
Configurations
The following sections describe the configurations that are possible with SQL-BackTrack for Oracle:
s s s s
Installing on a Single Unix Computer on page 19 Installing in a RAC Environment (Unix) on page 19 Installing in a Failover Environment (Unix) on page 21 Installing on a Windows Computer on page 23
18
Chapter 1
Preparing to Install
19
The primary node is the Unix computer on which SQL-BackTrack for Oracle initiates the backup or recovery job. A secondary node is any node other than the primary node in a RAC environment.
NOTE
You must follow specific licensing guidelines when installing SQL-BackTrack for Oracle in a RAC environment. For more information, see Licensing Guidelines on page 32.
install the SQL-BackTrack for Oracle software install the SQL-BackTrack third-party enterprise storage-management modules
install the SQL-BackTrack for Oracle software install the SQL-BackTrack third-party enterprise storage-management modules
NOTE
If you want to use SQL-BackTrack for Oracle from a secondary node, you must configure the secondary node exactly as you configured the primary node. This process includes obtaining a SQL-BackTrack for Oracle license authorization key that was generated using the computer name and computer ID of the secondary node.
Figure 3 on page 21 illustrates where the SQL-BackTrack for Oracle components reside in a RAC environment. This configuration also shows optional SmartDBA Console client computers, which allow you to run your SQL-BackTrack utility from the SmartDBA Console. (This configuration does not include the data repository.) For more information about getting started with the SmartDBA Console, see the SQL-BackTrack for Oracle User Guide and SmartDBA Recovery Management Getting Started.
20
Figure 3
For more information about configuring SQL-BackTrack for Oracle in a RAC environment, see Chapter 4, Configuring RAC Environments for SQL-BackTrack for Oracle.
To use SQL-BackTrack for Oracle in a failover environment, install the SQL-BackTrack for Oracle product on a shared disk. Installing the product files on the shared disk enables the primary node and a failover node to access the same product files. You should also create the SQL-BackTrack for Oracle catalog on the shared disk so that both nodes can access the same catalog information. Figure 4 illustrates where the SQL-BackTrack for Oracle components reside on a shared disk in a failover environment. This configuration also shows optional SmartDBA Console client computers, which allow you to run your SQL-BackTrack utility from the SmartDBA Console. (This configuration does not include the data repository.) For more information about getting started with the SmartDBA Console, see the SQL-BackTrack for Oracle User Guide. Figure 4 SQL-BackTrack for Oracle in a Failover Environment
22
For more information about configuring SQL-BackTrack for Oracle in a failover environment, see Chapter 5, Configuring Failover Environments for SQL-BackTrack.
install the SQL-BackTrack for Oracle software install the SQL-BackTrack third-party enterprise storage-management modules
Figure 5 illustrates where the SQL-BackTrack for Oracle components reside on a Windows computer. This configuration also shows optional SmartDBA Console client computers, which allow you to run your SQL-BackTrack utility from the SmartDBA Console. (This configuration does not include the data repository.) For more information about getting started with the SmartDBA Console, see the SQL-BackTrack for Oracle User Guide. Figure 5 SQL-BackTrack for Oracle on Windows
Chapter 1
Preparing to Install
23
Installation Requirements
Installation Requirements
The following sections describe the requirements necessary for installing SQL-BackTrack for Oracle:
s s s s s
Authorization Requirements on page 24 Hardware Requirements on page 25 Supported Operating Systems and Oracle Software on page 26 SQL-BackTrack for Oracle Module Software Requirements on page 27 Supported Backup Media on page 27
Authorization Requirements
Table 2 lists the operating system authorizations that are required to install SQL-BackTrack for Oracle. Table 2
Unix
Install SQL-BackTrack for Oracle by using the same user ID that was used to install Oracle. Otherwise, you might not be able to perform backup and recovery jobs by using SQL-BackTrack for Oracle. Log on to the Unix computer as a user with root authority.
Note: If you need to run the SmartDBA Recovery Management services as different user than root (for example, oracle), you can set the EPM_USER_ID environment variable to that user before starting the installation program. For example: export EPM_USER_ID=oracle Windows To install SQL-BackTrack for Oracle on Windows, you must be a member of the local Administrators group.
24
Hardware Requirements
Hardware Requirements
To install SQL-BackTrack for Oracle product, the computer must meet the following hardware requirements.
CD Drive
You must be able to access a CD drive from the computer on which you are installing the product.
Memory
Verify that the computer on which you want to install SQL-BackTrack for Oracle meets the following memory requirements:
s
If you are installing SQL-BackTrack for Oracle on a Windows computer, verify that the computer has a minimum of 128 MB of RAM. If you want to use the dtwatch (or dtwwatch on Windows) program to monitor the status of SQL-BackTrack for Oracle operations, the Unix or Windows computer must meet the following requirements: 4 KB of shared memory (a 4 KB memory-mapped file on Windows) 1 semaphore set and 25 semaphores For instructions on meeting these requirements, see your operating system documentation and your Oracle installation and configuration documentation.
Disk Drive
Verify that the disk drive where you want to install SQL-BackTrack for Oracle meets the following requirements:
s
Chapter 1
Preparing to Install
25
The disk drive has sufficient disk space to install SQL-BackTrack for Oracle. To ensure sufficient disk space, consider the following factors: size of the SQL-BackTrack for Oracle product files SQL-BackTrack for Oracle requires approximately 550 MB of available disk space on Unix and 150 MB on Windows. size of the .stat files created during an incremental backup You must allocate a minimum of 50 MB of disk space for the .stat files that are created. The size of the .stat files depends on the size of the corresponding data files. SQL-BackTrack for Oracle catalog size The space allocation for the SQL-BackTrack for Oracle catalog is based on the number of data files and the number of backups that you want to keep for the data files. Table 3 lists examples of approximate sizes for a SQL-BackTrack for Oracle catalog used with a single Oracle database. If you plan to use SQL-BackTrack for Oracle with multiple databases, calculate the space required for each database to determine the total disk space to allocate for the catalog. Table 3 SQL-BackTrack for Oracle Catalog Space Allocation
Number of Data Files 512 1024 1024 Data File Size 500 MB 1 GB 1 GB Number of Backups Disk Space 1 1 2 18 MB 75 MB 150 MB
26
Tape Media
The following tape media is supported:
s s s
NOTE
For information about the supported DLT tapes, see the appendix titled Managing Tapes in the SQL-BackTrack for Oracle User Guide.
Disk Media
The following disk media is supported:
s s
Installation Considerations
The following sections describe the installation considerations for SQL-BackTrack for Oracle:
s s
Upgrading from an Earlier Version of SQL-BackTrack for Oracle on page 28 Installing Multiple Versions of SQL-BackTrack for Oracle on page 31
Chapter 1
Preparing to Install
27
NOTE
Always create a backup of the existing catalog directory before upgrading to a new version of SQL-BackTrack for Oracle.
Upgrading on Unix
Before upgrading to a new version of SQL-BackTrack for Oracle on a Unix computer, consider the following information:
s
If you are using SQL-BackTrack for Oracle version 4.0.00 or earlier on Linux, you cannot use the existing license authorization key with version 5.0 or later releases. You must run the dthostid command to obtain your ethernet address, and then submit the information to BMC Software to request a new license key. See Obtaining a License Key on page 33 and Updating License Information for Unix on page 62. Before installing the new version of SQL-BackTrack for Oracle, stop any dtoarchmon or dtlicense processes that are running on the Unix computer. After you have completed installing the new version of SQL-BackTrack for Oracle, restart the dtlicense and dtoarchmon processes on the computers where they were running. Change the value of the DTBASE, DT_OBACKTRACK_HOME, and PATH environment variables so that they point to the current directories. Do not include the SQL-BackTrack version number in any environment variable values; the obacktrack symbolic link always points to the most recently installed directory. See Setting Environment Variables for Unix on page 58 for more information. The installation program does not overwrite the installation of an earlier version of SQL-BackTrack for Oracle on Unix. The default installation directory for SQL-BackTrack for Oracle on Unix is as follows:
/opt/bmc/SQL-BackTrack for Oracle/obacktrack
The obacktrack symbolic link always points to the most recently installed directory.
s
You can use an existing SQL-BackTrack for Oracle catalog with the new version of SQL-BackTrack for Oracle. However, using an existing catalog is not recommended because you will not have access to the latest features of SQL-BackTrack. To use an existing catalog, ensure that you set the
28
DT_ORACATALOG environment variable to point to the existing catalog directory. If you create a new SQL-BackTrack for Oracle catalog in a different directory, you must set the DT_ORACATALOG environment variable to point to the new catalog directory location.
WARNING
BMC Software recommends that you do not create the catalog directory (oracatalog) in the default $DTBASE, $DTBASE/obacktrack, or $DTBASE/obacktrack-<version> directory. If you create the catalog in one of these directories, you might accidentally delete the catalog directory if you remove or upgrade the SQL-BackTrack product.
NOTE
If you want to use an earlier version of SQL-BackTrack for Oracle after upgrading to a newer version, you cannot use the same catalog with the earlier version of the product. Using an upgraded version of the catalog with an earlier version of the product can cause problems with your backups and dump history.
You must modify any existing backup and recovery scripts so that they reference the new version of SQL-BackTrack for Oracle and the different catalog directory (if you are not reusing an existing catalog). To reuse an existing SQL-BackTrack for Oracle parameters file, you must copy this file from the following directory for your earlier version of SQL-BackTrack for Oracle to the same directory for your later version of SQL-BackTrack for Oracle:
$DTBASE/obacktrack/ctl
You can reuse a license key from an earlier version of a SQL-BackTrack for Oracle product for the later version of the software if the earlier version is still supported by BMC Software. The license key is located in the license file that is located in the following directory:
$DTBASE/obacktrack/ctl
You must modify the existing physical profiles and export profiles to use any of the new features available with the latest release of SQL-BackTrack for Oracle. See the SQL-BackTrack for Oracle User Guide for more information. To determine which version of the obacktrack program you are using, run obacktrack with the -version option as follows:
obacktrack -version
Chapter 1
Preparing to Install
29
> obacktrack -version obacktrack: version 5.0.10, serial number OB-12345678-1234, licensed to BMC This version of SQL-BackTrack supports large files(>2GB).
Upgrading on Windows
Before upgrading to a new version of SQL-BackTrack for Oracle on a Windows computer, consider the following information:
s
In earlier versions of SQL-BackTrack for Oracle, the ML_ROOT environment variable was set for the Windows operating system. To use the latest version of SQL-BackTrack for Oracle, you must remove the ML_ROOT environment variable. Before installing the new version of SQL-BackTrack for Oracle, stop any dtoarchmon processes running on the Windows computer. After you install SQL-BackTrack for Oracle, restart dtoarchmon. You can use an existing SQL-BackTrack for Oracle catalog with the new version of SQL-BackTrack for Oracle. Ensure that you set the DT_ORACATALOG environment variable to point to the existing catalog directory. If you create a new SQL-BackTrack for Oracle catalog in a different directory, you must set the DT_ORACATALOG environment variable to point to the new catalog directory location.
WARNING
BMC Software recommends that you do not create the catalog directory (oracatalog) in the default %DTBASE%, %DTBASE%\obacktrack, or %DTBASE%\obacktrack-<version> directory. If you create the catalog in one of theses directories, you might accidentally delete the catalog directory if you remove or upgrade the SQL-BackTrack product.
NOTE
If you want to use an earlier version of SQL-BackTrack for Oracle after upgrading to a newer version, you cannot use the same catalog with the earlier version of the product. Using an upgraded version of the catalog with an earlier version of the product can cause problems with your backups and dump history.
If you want to reuse an existing SQL-BackTrack for Oracle parameters file, you must copy this file from the following directory in the earlier version of SQL-BackTrack for Oracle to the same directory in the later version of SQL-BackTrack for Oracle:
%DTBASE%\obacktrack\ctl
30
You can reuse a license key from an earlier version of the SQL-BackTrack for Oracle product when installing the latest version of the software. However, you can reuse the license key only if the earlier version is still supported by BMC Software. You can find the license key in the license file in the following directory:
%DTBASE%\obacktrack\ctl
To use any new features that are available with the latest release of SQL-BackTrack for Oracle, you must modify the existing physical or export profiles. For more information, see the SQL-BackTrack for Oracle User Guide. You must modify the existing backup and recovery scripts so that they reference the new version of SQL-BackTrack for Oracle and the different catalog directory (if you are not reusing an existing catalog).
You cannot install the 32-bit and 64-bit versions of SQL-BackTrack for Oracle in the same base installation directory (DTBASE). For example, if you installed the 32-bit version of SQL-BackTrack for Oracle in the default directory (opt/bmc/SQL-BackTrack for Oracle), you must install the 64-bit version in a different directory. After you install SQL-BackTrack for Oracle, set the PATH environment variable to include the path for the version of SQL-BackTrack for Oracle that you want to use. To perform this task, see Setting Environment Variables for Unix on page 58. Reset the PATH variable if you want to use a different installed version of the product. After you install SQL-BackTrack for Oracle, set the DTBASE and DT_OBACKTRACK_HOME environment variables to point to the symbolic link for the installation directory for SQL-BackTrack for Oracle, which is obacktrack. The symbolic link obacktrack always points to the latest installed version of SQL-BackTrack for Oracle. To perform this task, see Setting Environment Variables for Unix on page 58. Reset these variables if you want to use a different installed version of the product.
Chapter 1
Preparing to Install
31
Licensing
Licensing
You can install SQL-BackTrack for Oracle by using an evaluation license or by obtaining a license authorization key (also called a license key). To obtain a license key for SQL-BackTrack for Oracle, you must gather specific information about each computer on which you will install the products and then complete the SQL-BackTrack License Authorization Key Request Form that is included in the SQL-BackTrack for Oracle product kit.
NOTE
If you cannot locate the required form, contact your BMC Software sales representative.
The following sections describe the licensing guidelines and how to obtain a license key:
s s
Licensing Guidelines
To license the SQL-BackTrack for Oracle product, follow these guidelines:
s
If you do not have a license key for the SQL-BackTrack for Oracle product, you can install it with a 15-day evaluation license. If you are installing the SQL-BackTrack for Oracle product in a failover environment, a different license key is required for the primary node and the failover node. Both license keys must be added to the SQL-BackTrack for Oracle license file. To add the license information for each node, see Updating License Information for Unix on page 62. To install the SQL-BackTrack for Oracle product in a RAC environment, you must have a RAC license key. This license key allows you to install the product on each licensed node in a RAC environment. If the computer name or computer ID for a computer on which SQL-BackTrack for Oracle is installed changes, you must obtain a new license key for the computer. After you have obtained the new license key, update the license information by using one of the following procedures: Updating License Information for Unix on page 62 Adding or Updating a License Key on Windows on page 69
32
If you have installed an earlier version of SQL-BackTrack for Oracle on Linux, you cannot use the existing license authorization key with version 5.0 or later releases. Follow the procedure in Obtaining a License Key on page 33 and apply for a new license.
To Obtain a License Key 1 Use the procedures listed in Table 4 to determine the computer IDs of the
computers on which you will install the SQL-BackTrack for Oracle product. Table 4
Platform Hewlett-Packard HP-UX
IBM AIX
Microsoft Windows
From a command prompt, enter the following command: ipconfig /all In the information that is displayed, note the Physical Address.
Chapter 1
Preparing to Install
33
Table 4
Platform
Sun Solaris
34
Chapter
2
35 36 42 44 45 45 48 50 50 53
Installation Procedures
Use the following procedures to install the SQL-BackTrack for Oracle product on a Unix or Windows computer:
Platform Unix Reference
s s
Installing SQL-BackTrack for Oracle on Unix on page 36 Verifying Installation of SQL-BackTrack for Oracle on Unix on page 45
Windows
Chapter 2
35
Review the information in Chapter 1, Preparing to Install. Ensure that your system meets all the requirements listed in Installation Requirements starting on page 24. Verify that you have the correct SQL-BackTrack for Oracle product CD for your operating system. Verify that the disk drive where you want to install SQL-BackTrack for Oracle is accessible and meets the requirements specified in Hardware Requirements on page 25.
To Install SQL-BackTrack for Oracle on Unix 1 Log on to the Unix computer as root.
If you prefer to run the database server host as a different user than root, you can set the EPM_USER_ID environment variable to that user. For example:
export EPM_USER_ID=oracle
2 Mount the SQL-BackTrack for Oracle product CD by using one of the following
commands:
Operating System Hewlett-Packard HP-UX Hewlett-Packard Tru64 UNIX IBM AIX Red Hat Linux Sun Solaris SLES LINUX Command mount -F cdfs -r <device> <mountPoint> mount -r <device> <mountPoint> mount -v cdrfs -r <device> <mountPoint> mount <device> <mountPoint> mount -F hsfs -o ro <device> <mountPoint> mount <device> <mountPoint>
3 Log on to the computer as the user who installed Oracle on this computer.
36
5 From the CD mount point, run the installation script by typing the following
command at the command prompt:
./obtinstall.sh
6 At the prompt, press Enter to continue. 7 Press the Space key as needed to review the license information. 8 At the following prompt, enter Yes to accept the license agreement. Otherwise,
enter No to cancel the installation.
Do you accept the above license agreement ? (Yes/No)
If you enter No, the installation is cancelled and the following message displays:
*** The user did not accept the license agreement. The installation process was cancelled. ***
Enter y to remove the existing components before installing the product. Enter n to cancel the installation.
The installation program detected that the following files or directories already reside in the installation directory: <component1> <component2> <component3> ... If you continue, the installation program and directories, including the catalog if the listed directories. Additionally, the updates the links to OBSI modules and the point to the new installation. Do you want to continue? (Y/N) removes the listed files it is located in one of installation program obacktrack program to
Chapter 2
37
If you entered n, perform one of the following actions at the following prompt:
s s
Enter y to remove the existing components before installing the product. Enter n to cancel the installation.
10 At the following prompt, press Enter if you can log on as the user who installed the
Oracle binaries. Otherwise, enter n to cancel the installation process.
Can you log on to this computer as the user who installed the Oracle binaries? (Y/N) [Y]
11 At the following prompt, press Enter to install with the user ID that is displayed in
the prompt, or enter a different user ID. Ensure that the user has read, write, and execute permissions on the directory created in step 4.
The user ID that will be used for installation is: [<userID>]
12 At the following menu, enter the number that corresponds to the product that you
want to install. Otherwise, enter q to cancel the installation process.
The products available for installation are: 1) SQL-BackTrack for Oracle(32 bit) 2) SQL-BackTrack for Oracle(64 bit) q) Quit Installation Enter menu number of product to be installed [1-2 | q]:
NOTE
The second menu option appears only if SQL-BackTrack for Oracle detects a 64-bit operating system and a 64-bit version of SQL-BackTrack for Oracle is available for that operating system.
13 At the following prompt, enter the full path name for an existing directory where
you want to install the files, or press Enter to accept the default path shown in brackets.
Where do you want to install the product [<$DTBASE>]?:
NOTE
If you are installing both the 32-bit and 64-bit versions of SQL-BackTrack for Oracle on the same Unix computer, install each version under a separate installation directory.
38
14 At the following prompt, enter y if you are using the product in an RAC
environment. Otherwise, press Enter.
Will you be using this product in an OPS/RAC environment? [Y/N] [N]
NOTE
SQL-BackTrack for Oracle version 5.0.10 supports clustering through Real Application Clusters (RAC), the new generation of Oracle Parallel Server (OPS). SQL-BackTrack for Oracle no longer supports clustering through OPS.
If you have a license key, press Enter. If you do not have a license key, enter n to install with a 15-day evaluation license. Then, skip to step 19.
17 At the following prompt, enter the license key that was generated for this
computer:
Enter the authorization key:
18 When the installation program displays your license information, verify that the
information is correct and press Enter. Otherwise, enter n and then re-enter your license information.
Ready to write an entry: Serial number: <serialNumber> Host name: <computerName> Host id: <computerID> Authorization: <licenseKey> OK to proceed? [Yes]
19 At the following prompt, press Enter to specify an e-mail address that will receive
licensing notification messages. Otherwise, enter n and skip to step 22 on page 40.
Do you want to specify an e-mail address to receive notification messages? [Yes]
Chapter 2
39
NOTE
You can set up licensing notification after installation, if you prefer. For more information, see Setting Up Licensing Notification on page 64.
20 At the following prompt, enter the e-mail address that will receive the licensing
notification messages.
Enter the e-mail address to which you want licensing notification messages sent []:
21 At the following prompt, press Enter to confirm the e-mail address. Otherwise,
enter n and repeat step 20.
Is this correct ? [Yes]
Press Enter to run the configuration script. Enter n if you want to skip this process and run the configuration script later.
NOTE
To enable the complete functionality of SmartDBA Recovery Management and the Enterprise Policy Monitor, run the configuration script. If you are not able to log on as a root user at this time, you must run the configuration script after the installation is complete. For more information, see Running the SQL-BackTrack for Oracle Configuration Script on page 66. In a RAC environment, you must run the configuration script on all nodes to support distributed backups, and also in the event that the primary node is no longer available and a new node is designated as the primary one.
23 At the following prompt, press Enter to accept the root user as the user who will be
used to install the EPM Integration Package. Otherwise, enter a different user with root authority.
The user ID that will be used for installation is: [root]
24 At the following prompt, enter the password for the user with root authority on the
computer where you are installing SQL-BackTrack for Oracle:
Please enter the password for user <user> Password:
40
After the configuration script completes, the installation program displays a message indicating that the installation completed successfully.
Chapter 2
41
Verifying Installation of SQL-BackTrack for Oracle on Unix on page 45 SQL-BackTrack for Oracle Directory Structure on Unix on page 45
Set the environment variables required for using SQL-BackTrack for Oracle. Update your license information. Set up licensing notification. Set port numbers for the dtlicense and dtoarchmon processes. Run the SQL-BackTrack for Oracle configuration script. Configure a RAC environment for use with SQL-BackTrack for Oracle. Configure a failover environment for use with SQL-BackTrack for Oracle.
Setting Environment Variables for Unix on page 58 Updating License Information for Unix on page 62 Setting Up Licensing Notification on page 64 Setting Port Numbers for dtlicense and dtoarchmon on page 65 Running the SQL-BackTrack for Oracle Configuration Script on page 66 Chapter 4, Configuring RAC Environments for SQL-BackTrack for Oracle Chapter 5, Configuring Failover Environments for SQL-BackTrack
42
WARNING
The installer cannot verify if you have already installed this version of the software, and the installer overwrites the earlier installation if you attempt to install the product in the same directory. To reinstall the latest version of the product, you must first uninstall SQL-BackTrack for Oracle. To perform this task, see Uninstalling SQL-BackTrack for Oracle on Windows on page 53.
To Install SQL-BackTrack for Oracle on Windows 1 Insert the product CD into the CD drive. 2 If the installer does not launch automatically, perform the following steps: A From the Start menu, choose Run. B In the Open box, enter the following command:
<CDDriveID>:\setup.exe
3 On the Introduction page, click Next to continue. 4 On the License Agreement page, review the license agreement information, and
select the option to accept the license agreement. Click Next to continue.
5 On the Specify Installation Directory page, accept the default installation directory,
or click Choose to specify a different location. After you have specified your installation directory, click Next.
6 On the Provide License Information page, enter the following information, and
then click Next.
s s s
your name your companys name license key If you have a license authorization key, enter it in the License Key box. If you do not have a license authorization key, leave the box blank to install with a 15-day evaluation license.
8 When the Install Complete page is displayed, click Done to exit the installer.
Chapter 2
43
44
the license information is correct all SQL-BackTrack for Oracle programs are installed SQL-BackTrack for Oracle is customized with the license information the SQL-BackTrack modules are linked correctly
To Verify the Installation of SQL-BackTrack for Oracle on Unix 1 Change to the following directory:
cd $DTBASE/obacktrack/install
Chapter 2
45
Figure 6
$DTBASE
.grx_dirname
bin
common
btsdba cdump
dtlicense grx
ctl
grx_<yymmddhhmiss>
deinstall
log
ebr
mls
install
obacktrack
links
obsi.disk
log
obsi.tape
man
utilities
mls
msgs
support
Table 5 shows the contents of the directories within the $DTBASE directory on a Unix computer. Table 5 SQL-BackTrack for Oracle Directory Structure on Unix ($DTBASE) (Part 1 of 2)
Contents contains the name of the directory that contains the updated contents for the services and agents needed to run the obacktrack program from the SmartDBA Console part of the EPM Integration Package, which is installed during the first installation of the EPM Integration Package on this computer This directory is shared across installations. Note: The obtuninstall program removes the common directory only if this is the last $DTBASE installation being uninstalled on this computer. /dtlicense dtlicense command
/common
46
Table 5
/grx
Directory or file
Table 6 shows the contents of the directories within the $DT_OBACKTRACK_HOME directory ($DTBASE/obacktrack) on a Unix computer. Table 6
Directory /bin /btsdba /cdump /ctl /deinstall /ebr
Chapter 2
47
%DTBASE%
bin
btsdba ctl
obsi.disk
ebr
obsi.tape
lib
links
log
mls
msgs
support
UninstallerData
Table 7 shows the contents of the directories within the %DTBASE% directory on a Windows computer.
48
Table 7
Directory /common
JRE package SQL-BackTrack for Oracle; see Table 8 on page 49 SQL-BackTrack for Oracle module for disk files SQL-BackTrack for Oracle module for tape files
Table 8 on page 49 shows the contents of the directories within the %DT_OBACKTRACK_HOME% directory (%DTBASE%\obacktrack) on a Windows computer. Table 8
Directory \bin \btsdba \ctl \ebr
Chapter 2
49
Verify that no SQL-BackTrack for Oracle programs are running. Create a copy of the SQL-BackTrack for Oracle catalog in a directory that is not part of the SQL-BackTrack for Oracle directory structure.
WARNING
You cannot recover from a SQL-BackTrack backup without the associated catalog.
To Uninstall SQL-BackTrack for Oracle Components on Unix 1 Change to the directory that contains the SQL-BackTrack for Oracle obtuninstall
script by using the following command:
cd $DTBASE/obacktrack/install
50
2 Run the obtuninstall script by entering the following command at the command
prompt:
./obtuninstall
NOTE
The obtuninstall script removes all components of SQL-BackTrack, including the Enterprise Snapshot component (if it is installed) and the EPM Integration Package. However, the obtuninstall program removes the common directory only if this is the last $DTBASE installation being uninstalled on this computer. If you want to uninstall only the EPM Integration Package, enter the command as follows: ./obtuninstall -epm
3 If you are sure that you want to uninstall SQL-BackTrack for Oracle, press Enter at
the following prompt. Otherwise, enter No to exit the uninstallation process.
Are you sure you want to run the uninstall utility? Yes/No (Yes)
4 At the following prompt, press Enter to accept the root user as the user that will be
used to uninstall the EPM Integration Package. Otherwise, enter a different user name with root authority.
The root user ID is: [root]
5 At the following prompt, enter the password for the user with root authority:
Please enter the password for user <user> Password:
Chapter 2
51
NOTE
If the uninstallation script detects any of the following files or directories, the script does not remove them:
s s s s s s s s s s s s s s
$DTBASE/.grx_dirname $DTBASE/commona $DTBASE/dtlicense $DTBASE/dumpdata $DTBASE/grx $DTBASE/grx_<yymmddhhmiss> $DTBASE/log $DTBASE/mls $DTBASE/obsi.disk -> obsi.disk-6.1.00 $DTBASE/obsi.disk-6.1.00 $DTBASE/obsi.tape -> obsi.tape-6.1.00 $DTBASE/obsi.tape-6.1.00 $DTBASE/oracatalog $DTBASE/utilities
The uninstallation script does remove the common directory if this is the last installation of the product for the current release version. However, if you have two SQL-BackTrack for Oracle installations ($DTBASE1 and $DTBASE2), and you use the uninstallation script to remove the first installation ($DTBASE1), the uninstallation script does not remove the $DTBASE1/common directory because the $DTBASE2 installation uses it.
1 Log in as root. 2 Using a text editor, remove the specified entries from the following files:
File /etc/bmc_pdm Entries to Remove #BMC-PDM-DELIMITER BKO_5.0.10_mapiversion=2.0.10 BKO_5.0.10_bttag=BKO-<dateTime> jre_1.4.2.01_<bits>_installDir=<directory> jboss_3.2.4_installDir=<directory> EBRDC_2.0.10_<bits>_installDir=<directory> jbdcl_2.0.00_installDir=<directory> BKO_5.0.10_dtbase=<directory> BKO_5.0.10_installdir=<directory> XBT_1.5.00_installdir=<directory> grx_1.1.08_local_repository=<directory> grxagent <port>/tcp # BMC GRX Agent
/etc/services
52
File /etc/inetd.conf
a
Entries to Remove grxagent stream tcp nowait root <directory> grxagent port=0 home=<directory> logfile=<directory>/grxagent.log j1:a:once=<directory>/run_bmc2.sh
/etc/inittab
a
For Red Hat Linux and SLES LINUX, the xinetd.conf file is used.
3 Reinitialize the inetd or xinetd process by performing the following steps: A To determine the process ID (PID) for the inetd or xinetd process, execute the
following command:
ps -ef | grep <processName>
B At the command prompt, execute the following command specifying the PID:
kill -HUP <PID>
Verify that no SQL-BackTrack for Oracle programs are running. Create a copy of the SQL-BackTrack for Oracle catalog in a directory that is not part of the SQL-BackTrack for Oracle directory structure.
Chapter 2
53
WARNING
You cannot recover from a SQL-BackTrack for Oracle backup without the associated catalog.
To Uninstall SQL-BackTrack for Oracle and the SQL-BackTrack for Oracle Modules on Windows 1 From the Windows desktop, choose Start => Control Panel => Add/Remove
Programs.
2 From the Add/Remove Programs dialog, click Change/Remove for any one of the
following components:
s s s
SQL-BackTrack for Oracle SQL-BackTrack for Oracle Module for Disk SQL-BackTrack for Oracle Module for Tape
3 When the Uninstall Wizard launches, click Uninstall. 4 After the component is uninstalled, click Done to exit the Uninstall Wizard. 5 Repeat step 2 through step 4 until all of the SQL-BackTrack for Oracle components
have been removed from your computer.
1 Stop the BMC Remote Execution Agent service, as follows: A Choose Start => Settings => Control Panel => Administrative Tools => Services or
Start => Settings => Control Panel => Windows Services Manager.
B Select the BMC Remote Execution Agent and stop the service. 2 Open a command prompt and change to the grx directory. The default installation
path for this directory is as follows:
cd C:\Program Files\Common Files\BMC Shared\grx
54
NOTE
You can find the location of the grx directory in the following entry of your Windows registry: My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\BMC Software\GRX\ CurrentInstallDir
3 Run the following command to uninstall the BMC Remote Execution Agent:
grxagent install=N
NOTE
Because the command syntax is case sensitive, you must enter an uppercase N.
Chapter 2
55
56
Chapter
3
57 58 62 64 65 66 67 67 69 69
57
To Set Unix Environment Variables for the Current Session 1 At the command prompt, set the environment variables. Depending on your Unix
shell, use the correct command syntax to set variables as follows:
Unix Shell C shell Bourne or Korn shells Command Syntax setenv <environmentVariable> <value> <environmentVariable>=<value> export <environmentVariable>
2 If the dtoarchmon process is running, stop the process and then restart it. For more
information, see the SQL-BackTrack for Oracle Reference Manual.
To Set Environment Variables Automatically 1 Use a text editor to open your Unix shell startup or initialization file (for example,
.login or .profile).
2 In the file, define the environment variables required for your system
environment.
3 Save the file. 4 From the command prompt, run the startup file.
For example, if you made the changes in your .profile file, use the following command:
. .profile
5 If the dtoarchmon process is running, stop the process and then restart it. For more
information, see the SQL-BackTrack for Oracle Reference Manual.
58
Table 9
Variable
DT_OBACKTRACK_HOME
DTBASE LANG
Set this variable to the base installation directory. Set this variable only if you are using SQL-BackTrack for Oracle on Linux. Set the value of this variable to C to ensure that the correct date and time format is configured for SQL-BackTrack for Oracle. Set this variable to the directory containing the Oracle run-time libraries ($ORACLE_HOME/lib). Set this variable only if you are using SQL-BackTrack for Oracle on an AIX platform. Set this variable to the directory containing the Oracle run-time libraries ($ORACLE_HOME/lib). Set this variable only if you are using SQL-BackTrack for Oracle on HP-UX platforms. Set this variable to the directory containing the Oracle run-time libraries ($ORACLE_HOME/lib).
LD_LIBRARY_PATH LIBPATH
SHLIB_PATH
Table 10
Variable
DT_DISK_FILESIZE
59
Table 10
Variable
DT_OBACKTRACK_STAT
DT_ORACATALOG
Set this variable to the location of the SQL-BackTrack for Oracle catalog directory. If you do not set the DT_ORACATALOG variable, the obacktrack program verifies whether the catalog variable is set in the $DTBASE/obacktrack/ctl/parameters file. If the variable is defined there, obacktrack uses the specified directory. If the catalog variable is not set, obacktrack checks the default catalog directory ($DTBASE/oracatalog). If the default directory exists, obacktrack prompts you to use this directory. If the default directory does not exist, obacktrack prompts you to enter the path name for the directory that you want to use. Note: The catalog directory should not be located on an NFS-mounted drive.
60
Table 10
Variable
DTSHMEM
DTTEMPDIR
Set this environment variable to point to the directory where SQL-BackTrack for Oracle stores temporary files. The default directory that SQL-BackTrack for Oracle uses is /tmp/datatools
s
If you plan to use SQL-BackTrack for Oracle in a RAC or failover environment, it is recommended that you specify a directory located on an NFS-mounted drive. If you are using SQL-BackTrack for Oracle in a single-instance environment, do not create the directory on an NFS-mounted drive or tmpfs file system.
Warning: If you have already started the product without setting DTTEMPDIR, do not specify the /tmp directory for your temporary directory. MANPATH Set this environment variable to enable access to the SQL-BackTrack online manual pages. Set this variable to $DTBASE/obacktrack/man. Then, use the man command from any command prompt, as follows: man <SQL-BackTrackCommand>
61
Set the DTBASE environment variable. See Setting Environment Variables for Unix on page 58. If you have purchased a license for this product, you must obtain a license authorization key for each computer on which you are installing the product. See Licensing on page 32. If you have changed the name of the server where SQL-BackTrack for Oracle is installed in a failover environment, you must modify the corresponding hostname entry in the opsconfig.rdf file. See Specifying Node Information for Failover Environments on page 77.
NOTE
If you are already using SQL-BackTrack for Oracle version 4.0.00 or earlier on Linux, you cannot use your existing license authorization key with version 5.0 or later releases. You must run the dthostid command to obtain your ethernet address, and then submit the information to BMC Software to request a new license key. See Obtaining a License Key on page 33.
2 Stop all processes related to SQL-BackTrack for Oracle including the dtlicense,
dtoarchmon, and dtobackup processes.
62
4 At the following prompt, enter y if you are using the product in a RAC
environment. Otherwise, press Enter.
Will you be using this product in an OPS/RAC environment? [Y/N] [N]
NOTE
SQL-BackTrack for Oracle version 5.0.10 supports clustering through Real Application Clusters (RAC), the new generation of Oracle Parallel Server (OPS). SQL-BackTrack for Oracle no longer supports clustering through OPS.
5 At the following prompt, enter the name of your organization or press Enter to
accept the default value:
Enter your organization name (up to 40 characters): [<orgName>]
The dtoinstall command writes the internal serial number and organization name to the serial file located in the $DTBASE/obacktrack/ctl directory.
If you have a license key, press Enter. If you do not have a license key, enter n to install with a 15-day evaluation license. Then, skip to step 11 on page 64.
7 At the following prompt, press Enter if this computer is one of your licensed
computers. Otherwise, enter n.
Will this machine be one of your licensed servers? [Yes]
The dtoinstall command displays the computer name and the computer ID as follows:
Machine name: <computerName> Host id: <computerId>
8 At the following prompt, enter the license key that was generated for this
computer:
Enter the authorization key:
63
9 At the following prompt, press Enter to verify your information. Otherwise, enter n
and then re-enter your license information.
OK to proceed? [Yes]
11 At the following prompt, press Enter to write the license information to the license
file. Otherwise, enter n.
Ready to write data to <licenseFile>. OK to proceed? [Yes]
The dtoinstall command updates the license file with the new license entry and then customizes SQL-BackTrack for Oracle with the new license information.
To Set Up Licensing Notification Messages 1 Change to the directory where the dtoinstall command is located by entering the
following command:
cd $DTBASE/obacktrack/install
64
3 At the following prompt, enter the e-mail address that will receive the licensing
notification messages.
Enter the e-mail address to which you want licensing notification messages sent []:
4 At the following prompt, press Enter to confirm the e-mail address. Otherwise,
enter n and repeat step 3.
Is this correct ? [Yes]
To Specify the Port Numbers for dtlicense and dtoarchmon 1 Use a text editor to create the dthosts file in the following directory:
$DTBASE/obacktrack/ctl/dthosts
2 Assign the ports for the dtlicense and dtoarchmon processes in the dthosts file. The
format of the file is as follows:
begin dtlicense=4444 end dtlicense begin dtoarchmon=5555 end dtoarchmon
3 If you want some computers to use different port assignments, add the computer
name and port number between the begin and end sections for dtlicense and dtoarchmon, as follows:
Chapter 3 Performing Post-Installation Tasks 65
begin dtlicense=<defaultPortNumber> <computerName>=<port> <computerName>=<port> end dtlicense begin dtoarchmon=<defaultPortNumber> <computerName>=<port> <computerName>=<port> end dtoarchmon
NOTE
If you will be using your SQL-BackTrack for Oracle product in a failover environment, run the configuration script on both the primary node and the failover node.
NOTE
Do not install SQL-BackTrack for Oracle on an NFS-mounted drive.
66
To Run the SQL-BackTrack for Oracle Configuration Script on Unix 1 Log on as the root user. 2 Change to the directory where the postinstall.sh script is located by entering the
following command:
cd $DTBASE/obacktrack/install
The configuration script runs and then displays a message indicating that the post-configuration utility completed successfully.
NOTE
If you set an environment variable after the dtoarchmon process is already running, you must restart dtoarchmon. Otherwise, SQL-BackTrack for Oracle might not be able to monitor or back up your archived redo logs.
67
NOTE
If you use this method to set an environment variable, the value of the variable persists only for as long as the current session.
To Set the Windows Environment Variables from the Windows Control Panel 1 From the Windows desktop, choose Start => Settings => Control Panel => System. 2 Click on the Advanced tab and choose Environment Variables. 3 Enter the environment variables and their values by using the information
provided in Table 11. Table 11
Variable DT_ORACATALOG
DTTEMPDIR
PATH
Set this environment variable if you are running multiple versions of Oracle on a Windows computer. If you are running multiple versions of Oracle, the path information for the version of Oracle that you want to use with SQL-BackTrack for Oracle must come first in your PATH statement.
68
NOTE
If you change the name of the Windows computer on which you are running SQL-BackTrack for Oracle, you must also change the name in the %DT_ORACATALOG%\<dbName>.db\config\opsconfig.rdf file.
To Add or Update a License Key on Windows 1 From the Windows desktop, choose Start => Programs => SQL-BackTrack for
Oracle-<version> => Configure.
2 In the SQL-BackTrack Config Utility dialog box, click Add License. 3 In the Add License Information dialog box, type your license authorization key in
the License Key box.
5 Click Save Now, and then click Close. 6 On the SQL-BackTrack Config Utility dialog box, click Done.
69
To Set Up Operating System Authentication for Oracle 1 In the init<SID>.ora file, set the REMOTE_LOGIN_PASSWORDFILE parameter to
NONE.
3 Log on to your Windows computer by using a user ID that belongs to the local
Administrators group.
4 In your Windows operating system, create a new local group named ORA_DBA or
ORA_<sid>_DBA, and add the users to the group who will use SQL-BackTrack for
Oracle. The <sid> variable identifies the Oracle database for which you are creating the local group.
70
Chapter
4
71 71 73 73 74
This chapter presents the following topics: Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SQL-BackTrack for Oracle Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Oracle Database Software Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting the Time Zone for RAC Environments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Storage Manager Software Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Overview
The following sections describe the configuration requirements for using the SQL-BackTrack for Oracle product in a Real Application Clusters (RAC) environment:
s s s
SQL-BackTrack for Oracle Configuration on page 71 Oracle Database Software Configuration on page 73 Storage Manager Software Configuration on page 74
Install the SQL-BackTrack for Oracle software on each node in your RAC environment. See Chapter 2, Installing SQL-BackTrack for Oracle, for more information.
Chapter 4
71
Create the SQL-BackTrack for Oracle catalog on the computer that is the primary node in your RAC environment.
NOTE
BMC Software does not recommend that you create the SQL-BackTrack for Oracle catalog on an NFS-mounted drive.
If you plan to use port numbers other than the default settings for the dtoarchmon and dtlicense processes, create a dthosts file on each node. See Setting Port Numbers for dtlicense and dtoarchmon on page 65. The dthosts file must include all of the port numbers for all of the nodes in your RAC environment. Copy the dthosts file to the following directory on each node:
$DTBASE/obacktrack/ctl
At the command prompt, start the license validation program (dtlicense) on all nodes of your RAC environment by typing the following command:
$DTBASE/obacktrack/bin/dtlicense -start
For SQL-BackTrack for Oracle to be able to communicate with each node in your RAC database, the dtlicense process must be running on each node. If the dtlicense process is not running on a node, SQL-BackTrack for Oracle assumes that the node is inactive. If dtlicense is not running during a backup, SQL-BackTrack for Oracle attempts to complete the backup, but some of the SQL-BackTrack for Oracle processes required to complete the backup process might not be able to execute. For example, SQL-BackTrack for Oracle might not be able to start the dtoarchmon process on the affected node. If this occurs, SQL-BackTrack for Oracle continues to back up the database, but any archived redo logs that are generated on this node are not backed up. Because the backup does not include a complete set of archived redo logs, you might not be able to perform a complete recovery. For more information about the dtlicense command, see the SQL-BackTrack for Oracle Reference Manual.
s
If you plan to use the SQL-BackTrack for Oracle parameters files to configure the initialization of the product, you must copy this file to the following directory on each node in your RAC environment:
$DTBASE/obacktrack/ctl
72
NOTE
The parameters file must contain the same content on each node.
To perform an incremental backup from a secondary node, you must copy the obacktrack_stat directory and the SQL-BackTrack for Oracle catalog from the primary node to the secondary node. SQL-BackTrack for Oracle must be able to access the stat files to perform an incremental backup. SQL-BackTrack for Oracle creates these files in the following directory by default:
$DTBASE/obacktrack/obacktrack_stat
Set the following Oracle environment variables on each node in your RAC environment: ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH LIBPATH ORACLE_PSRV
To Set the Time Zone for RAC Environments 1 If the Global Services Daemon (GSD) is not already running, start it by using
following command:
gsdctl start
Chapter 4
73
NOTE
The daemon must be running before you can set the time zone.
2 Set the correct time zone by using the appropriate command for your Oracle
version.
If you want to back up your data to a supported enterprise storage-manager product, install the storage-manager client software on each node in your RAC environment. For example, if you are using IBM Tivoli Storage Manager for backups, the IBM TSM client must be installed on the primary node and on all of the secondary nodes.
If you want to back up your data to a LEGATO NetWorker server, add all of the nodes in your RAC environment and the remote user name and password used to initiate the backup to the remote access list on the LEGATO NetWorker server. If you want to back up your data to a VERITAS NetBackup server, you must add all of the RAC nodes to the NetBackup server class/policy client list.
For more information about configuring and using your SQL-BackTrack for Oracle module software, refer to the appropriate SQL-BackTrack for Oracle module documentation.
74
Chapter
5
75 75 77 79 79 80
This chapter presents the following topics: Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SQL-BackTrack Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Specifying Node Information for Failover Environments. . . . . . . . . . . . . . . . . . . . Starting Services during a Node Failure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Oracle Database Software Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Storage Manager Software Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Overview
The following sections describe the configuration requirements for using the SQL-BackTrack product in an operating system cluster environment that is set up to support a failover strategy for Oracle:
s s s
SQL-BackTrack Configuration on page 75 Oracle Database Software Configuration on page 79 Storage Manager Software Configuration on page 80
SQL-BackTrack Configuration
Configure the SQL-BackTrack product for use in a failover environment as follows:
s
Install the SQL-BackTrack for Oracle software on a shared disk that is accessible to both the primary node and the failover node. See Chapter 2, Installing SQL-BackTrack for Oracle, for more information.
75
SQL-BackTrack Configuration
Create the SQL-BackTrack catalog on a shared disk that both the primary node and the failover node can access.
TIP
Back up the SQL-BackTrack catalog on a regularly scheduled basis (for example, after every database backup). Also, make an extra backup of the catalog whenever a change is made to the catalog configuration.
Verify that the license file has an entry for both the primary node and the failover node. The license file is located in the following directory:
$DTBASE/obacktrack/ctl
To add license information for a node to the license file, see Updating License Information for Unix on page 62.
s
If you want to use archive log monitoring, verify that the dtoarchmon process is running on the primary node. If the primary node fails, you must manually start the dtoarchmon process on the failover node. See the SQL-BackTrack for Oracle Reference Manual for more information about starting dtoarchmon.
NOTE
To force the dtoarchmon process to start automatically on the failover node, include the dtoarchmon command in your failover startup scripts.
Edit the SQL-BackTrack catalog configuration file (opsconfig.rdf) to include information about each failover node in your failover environment. For more information, see Specifying Node Information for Failover Environments on page 77.
76
To perform an incremental backup after a failover event, SQL-BackTrack must be able to access the stat files. If you did not install SQL-BackTrack on a shared disk, you must set the DT_OBACKTRACK_STAT environment variable to point to a directory that both the primary node and the failover node can access. SQL-BackTrack creates these files in the following directory by default:
$DTBASE/obacktrack/obacktrack_stat
You can edit the opsconfig.rdf configuration file only after creating the SQL-BackTrack catalog. Your backup will fail if you do not use the correct syntax in the opsconfig.rdf file.
To Specify the Node Information for a Failover Environment 1 Change to the following directory:
$DT_ORACATALOG/<dbName>.db/config
The $DT_ORACATALOG environment variable represents the SQL-BackTrack catalog directory and <dbName> represents the name of the Oracle database. For example, for the SONOMA database, type the following command:
cd $DT_ORACATALOG/SONOMA.db/config
77
3 Create a copy of this block for each node, and edit each block to reflect the
appropriate values for each node:
Parameter begin node=<computerName> oraclehome=<directory> oraclesid=<instanceName> initora=<path/filename> thread=<threadNumber> Description begins a node definition and identifies the name of the node the location of the ORACLE_HOME directory (where the Oracle software is located) the name of the Oracle database instance running on this node the path and file name of the Oracle init.ora file the thread number for the Oracle instance on this node You can usually find the thread number in the Oracle init.ora file. Note: The thread number for the primary node and the failover node should be the same. end node ends a node definition
The following example shows an opsconfig.rdf file that is configured for a failover environment with two nodes: a primary node (pnode) and a failover node (fnode).
; This is a required BackTrack file; DO NOT DELETE! ; begin node=pnode.bmc.com oraclehome=/oracle/product/9.2.0 oraclesid=HACMP920 initora=/oracle/product/9.2.0/dbs/HACMP920 thread=1 end node begin node=fnode.bmc.com oraclehome=/oracle/product/9.2.0 oraclesid=HACMP920 initora=/oracle/product/9.2.0/dbs/HACMP920 thread=1 end node ;; RDFEOF ;;
78
JBoss service, which is required for the Enterprise Policy Monitor (EPM) BMC Remote Execution (GRX) Agent, which is needed to run the obacktrack program from the SmartDBA Console
To Start the JBoss Service 1 Copy all entries following the #BMC-PDM-DELIMITER line from the /etc/bmc_pdm
file on the source computer to target computer.
NOTE
If you want to start the JBoss service automatically after every reboot, copy the entry for the JBoss service from the /etc/inittab file on the source computer to the target computer. This entry begins with the string j<n>: where <n> is a number.
To Start the BMC Remote Execution (GRX) Agent 1 From the primary node, copy the entries in the /etc/services and /etc/inetd.conf files
to the secondary node.
NOTE
If you want to perform a cold backup or any type of recovery of an Oracle database in a Hewlett-Packard or Sun cluster environment, the HP or Sun cluster-management software must not be monitoring any of the Oracle instances. Otherwise, during the backup or recovery the shared disk switches from the primary node to the failover node.
79
Verify that your Oracle database software is installed and configured for use in a failover environment. The shared disk should contain all of the database files, including the control file, redo logs, archive logs, and data files. Set the following Oracle environment variables on the primary node in your failover environment: ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH LIBPATH
NOTE
If the failover node is enabled because the primary node has failed, you must set these variables on the failover node.
For more information about setting these environment variables, see Setting Environment Variables for Unix on page 58.
If you want to back up your data to a supported enterprise storage-manager product, install the storage-manager client software on each node in your failover environment. For example, if you are using IBM Tivoli Storage Manager for backups, the IBM TSM client must be installed on the primary node and all of the secondary nodes.
If you want to back up your data to a LEGATO NetWorker server, add all of the nodes in your failover environment and the remote user name and password used to initiate the backup to the remote access list on the LEGATO NetWorker server. If you want to back up your data to a VERITAS NetBackup server, you must add the primary node and the failover node to the NetBackup server class/policy client list. Also, if you are using a logical node in your failover environment, you must add the logical node to the class/policy client list.
For more information about configuring and using your SQL-BackTrack module software, refer to the appropriate SQL-BackTrack module documentation.
80
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Index
A
archive log monitoring failover environments 76 RAC environments 72 upgrading SQL-BackTrack 28, 30
D
deleting the catalog directory 29, 30 directories, catalog 12 directory structure, SQL-BackTrack 45 disk drive requirements 25 disk media, supported 27 documentation conventions 12 online Help 11 related 11 DT_DISK_FILESIZE environment variable 59 DT_OBACKTRACK_HOME environment variable 59 DT_OBACKTRACK_STAT environment variable 60 DT_ORACATALOG environment variable Unix 60 Windows 68 DTBASE environment variable 59 dthostid command 28, 34, 62 dthosts file editing 65 example 65 location 65 RAC, configuring for 72 dtlicense command 46, 72 dtlicense process port number, setting 65 RAC requirements 72 dtoarchmon command 76 dtoarchmon process port number, setting 65 RAC configuration 72 starting in failover environments 76 dtoinstall command 62, 63, 64, 65 dtoverifyinstall command 45 DTSHMEM environment variable 61 DTTEMPDIR environment variable Unix 61 Windows 68
B
backup media 27 BMC Remote Execution (GRX) Agent, uninstalling on Unix 50, 52, 79 BMC Software, contacting 2
C
catalog, SQL-BackTrack allocating space for 26 backing up 50, 53 directory 12 in a failover environment 76 reusing an existing 28, 30 Unix, setting location for 60 Windows, setting location for 68 CD drive mount commands for Unix 36 requirements 25 cluster environments 71, 79 commands dthostid 28, 34, 62 dtlicense 46, 72 dtoarchmon 76 dtoinstall 62, 63, 64, 65 dtoverifyinstall 45 gsdctl 73 hostid 34 ipconfig 33 mount 36 uname 33 configuration script 66 conventions, documentation 12 customer support 3
Index
81
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
E
electronic documentation online Help 11 Enterprise Policy Monitor 16 Integration Package 16 Integration Package, uninstalling 51 environment variables (Unix) DT_DISK_FILESIZE 59 DT_OBACKTRACK_HOME 59 DT_OBACKTRACK_STAT 60 DT_ORACATALOG 60 DTBASE 59 DTSHMEM 61 DTTEMPDIR 61 EPM_USER_ID 24, 36 LANG 59 LD_LIBRARY_PATH 59 LIBPATH 59 SHLIB_PATH 59 environment variables (Windows) DT_ORACATALOG 68 DTTEMPDIR 68 EPM. See Enterprise Policy Monitor EPM_USER_ID environment variable 24, 36
H
hardware requirements, SQL-BackTrack 25
I
IBM Tivoli Storage Manager 19 installation requirements authorization 24 disk drive 25 memory 25 operating system 26 Oracle 26 installing SQL-BackTrack considerations 27 in a failover environment 21 in a RAC environment 19 on multiple versions 31 on Unix 19, 3642 on Windows 23, 4244 upgrading 28
L
LANG environment variable 59 LD_LIBRARY_PATH environment variable 59 LEGATO NetWorker 19 LIBPATH environment variable 59 licenses, updating for Unix 6264 for Windows 69 licensing evaluation 32 guidelines 32 obtaining license keys 33 RAC 32 reusing license keys (Unix) 29 reusing license keys (Windows) 31 updating server names 32
F
failover environments cluster restrictions 79 configuration guidelines 75 dtoarchmon, starting in 76 environment variables, setting for 80 installation 21 LEGATO NetWorker configuration 80 LEGATO NetWorker server 80 node information, specifying 77, 79 opsconfig.rdf 76 Oracle database configuration 79 overview 22, 75 SQL-BackTrack configuration 75 storage-manager software configuration 80 VERITAS NetBackup configuration 80 VERITAS NetBackup server 80 files dthosts 65 parameters 29, 30 Readme-JRE.html 44 Readme-JRE.txt 44 SmartDBA services 52
M
memory requirements 25 mounting a CD on Unix 36
O
OBSI modules. See SQL-BackTrack modules obtinstall.sh script 37 obtuninstall script 51 online Help 11 operating system authentication, Windows 69 opsconfig.rdf file for failover environments 77, 79 oracatalog directory 29, 30
G
gsdctl command 73
82
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
P
parameters files for configuring SQL-BackTrack 72 reusing on Unix 29 reusing on Windows 30 port numbers, setting for SQL-BackTrack 72 postinstall.sh script 67 post-installation tasks Unix 5767 Windows 6770 primary node 20 in failover environments 22 in RAC environments 20 product support 3
support, customer 3
T
tape media, supported 27 technical support 3 TSM. See IBM Tivoli Storage Manager
U
uninstalling BMC Remote Execution (GRX) Agent 52 Enterprise Policy Monitor Integration Package 51 SQL-BackTrack on Unix 50 on Windows 53 Unix installation considerations 31 installing SQL-BackTrack 3642 reusing license keys 29 uninstalling BMC Remote Execution (GRX) Agent 52 Enterprise Policy Monitor Integration Package 51 SQL-BackTrack 50 updating SQL-BackTrack license information 6264 upgrading SQL-BackTrack 28 upgrading SQL-BackTrack on Unix 28 on Windows 30
R
RAC. See Real Application Clusters Readme-JRE.html file 44 Readme-JRE.txt file 44 Real Application Clusters dthosts file 72 dtlicense process 72 dtoarchmon, starting 72 installation, SQL-BackTrack 19 license key for SQL-BackTrack 32 Oracle database configuration 73 overview 19, 71 parameters file location 72 primary node 20 secondary node 20 SQL-BackTrack configuration 71 storage-manager software configuration 74 VERITAS NetBackup configuration 74 related documentation 11
V
verifying installation on Unix 45 VERITAS NetBackup 19
S
scripts obtinstall.sh 37 obtuninstall 51 postinstall.sh 67 secondary node 20 SHLIB_PATH environment variable 59 SmartDBA files 52 SmartDBA Integration Package 15 SmartDBA Recovery Management components 15 SQL-BackTrack modules LEGATO NetWorker 74 RAC configuration 74 software requirements 27 supported backup media 27 VERITAS NetBackup 74 stat files 26
W
Windows installing SQL-BackTrack 42, 43, 44 reusing license keys 31 setting up operating system authentication 69 uninstalling SQL-BackTrack 53 updating license information 69 upgrading SQL-BackTrack 30
Index
83
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
84
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Glossary
A
application server See BMC Application Server.
B
backup A copy of the information in a database that is required to rebuild the database if the database becomes unusable. With SQL-BackTrack, you can perform either a physical backup or a logical backup. BMC Application Server Processes incoming requests and returns responses to each client. Any client may access a BMC Application Server, which runs on port 8082 by default. See also client.
C
catalog A set of files that contains the SQL-BackTrack for Oracle backup and recovery information, such as backup and recovery preferences, backup history, and backup device definitions. client The SmartDBA graphical user interface (GUI) or console. A user downloads the client as a locally installed application and accesses a BMC Application Server through an Internet browser. See also BMC Application Server. console See client. customize The process in which the SQL-BackTrack for Oracle license information is applied to the product binaries. You cannot use the SQL-BackTrack for Oracle product if this process has not been completed.
Glossary
85
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
F
failover environment An environment consisting of two hosts: a primary node and a secondary node. These nodes and other resources act like a single system and operate nearly continuously. See primary node and failover node. failover node The node in a failover environment that takes the workload from the primary node, if the primary node becomes unavailable.
L
license authorization key The 25-digit key, which is generated from the machine name and machine ID that authorizes the use of the SQL-BackTrack product.
O
OBSI module See SQL-BackTrack for Oracle Module.
P
primary node For RAC, the first RAC node that SQL-BackTrack for Oracle tries to use for a backup or recovery operation. In a failover environment, this term refers to the node that processes the workload until the node becomes unavailable. See failover node.
R
RAC See Real Application Clusters. Real Application Clusters (RAC) This term refers to the feature in Oracle 9i that allows users on multiple nodes to access the same database simultaneously. recovery The process of restoring one or more databases or database objects from backup files.
S
script A set of commands and options that perform a backup or recovery operation when executed. A script can be saved in a file for future execution.
86
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
secondary node Any node other than the primary node in a RAC environment. SmartDBA Console A graphical user interface (GUI) in which you can perform SQL-BackTrack for Oracle tasks formerly available only through the obacktrack program menus. SQL-BackTrack Module Provides the software interface through which SQL-BackTrack communicates with physical backup devices and enterprise storage-management systems. SQL-BackTrack parameters file Includes parameters related to multiple functions such as SQL-BackTrack reports, the SQL-BackTrack catalog, Oracle, and so on. It applies to multiple databases if multiple databases are defined in your SQL-BackTrack catalog. The parameters file is also referred to as the ctl/parameters file because it must be located in the ctl directory.
Glossary
87
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
88
Software within a reasonable period of time, or if BMC cannot remedy or replace such defective copy of the Software, then BMC shall refund the amount paid by You for the License for that Software. BMC's obligations in this section are conditioned upon Your providing BMC prompt access to the affected Software and full cooperation in resolving the claim. DISCLAIMER. EXCEPT FOR THE EXPRESS WARRANTIES ABOVE, THE PRODUCT IS PROVIDED AS IS. BMC, ITS AFFILIATES AND LICENSORS SPECIFICALLY DISCLAIM ALL OTHER WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. BMC DOES NOT WARRANT THAT THE OPERATION OF THE SOFTWARE WILL BE UNINTERRUPTED OR ERROR FREE, OR THAT ALL DEFECTS CAN BE CORRECTED. DISCLAIMER OF DAMAGES. IN NO EVENT IS BMC, ITS AFFILIATES OR LICENSORS LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL, PUNITIVE OR CONSEQUENTIAL DAMAGES RELATING TO OR ARISING OUT OF THIS AGREEMENT, SUPPORT, AND/OR THE PRODUCT (INCLUDING, WITHOUT LIMITATION, LOST PROFITS, LOST COMPUTER USAGE TIME, AND DAMAGE OR LOSS OF USE OF DATA), EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, AND IRRESPECTIVE OF ANY NEGLIGENCE OF BMC OR WHETHER SUCH DAMAGES RESULT FROM A CLAIM ARISING UNDER TORT OR CONTRACT LAW. LIMITS ON LIABILITY. BMCS AGGREGATE LIABILITY FOR DAMAGES IS LIMITED TO THE AMOUNT PAID BY YOU FOR THE LICENSE TO THE PRODUCT. SUPPORT. If Your order includes support for the Software, then BMC agrees to provide support (24 hours a day/7 days a week) (Support). You will be automatically re-enrolled in Support on an annual basis unless BMC receives notice of termination from You as provided below. There is a free support period during the one year warranty period. A. Support Terms. BMC agrees to make commercially reasonable efforts to provide the following Support: (i) For malfunctions of supported versions of the Software, BMC provides bug fixes, patches or workarounds in order to cause that copy of the Software to operate in substantial conformity with its thencurrent operating specifications; and (ii) BMC provides new releases or versions, so long as such new releases or versions are furnished by BMC to all other enrolled Support customers without additional charge. BMC may refuse to provide Support for any versions or releases of the Software other than the most recent version or release of such Software made available by BMC. Either party may terminate Your enrollment in Support upon providing notice to the other at least 30 days prior to the next applicable Support anniversary date. If You re-enroll in Support, BMC may charge You a reinstatement fee of 1.5 times what You would have paid if You were enrolled in Support during that time period. B. Fees. The annual fee for Support is 20% of the Softwares list price less the applicable discount or a flat capacity based annual fee. BMC may change its prices for the Software and/or Support upon at least 30 days notice prior to Your support anniversary date. VERIFICATION. If requested by BMC, You agree to deliver to BMC periodic written reports, whether generated manually or electronically, detailing Your use of the Software in accordance with this Agreement, including, without limitation, the License Capacity. BMC may, at its expense, perform an audit, at your facilities, of Your use of the Software to confirm Your compliance with the Agreement. If an audit reveals that You have underpaid fees, You agree to pay such underpaid fees. If the underpaid fees exceed 5% of the fees paid, then You agree to also pay BMCs reasonable costs of conducting the audit. EXPORT CONTROLS. You agree not to import, export, re-export, or transfer, directly or indirectly, any part of the Product or any underlying information or technology except in full compliance with all United States, foreign and other applicable laws and regulations. GOVERNING LAW. This Agreement is governed by the substantive laws in force, without regard to conflict of laws principles: (a) in the State of New York, if you acquired the License in the United States, Puerto Rico, or any country in Central or South America; (b) in the Province of Ontario, if you acquired the License in Canada (subsections (a) and (b) collectively referred to as the Americas Region); (c) in Singapore, if you acquired the License in Japan, South Korea, Peoples Republic of China, Special Administrative Region of Hong Kong, Republic of China, Philippines, Indonesia, Malaysia, Singapore, India, Australia, New Zealand, or Thailand (collectively, Asia Pacific Region); or (d) in the Netherlands, if you acquired the License in any other country not described above. The United Nations Convention on Contracts for the International Sale of Goods is specifically disclaimed in its entirety. ARBITRATION. ANY DISPUTE BETWEEN YOU AND BMC ARISING OUT OF THIS AGREEMENT OR THE BREACH OR ALLEGED BREACH, SHALL BE DETERMINED BY BINDING ARBITRATION CONDUCTED IN ENGLISH. IF THE DISPUTE IS INITIATED IN THE AMERICAS REGION, THE ARBITRATION SHALL BE HELD IN NEW YORK, U.S.A., UNDER THE CURRENT COMMERCIAL OR INTERNATIONAL, AS APPLICABLE, RULES OF THE AMERICAN ARBITRATION ASSOCIATION. IF THE DISPUTE IS INITIATED IN A COUNTRY IN THE ASIA PACIFIC REGION, THE ARBITRATION SHALL BE HELD IN SINGAPORE, SINGAPORE UNDER THE CURRENT UNCITRAL ARBITRATION RULES. IF THE DISPUTE IS INITIATED IN A COUNTRY OUTSIDE OF THE AMERICAS REGION OR ASIA PACIFIC REGION, THE ARBITRATION SHALL BE HELD IN AMSTERDAM, NETHERLANDS UNDER THE CURRENT UNCITRAL ARBITRATION RULES. THE COSTS OF THE ARBITRATION SHALL BE BORNE EQUALLY PENDING THE ARBITRATORS AWARD. THE AWARD RENDERED SHALL BE FINAL AND BINDING UPON THE PARTIES AND SHALL NOT BE SUBJECT TO APPEAL TO ANY COURT, AND MAY BE ENFORCED IN ANY COURT OF COMPETENT JURISDICTION. NOTHING IN THIS AGREEMENT SHALL BE DEEMED AS PREVENTING EITHER PARTY FROM SEEKING INJUNCTIVE RELIEF FROM ANY COURT HAVING JURISDICTION OVER THE PARTIES AND THE SUBJECT MATTER OF THE DISPUTE AS NECESSARY TO PROTECT EITHER PARTYS CONFIDENTIAL INFORMATION, OWNERSHIP, OR ANY OTHER PROPRIETARY RIGHTS. ALL ARBITRATION PROCEEDINGS SHALL BE CONDUCTED IN CONFIDENCE, AND THE PARTY PREVAILING IN ARBITRATION SHALL BE ENTITLED TO RECOVER ITS REASONABLE ATTORNEYS FEES AND NECESSARY COSTS INCURRED RELATED THERETO FROM THE OTHER PARTY. U.S. GOVERNMENT RESTRICTED RIGHTS. The Software under this Agreement is commercial computer software as that term is described in 48 C.F.R. 252.227-7014(a)(1). If acquired by or on behalf of a civilian agency, the U.S. Government acquires this commercial computer software and/or commercial computer software documentation subject to the terms of this Agreement as specified in 48 C.F.R. 12.212 (Computer Software) and 12.211 (Technical Data) of the Federal Acquisition Regulations (FAR) and its successors. If acquired by or on behalf of any agency within the Department of Defense (DOD), the U.S. Government acquires this commercial computer software and/or commercial computer software documentation subject to the terms of this Agreement as specified in 48 C.F.R. 227.7202 of the DOD FAR Supplement and its successors. MISCELLANEOUS TERMS. You agree to pay BMC all amounts owed no later than 30 days from the date of the applicable invoice, unless otherwise provided on the order for the License to the Products. You will pay, or reimburse BMC, for taxes of any kind, including sales, use, duty, tariffs, customs, withholding, property, value-added (VAT), and other similar federal, state or local taxes (other than taxes based on BMCs net income) imposed in connection with the Product and/or the Support. This Agreement constitutes the entire agreement between You and BMC and supersedes any prior or contemporaneous negotiations or agreements, whether oral, written or displayed electronically, concerning the Product and related subject matter. No modification or waiver of any provision hereof will be effective unless made in a writing signed by both BMC and You. You may not assign or transfer this Agreement or a License to a third party without BMCs prior written consent. Should any provision of this Agreement be invalid or unenforceable, the remainder of the provisions will remain in effect. The parties have agreed that this Agreement and the documents related thereto be drawn up in the English language. Les parties exigent que la prsente convention ainsi que les documents qui sy rattachent soient rdigs en anglais.
Cryptix
Copyright 1995, 1996, 1997, 1998, 1999, 2000 The Cryptix Foundation Limited. All rights reserved. 1. Redistributions of source code must retain the copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE CRYPTIX FOUNDATION LIMITED AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE CRYPTIX FOUNDATION LIMITED OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Hypersonic SQL
This product includes Hypersonic SQL. Copyright 2001, Regents of the University of California All rights reserved. s s s Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of the University of California, Berkeley nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Redistribution in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of Sun Microsystems, Inc. or the names of contributors may be used to endorse or promote products derived from this software without specific prior written permission. This software is provided "AS IS," without a warranty of any kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN MICROSYSTEMS, INC. ("SUN") AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. You acknowledge that this software is not designed, licensed or intended for use in the design, construction, operation or maintenance of any nuclear facility.
Tanuki Software
This product includes the Tanuki Software product found at http://www.wrapper.tanukisoftware.org and this product is distributed to us pursuant to the following terms and conditions: Copyright (c) 1999, 2004 Tanuki Software Permission is hereby granted, free of charge, to any person obtaining a copy of the Java Service Wrapper and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sub-license, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Portions of the Software have been derived from source code developed by Silver Egg Technology under the following license: Copyright (c) 2001 Silver Egg Technology Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sub-license, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
Notes