Você está na página 1de 15

IBM Tivoli Data Protection for Oracle Database is one of the IBM TSM product family used to

protect the data stored in Oracle databases. Data Protection for Oracle performs online or offline
backups of Oracle 11g databases to Tivoli Storage Manager server storage. This TDP for Oracle
is integrated with the RMAN Media Management API and maximizes the protection of data, thus
providing a comprehensive storage management solution. Data Protection for Oracle interfaces
with the Oracle Recovery Manager (RMAN) to send backup versions of Oracle databases to the
Tivoli
Storage
Manager
server.

IBM Tivoli Data Protection for Oracle


Oracle Recovery Manager (RMAN) provides consistent and secure backup, restore, and
recovery performance for Oracle databases. While the Oracle RMAN initiates a backup or
restore, Data Protection for Oracle acts as the interface to the Tivoli Storage Manager server.
The Tivoli Storage Manager server then applies administrator-defined storage management
policies to the data. Data Protection for Oracle implements the Oracle defined Media
Management application program interface (SBTAPI) 2.0. This SBTAPI interfaces with RMAN
and translates Oracle commands into Tivoli Storage Manager API calls to the Tivoli Storage
Manager server.
With the use of RMAN, Data Protection for Oracle allows you to perform the following
functions. Full and incremental backup function for the following while online or offline

Databases

Tablespaces

Datafiles

Archive log files

Control files

Full database restores while offline

Tablespace and datafile restore while online or offline

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

Prerequisites for using IBM Tivoli Data Protection For Oracle 6.3

To use this TDP Oracle you should also install supporting Tivoli Storage Manager API
Version. The required version of the Tivoli Storage Manager API is included in the Data
Protection for Oracle product media.

Existing backups created using previous versions of Data Protection for Oracle are
restorable using Data Protection for Oracle 6.3.

Backups created with Data Protection for Oracle 6.3 cannot be restored using previous
versions of Data Protection for Oracle.

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

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

A user with administrative authority must install Data Protection for Oracle on a Windows
server where the target database resides.

If Data Protection for Oracle was not previously installed on your system, you can install
Data Protection for Oracle into the Tivoli Storage Manager base directory of your choice.
On Windows Data Protection for Oracle 32-bit installs to the \AgentOBA directory and
Data Protection for Oracle 64-bit installs to the \AgentOBA64 directory under this base
default directory.

On Unix, Data Protection for Oracle 32-bit installs to the /oracle/bin directory and Data
Protection for Oracle 64-bit installs to the /oracle/bin64 directory under this base default
directory

New Features added in TDP Oracle V6.3

A new query command is available to query information about backed up files With
the tdposync query command, you can query the Tivoli Storage Manager server for
information about database objects that have been backed up. You can obtain statistics
that indicate whether a backup object was encrypted, compressed, or deduplicated.

The tdposync utility can work with backup history information in the Oracle control file.

The tdposync syncdb command can use the backup history information stored in the
Oracle control file to synchronize the Tivoli Storage Manager database with the Oracle
Recovery Manager (RMAN) backup history. Synchronization can be done with either a
control file or the Oracle catalog.

Use the send command to send additional parameters to the Tivoli Storage Manager
API.

You can use the Oracle RMAN send command in an RMAN script to specify any
supported Tivoli Storage Manager options, such as TCPport and TCPServeraddress, to
the Tivoli Storage Manager API. Any option that is sent by using the send command
takes precedence over the option specified in the options files for Data Protection for
Oracle or Tivoli Storage Manager API.

UTF-8 is added for the language locales that are already supported by Data Protection
for Oracle.

The Data Protection for Oracle Version 6.3 message catalogs are encoded in UTF-8. If
you are installing the Data Protection for Oracle message catalogs for languages other
than English, you must also have the appropriate iconv UTF-8 converters installed on
your system. If the appropriate iconv UTF-8 converters are not installed, all Data
Protection for Oracle messages are displayed in English.

Tivoli Data Protection for Oracle is not upgraded to version 6.4 but upgraded to version 7.1. To
know the software and hardware requirements of TDP for Oracle version 7.1 visit this link
- See more at: http://www.tsmtutorials.com/2013/11/what-is-the-use-of-TDP-oforacle.html#sthash.MSMllsA3.dpuf

Before installing IBM Tivoli Data Protection for Oracle on Windows or Unix systems make sure
you meet the required Software and Hardware Requirements. In this post we will see the
Hardware and Software Requirements for installing TDP for Oracle and Installation procedures.
Supported Oracle Database levels

