Null
Null
SC33-6340-05
IBM Tivoli Storage Manager for Enterprise Resource
Planning (5608–APR) V.5.3.
SC33-6340-05
Note!
Before using this information and the product it supports, be sure to read the general information under
“Notices” on page xi.
iv Data Protection for mySAP Installation & User’s Guide for Oracle
Tivoli Storage Manager Clients on Windows Sample TSM Profiles for Windows . . . . . . 160
Systems . . . . . . . . . . . . . . 148 Client User Options File Sample (dsm.opt) . . 160
Password Handling . . . . . . . . . . . 149 Client Options Files Sample (<server>.opt) . . 160
| Password Configuration Matrix ( UNIX or Include/Exclude List Sample . . . . . . . 162
| Linux ) . . . . . . . . . . . . . . 150
Password Configuration Matrix (Windows) . . 151 Appendix I. Hints and Tips for SAP
Backup Utilities . . . . . . . . . . 163
Appendix G. Backup Scheduling Hints and Tips for BRARCHIVE . . . . . . . 163
Examples . . . . . . . . . . . . . 153 Hints for BRARCHIVE Version 3.1G or Higher . . 166
UNIX or Linux Crontab Example . . . . . .
. 153 Examples Using MAX_SESSIONS and
| Elements of Backup Schedules for UNIX or Linux 153 REDOLOG_COPIES . . . . . . . . . . . 166
Crontab File Sample . . . . . . . . . . 153 mySAP Backup and Recovery Scenarios Using
Full Offline Backup Shell Script Sample . . . 154 Data Protection for mySAP . . . . . . . . . 167
Save and Delete Redo Logs Shell Script Sample 155 Backup Scenarios . . . . . . . . . . . 168
Windows Scheduling Example. . . . . . . . 155 Restore/Recovery Scenario . . . . . . . . 172
Elements of Backup Schedules for Windows . . . 156
Schedule Batch Sample . . . . . . . . . 156 Appendix J. Hints and Tips for
Full Offline Backup Batch File Sample . . . . 156 Network Settings . . . . . . . . . . 177
Save and Delete Redo Logs Batch File Sample 157
Networks with Large Bandwidth-Delay Product 177
SP Switch (RISC 6000) . . . . . . . . . . 178
Appendix H. Sample Tivoli Storage Network Settings of the Tivoli Storage Manager 178
Manager Profiles . . . . . . . . . . 159
| Sample TSM Profiles for UNIX or Linux . . . . 159 Glossary . . . . . . . . . . . . . 179
Client User Options File Sample (dsm.opt) . . 159
Client System Options File Sample (dsm.sys) 159
Index . . . . . . . . . . . . . . . 183
Include/Exclude List Sample . . . . . . . 159
Contents v
vi Data Protection for mySAP Installation & User’s Guide for Oracle
Figures
1. DP for mySAP with SAPDBA using the BACKINT Interface . . . . . . . . . . . . . . . . . 3
2. DP for mySAP with SAPDBA using the RMAN Interface . . . . . . . . . . . . . . . . . . . 4
3. Backup Scenarios Within a mySAP Oracle Environment . . . . . . . . . . . . . . . . . . . 7
4. Production Backup Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
5. Scope of Data Protection for mySAP . . . . . . . . . . . . . . . . . . . . . . . . . 13
6. Integration of Data Protection for mySAP with SAP . . . . . . . . . . . . . . . . . . . . 14
7. Data Transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
8. Data Transfer for a Backup / Restore . . . . . . . . . . . . . . . . . . . . . . . . . 38
9. Multiplexing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
10. Parallel (Multiple) Sessions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
11. Parallel (Multiple) Paths . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
12. Multiple Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
13. Null Block Compression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
14. Sample Environment for HACMP Takeover . . . . . . . . . . . . . . . . . . . . . . . 45
| 15. File Manager — Result of an Inquiry Procedure . . . . . . . . . . . . . . . . . . . . . 56
16. File Manager — Result of an Inquiry Procedure Showing File Names . . . . . . . . . . . . . . 56
17. File Manager — Result of a Redirected Restore Procedure . . . . . . . . . . . . . . . . . . 58
| 18. Example of a mySAP Landscape . . . . . . . . . . . . . . . . . . . . . . . . . . 60
| 19. Optimizing your Configuration with the Administration Assistant . . . . . . . . . . . . . . . 69
| 20. Optimizing your configuration with the AA (Bird’s Perspective) . . . . . . . . . . . . . . . . 70
| 21. Performance Optimizing by Using Sensors . . . . . . . . . . . . . . . . . . . . . . . 70
| 22. Showing Data Throughput and I/O Utilization . . . . . . . . . . . . . . . . . . . . . 71
| 23. Indicating a Disk Bottleneck . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
| 24. Indicating a Network or TSM Bottleneck . . . . . . . . . . . . . . . . . . . . . . . . 73
| 25. Indicating a Balanced Configuration . . . . . . . . . . . . . . . . . . . . . . . . . 74
| 26. Drilling Down: Replay Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
27. SAP and Data Protection configuration files on UNIX or Linux . . . . . . . . . . . . . . . . 124
28. Problem Isolation for Backint . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
29. Problem Isolation for RMAN . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
IBM may have patents or pending patent applications covering subject matter in
this document. The furnishing of this document does not give you any license to
these patents. You can send license inquiries, in writing, to
IBM Director of Licensing
IBM Corporation
North Castle drive
Armonk, NY 10504-1785
U.S.A
Any references in this information to non-Tivoli or non-IBM Web sites are provided
for convenience only and do not in any manner serve as an endorsement of those
Web sites. The materials at those Web sites are not part of the materials for this
product and use of those Web sites is at your own risk.
If you are viewing this information in softcopy form, the photographs and color
illustrations may not appear.
Licensees of this program who wish to have information about it for the purpose
of enabling: (i) the exchange information between independently created programs
and other programs (including this one) and (ii) the mutual use of the information
which has been exchanged, should contact:
IBM Deutschland Informationssysteme GmbH
Department 0215
Pascalstr. 100
70569 Stuttgart
Germany
Solaris, Java and all Java-based trademarks and logos are trademarks or registered
trademarks of Sun Microsystems, Incorporated, in the United States, other
countries, or both.
UNIX is a registered trademark of The Open Group in the United States and other
countries.
Microsoft, Windows, Windows NT, and Windows 2000 are registered trademarks of
Microsoft Corporation in the United States, other countries, or both.
Other company, product, and service names may be trademarks or service marks
of others.
Note
Unless otherwise stated, references in this publication to UNIX apply to all
supported UNIX-based systems as well as to Linux, and references to
Windows® apply to all supported Windows platforms.
xii Data Protection for mySAP Installation & User’s Guide for Oracle
Preface
Who Should Read This Book
This manual is intended for system programmers and administrators who are
responsible for implementing a backup solution in a mySAP environment using
the Tivoli Storage Manager. It describes the procedures needed to install and
customize Data Protection for mySAP, the interface between mySAP and the Tivoli
Storage Manager. The reader should be familiar with the documentation for
mySAP, Tivoli Storage Manager and Oracle.
If you are a person experienced in data protection, you might want to skip
chapters 1 and 2, however you may want to browse chapter 3 for new functions.
The information given in part 2 is for system programmers and administrators
who know how Data Protection for mySAP is embedded in a comprehensive data
protecting system.
If you are a data protection novice, you might want to start reading the
publication from part one on. This way you get introductional information of what
protecting your data means and what needs to be considered while setting up a
data protection system.
Note:
The most up-to-date version of this book is available in the Tivoli Information
Center at http://www.ibm.com/software/tivoli/library.
Oracle also provides its own administration utility RMAN (Recovery MANager)
which is of specific value when incremental backups are required. Data Protection
| for mySAP is seamlessly integrated with the BRTOOLS and Oracle’s RMAN and is
optimized to handle unattended, 24 hour, 7 days/week production backup/restore
tasks.
| The BRTOOLS use tables in the Oracle database and system data in order to record
the status of the data file backups and logfile backups. This information will allow
mySAP to restore automatically the correct data files and their specific database
transaction log files (redo log files), if necessary. The data files reside in the Oracle
database (Oracle Instance). Data Protection for mySAP runs as a separate process,
independently from the database. It receives the data through the Backint interface
and saves the data to the Tivoli Storage Manager.
| The BRTOOLS use tables in the Oracle database and system data in order to record
the status of the data file backups and logfile backups. This information will allow
mySAP at a later time to restore automatically the correct data files and their
specific database transaction log files. The data files reside in the Oracle database
(Oracle Instance). Data Protection for mySAP runs as a separate process,
independently from the database. It receives the data through the Backint interface
and saves the data to the Tivoli Storage Manager.
4 Data Protection for mySAP Installation & User’s Guide for Oracle
Chapter 2. Developing a Backup Strategy
This chapter helps you define an appropriate backup strategy for your mySAP
system. If you already have a successful backup strategy in place you may want to
move on to the next chapter.
The strategy you choose is dependent on your specific requirements. Consider the
following questions:
v What type of events do you wish to protect your mySAP system against?
v How large is your database?
v What is the transaction rate of your database?
v How fast do you need to recover from a failure?
v What backup windows are available?
Data Protection for mySAP lets you back up mySAP database data using the SAP
backup interface BACKINT directly to Tivoli Storage Manager storage. However,
these backups, which use the SAP database utilities BRBACKUP and BRARCHIVE,
are only backups of the database or the offline redo logs.
Hence, to protect your complete system against failures affecting SAPDBA or other
mySAP system data, you should use standard Tivoli Storage Manager commands or
the Tivoli Storage Manager graphical user interface (GUI) to additionally backup
| these system data.
This will allow you to start your system from the backup medium. Base backups
should include a configured TCP/IP environment as well as the Tivoli Storage
Manager client including the API in order to be able to restore all user dependent
data.
Online redo logs are saved by BRBACKUP whenever a full offline database backup
occurs.
Note
Oracle provides mirroring of the control and online redo log files to protect
the running database system against corruption of these active files. (The AIX
LVM facilities can also be used to mirror these files.)
Offline redo logs are saved by BRARCHIVE. You can specify that the redo logs are
to be deleted from their original location when BRARCHIVE completes
successfully. Additional information on BRARCHIVE operations can be found in
Appendix I, “Hints and Tips for SAP Backup Utilities,” on page 163.
Apart from backing up all database relevant data (data files, control file, online
redo log files, and offline redo log files) it is also recommended that you back up
v SAP system data
v Oracle system data
v Operating system data
This data should be backed up with the incremental backup function of the Tivoli
Storage Manager backup-archive client.
Figure 3 on page 7 shows the various backup scenarios within a mySAP database
server machine.
6 Data Protection for mySAP Installation & User’s Guide for Oracle
Figure 3. Backup Scenarios Within a mySAP Oracle Environment
The database itself is backed up with Data Protection for mySAP, whereas the SAP,
Oracle and operating system protocols are backed up directly by the Tivoli Storage
Manager.
UNIX or Linux
Windows
The Tivoli Storage Manager incremental backup function lets you define an
include-exclude list of files that is applied automatically during incremental backup
operations. This include-exclude list should be used to exclude data already stored
using Data Protection for mySAP. This would be all database relevant data, such as
data files, the control file, and online/offline redo logs. For further information
about include-exclude lists, see your Tivoli Storage Manager manuals, Using the
| Backup-Archive Clients. Examples of include-exclude lists for UNIX or Linux can be
found in “Sample TSM Profiles for UNIX or Linux” on page 159 and for Windows
in “Sample TSM Profiles for Windows” on page 160.
The information saved with the BRBACKUP and BRARCHIVE utilities is usually
located in the following file systems or directories:
8 Data Protection for mySAP Installation & User’s Guide for Oracle
UNIX or Linux
/oracle/<SID>/saparch/
/oracle/<SID>/sapdata1/
/oracle/<SID>/sapdata2/
/oracle/<SID>/sapdata3/
/oracle/<SID>/sapdata4/
/oracle/<SID>/sapdata5/
/oracle/<SID>/sapdata6/
.
.
.
/oracle/<SID>/origlogA/
/oracle/<SID>/origlogB/
Windows
<drive>:\oracle\<SID>\saparch\
<drive>:\oracle\<SID>\sapdata1\
<drive>:\oracle\<SID>\sapdata2\
<drive>:\oracle\<SID>\sapdata3\
<drive>:\oracle\<SID>\sapdata4\
<drive>:\oracle\<SID>\sapdata5\
<drive>:\oracle\<SID>\sapdata6\
.
.
.
<drive>:\oracle\<SID>\origlogA\
<drive>:\oracle\<SID>\origlogB\
Add these directories to the list of paths to be excluded in the include-exclude list
of your Tivoli Storage Manager backup-archive client. This will prevent you from
saving the database data twice.
Scheduling Products
There are several products that can be used to set up a schedule, for example:
v SAP scheduler (CCMS)
| v UNIX or Linux crontab / Windows scheduler
v Tivoli Storage Manager scheduler
v IBM Tivoli Workload Scheduler
SAP Scheduler
Within mySAP , the Computer Center Management System (CCMS) provides a
scheduler for database administration and backup planning on a single database
server. The scheduler can be started from the SAPGUI command line (transaction
code db13) or with the SAPGUI menu functions (Tools -> CCMS -> DB
administration -> DBA scheduling).
Schedule definition work can be done quickly using the GUI based Tivoli Storage
Manager Web administrative client.
This example of automated backup operations shows the following typical tasks
v Full database backup, e.g., offline or without application load, performed each
night.
v Offline redo logs backed up to disk during online hours. This has the advantage
of eliminating the need for extra tape mounts for relatively small files.
10 Data Protection for mySAP Installation & User’s Guide for Oracle
Note
Backups can be performed to disks as well as to tape environments. Tivoli
Storage Manager will manage the data regardless of the storage media.
However, it is recommended that the mySAP database is directly backed
up to tape.
v Within Tivoli Storage Manager, archived log files are migrated from disk to tape
after the full database backup.
v SAP system files are backed up incrementally with the Tivoli Storage Manager
backup-archive client.
v The last backup in the daily cycle is the backup of the Tivoli Storage Manager
database. This should always be done.
| Data Protection for mySAP together with Tivoli Storage Manager provides a
| reliable, high performance, and production-oriented solution that allows you to
| backup and restore your Oracle-based mySAP systems. It is integrated with SAP’s
| backup and recovery utilities SAPDBA, BRBACKUP, BRARCHIVE, BRRESTORE,
| and BRRECOVER, and allows you to follow SAP’s backup and recovery
| procedures. Being optimized for mySAP databases, Data Protection for mySAP
| allows you to manage large volumes of data most efficiently.
|
Scope of Data Protection for mySAP
The SAP utilities for backup and recovery of mySAP databases are focused on the
database objects, where over 90 % of the data on an SAP database server reside.
Thus Data Protection for mySAP will be used for backup and restore of data files,
control files, and online and offline redo logs. (See Figure 5).
Other files such as SAP and Oracle executables can be backed up using the Tivoli
Storage Manager backup-archive client. As a consequence, in the case of a disaster
recovery, you have to make sure that all Oracle and SAP executables are available
before starting restore and recovery of your database using the Data Protection for
mySAP and the SAP utilities.
It provides you with two different adapters supporting different backup and
recovery scenarios:
v backint: an executable that is called directly by SAP. It can be used to perform
full online and offline backups as well as backups of control and redo log files.
v a shared library that is dynamically linked by Oracle’s RMAN (an executable
installed during the Oracle database installation). If a backup is performed using
this library SAP does not communicate with Data Protection for mySAP directly.
It communicates through Oracle’s RMAN process instead. When using RMAN
and this shared library you can perform incremental database backups.
You can configure SAP such that it uses only ″backint″ but you can never
configure it to use only RMAN: backint is always used for the backup of control
and redo log files.
Both adapters - backint and the media management library for Oracle - share a
configuration file init<SID>.utl, which describes how to perform backups and
restores, and which can be used to customize Data Protection for mySAP to your
environment and according to your needs. Both adapters communicate with the
TSM server through an API that is shared with other IBM Tivoli Data Protection
products, and both require that ProLE - a background process that is part of the
Data Protection for mySAP package - is running.
14 Data Protection for mySAP Installation & User’s Guide for Oracle
The Data Protection for mySAP package contains an additional (optional)
component - the Administration Assistant - aimed at increasing the administrator’s
productivity. The functionality covers configuring a DP for mySAP instance, data
| transfer performance monitoring, analysis, and simulation, and monitoring of
| success and failure of backup/restore operations. It allows you to monitor and
| administer all of your Data Protection for mySAP instances remotely.
Note
In SAP terminology ’backup’ means backup of data files, ’archive’
| (BRArchive) means the backup of archived redo log files. DP for mySAP
employs the TSM archive function for both backup types.
It is highly recommended to use tape storage for the database contents, as this has
consistently proven to provide the best data throughput for backup and restore. In
addition the files sequence from backup is then maintained for restore as well,
which will yield shortest possible restore windows.
For backing up log files it is recommended to use a disk-tape storage hierarchy
and to backup each log file right after it is placed into the archive directory. This
yields the best protection against data loss and eliminates the necessity to mount a
tape for each 20 MB file.
Collocation is a function in TSM to ensure that client data is kept together on one
tape. We recommend to deactivate collocation for backups with DP for mySAP in
order to enable parallel sessions to use multiple tape drives in parallel. Collocation
must also be deactivated in order to use the multiple log copy function, see
“Multiple Redo Log Copies” on page 17.
Views of backups on the TSM server can be generated by the SAP administration
tools either by using their own local (detailed) backup log or by inquiring the TSM
server through DP for mySAP. Manual access to the backup repository is provided
through a specific File Manager -backfm - shipped with DP for mySAP. It allows
the administrator to bypass the SAP tools to inquire, delete and restore backups /
files.
Note
DP for mySAP can be configured to use multiple TSM servers to improve
either availability (alternate servers) or performance (multiple servers). DP for
mySAP accesses only the servers defined in its profile when inquiring for the
backup repository. Therefore care has to be taken when removing TSM
servers from the DP for mySAP profile while they still hold valid backup
data.
Note: Since the SAP backup log cannot be updated by DP for mySAP , it may still
contain old backups although they are already deleted (expired).
Multiplexing
Multiplexing allows you to simultaneously transfer data from different files
through one session (MULTIPLEXING ) in order to maximize tape performance.
This is useful since tape drives often have higher data transfer rates than the disks
containing the tablespaces of your SAP database. Note that most customers
combine multiplexing and parallel sessions to optimize their overall backup and
restore performance. For more information see on page 88.
Disk Sorting
Data Protection for mySAP deploys Adaptive File Sequencing to minimize the
backup window. It sorts database files in order to avoid simultaneous reading of
files located on the same disk.
Note: Some storage subsystems hide the information required by file sorting. In
order to still provide this sorting function, you can supply the file location
information manually by specifying a manual sort file (SORT_FILE). For more
information see on page 91.
16 Data Protection for mySAP Installation & User’s Guide for Oracle
network connections between the SAP database host and the TSM server, you can
configure Data Protection for mySAP to balance network traffic across all available
network connections to the TSM server. For details see “Multiple Network Paths”
on page 40 and “Multiple Servers” on page 40.
| Incremental Backup
Data Protection for mySAP supports incremental RMAN-backup of an SAP
database. Depending on the system environment, this may result in decreased
backup times.
RL Compression
RL Compression is a fast and very effective mechanism to compress a partially
filled database. For such a database you can reduce network traffic, decrease the
number of tapes required for a backup, and reduce the impact of network induced
bottlenecks. For more information see “Compression” on page 41.
Messaging
| You can establish policies that trigger Data Protection for mySAP to send different
| classes of log messages to a TSM server.
Frontend/Backend Processing
Data Protection for mySAP allows you to register applications that are executed
before starting a backup/restore operation and after it has completed. For more
information see on pages 84 and 86.
Reporting
Data Protection for mySAP can be configured to produce a report at the end of a
backup. This report provides statistical information such as the number of bytes
that are transferred through the network and the effective data throughput. During
a backup or restore it calculates and displays an estimated end time of the
operation.
By using the Administration Assistant contained in the Data Protection for mySAP
package you are provided with detailed performance reports, that help you to
optimize your systems. In addition you can retrieve backup status informations
such as success or failure of a backup across all of your SAP instances. For more
information see on page 89.
Performance Analysis
| The Administration Assistant contained in the Data Protection for mySAP package
| provides performance data for all components involved in the data transfer. It
| supports the analysis of performance information with graphical representations
| that help to locate bottlenecks and to exploit resources efficiently. For more details,
| see Chapter 9, “Balancing Your System,” on page 69.
| The Administration Assistant contained in the Data Protection for mySAP package
| supports the simulation of both backup and restore operations. This way, the
18 Data Protection for mySAP Installation & User’s Guide for Oracle
| effects of configuration changes as well as the restore of a production backup can
| be tested without compromising the productive system. For more details,
| seeChapter 9, “Balancing Your System,” on page 69.
Tracing
Data Protection for mySAP can write trace information into a file to help analyze
problems. You should contact your DP for mySAP support before you use this
function.
More information on Data Protection for IBM ESS for mySAP can be found at:
http://www.ibm.com/software/tivoli/products/storage-mgr-hardware/.
More information on the IBM Enterprise Storage Server can be found at:
http://www.storage.ibm.com/disk/ess/index.html/ess.htm.
Another IBM product, DB2 CommonStore for SAP1 connects with the SAP interface
’ArchiveLink’ using TSM as an external archive for
v inactive data (data retention)
v printlists (e.g. reports)
v outgoing documents (e.g. printed output like invoices, bills)
v incoming documents (e.g. digitized fax, scanned letters, audio)
v local documents (e.g. text, spreadsheets, pictures, graphics)
1. Note, that the product named ’DB2 CommonStore for SAP’ is database independent and therefore can also be used with Oracle.
Thus TSM can be used as an integrated repository for backups and for archived
information.
20 Data Protection for mySAP Installation & User’s Guide for Oracle
Part 2. Installing and Using
Data Protection for mySAP can be installed and operated for mySAP systems with
Oracle databases employing a standard file system or raw logical volumes.
| There are only small differences between the UNIX or Linux and Windows
| versions of Data Protection for mySAP. One of these differences is that UNIX or
| Linux uses the path separator ″/″ compared with ″\″ for Windows and that the
| drive letter is specified for Windows. Non-trivial differences between the UNIX or
| Linux and Windows versions of Data Protection for mySAP will be mentioned
explicitly.
| For information on configuration of the Tivoli Storage Manager API client, refer to
| Appendix F, “Preparing Tivoli Storage Manager for DP for mySAP,” on page 143.
| For DP for mySAP, the Tivoli Storage Manager API Client will be installed with the
| DP for mySAP package.
TCP/IP must be ready for communication between the Tivoli Storage Manager
server and the Tivoli Storage Manager client.
24 Data Protection for mySAP Installation & User’s Guide for Oracle
Administration Assistant” on page 42.
For more information on the Administration Assistant, refer to Chapter 8,
“Installing and Using the Administration Assistant for Data Protection for
mySAP,” on page 59.
v Administration Assistant server port. Port the Administration Assistant server is
listening to for connect requests from Data Protection for mySAP. If the
Administration Assistant server was started with the default parameters the port
number is 5126.
After you have ensured that all prerequisites have been met and the installation
planning steps were followed, the installation process can begin. This includes:
1. Installing the software
2. Performing post-installation steps
3. Verifying the installation with a backup and restore run
Initial Installation
Initial installations must always be done from the Data Protection for mySAP
CD-ROM. Refer to the file README.1st in the root path for information on where to
find documents on your CD-ROM, and follow the appropriate installation
description below.
| When you invoke the file, you will be guided through the Data Protection for
| mySAP setup procedure. To ensure that the setup procedure is carried out
| properly, read the following description carefully and follow the guidelines on the
| panels that are displayed during setup.
After the installation, the following files are available on your system:
v In the installation path of DP for mySAP:
backint
ProLE
createinfo
backfm
initSID.bki
libtdp_r3.<ext>
archive.ksh
backup.ksh
crontab.sample
dsm.opt
dsm.sys
gensortfile.sh
inclexcl.list
README
26 Data Protection for mySAP Installation & User’s Guide for Oracle
RELNOTE
TIPHINTS
a folder named _uninst is created, which contains several files.
v The DP for mySAP configuration files under the SAP directories (typically,
/oracle/SID/dbs) are as follows:
init<SID>.utl, where ’SID’ is replaced by the Oracle database SID provided
during installation
init<SID>.bki, where ’SID’ is replaced by the Oracle database SID provided
during installation
agent.lic (Only after installation from CD-ROM, this is not contained in the
web package).
| Depending on whether DP for mySAP was obtained from a CD or from the web,
| the name of the single executable file differs.
| v If obtained from a CD, the name is:
| install_tdpr3_ora_win_<32bit|64bit>.exe
| v if obtained from the web, the name is:
| web_tdpr3_ora_win_<32bit|64bit>.exe
After the installation, the following files are available on your system:
v In the installation path of DP for mySAP:
backint.exe
createinfo.exe
ProLE.exe
orasbt.dll
backfm.exe
archive.cmd
backup.cmd
dsm.opt
server_a.opt
server_b.opt
Post-Installation Steps
After successfully completing the installation dialog for DP for mySAP, you need
to perform the following steps in order to get a properly running system:
1. review the TSM Option file
2. set the password (initial password)
3. verify the installation
| On UNIX or Linux the TSM server definition is typically done in the TSM client
system options file (dsm.sys). The server stanza specified in dsm.sys must match
the entry in init<SID>.utl.
On Windows you have to define a client options file <servername>.opt. This file
must be in the same directory where dsm.opt is located. <servername> is the name
you specified in init<SID>.utl.
To be able to work with DP for mySAP, you have to provide DP for mySAP with
the password for the TSM node.
This is a manual step on the shell:
v Log on as Oracle user.
v Enter the following command
for Windows:
28 Data Protection for mySAP Installation & User’s Guide for Oracle
backint -p <full path to UTL file>\init<SID>.utl -f password
To carry out online backups with individual tablespace locking with the external
backup program DP for mySAP, the SAP Backup profile parameter must be set
or changed as shown below:
The question mark is the official Oracle substitute symbol for the home directory
of the database system. This is specified in the environment variable
ORACLE_HOME.
The @ is the official Oracle substitute symbol for the home directory of the
database system. This is specified in the environment variable ORACLE_SID.
To verify and test the installation, it is recommended that you try out a small
backup procedure (tablespace backup) using SAPDBA and start a full online or
offline backup using BRBACKUP as shown below.
brbackup -c -t online
brbackup -c -t offline
For backup tests, the SAP database utilities SAPDBA, BRBACKUP, and
BRARCHIVE should be used. For restore or recovery it is recommended that only
SAPDBA or BRRECOVER is used.
| In order to verify the TSM API installation, submit the following command and
| check the correct system reply:
| v AIX 32 bit: :lslpp -l tivoli.tsm.client.api
| v AIX 64 bit: :lslpp -l tivoli.tsm.client.api.64bit
| both versions should respond with
| tivoli.tsm.client.api <version> COMMITTED TSM Client - Application
| Programming Interface
| v Linux: rpm -q TIVsm-API
| should respond with:
| TIVsm-API-<version>
| v Solaris: pkginfo TIVsmCapi
| should respond with:
| application TIVsmCapi Tivoli Storage Manager Solaris <version> API Client
| v HP-UX: swlist TIVsm.CLIENT_API
| should repond with:
| TIVsm.CLIENT_API 5.3.X TSM API Client Files <files>
30 Data Protection for mySAP Installation & User’s Guide for Oracle
Upgrading (Migration)
| Note: If DP for mySAP was obtained for migration from the web, the name of
| the single executable file starts with ’web’.
| If it was obtained from a CD, the name starts with ’install’.
| See “Installing Data Protection for mySAP on AIX, HP-UX, Linux,
| Solaris” on page 25 or “Installing Data Protection for mySAP on
| Windows” on page 27 respectively.
2. Check the release notice (file RELNOTE) for incompatibilities between your
installed version and the new version. Make sure, that data backed up with an
older version of Tivoli Data Protection for R/3 or DP for mySAP can still be
restored with the version you are going to install.
v Data that was backed up with Tivoli Data Protection for R/3 Version 2.7
must be restored with Tivoli Data Protection for R/3 Version 3.1 or Version
3.2.
v Data that was backed up with Tivoli Data Protection for R/3 Version 3.1 or
Version 3.2 or Data Protection for mySAP.com Version 3.3 can be restored
with Data Protection for mySAP.com Version 3.3. or higher.
3. Make sure that the requirements for the new version of DP for mySAP are met.
For details, see“Prerequisites for the Installation of Data Protection for mySAP”
on page 23.
4. Get or retrieve planning information. For details, see “Installation Planning for
Data Protection for mySAP” on page 24.
5. We recommend a full backup of the SAP database before upgrading to the new
version.
6. Uninstall the old version. For the uninstallation procedure, see “Uninstalling
Data Protection for mySAP” on page 32.
7. Install the new version of DP for mySAP. For details, see “Installing Data
Protection for mySAP” on page 25.
8. Verify the installation. For details, see “Verifying the Installation” on page 29.
9. We recommend a full backup after upgrading to the new version.
Special Installation
Silent Installation
Installation can be done from the command line. For a preparation for silent
installation, you have to record the installation options. This can be done by:
install_tdpr3_ora_<operating system> -options-record <filename>
This creates an options file that can be checked easily and can be modified to be
| used for an installation on various systems.
To do a silent installation, the install package must be called with the recorded
options file:
install_tdpr3_ora_<platform> -options <filename> -silent
Console Installation
To support target systems without a window manager, the setup program supports
deploying an installation in console mode. An installation running in console mode
suppresses the graphical wizard panel display available with a GUI installation.
Instead, user data entry and status messages are displayed on the console or
command prompt window.
In addition, you can also record the installation options in a file. You do this by
issuing following command:
| install_tdpr3_ora_<platform> -options-record <filename> -is:javaconsole -console
Firewall Installation
If you need to install DP for mySAP remotely through a firewall and if the TCP
port for X11 communication is not enabled, use the console installation as
described above in “Console Installation.”
32 Data Protection for mySAP Installation & User’s Guide for Oracle
2. Make sure that the DISPLAY variable is set correctly as the uninstall procedure
requires a graphical X-Window.
3. Make sure the old version of DP for mySAP is not running.
4. Call the uninstaller executable and follow the instructions of the uninstall
procedure. The executable is located in one of the following directories:
v AIX 32-bit
/usr/tivoli/tsm/tdp_r3/ora/_uninst/uninstaller.bin
v AIX 64-bit:
/usr/tivoli/tsm/tdp_r3/ora64/_uninst/uninstaller.bin
| v other UNIX 32-bit or Linux 32-bit
/opt/tivoli/tsm/tdp_r3/ora/_uninst/uninstaller.bin
| v other UNIX 64-bit or Linux 64-bit
/opt/tivoli/tsm/tdp_r3/ora64/_unist/uninstaller.bin
The following general guidelines result from experience gathered with many actual
installations and should be considered for designing an efficient backup/restore
infrastructure and process.
Network Considerations
Consider the following items when deciding on the network setup:
| v LAN-free backup. The LAN-free backup is intended to reduce the load on the
| network and on the TSM server and to yield higher data transfer rates than a
| network backup. Make sure that the capacity of the fiber channel adapters to the
| SAN can handle the composite data transfer rates of disk reads and tape writes.
2. Note, that the product named ’DB2 CommonStore for SAP’ is database independent and therefore can also be used with Oracle.
36 Data Protection for mySAP Installation & User’s Guide for Oracle
v Network bandwidth. Our experience shows that the effective throughput
capacity is approximately half of the theoretical network bandwidth. For
high-speed networks such as Gigabit Ethernet LAN, the network adapters most
likely limit the throughput rather than the network itself.
v Network topology. Consider implementing a dedicated backbone network for
backup and restore, apart from the user LAN.
v TCP options. Make sure to use the TCP options appropriate for your
environment. For more specific hints, refer to Appendix J, “Hints and Tips for
Network Settings,” on page 177.
v Multiple Paths. Data Protection for mySAP allows you to increase the overall
throughput rate to the backup server by specifying multiple network paths. For
details, see “Multiple Network Paths” on page 40.
More hints on network settings are given in Appendix J, “Hints and Tips for
Network Settings,” on page 177.
More information on how to set up TSM for cooperation with Data Protection for
mySAP can be found in Appendix E, “Alternate/Parallel Backup Paths and Backup
Servers,” on page 137 and Appendix F, “Preparing Tivoli Storage Manager for DP
for mySAP,” on page 143.
When tuning Data Protection for mySAP, there is not a single configuration that is
best for all environments. Rather, you will need to experiment with the following
adjustments in order to find the configuration that works best for you. You may
use function ’View Performance Data’ of the Administration Assistant to find out
about performance characteristics and how they change with your configuration.
For more details on tuning a system with the Administration Assistant refer to
| Chapter 9, “Balancing Your System,” on page 69 or you may want to tune your
| system in the following order:
| 1. Optimize the configuration of the database server, the network, and the TSM
| server according to your needs. Some hints can be found in “General
| Performance Considerations” on page 35.
| 2. Increase multiplexing. See ″Multiplexing″ below.
| 3. Increase the number of sessions. See “Multiple Sessions” on page 39.
| 4. Increase the number of network paths or TSM servers. See “Multiple Network
| Paths” on page 40 and “Multiple Servers” on page 40.
Usually, when you start employing parallelism, you will see a gain in performance.
You will want to find the point when this gain is offset by overhead as you
increase the numbers.
For example, when you are working with multiple sessions you will find out that
for a certain number of sessions adding another tape and another session does not
give you any improvement or even decreases performance. This indicates that the
network might now be the bottleneck, and you may want to try multiple network
paths next.
Multiplexing
In order to better exploit the tape drive used for database backup on the backup
server, you may want to try parallel access to data on the database server.
Figure 9. Multiplexing
38 Data Protection for mySAP Installation & User’s Guide for Oracle
| throughput rate of the storage media, and the compression factor to be achieved. A
| way to determine the optimum MULTIPLEXING value is to analyze DP for
| mySAP performance with the Administration Assistant. For details, refer to
| Chapter 9, “Balancing Your System,” on page 69.
| Note: If the value is chosen too high this may result in a noticeable overhead in
| thread management offsetting the performance gain.
| See also keyword MULTIPLEXING on page 88.
Multiple Sessions
Data Protection for mySAP allows you to make use of several tape drives
simultaneously in order to increase the transfer rate to or from a Tivoli Storage
Manager server.
When running a database backup, the data will usually be written directly to tape
drives on the Tivoli Storage Manager server. The parameter specified in the
MAX_SESSIONS keyword must match the number of tape drives used
simultaneously. These must be available to the management class defined as
BRBACKUPMGMTCLASS in the DP for mySAP profile (see on page 85).
When running BRARCHIVE for log file backups, either disk or tape storage pools
can be utilized. These must be available to the management class defined as
BRARCHIVEMGMTCLASS in the Data Protection for mySAP profile (see on page
84).
If you are using tape pools as (primary) pools for this management class the same
considerations as for database backups apply. When using disk storage pools, the
following rules apply:
v Several sessions of one BRARCHIVE run can utilize one or two independent
disk storage pool(s).
v Several sessions of BRARCHIVE runs of different databases can simultaneously
utilize one or two independent disk storage pool(s).
Parallel paths can be used to eliminate network bottlenecks. For each additional
path, additional network adapters are required on both the production and the
backup server. For each adapter of the backup server, a server statement must be
entered in the Data Protection for mySAP profile (see keyword SERVER on page
90).
Make sure that the value of keyword MAX_SESSIONS is not greater than the sum
of all SESSION values of the SERVER statements of servers that are available for
concurrent use.
Multiple Servers
Data Protection for mySAP allows you to use multiple backup servers.
40 Data Protection for mySAP Installation & User’s Guide for Oracle
Note that for each additional path additional network adapters are required on
both the database and the backup server. For each adapter of each backup server, a
server statement must be entered in the Data Protection for mySAP profile (see
keyword SERVER on page 90).
Make sure that the value of keyword MAX_SESSIONS is not greater than the sum
of all SESSION values of the SERVER statements of servers that are available for
concurrent use.
| If used with RMAN, the number of SESSIONS configured for each SERVER must
| be equal or higher than the number of sessions configured for restore
| (MAX_SESSIONS). Otherwise Oracle RMAN may request more objects in parallel
| from the same server than sessions are configured for that server.
Compression
By compressing zero-byte blocks, a very simple, but fast compression method, Data
Protection for mySAP decreases the amount of data to be sent to the TSM server.
Although compression does create some additional CPU load on the database
server it might improve performance if the network is the bottleneck. It is efficient
with database files usually containing large portions of null blocks. For details on
how to activate Data Protection for mySAP compression, refer to keyword
RL_COMPRESSION on page 90.
| Buffer Copies
| Data Protection for mySAP uses internal buffers to store and exchange data with
| the IBM Tivoli Storage Manager. When passing data from one component to
| another, data buffers are copied by default. DP for mySAP allows to prevent
| copying the data buffers by passing on the original data buffers. This reduces the
| CPU load of the database server. However, if client compression and/or client
| encryption are activated in the Tivoli Storage Manager options file (dsm.sys or
| dsm.opt on Unix or Linux or <server.opt> on Windows), buffer copies cannot be
| prevented. See also keyword BUFFCOPY on page 85.
Buffer Size
Data Protection for mySAP allows to tune the size of its internal data buffers.
These buffers are used for both reading from disk and passing data to the Tivoli
Storage Manager client API.
It is recommended to optimize the buffer size for disk I/O. The default buffer sizes
| are 131072 (128K) for UNIX or Linux and 32768 (32 K) for Windows systems. In
most cases, the default settings yield acceptable results.
If you did not specify the use of the Administration Assistant during installation of
DP for mySAP, you can set up the connection by following the description given in
“Specifying an Administration Assistant Server” below.
| where
<AA server name> is the name or IP address of the Administration Assistant
server and
<port> is the port that the Administration Assistant is listening to, the default is
5126.
2. Make sure that DP for mySAP is not running and use the kill command to
stop the ProLE daemon. The ProLE daemon will be restarted automatically
with the new parameters.
where
<AA server name> is the name or IP address of the Administration Assistant server
and
<port> is the port that the Administration Assistant is listening to, the default is
5126.
42 Data Protection for mySAP Installation & User’s Guide for Oracle
Specifying another Tivoli Storage Manager Server
To add a new Tivoli Storage Manager server to your configuration, you need to
perform the following steps:
1. Add a new server statement to your Data Protection for mySAP profile.
2. Adapt the TSM options files as described in “Review of the TSM Options Files”
on page 28.
3. Set and save the TSM password for the new server as described in “Set the
Password” on page 28.
You may also control on what days of the week a specific server is to be used (see
keyword USE_AT on page 92).
For details on how to set up any of the password handling methods, refer to
“Password Handling” on page 149.
After each successful full backup, the number of full backups available in backup
storage is checked. If the number of backups to be kept is exceeded, the oldest
backup and all corresponding partial, incremental and redo log backups are
removed from backup storage.
44 Data Protection for mySAP Installation & User’s Guide for Oracle
If you plan to use this feature, do not employ TSM file expiration at the same time.
For details, refer to keyword MAX_VERSIONS on page 88.
Dependencies:
v Both hosts should have the same level of Tivoli Storage Manager API installed.
| v Both hosts must be Data Protection for mySAP.
v On both hosts, the dsm.sys file (in /usr/Tivoli/tsm/client/api/bin/dsm.sys)
must contain all server names required for takeover.
Communication:
A prerequisite for installation is a correct setup of the TSM client. The installation
steps for the TSM Backup/Archive Client for AIX can be found in the
documentation Tivoli Storage Manager Installing the Clients.
Refer also to the HACMP for AIX Planning Guide V4.4, SC23-4277, for further
information about selecting the HACMP node topology and takeover relationships.
Note that DP for mySAP must be in a resource group having a cascading or
rotating takeover relationship. It does not support a concurrent access resource
group.
46 Data Protection for mySAP Installation & User’s Guide for Oracle
Adding the DP for mySAP Application to an HACMP Resource
Group
A final step in enabling Data Protection for mySAP for HACMP failover is to
define it to a cluster resource group. Detailed directions for doing this can be
found in the HACMP for AIX Installation Guide. A summary follows.
Note that both JFS and NFS file systems can be defined as cluster resources,
although NFS supports only 2 node clusters in a cascading takeover relationship.
Note: This script is not in its final form. It should be considered pseudo code that
indicates the functions it will perform.
#!/bin/ksh
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# This sample script is provided for use with the DP for mySAP in an HACMP #
# environment. It should be reviewed and customized to meet your specific client #
# environment #
# #
# #
# Name: start_tdpr3.sh #
# #
# Function: #
# A sample shell script to start the disk sorting function for DP for mySAP #
# #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
if ["$VERBOSE_LOGGING"="high"]
then
set -x
fi
START_DISKINFO()
{
# It is assumed that ’prole’ is already running
# Start createinfo in the background.
nohup /usr/bin/createinfo &
}
# This starts the disk info process to allow disk sorting for the taken-over SAP instance.
START_DISKINFO
Exit 0
48 Data Protection for mySAP Installation & User’s Guide for Oracle
Sample Stop Script
Depending on the customer installation, the sample stop script may need to ensure
that any backup/restore operation currently in progress is stopped. This means
that any processes launched by brbackup/brarchive for this client instance (that
may be accessing the shared file system(s)) must also be stopped to free resources
like file systems. This may have already been accomplished by the HACMP script
that stops R/3. It may also not be desirable in certain installations and should be
revised.
Note: This script is not in its final form. It should be considered pseudo code that
indicates the functions it will perform.
#!/bin/ksh
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# This sample script is provided for use with DP for mySAP in an HACMP #
# environment #
# It should be reviewed and customized to meet your specific environment #
# #
# #
# Name: stop_tdpr3.sh #
# #
# Function: A sample shell script to update the disk information after the #
# mySAP instance is unmounted. #
# #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
if ["$VERBOSE_LOGGING"="high"]
then
set -x
fi
{
# You may want to cancel all backups currently running
# Note that this will generate errors in the current backup logs and it will also cancel the
# connection to the Admin Assistant.
| # *** Note that if you are using DP for ESS for mySAP, this may leave the ESS in an
| # inconsistent state.
# kill –9 `cat /var/tdp_r3/prole.pid`
# Start createinfo in the background to update the disk information. This should be done
# after all SAP file systems are umounted.
nohup /usr/bin/createinfo &
}
# This starts the disk info process to update the disk information.
START_DISKINFO
Exit 0
Note
Check the Online Service Support (OSS) system from SAP on how to set up
backup via RMAN on your operating system. Check also for special
considerations for the database version you are using.
Running with RMAN, Data Protection for mySAP is loaded by one or more Oracle
processes as shared library. These Oracle processes will then decide on how many
parallel sessions are opened, when a session is opened and closed, which data
object (e.g. table space) will be included into which session and more. Some of the
above mentioned parameters must be configured for RMAN. Depending on how
you are using RMAN you can configure these parameters either within the RMAN
script or the BR*Tools configuration file (init<SID>.sap).
If you want to use parallel sessions with RMAN make sure you configure at least
the same number of sessions within the Data Protection configuration file as you
configure for RMAN (see also “Multiple Sessions” on page 39 and “Multiple
Servers” on page 40).
In the following description you have to replace the directory name ora<bit> in
the installation path. Depending on the version of DP for mySAP you have
installed, you must replace it with
ora for the 32–bit version of DP for mySAP
ora64 for the 64–bit version of DP for mySAP.
| To set up your DP for mySAP for use with RMAN under UNIX or Linux, follow
these steps:
1. Install Tivoli Storage Manager API Client on your mySAP database server (see
“Configuring the Tivoli Storage Manager Clients” on page 147).
6. Customize the SAP backup profile init<SID>.sap for use with RMAN. Insert
the following:
backup_dev_type=rman_util
rman_parms="ENV=(XINT_PROFILE=/<path>/init<SID>.utl,PROLE_PORT=portnumber)"
The appropriate Prole port number can be found in the /etc/services file.
Further Hints
1. Ensure that Oracle has linked the right library
/usr/lib/libobk.<ext> linked to
/usr/tivoli/tsm/tdp_r3/ora<bit>/libtdp_r3.<ext>
2. Remove the library in /$ORACLE_HOME/rdbms/lib/libobk.<ext>.
If you are running a 64–bit Oracle 8.x database system, also check in
/$ORACLE_HOME/rdbms/lib64/.
3. The shared library must have the same bitwidth as the installed Oracle
version: if you have a 64–bit Oracle running on AIX 5.2 64–bit, you need to
install the 64–bit version of DP for mySAP.
If you have a 32–bit Oracle running on a 64–bit AIX 5.1, you need to install
the 32–bit version of DP for mySAP.
Both versions of DP for mySAP can coexist on one machine.
4. Examine the sbtio.log located in the directory specified in the
user_dump_dest keyword within the Oracle profile init<SID>.ora. This file is
usually located at oracle/SID/saptrace/usertrace/sbtio.log.
| 5. Check the log file sbtio.log for lines starting with BKI. The very first message
| for every RMAN session looks like this: ’BKI7060I: Data Protection for mySAP
| 5.3.1 (buildnumber) session: ’. If you cannot find any such message in the file,
the library is not correctly linked with Oracle.
52 Data Protection for mySAP Installation & User’s Guide for Oracle
6. On HP-UX 11 64bit you need to add the string -lstd -lstream -lCsup to the
existing line of the file $ORACLE_HOME/lib64/sysliblist and reissue the make
command. A detailed description of the problem cause can be found at HPs
website
(http://docs.hp.com/hpux/onlinedocs/dev/aCC/a_03_30/distributing.htm#DistLink).
7. Examine the dsierror.log located in the directory specified with the
environment variable DSMI_LOG
8. To get a Tivoli Storage Manager API trace file, set the following entries in the
client system options file dsm.sys:
tracefile /<path>/<trace file>
traceflags api api_detail config policy
Further Hints
1. Examine the sbtio.log located in the directory specified in the user_dump_dest
keyword within the Oracle profile init<SID>.ora.
2. If no file sbtio.log exists after an operation with RMAN or no line starting
with the letters ’BKI’ exists within an existing sbtio.log, check if the shared
library orasbt.dll was found and loaded by Oracle. Put the shared library file
orasbt.dll into the directory %ORACLE_HOME%\bin. This is the directory where
oracle.exe resides. Now stop the service OracleService<SID> and restart it.
54 Data Protection for mySAP Installation & User’s Guide for Oracle
Chapter 7. Using DP for mySAP with the File Manager
This section describes how to use the File Manager
Note
Only users with a good knowledge about the restore and recovery
mechanism of Oracle databases should use this tool. The general
recommendation is that you should normally use the tools SAPDBA and
BRRESTORE provided by SAP for restore operations.
The File Manager uses the standard functions provided by DP for mySAP to
| perform all operations. The File Manager user interface consists of a split window,
| which is character based.
| All backup IDs found on all Tivoli Storage Manager servers with the same backup
| ID prefix as configured within the DP for mySAP profile are shown on the left. To
the right of each backup ID, all the files belonging to that backup ID are displayed.
You can select individual backup IDs or multiple files for the restore or delete
operations (see Figure 16 on page 56).
The File Manager has to be started with the path and name of the DP for mySAP
profile (the user must be a member of the dba group). See the following examples:
| Note: If the -o parameter is specified at startup, the default directory for log files
| will be changed.
| The File Manager requires a correct setup of DP for mySAP particularly with
| regard to the backint executable, thus enabling it to connect to the TSM server
| without errors. To connect to the TSM server the File Manager calls the backint
| executable. If this call fails, the File Manager shows an error message but does not
| analyze what the reason for the failure is. To analyze the error, call backint
| manually with the inquire function (“Inquire Function” on page 133) and check the
| output for error messages.
The File Manager will now establish a connection to all Tivoli Storage Manager
servers which were configured in the DP for mySAP profile. The next step is an
If you mark the backup ID you are interested in and then press the Tab key to
|
| Figure 15. File Manager — Result of an Inquiry Procedure
|
move the cursor to the right-hand panel, all file names belonging to the marked
backup ID will be displayed as shown in the figure below.
The following function keys are defined for performing restore or delete
Figure 16. File Manager — Result of an Inquiry Procedure Showing File Names
operations:
56 Data Protection for mySAP Installation & User’s Guide for Oracle
Up, Down, Left, Right - Move cursor
Move the highlighted cursor in the direction indicated on the key.
Tab - Switch window side
Move the cursor between the left and right sides of the window.
F2 - Restore
Restore all marked files. Before the restore actually begins, you can specify
a common destination path and you will be asked to confirm the restore
process. If you specify a destination path, all marked files will be restored
to that directory. Otherwise the files will be restored to the directory from
which they were backed up.
F3 - Mark all
All files belonging to the current backup ID will be marked.
F4 - Unmark all
Unmark all files belonging to the current backup ID.
F5 - Refresh
Refresh the list of backup IDs and file names.
F6 - Fileinfo
Opens a separate window to display file information.
For backup IDs, the sequence number is displayed (backup version count,
for more information see on page 88). For files, the Tivoli Storage Manager
expiration date and time is displayed.
| F7 - Redirected Restore
| Redirected Restore operation will perform a restore of the selected files.
| During the restore the Oracle SID in the path and filenames will be
| replaced.
F8 - Delete
| Delete the selected backup ID and all corresponding files.
F10 - Exit
Exit from DP for mySAP File Manager
ENTER - Mark/unmark file
Mark or unmark the file below the cursor.
| For restore operations, the desired files first have to be marked. This can be done
either with the F3 function key to mark all the files that were found or with the
ENTER key to mark only one desired file. Marked files can be identified by the
| symbol ″ * ″ in front of the filename. Only the marked files will be restored.
For every restore a log file will be created in the following location:
v UNIX or Linux: $SAPDATA_HOME/sapbackup/backfm_<timestamp>.log
v Windows: %SAPDATA_HOME%\sapbackup\backfm_<timestamp>.log
| The File Manger can delete backup IDs with all included files. It is not possible to
| delete single files within a backup ID. To delete a backup ID it must be
| highlighted. After pressing F8 you have to confirm the deletion operation. The
| backup ID and all included files are deleted from the TSM server.
For every restore a log file will be created in the following location:
| v UNIX or Linux: $SAPDATA_HOME/sapbackup/backfm_<timestamp>.log
v Windows: %SAPDATA_HOME%\sapbackup\backfm_<timestamp>.log
58 Data Protection for mySAP Installation & User’s Guide for Oracle
|
| Function Configure systems allows to customize the SAP backup profiles, the Data
| Protection for mySAP profile, and the IBM Tivoli Storage Manager files for each of
| the mySAP systems registered with the Administration Assistant server. Online
| information supports the customization process. Additionally, profiles can be
| copied from one system to others. If configuration changes are performed via the
| Administration Assistant a configuration history is maintained, enabling the
| administrator to easily return to a previous configuration.
| User profiles ensure that a user can access data of only those mySAP database
| servers he or she has permission for.
| If the Administration Assistant server was started in non-secure mode (that is with
| keyword ’nonsecure’ contained in the server configuration file assist.cfg) it
| accepts connect requests to its http port via http from a client. In this case, the
| further communication between client and server is via TCP/IP.
| If the Administration Assistant server was started in secure mode (that is with
| keyword ’nonsecure’ not contained in the server configuration file) it accepts
60 Data Protection for mySAP Installation & User’s Guide for Oracle
| connect requests to its https port via https from a client. In this case, the Secure
| Socket Layer (SSL) protocol is employed for all communication between the
| Administration Assistant clients and server.
| The latest SSL protocol (Version 3) can be found at
| http://wp.netscape.com/eng/ssl3/ .
| Latest information on PKI with X.509-certificate can be found on the website of the
| IETF Working Group ’Public Key Infrastructure (X.509) (pkix)’ at:
| http://www.ietf.org/html.charters/pkix-charter.html .
62 Data Protection for mySAP Installation & User’s Guide for Oracle
| – Certificate file. Path of the certificate file in case you already have a server
| certificate issued by a certificate authority.
| – Certificate creation information. Information on the X.500 distinguished name
| (common name, organizational unit, organization name, locality name, state
| name, and country code) and on the validity period required in case a new
| self-signed certificate is to be created during the installation process. For
| details on this information, refer to the X.500 and X.509 standards.
| – New certificate file name. If the public key of a newly created server key pair
| needs to be distributed to client machines it will be exported to this file.
| – CSR file name. If the newly created server key pair will be used to request a
| certificate signed by a Certificate Authority the Certificate Signing Request
| will be written to this file.
| Initial Installation
| Initial installations must always be done from the DP for mySAP CD-ROM. Refer
| to the file README.1st in the root path for information on where to find documents
| on your CD-ROM, and follow the installation description below.
| Upgrade Installation
| If you want to upgrade from an earlier version of Tivoli Data Protection for
| mySAP Administration Assistant in your environment, you have the option to
| download the latest version from the IBM Tivoli Internet home page at
| http://www.ibm.com/software/tivoli.
| For more information on upgrading from an earlier version, refer to “Upgrading
| the Administration Assistant (Migration)” on page 66.
| .
| Post-Installation Steps
| After successfully completing the installation dialog of the Administration
| Assistant server, you need to perform the following steps:
| 1. If appropriate, prepare for a secure connection between the Administration
| Assistant clients and server.
| 2. Set up the Administration Assistant client.
| 3. Verify the installation.
64 Data Protection for mySAP Installation & User’s Guide for Oracle
| http connect requests from the clients. You start a secure Administration Assistant
| server by removing the keyword ’nonsecure’ from the configuration file
| (assist.cfg).
| If you chose to not provide security information during the installation process or
| if you need to change the security setup refer to “Configuring for Secure
| Communication” on page 67.
| Note
| Make sure to remove this trusted certificate from the truststore as soon as the
| officially signed server certificate is available and employed.
|
|
|
| Note
| This setup is not recommended for production environments.
|
|
| 3. Verifying
| Verify the installation of your Administration Assistant by connecting to the
| Administration Assistant server from a client machine.
| If the Administration Assistant server was started with the keyword nonsecure in
| the server configuration file, then connect via
| http://<AA server>:<http port>
||
| In the latter case, the Administration Assistant client will not open a new browser
| window.
| If the Administration Assistant server was started without the keyword nonsecure
| in the server configuration file, then connect via
| In the latter case, the Administration Assistant client will not open a new browser
| window.
| For your initial login, use the userid ADMIN with password admin. Make sure to
| change the default password immediately via function ’Administer Users’.
66 Data Protection for mySAP Installation & User’s Guide for Oracle
| Migration of the Administration Assistant Server Configuration
| File
| If your server configuration file ( for example assist.cfg) came with the version
| 3.3 or a previous one of the Administration Assistant, the Administration Assistant
| server will automatically start in secure mode. If you are going to employ the
| secure communication make sure to setup both client and server accordingly. Refer
| to “1. Preparing for a Secure Connection between AA Client and Server” on page
| 64 and to “2. Setting up the Administration Assistant Client” on page 65 for
| details.
Administering Userids
| The function Administer Users of the Administration Assistant enables you to create
| user accounts and to grant users permissions.
| Note
| Make sure to remove this trusted certificate from the truststore as soon as the
| officially signed server certificate is available and employed.
|
|
|
| Note
| This setup is not recommended for production environment.
|
|
| Both the keystore and truststore can be manipulated with your keystore
| management tool that may differ depending on your platform and provider (for
| example keytool by SUN). For setting up the Administration Assistant server for
| secure communication you need to
| v Remove the keyword nonsecure from your server configuration file
| v Specify the appropriate https port number in your server configuration file:
| httpsport=<https port number>
||
68 Data Protection for mySAP Installation & User’s Guide for Oracle
|
| The optimization cycle starts with a full backup of the database via the file
| interface (via BRBACKUP). The performance data are analyzed with function
| ’View Performance Data’. This may lead to some suggestions on how to change the
| DP for mySAP configuration and / or the infrastructure. These changes are
| temporarily implemented in a test profile with function ’Configure Systems’. With
| function ’Simulate Backup/Restore’, another backup or restore can be simulated to
| test the configuration changes. Then, the administrator uses the function ’View
| Performance Data’ to check whether the modifications yield the desired results.
| You may go through as many cycles of modification and test as are required until
| the results are satisfactory. When this is the case eventually, the configuration
| changes can be easily propagated to the production system. All changes to the
| configuration within this cycle are kept strictly separated from your production
| system, as are the results of the simulation runs.
|
| Observations on the DP for mySAP Data Throughput
| We observe that overall throughput rates can differ very much among the various
| installations. This is due to differences in resources (disks, network bandwidth,
| server platforms, number of tapes, etc.) and configuration. For a more general
| discussion of performance considerations refer to “General Performance
| Considerations” on page 35. For a list of DP for mySAP configuration options
| contributing to performance read “Adjustments to DP for mySAP for Improving
| Performance of Data Transfer” on page 37. The following discussion will
| concentrate on selected elements of the data flow. It will show how to use the
| From a bird’s perspective, when doing a backup with DP for mySAP, the data
| packages need to pass the following elements: Data is read from disk, processed by
| DP for mySAP, and sent via a network to some storage media (tape or disk). In an
| unbalanced system, each of these elements, disk I/O, network bandwidth, and
| storage media rates may present a bottleneck, at the same time causing other
| resources to idle. Traditionally, overall data throughput is measured per file or per
| entire backup. The results are presented as average throughput rates in various log
| files. Analysis of the causes of insufficient throughput rates is cumbersome, done
| by relating events documented in a number of different log files to each other. For
| the same reason, finding potential for a better exploitation of resources is arduous,
| too. In a first step to support administrators with these tasks, DP for mySAP
| provides performance sensors that indicate whether there is a bottleneck located
| either in the elements represented in blue (for disk) or in yellow (for network and
| tape respectively) in the above graphic.
|
| Data Protection for mySAP Performance Sensors
| Depending on the configuration of the IBM Tivoli Storage Manager, data packages
| are either passed from the IBM TSM API Client via a network to the backup
| server, or they are processed by the IBM TSM API Client and the Storage Agent in
| a LAN-free environment.
|
| There are sensors introduced to Data Protection for mySAP that observe the
| incoming and outgoing data streams. They do not only measure the actual
| throughput, but also the idle time of the I/O threads versus the duration of the
| backup. This way, they can indicate whether the streams of incoming and outgoing
| data of Data Protection for mySAP are balanced.
| After starting a backup, it may take some time until the buffers are filled and the
| effects of a bottleneck will become obvious.
70 Data Protection for mySAP Installation & User’s Guide for Oracle
|
| Presentation of the Measurements in the Administration Assistant
|
| In this panel, you find a graphical representation of the data throughput rate at
| any point in time during the backup. Aligned with this, the utilization rates of the
| disk (presented in blue by the Administration Assistant) and network threads
| (presented in yellow by the Administration Assistant) are displayed. Alternatively,
| the free capacity of these threads can be shown. The administrator can choose to
| have these rates displayed either for the entire backup considering all TSM
| sessions, or on a per-session basis. Interesting time intervals that need to be further
| analyzed can be selected for further analysis in replay mode. For details, see
| “Drilling Down on Special Situations” on page 76.
| The results of the Data Protection for mySAP performance sensors are presented in
| the Administration Assistant’s function ’View Performance Data’. The
| Administration Assistant collects history data during each backup run for later
| analysis. In order to find the results, select ’View Performance Data’, then select
| ’History Data’. In the list of eligible backups, select the backup to be analyzed.
| Pressing the ’Review’ button will take you to the performance data summary
| panel.
| Typical Situations
| Following, we discuss some typical graphs you may see when using function
| ’View Performance Data’ of the Administration Assistant.
| With a disk bottleneck, data are processed by the network and TSM server faster
| than they can be read from disk. As a consequence, overall throughput is limited
| by the disk I/O rate, and the network thread is idle. As the network threads
| usually return very fast due to internal buffering, the network utilization might
| seem to drop to (almost) zero in this case. Both the network and the storage media
| are not used to their capacity. If tapes are used they are not kept in streaming
| mode any more.
| If you are looking to better exploit the resources (here: the tape drives) you may
| want to reduce the number of sessions to the TSM server and the number of tapes
| for the backup while increasing multiplexing. For an optimization procedure, refer
| to “Cyclic Procedure for Optimizing your Configuration” on page 69.
72 Data Protection for mySAP Installation & User’s Guide for Oracle
| Network or TSM Bottleneck
|
| With a network or TSM bottleneck, data are read from disk faster than the network
| and TSM can process them. Consequently, throughput is limited either by the
| network capacity or by the storage media rate (disk, tape). In order to actually
| locate the source of the delay further analysis is required. However, some hints can
| be obtained from the DP for mySAP performance analysis, as will be detailed later.
| If the threads on both the disk and the network side are similarly busy throughout
| the backup the system is balanced, and the utilization of resources is good. In an
| optimum setup, tapes are kept in streaming mode. That means that the network is
| at least as fast as the tape, and there is no idle time on the network side. Thus, a
| slight network bottleneck is desired.
|
| Note
| Under certain conditions, the degree of imbalance cannot be determined from
| the graphical presentation: Depending on your system characteristics (for
| example system buffering, buffer sizes, etc.), utilization may seem to drop
| near zero in the graphical presentation although the system is fairly balanced
| in reality. In this case, slight modifications can yield a change of bottleneck
| without significant throughput changes. However, whether the system is disk
| or network / tape constrained is always shown correctly.
|
|
| If you are looking to improve overall throughput you may want to add more
| resources and create a balanced system again.
| If you are looking to better exploit the resources you are done.
|
| Note
| A balanced system does not necessarily mean that the data throughput cannot
| be improved any more. Adding new resources can still improve the
| throughput rate.
|
|
74 Data Protection for mySAP Installation & User’s Guide for Oracle
| Simulating Backup and Restore
| The Administration Assistant’s function ’Simulate Backup/Restore’ requires a full
| backup of your database using the file interface (via BRBACKUP). Backups done
| using the RMAN interface cannot serve as a basis for simulation. When there are
| two or more eligible backups available the latest one is used as the basis for
| simulation.
| In order to get good results for the simulation of Data Protection for mySAP
| compression, compression should be enabled for the base backup, with parameter
| COMPR_INFO pointing to a valid file in the Data Protection for mySAP profile.
| Both backups and restores can be simulated. Simulating a restore may give you an
| impression how long restoring a backup will take, but it will not affect your
| productive system.
76 Data Protection for mySAP Installation & User’s Guide for Oracle
| significantly. In order to understand better what happened you may drill down on
| these time intervals.
| In most cases you will find that a session is ending or a shorter file was
| multiplexed with longer files.
| Drill-Down
| You drill down by selecting a time interval in either of the diagrams of the
| summary panel with your mouse and choose button ’Replay Run’. Only the
| selected time interval will be replayed.
| Replay Mode
|
| In replay mode, you can watch the system working: The processing is replayed for
| the selected time interval. For each point in time, progress indicators show what
| files are currently in progress in a session. Transfer rates are displayed and
| bottlenecks are indicated by session.
| Transferring Results
| Restore versus Backup
| Throughout this chapter, we are mainly dealing with optimizing backups. In most
| cases, configuration changes and infrastructure problems affect both backup and
| restore similarly. Therefore, modifications supporting a fast backup while
| exploiting resources well can generally be applied to the restore analogously. Note
| that for a restore, some parameter values are determined by the settings of the
| corresponding backup. Among these are:
| v Compression. If compression was switched on during backup, data need to be
| decompressed.
| v Multiplexing. The same level of multiplexing as was used during backup is
| automatically applied during restore.
| v Multiple servers. When a backup was done using multiple servers the same
| servers must be online and available during restore.
78 Data Protection for mySAP Installation & User’s Guide for Oracle
Chapter 10. Cloning the mySAP System
The procedure for cloning a mySAP system described in this chapter should be
used to complement the SAP documentation R/3 Homogeneous System Copy and R/3
Installation on UNIX / Windows - Oracle Database.
Furthermore, it is recommended that you use the correct SAP documentation for
each particular environment. This documentation can be found at
http://sapnet.sap.com on the SAP Documentation Guides CD-ROM, which is part
of the SAP R/3 installation package or with the help of the SAP technical support.
What is Cloning ?
The mySAP system cloning can be done if there is the necessity for one source
mySAP system to be exactly copied to a target mySAP system. In this context, the
source mySAP system is also called the original system, from which the data will
be exported, and the target mySAP system is also called the destination system,
which imports the data from the source mySAP system.
SAP calls the procedure of cloning a mySAP system either homogeneous system copy
or heterogeneous system copy. In a homogeneous system copy scenario, the source
and target systems have the same mySAP release, operating system, and database
version. If this is not the case, you will get a heterogeneous system copy. Further
information about these two system copy scenarios can be found in OSS notes
86859 and 86860.
It is assumed that there are two SAP R/3 systems installed and operating on two
different machines and that DP for mySAP is installed and operating on both
systems. The following describes the necessary changes in order to restore an
Oracle SID to a different machine with a different SID.
The steps you need to perform depend on the password access method you are
using:
v Automatic password handling (see also on page 44)
If you are using passwordaccess=generate in the Tivoli Storage Manager client
| option file dsm.sys on UNIX or Linux systems or <server>.opt on Windows
systems of your source system, you need to make sure that you are using the
Note
Keep in mind that the passwords are stored in different places, while the
only ″original″ password resides on the Tivoli Storage Manager server! You
need to make sure that the client uses the password that is stored on the
server.
80 Data Protection for mySAP Installation & User’s Guide for Oracle
Part 3. Appendixes
A few keywords are required in any case, but most are optional. Each of the
optional keywords has a preset default value.
Keyword Reference
The following profile keywords are obsolete for Data Protection for mySAP version
5.3.
v ADSMBUFFSIZE
v BACKAGENT
v DISKBUFFSIZE
v PERF_MONITOR
v RETRY
v TCPWAIT
ADSMNODE ORACLE_sid
This keyword must not be set when automated password handling is
selected. It should be set for manual password handling (see “Modifying
the Handling of the TSM Password” on page 43). If specified, ORACLE_sid
must be registered to the Tivoli Storage Manager server as a Tivoli Storage
Manager node. With this option you can assign a different node name to
your database system. It should be used if you have several mySAP Oracle
Keep in Mind
This parameter must be defined in conjunction with the respective
SERVER statement, as shown in the sample profile.
This sends a message to a remote user when the backup has finished.
BACKUPIDPREFIX 6-charstring | SAP___
Specifies a 6-character prefix that is used to build a backup identifier for
each archived object.
BATCH YES|NO
Specify NO if DP for mySAP is running with an operator standing by.
Specify YES if DP for mySAP is running in unattended mode. In this mode
DP for mySAP terminates the run if operator intervention is required.
The default for the BATCH parameter is YES for the backup run and NO
for the restore run if the BATCH parameter is not present or is commented
out in the DP for mySAP profile.
This parameter has no effect if an RMAN backup/restore is started.
BRARCHIVEMGTCLASS management_class [management_class...]
Specifies the Tivoli Storage Manager management class(es) DP for mySAP
uses when called from BRARCHIVE. Each parameter string can consist of
up to 30 characters.
Note
The number of different BRARCHIVE management classes specified
must be larger or equal than the number of redo log copies specified
(parameter REDOLOG_COPIES).
84 Data Protection for mySAP Installation & User’s Guide for Oracle
Keep in Mind
This parameter must be defined in conjunction with the respective
SERVER statement, as shown in the sample profile.
Keep in Mind
This parameter must be defined in conjunction with the respective
SERVER statement, as shown in the sample profile.
| BUFFCOPY SIMPLE|PREVENT|AUTO
| This optional parameter controls how DP for mySAP uses the internal
| buffers for transferring data during a backup.
| If set to SIMPLE data buffers are copied when they are passed on between
| Tivoli Storage Manager components. This is the default.
| If set to PREVENT the original data buffers are passed on between Tivoli
| Storage Manager components. This mode cannot be selected while the
| Tivoli Storage Manager client encryption and / or client compression are
| activated.
| If set to AUTO Data Protection for mySAP will run in PREVENT mode
| whenever the configuration supports it. Otherwise, SIMPLE mode will be
| selected automatically.
| This parameter has no effect on restore operations.
BUFFSIZE n|131072
This parameter specifies the block size (in bytes) for the buffers passed to
the Tivoli Storage Manager API functions. The valid range is from 4096 to
262144. Inappropriate values will be adjusted automatically.
| If not specified, the default value is 131072 (128 KB) for UNIX or Linux
| systems and 32768 (32 KB) for Windows systems. In most cases, these
values are appropriate.
| COMPR_INFO path
| Specifies the file where Data Protection for mySAP stores information
| about the compressed size of files. path specifies the full path and name of
| the file.
| When multiplexing is used, Data Protection for mySAP attempts to put
| files of the same size in one multiplexing stream to optimize performance.
| If RL_COMPRESSION is used in addition to multiplexing, the file sizes of
| the compressed files can differ very much from the original file sizes. Data
| Protection for mySAP can collect information about the compressed file
| sizes and use it for further file sorting. This file size information is stored
| in the file specified by the COMPR_INFO parameter.
| If backups shall serve as a basis for simulations (see “Simulating Backup
| and Restore” on page 75), COMPR_INFO must denote a valid file and
| RL_COMPRESSION must be set to YES in order to get meaningful
| simulation results for compression.
86 Data Protection for mySAP Installation & User’s Guide for Oracle
verbosity may be any one of the following: ERROR, WARNING, or
DETAIL. This value determines which messages are sent. The default value
is WARNING, which means that error and warning messages are sent.
ERROR sends only error messages. DETAIL sends all message types
(errors, warnings, and informational messages).
Note that this feature is available only with Tivoli Storage Manager client
and server Version 3 or higher. If there is no LOG_SERVER statement in
the profile, log messages are not sent to any of the Tivoli Storage Manager
servers.
MAX_SESSIONS n|1
Specifies the maximum number of parallel Tivoli Storage Manager client
sessions that DP for mySAP establishes for backup, archive (log files) and
restore. Each session transfers one database object or, in the case of an
RMAN backup or restore, a set of data blocks to or from the Tivoli Storage
Manager server by using the Tivoli Storage Manager API client functions.
DP for mySAP optimizes the data transfer with regard to the physical
location of the Oracle objects. Files stored on different volumes are backed
up in parallel. For a direct backup/restore on tape drives, keep the
following in mind: the number of sessions must be less than or equal to
the number of tape drives available for the backup. For performance
reasons, it is recommended that you use as many parallel sessions as tape
drives are available.
Note: Make sure that the mountlimit (mountl) parameter in the device
class is set to the number of available tape drives.
Make sure that the maxnummp parameter of the node is set to the
number of available tape drives.
This keyword is required.
For more detailed information about implementing and using
MAX_SESSIONS see Appendix I, “Hints and Tips for SAP Backup
Utilities,” on page 163.
Keep in Mind
The MAX_SESSIONS value must be less than or equal to the sum of
the SESSIONS values specified in the SERVER statement(s).
MAX_ARCH_SESSIONS, MAX_BACK_SESSIONS,
MAX_RESTORE_SESSIONS
These parameters have the same function as the MAX_SESSIONS
parameter, but they are more specific. They define the number of parallel
sessions used for the BRARCHIVE, BRBACKUP and BRRESTORE
functions. If MAX_SESSIONS is specified with one or more of these
parameters, the more specific parameters overwrite the MAX_SESSIONS
parameter. You must specify them all if you don’t specify the
MAX_SESSIONS parameter.
The MAX_ARCH_SESSIONS defines the number used for archive (backup
of log files). Usually archive does not need as many sessions as (data file)
backup since the volume is much smaller with log files. This value will
overwrite MAX_SESSIONS for archive. It defines the number of parallel
sessions used for restore.
The MAX_BACK_SESSION defines the number of parallel sessions for
(data file) backup.
The MAX_RESTORE_SESSIONS defines the number of parallel sessions
Appendix A. The Data Protection for mySAP Profile 87
used for restore. For restore, more tape drives may be available than for
backup. Using these additional tape drives may speed up the data transfer
for restore if the backup is written to multiple tapes (tape capacity small
compared to database volume).
This value will overwrite MAX_SESSIONS for restore.
MAX_VERSIONS n|0
n defines the maximum number of database backup versions to be kept in
backup storage. The default setting for this value is 0, meaning that backup
version control is disabled.
Be aware that if you are using backup version control, you use the same
initSID.bki file for BRBACKUP and BRARCHIVE, to avoid an unexpected
loss of data.
Every time a full backup completes successfully, the version count is
incremented by 1 and stored in the DP for mySAP configuration file. This
value is also assigned to the tablespace files and to all subsequent redo log
backups. If the number of versions kept in backup storage is larger than
the specified maximum number of backup versions (stored in the
parameter MAX_VERSIONS), the oldest versions are deleted (together with
the corresponding tablespace and redo log files) until only the specified
maximum number of most recent versions remain.
Notes
v Partial backups get the same version number as the last successful
full backup. When DP for mySAP deletes an old full backup, all
partial backups with the same version number are also deleted.
v Every database instance needs its own configuration file (see
parameter CONFIGURATION_FILE) and a unique
BACKUPIDPREFIX.
CAUTION
Tivoli Storage Manager uses the value of the parameter RETVER
specified when defining a copy group (see “3. Policy Definition” on
page 145) to give files an expiration date. If you use Data Protection
for mySAP backup version control, you need to bypass this
expiration function. If you use the Tivoli Storage Manager expiration
function, you need to turn off Data Protection for mySAP backup
version control. Use only one of these methods to control how long
you keep backups.
If you use Data Protection for mySAP backup version control, set
the Tivoli Storage Manager parameter RETVER=9999 so that the files
are not considered expired and are not deleted by Tivoli Storage
Manager.
MULTIPLEXING n|1
Specifies the number of files which are multiplexed into one data stream.
The allowed range is from 1 to 8. The optimal value depends strongly on
the actual hardware environment. Simply speaking, multiplexing makes
88 Data Protection for mySAP Installation & User’s Guide for Oracle
sense when fast tapes and fast networks are available, when the database
files are highly compressible and the CPU load is not too high. Optimal
values can be expected in the range from 1 to 4.
If not specified, the default value of 1 means ’no multiplexing’.
This parameter has no effect if an RMAN backup/restore is started.
PASSWORDREQUIRED NO|YES
Specifies if Tivoli Storage Manager requires a password to be supplied by
the Tivoli Storage Manager client. This depends on the Tivoli Storage
Manager installation. For more information see the Tivoli Storage Manager
administrator’s manuals and “Modifying the Handling of the TSM
Password” on page 43.
If not specified, the default is PASSWORDREQUIRED YES, implementing
manual password handling.
Keep in Mind
This parameter must be defined in conjunction with the respective
SERVER statement, as shown in the sample profile.
REDOLOG_COPIES n|1
Specifies the number of copies DP for mySAP stores for each processed
Oracle redo log.
If not specified, DP for mySAP stores only one copy of the redo logs.
How many copies are stored depends on the setting of the keyword
REDOLOG_COPIES. If the keyword is set to 2, for example, two copies
will be created.
This feature can only be used when (at least) as many archive management
classes are defined as numbers of log copies are specified (keyword
BRARCHIVEMGTCLASS).
Note
The number of different BRARCHIVE management classes (keyword
BRARCHIVEMGTCLASS) specified must be greater than or equal to
the number of redo log copies specified.
Note
RL_COMPRESSION is only performed if a full database backup
(BRBACKUP) was started. The offline log files (BRARCHIVE) are not
compressed
SERVER servername
Denotes the name of the Tivoli Storage Manager server to which a path
will be established.
This statement starts a server section in the Data Protection for mySAP
profile. At least one server section is required.
Server sections are located at the end of the profile. A server section ends
before a following SERVER keyword, before the END keyword, or at the
end of the profile.
The following dependent keywords may appear in a server section:
ADSMNODE, BRARCHIVEMGMTCLASS, BRBACKUPMGMTCLASS,
PASSWORDREQUIRED, SESSIONS, TCP_ADDRESS, and USE_AT. The
server name must be defined in the Tivoli Storage Manager profiles
| dsm.sys ( UNIX or Linux ) or <servername.opt> (Windows).
In order to set up alternate or parallel paths, each path is denoted by its
own logical server name and corresponding server section, although these
logical names refer to the same server. In this case, the TSM profiles
specify the same TCP/IP address for these server names.
In order to set up alternate or parallel servers, each server is represented
by one or more server statements and the corresponding server sections
(depending on the number of paths to the server). In this case, the TSM
profiles specify different TCP/IP addresses for the different servers.
Note
Do NOT use any profile keywords or ’ADSM’ or ’TSM’ as
servername.
SESSIONS n|1
n specifies the number of parallel sessions DP for mySAP can start for this
server.
This keyword is required in every server section.
Keep in Mind
This parameter must be defined in conjunction with the respective
SERVER statement, as shown in the sample profile.
90 Data Protection for mySAP Installation & User’s Guide for Oracle
SORT_FILE
To perform manual sorting, a so-called sortfile has to be created. The format
of the sortfile is:
The disk numbers are counted from 1 to n. They do not have any relation
to the physical disks. You only have to specify the same number for the
files on the same physical disk.
TCP_ADDRESS
Specifies the IP address of this Tivoli Storage Manager server. This
parameter overrides the value for the parameter TCPSERVERADDRESS in
| the Tivoli Storage Manager profile dsm.sys file on UNIX or Linux or in the
servername.opt on Windows.
Note
The parameter TCP_ADDRESS must only be used with Tivoli Storage
Manager API Version 5.2 or higher.
Keep in Mind
The parameter TCP_ADDRESS must be defined in conjunction with
the respective SERVER statement as shown in the sample profile
below.
Note
Do not use this parameter unless your DP for mySAP support asks
you to. Using it can significantly degrade the performance of DP for
mySAP.
Note
| If the value of TRACEFILE contains the string ’%BID’ this string is
| replaced by the backup ID to get the path and name of the trace file
| actually used. For example, specifying ’/tmp/%BID.trace’ will yield a
| trace file ’/tmp/myBackup.trace’ for backup ID ’myBackup’.
A trace will only be written if both TRACE and TRACEFILE are specified.
| TRACEMAX n
| Denotes the maximum size of the trace file in KB. If not specified, the trace
| file size is unlimited.
USE_AT days
Specifies on which days the Tivoli Storage Manager server named with the
corresponding SERVER keyword will be used. ’days’ are numbers from 0
(Sunday) to 6 (Saturday). You may list several numbers, separated by
spaces.
If not specified, the default is to use the Tivoli Storage Manager server on
all days.
| If you use this keyword make sure that the same TSM server is used for a
| simulation and its corresponding basis production backup. For details on
| simulations see “Simulating Backup and Restore” on page 75.
Keep in Mind
The parameter USE_AT must be defined in conjunction with the
respective SERVER statement as shown in the sample profile below.
The parameter has no effect on actions other than backup.
92 Data Protection for mySAP Installation & User’s Guide for Oracle
| #
| # For comment symbol the character ’#’ can be used.
| # Everything following this character will be interpreted as comment.
| #
| # Data Protection for mySAP (R) V5R3 accesses its profile
| # in "read only" mode only. All variable parameters like passwords, date of
| # last password change, current version number will be written into the file
| # specified with the CONFIG_FILE parameter. The passwords will be encrypted.
|
|
| #--------------------------------------------------------------------------
| # Prefix of the ’Backup ID’ which will be used for communication with SAPDBA
| # and stored in the description field of the Tivoli Storage Manager archive
| # function.
| # Must be 6 characters.
| # Default: none.
| #--------------------------------------------------------------------------
| BACKUPIDPREFIX SID___
|
|
| #--------------------------------------------------------------------------
| # Number of total parallel sessions to be established.
| # Note: this number should correspond with the number of simultaneously
| # available tape drives specified for the Tivoli Storage Manager server.
| # The valid range of MAX_SESSIONS is from 1 to 32.
| # Default: none.
| #--------------------------------------------------------------------------
| MAX_SESSIONS 1 # 1 Tivoli Storage Manager client session is default
|
|
| #--------------------------------------------------------------------------
| # Number of parallel sessions to be established for the database backup.
| # Note: this number should correspond with the number of simultaneously
| # available tape drives specified for the Tivoli Storage Manager server.
| # The valid range of MAX_BACK_SESSIONS is from 1 to 32.
| # Default: none.
| #--------------------------------------------------------------------------
| #MAX_BACK_SESSIONS 1 # 1 Tivoli Storage Manager client session for backup
|
|
| #--------------------------------------------------------------------------
| # Number of parallel sessions to be established for the archive log backup.
| # Note: this number should correspond with the number of simultaneously
| # available tape drives specified for the Tivoli Storage Manager server.
| # The valid range of MAX_ARCH_SESSIONS is from 1 to 32.
| # Default: none.
| #--------------------------------------------------------------------------
| #MAX_ARCH_SESSIONS 1 # 1 Tivoli Storage Manager client session for archive
|
|
| #--------------------------------------------------------------------------
| # Number of parallel sessions to be established for the restore of files.
| # Note: this number should correspond with the number of simultaneously
| # available tape drives specified for the Tivoli Storage Manager server.
| # The valid range of MAX_RESTORE_SESSIONS is from 1 to 32.
| # Default: none.
| #--------------------------------------------------------------------------
| #MAX_RESTORE_SESSIONS 1 # 1 Tivoli Storage Manager client session for restore
|
|
| #--------------------------------------------------------------------------
| # Number of backup copies of the archived redo logs.
| # The valid range of REDOLOG_COPIES is from 1 to 9.
| # Default: 1.
| #--------------------------------------------------------------------------
| #REDOLOG_COPIES 2 # 1 is default
|
|
| #--------------------------------------------------------------------------
| # Specifies whether a null block compression of the data is to be performed
| # before transmission to Tivoli Storage Manager.
| # Although RL compression introduces additional CPU load, throughput can be
94 Data Protection for mySAP Installation & User’s Guide for Oracle
| #--------------------------------------------------------------------------
| # Control of error situations
| # The valid range of EXITONERROR is from 0 to 100.
| # Default: NO.
| #--------------------------------------------------------------------------
| #EXITONERROR 3 # don’t exit if an error occurs
|
|
| #--------------------------------------------------------------------------
| # Control of information for reporting purposes, e.g. messages, statistics.
| # Default: NO (no additional data will be reported).
| #--------------------------------------------------------------------------
| #REPORT NO # no additional messages
| #REPORT YES # all additional messages
| #REPORT 2 # all additional messages + summary
|
|
| #--------------------------------------------------------------------------
| # Controls generation of a trace file.
| # Note: we recommend using the trace function only in cooperation with
| # the hotline.
| # Default: OFF.
| #--------------------------------------------------------------------------
| #TRACE OFF
|
|
| #--------------------------------------------------------------------------
| # Specify the full path of the trace file.
| # Note: for an actual trace the string ’%BID’ will be replaced by
| # the current backupid.
| # (.../backint_%BID.trace changes to .../backint_SAP___9809182300.trace).
| # Default: none.
| #--------------------------------------------------------------------------
| #TRACEFILE /oracle/C21/dbs/backint.trace
| #TRACEFILE /oracle/C21/dbs/backint_%BID.trace
|
|
| #--------------------------------------------------------------------------
| # Denotes the maximum size of the trace file in KB.
| # If not specified, the trace file size is unlimited.
| #--------------------------------------------------------------------------
| #TRACEMAX <max. size>
| #--------------------------------------------------------------------------
| # Specify the full path of the configuration file.
| # file.
| # Default: none.
| #--------------------------------------------------------------------------
| CONFIG_FILE /oracle/C21/dbs/initSID.bki
|
|
| #--------------------------------------------------------------------------
| # Number of times to retry saving/restoring a file in case an error occurs.
| # The valid range of FILE_RETRIES is from 0 to 100.
| # Default: 3.
| #--------------------------------------------------------------------------
| #FILE_RETRIES 3
|
|
| #--------------------------------------------------------------------------
| # Denotes if Data Protection for mySAP (R) shall send error/status
| # information to a Tivoli Storage Manager server.
| # The servername must match one of the servers listed in a SERVER statement.
| # Values for verbosity can be ERROR, WARNING, or DETAIL.
| # Default: none.
| #--------------------------------------------------------------------------
| #LOG_SERVER servername [verbosity]
| #LOG_SERVER server_a ERROR
|
|
| #--------------------------------------------------------------------------
| # Denotes if Data Protection for mySAP (R) shall use a manual sorting file
| # for disk sorting.
96 Data Protection for mySAP Installation & User’s Guide for Oracle
| # only. All variable parameters like passwords, date of last password
| # change, current version number will be written into the file specified
| # with the CONFIG_FILE parameter. The passwords will be encrypted.
|
| #--------------------------------------------------------------------------
| # Prefix of the ’Backup ID’ which will be used for communication with SAPDBA
| # and stored in the description field of the Tivoli Storage Manager archive
| # function.
| # Maximum 6 characters.
| # Default: none.
| #--------------------------------------------------------------------------
| BACKUPIDPREFIX SID___
|
|
| #--------------------------------------------------------------------------
| # Number of parallel sessions to be established.
| # Note: this number should correspond with the number of simultaneously
| # available tape drives specified for the Tivoli Storage Manager server.
| # Default: none.
| #--------------------------------------------------------------------------
| MAX_SESSIONS 1 # 1 Tivoli Storage Manager client session
|
|
| #--------------------------------------------------------------------------
| # Number of parallel sessions to be established for the database backup.
| # Note: this number should correspond with the number of simultaneously
| # available tape drives specified for the Tivoli Storage Manager server.
| # Default: none.
| #--------------------------------------------------------------------------
|
| #MAX_BACK_SESSIONS 1 # 1 Tivoli Storage Manager client session for backup
|
|
| #--------------------------------------------------------------------------
| # Number of parallel sessions to be established for the archive log backup.
| # Note: this number should correspond with the number of simultaneously
| # available tape drives specified for the Tivoli Storage Manager server.
| # Default: none.
| #--------------------------------------------------------------------------
| #MAX_ARCH_SESSIONS 1 # 1 Tivoli Storage Manager client session for archive
|
|
| #--------------------------------------------------------------------------
| # Number of parallel sessions to be established for the restore of files.
| # Note: this number should correspond with the number of simultaneously
| # available tape drives specified for the Tivoli Storage Manager server.
| # Default: none.
| #--------------------------------------------------------------------------
| #MAX_RESTORE_SESSIONS 1 # 1 Tivoli Storage Manager client session for restore
|
|
| #--------------------------------------------------------------------------
| # Number of backup copies of the archived redo logs.
| # Default: 1.
| #--------------------------------------------------------------------------
| #REDOLOG_COPIES 2 # 1 is default
|
|
| #--------------------------------------------------------------------------
| # Specifies whether a null block compression of the data is to be performed
| # before transmission to Tivoli Storage Manager.
| # Although RL compression introduces additional CPU load, throughput can be
| # improved when the network is the bottleneck. RL compression in Data
| # Protection for mySAP (R) should not be used together with
| # Tivoli Storage Manager API compression.
| # Default: NO
| #--------------------------------------------------------------------------
98 Data Protection for mySAP Installation & User’s Guide for Oracle
| # Control of error situations
| # Default: NO.
| #--------------------------------------------------------------------------
| #EXITONERROR 3 # don’t exit if an error occurs
|
|
| #--------------------------------------------------------------------------
| # Control of information for reporting purposes, e.g. messages, statistics.
| # Default: NO (no additional data will be reported).
| #--------------------------------------------------------------------------
| #REPORT NO # no additional messages
| #REPORT YES # all additional messages
| #REPORT 2 # all additional messages + summary
|
|
| #--------------------------------------------------------------------------
| # Controls generation of a trace file.
| # Note: we recommend using the trace function only in cooperation with
| # the hotline.
| # Default: OFF
| #--------------------------------------------------------------------------
| #TRACE OFF
|
| #--------------------------------------------------------------------------
| # Specify the full path of the trace file.
| # Note: for an actual trace the string ’%BID’ will be replaced by
| # the current backupid.
| # (...\backint_%BID.trace changes to ...\backint_SAP___9809182300.trace).
| # Default: none
| #--------------------------------------------------------------------------
| #TRACEFILE x:\oracle\C21\database\backint.trace
| #TRACEFILE x:\oracle\C21\database\backint_%BID.trace
|
|
| #--------------------------------------------------------------------------
| # Denotes the maximum size of the trace file in KB.
| # If not specified, the trace file size is unlimited.
| #--------------------------------------------------------------------------
| #TRACEMAX <max. size>
| #--------------------------------------------------------------------------
| # Specify the full path of the configuration file.
| # Default: none.
| #--------------------------------------------------------------------------
| CONFIG_FILE x:\oracle\C21\database\initSID.bki
|
|
| #--------------------------------------------------------------------------
| # Number of times to retry saving/restoring a file in case an error occurs.
| # The valid range of FILE_RETRIES is from 0 to 100.
| # Default: 3.
| #--------------------------------------------------------------------------
| #FILE_RETRIES 3
|
|
| #--------------------------------------------------------------------------
| # Denotes if Data Protection for mySAP (R) shall send
| # error/status information to a Tivoli Storage Manager server.
| # The servername must match one of the servers listed in a SERVER statement.
| # Values for verbosity can be ERROR, WARNING, or DETAIL.
| # Default: none.
| #--------------------------------------------------------------------------
| #LOG_SERVER servername [verbosity]
| #LOG_SERVER server_a ERROR
|
|
| #--------------------------------------------------------------------------
| # Denotes if Data Protection for mySAP (R) shall use a manual sorting file
100 Data Protection for mySAP Installation & User’s Guide for Oracle
|
| UNIX or Linux:
v $SAPDATA_HOME/sapbackup for backup and restore runs
v $SAPDATA_HOME/saparch for redo log archive runs
Windows:
v %SAPDATA_HOME%\sapbackup for backup and restore runs
v %SAPDATA_HOME%\saparch for redo log archive runs
All log files written during a backup, restore or archive are listed in summary log
files with start and end timestamps. The summary log files are located in the same
directory as the log files themselves and have the following names:
v back<SID>.log
v rest<SID>.log
v arch<SID>.log
If you are running Oracle RMAN you will also need to look up the file sbtio.log
which is specified by user_dump_dest in the Oracle control files. For most
installations it is located at $SAPDATA_HOME/saptrace/usertrace/sbtio.log. This file
contains all messages issued by the DP for mySAP RMAN connector during
operation of Oracle RMAN.
v Explanation
v User Response
BKI0000E Profile not specified. BKI0007E Mode mode requires the environment
variable environment variables to be set.
Explanation: Data Protection for mySAP cannot locate
the profile. Explanation: Not all environment variables required
have been set. At least environment variables where
User Response: Ensure that a profile is available. Note
missing.
that the BACKINT call must have the following form:
backint -p init<SID>.util . User Response: Set the missing environment
variables.
BKI0004E Function not defined.
BKI0008E The environment variable name is not
Explanation: SAPDBA, BRBACKUP, or BRARCHIVE
set correctly. The current value is value.
passed an invalid argument to DP for mySAP.
Explanation: The value of the environment variable
User Response: Ensure that you have the correct
name is wrong.
version of SAPDBA, BRBACKUP, or BRARCHIVE
installed. Valid functions are: -f backup or -f restore or -f User Response: Set name to an appropriate value.
password or -f delete or -f inquire.
BKI0020I End of program at: time
BKI0005I Start of program at: time
Explanation: DP for mySAP returned control to
Explanation: DP for mySAP received control from SAPDBA, BRBACKUP, BRARCHIVE, or BRRESTORE at
SAPDBA, BRBACKUP, BRARCHIVE or BRRESTORE at time.
time.
User Response: None.
User Response: None.
BKI0021I Elapsed time: elapsedtime
BKI0006E Type for backup not defined [type].
Explanation: The time needed for the complete
Please use ’file’ or ’file_online’.
backup was elapsedtime.
Explanation: DP for mySAP expects as backup type
User Response: None.
parameter only file or file_online.
User Response: If you start DP for mySAP manually
BKI0023I Time: current_time
to do a backup, ensure that the type option (-t)
Done: saved_bytes (percent) of bytes
receives the correct arguments (file or file_online). If
Estimated end time: end_time
your DP for mySAP has been invoked by one of the
SAP database utilities (e.g., BRBACKUP), ensure that Explanation: DP for mySAP finished saving a specific
the SAP backup profile init<SID>.sap is customized object at current_time. The saved_bytes amount of the
correctly) . total number of bytes have been saved. percent shows
the percentage. This DP for mySAP call will be
completed at the estimated end_time.
102 Data Protection for mySAP Installation & User’s Guide for Oracle
User Response: None.
BKI0033E Error opening file file name: system error
description
BKI0024I Return code is: return code
Explanation: See BKI0032E.
Explanation: Shows the return code of DP for mySAP.
User Response: See BKI0032E.
A return code of 0 means no errors or warnings
occurred. If the return code is 1, at least one warning
was issued by the program. If the return code is 2, at BKI0049I Please enter password for node nodename
least one error message was issued. on server server name
User Response: For return codes other than 0, check Explanation: The password for the node nodename on
the run log for warnings or error messages. the Tivoli Storage Manager server server name has to be
entered for storing it in the DP for mySAP
configuration file.
BKI0027I Time: current_time
Objects: current_num of total_num User Response: Enter the password for the
in process: file_name corresponding Tivoli Storage Manager server.
MGMNT-CLASS: management_class
TSM Server: server name.
BKI0050I Please enter password for node nodename
Explanation: DP for mySAP started saving on server server name again
current_num files at current_time. The total number of
Explanation: In order to avoid typing errors, you have
files to save is total_num. The file file_name is currently
to enter the password twice.
being processed. The files are transferred to the Tivoli
Storage Manager server server name, which stores them User Response: Enter the password again.
in the Management Class management_class.
User Response: None. BKI0051I Password successfully verified for node
nodename on server server name.
BKI0030I Time: current_time Explanation: The password for the node nodename on
Objects: current_num of total_num the Tivoli Storage Manager server server name was
in process: file_name changed successfully.
Size: bytes MB
TSM Server: server name. User Response: None.
BKI0057I Time: current_time Object objectname with BKI0064E The option option is unknown.
size saved with description description.
Explanation: A DP for mySAP option is invalid or
Explanation: The object objectname was saved unknown.
successfully.
User Response: Check the specified option(s) and try
User Response: None. again.
BKI0058I Time: current_time Object objectname with BKI0065E The argument is missing for option
size restored with description description. option.
Explanation: The object objectname was restored Explanation: Every DP for mySAP option requires an
successfully. argument.
User Response: None. User Response: Insert the missing argument and try
again.
BKI0059E You have to set the environment
variable DSMI_CONFIG to the full BKI0101I Session session: Please enter ’cont’ to
filename of the Tivoli Storage Manager continue or ’stop’ to cancel.
client option file ’dsm.opt’.
Explanation: If DP for mySAP is running in
Explanation: Tivoli Storage Manager client option file unattended mode (profile keyword BATCH), it
not found. terminates the current run if operator intervention is
required.
User Response: Verify that the Tivoli Storage Manager
option file dsm.opt is pointed to by DSMI_CONFIG. User Response: Enter ’cont’ or ’stop’.
BKI0060E The parameter parameter is not known. BKI0102I Your reply: reply.
Explanation: The command parameter parameter for Explanation: Data Protection for mySAP indicates the
Data Protection for mySAP is unknown. reply you made.
User Response: Check the specified command User Response: None.
parameter and try again.
104 Data Protection for mySAP Installation & User’s Guide for Oracle
BKI0311E Request canceled by user. BKI0414E Error while requesting tablespace
switch.
Explanation: BACKINT terminated at user’s request.
Explanation: BRBACKUP reported an error while
User Response: None
trying to switch a tablespace in BEGIN or END backup
mode.
BKI0400I TDP is waiting for BRBACKUP
User Response: Contact your mySAP administrator.
Explanation: DP for mySAP is waiting for
BRBACKUP to set a tablespace in the begin/end
BKI0450I Version 2 restore: file
backup mode.
Explanation: A restore of data backed up with DP for
User Response: None.
mySAP version 2 was executed.
User Response: None.
BKI0405I TDP waited num_sec sec. for
BRBACKUP in util_file_online
communication. BKI0451I This version of Data Protection for
mySAP (R) (will expire on date.
Explanation: DP for mySAP waited num_sec seconds
for BRBACKUP to set a tablespace in begin/end Explanation: This is a test version that will expire on
backup mode. date.
User Response: None. User Response: None.
BKI0410E Cannot open or delete switch file file BKI0452E This version of Data Protection for
name. Check permissions. mySAP (R) has expired.
Explanation: If DP for mySAP is not installed Explanation: This is a test version that has expired.
| correctly (as the root user on UNIX or Linux or
User Response: Order a release version of Data
administrator group on Windows) then DP for mySAP
Protection for mySAP or contact your IBM/Tivoli Sales
is not able to open the necessary communication file to
Representative.
the mySAP system.
User Response: Check the file permission.
BKI0453W This version of Data Protection for
mySAP (R) will expire in number days.
BKI0411E Maximum time waiting for BRBACKUP
Explanation: This is a test version with a time limit. It
expired.
will expire in number days.
Explanation: The SAP database utilities did not
User Response: Order a release version of Data
respond within the expected time.
Protection for mySAP or contact your IBM/Tivoli Sales
User Response: Contact your mySAP administrator. Representative before the version expires.
BKI0412E BRBACKUP wasn’t able to switch BKI0454I *** This copy is NOT FOR RESALE. ***
requested tablespace in BEGIN/END
Explanation: This version is not for resale.
BACKUP mode.
User Response: None.
Explanation: DP for mySAP could not continue the
backup, because BRBACKUP was not able to switch the
requested tablespace in BEGIN or END backup mode. BKI0455E License file file name does not exist.
This is necessary for locking the tablespace.
Explanation: The license file agent.lic was not found
User Response: Contact your mySAP administrator. where expected.
User Response: Make sure that the agent.lic file
BKI0413E Error while requesting tablespace resides in the same directory as the init<SID>.utl file.
switch.
Explanation: BRBACKUP could not switch tablespace BKI0456E Unable to access license file file name.
in BEGIN or END backup mode.
Explanation: The license file could not be accessed.
User Response: Contact your mySAP administrator.
User Response: Make sure the access permissions
allow read/write access.
106 Data Protection for mySAP Installation & User’s Guide for Oracle
User Response: None.
BKI1010W The configfile name
configuration_filename should be absolute.
BKI1016W The trace file name file name could not
Explanation: None.
be opened for writing!
User Response: Specify an absolute file name, for
Explanation: The trace file could not be opened for
example /oracle/C21/dbs/initC21.bki
writing.
User Response: Ensure that you have specified a
BKI1011W The sortfile name sortfile_filename should
correct path for the trace file.
be absolute.
Explanation: None.
BKI1017E The server server name is already
User Response: Specify an absolute file name, for defined. Please use another name!
example /oracle/C21/dbs/sortfile.
Explanation: The server you want to configure is
already defined.
| BKI1012E Configfile not found or permission
User Response: Specify another server name. Server
| denied: configuration_filename.
names have to be unique.
Explanation: Data Protection for mySAP is unable to
read the file configuration_filename.
BKI1019E Failed to respond to a message received
User Response: This error could have various reasons, from XINT.
try the following:
Explanation: This messages indicates an internal error.
1. Check the path of the configuration file. The path
must be specified in the profile (parameter User Response: Contact your Data Protection for
CONFIG_FILE). mySAP support.
2. Make sure that the file access permissions are set
correctly.
BKI1020W The compress info file file name should
be absolute !
BKI1013E Profile not found or permissions denied:
profile_filename. Explanation: The argument for the parameter
COMPR_INFO in the profile is an relative filename.
Explanation: Data Protection for mySAP is unable to
open the profile profile_filename. User Response: Always use an absolute filename as
argument for the parameter COMPR_INFO.
User Response: Ensure that the SAP backup profile
init<SID>.sap contains a valid entry util_par_file for
the DP for mySAP profile. Furthermore, this file must BKI1021E ProLE terminates the connection due to
| be readable by DP for mySAP. See: DP for mySAP a previous error.
| Installation & User’s Guide for Oracle Chapter: ’Installing Explanation: A fatal error has occurred which caused
| Data Protection for mySAP’ for details. a shutdown of the communication channel between the
ProLE process and this application.
BKI1014I The parameter PERF_MONITOR is no User Response: Look for previous error messages to
longer supported. Now it is enabled by detect the root cause of the problem.
default.
Explanation: For version 2.7 or later of Data BKI1022E ProLE terminates the connection due to
Protection for mySAP , the Performance Monitor of the a previous error.
Administration Assistant can be used by default.
Therefore, the profile parameter PERF_MONITOR is no Explanation: See message BKI1021E.
longer needed. User Response: See message BKI1021E.
User Response: None.
BKI1023W Could not establish connection to log
BKI1015I The parameter BACKAGENT is no server log server name.
longer needed. | Explanation: In the DP for mySAP profile, log server
Explanation: For version 2.7 or later of Data log server name is specified (keyword LOG_SERVER).
Protection for mySAP.com, only one executable, called However, a connection to the server named could not
BACKINT, will be provided and needed. The former be established. No log records are sent to the log server.
executable, called BACKAGENT, will no longer be User Response:
supported or needed.
BKI1203E Not enough sessions available (number BKI1209E Object not found or not accessible
of sessions required and number of objectname.
sessions available). Explanation: DP for mySAP cannot locate the Oracle
Explanation: The sum of available sessions specified object objectname.
in the various server statements (parameter SESSIONS) User Response: The backup integrity is affected.
does not cover the required number of sessions Contact the SAP or DP for mySAP support.
(parameter MAX_SESSIONS).
User Response: Change the values of the BKI1210E Input file not found or not accessible file
corresponding parameters in the DP for mySAP profile, name.
so that the condition mentioned in the explanation is
fulfilled. Explanation: DP for mySAP cannot locate the
temporary file file name. This file contains the list of
Oracle objects to be backed up/restored. It is passed to
108 Data Protection for mySAP Installation & User’s Guide for Oracle
DP for mySAP by BRBACKUP, BRARCHIVE or
BKI1217E There are no BRARCHIVEMGTCLASSES
BRRESTORE.
available.
User Response: Ensure that you have the correct
Explanation: The BRARCHIVEMGTCLASSES you
version of SAPDBA, BRBACKUP, BRARCHIVE or
have specified in your init<SID>.utl file are not correct.
| BRRESTORE installed. See: DP for mySAP Installation &
| User’s Guide for Oracle Chapter: ’Prerequisites for the User Response: Check the management classes on the
| Installation of Data Protection for mySAP’ for details. TSM server and specify correct ones.
BKI1211E There is something wrong with your BKI1222E Version missmatch error. Check setup
CONFIG_FILE file name. (%1$S:%2$S).
Explanation: There is a problem with your DP for Explanation: The version numbers of the installed
mySAP configuration file setup. executables BACKINT and ProLE do not match.
User Response: Check the file permission and the file User Response: Check your setup or contact DP for
name specified in the DP for mySAP profile keyword mySAP support.
CONFIG_FILE.
BKI1223W A problem occurred during send of
BKI1212W The file file name was not found in the performance data to Administration
manual sorting file. Assistant .
Explanation: The file you want to back up was not Explanation: There was a problem sending the
found in the manual sorting file. performance data to the Administration Assistant over
the network.
User Response: Check and correct the manual sorting
file so that it contains all the files you are backing up. User Response: Check your setup or contact DP for
mySAP support.
BKI1213I Program ended with code = return code
BKI1224W Unable to initialize connection to
Explanation: The return code of the program is
Administration Assistant.
displayed.
Explanation: There was a problem initializing the
User Response: None.
connection to the Administration Assistant over the
network.
BKI1214E TSM Error: error text
User Response: Check your setup or contact DP for
Explanation: The specified TSM error occurred. mySAP support.
User Response: Check error text and correct the
problem. BKI1227I Average compression factor was number.
Explanation: The data transferred had been
BKI1215I Average transmission rate was number compressed by the factor number.
GB/h (number MB/sec).
User Response: None
Explanation: The average transmission rate is
displayed.
| BKI1228W Server server name can not be used with
User Response: None. | password access method GENERATE in
| this environment. The process is
| running with user ID number but the
BKI1216E There are no BRBACKUPMGTCLASSES | effective user ID is number.
available.
| Explanation: The user ID and the effective user ID of
Explanation: The BRBACKUPMGTCLASSES you have | the process are different. In order to utilize the
specified in your init<SID>.utl file are not correct. | password access method GENERATE the IDs must be
User Response: Check the management classes on the | equal.
TSM server and specify correct ones. | User Response: Change the value for the parameter
| ″PASSWORDACCESS″ in the file dsm.sys (UNIX and
| Linux) or servername.opt (Windows) from ’generate’ to
| ’prompt’. Reset the password for this node at the Tivoli
| Storage Manager server and run backint -f password.
| This prompts you for the password and stores it
110 Data Protection for mySAP Installation & User’s Guide for Oracle
BKI2012E Passwords do not match. Try again. BKI2021E Unable to delete file file name: description
Explanation: The first and second password you Explanation: Unable to delete the file ’file name’.
entered do not match. ’description’ may contain the system error text.
User Response: Enter the password correctly. User Response: Check the ’description’. If the error
persists, contact your service representative.
BKI2013I Starting FRONTEND Program.
BKI2022E Unable to change mode of file file name:
Explanation: The frontend program is executing.
description
User Response: None.
Explanation: Unable to change mode of file ’file name’.
’description’ may contain the system error text.
BKI2014I FRONTEND program finished.
User Response: Check the ’description’. If the error
Explanation: The frontend program is finished. persists, contact your service representative.
User Response: None.
BKI2023E Error occurred during trace connection
to ProLE. Tracing will stop now.
BKI2015I Starting BACKEND program.
Explanation: Error occurred during trace connection
Explanation: The backend program is executing. to ProLE.
User Response: None. User Response: Tracing will stop. If the problem
persists, contact your service representative.
BKI2016I BACKEND program finished.
Explanation: The backend program is finished. BKI2024E Error in connection to ProLE.
BKI2018E Exception in main message loop: BKI2025E Failed to respond to a message received
description from ProLE.
112 Data Protection for mySAP Installation & User’s Guide for Oracle
BKI4009E Not enough space to write file file name. BKI5006E Tivoli Storage Manager Error:
Possible reasons: disk full or ulimit error_message
exeeded.
Explanation: See BKI5001E.
Explanation: The system rejected a request to write
User Response: See BKI5001E.
data into file file name. The storage media might not
have enough free space to keep the file or the system
rejected writing the file due to administrative resource BKI5007E Tivoli Storage Manager Error:
constraints such as ulimits. error_message
User Response: Contact your system administrator. Explanation: See BKI5001E.
User Response: See BKI5001E.
BKI5000E Tivoli Storage Manager Error:
error_message
BKI5008E Tivoli Storage Manager Error:
Explanation: During a connection of DP for mySAP to error_message
Tivoli Storage Manager server, a Tivoli Storage
Manager error error_message occurred. Explanation: See BKI5001E.
User Response: Use the Tivoli Storage Manager User Response: See BKI5001E.
Messages guide and correct the Tivoli Storage Manager
server error. Try your last action again. BKI5009E Tivoli Storage Manager Error:
error_message
BKI5001E Tivoli Storage Manager Error: Explanation: See BKI5000E.
error_message
User Response: See BKI5000E.
Explanation: During a connection of DP for mySAP to
Tivoli Storage Manager server, a Tivoli Storage
Manager error error_message occurred. BKI5010E Tivoli Storage Manager Error:
error_message
User Response: Use the Tivoli Storage Manager
Messages guide and correct the Tivoli Storage Manager Explanation: See BKI5000E.
server error. Try your last action again. User Response: See BKI5000E.
BKI5002E Tivoli Storage Manager Error: BKI5011E Tivoli Storage Manager Error:
error_message error_message
Explanation: See BKI5001E. Explanation: See BKI5000E.
User Response: See BKI5001E. User Response: See BKI5000E.
BKI5003E Tivoli Storage Manager Error: BKI5012E Cannot open TSM API message text file.
error_message Check if DSMI_DIR is set correctly.
Explanation: See BKI5001E. Current value of DSMI_DIR is: value
User Response: See BKI5001E. Explanation: The TSM-API could not be initialized.
User Response: Correct the value of the environment
| BKI5004W Tivoli Storage Manager Error: variable DSMI_DIR.
| error_message
| Explanation: See BKI5001E. BKI5013E Value for name is too long. Current
value: value
| User Response: See BKI5001E.
Explanation: The value of the environment variable
name has too many digits.
BKI5005E Tivoli Storage Manager Error:
error_message User Response: Check if the variable is set correctly.
BKI5015W Data description could not be restored, BKI7012E Invalid arguments during call of
because it was backed up with a newer function.
version (objInf=support information)
Explanation: This is an RMAN internal error.
Explanation: The TSM server hosts backups (i.e. data
User Response: See your Oracle documentation or
description) which were made with a new version of
contact your Oracle database administrator.
backint. Backint ignores this data in the further
processing.
BKI7020E Bad handle rman_handle during call of
User Response: Upgrade backint
function.
Explanation: This is an RMAN internal error.
| BKI5016I Time: current_time New TSM session
| created: MGMNT-CLASS: User Response: See your Oracle documentation or
| management_class, TSM-Server: contact your Oracle database administrator.
| server_name, type: session_type.
| Explanation: A new session to TSM server server_name BKI7021E Bad flags during call of function.
| has been established at current_time. Data will be stored
| in management class management_class. Explanation: This is an RMAN internal error.
| User Response: Retry the action. If the error occurs User Response: None.
| again contact your DP for mySAP support.
BKI7051E The environment variable
| BKI5018E The requested buffer has a size XINT_PROFILE is not set. It must be set
| (current_size bytes) that is smaller than and contain the full qualified path to
| requested requested_size. the *.utl file to be used.
| Explanation: The request for a new buffer returned Explanation: The way DP for mySAP works is
| successful. The buffer, however, has not the requested specified in a profile. When called, DP for mySAP looks
| size. for the environment variable XINT_PROFILE which
must contain the fully qualified path to the profile.
| User Response: Check if the system is running low on
| memory and retry the action. If the error occurs again User Response: Check the environment for
| contact your DP for mySAP support. XINT_PROFILE of the user who started DP for mySAP.
BKI7001E Backup file file name already exists. BKI7053E Service setup failed due to previous
error.
Explanation: This is an RMAN internal error.
Explanation: The initialization of DP for mySAP failed
User Response: See your Oracle documentation or due to previous errors.
contact your Oracle database administrator.
User Response: Check the DP for mySAP log file for
further detailed messages.
114 Data Protection for mySAP Installation & User’s Guide for Oracle
| depending on the RMAN setup. On Windows, it is
BKI7055E Service open failed due to previous
| written just once.
error in data mover.
| User Response: None, if the right version is used. If
Explanation: The DP for mySAP command could not
| the version within the log does not match the installed
be started due to previous errors.
| version see ’Troubleshooting’ in Appendix C.
User Response: Check the DP for mySAP log file for
further detailed messages.
BKI7303W Profiles for DP ESS for mySAP are
different.
BKI7056E Service open failed because configured backup: file name
TSM server could not be accessed. restore: file name
Explanation: The DP for mySAP command could not Explanation: During backup the profile used by DP
be started because the TSM server defined in the profile for IBM ESS for mySAP can be determined
could not be accessed. automatically. For restore and inquire operations the
profile for DP for IBM ESS for mySAP must be
User Response: Check the DP for mySAP log file for
specified in the profile using the parameter FCS_FILE.
further detailed messages.
For restore DP for IBM ESS for mySAP must use the
same profile as for backup.
BKI7057E Service open failed because all
User Response: Correct the entry for the FCS_FILE
configured sessions are currently in use.
parameter in the profile (init<SID>.utl).
Explanation: The DP for mySAP command could not
be started because all configured sessions in the profile
BKI7304I Performing DISK ONLY backup
are currently in use.
Explanation: The data for this backup is stored on ESS
| User Response: With Oracle RMAN the number of
disks only and will not be sent to TSM.
| channels configured either in SAP profile or the RMAN
| script must be less or equal to the maximum number of User Response: None
| allowed sessions (MAX_SESSIONS). If multiple servers
| are used see: DP for mySAP Installation & User’s Guide
BKI7305E Error during call to DP ESS for mySAP:
| for Oracle under ’Multiple Servers’ in Chapter
error message
| ’Adjusting Your System’. Also check the DP for mySAP
| log file for further detailed messages. Explanation: DP for IBM ESS for mySAP could not
process the requested operation successfully. Processing
may not stop at this point. Depending on the type of
BKI7058E Service open failed because more than
request (backup to both TSM and ESS disks or to ESS
one file is found with the same name.
disks only, restore of data which is available on both
Explanation: The DP for mySAP command could not TSM and ESS disks or on ESS disks only) there are
be started because two or more files with the same possibilities to recover from this error and continue
name were found. operation.
User Response: Check the DP for mySAP log file for User Response: Use the information from error message
further detailed messages. and the output of DP for IBM ESS for mySAP to
determine the cause of the problem and try again.
BKI7059E Service open failed because cause the
file is not found. BKI7307W DP ESS mySAP reported an error
during FLASHCOPY operation. Do you
Explanation: The DP for mySAP command could not
want to continue to backup to TSM?
be started because a file specified was not found.
Explanation: The backup was requested to be stored
User Response: Check the DP for mySAP log file for
on both the TSM server and the ESS disks. The
further detailed messages.
flashcopy operation to ESS disks has failed. Backup can
continue to save data on the TSM server only.
| BKI7060I Data Protection for mySAP
User Response: Enter ’stop’ if you want to solve the
| <version>.<release>.<modification>
cause of this error and to try again. Enter ’cont’ if you
| (<build number>) <build date> session:
want to save this data on the TSM server only.
| process ID
| Explanation: This message is to verify the version of
| the Data Protection for mySAP shared library used for
| backup. On UNIX and Linux systems this message will
| be written multiple times into the log per backup
116 Data Protection for mySAP Installation & User’s Guide for Oracle
available from the TSM server. So you may continue to
BKI7319I Start TSM restore
restore this data without the flashcopy functionality
Explanation: The restore uses data from Tivoli Storage from TSM server.
Manager.
User Response: Enter ’stop’ if you want to try to
User Response: None restore a different set of files. Enter ’cont’ if you want
to restore this data from TSM server.
BKI7320I Start FLASHCOPY restore.
BKI7324E FLASHCOPY restore of multiple backup
Explanation: The restore uses data from ESS disks.
IDs in one run is not possible.
User Response: None
Explanation: The data requested for this restore
belongs to multiple backup IDs
BKI7321E The DP ESS mySAP profile file name
User Response: Make sure the files you want to
found in parameter FCS_FILE of the DP
restore belong to one single backup ID and try again.
mySAP profile can not be used if you
need to restore this backup.
BKI7535W Error executing command command name.
Explanation: In the DP for mySAP profile the
Reason: errno (error number) explanation.
FCS_FILE parameter is set, however the DP for IBM
ESS for mySAP profile specified either Explanation: The command command name could not
v is not a DP for IBM ESS for mySAP profile be executed successfully.
v does not point to the same DP for IBM ESS for
User Response: Check the explanation explanation and
mySAP configuration file which was used by the
the preceding output of the command execution to
preceding DP for IBM ESS for mySAP splitint
detect the cause of the error.
operation.
User Response: You need
BKI7536I Execute command command name.
v to correct the FCS_FILE parameter thus a valid DP
for IBM ESS for mySAP profile is used, e.g. the file Explanation: The command command name is executed
DP for IBM ESS for mySAP had used when running by the application. This message is followed by the
its flashcopy function in the preceeding brbackup output of the command executed.
task (see preceeding message BKI7303W) User Response: None
v to ensure that if different DP for IBM ESS for
mySAP profiles are used, all use the same control file
(the value of the IDS_CONTROL_FILE parameter in | BKI8201E SIMULATION CANCELED BY
the DP for ESS profile) | PRODUCTION OPERATION!!!
| Explanation: The current operation was a simulation
BKI7322E Request for a partial FLASHCOPY | performed via the Administration Assistant. This
Restore or FLASHCOPY Restore with | simulation was canceled since a production operation
’brrestore -m all’ is not supported. In | (backup or restore) has been started.
case of brrestore attempt rerun with -m | User Response: Check your backup schedule and run
full. | simulations only when no other operations are
Explanation: DP for IBM ESS for mySAP can only | scheduled.
restore the whole content of a backup and not only a
subset of a disk backup as requested. Most likely this is BKI9000E System error: error
caused by running brrestore with the option ’-m all’.
Explanation: DP for mySAP has found the following
User Response: Restore complete backups only, e.g. error: error. This is a ’catch-all’ error code for
run brrestore with the option ’-m full’. unpredictable system errors.
User Response: Contact your service representative.
BKI7323W Request for a partial FLASHCOPY
restore or FLASHCOPY restore with
’brrestore -m all’ is not supported. If BKI9001E Internal error: error
you want to restore the backup: Explanation: DP for mySAP has found the following
- with FLASHCOPY restore enter ’stop’ internal error: error.
and rerun brrestore with ’-m full’
- from TSM enter ’cont’ User Response: Contact Data Protection for mySAP
support.
Explanation: This message has the same reason as
message BKI7322E, but in this case the data is also
BKI9007W An error occurred while terminating the BKI9203E Additional support information: An
application: the error Exception was thrown at position:
Explanation: While terminating the application, an position.
error occurred. This has no impact on the success of the Explanation: This error message typically follows a
operation. previous error. If so this error message can be ignored.
User Response: None Otherwise contact your Data Protection for mySAP
support
BKI9008E This product requires at least version User Response: Contact Data Protection for mySAP
number of product name to be installed. support.
118 Data Protection for mySAP Installation & User’s Guide for Oracle
BKI9205E Additional support information: Unable BKI9211E Additional support information: An
to instantiate name at position position. Exception was thrown at position:
position. (State state)
Explanation: This error message typically follows a
previous error. If so this error message can be ignored. Explanation: This error message typically follows a
Otherwise contact your Data Protection for mySAP previous error. If so this error message can be ignored.
support. Otherwise contact your Data Protection for mySAP
support.
User Response: Contact Data Protection for mySAP
support. User Response: Contact Data Protection for mySAP
support.
BKI9206E Additional support information: Unable
to use actual when expecting expected at BKI9212E Additional support information: No
position position. handler registered for message type type.
Thrown at position: position.
Explanation: This error message typically follows a
previous error. If so this error message can be ignored. Explanation: This error message typically follows a
Otherwise contact your Data Protection for mySAP previous error. If so this error message can be ignored.
support. Otherwise contact your Data Protection for mySAP
support.
User Response: Contact your Data Protection for
mySAP support. User Response: Contact your Data Protection for
mySAP support.
BKI9207E Additional support information: An
Exception was thrown at position: BKI9213E Internal error: A memory allocation
position. request failed at position: position.
Explanation: This error message typically follows a Explanation: This error message typically follows a
previous error. If so this error message can be ignored. previous error. If so this error message can be ignored.
Otherwise contact your Data Protection for mySAP Otherwise contact your Data Protection for
support. mySAP.support.
User Response: Contact your Data Protection for User Response: Contact Data Protection for mySAP
mySAP support. support.
BKI9208E System error errno: errno text at position BKI9214E Additional support information: An
position. exception was thrown from a destructor.
Callstack follows: callstack.
Explanation: A system call failed with errno.
Explanation: This error message typically follows a
User Response: Check errno and errno text with you
previous error. If so this error message can be ignored.
system administrator. If you cannot resolve the
Otherwise contact your Data Protection for mySAP
problem, contact Data Protection for mySAP support.
support.
User Response: Contact Data Protection for mySAP
BKI9209E Additional support information: No
support.
handler registered for message type
message. Thrown at position: position.
BKI9215E Additional support information: An
Explanation: This error message typically follows a
exception was thrown at position:
previous error. If so this error message can be ignored.
position.
Otherwise contact your Data Protection for mySAP
support. Explanation: This error message typically follows a
previous error. If so this error message can be ignored.
User Response: Contact your Data Protection for
Otherwise contact your Data Protection for mySAP
mySAP support.
support.
User Response: Contact Data Protection for mySAP
BKI9210E ESD_AbortDispatchingException thrown
support.
at position: position.
Explanation: An internal error occurred.
User Response: Contact your Data Protection for
mySAP support.
120 Data Protection for mySAP Installation & User’s Guide for Oracle
Data Protection for mySAP File Manager Error Messages
BACKINT not found!
Explanation: The executable BACKINT was not found.
This executable is necessary to run DP for mySAP File
Manager.
User Response: Make sure BACKFM is installed in
the same directory as BACKINT and has the same
permission.
This chapter will help you with setup problems and defects. If you encounter a
performance problem please proceed with “General Performance Considerations”
on page 35.
If an error occurs, always first check the description of the respective error
message, issued by the system. Besides being displayed on the screen, the error
messages also can be found in log files. For these log files and for a description of
the error messages, see Appendix B, “Data Protection for mySAP Messages,” on
page 101. Solve the problem indicated in the error message and retry the action.
If running a 64bit Data Protection for mySAP the port name would be tdpr3ora64
instead of tdpr3ora.
Purpose of this entry is to start a daemon process for the programmed operator
which listens on port tdpr3ora for backint and RMAN connections and is able to
forward performance information to an Administration Assistant server. The port
tdpr3ora can also have a different name but must match with the entry in
/etc/services (see below).
The last two arguments specify the location of the Administration Assistant server
and are only needed if you want to use it. aaserver specifies the IP address of the
host on which the AA is running. 5126 is the default port the server is listening.
On Windows systems please verify if a service ProLE Service is running and set to
automatic startup. If this service is not running Data Protection for mySAP will not
work.
| The installer added a line like the following to the file /etc/services on UNIX or
| Linux or to %SYSTEMROOT%\system32\drivers\etc\services on Windows:
tdpr3ora 57321/tcp
tdpr3ora64 57323/tcp
where tdpr3ora is the entry for 32bit and tdpr3ora64 for 64bit Data Protection.
This port should be the same as in /etc/inittab. Also you need it for the
If you want to use SAPs SAPTOOLs (formerly known as SAP DBA) you need to
modify the file init<SID>.sap. Set backup_dev_type = util_file and the variable
util_par_file should contain the full qualified path and file name of the file
init<SID>.utl. See Figure 27 to get an overview of the configuration files on a
| UNIX or Linux system.
Figure 27. SAP and Data Protection configuration files on UNIX or Linux
The names of the TSM servers specified in init<SID>.utl must match with the
names in the file dsm.sys.
On Windows systems there is no file dsm.sys needed but a file dsm.opt whose
content is not relevant for Data Protection for mySAP. The directory where the file
dsm.opt is contained must also contain files with the name <server>.opt for every
server specified in the init<SID>.utl. There must be an environment variable
DSMI_CONFIG set to an option file within this directory. Best practice is to set
DSMI_CONFIG to dsm.opt. Also on Windows the environment variable DSMI_DIR
must be set pointing to the directory where the file dscamen.txt resides. Usually
this is the directory c:\Program Files\Tivoli\tsm\api.
| On UNIX or Linux systems the DSMI_* variables don’t need to be set if you used
the default paths for installation of TSM API or TSM Backup Archive Client. But if
the variables are set make sure they point to the right files and directories. Also
please check if the user you are running your backups with has the right
permissions to access all the above mentioned files. Otherwise modify the file read
124 Data Protection for mySAP Installation & User’s Guide for Oracle
permissions. The only file where Data Protection for mySAP writes to in order to
store persistent information is the init<SID>.bki. Please also check the write
permission of that file.
Oracle also writes logs of internal operations in the alert log and core files in the
directory specified in the Oracle control files. Usually this is
$SAPDATA_HOME/saptrace/background/alert_<SID>.log.
After installation (1.1 in Figure 28) set the password (1.2) as described in section
“Set the Password” on page 28. If you use a generated password don’t perform
this step. If no problems occur you see a message ’BKI0051I: Password successfully
verified for node <NODENAME> on server <SERVERNAME>’ for each server you
configured within your init<SID>.utl and a message ’BKI0024I: Return code is: 0.’
at the very end of the output. If a problem occurred you should see an error
message.
If you have an Administration Assistant running you may also use the
Configurator of the Administration Assistant. There you can load the configuration
of the node on which you are encountering the problems and let the
Administration Assistant check the configuration.
126 Data Protection for mySAP Installation & User’s Guide for Oracle
Check that the ProLE Service is running on Windows or check if the background
| daemon is running on UNIX or Linux. To check for the daemon issue the
command:
ps -ef | grep prole
On Windows systems you can either have a look in the Services screen of the
Computer Management or issue the command:
net start
If the backup was successful you will see one message #SAVED<BID><FILENAME> per
file you typed in to be saved and again there will be the message ’BKI0024I:
Return code is: 0.’ Otherwise you should see an error message. In this case try to
resolve it by using the error description in Appendix B, “Data Protection for
mySAP Messages,” on page 101.
Now that you got this far you can be sure your Data Protection for mySAP setup
is fairly complete. Now you only need to assure that the SAPTOOLS and Oracle (if
using RMAN) are correctly configured. Go on with step 1.3 and start brbackup as
described in section “Verifying the Installation” on page 29.
Following graphic Figure 29 will help you to isolate problems that occurred when
using RMAN.
After you set up Data Protection for mySAP and Oracle to work together (step 1.1
of Figure 29) as described in Chapter 6, “Using DP for mySAP with RMAN,” on
page 51, you may try to startup Oracle using the server manager (svrmgrl on
| UNIX or Linux , and svrmgr30 on Windows) with Oracle 8.x or using SQL Plus
(sqlplus) on Oracle 9.x .
With RMAN the very first place to look at if an error occurred is the file
sbtio.log, located in the directory specified in the user_dump_dest keyword within
the Oracle profile init<SID>.ora.
This file is usually located at $ORACLE_HOME/saptrace/usertrace/sbtio.log. Always
first review the latest messages in this file since the messages issued in the RMAN
log are often not very helpful.
If this log file is not written (2.2) this is a clear sign that Oracle either was unable
to load the shared library containing the RMAN connector of DP for mySAP or
Oracle encountered an error before calling the DP for mySAP library. In both cases
128 Data Protection for mySAP Installation & User’s Guide for Oracle
there should be an Oracle error message beginning with ’ORA-’, ’PLS-’ or ’RMAN-’
in the log of brbackup. Try to solve this problem using the documentation from
Oracle and SAP.
If the file sbtio.log exists, search for a message beginning with ’BKIXXXXY’ where
’XXXX’ is a four digit number and ’Y’ one of the letters ’I’, ’W’ or ’E’. If you find
such a message you can be sure the RMAN connector of DP for mySAP is loaded
and has been called by Oracle RMAN. Beginning with version 3.3.10 of DP for
mySAP the first message for every new session should be (2.3):
BKI7060I: Data Protection for mySAP <version and build number> session: 764
If you don’t find this message Oracle has loaded a wrong library. In this case do
following
on Windows:
Remove or rename all occurrences of the file orasbt.dll except the one in DP for
mySAP installation directory. Then copy this one to %ORACLE_HOME%\bin. Stop the
OracleService<SID> and restart it.
| On UNIX or Linux systems:
often the RMAN librarylibtdp_r3.<ext> is not found by the Oracle executable. On
this topic there exists a large number of notes from Oracle at Oracle’s web pages
and also some from SAP in OSS.
Also there are notes at Oracle Metalink or Oracle Technet saying one no longer
needs to issue the make command described in Chapter 6, “Using DP for mySAP
with RMAN,” on page 51. This is not true for all operating system / Oracle
version combinations.
For DP for mySAP we strongly recommend to issue the make command on any
| UNIX or Linux system. Whether Oracle needs this command or not, it will not
destroy anything and when executed successful it justifies the library and the
Oracle executable are compatible.
| So on UNIX or Linux systems review if you issued the make command. Also make
sure the library and/or soft link you typed during the command make -f
ins_rdbms.mk ioracle LLIBMM=<lib or link> is existing and the soft link is valid.
It may also be helpful to add the location of the link or library to the environment
| variable LIBPATH on AIX or LD_LIBRARY_PATH on other UNIX or Linux
| systems.
On Windows based systems the location of orasbt.dll must be in the PATH. Also
make sure to have only one orasbt.dll in your systems PATH. It will be helpful as
well to review the setup procedure according to Chapter 6, “Using DP for mySAP
with RMAN,” on page 51 and the hints given in that chapter. Also check if a core
file is written or if Oracle has written a trace within the saptrace/usertrace
directory.
In (2.4) the file sbtio.log is written and you find an error message starting with
BKI see Appendix B, “Data Protection for mySAP Messages,” on page 101.
Using the backint executable to determine any problems may make it easier
Isolating a problem with DP for mySAP and RMAN you may follow the same
steps as in section Backint Problem Resolution. There must be a connection
established to ProLE and TSM server and a password must be set (using backint)
as well. If some of these steps fail you will get exactly the same error messages
with RMAN as you get with backint.
Please also use Appendix B, “Data Protection for mySAP Messages,” on page 101
to review those messages.
Also there might be changes to the system that are caused by the system. Samples
for such changes are:
| v disks are running full. Action: Check with UNIX or Linux command df
v networks slow down. Action: check for reasons like additional hosts, additional
applications, defects in software or hardware. Compare runs in the Performance
Monitor history view in the Administration Assistance or compare the brbackup
/ brrestore log files.
v TSM server is slowing down. Action: check if additional clients and/or
additional operations have been added. Have a look in the TSM servers activity
log.
130 Data Protection for mySAP Installation & User’s Guide for Oracle
If you are able to find any changes made to the system roll them back one at a
time and try to reproduce the problem. In most cases you will find the one change
or set of changes which caused the problem to occur. Now you can decide if you
need those changes or can fix their symptoms. Otherwise if you need to implement
those changes and can not prevent their symptoms you can now contact support
for the effected components.
Random problems
If a problem seems to occur stochastic (sometimes it works, sometimes it does not)
without reason during an operation which the system has performed successfully
many times before, you should try to find out:
What is different when the problem occurs ?
Compare the logs of the application in question (brbackup / brrestore log,
sbtio.log, TSM activity log, etc.) to find out differences between successful and
unsuccessful runs. Try to find a pattern for the occurrence of the problem:
v Is it always occurring at the same time ?
v Is it always occurring after you run some other or the same operation ?
v Is it always occurring if some other application / process is running in parallel ?
If it is occurring always at the same time review if there are any scheduled
processes (virus checker, automatic updates, batch jobs). The above mentioned logs
may help you with this.
Backup Function
The backup function will be normally invoked by the SAP database utilities
BRBACKUP and BRARCHIVE. These programs give DP for mySAP an input file
(in the case of backup and inquire) containing the names and paths of the
database files to be handled.
Note
The Data Protection for mySAP profile init<SID>.utl has to be specified with
the path and file name statement as shown above.
The program prompts you to enter one or more file names. Every successful
backup run (collection of one or more files) is allocated its own backup ID within
Tivoli Storage Manager.
Restore Function
The restore function will be normally started by the SAP database utility
BRRESTORE.
You will be prompted to enter the backup ID and the full file names of the files to
be restored. If the files are to be restored to another directory, it is necessary to
specify the path to the input files.
132 Data Protection for mySAP Installation & User’s Guide for Oracle
Caution
If a file is restored directly, any existing file with the same name will be
overwritten without warning. Thus, it is recommended that you restore
database files directly only in a very controlled manner, when it is absolutely
necessary in order to remove an error. In normal operation you should never
restore a database directly, because this could corrupt the mySAP database.
Inquire Function
The inquire function, normally invoked by SAPDBA and BRRESTORE, will be
used to query the Tivoli Storage Manager server for backup IDs or files which
belong to a particular backup ID.
DP for mySAP prompts you to enter the inquiry in one of four formats. These are:
1. #NULL - to display all backup IDs saved so far. A typical line of the response
could be:
#BACKUP JE0___A0DNE9Z74C
The backup ID in this case is JE0___A0DNE9Z74C (#BACKUP does not belong to the
backup ID). The first six characters are the user defined prefix (see
BACKIDPREFIX on page 84). The next 10 characters after this represent a
unique ID of the backup.
2. BackupID - to display all of the files which belong to that backup ID. A typical
result could be:
##BACKUP JE0___A0DNE9Z74C /oracle/C21/dbs/initC21.utl.
3. #NULL filename - to display all of the backup IDs corresponding to this file.
Filename requires an input consisting of path and name of the file.
4. BackupID filename - to verify whether a particular file has been saved under a
certain backup ID. Filename requires an input consisting of path and name of
the file.
Delete Function
The delete function is used as part of the versioning control mechanism of DP for
mySAP and can only be called by DP for mySAP itself or by a user.
The delete function allows you to delete individual files, which might be necessary
for recovering from an error. This function can be invoked from the command line
as follows:
You will be prompted to enter the backup ID and the full file names of the files to
be deleted.
| File Manager
| The File Manager requires a correct setup of DP for mySAP particularly with
| regard to the backint executable, thus enabling it to connect to the TSM server
| without errors. To connect to the TSM server the File Manager calls the backint
| executable. If this call fails, the File Manager shows an error message but does not
| analyze what the reason for the failure is. To analyze the error, backint manually
| with the inquire function (see “Inquire Function” on page 133) and check the
| output for error messages.
134 Data Protection for mySAP Installation & User’s Guide for Oracle
Appendix D. Installation Planning Sheet
Before starting the installation procedure, collect the following information:
For Windows only: Path where the SAP DBA tools reside:
For Windows only: Path where the Tivoli Storage Manager API resides (contents of
environment variable DSMI_DIR):
For Windows only: Option file of Tivoli Storage Manager (contents of environment variable
DSMI_CONFIG):
For Windows only: Path for Tivoli Storage Manager log files (contents of environment
variable DSMI_LOG):
For Windows only: Installation path for Data Protection for mySAP executables:
Path for Data Protection for mySAP profile: (directory for SAP configuration files)
Network Address
Port number
For each communication path (for example, a Tivoli Storage Manager server
network address), you define a set of additional communication parameters. This
set of communication parameters is called client option data and is collected under
| a logical server name that you can choose freely. Under UNIX or Linux, it is
possible to store all client option data in a single client system option file that is
called dsm.sys. Under Windows, you will need to store the client option data for
each logical server in separate client option files that have the file names
<servername>.opt. For example, if you have two logical Tivoli Storage Manager
servers fast and slow, then you need two client option files fast.opt and slow.opt.
For Windows, you need an additional client user option file, dsm.opt. All option
files must reside in the same directory.
Data Protection for mySAP provides the capability for controlling alternate backup
paths and alternate backup servers in order to use several communication links
between Tivoli Storage Manager clients to:
v Increase throughput by transferring data:
– Over multiple paths simultaneously
– To and from several servers in parallel
v Increase the availability of the Tivoli Storage Manager client-to-server
communication
v Enable disaster recovery backup to a special (remote) Tivoli Storage Manager
server
In the profile init<SID>.utl, each path is defined by a server statement (see also
“Sample Data Protection for mySAP Profiles” on page 92) and the corresponding
| definitions in the Tivoli Storage Manager client system option file dsm.sys for
| UNIX or Linux systems or <server>.opt on Windows systems.
The statement SERVER <server 1..n> denotes Tivoli Storage Manager servers in the
Data Protection for mySAP profile. This corresponds to the statement SERVERNAME
<server 1..n> in the Tivoli Storage Manager client option file(s). These servers are
identified by their TCPSERVERADDRESS and can be located on one system (multiple
paths) or several systems (multiple servers).
SESSIONS denotes the number of parallel session DP for mySAP will schedule for
the given path.
Note
If only 1 path is used, SESSIONS must be equal to MAX_SESSIONS, the parameter
identifying the total number of parallel sessions to be used (equivalent to
number of tape drives/management classes).
138 Data Protection for mySAP Installation & User’s Guide for Oracle
Notes:
[1] If ADSMNODE is not specified, the host name is used.
| [2] On UNIX or Linux, dsm.sys is the single client option file for all Tivoli
Storage Manager servers. On Windows, there is a separate client option file
<server>.opt for each Tivoli Storage Manager server.
[3] If two different physical machines have the same TSM node name or if
multiple paths are defined on one node using several server stanzas,
passwordaccess generate may only work for the first stanza that is used
after password expiration.
During the first client-server contact, the user is prompted for the same
password for each server stanza separately, and a copy of the password is
stored for each stanza. When the password expires, a new password is
generated for the stanza that connects the first client-server contact.
All subsequent attempts to connect via other server stanzas will fail,
because there is no logical link between their copies of the old password
and the updated copy generated by the first stanza used after password
expiration.
To avoid the problem, update the passwords before they expire, to solve
the problem if the passwords have expired, proceed as follows:
1. dsmadmc and update the password on the server.
2. Run dsmc -servername=stanza1 and use the new password to generate
a proper entry.
3. Run dsmc -servername=stanza2 and use the new password to generate
the proper entry.
[4] If you are using Tivoli Storage Manager API 5.2 or higher you can make
use of the new parameter TCP_ADDRESS in the Data Protection for
mySAP profile. This makes the multiple stanzas in the Tivoli Storage
Manager client option file for multiple paths obsolete and eliminates the
problem when updating the password (see [3]).
A backup is normally performed via network path 1 (SERVER statement 1). If this
is unavailable the backup shall be performed using network path 2 (SERVER
statement 2).
The definitions in the Data Protection for mySAP profile could be as shown in the
example below.
If path 1 is active, DP for mySAP will start the 2 sessions as defined in the
SERVER statement for path 1. Since MAX_SESSIONS is also 2, no more sessions
will be started.
If path 1 is inactive, Data Protection for mySAP will start 2 sessions on path 2.
Since this equals the MAX_SESSIONS definition as well, backup will be executed
using path 2.
140 Data Protection for mySAP Installation & User’s Guide for Oracle
EXAMPLE 2: Use of Parallel Paths for Increased Performance
Assume the following configuration:
Two Tivoli Storage Manager servers with connections via two network paths:
– server_a, TCP/IP address xxx.xxx.xxx.xxx
– server_b, TCP/IP address yyy.yyy.yyy.yyy
– Each of these servers has:
- two tape drives
A mySAP database server connected to two networks.
The definitions in the Data Protection for mySAP profile could be as shown in the
example below.
Normal backups are to be performed with server a, which is local to the mySAP
database server. Every Friday a disaster recovery backup should be stored on a
remote Tivoli Storage Manager server (server b).
The definitions in the Data Protection for mySAP profile could be as shown in the
example below.
142 Data Protection for mySAP Installation & User’s Guide for Oracle
Appendix F. Preparing Tivoli Storage Manager for DP for
mySAP
This chapter explains the procedures for setting up TSM for working with Data
Protection for mySAP in an SAP environment. A typical list of actions that the
Tivoli Storage Manager installer or administrator must perform to prepare Tivoli
Storage Manager to work in an SAP environment will be explained.
Note
The following steps and procedures are only samples. The actual values in
your specific environment may be different.
The Tivoli Storage Manager commands presented in this chapter are shown in full
for ease of understanding. In the Tivoli Storage Manager command line interface,
short cuts or abbreviations for all commands and parameters can be used for
convenience. Tivoli Storage Manager also has a Web-browser-based Graphical User
Interface (GUI).
For information on installing Tivoli Storage Manager, see the Tivoli Storage Manager
Quick Start manual.
Note
The latest code fixes for Tivoli Storage Manager can be found at:
ftp://index.storsys.ibm.com/tivoli-storage-management/maintenance
Note
The following steps and procedures are only samples. The actual values in
your specific environment may be different.
In order to adjust the installed TSM to the DP for mySAP, the following activities
must be performed.
For proper storage device setup, check the following items established within the
Tivoli Storage Manager server during the installation procedure:
v Query defined library
q library
144 Data Protection for mySAP Installation & User’s Guide for Oracle
2. Storage Pool Definition
A storage pool is a named collection of storage volumes that are associated with
one device class. Each storage pool represents a collection of volumes that are the
same media type. The storage pool setup defines the storage hierarchy for the
appropriate environment.
In a mySAP environment, there are different kinds of data to be backed up. These
are:
v SAP system data
v mySAP database data (data files, online/offline redo log, control files)
To separate this data within the Tivoli Storage Manager, you must define
appropriate storage pools for each of these data collections. The following section
gives examples of how storage pools within Tivoli Storage Manager can be defined
in consideration of the requirements mentioned above.
To define storage pools within the Tivoli Storage Manager server, log on as Tivoli
Storage Manager Administrator using the Admin Command Line or the Web Admin
and invoke the following commands:
1. Definition of a storage pool for the SAP system data
define stgpool sap_incr <device_class_name> maxscr=5
3. Definition of a storage pool for the first copy of offline redo log files
define stgpool sap_log1 <device_class_name> maxscr=3
4. It is strongly recommended that you back up the offline redo log files twice on
two different Tivoli Storage Manager volumes. For this purpose, you have to
define an additional storage pool for the second copy of offline redo log files.
define stgpool sap_log2 <device_class_name> maxscr=3
Note
When you associate a library tape device, you have to define the maximum
number of scratch volumes (labeled volumes which are empty or contain no
valid data) this storage pool will be allowed to use (parameter maxscr). The
maximum number of scratch tapes depends on the size of the database, the
capacity of the tapes, the number of scratch volumes available and how many
versions of the backup you will keep. Replace these values with your
estimates.
3. Policy Definition
Tivoli Storage Manager policies are used to specify how files are backed up,
archived, migrated from client node storage, and managed in server storage.
2. Management Class definition for file system backups, data files, offline redo
logs and copies of offlineredo logs
define mgmtclass sap_c21 p_c21 mdefault
define mgmtclass sap_c21 p_c21 mdb
define mgmtclass sap_c21 p_c21 mlog1
define mgmtclass sap_c21 p_c21 mlog2
Note
If you are planning to use this Tivoli Storage Manager server with
multiple SAP systems, it is recommended that you use a set of different
management classes for each system.
DP for mySAP uses its own version control mechanism for managing mySAP
database backups. To do this, DP for mySAP backs up all data only to
management classes for which an archive copy group has been defined
(parameter type set to archive; for a definition, see Glosssary page 179). In
addition, to prevent backed up files within Tivoli Storage Manager being
deleted because of their expiration date (Tivoli Storage Manager deletes expired
files), the copy group parameter retver (specifies the number of days a file is
to be kept) should be set to unlimited (9999 or nolimit).
4. Assigning the default management class
assign defmgmtclass sap_c21 p_c21 mdefault
4. Node Definition
The Tivoli Storage Manager server views its registered clients, application clients,
host servers, and source servers as nodes that require services and resources from
the server.
To register a node within Tivoli Storage Manager, log on as Tivoli Storage Manager
administrator using the Admin Command Line or the Web Admin and invoke the
following command:
register node C21 passwd domain=sap_c21 maxnummp=8
146 Data Protection for mySAP Installation & User’s Guide for Oracle
Note
If you are using two or more tape drives, you may want to pay special
attention to the node parameter maxnummp. It defines the maximum number of
mount points that one node can use. The default value is 1. If one node
should use more than one mount point, the parameter must be set to the
desired number of mount points. This parameter should not be set higher
than the total number of drives available on the TSM Server.
|
Configuring the Tivoli Storage Manager Clients
After the server configuration, you have to configure the clients that will use the
Tivoli Storage Manager server. These include the backup/archive client for the file
system backups and the Application Programming Interface (API) client for interface
programs. The Tivoli Storage Manager backup/archive client will be used for file
system backups. The API client allows users to enhance existing applications with
backup, archive, restore, and retrieve services. An installed and confirmed API
client is a prerequisite for DP for mySAP..
General Considerations
First of all, if a successful installation of Tivoli Storage Manager backup/archive
client and API client is to be performed, the clients must be installed on all nodes
that will interface with the Tivoli Storage Manager server.
In the context of a mySAP system landscape, this means that the Tivoli Storage
Manager backup/archive client must be installed on every machine scheduled for
a file system backup, for example, mySAP application servers and the mySAP
database server. The Tivoli Storage Manager API client only needs to be installed
on the mySAP database server machine to enable backup/restore operations of the
mySAP database in combination with the backup interface program DP for mySAP.
The following serves as a quick guide for configuring the Tivoli Storage Manager.
It presents a typical list of actions that the Tivoli Storage Manager installer or
administrator must perform to prepare the Tivoli Storage Manager to operate in an
SAP environment.
Note
Do not compress the data twice!
You will need to try Tivoli Storage Manager client software compression in
your environment to determine whether it is of use for you. In general, the
Tivoli Storage Manager client software compression improves performance only
when network throughput is quite small.
6. Edit the client user options file dsm.opt and set the following values:
LANGUAGE AMENG (this is the default value)
NUMBERFormat 1 (this is the default value)
TAPEPROMPT NO
TIMEFORMAT 1 (this is the default value)
Note
| When the Tivoli Storage Manager API client is installed on UNIX or Linux
| systems, ensure that there is a softlink /usr/lib/libApiDS.<ext> pointing to
the libApiDS.<ext> file in the installation directory
(/usr/tivoli/tsm/client/api/bin) of the Tivoli Storage Manager API. For the
meaning of <ext>, see “RMAN Setup on UNIX and Linux Systems” on page
51.
Note
Do not compress the data twice!
You will need to try Tivoli Storage Manager client software compression in
your environment to determine whether it is of use for you. In general, the
Tivoli Storage Manager client software compression improves performance only
when network throughput is quite small.
Password Handling
For a discussion of the password handling methods, please see “Modifying the
Handling of the TSM Password” on page 43.
After selecting the suitable method, follow the steps in the appropriate
configuration matrix below to set the keywords and parameters in the various
profiles accordingly.
Notes:
1. See Tivoli Storage Manager documentation.
2. If you are using manual password generation during testing, make sure that
the expiration period is set to a sufficiently long time.
3. This password must be the one that is effective on the TSM server for the node.
4. ADSMNODE must not be set when PASSWORDACCESS generate is set.
5. The users <SID>adm and ora<SID> must have read and write permission for the
path specified in the PASSWORDDIR keyword in the Tivoli Storage Manager
client options file.
6. This step is only necessary if the password is expired (manual handling only)
or needs to be changed on the TSM server.
7. A password must be entered for each server statement in the DP for mySAP
profile.
8. This step is necessary in case the Tivoli Storage Manager Backup Archive Client
is used to access data for the same node.
150 Data Protection for mySAP Installation & User’s Guide for Oracle
Password Configuration Matrix (Windows)
After you have selected the suitable password handling alternative, follow the
configuration matrix to set the keywords/parameters in the different profiles
accordingly. Proceed as indicated by the step number.
Table 6. Password Handling for Windows
Step Profile/Action Parameter Password
No Manual Set by Tivoli
Storage
Manager
1 Tivoli Storage AUTHENTICATION OFF ON ON
Manager admin EXPIRATION PERIOD n.a. <n days> <n days>
(see note 1) (see note 2)
2 <server>.opt PASSWORDACCESS n.a. PROMPT GENERATE
PASSWORDDIR n.a. n.a. <path>
(see note 5)
NODENAME n.a. n.a. <nodename>
3 Tivoli Storage SET PASSWORD n.a. n.a. <password>
Manager client (see note 3) n.a.
4 DP for mySAP profile For each SERVER statement
init<SID>.utl specify:
PASSWORDREQUIRED NO YES NO
ADSMNODE <nodename> <nodename> (see note 4)
5 DP for mySAP For each SERVER statement
command line specify:
backint -p init<SID>.utl -f n.a. <password> <password>
password (see note 1)
See: “Modifying the Handling of
the TSM Password” on page 43.
Notes:
1. See Tivoli Storage Manager documentation.
2. If you are using manual password generation during testing, make sure that
the expiration period is set to a sufficiently long time.
3. For an initial setup this password must be the same as was specified when
registering the node to Tivoli Storage Manager. The password must be changed
first on the Tivoli Storage Manager server and then in the DP for mySAP
product.
4. ADSMNODE must not be set when PASSWORDACCESS generate is set.
5. The users <SID>adm and sapservice<SID> must have read and write permission
for the path specified in the PASSWORDDIR keyword in the Tivoli Storage
Manager client options file.
6. This step is only necessary if the password is expired (manual handling only)
or needs to be changed on the TSM server.
7. A password must be entered for each server statement in the DP for mySAP
profile.
8. This step is necessary in case the Tivoli Storage Manager Backup Archive Client
is used to access data for the same node.
For example, you want a cron job to start a shell script backup.ksh (the content of
backup.ksh can be found in Appendix G, “Backup Scheduling Examples”) from
Monday through Friday at 11:30 p.m. which will use the SAP database utility
BRBACKUP to save the mySAP database. In this case, the entry in the crontab to
start the script will be as follows:
30 23 * * 1,2,3,4,5 /usr/bin/su - ora<SID> -c "/oracle/SID/sapscripts/backup.ksh"
154 Data Protection for mySAP Installation & User’s Guide for Oracle
#
# --------------------------------COMMAND-----------------------------------
brbackup -u system/manager -c -m all -t offline
If the schedule service is running, jobs can be scheduled with the at command
which can be used to invoke the batch file backup.cmd (the content of backup.cmd
can be found in “Elements of Backup Schedules for Windows” on page 156). If you
want to run this every Friday at 8:00 p.m., the following command must be
invoked:
at 20:00 /every:f cmd /c <drive>:\oracle\SID\sapscripts\backup.cmd
156 Data Protection for mySAP Installation & User’s Guide for Oracle
rem c:\oracle\C21\sapdata1
rem c:\oracle\C21\sapdata2
rem c:\oracle\C21\sapdata3
rem c:\oracle\C21\sapdata4
rem c:\oracle\C21\sapdata5
rem c:\oracle\C21\sapdata6
rem
rem Remarks on the parameters of BRBACKUP:
rem
rem -u system/manager Oracle username/password
rem -c run BRBACKUP in unattended mode
rem -m all backup all tablespaces
rem -t offline perform backup offline
rem
rem The following should be configured within the SAP backup profile
rem initC21.sap:
rem
rem backup_dev_type = util_file
rem causes BRBACKUP to use the external program
rem Data Protection for mySAP
rem util_par_file = %ORACLE_HOME%\database\initC21.utl
rem Data Protection for mySAP profile
rem ------------------------------COMMAND-----------------------------------
brbackup -u system/manager -c -m all -t offline
SErvername server_a
Tapeprompt No
DOM /usr/sap /sapmnt/C21 /usr/sap/trans /oracle/C21
SErvername server_a
COMMmethod TCPip
TCPPort 1500
TCPServeraddress loopback
TCPBuffsize 32
TCPWindowsize 24
Compression Off
InclExcl /usr/lpp/tsm/bin/inclexcl.sample
160 Data Protection for mySAP Installation & User’s Guide for Oracle
* is required.
*
* Note: This file contains the client options for the Tivoli Storage Manager
* server called ’server_a’.
*
* Please see the Tivoli Storage Manager documentation for details.
*
*************************************************************************
COMMmethod TCPIP
SLOWINCR NO
COMPression OFF
NODEname C21
TCPPort 1500
TCPServeraddress xxx.xxx.xxx.xxx
PASSWORDACCESS PROMPT
TCPBUFFSIZE 31
TCPWINDOWSIZE 32
162 Data Protection for mySAP Installation & User’s Guide for Oracle
Appendix I. Hints and Tips for SAP Backup Utilities
Hints and Tips for BRARCHIVE
| For a BRARCHIVE run there are two important parameters in the DP for mySAP
profile: BRARCHIVEMGTCLASS and REDOLOG_COPIES.
v The main purpose of the BRARCHIVEMGTCLASS keyword is to provide the
capability of separating the backup media target for the redo log files from the
backup media target for the Oracle database files.
v The main purpose of the REDOLOG_COPIES keyword is to get multiple backup
copies of the redo log files (REDOLOG_COPIES > 1) on different backup media
through the usage of different Tivoli Storage Manager management classes.
Note
| A Tivoli Storage Manager management class used by DP for mySAP
defines
– to which Tivoli Storage Manager storage pool the Tivoli Storage
Manager server will write the backup data (be it for redo log files or
Oracle database files)
– how long the Tivoli Storage Manager server will keep the backup(s) of
those files
| Be aware that Data Protection for mySAP always uses the archive capabilities of
Tivoli Storage Manager (in the context of backup and restore).
By creating multiple copies, the database administrator will be able to restore and
recover an Oracle database in an SAP R/3 environment even if a database backup
tape and/or a redo log backup tape gets corrupted or lost.
Some general Tivoli Storage Manager aspects about resource utilization (focus on
tape drives) should be kept in mind when you implement Tivoli Storage Manager
| and Data Protection for mySAP.
| v One BRARCHIVE run might trigger via Data Protection for mySAP several
simultaneously running backup sessions.
v Running several SAP R/3 databases might cause several BRBACKUPs to run
simultaneously.
If this situation had been overseen in the planning and set up stage, it may cause
intermittent BRARCHIVE/BRBACKUP problems. Running more parallel sessions
than the number of available tape drives for the various storage tape pools will
cause severe performance degradation and will also abend some sessions in certain
situations. The utilization of disk storage pools (connected to tape storage) as
interim Tivoli Storage manager storage is one solution for such a tape congestion
problem (see item 2 below).
Depending on the value for MAX_SESSIONS, you can run one or more sessions
| simultaneously when running a backup with Data Protection for mySAP. By
Case 2 has the advantage that several sessions can simultaneously access one disk
storage pool. There is no limitation caused by MOUNTLIMIT. Each disk storage
pool is assumed to be connected to a tape storage pool. The disk storage pool can
be migrated to the appropriate tape storage pool either:
v automatically by the Tivoli Storage Manager server (see HIGHMIG/LOWMIG
values)
or
v at particular times using your own scripts which lower the HIGHMIG to 1 thus
forcing the migration to tape.
For installations where too few tape drives are a constraint, case 2 allows you to
run several BRARCHIVEs for various SAP Oracle databases simultaneously.
Depending on your Tivoli Storage Manager environment (tape drive resources) and
your requirements, you might choose to run the backup of the redo log files
v with ’brarchive -sd -c ’
or
v with ’brarchive -s -c -r init<SID>.utl’
and then ’brarchive -scd -c -r init<SID>.utl2’
This run sequence is only used if there is, for example, only one tape drive
available, no disk storage pool can be used (case 2) as a temporary container,
and an operator would manually exchange tape cartridges. It also causes Data
| Protection for mySAP to create different backup IDs for the two BRARCHIVE
runs. For a better alternative see example 1 on page 166.
The following assumes that the backup of the redo log files will only be done with
’brarchive -sd -c’ (this means only 1 init<SID>.utl is used for 1 Oracle database
instance). Depending on what had been specified in the parameter
MAX_SESSIONS, REDOLOG_COPIES and BRARCHIVEMGTCLASS, different
behavior will be seen when running a BRARCHIVE.
| Data Protection for mySAP satisfies the BRARCHIVE request to back up redo log
files according to the following rules:
| 1. Data Protection for mySAP produces as many backup copies of each redo log
file as are specified with the REDOLOG_COPIES value.
164 Data Protection for mySAP Installation & User’s Guide for Oracle
| 2. Data Protection for mySAP requires that, for REDOLOG_COPIES N, at least N
management classes are specified for each Tivoli Storage Manager server (using
parameter BRARCHIVEMGTCLASS).
3. When the value MAX_SESSIONS is larger than REDOLOG_COPIES, DP for
| mySAP starts only N sessions where N is the nearest integer multiple of the
REDOLOG_COPIES with a value either lower than, or equal to the
MAX_SESSIONS value. For example, MAX_SESSIONS 5 and
REDOLOG_COPIES 2 causes only 4 sessions to be started.
4. When fewer sessions (M) are specified than the number of redo log copies (N),
| DP for mySAP cannot access all BRARCHIVE management classes
| simultaneously. This means DP for mySAP will, in the first round, access only
the first M management classes and will store a copy of each file in each of the
classes. In the next round(s) the remaining management classes will be
accessed, until each management class contains one copy of all files.
Example:
A Tivoli Storage Manager environment with 1 tape drive might be a 7305 or a
single drive SCSI library as the 3590_B11. In this case, you should start only 1
session (MAX_SESSIONS 1). In order to get 2 redo log copies
| REDOLOG_COPIES is set to 2. Data Protection for mySAP would begin to back
up in 1 session to the first specified management class. When all redo logs have
| been copied for the first time in Tivoli Storage Manager, then DP for mySAP
starts a new session and performs the backup to the second management class.
In this way, a new tape will be used if each management class is connected to a
different tape storage pool (see also example 1).
| 5. Data Protection for mySAP informs its caller (BRARCHIVE) once whenever it
has successfully finished the multiple backup of any redo log file (see “Hints
for BRARCHIVE Version 3.1G or Higher” on page 166)
| 6. In case of problems, DP for mySAP retries to save the file several times. DP for
| mySAP terminates if a file finally cannot be saved as often as has been
specified. An indicator is set to tell BRARCHIVE which redo log files were not
backed up. This is done to avoid any further workload (unnecessary backup
activities). (see “Hints for BRARCHIVE Version 3.1G or Higher” on page 166)
| 7. Data Protection for mySAP is a Tivoli Storage Manager client and cannot
control what the Tivoli Storage Manager server is doing. When you start
session b after session a, it doesn’t necessarily mean the server will start the
sessions in that order. The session you started later could begin backup
processing earlier, while, for example, the session you started earlier is still in
media wait. In certain situations (see example 3 below) this could mean that
another session (even started later), working with the same management class,
backs up more redo log files than the one that remained in a media wait status
longer.
Caution
To avoid an unexpected loss of data, be aware that if you are using
VERSIONING you use the same initSID.bki file for BRBACKUP and
BRARCHIVE.
| Keep in mind that BRARCHIVE informs Data Protection for mySAP via a list,
which files (redo log files) are to be backed up. Also keep in mind that the order of
the redo log file names determines the subsequent delete behavior of newer
BRARCHIVE releases.
Note
1. At setup time, you must ensure that sessions will not be started unless
enough tape drives are available. Otherwise you may encounter the
following problems:
v many unwanted tape mounts, thus creating long BRARCHIVE runs and
v under certain circumstances, an unsuccessful termination of the
BRARCHIVE (or other BRBACKUP) run
v in the case of an unsuccessful termination, successfully backed up redo
log files would have to be backed up again (see the above hint for SAP
BRARCHIVE 3.1G/3.1H)
2. Specifying arbitrary values for MAX_SESSIONS and REDOLOG_COPIES
and an arbitrary number of management classes can produce unfavorable
run behavior in the Tivoli Storage Manager server specially when tape
media is directly used (case 1).
For example: If there are only 2 tape drives available, MAX_SESSIONS 3,
REDOLOG_COPIES 1, BRARCHIVEMGTCLASS mgmt1 mgmt2 would
probably cause many unwanted tape mounts.
166 Data Protection for mySAP Installation & User’s Guide for Oracle
one, the second copy is stored on tape two (assuming different tape storage
pools are connected to the two archive management classes).
2. MAX_SESSIONS 2, REDOLOG_COPIES 2. Two different
BRARCHIVEMGTCLASS management classes.
In this case, two sessions will be started. The first session sends all files to the
first archive management class, the second session backs up all files to the
second archive management class. Both sessions run parallel and independently
of each other. Presuming that two tape drives are available, two tapes will be
written, each containing a complete backup set of files (redolog copies).
3. MAX_SESSIONS 4, REDOLOG_COPIES 2. Two different
BRARCHIVEMGTCLASS management classes.
In this case, four sessions will be started. Sessions one and three access the first
archive management class. They both send the first copy of each file to this first
management class. Similarly, sessions two and four access the second archive
management class and store the second copy of each file on the second
management class.
This scenario makes sense, when at least four tape drives are available, because
only then the four sessions can run in parallel. In this case, four tapes will be
written. Tapes one and three contain the first copy of all files and tapes two
and four contain the second copy of all files.
If only two tape drives are available, you should set up archive management
classes on disk pools instead of tape pools, because then the four sessions can
run in parallel. After the files have been stored on disk, they can be migrated in
an independent step from the two disk pools to two tapes.
4. MAX_SESSIONS 4, REDOLOG_COPIES 4. Four different
BRARCHIVEMGTCLASS management classes.
This is a very unlikely example for a real production environment. Here, DP for
| mySAP will produce four backup copies of each redo log file.
Again, four sessions will be started. Session one accesses the first archive
management class, session two accesses the second archive management class
and so on. As in case three, at least four tape drives must be available. If not,
four different disk storage pools connected to four different tape storage pools
are needed in order to get the four copies of one redo log file to four different
tapes.
The scenarios in the first section show how a backup can be started:
v Full online/offline backup with BRBACKUP
v Tablespace backup with SAPDBA.
| The second section shows a restore of a mySAP tablespace and a subsequent
| recovery of the mySAP database with the help of SAPDBA.
| To start an online backup of the mySAP database, the following command has to
be executed:
brbackup -c -t online
The parameter -c is used to enable the backup to run in unattended mode so that
no further user input during the backup operation is required. Command
parameter -t online specifies the backup as an online backup.
Note
| The mySAP database must be running in ARCHIVE mode if you want to
perform online backups. This means the online redo logs, in which all
database changes are recorded, will be archived before they are overwritten.
If the database is running, BRBACKUP first shuts down the database instance.
Therefore, BRBACKUP must be started with the offline_force parameter.
brbackup -c -t offline_force
| If the backup is finished, BRBACKUP starts the mySAP database instance again. If
| the earlier mySAP database instance has been stopped, BRBACKUP can be started
with the normal offline parameter.
brbackup -c -t offline
168 Data Protection for mySAP Installation & User’s Guide for Oracle
During the backup, several screen messages will be issued. Each message has its
own message code. By means of this code the messages can be classified into:
v Error messages - last letter of a message code is an ″E″
v Warning messages - last letter of a message code is a ″W″
v Informational messages - last letter of a message code is an ″I″
All these messages codes have a specific prefix. This prefix shows from which
program a message was generated. The various prefixes are:
v ANS/ANR - ADSM or Tivoli Storage Manager messages
| v BKI - Data Protection for mySAP messages
v BR - BRARCHIVE, BRBACKUP or BRRESTORE messages
v ORA - Oracle database kernel messages
v RMAN - Oracle Recovery Manager messages
After BRBACKUP has finished, it is recommended that you check the backup log
for warnings and unexpected errors. The backup log is located in
/oracle/SID/sapbackup (or in /oracle/SID/saparch if it was a BRARCHIVE run).
All the screen messages are included in this file. All entries for successfully backed
up files should be preceded by #SAVED. An error occurred if there are any #ERROR or
#NOTFOUND messages.
If an error occurs, the first step is to check the content of the protocol described
above. First of all, you should locate the error messages and, with use of the
appropriate manual, you can relate the message code to an explanation about the
error that occurred and a recommendation for user response.
q - Quit
To carry out tablespace backup, the Backup database functions have to be started
with the h key which causes the following screen to pop up:
___________________________________________________________________________
Backup database
___________________________________________________________________________
Current value
a - Backup function Normal backup
b - Parameter file initC21.sap
c - Backup device type util_file_online
d - Objects for backup all
e - Backup type online
g - Query only no
h - Special options ...
S - Start BRBACKUP
q - Return
As already mentioned on page 29, the SAP Backup profile initC21.sap has to be
correctly customized in view of:
v The backup type (online, offline) and
v The backup utility parameter file
| To check the backup utility parameter file (in case of DP for mySAP usage, it
should be set to initC21.utl, which is in the /oracle/C21/dbs directory) go to the
Special options ... menu with the h key and the following screen will be
displayed:
170 Data Protection for mySAP Installation & User’s Guide for Oracle
___________________________________________________________________________
Backup database: Details
___________________________________________________________________________
Current value
a - Confirm backup parameters no
d - Backup utility parameter file /oracle/C21/dbs/initC21.utl
e - Enter password interactively no
i - Language English
q - Return
If everything was set correctly, go back with the q key to the Backup database
screen as shown above.
Now you have to specify the object(s) which you want to back up. This can be
done by choosing the Objects for backup option with the d key within the Backup
database menu. The following screen appears:
Format for the desired objects for backup: <item> or <item>,<item>,...
An <item> can be
- "all"
- "all_data"
- "sap_dir"
- "ora_dir"
- a tablespace_name
- an Oracle file id <number> or a range of file ids <number>-<number>
- an absolute file or directory name
Enter the desired name of the tablespace for the backup, in this case psapuser1d. If
you have returned to the Backup database screen you can start the backup
procedure by selecting the Start BRBACKUP function (S key). All the other
parameters which are visible and were not discussed should not be changed. These
are default parameters set by SAPDBA. For further information about this see the
SAPDBA manual.
| After starting the backup procedure BRBACKUP starts DP for mySAP to send the
data files belonging to the tablespace PSAPUSRE1D to the Tivoli Storage Manager
server. The backup is successfully finished if there is a message such as the
following on the screen:
All the messages displayed on the screen during the backup will be written to a
BRBACKUP log file which will be stored in the /oracle/C21/sapbackup directory
with a unique name as shown in the box above (bdbhowho.pnf). If errors occurred,
check the content of this log file for a detailed error analysis.
The backup is now finished and you can leave the SAPDBA.
Restore/Recovery Scenario
| If you need to do a restore/recovery of the mySAP database as a result of
corruption or loss of data files, the recommendation is to use the SAPDBA
database utility for this action because it guides you, step by step, through all
necessary procedures. For the automatic recovery mode these are:
v Check database
v Find backup files
v Restore backup files
v Find archive files
v Restore archive files
v Recover database
SAPDBA uses the program BRRESTORE for restoring the database. This program
| invokes DP for mySAP for restoring all the necessary tablespace files or archived
redo log files from the appropriate Tivoli Storage Manager server. After the restore
has finished successfully, the necessary recovery will be performed by SAPDBA.
The following describes two possible recovery scenarios: The recovery of a single
| mySAP tablespace and a complete (full) recovery of the mySAP database in case of
a serious disaster.
Recovery of a Tablespace
In this case we assume that we have a problem with a data file which belongs to
the tablespace PSAPUSER1D (for example data file corruption or loss of a data file).
After starting SAPDBA, the initial SAPDBA screen as shown on page 170 appears.
Note
Restore and recovery operations within SAPDBA can only be done in the
so-called expert mode. For information on how to switch to that mode see the
SAPDBA manual.
172 Data Protection for mySAP Installation & User’s Guide for Oracle
___________________________________________________________________________
Restore/recovery
___________________________________________________________________________
a - Partial restore and complete recovery (Check and
repair, redo logs and control files are prerequisites)
b - Full restore and recovery
(excl. redo logs, control files incl. if required)
c - Reset database
(incl. redo logs and control files)
In this case, only a partial restore (data files for the tablespace PSAPUSER1D) is to be
| carried out, with a complete recovery of the mySAP database subsequently. Thus,
Partial restore and complete recovery is selected by pressing the a key. The
following screen is then displayed:
___________________________________________________________________________
Status
g - Automatic recovery
q - Return
All the functions seen in this screen must be carried out in alphabetical order,
unless you use the Automatic recovery function which is activated with the g key.
The Automatic recovery function runs through all of the above functions starting
with Check database and ending with Recover database. If an error occurred
during this process, the automatic recovery stops at the function where the error
occurred.
In contrast to the partial restore, to start the full recovery select the function Full
restore and recovery by pressing the b key in the following screen (to reach this
screen see “Recovery of a Tablespace” on page 172).
___________________________________________________________________________
Restore/recovery
___________________________________________________________________________
a - Partial restore and complete recovery (Check and
repair, redo logs and control files are prerequisites)
b - Full restore and recovery
(excl. redo logs, control files incl. if required)
c - Reset database
(incl. redo logs and control files)
The next step is to select a full online/offline backup previously made. This can be
done with the function Select a full online/offline backup by pressing the A
key. If no backup has been previously carried out, the restore/recovery status is
disallowed (see screen below).
174 Data Protection for mySAP Installation & User’s Guide for Oracle
___________________________________________________________________________
Full Restore and Recovery
___________________________________________________________________________
DATABASE STATE : mounted
RESTORE / RECOVER: disallowed (see status)
Current setting
A - Select a full online/offline backup
b - Recover until now
c - Show status
D - Restore and recover
q - Return
Please, enter the number of the BRBACKUP run that you want to restore
(q = quit) [9] ==> 9
It is recommended that you use the latest BRBACKUP run for the restore function.
In the above case this is selection 9.
After you have completed this, SAPDBA will try to find archive files using the
| inquire function of DP for mySAP. Ensure that the SAP Backup profile
initC21.sap is properly customized (see also page 29). If SAPDBA returns to the
full restore and recovery screen, the restore/recovery status will have been
changed to allowed.
By selecting restore and recover (by pressing the D key), the restore/recovery
procedure can be started.
All the steps which are now carried out are similar to those in the section
“Recovery of a Tablespace” on page 172. The only difference is that a check of the
database to see which files are missing is not performed, because all data files, all
control files, and all necessary redo log files will be restored anyway.
Subsequently, the recovery of the database will be commenced.
For example, the network on an AIX machine can be configured with the no
command. This command sets or displays current network attributes in the kernel.
For details about the no command, see the man page of no of your operating
system.
The following table shows the network attributes with their recommended values:
Table 7. Tuning of Network Settings
Attributes Value Description
rfc1323 1 Enables TCP enhancements as specified by RFC
1323, TCP Extensions for High Performance. The
default is 0. A value of 1 specifies that all TCP
connections will attempt to negotiate the RFC
enhancements.
sb_max 131072 Specifies the maximum buffer size allowed for a
socket. The default is 65536 bytes. From the point of
view of performance recommendations, the sb_max
value should be twice the TCPWindowsize set within
the Tivoli Storage Manager configuration file
dsm.sys.
To set these values, the following commands should be invoked by the root user on
the appropriate machine.
no -o rfc1323=1
no -o sb_max=131072
Caution
The no command does not perform range checking. It therefore accepts all
values. If used incorrectly, the command can cause the system to become
inoperable.
Note
These changes will be lost at system reboot. To make changes permanent, edit
the /etc/rc.net file.
The buffer pool settings can be changed using the chgcss command. After the
changes, it is necessary to reboot the node.
The following table shows the corresponding Tivoli Storage Manager configuration
file attributes with the recommended values.
Table 9. Tuning Tivoli Storage Manager Configuration File Attributes
Attributes Value Description
TCPBuffsize 32 Specifies the size, in kilobytes, of the buffer used for
TCP/IP send requests. This option affects whether
or not Tivoli Storage Manager sends the data
directly from the session buffer or copies the data to
the TCP buffer. A 32K buffer size forces Tivoli
Storage Manager to copy data to its communication
buffer and flush the buffer when it fills.
TCPNODelay YES Specifies whether the server should send small
amounts of data or allow TCP/IP to buffer the data.
Disallowing buffering may improve throughput but
more packets will be sent over the network.
TCPWindowsize 640 (AIX) Specifies the size, in kilobytes, which will be used
63 (others) for the TCP/IP sliding window for the client node.
This is the size of the buffer used when sending or
receiving data. The range of values is 0 to 2048.
178 Data Protection for mySAP Installation & User’s Guide for Oracle
Glossary
A and retrieving files to or from the TSM server. Compare
with —> administrative client.
Activate. In Tivoli Storage Manager, the process of Backup copy group. A policy object containing
validating the contents of a policy set and copying the attributes that control the generation, destination, and
policy set to the ACTIVE policy set. expiration of backup files. A backup copy group
belongs to a management class.
Active policy set. In Tivoli Storage Manager, the
policy set that contains the policy rules currently in use Backup Server. A Tivoli Storage Manager server
by all client nodes assigned to the policy domain. The where DP for mySAP.sends the backup data to and
active policy set is the policy set that was most recently retrieves data from for restore.
activated for the policy domain.
Backup Version Control. A feature of Data Protection
Adaptive File Sequencing. During backup, this for mySAP allowing the customer to specify the
feature of Data Protection for mySAP optimizes number of full database backups to be kept on the TSM
performance by calculating a certain sequence of files server. Obsolete database backups are deleted together
to be backed up. This sequence considers the file sizes with all dependent data (for example log files,
to be backed up and the distribution of files on several incremental backups, etc.).
disks.
BRARCHIVE. An SAP database utility to perform
Administration Assistant. A Web browser based backups of offline redo log files in a mySAP Oracle
graphical interface to support and assist the database environment.
customizing of DP for mySAP (System Configuration)
and the analyzing of mySAP database backup and BRBACKUP. An SAP database utility to do
restore operations (Operations Monitor, Performance online/offline backups of mySAP Oracle databases.
Monitor). BRBACKUP can be used to back up data files, control
files and online redo log files.
| Administration Assistant Server Configuration File..
| The file containing the configuration of your BRCONNECT. This ensures, that the database status
| Administration Assistant server. The default file name required for the online/offline backup of a mySAP
| of the server configuration file is assist.cfg, located in Oracle database remains unchanged during the backup.
| the installation path of the Administration Assistant BRCONNECT will be started only internally by
| server. BRBACKUP/BRARCHIVE.
Administrative client. In Tivoli Storage Manager, a BRRESTORE. An SAP database utility to restore an
program that runs on a file server, workstation, or entire Oracle database backup or parts of it, previously
mainframe that allows administrators to control and backed up with BRBACKUP or BRARCHIVE. Any
monitor the Tivoli Storage Manager server through non-database files and directories which were saved
administrator commands. Compare with –> can also be restored. Subdirectories within the sapdata
backup-archive client. directories will be created automatically, when
necessary.
Archive copy group. In Tivoli Storage Manager, a
policy object containing attributes that control the
generation, destination, and expiration of archive files. C
An archive copy group belongs to a management class.
Client options file. A configuration file of the TSM
ARCHIVELOG mode. A database can run in client containing a set of processing options that
ARCHIVELOG mode or in NOARCHIVELOG mode. identify the server, communication method, and
Production systems must run in ARCHIVELOG mode options for backup, archive, hierarchical storage
in order to allow proper backup restore. Test systems management, and scheduling. Its default name is
can run in NOARCHIVELOG mode. | dsm.opt on UNIX or Linux systems and
<servername>.opt on Windows.
B Client system options file. A configuration file of the
| TSM client residing on UNIX or Linux systems,
Backup-archive client. A component of Tivoli Storage containing a set of processing options that identify the
Manager running on a workstation or file server, Tivoli Storage Manager servers to be contacted for
providing a means for backing up, archiving, restoring, services. This file also specifies communication
Device class. A named group of storage devices of a Local Backup Server. Backup server residing on the
TSM server with common characteristics. Each device same system as the database server does.
class has a unique name and represents a device type
of disk, file, optical disk, or tape.
M
DISK. A device class that is defined by Tivoli Storage
Manager at installation. It is used to categorize disk Management class. A policy object that users can bind
drives, such as internal disk drives. to each file to specify how the server manages the file.
The management class can contain a backup copy
| DP for mySAP. An abbreviation for ’Data Protection group, an archive copy group, and space management
| for mySAP’, which used in this document. attributes. The copy groups determine how the Tivoli
Storage Manager server manages backup versions or
archive copies of files. The space management
F attributes determine whether files are eligible for
migration from space manager client nodes to Tivoli
| File Manager. See —> Data Protection for mySAP File Storage Manager storage, and under what conditions.
| Manager
Media Management API. An interface provided by
File space. A logical space in a TSM server assigned to Oracle to which vendors are able to write compatible
a specific client. Clients can restore, retrieve, or delete software libraries. This software integrates with Oracle.
contents of their file spaces from Tivoli Storage Thus, an Oracle server process is able to issue
Manager server storage. commands to the media manager to write backup files
Tivoli Storage Manager does not necessarily store all out to sequential storage (e.g., Tivoli Storage Manager)
the files from a single file space together, but can and read files from sequential storage.
identify all the files in server storage that came from a
single file space.
180 Data Protection for mySAP Installation & User’s Guide for Oracle
N Remote backup server. Backup server residing on a
system different from that of the database server. Data
as well as control information is sent via LAN.
Node.
1. TSM: A unique name used to identify a Tivoli Retention. The amount of time, in days, that inactive
Storage Manager client to the TSM server. files backed up or archived to a TSM server are kept by
2. SMP: Single machine in a Symmetrical the backup server before they are deleted. Copy group
Multiprocessor (SMP) environment. attributes and default retention grace periods for the
domain define retention.
O
S
Offline redo log. If the database is in ARCHIVELOG
mode and an online redo log is filled, it is copied to SAP BACKINT interface. An interface provided by
one (or more) archive log destination(s), which is SAP database utilities BRBACKUP, BRARCHIVE and
typically the saparch directory in a mySAP BRRESTORE that can be used to access external backup
environment. This copy is the offline redo log (also programs, for example DP for mySAP.
called archived redo log).
SAPDBA. An SAP database tool to provide and
Online redo log. The online redo log is a set of two or simplify the administration of an Oracle database
more files which record all changes made to Oracle system within a mySAP environment. SAPDBA
data files and control files. provides a collection of database
management/administration functions, for example
tablespace administration, which can only be
P performed outside of a mySAP system.
Path. A connection between a Tivoli Storage Manager Scratch volume. A volume that is available for Tivoli
node and a Tivoli Storage Manager server interface. At Storage Manager use. The volume is either labeled, or
the client side, a path is defined by a logical server blank or contains no valid data, and is not defined to
| name listed in the client option file dsm.sys ( UNIX or Tivoli Storage Manager.
| Linux systems) or <servername>.opt (Windows
systems). At the server side, the possible paths are | Server Configuration File. See —> Administration
defined by the network addresses of the Tivoli Storage | Assistant Server Configuration File.
Manager server.
Session. Single TCP/IP connection between a Tivoli
Policy domain. A policy object that contains policy Storage Manager —> node and a Tivoli Storage
sets, management classes, and copy groups that are Manager server. A TSM server may be configured to
used by a group of client nodes. allow a number of sessions from a TSM node to the
server in parallel over the same communication —>
Policy set. A policy object that contains a group of path.
management class definitions that exist for a policy
domain. At any one time there can be many policy sets Storage pool. A storage pool is a named collection of
within a policy domain but only one policy set can be storage volumes that are associated with one device
active. class. Each storage pool represents a collection of
volumes that are the same media type. For example, a
Programmed Operator. See —> ProLE. storage pool that is associated with a device class for
8 mm tape contains only 8 mm tape volumes.
| ProLE. The background process ( UNIX and Linux ) or
service (Windows) controlling backup and restore
operations of DP for mySAP. T
Tablespace. A database is divided into one or more
R logical storage units, which are tablespaces. Each
tablespace has a set of data files exclusively associated
Recovery Manager (RMAN). A tool used to back up, with it.
restore and recover Oracle databases. It can be used
with or without a Recovery Catalog,. If a Recovery Tivoli Storage Manager (TSM). IBM Tivoli Storage
Catalog is not used, Recovery Manager decides how to manager, a client/server program that provides
back up, restore and recover the database using the policy-driven storage management to customers in a
control file of the database. Incremental backups of multivendor computer environment.
Oracle databases can only be done with RMAN.
Glossary 181
Tivoli Storage Manager API. A set of functions that
applications running on a client platform can call to
store, query, and retrieve objects from Tivoli Storage
Manager storage.
U
util_file_online. A (data file) backup using an external
backup program addressed by the BACKINT interface.
If an online backup is running, the backup status is set
and completed dynamically for the tablespaces being
backed up. In this way, the volume of offline redo log
files during an online backup can be reduced
significantly.
V
Validate. In Tivoli Storage Manager, the process of
ensuring that the active policy set contains a default
management class and reports on copy group definition
errors.
182 Data Protection for mySAP Installation & User’s Guide for Oracle
Index
A archive copy group
glossary definition 179
Backup Server (continued)
performance optimization 37
activate archivelog mode profile examples 137
glossary definition 179 glossary definition 179 backup sessions 163
active policy set authorizing Administration Assistant Backup Status
glossary definition 179 users 67 monitoring 18
Adaptive File Sequencing 16 automating backup and archive backup strategy
glossary definition 179 operations 9 defining 5
Administration Assistant 18, 59 availability improvements for mySAP System data 8
adjusting 42 with alternate/parallel paths and for Operating System 5
authorizing users 67 servers 18, 137 for Oracle Database 5
concepts 59 with multiple redo log copies 17 for Protocols and Profiles 7
configuration tool 59 planning 5
Configure Systems 59 Backup Version Control 17, 44
customizing 59
glossary definition 179 B glossary definition 179
backup-archive client
installing 61 BACKAGENT 83
glossary definition 179
Java 61 backend processing 18
Backup/Restore
migration 66 BACKEND profile keyword 84
performance optimization 35
Monitor Operations 59 BACKINT
multiplexing 38
monitoring tool 59 interaction with DP for mySAP 3
BACKUPIDPREFIX profile keyword 84
operations monitoring 59 troubleshooting 126
Balancing you system 69
Overview 59 backup 167
BATCH profile keyword 84
Problem Support 59 automated 9
BRARCHIVE 13
Secure Communication 67 BRBACKUP 167
glossary definition 179
Simulate backup/restore 59 incremental 6, 8, 11, 17, 51
BRARCHIVEMGTCLASS profile
upgrading 66 messages 169
keyword 17, 84
View performance data 59 of AIX system data 5
BRBACKUP 13
Web browser, remote method of Oracle database elements 5
backup of Oracle database 168
invocation 61 of SAP system data 8
glossary definition 179
Administration Assistant Client online/offline 168, 172
BRBACKUPMGTCLASS profile
Java 62 parallel 16
keyword 17, 85
prerequisites 62 path 16
BRCONNECT
setting up 65 profile & protocol file directories,
glossary definition 179
verifying the installation 65 UNIX 8
BRRECOVER 13
Administration Assistant Server 24 profile & protocol file directories,
BRRESTORE 13
initial installation 63 Windows 8
glossary definition 179
installation planning 62 profiles 7
restore of Oracle database 172
installing 63 protocols 7
BUFFCOPY profile keyword 85
post installation process 64 SAPDBA 167
BUFFSIZE profile keyword 85
prerequisites 61 scenarios 168, 172
secure connection to clients 64 simulating 75, 85, 92
specifying 42 strategy for operating system 5
uninstalling 64 tablespace 169 C
upgrade installation 63 terminating 138 client options file
verifying the installation 65 user data 8 glossary definition 179
Administration Assistant Server backup copy group client system options file
Configuration File glossary definition 179 glossary definition 179
glossary definition 179 backup paths UNIX and Linux example 159
upgrading 67 alternate/parallel 16 Windows example 160
administrative client profile examples 137 client user options file
glossary definition 179 backup scheduler UNIX or Linux example 159
ADSMBUFFSIZE 83 IBM Tivoli Workload scheduler 10 client/server connection paths 137
ADSMNODE profile keyword 83 Linux crontab / Windows cloning
alternate / parallel backup paths 16 scheduler 9 mySAP system 79
alternate path 18 SAP scheduler 9 redirected restore 58
alternate/parallel backup paths Tivoli Storage Manager scheduler 10 CommonStore 19
example for availability 139 UNIX crontab / Windows COMPR_INFO profile keyword 85
example for performance 141 scheduler 9 compression 17, 36
reasons to use 137 Backup Server null block 41
alternate/parallel backup servers 18 alternate/parallel 18 Tivoli Storage Manager 41
example 3 for disaster recovery 142 glossary definition 179 when restoring 77
184 Data Protection for mySAP Installation & User’s Guide for Oracle
installing DP for mySAP (continued)
initial installation 25
L N
migration 25 LAN-free backup network
on AIX, HP-UX, Linux, Solaris) 25 glossary definition 180 actual throughput rate 76
on Windows 27 Linux crontab, backup scheduler 9 parameter settings 177
Password handling 28 Local Backup performance optimization 36, 177
planning for Installation 24 glossary definition 180 setup 177
Planning sheet 135 Local Backup Server node
Post Installation Steps 28 glossary definition 180 glossary definition 181
prerequisites 23 locking maxnummp 147
Silent Installation 31 individual tablespace 17 number of mount points 146
TSM API installation 25 log files Tivoli Storage Manager server 146
TSM Option file 28 location 125 null block data compression 41
upgrade installation (migration) 25 LOG_SERVER profile keyword 86
verifying the installation 29 Logging
verifying the TSM API installation 30 Messages 18 O
offline backup shell script
example 154
J M offline redo log 5, 6, 7, 8, 10
Java management classes 17 glossary definition 181
prerequisite for Administration glossary definition 180 online redo log 6, 7, 8
Assistant Client 62 Tivoli Storage Manager server glossary definition 181
prerequisite for Administration configuration 145 operating system backup
Assistant Server 61 manual sorting of files 16 strategy 5
matrix optimizing
for setting Tivoli Storage Manager backup 69
passwords 151 restore 77
K MAX_ARCH_SESSIONS profile Oracle data spaces
keywords keyword 87 backing up 6
ADSMNODE 83 MAX_BACK_SESSIONS profile Oracle database
BACKEND 84 keyword 87 backup 168
BACKUPIDPREFIX 84 MAX_RESTORE_SESSIONS profile files 168
BATCH 84 keyword 87 Oracle database server
BRARCHIVEMGTCLASS 17, 84, 163 MAX_SESSIONS profile keyword 87 concepts 5
BRBACKUPMGTCLASS 17, 85 example 166
BUFFCOPY 85 MAX_VERSIONS profile keyword 88
BUFFSIZE 41, 85
COMPR_INFO 85
media management API
glossary definition 180
P
CONFIG_FILE 86 parallel backup and restore
messages
END 86 number of parallel sessions to
DP for mySAP 102
EXITONERROR 86 specify 87
logging of 18
FCS_FILE 86 parallel backup paths
severity levels 102
FILE_RETRIES 86 sample 2 for increased
migration
FRONTEND 86 performance 141
DP for mySAP 31
LOG_SERVER 86 parallel backup servers
mirroring control and redo log files in
MAX_ARCH_SESSIONS 87 alternate 18
Oracle 6
MAX_ARCH_SESSIONS 87 parallel backup sessions 163
monitoring DP for mySAP 59
MAX_BACK_SESSIONS 87 parallel path 16
mount points
MAX_RESTORE_SESSIONS 87 example for increased
maximum number per node 147
MAX_SESSIONS 87, 163 performance 141
node parameter maxnummp 147
MAX_VERSIONS 88 parallel sessions 16, 178
multiple copies of redo logs 163
MULTIPLEXING 38, 88 password handling
multiple paths 178
obsolete 83 automatic generation 44
Multiple Redo Log Copies 17
PASSWORDREQUIRED 89 configuration matrix (UNIX or
multiple servers
REDOLOG_COPIES 89, 163 Linux) 150
when restoring 77
REPORT 89 configuration matrix (Windows) 151
multiple sessions 16
RL_COMPRESSION 41, 90 manual generation 43
multiplexing 16, 36, 38
SERVER 90 no password usage 43
when restoring 77
SESSIONS 90 PASSWORDREQUIRED profile
MULTIPLEXING profile keyword 38, 88
SORT_FILE 91 keyword 89
mySAP
syntax for all keywords 83 Path
backup 167
TCP_ADDRESS 91 alternate 18
system cloning 79
TRACE 91 backup 16
system landscape and backup/restore
TRACEFILE 92 glossary definition 181
performance 35
TRACEMAX 92 PERF_MONITOR 83
USE_AT 92 Performance Analysis 18
performance monitoring 69
Administration Assistant 59
Index 185
performance monitoring (continued) redo logs (continued) security settings
using sensors 70 Multiple Copies 17 authorizing Administration Assistant
performance optimization recovery 174 users 67
Backup Server 37 saving and deleting 155, 157 server
backup types 36 UNIX or Linux example 155 installing Administration Assistant
backup/restore 35 Windows example 157 Server 63
by changing buffer size 41 REDOLOG_COPIES profile keyword 89 Server configuration file
by compressing data 41 example 166 glossary definition 181
by multiplexing 38, 72 Remote Backup SERVER profile keyword 90
by setting up proper environment 38 glossary definition 181 servers
by using multiple network paths 40 REPORT profile keyword 89 alternate 18
example 2 141 Reporting 18 alternate/parallel 16
by using multiple servers 40 restore Session
by using multiple sessions 39 BRRESTORE 132 glossary definition 181
CPU power 36, 37 redirected 57, 58 sessions
Dedicated backbone network 36 simulating 75 multiple 16
disk layout 36 troubleshooting 132 parallel 16
general considerations 35 restore/recovery 167, 172 SESSIONS profile keyword 90
I/O paths 36 BRRESTORE 172 setting Tivoli Storage Manager passwords
LAN-free backup 36 full recovery 174 manually 43
Network bandwidth 36 loss of several data/tablespace setting up Tivoli Storage Manager 143
options for 16 files 174 setup
settings for the Tivoli Storage one tablespace 172 understanding for
Manager 178 recovery of control files 174 troubleshooting 123
size of database 36 recovery of redo log files 174 simulating
size of database files 36 SAPDBA 167 backup and restore 75
tuning 38 retention using COMPR_INFO 85
volume manager 36 glossary definition 181 using USE_AT 92
with alternate/parallel paths and RETRY 83 simultaneous backup sessions 163
servers 137 RL compression 17 software compression vs. hardware
performance problems 163 RL_COMPRESSION profile keyword 41, compression
policy 90 UNIX or Linux 148
definition 145 RMAN 51 Windows 149
policy domain and incremental backup 51 SORT_FILE profile keyword 91
glossary definition 181 backup/restore simulation 78 sorting
policy set interaction with DP for mySAP 4 files 16
glossary definition 181 on UNIX or Linux 51 specifying management classes 17
profile keywords Hints 52 storage device setup
syntax 83 on Windows 53 Tivoli Storage Manager server 144
profiles troubleshooting 128 storage pool
backup of 7 glossary definition 181
backup, file directories, UNIX 8 storage pool definitions
backup, file directories, Windows 8
example of Tivoli Storage Manager for
S Tivoli Storage Manager server 145
storage pool volumes
sample DP for mySAP profile
UNIX or Linux 159 choosing volumes for backups 163
UNIX or Linux 92
Tivoli Storage Manager example for strategy
Windows 96
Windows 160 planning a backup strategy 5
SAP (backup) scheduler 9
Programmed Operator system copy
SAP BACKINT interface
glossary definition 181 heterogeneous 79
glossary definition 181
ProLE 42 homogeneous 79
saparch directory 166
glossary definition 181
SAPDBA 13
protocol
database backup 169
backup of 7
backup, file directories, UNIX 8
database recovery 172 T
glossary definition 181 tablespace
backup, file directories, Windows 8
protocols 7 backup 169
tablespace backup 167 glossary definition 181
scheduled batch backup locking 17
R Windows example 156 restore 172
recovery 172 scheduling tape drives
full recovery 174 automatic backups 9 backup sessions with limited tape
one tablespace 172 backup jobs 153, 156 drives 164
Recovery Manager (RMAN) 51 function of Tivoli Storage Manager 9 using hardware compression
glossary definition 181 UNIX or Linux examples 153 with 148, 149
redo logs 168 Windows examples 156 TCP_ADDRESS profile keyword 91
backing up 6 Scratch volume TCPWAIT 83
backup of 7 glossary definition 181 terminating the backup job 138
deleting promptly 166
186 Data Protection for mySAP Installation & User’s Guide for Oracle
Tivoli Storage Manager upgrading DP for mySAP 23
adjusting to DP for mySAP 144 USE_AT profile keyword 92
backup scheduler 10 user authorization for Administration
client software compression 149 Assistant 67
configuration file customization 178 util_file_online 17, 29, 170, 175
data compression 41 glossary definition 182
glossary definition 181 utility
incremental backup function 8 File Manager 55
management classes 17
node name 24
passwords 43
performance optimization 178
V
validate
profile example for UNIX or
glossary definition 182
Linux 159
policy set 146
profile example for Windows 160
verifying the DP for mySAP
scheduling function 9
installation 29
server name 24
verifying the installation of the
setup 143
Administration Assistant 65
Tivoli Storage Manager API
verifying the TSM API installation 30
glossary definition 182
volume
Tivoli Storage Manager client
glossary definition 182
configuration 147
configuration on UNIX or Linux 147
configuration on Windows 148
software compression 148 W
Tivoli Storage Manager passwords Web browser
authentication off 43 prerequisite for Administration
automatic generation 44 Assistant 62
configuration matrix to set Windows, backup scheduler 9
keywords 150, 151
manual generation 43
Tivoli Storage Manager server
configuration 143
configuration, prerequisites 144
management classes 145
node definition 146
performance considerations 143
policy definition 145
storage device setup 144
storage pool definition 145
TRACE profile keyword 91
TRACEFILE profile keyword 92
TRACEMAX 83
TRACEMAX profile keyword 92
tracing 19
troubleshooting 123
BACKINT 126
backup function 132
delete function 133
inquire function 133
installation 123
restore function 132
RMAN 128
setup 123
Troubleshooting
using RMAN on Windows 53
tuning 38
U
uninstalling DP for mySAP 32
uninstalling DP for mySAP.com
from UNIX and Linux 32
from Windows 33
UNIX crontab, backup scheduler 9
upgrading
DP for mySAP 31
Index 187
188 Data Protection for mySAP Installation & User’s Guide for Oracle
Readers’ Comments — We’d Like to Hear from You
IBM Tivoli Storage Manager for Enterprise Resource Planning (5608–APR) V.5.3.
Data Protection for mySAP
Installation & User’s Guide for Oracle
Version 5. Release 3. 0
Overall, how satisfied are you with the information in this book?
How satisfied are you that the information in this book is:
When you send comments to IBM, you grant IBM a nonexclusive right to use or distribute your comments in any
way it believes appropriate without incurring any obligation to you.
Name Address
Company or Organization
Phone No.
___________________________________________________________________________________________________
Readers’ Comments — We’d Like to Hear from You Cut or Fold
SC33-6340-05 Along Line
_ _ _ _ _ _ _Fold
_ _ _and
_ _ _Tape
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _Please
_ _ _ _ _do
_ _not
_ _ staple
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _Fold
_ _ _and
_ _ Tape
______
NO POSTAGE
NECESSARY
IF MAILED IN THE
UNITED STATES
_________________________________________________________________________________________
Fold and Tape Please do not staple Fold and Tape
Cut or Fold
SC33-6340-05 Along Line
Printed in USA
SC33-6340-05