32-bit Oracle Database 11gR1: Standard or Enterprise editions

32-bit Oracle Database 11gR2: Standard or Enterprise editions

64-bit Oracle Database 11gR1: Standard or Enterprise editions

64-bit Oracle Database 11gR2: Standard or Enterprise editions

Supported Oracle Database environments

32-bit Oracle Real Application Clusters 11gR1

32-bit Oracle Real Application Clusters 11gR2

64-bit Oracle Real Application Clusters 11gR1

64-bit Oracle Real Application Clusters 11gR2

Required Java levels


Use the following Oracle JavaTM levels on the HP-UX, Solaris, and Linux platforms

Java JRE 6, and later mod levels and fix packs

Java JRE 7, and later mod levels and fix packs

Tivoli Storage Manager server and API requirements

Any Tivoli Storage Manager server in support that is compatible with the Tivoli Storage
Manager API used in your environment.

For Linux x86, Tivoli Storage Manager API Version 6.2.2, and later mod levels and fix
packs.

For all other UNIX and Linux platforms, either of the following Tivoli Storage Manager API
versions
Tivoli Storage Manager API Version 6.2.2, and later mod levels and fix packs
Tivoli Storage Manager API Version 6.3.0, and later mod levels and fix packs

Tivoli Storage Manager communication methods requirements


Use the following communication methods for AIX, HP-UX Itanium, and Solaris SPARC

TCP/IP

Shared memory

Data Protection for Oracle and the Tivoli Storage Manager server must be installed on the same
machine in order for shared memory to work. Use TCP/IP as the following communication
method for Linux on x86, Linux x86_64 and Linux on System z
Virtualization Environment Requirements
For requirements installing TDP for Oracle on Virtualization Environments check this IBM
document.

Installing TDP for Oracle on AIX


Hardware Requirements

IBM system p OR

IBM system i OR any compatible hardware supported by the operating system and
Oracle.

A minimum of 25MB of disk space, and optionally at least 15MB of disk space for each
Language Pack to be installed (there are a total of 13 available).

Software Requirements for the 64-bit AIX platform

64-bit AIX 6.1 and later TL levels and fix packs

64-bit AIX 7.1 and later TL levels and fix packs

Default Installation Path

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

Data Protection for Oracle /usr/tivoli/tsm/client/oracle/bin64 Utilities

Tivoli Storage Manager API /usr/tivoli/tsm/client/api/bin64 64-bit

Installing TDP for Oracle

By using SMITTY INSTALLP command select and highlight all the Data Protection for
Oracle supported packages including License Agreement and press F7.
tivoli.tsm.client.oracle.aix.64bit
tivoli.tsm.client.oracle.tools.aix.64bit
tivoli.tsm.client.api.aix.64bit
tivoli.tsm.client.oracle.msg.aix.64bit.xx_XX
tivoli.tsm.loc.client.oracle.aix.64bit.ela

In Install and Update from LATEST Available Software window, press ENTER.

Installing TDP for Oracle on HPUX


Hardware Requirements

64-bit HP Integrity Server (Itanium), or newer or any compatible hardware supported by


the operating system and Oracle.

A minimum of 25MB of disk space, and optionally.

At least 15MB of disk space for each Language Pack to be installed.

Software Requirements

64-bit HP 11iv3, and later mod levels and fix packs

Default Installation Path (same for LINUX & SOLARIS)

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

Data Protection for Oracle Utilities /opt/tivoli/tsm/client/oracle/bin64

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

Installing TDP for Oracle

Log in as the root user:


# su Password

Set the appropriate permission to the directory where the software package
is located.
chmod 755 /setupfiles

Issue this command to install the Tivoli Storage Manager API. The default language is
English.
$ swinstall -v -s /setupfiles/oracle/hpuxia/api/TIVsmCapi64

Now change to the TDPO installable directory and enter the name of the installable file
(TDPOracle64.bin) on the command line and press Enter to install the Data Protection for
Oracle product, utilities, and license
$ TDPOracle64.bin

To install in GUI mode, enter the following command


$ TDPOracle64.bin -i gui

If the installable file was downloaded from the FTP site, the filename might be different than
TDPOracle64.bin.

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

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

Installing TDP for Oracle on Windows (32 bit & 64


bit)
Hardware Requirements

A minimum of 80MB of disk space, and optionally at least 25MB disk space for
prerequisites included in the installation package.

At least 5MB of disk space for each Language Pack to be installed.

Software Requirements
The following operating systems are supported for the 32-bit Windows x32 platform.

32-bit Windows Server 2003, or later Service Pack levels: Standard or Enterprise
editions.

32-bit Windows Server 2003 R2, or later Service Pack levels: Standard or Enterprise
editions.

32-bit Windows Server 2008, or later Service Pack levels: Standard or Enterprise editions

The following operating systems are supported for the 64-bit Windows x64 platform.

64-bit Windows Server 2003, or later Service Pack levels: Standard x64 or Enterprise
x64 editions.

64-bit Windows Server 2003 R2, or later Service Pack levels: Standard x64 or Enterprise
x64 editions.

64-bit Windows Server 2008, or later Service Pack levels: Standard x64 or Enterprise
x64 editions.

64-bit Windows Server 2008 R2, or later Service Pack levels: Standard x64 or Enterprise
x64 editions

Microsoft Visual C++ Requirements


The following prerequisites are also required, and are installed automatically by Data Protection
for Oracle 6.3.0, if not already present on your machine.
Windows x32 platform
32-bit Microsoft Visual C++ 2010 Redistributable Package
x:\oracle\windows\x32\client\setup\ISSetupPrerequisites\{270b0954-35ca-4324-bbc6ba5db9072dad}\vcredist_x86.exe
Windows x64 platform
64-bit Microsoft Visual C++ 2010 Redistributable Package
x:\oracle\windows\x64\client\setup\ISSetupPrerequisites\7f66a156-bc3b-479d-970365db354235cc}\vcredist_x64.exe
The installation package(s) include the above prerequisites and will be installed if they have not
already been installed onto the system. Installation of the these prerequisite may require a
system reboot. To avoid a system reboot, please ensure that these prerequisites are installed
before starting the Data Protection for Oracle installation process.
Additional requirements for the use of TSM Central Scheduling
On 32-bit platforms:
The 32-bit Tivoli Storage Manager Backup-Archive Client 6.3.0, or later
On 64-bit platforms:
The 64-bit Tivoli Storage Manager Backup-Archive Client 6.3.0, or later
Default Installation Path
The 64-bit version of Data Protection for Oracle is installed in the \AgentOBA64 directory under
this base default directory: c:\Program Files\Tivoli\TSM\. For best results, install all Tivoli Storage
Manager products and components into the same base directory. The installation process does
not overwrite the existing dsm.opt (options file), tdpo.opt (configuration file), or log files.

Installing TDP for Oracle

Go to the directory where the set up files are located


(x86): x:\oracle\windows\x32\client\setup
(x86_64): x:\oracle\windows\x64\client\setup

Click OK to start the installation program.


click setup.exe by using Windows Explorer.

Select the required Language

Accept the License Agreement and Click Finish

You can also silently install Data Protection for Oracle by using the Microsoft Installer
program, also known as MSI (msiexec.exe).

Alternatively,

you

can

double-

You must install Data Protection for Oracle from an account that is a member of the local
Administrators group for the computer on which the Oracle server is running.
- See more at: http://www.tsmtutorials.com/2013/11/TDP-oracle-requirements-and-installationprocedure.html#sthash.hvOhlwst.dpuf

If you want to configure IBM Tivoli Data Protection for Oracle to protect your Oracle database,
TDP for Oracle must be first installed on your system and a Tivoli Storage Manager server must
be available to communicate with Data Protection for Oracle. You can perform full or partial,
offline or online backups with Oracle. Once you identify which database to back up, Oracle
locates all necessary files and sends them to the Tivoli Storage Manager server through Data
Protection for Oracle. As a result, Data Protection for Oracle provides an interface between
Oracle Media Management API calls and Tivoli Storage Manager API routines.
You must first register the Oracle machine as a client node in Tivoli Storage Manager Server with
appropriate policy settings. The you need to configure the important TDPO configuration files
such as tdpo.opt, dsm.opt and dsm.sys files in the Client side in order to start protecting the
backup. In this post we will see how to register and define policy settings for TDP oracle node on
TSM server end and then see how to configure those important configuration files from client
end.

On Tivoli Storage Manager Server


1) Define Tivoli Storage Manager Policy Settings for TDP for Oracle
node
Data Protection for Oracle requires special Tivoli Storage Manager policy domain settings. TDP
for oracle uses RMAN utility to take the database backup. RMAN uses the format parameter in
the RMAN script to generate unique backup file names. Because all backup objects inserted into

the Tivoli Storage Manager backup storage pool have unique file names, they never expire on
the Tivoli Storage Manager server.
While defining copy group parameters for TDP Oracle node, the recommended values
for verdeleted and retonly is 0 because when Data Protection for Oracle marks a backup object
inactive, that object is deleted from the Tivoli Storage Manager server the next time expiration
processing occurs. A backup object is marked for immediate expiration when you delete it
through RMAN using the Data Protection for Oracle interface or with the tdposync utility.
The tdposync utility is used to remove unwanted backup objects from the Tivoli Storage
Manager server. Remember that the inactive backup object cannot be restored through RMAN
using the Data Protection for Oracle interface.
The following backup copy group options are not applicable to Data Protection for Oracle. Data
Protection for Oracle accepts default values for these options.

frequency

verexists

retextra

mode

serialization

If you choose to define a new management class within an existing policy domain (not the default
management class for that domain), then you must add an include statement to the Data
Protection for Oracle options file to bind all objects to that management class. It is recommended
to define a new policy for TDP for oracle backup.

2) Register TDP Oracle node on TSM Server


The Data Protection for Oracle node name and password must be registered to the Tivoli
Storage Manager server before you can begin requesting backup and restore services.
You should register TDP Oracle node by specifying backdelete=yes in order for backup objects
to be deleted. If it is not specified and a deletion request is made, the request fails and an error
message displays.
register node tdponode tdpopasswd domain=domainname backdelete=yes maxnummp=2

ON TSM Client side


1) Link library files
After successful installation of TDP for Oracle on your system, make sure you link these both
files as shown below.
$ORACLE_HOME/lib/libobk.a -> /usr/lib/libobk64.a

2) Configure Data Protection for Oracle tdpo.opt file


You must define options to control the way Data Protection for Oracle backs up and restores
data. The Data Protection for Oracle options file, tdpo.opt, contains options that determine the
behavior and performance of Data Protection for Oracle. The only environment variable Data
Protection for Oracle Version 6.3 recognizes within an RMAN script is the fully qualified path
name to the tdpo.opt file. For example
allocate channel t1 type sbt_tape parms
ENV=(TDPO_OPTFILE=/home/rman/scripts/tdpo.opt)
The TDPO_OPTFILE variable must be specified in upper case characters only. If a fully qualified
path name is not provided, Data Protection for Oracle uses the tdpo.opt file located in the Data
Protection for Oracle default installation directory. If this file does not exist, Data Protection for
Oracle fails. By default, the tdpo.opt file is located in the directory where Data Protection for
Oracle is installed.
Change to the /usr/tivoli/tsm/client/oracle/bin64 directory and copy the tdpo.opt.smp file to
tdpo.opt. Edit the tdpo.opt file to include these options
dsmi_orc_config /usr/tivoli/tsm/client/oracle/bin64/dsm.opt
dsmi_log /usr/tivoli/tsm/client/oracle/bin64 (directory with write permissions)
On Windows
dsmi_orc_config C:\Program Files\Tivoli\TSM\AgentOBA\dsm.opt
dsmi_log C:\Program Files\Tivoli\TSM\AgentOBA
optional parameters in this file are tdpo_owner, tdpo_pswdpath, tdpo_node, tdpo_mgmt_class2,
tdpo_mgmt_class3.

3) Configure TSM client option (dsm.sys & dsm.opt) files


You must define some Tivoli Storage Manager options after the Data Protection for Oracle node
is registered to the Tivoli Storage Manager server

These options are defined in the Tivoli Storage Manager client system options file
(dsm.sys by default) and client user options file (dsm.opt by default).

Note that the Tivoli Storage Manager client user options file (dsm.opt by default) that you
must edit for Data Protection for Oracle is located in the directory specified by
the dsmi_orc_config option. If this option is not specified, Data Protection for Oracle
looks for this options file in the Data Protection for Oracle installation directory.

The Tivoli Storage Manager client system options file (dsm.sys by default) must be
located in the directory where the Tivoli Storage Manager API is installed.

Data Protection for Oracle provides sample Tivoli Storage Manager options files that you
can modify for this purpose. These sample files are located in the Data Protection for
Oracle installation directory.

You can also include other Tivoli Storage Manager client options when configuring Data
Protection for Oracle like compression, reduplication and enablelanfree parameters.
Remember that The enablelanfree and deduplication options are mutually exclusive.
Therefore, you can only use either one option or the other, but not both options together.

Go to this directory /usr/tivoli/tsm/client/oracle/bin64 and edit the dsm.opt file to include the
server stanza as shown below
servername tsmserv
Change to the /usr/tivoli/tsm/client/api/bin64 directory and create a symbolic link
to /usr/tivoli/tsm/client/ba/bin/dsm.sys. Edit the dsm.sys file to include another server stanza
with the following options:
SErvername tsmserv
COMMMethod TCPip
TCPServeraddress x.x.x.x
PASSWORDAccess generate
passworddir /home/<oracle user>
nodename TDPONodeName
Make sure the Oracle user has the following permissions

Read (r) permission to the /usr/tivoli/tsm/client/oracle/bin64


and /usr/tivoli/tsm/client/api/bin64 directories.

Read permission (r-) to the tdpo.opt, dsm.opt, and dsm.sys files located in the
/usr/tivoli/tsm/client/oracle/bin and /usr/tivoli/tsm/client/api/ bin directories.

4) Initializing Password for TSM Server authentication


Finally, The administrator must run the tdpoconf utility program to set the password before using
Data Protection for Oracle. The utility uses the tdpo.opt file in the installation directory to
centralize information for setup purposes. This utility helps to authenticate TDPO node password
with TSM server and also to check the connection settings between TDPO node and TSM server.
Use the tdpoconf password command to create a new password or change an existing password
on the Tivoli Storage Manager server. There are two different scenarios you can use this
password command with passwordaccess parameter in dsm.sys file. For example
passwordaccess prompt
Run the tdpoconf password command as the root user. This command creates an encrypted
password file, TDPO.Nodename. This file is located in the directory specified by
the tdpo_pswdpath option. If the tdpo_pswdpath option is not specified, the TDPO.Nodename
file is placed in the Data Protection for Oracle installation directory. Make sure that the
TDPO.Nodename file can be read by the Oracle user that performs the backup. The Nodename
value will be the value specified by the tdpo_node option in the Data Protection for Oracle
options file specified with the TDPO_OPTFILE variable.
passwordaccess generate

Run the tdpoconf password command as the Oracle user. The password is placed in the
file, TSM.PWD, and is owned by the Oracle user. This TSM.PWD file is created in the directory
specified by the passworddir option defined in the dsm.sys file. Do not specify the tdpo_node
option in the tdpo.opt file. Data Protection for Oracle uses the value of the nodename option
specified in the dsm.sys file. If the tdpo_pswdpath option is specified in the tdpo.opt file, it is
ignored.
Change to the /usr/tivoli/tsm/client/oracle/bin64 directory and run the tdpoconf password
command as Oracle user to generate the password file.
tdpoconf password
Showenvironment command
Use the showenvironment command to query the Tivoli Storage Manager server using the
options set in TDPO_OPTFILE, the tdpo.opt file in the default installation directory, or the
default values set by Data Protection for Oracle. The screen output displays information about
the Tivoli Storage Manager API and Tivoli Storage Manager server. This command is useful
when troubleshooting Data Protection for Oracle setup. If, for example, the password file is not
initialized properly, tdpoconf showenvironment reports this error immediately and prevents
complications that can arise if this error were to go undetected.
Run the tdpoconf showenvironment command to confirm proper configuration.
tdpoconf show environment

5) Backup and Restore using TDP for Oracle


5.1) The Oracle user should invoke RMAN to back up and restore an Oracle database by using
this command.
$> rman target xxx/yyy@target rcvcat aaa/bbb@catalog
cmdfile bkdb.scr msglog bkdb.log
RMAN creates a log file (bkdb.log) in the current working directory. If an error occurs, you will see
the error stack in the log file
5.2) To take the Oracle database backup as Oracle user, run your RMAN backup script with
the ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt) parameter specified.
For example:
run {
allocate channel t1 type sbt_tape parms
ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt);
allocate channel t2 type sbt_tape parms
ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt);
backup
filesperset 5
format df_%t_%s_%p
(database);
}
This backup script allocates two parallel connections to the Tivoli Storage Manager server. The
Tivoli Storage Manager server views these connections as two separate sessions.

5.3) To restore a backup, As Oracle user, run your RMAN restore script with the
ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)
run
{
allocate channel t1 type sbt_tape parms
ENV=(TDPO_OPTFILE=/home/oracle/tdpo.opt);
allocate channel t2 type sbt_tape parms
ENV=(TDPO_OPTFILE=/home/oracle/tdpo.opt);
restore database;
recover database;
alter database open;
}
On windows
Instead of /usr/tivoli/tsm/client/oracle/bin64/tdpo.opt use
C:\Program Files\Tivoli\TSM\AgentOBA\tdpo.opt
- See more at: http://www.tsmtutorials.com/2013/11/backup-and-restore-oracle-database-usingtdp-for-oracle.html#sthash.Ak3ZKcjI.dpuf

IBM Tivoli Data Protection for Oracle provides 3 utilities to troubleshoot the problems or issues
faced during oracle backup/restore processes. You can use these utilities to configure and and
also maintain Data Protection for Oracle. These utilities are located in the directory where Data
Protection for Oracle is installed.

Tivoli Data Protection for Oracle Utilities

Use the tdpoconf (password & showenvironment) utility for password maintenance and
general Data Protection for Oracle setup and maintenance.

Use the tdposync utility to delete the Oracle backups on the Tivoli Storage Manager
server, which are not in the RMAN catalog or Oracle control file. You can use this utility
when backups have not been deleted from the Tivoli Storage Manager server for
various reasons.

Use the tdposync query utility to query backed up objects on the Tivoli Storage
Manager server.

1) Tdpoconf password
When you have password related issues you can create a new password or change an existing
password on the Tivoli Storage Manager server by using this utility.
tdpoconf password

2) Tdpoconf showenvironment
Use the showenvironment command to query the Tivoli Storage Manager server using the
options set in TDPO_OPTFILE. If the password file is not initialized properly, tdpoconf
showenvironment reports this error immediately and prevents complications that can arise if
this error were to go undetected.
tdpoconf showenvironment

3) Tdposync
The tdposync utility checks for items on the Tivoli Storage Manager server that are not in the
RMAN catalog or Oracle control file. With this utility, you can repair these discrepancies between
the Tivoli Storage Manager server and the RMAN catalog or Oracle control file. Running this
command will open a "pick window" where you can select the database objects for deletion
manually.
Syncdb command
This command synchronizes Oracle catalog databases or the Oracle control file with the Tivoli
Storage Manager server.
tdposync syncdb
Query command
Use this command to query the Tivoli Storage Manager server for information about objects that
have been backed up. You can obtain information such as whether an object has been
compressed, encrypted, or deduplicated by the client during a backup operation.
tdposync query
All these utilities requires the options set in the -TDPO_OPTFILE parameter, the tdpo.opt file in
the default installation directory, or the default values set by Data Protection for Oracle to query
the Tivoli Storage Manager server.

Removing old backups Manually


Data Protection for Oracle uses the Tivoli Storage Manager server storage to store the oracle
database backups. Each database backup creates a new object with a unique name. Since
these objects have unique names, they always remain active and never expire. This allows the
Database Administrator (DBA) to control and coordinate copies removed from the Tivoli Storage
Manager server with RMAN.
The Tivoli Storage Manager administrator must specify backdelete=yes when registering your
node in order for you to be able to delete backup objects. Make sure to use the
same tdpo.opt file that was used for the original backup. This enables the backup objects to be
found on the Tivoli Storage Manager server. To remove an old backup, issue this command from
the RMAN prompt
run
{
allocate channel for delete type sbt_tape parms
ENV=(TDPO_OPTFILE=/home/oracle/tdpo.opt);

change backupset <backupsetnumber> delete;


}

Troubleshooting Common problems in TDP for


Oracle
If you face any issue during backing up oracle database or during connecting to TSM server
using TDP for oracle, do the following steps.

Run the tdpoconf utility showenvironment command to collect information on your


options file (TDPO_OPTFILE=). It is a good practice to send the output to a separate
file by specifying (outfile=).

If the above command ran successfully, check its output to see if the setup worked as
expected.

If the above command failed, check the tdpoerror.log and dsierror.log files. The
tdpoerror.log is a log file created in the installation directory by default. The dsierror.log is
generated by the Tivoli Storage Manager API when a problem occurs with the Tivoli
Storage Manager API setup.

Fix the problem shown in those log files and run the tdpoconf utility again.

The most common problems are password authentication issues, important configuration
files read/write permissions and error log read/write permissions to the authorized user.

From the TSM server end, check the activity log for more information. Change in the
client node mount point definition settings can also lead to client backup failures.

If you still dont know how to troubleshoot it, raise the IBM PMR support request by
gathering all the required information.

- See more at: http://www.tsmtutorials.com/2013/11/troubleshooting-tdp-for-oracle-backup-andconnection-problems.html#sthash.DrIdC0bI.dpuf

Você também pode gostar