B DP Erp Sap Hana Guide
B DP Erp Sap Hana Guide
B DP Erp Sap Hana Guide
IBM
IBM Spectrum Protect for Enterprise Resource Planning
Data Protection for SAP HANA
Version 8.1.4
IBM
Note:
Before you use this information and the product it supports, read the information in “Notices” on page 63.
This edition applies to version 8, release 1, modification 4 of IBM Spectrum Protect for Enterprise Resource
Planning (product number 5725-X03), available as a licensed program. It also applies to all subsequent releases and
modifications until otherwise indicated in new editions.
© Copyright IBM Corporation 2014, 2017.
US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract
with IBM Corp.
Contents
Tables . . . . . . . . . . . . . . . v Backing up log and data files . . . . . . . 31
Schedule automated backup tasks . . . . . . 31
About this publication . . . . . . . . vii Protecting with the Data Protection for SAP file
manager . . . . . . . . . . . . . . 33
Who should read this guide . . . . . . . . . vii
Creating multiple log file copies . . . . . . 35
Publications . . . . . . . . . . . . . . vii
Restoring SAP data . . . . . . . . . . . . 36
Preparing to restore SAP HANA data. . . . . 36
What's new for IBM Spectrum Protect Restoring and recovering data . . . . . . . 36
for Enterprise Resource Planning . . . ix Restoring a Data Protection for SAP HANA
backup on an alternative system . . . . . . 37
Chapter 1. Getting started . . . . . . . 1
The backint interface . . . . . . . . . . . 2 Chapter 6. Tuning performance . . . . 39
Options. . . . . . . . . . . . . . . . 40
Chapter 2. Planning. . . . . . . . . . 3 Buffer copies . . . . . . . . . . . . . 40
Backup strategy for Data Protection for SAP HANA 3 Buffer size . . . . . . . . . . . . . . 40
Optimization of Data Protection for SAP HANA Automation options . . . . . . . . . . 40
performance . . . . . . . . . . . . . . 4 Data transfer . . . . . . . . . . . . . . 42
Network performance optimization . . . . . . . 4 Data throughput rate . . . . . . . . . . 42
Backup server optimization . . . . . . . . . 5 Performance tuning for data transfer . . . . . 43
Store data on the IBM Spectrum Protect server . . . 6
Planning for space required for SAP HANA backups 7 Chapter 7. Troubleshooting . . . . . . 45
Parallel backup paths and backup servers . . . . 8 Reproducing problems. . . . . . . . . . . 45
Archive inactive data . . . . . . . . . . . 9 Internet Protocol version 6 (IPv6) support . . . . 46
Restore versus backup . . . . . . . . . . . 9 Log files that contain information and messages . . 46
Create multiple redo log copies . . . . . . . . 9 Setup requirements . . . . . . . . . . . . 47
Create a user with limited permissions . . . . . 10 Information to collect for support . . . . . . . 48
The Data Protection for SAP HANA product is the interface between SAP HANA
and the IBM Spectrum Protect server.
It describes the procedures that are needed to install and customize IBM Spectrum
Protect for Enterprise Resource Planning: Data Protection for SAP HANA, the
interface between SAP HANA and IBM Spectrum Protect.
The reader must be familiar with the documentation for SAP HANA and the IBM
Spectrum Protect server.
Publications
The IBM Spectrum Protect product family includes IBM Spectrum Protect
Snapshot, IBM Spectrum Protect for Space Management, IBM Spectrum Protect for
Databases, and several other storage management products from IBM®.
V8.1.1 The V8.1.1 release resolved defects, but did not introduce major new
features.
The Data Protection for SAP HANA hdbbackint process is used by SAP HANA for
backing up the database and redo log files. The configuration of the hdbbackint
process is stored in the initSID.utl profile file. This file contains information that
describes how to run backup and restore operations, and can be customized for
your SAP HANA environment.
The hdbbackint process communicates with the IBM Spectrum Protect server
through an API that is shared with other IBM data protection products. It requires
that the Data Protection for SAP HANA ProLE process is running. The ProLE
process coordinates multiple hdbbackint instances in a full database backup. The
process ensures that all backup objects that belong to the same full database
backup get assigned to the same backup id. The full database backup is handled as
a single entity even it consists of numerous single objects.
Depending on the number of SAP HANA services that are on a node, multiple
instances of hdbbackint are started by SAP HANA for data transfer.
Storage hierarchy
Figure 1. An example of how Data Protection for SAP HANA, IBM Spectrum Protect and SAP HANA are integrated.
Data Protection
for SAP HANA
ProLE
1 3
2 Tivoli Storage
SAP HANA Data Protection Tivoli Manager server
Storage
database 4 for SAP HANA Manager
hdbbackint API
5
Data
Control
Figure 2. The interactions between SAP HANA and the IBM Spectrum Protect through the Data Protection for SAP
HANA hdbbackint interface.
A Data Protection for SAP HANA backup operation proceeds in the following
order:
1. You start a backup operation using the SAP HANA Studio or through the
hdbsql command-line interface.
2. A number of SAP HANA hdbbackint processes are started.
3. The hdbbackint processes connect to the ProLE to get the configuration
information.
4. SAP HANA sends data to the hdbbackint processes.
5. The data is sent to the IBM Spectrum Protect server through the IBM Spectrum
Protect API.
All the database and redo log backup information is stored by SAP HANA. The
backup history can be viewed in the SAP HANA Studio in the backup tab or by
querying the database view M_BACKUP_CATALOG. For more information about
hdbbackint, see the SAP HANA Administration Guide.
2 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
Chapter 2. Planning
Planning information regarding strategies and components is provided.
The full SAP HANA database is backed up to IBM Spectrum Protect for Enterprise
Resource Planning. If needed, the database can be restored without extra redo log
files. The frequency of full backups is controlled by the IBM Spectrum Protect
recovery time objective (RTO) and recovery point objective (RPO). For more
information about full backups, see the SAP HANA Administration Guide.
The data for incremental and differential backups uses the same processing
parameters as the data for the redo log backups. The data is stored in the same
management classes that are used for the redo logs. Although the amount of data
for incremental or differential backups is much less than the amount for a full
database back up, it might be considerably larger than what was calculated for
storage of the redo logs.
If you experience a total loss of the SAP HANA appliance, use the SAP HANA
recovery procedure to recover the system. For information about hardware
recovery, see the SAP documentation.
When you are planning to store data in a disk storage pool and then migrate it to
tape, be aware that SAP HANA data is restored in the order that is determined by
HANA. Use either disk storage pools or tapes with enough mount points to
optimize the restore by reducing the number of tape-seeks and mounts. If the data
to be restored for all nodes is on a single tape drive, it can lead to increased restore
times or deadlocks.
4 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
Backup server optimization
When you are setting up the IBM Spectrum Protect server for use with IBM
Spectrum Protect for Enterprise Resource Planning, the following considerations
help you to optimize performance.
Consider these items when you set up the IBM Spectrum Protect server. Data
Protection for SAP uses the IBM Spectrum Protect archive function for all backup
activities.
Dedicated backup server
A dedicated backup server allows sharing of resources and provides an
efficient resource usage.
CPU power
For a specific data throughput, the CPU load on the backup server is
approximately 60% of the load on the database server. Therefore, backup
server CPU power is not as critical as the CPU power of the database
server. However, demands on the IBM Spectrum Protect server CPU do
increase when several clients access a single IBM Spectrum Protect server.
Storage hierarchy
Not following these requirements can lead to recovery issues and a
deadlock situation.The specific interaction of current SAP HANA versions
with IBM Spectrum Protect for Enterprise Resource Planning: Data
Protection for SAP HANA implies special requirements for the type of
storage media that are used, and the rules for data movement in IBM
Spectrum Protect storage. The requirements are different for data files and
for log files: you must always use separate management classes and
storage pools for BRBACKUPMGTCLASS and BRARCHIVEMGTCLASS.
Data files
For best restore performance it is important that files that were
backed up simultaneously, are held ready for parallel access during
restore. By internal data movement to physical or virtual tape in
IBM Spectrum Protect storage after the backup, files that are bound
to be restored in parallel can end up on the same volume.
The following suggestions help to avoid a situation that would
lead to an increase of the restore duration by media wait. Use
devclass disk, sequential file, directory-container storage (IBM
Spectrum Protect Server 7.1.3), or physical tape, Virtual Tape
Library (VTL) as the first storage pool for BRBACKUPMGTCLASS.
v Do not move any SAP HANA data files in IBM Spectrum Protect
storage from the first stgpool to physical tape or VTL storage.
This rule is the case for storage pools on random disk, sequential
file, directory-container, physical tape, or VTL storage.
v Do not use nextstgpool to point to storage other than random
disk or sequential file or directory-container to prevent migration
to physical tape or VTL.
v When you use physical tape or VTL storage as the first stgpool
for HANA data files, do not run space reclamation on this
storage pool.
v Do not use move data from the first stgpool to physical tape or
VTL storage, regardless of the devtype of the first storage pool
devclass.
Chapter 2. Planning 5
Log files
Always use devclass disk, sequential file, or directory-container
storage as the first storage pool for BRARCHIVEMGTCLASS. Storage
pools that are receiving HANA log files do not require more space
allowance beyond the real amount of data to be kept in IBM
Spectrum Protect. The estimated size that is assumed by Data
Protection for SAP HANA is expected to be sufficiently close to the
real log file size.
You can reduce the space consumption in used devclass by using
compression. For this specific purpose, the IBM Spectrum Protect
API client parameter COMPRESSIon Yes in dsm.sys is expected to be
more efficient than the parameter RL_COMPRESSION YES in
initSID.utl.
Do not move any HANA log files in IBM Spectrum Protect storage
to physical tape or VTL storage. Further considerations for this rule
are as follows.
v Only random disk or sequential files or directory-container are
allowed as defined in nextstgpool for migration.
v Run move data actions only to random disk or sequential file or
directory-container.
v If HANA log files are stored on physical tape or VTL, you must
move the data to sequential file before the recovery operation.
Parallel sessions
The IBM Spectrum Protect server allows the use of several tape drives in
parallel to store data. This setup can increase overall data throughput. To
fully use this feature, two conditions must exist. The corresponding IBM
Spectrum Protect node must be allowed the appropriate number of mount
points and the device class must be allowed the appropriate mount limits.
Tape storage is the preferred media for storing database contents as it provides the
best data throughput for backup and restore operations. For a large scale-out
system, the number of required tape drives might become too large. In this case,
use a virtual tape library (VTL). A disk-tape storage hierarchy is used for backing
up redo log files. This action provides the best protection against data loss, and
eliminates the need to mount a tape for each redo log file.
Data Protection for SAP transfers data to and from the backup server through
single or multiple (parallel) sessions to the IBM Spectrum Protect server. Each
session must have a storage device that is associated with it. The SAP backup ID is
persistently linked with each backup file. This backup ID can be used later to
determine all files that are required for a complete restore.
6 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
To improve availability (alternate servers) or performance (multiple servers),
configure Data Protection for SAP to use multiple IBM Spectrum Protect servers.
Consider the location of all backup data before you remove an IBM Spectrum
Protect server from the Data Protection for SAP profile.
Because Data Protection for SAP accesses only those servers that are defined in the
profile, be cautious when you remove an IBM Spectrum Protect server if it contains
valid backup data.
Database backups are retained for a specified period and then become obsolete.
Manage backup storage space by deleting obsolete backups and automating
archive retention period with IBM Spectrum Protect options. Alternatively the
obsolete backups can be deleted manually in the SAP HANA Studio.
Database backups are retained for a specified period and then become obsolete. Set
an appropriate archive retention period with IBM Spectrum Protect policy options
to manage backup storage space efficiently. For more information on how to set the
server policy, see “Defining a policy” on page 17
Procedure
v To avoid backing up small items to the next storage pool in line, the required
size of the first storage pool should be at least half the size of the appliance
memory multiplied with the number of sessions (SESSIONS, MAX_SESSIONS)
that are simultaneously sending files. If you use the maxsize parameter for the
first storage pool, make sure it is at least half the size of the appliance memory.
v Another option is to use Virtual Tape Library for backups.
Chapter 2. Planning 7
Parallel backup paths and backup servers
Data Protection for SAP can use several communication links between IBM
Spectrum Protect clients to control alternate backup paths and alternate backup
servers. This feature can increase throughput by transferring data over multiple
paths simultaneously or to and from several servers in parallel. It can improve the
availability of the IBM Spectrum Protect client to server communication and enable
disaster recovery backup to a remote IBM Spectrum Protect server.
Each path in the initSID.utl profile is defined by a server statement and the
corresponding definitions in the IBM Spectrum Protect client system option file
dsm.sys. The server 1..n statement denotes IBM Spectrum Protect servers that are
defined in the Data Protection for SAP profile. This definition corresponds to the
statement SERVERNAME server 1..n in the IBM Spectrum Protect client option file or
files. These servers are identified by their TCPSERVERADDRESS and can be on one
system (multiple paths) or several systems (multiple servers). SESSIONS denotes the
number of parallel sessions that Data Protection for SAP schedules for the path.
If only one path is used, SESSIONS must be equal to MAX_SESSIONS, which specifies
the total number of parallel sessions to be used (equivalent to number of tape
drives/management classes). Data Protection for SAP attempts to communicate
with the IBM Spectrum Protect server by using the first path in the profile. If this
attempt is successful, Data Protection for SAP starts the number of parallel sessions
as specified for this path.
If the attempt is unsuccessful, this path is skipped and Data Protection for SAP
continues to the next path. This process continues until as many sessions are active
as were specified in the total session number (MAX_SESSIONS). If this number is
never reached (for example, because several paths were inactive), Data Protection
for SAP ends the backup job.
When SAP HANA runs a database backup operation through Data Protection for
SAP HANA, a dedicated hdbbackint process for each backup object is started. It is
possible to use multiple sessions in a single hdbbackint process, and each
hdbbackint process transfers a single object.
You do not need to configure multiple sessions for database backup operations.
Multiple hdbbackint processes run in parallel, and all objects are backed up in
parallel. The number of objects depends on the number of SAP HANA nodes in
the environment. All nodes host an index server that holds the payload of the
database. The backup objects from the index servers are typically the largest
objects. The master node hosts a name server, a statistic server, and other services.
Backup objects from these additional services are typically smaller than the index
server. If the backups must go directly to tape, then the number of mount points
must include the additional services.
Configure multiple sessions for a single hdbbackint process for backing up redo
log files. When you are using the redo log copy feature of IBM Spectrum Protect
for Enterprise Resource Planning, each redo log file is saved simultaneously in
multiple storage pools on the IBM Spectrum Protect servers. Ensure that you have
the sane number of sessions opened as redo log copies that are created to be able
to duplicate and transfer data.
8 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
Archive inactive data
Data Protection for SAP creates a database image that is stored at the bit-level and
can be used for routine backup operations.
To restore an outdated backup, you must restore it into the same environment it
was originally taken from. This process requires you to maintain older versions of
SAP, the operating system, database, and IBM Spectrum Protect data to enable a
rebuild of the original environment. SAP provides archiving functions that can
display business documents that are designated with long-term retention
requirements. These business documents are format-independent and can be used
for auditing and other legal purposes. Archived data can then be removed from
the operational database to reduce the database size and improve backup and
restore processing time.
Changes that support a fast backup while you are using resources can be
considered applicable to the restore operation. Tune the backup operation and then
run a restore to verify that the restore operation works in a satisfactory manner.
The Data Protection for SAP profile file keywords important for creating multiple
redo log copies:
v Keyword BRARCHIVEMGTCLASS denotes the IBM Spectrum Protect server
management classes to be used when it saves redo logs. With the use of different
management classes, the backup media that is targeted for redo logs is separated
from the backup media that is targeted for the database objects. Different redo
log copies can also be saved to different backup media.
v Keyword REDOLOG_COPIES allows the administrator to initiate the creation of
multiple backup copies of each redo log. By creating multiple copies on separate
physical media, the database administrator is able to restore and recover
databases in an SAP environment. The restore and recover can occur even if a
backup tape becomes corrupted or lost.
v Keyword MAX_SESSIONS specifies the maximum number of sessions that a single
Data Protection for SAP instance is allowed to access to the IBM Spectrum
Protect server.
These rules describe how Data Protection for SAP satisfies a request to back up
redo log files:
v Data Protection for SAP creates as many backup copies of each redo log as are
specified by the REDOLOG_COPIES keyword.
Chapter 2. Planning 9
v Data Protection for SAP requires as many archive management classes that are
defined by BRARCHIVEMGTCLASS as there are redo-log copies requested. To best
protect against the loss of data, it is important that the different management
classes are linked to different storage pools within IBM Spectrum Protect
storage. This way, various redo log copies are on different backup media.
v When SAP HANA is used, Data Protection for SAP HANA requires that the
maximum number of sessions that are defined by MAX_SESSIONS is greater than
or equal to the number of redo log copies that are requested. A setup with a
smaller number of sessions is not advised with the backint interface.
v Data Protection for SAP cannot control the order in which IBM Spectrum Protect
processes the requests. Therefore, an administrator cannot rely on sessions to be
processed in the order they were started by Data Protection for SAP.
The initial configuration of the keystore entry for IBM Spectrum Protect for
Enterprise Resource Planning: Data Protection for SAP HANA has the full
privileges of the system user. This permission level is the default setting for the
TSM keystore entry.
If you want to create a user with limited permissions, you can create a new user
with CATALOG READ privileges and add the credentials to the user store. The
connection to the SAP HANA database will use the credentials of the user who is
named in the HDB_KEYSTORE_ENTRY parameter . See SAP HANA documentation for
further details about the hdbuserstore command and how to work with entries in
the keystore.
10 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
Chapter 3. Installing
Install Data Protection for SAP HANA using the install wizard, through the
console, or in silent mode using a response file.
Requirements for Data Protection for SAP HANA are available in the hardware
and software requirements technote for each release. For requirements, review the
Hardware and Software Requirements technote for your version. See the technote at
http://www.ibm.com/support/docview.wss?uid=swg21987210. From the page,
follow the link to the technote for your release or update level.
Before you install Data Protection for SAP HANA, verify that your system meets
the following prerequisites:
v SAP HANA SPS 05 revision 45 is installed.
v IBM Spectrum Protect API Version 5.5 or later is installed and configured on all
SAP HANA nodes where you are going to install and configure Data Protection
for SAP HANA.
v The SAP HANA database is configured on the system where you are going to
install and configure Data Protection for SAP HANA.
v The SAP HANA HDB client is installed on the system.
v During the installation and configuration of Data Protection for SAP HANA,
root access to the appliance host operating system is required.
Procedure
1. Log in to the SAP HANA host with the root user ID, and choose where you
want to install the package.
2. Mount the DVD and navigate to the Data Protection for SAP HANA
installation package. If you are installing from a file share, to ensure that the
installer file has adequate permissions to run, enter the following command:
chmod +x 8.1.0-TIV-TSMERP-HANA-Linux.bin
3. To start the installation process, enter the following command:
./8.1.0-TIV-TSMERP-HANA-Linux.bin
If you are logged on to the SAP HANA host with an X Window System or X
terminal, follow the instructions to complete the installation.
If you are installing the product from the command line, a console mode
installation is started.
4. After you accept the license agreement, click Next and read the pre-installation
summary that lists details about the installation folder, and the required disk
space. Click Install to begin the installation, and click Done when the process
finishes.
Results
Data Protection for SAP HANA is installed in the following directory:
/opt/tivoli/tsm/tdp_hana.
Procedure
1. Create a response file for Data Protection for SAP HANA with the following
command:
./8.1.0TIVTSMERP-HANA-Linux.bin -i console -r responsefile
This command runs the installation process in console mode and all user input
is recorded in the response file.
2. Run the following command to install Data Protection for SAP HANA in silent
mode:
./8.1.0TIVTSMERP-HANALinux.bin -i silent -f responsefile
This command runs the installation process automatically without requiring
any user input, Values for options are read from the response file.
Replication environments
An environment that has a number of SAP HANA database instances that are
synchronized with a primary database instance is a replication environment.
Replication is possible on the database level, for example with SAP HANA system
replication, or on the storage level, for example with GPFS™ storage replication.
The replicated database instances are typically not online.
When you are setting up a replication environment and you are running a
takeover test, the primary system is shut down. Install Data Protection for SAP
HANA when the SAP HANA database instance in the replicated environment is
online.
Procedure
v Install Data Protection for SAP HANA by following the procedure at this link
Chapter 3, “Installing,” on page 11.
12 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
v Configure Data Protection for SAP HANA by following the procedure at this
link “Configuring Data Protection for SAP HANA” on page 23.
For more information about installing Data Protection for SAP HANA in silent
mode, see “Installing Data Protection for SAP HANA in silent mode” on page 12.
Procedure
v Install Data Protection for SAP HANA on each SAP HANA node in a database
instance.
v Install the IBM Spectrum Protect client API on each of the SAP HANA nodes.
v Copy the Data Protection for SAP HANA profile from the primary database
instance, and use this profile in the replicated environment.
v Configure the IBM Spectrum Protect password.
– If automatic password handling is used, edit NODENAME in the server stanza of
the dsm.sys file so that each SAP HANA node uses a unique IBM Spectrum
Protect node name.
– If manual password handling is used, the IBM Spectrum Protect node
password must be stored locally by entering the following command for each
SAP HANA node: /opt/tivoli/tsm/tdp_hana/hdbbackint -p full path to
profile/initSID.utl -f password
If you are using rpm to uninstall Data Protection for SAP HANA, the uninstallation
program remains on the disk. The .rpm packages that were installed during the
setup on other SAP HANA nodes remain on these nodes.
Procedure
1. Change directory to the uninstall subdirectory in the install folder.
2. Enter the following command: /opt/tivoli/tsm/tdp_hana/uninstall/
uninstaller.bin
3. To remove.rpm packages that were installed on other nodes of a scale-out
system during the setup, enter the following command:
rpm -e TIVTSMERPHANA
Results
The uninstallation program removes Data Protection for SAP HANA from your
system. Services that were installed and used by Data Protection for SAP HANA
are stopped and removed.
Chapter 3. Installing 13
14 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
Chapter 4. Configuring
In addition to configuring Data Protection for SAP, you need to configure other
applications, for example, the IBM Spectrum Protect backup-archive client.
Data Protection for SAP requires certain configuration tasks to be run for the
following applications.
v Data Protection for SAP base product
v IBM Spectrum Protect backup-archive client
v IBM Spectrum Protect server
Although the task examples use IBM Spectrum Protect commands, these tasks can
also be run using the IBM Spectrum Protect web client GUI.
Consider the following performance-related guidelines before you install the IBM
Spectrum Protect server.
IBM Spectrum Protect server host system
The IBM Spectrum Protect server must be installed on an exclusive system.
The tasks that are presented here avoid concurrent processes and disk I/O
access with other applications. A single IBM Spectrum Protect server is
sufficient for a single SAP system landscape. If the IBM Spectrum Protect
server is used to back up and restore other clients, consider installing the
server on a large system or by using several IBM Spectrum Protect servers.
Network topology
Network topologies such as Fast Ethernet and Gigabit Ethernet work well
with the IBM Spectrum Protect server. Use fast network topologies to
prevent bottlenecks during backup and restore operations. The IBM
Spectrum Protect server supports multiple network adapters. This support
increases server throughput by providing multiple connections to the same
network or by providing several physically distinct networks for the same
server.
These steps are considered complete when the IBM Spectrum Protect server is
successfully installed:
v Recovery log volume is allocated and initialized.
v Recovery log mirror volume is allocated and initialized.
v Database volume is allocated and initialized.
The latest code fixes for IBM Spectrum Protect can be found at:
ftp://public.dhe.ibm.com/storage/tivoli-storage-management/maintenance
Procedure
1. Add a server statement to the Data Protection for SAP HANA profile.
2. Adapt the IBM Spectrum Protect options files.
3. Set and save the IBM Spectrum Protect password for the new server.
Verify that the following items are established within the IBM Spectrum Protect
server after installation.
v Query the defined library:
q library
Procedure
1. Define a storage pool for the SAP system data: define stgpool sap_incr
device_class_name maxscr=5
16 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
2. Define a storage pool for the : define stgpool sap_db device_class_name
maxscr=20
3. Define a storage pool for the : define stgpool sap_log1 device_class_name
maxscr=3
Results
When a library tape device is associated, the maximum scratch volumes (labeled
volumes that are empty or contain no valid data) that this storage pool is allowed
to use (parameter maxscr) must be defined. 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 must be retained.
Replace these values with appropriate estimates.
Defining a policy
A server policy needs to be specified when you are configuring IBM Spectrum
Protect policies. Specify how files are backed up, archived, moved from client node
storage, and how they are managed in server storage. A policy definition includes
the definition of a policy domain, a policy set, management classes, and copy groups.
After you set definitions, a default policy set must be assigned, validated, and
activated. For the policy definition, log on as an IBM Spectrum Protect
Administrator by using the Admin Command Line or the Web Admin and run the
following commands.
Procedure
1. Define a policy domain and policy set:
define domain sap_c21
define policyset sap_c21 p_c21
2. Define a management class for file system backups, data files, offline redo log
files and copies of offline redo 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
If you are planning to use this IBM Spectrum Protect server with multiple SAP
systems, use a set of different management classes for each system.
3. Define a copy group:
define copygroup sap_c21 p_c21 mdefault type=backup destination=sap_incr
define copygroup sap_c21 p_c21 mdefault type=archive destination=archivepool
define copygroup sap_c21 p_c21 mdb type=archive destination=sap_db retver=90
define copygroup sap_c21 p_c21 mlog1 type=archive destination=sap_log1 retver=90
define copygroup sap_c21 p_c21 mlog2 type=archive destination=sap_log2 retver=90
Data Protection for SAP HANA stores data in the archive copy group of the
management classes. This data expires after a defined number of days. In the
example, a retver value of 90 days is used. When no backup is being done
within this time frame, all backup data expires and is no longer available for
restore. As an alternative the copy group parameter retver, which specifies the
Chapter 4. Configuring 17
number of days a file is to be kept, can be set to unlimited (9999 or nolimit).
Obsolete backups can be deleted manually using the SAP HANA Studio.
4. Assign the default management class:
assign defmgmtclass sap_c21 p_c21 mdefault
Registering a node
The node must be registered when you are configuring The IBM Spectrum Protect
server views its registered clients, application clients, host servers, and source
servers as nodes.
To register a node, log on as the IBM Spectrum Protect administrator by using the
Admin Command Line or the Web Admin, run the following command
When you use two or more tape drives, the maxnummp parameter settings can affect
the nodes. It defines the maximum number of mount points that one node can use.
The default value is 1. If one node must use more than one mount point, the
parameter must be set to the wanted number of mount points. This parameter is
not to be set higher than the total number of drives available on the IBM Spectrum
Protect server.
To avoid sessions timing out, set the parameter IdleTimeOut to a value higher than
the time required for sending the largest table space file to the IBM Spectrum
Protect. For example:
setopt IdleTimeOut 60
18 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
No authentication is completed on the IBM Spectrum Protect server. Each
user that is connected to the backup server can access IBM Spectrum
Protect data without a password. This method is advised only if adequate
security measures are established.
For example, no password might be acceptable when the IBM Spectrum
Protect is only used for SAP, and authentication and authorization is done
at the operating system level. This scenario is valid when no other clients
are registered to the IBM Spectrum Protect.
Manual handling of password
A password is required for each connection to the IBM Spectrum Protect
server. In this method, Data Protection for SAP stores the encrypted
password in its configuration files.
While the password does not expire and is not changed on the IBM
Spectrum Protect server, Data Protection for SAP automatically uses the
stored password when it connects to IBM Spectrum Protect. This method
provides password security and can be set up easily. Whenever the
password expires or is changed, the new password must be set with this
command:
If you are setting the password to be automated (such as in a script), enter
this command: where passwordA is the password for IBM Spectrum Protect
node nodeA on IBM Spectrum Protect server serverA.
Note:
1. The interactive password prompt is omitted only if the passwords for
all server stanzas in the.utl file are specified.
2. There is a potential security risk when you record IBM Spectrum
Protect passwords in a script.
Automatic handling of password
A password is required for each connection to the IBM Spectrum Protect
server. After the first connection, the password is managed by IBM
Spectrum Protect. The IBM Spectrum Protect client stores the current
password locally. When the password expires, the password is changed
and stored automatically.
Data Protection for SAP is to be installed after the IBM Spectrum Protect
installation is completed. IBM Spectrum Protect provides different password
methods to protect data.
Data Protection for SAP must use the same method as specified in IBM Spectrum
Protect. The default password method during Data Protection for SAP installation
is PASSWORDACCESS prompt.
Provide Data Protection for SAP with the password for the IBM Spectrum Protect
node by entering this command:
backom -c password
Chapter 4. Configuring 19
The default parameters for Data Protection for SAP are set according to this default
value. If a different password method is set in IBM Spectrum Protect, adjust the
Data Protection for SAP parameters.
After you select the suitable password-handling method, follow this configuration
matrix to set the password keywords and parameters.
Note:
1. See appropriate IBM Spectrum Protect documentation.
2. If you are using manual password generation during testing, make sure that
the expiration period is set to an appropriate time.
3. This password must be the one that is effective on the IBM Spectrum Protect
server for the node.
4. ADSMNODE must not be set when PASSWORDACCESS generate is set.
5. The users SIDadm and must have read and write permission for the path
specified.
6. This step is only necessary if the password is expired (manual-handling only)
or must be changed on the IBM Spectrum Protect server.
7. A password must be entered for each server statement in the Data Protection
for SAP profile.
20 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
Verifying the server name
You must verify that the server name and the parameters are correct in the
initSID.utl file.
Procedure
v Review the IBM Spectrum Protect client options files to make sure that the
server name matches the name that is specified in the server statement of the
initSID.utl file.
v Review that other parameters are set correctly. These settings depend on the
password method selected.
v (UNIX or Linux) Define the IBM Spectrum Protect server in the IBM Spectrum
Protect client system options file (dsm.sys). The server stanza that is specified in
dsm.sys must match the entry in initSID.utl.
Control Data Protection for SAP HANA backup file expiration with the RETVER
parameter. RETVER is the parameter of the archive copy group that is used to store
the backup data on the IBM Spectrum Protect server.
Tip: Backups are expired even if no backups are run on that day.
The clients must be installed on all nodes that interface with the IBM Spectrum
Protect server. In a SAP® system landscape, the backup-archive client must be
installed on every system that is scheduled for a file system backup. Examples of
these systems are SAP application servers and the SAP database server. The IBM
Spectrum Protect API client must be installed only on the SAP database server
system to enable backup and restore operations of the SAP database by using Data
Protection for SAP.
Chapter 4. Configuring 21
Setting IBM Spectrum Protect client options on UNIX or Linux
IBM Spectrum Protect clients on UNIX or Linux are configured by setting options
in the dsm.opt and dsm.sys files. The include/exclude file is used to define which
files are included or excluded during backup, archive, or hierarchical storage
processing.
Procedure
1. Install the IBM Spectrum Protect client software on the SAP database server
system.
2. Edit the client system options file dsm.sys and set these values as appropriate
for your installation:
Servername server_a
TCPPort 1500
TCPServeraddress xxx.xxx.xxx.xxx or servername
InclExcl /usr/tivoli/tsm/client/ba/bin/inclexcl.list
Compression OFF
3. Specify TCPServeraddress 127.0.0.1. If the server and client are on the same
system, select loopback. This selection improves TCP/IP communication speed.
4. Specify InclExcl if you want IBM Spectrum Protect to include or exclude the
files that are listed in inclexcl.list.
5. Throughput improves when tape drives attached to the IBM Spectrum Protect
server provide hardware compression. However, combining hardware
compression and IBM Spectrum Protect client software compression
(Compression ON) is not advised.
6. Edit the client user options file dsm.opt and set these values as appropriate for
your installation:
LANGUAGE AMENG (this is the default value)
NUMBERFormat 1 (this is the default value)
TAPEPROMPT NO
TIMEFORMAT 1 (this is the default value)
Results
When the IBM Spectrum Protect API client is installed on a UNIX or Linux system,
ensure that a link exists that points to the IBM Spectrum Protect API installation
directory, /usr/tivoli/tsm/client/api/bin64.
/usr/lib/libApiDS.so
The IBM Spectrum Protect provides two features for specifying the location of the
IBM Spectrum Protect API Client error log: the environment variable DSMI_LOG and
the IBM Spectrum Protect system client option ERRORLOGName in dsm.sys. For
DSMI_LOG, a directory is specified to which a file named dsierror.log is written.
For ERRORLOGName a path and user-defined file name are defined.
22 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
When you use ERRORLOGName, you can include the SID in the file name. This
information can speed up problem determination by simplifying identification
of the correct error log file. You can match log file names to the active user
client options file name, which must also contain the SID and be stored in
environment variable DSMI_CONFIG. This information is especially useful on
systems with several SIDs.
Ensure that the IBM Spectrum Protect node name is specified in the server stanza
of the dsm.sys file.
The Data Protection for SAP HANA configuration files are stored in the
configuration directory, /usr/sap/SystemID/SYS/global/hdb/opt/hdbconfig.
Procedure
1. Log in to Data Protection for SAP HANA using the root user ID, and change to
the installation directory, /opt/tivoli/tsm/tdp_hana.
2. Run the Data Protection for SAP HANA setup.sh script, by entering the
following command:
./setup.sh
3. When prompted, enter the SAP HANA system ID, or accept the proposed
value.
4. Enter the instance number or accept the default value of 00.
5. Enter the password for the SYSTEM user.
Chapter 4. Configuring 23
6. Choose to configure the IBM Spectrum Protect server, or defer the server
configuration. For information about manually configuring the IBM Spectrum
Protect server, see “Manually configuring the IBM Spectrum Protect for Data
Protection for SAP HANA” on page 25.
7. Choose one of the following IBM Spectrum Protect server password handling
methods:
v Automatic password handing: to store the IBM Spectrum Protect node
password in the IBM Spectrum Protect API. When the password expires on
the server, the IBM Spectrum Protect client and server generates a new
password. The API updates the password on the client.
v Manual password handling: to store the node password in the IBM Spectrum
Protect for ERP configuration file. When the password expires, you must
update it by using the hdbbackint -f password command.
8. Enter the IBM Spectrum Protect server name as defined in the dsm.sys file.
The following parameters must be entered to enable backup and restore of
databases and redo log files to the IBM Spectrum Protect
a. Enter the IBM Spectrum Protect node name for the ADSMNODE parameter.
b. Enter the IBM Spectrum Protect management class for the
BRBACKUPMGTCLASS parameter.
c. Enter the IBM Spectrum Protect management class for the
BRARCHIVEMGTCLASS parameter.
9. Enter a password for the IBM Spectrum Protect node. After you enter the
password, it is verified. For a scale-out system with automatic password
handling, this step is repeated for each SAP HANA node that belongs to the
scale-out system.
Run the setup script on each database to ensure that each is protected, and has a
dedicated initSID.utl file.
Procedure
Log in with the root user ID. For each SAP HANA database instance, run the
setup.sh. For more information about the setup process, see “Configuring Data
Protection for SAP HANA with the setup script” on page 23.
Results
Running the setup script on each database creates a dedicated profile initSID.utl
file for each instance. Parameters are adapted to each database.
When you are deleting a database, all corresponding backup data that includes
stored objects for the IBM Spectrum Protect node, is deleted.
24 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
Manually configuring the IBM Spectrum Protect for Data
Protection for SAP HANA
If you chose to defer the configuration of the IBM Spectrum Protect during the
setup script for Data Protection for SAP HANA, you must configure it manually.
Configure the IBM Spectrum Protect by manually editing the Data Protection for
SAP HANA initSID.utl file.
Procedure
1. After the setup.sh script finishes, open the Data Protection for SAP HANA
initSID.utl file that is in the configuration directory.
/usr/sap/SID/SYS/global/hdb/opt/hdbconfig/SIDinit.utl
2. With details listed in the dsm.sys file, update the following IBM Spectrum
Protect parameters in the server section of the initSID.utl file.
SERVER server # Servername IBM Spectrum Protect server name
ADSMNODE NODE IBM Spectrum Protect node name
BRBACKUPMGTCLASS MDB Management classes for database backups
BRARCHIVEMGTCLASS MLOG Management classes for redo log backups
3. From the command line, enter the following command
/opt/tivoli/tsm/tdp_hana/hdbbackint -p full path to profile/initSID.utl
-f password
4. If the password for the IBM Spectrum Protect node is not set, you are
prompted to enter the password.
The Data Protection for SAP HANA profile file is named initSID.utl, where the
system identifier for the SAP HANA database instance is stored. During the
configuration of Data Protection for SAP HANA, the profile file is created in the
following directory, /usr/sap/SID/SYS/global/hdb/opt/hdbconfig. The SAP HANA
configuration is adjusted to use the profile file for backup and recovery operations.
Chapter 4. Configuring 25
Set the SERVER statement in the Data Protection for SAP profile:
The SERVER statement is specified in the Data Protection for SAP profile, and in
the IBM Spectrum Protect client option file.
There are corresponding keywords in the IBM Spectrum Protect client option file.
Depending on the choice of password handling, some parameters are ignored. The
corresponding sections in the Data Protection for SAP profile and the IBM
Spectrum Protect client option file are established by using the logical server name.
This logical server name is defined by the keywords SERVER or SERVERNAME.
Table 2. SERVER statement and appropriate profile and option file settings.
Configuration possibilities Data Protection for SAP profile IBM Spectrum Protect client option
initSID.utl file dsm.sys or server.opt [2]
single path; no password or manual SERVER server SERVERNAME server
password ADSMNODE node[1] TCPSERVERADDRESS address
NODENAME do not specify
single path; automatic password by SERVER server SERVERNAME server
IBM Spectrum Protect ADSMNODE do not specify NODENAME node
TCPSERVERADDRESS address
several paths/servers; no password SERVER server 1 SERVERNAME server 1
or manual password ADSMNODE node 1 NODENAME do not specify
TCPSERVERADDRESS address 1
SERVER server 1
ADSMNODE node n SERVERNAME server n
NODENAME do not specify
TCPSERVERADDRESS address n
several paths/servers; automatic SERVER server 1 SERVERNAME server 1
password by IBM Spectrum Protect[3] ADSMNODE do not specify NODENAME do not specify
TCPSERVERADDRESS address 1
SERVER server n
ADSMNODE do not specify SERVERNAME server n
NODENAME do not specify
TCPSERVERADDRESS address n
several paths/servers; automatic SERVER server SERVERNAME server
[4]
password by IBM Spectrum Protect ADSMNODE do not specify NODENAME node
TCP_ADDRESS address 1 TCPSERVERADDRESS address
SERVER server n
ADSMNODE do not specify
TCP_ADDRESS address n
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 IBM
Spectrum Protect servers.
[3] If two different physical systems have the same IBM Spectrum Protect
node name or if multiple paths are defined on one node by using several
server stanzas, passwordaccess generate might work only 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. 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
26 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
through other server stanzas fail because there is no logical link between
their copies of the old password and the updated copy. The updated copy
is generated by the first stanza that is used after password expiration. To
avoid this situation, update the passwords before they expire. When the
passwords are expired, run these tasks to update the password:
1. Run dsmadmc and update the password on the server.
2. Run dsmc -servername=stanza1 and use the new password to generate
a valid entry.
3. Run dsmc -servername=stanza2 and use the new password to generate
a valid entry.
[4] You must use IBM Spectrum Protect API 5.5 (or later), you can use the
TCP_ADDRESS parameter in the Data Protection for SAP profile. This
parameter eliminates the requirement to set multiple stanzas in the IBM
Spectrum Protect client option file for multiple paths. The parameter also
eliminates the problem when it updates the password (see [3]).
Data Protection for SAP profile is used in certain disaster recovery configurations.
This example assumes the following configuration for two servers a and b:
v Two IBM Spectrum Protect servers:
– server_a uses TCP/IP address xxx.xxx.xxx.xxx and uses four tape drives
(MAX_SESSIONS 4)
– server_b uses TCP/IP address yyy.yyy.yyy.yyy and uses four tape drives
(MAX_SESSIONS 4)
v An SAP database server that is connected to this FDDI network.
v Normal backups are processed with server a, which is local to the SAP database
server.
v A disaster recovery backup is stored on remote server b every Friday.
The following is an example of the Data Protection for SAP profile that is used in
this disaster recovery configuration:
Chapter 4. Configuring 27
Example of SERVER statement with alternate paths:
This example assumes that the IBM Spectrum Protect server is configured with two
tape drives and two LAN connections.
The Data Protection for SAP profile that is used in this alternate path configuration
is shown in the following example:
For manual password handling, all SAP HANA nodes must have identical IBM
Spectrum Protect configurations. Ensure that the stanzas in the dsm.sys file that are
referenced by the IBM Spectrum Protect for ERP profile are identical. When you
are manually handling passwords, the parameter nodename in the dsm.sys file is
commented out.
28 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
SAP HANA instance PRD
Figure 3. An example of a Data Protection for SAP HANA scale-out solution with automatic password handling
selected.
If automatic password handling is used, the stanzas in the dsm.sys file that are
referenced by the IBM Spectrum Protect for ERP profile must have unique IBM
Spectrum Protect node names for each SAP HANA node. Otherwise, the stanzas
must be identical.
The nodes are used for authentication purposes. By using the IBM Spectrum
Protect proxy node feature, the nodes gain access to a single IBM Spectrum Protect
node that holds the data for the entire SAP HANA instance.
In the following example, the IBM Spectrum Protect node SAPPRD is used to store
the backup of the entire SAP HANA database.
The IBM Spectrum Protect nodes SAPPRD01, SAPPRD04, and SAPPRD07 are used by
SAP HANA nodes 01, 04, and 07 to authenticate with the IBM Spectrum Protect
server.
These IBM Spectrum Protect nodes must have proxy authority to theIBM Spectrum
Protect node SAPPRD. Similar configurations must be applied to all other nodes
within the SAP HANA scale-out system.
The following example is provided for reference. In this sample scenario, there is a
SAP HANA instance called PRD which is distributed over two HANA nodes
hana01 and hana02. There is a IBM Spectrum Protect server called tsmsrv. The
/opt/tivoli/tsm/client/api/bin64/dsm.sys file on node hana01 has an entry like
the following sample:
Chapter 4. Configuring 29
SERVERNAME tsmsrv
COMMMETHOD TCPIP
TCPPORT 1500
TCPSERVERADDRESS tsmsrv.domain.local
nodename hana01
passwordaccess generate
This example requires three IBM Spectrum Protect nodes. Nodes hana01 and hana02
are used for authentication only. There is no data stored on these nodes. Node
hana_tpr is the node that is used to store all the data from the entire SAP HANA
instance TPR.
30 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
Chapter 5. Protecting data
Information that is needed to back up, restore, and clone your SAP data is
provided.
Follow the tasks to put the backup strategy in place. Use the samples to help you
for your operating system.
The frequency of backups can be adjusted with the SAP HANA configuration
parameter log_backup_timeout_s that is stored in the persistence section of the
global.ini file. For more information about how to adjust this parameter, see the
SAP HANA documentation.
Procedure
1. In the SAP HANA Studio, select the database instance to be backed up.
2. Right-click the database, and select Back Up. Alternatively, in the Specify
Backup Settings window, select Backint for the destination type.
3. Optional: On the command line, use the SAP HANA SQL client hdbsql. For
example, the following sample connects to the instance with number 53, on
host vhana06, as user system with password manager and runs a complete
database backup:
hdbsql -i 53 -n vhana06 -u system -p manager “backup data using backint (DAILY)”
This figure illustrates the sequence of backup operations to consider for a daily
backup schedule.
32 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
Action 18h 20h 22h 0h 2h 4h 6h 8h 10h 12h 14h 16h 18h 20h 22h
OnLine User
Batch Update
Batch
Backup Window
OnLine Log File
Backup (Disk) less than 5 sec.
SAP
minutes
System File Backup
(IBM Spectrum Protect Incremental)
IBM Spectrum Protect minutes
Database Backup
The automated backup example shown in the graphic displays these common
tasks:
v A full database backup (offline or without application load) runs each night.
v The IBM Spectrum Protect server moves archived log files from disk to tape
after the full database backup.
v SAP system files are backed up incrementally with the IBM Spectrum Protect
backup-archive client.
v The last backup in the daily cycle is the backup of the IBM Spectrum Protect
database. This backup must always be done.
Backups can be moved to disk storage and to tape media. The IBM Spectrum
Protect server manages the data regardless of the storage media. However, backing
up the SAP database directly to tape is the preferred media.
(Windows):
backfm -p drive:\orant\database\initSID.utl [-o log file directory]
If the -o parameter is specified at startup, the default directory for log files is
changed.
2. The file manager calls the backint executable file to connect to the IBM
Spectrum Protect server configured in the Data Protection for SAP profile. If
this call fails, the file manager shows an error message but does not analyze the
cause of the error. Use the backint inquire function to analyze the error.
3. An automatic inquire operation for all backup IDs is done by the file manager.
If you mark the backup ID you are interested in and then press the Tab key to
move the cursor to the right panel, all file names belonging to the marked
backup ID is displayed.
Results
The following function keys are defined for restore and delete operations:
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 begins, you can specify a
common destination path and you are prompted to confirm the restore
process. If you specify a destination path, all marked files are restored to
that directory. Otherwise, the files are restored to the directory from which
they were backed up.
For restore operations, the wanted files first must be marked. This action
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 wanted file. Marked files
can be identified by the symbol “*”in front of the file name. Only the
marked files are restored. For every restore operation, a log file is created
in the following location,
v (UNIX or Linux): $SAPDATA_HOME/sapbackup/backfm_timestamp.log
v (Windows): timestamp>.log
F3 - Mark all
All files that belong to the current backup ID is marked.
F4 - Unmark all
Unmark all files that belong to the current backup ID.
F5 - Refresh
Refresh the list of backup IDs and file names.
34 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
F6 - Fileinfo
Opens a separate window to display file information.
For backup IDs, the sequence number is displayed (backup version count).
For SAP HANA this is always zero. For files, the IBM Spectrum Protect
expiration date and time are displayed.
F7 - not available
F8 - Delete
Delete the selected backup ID and all corresponding files. The file manager
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 you press F8, you must confirm the deletion operation.
The backup ID and all included files are deleted from the IBM Spectrum
Protect server.
F10 - Exit
Exit from Data Protection for SAP file manager
ENTER - Mark/unmark file
Mark or unmark the file below the cursor.
When a log file copy is unavailable at restore time, the software switches to
another copy, and continues to restore the log file from that copy. To create
multiple backup copies of a log file, complete the following steps:
1. Open the Data Protection for SAP profile.
The default directory and profile name is /usr/sap/<SID>/SYS/global/hdb/opt/
hdbconfig/init<SID>.utl
2. Enter the keyword REDOLOGS_COPIES, and specify the number of backup copies
that are required for the redo logs.
3. (Optional) Adjust the number in the MAX_SESSIONS keyword. This keyword
specifies the maximum number of sessions that a single Data Protection for
SAP instance has on the IBM Spectrum Protect server.
4. In the server stanza, search for the BRARCHIVEMGTCLASS keyword, and ensure
that there are as many archive management classes specified as there are redo
log copies that are requested.
If you distribute the redo log copies to more than one IBM Spectrum Protect
server, the management classes for all server stanzas must be greater than or equal
to the number of redo log copies. Data Protection for SAP requires that the
maximum number of sessions, which are defined by MAX_SESSIONS, is greater than
or equal to the number of redo log copies that are requested. A setup with a
smaller number of sessions is not advised with the backint interface.
Determine the health of the SAP HANA application before you proceed to
restoring your SAP HANA data. If you have an SAP HANA hardware failure that
cannot be recovered with hardware components, you must restore SAP HANA
with the application recovery DVD. Ensure that the SAP HANA operating system
and software are running before you restore any SAP HANA databases.
When a logical error arises, SAP HANA data can be restored with Data Protection
for SAP HANA.
Procedure
v Recover the SAP HANA configuration files from the IBM Spectrum Protect if
they are backed up with the backup-archive client.
v Create the dsm.sys and dsm.opt configuration files from the backed up copies
that are obtained from the IBM Spectrum Protect.
Procedure
1. In the SAP HANA Studio Navigator tab, right-click to select the instance. Select
Recovery. If the database instance is still running, a message might be
displayed. The message states that the system must be shut down. When you
confirm the message, SAP HANA Studio automatically shuts down the
instance.
2. In the Specify Recovery Type window, choose the type of recovery that you
want to run.
3. In the Locate Log Backups panel the default location can be used.
4. Choose the backup to restore in the Select Data Backups panel. The list of
backups is generated from the SAP HANA recovery catalog. This catalog
contains every backup that is created. By selecting a specific backup and
pressing Check Availability it can be verified that the backup exists on the
IBM Spectrum Protect server.
5. Advance through the panels, and select the options that you require.
What to do next
For more information about restoring and recovering data, see the SAP HANA
documentation.
36 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
Restoring a Data Protection for SAP HANA backup on an
alternative system
You can use the backint interface for system copies to an alternative server from
SPS09 and later releases of SAP HANA. During restore/recovery, you can specify
the source system from which you want to restore.
Procedure
1. Start the SAP HANA Studio.
2. In the SAP HANA Studio Navigator tab, right-click to select the instance. Select
Recovery. If the database instance is still running, a message might be
displayed. The message states that the system must be shut down. When you
confirm the message, SAP HANA Studio automatically shuts down the
instance.
3. In the Specify Recovery Type window, choose the type of recovery that you
want to run.
4. In the Locate Log Backups pane, the default location can be used.
5. Choose Specify backup without catalog in the Specify Backup Location pane.
If the backup prefix is not specified, a list of backups is generated from the
SAP HANA recovery catalog, otherwise the backup prefix that is specified is
that backup that is restored.
Important:
6. Advance through the panes, and select the options that you require.
What to do next
For more information about restoring and recovering data, see the SAP HANA
documentation.
38 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
Chapter 6. Tuning performance
Information needed to tune Data Protection for SAP performance is provided. A
system is considered balanced when the threads on the disk and the network sides
are similarly busy throughout the backup, and when resource usage is good. To
improve overall throughput, consider adding more resources to create a balanced
system.
Procedure
v Maintain an optimum setup by ensuring tapes are maintained in streaming
mode.
Options
Use Data Protection for SAP options to tune performance.
Performance tuning for Data Protection for SAP can be addressed by reviewing
buffer size and copies, compression of backup data, and automation of backup
options.
Buffer copies
You can change the Data Protection for SAP options to prevent copying data
buffers, the original data buffers are sent between IBM Spectrum Protect
components. This change can improve performance.
Data Protection for SAP uses internal buffers to store and exchange data with the
IBM Spectrum Protect server. When data is sent from one component to another,
data buffers are copied by default. Data Protection for SAP can prevent copying
data buffers by sending the original data buffers. This process reduces the CPU
load of the database server.
If client compression or client encryption are specified in the IBM Spectrum Protect
options file (dsm.sys or dsm.opt), the original data buffers are sent.
Buffer size
Adjust buffer size disk I/O to improve transfer rates.
The internal data buffer size can be adjusted for Data Protection for SAP. These
buffers are used for reading the disk and sending data to the IBM Spectrum
Protect client API. The default values typically produce acceptable performance.
Optimize the buffer size for disk I/O to improve transfer rates. For disk
subsystems, the best transfer rates are achieved when the buffer size is set equal to
the stripe size. Before you increase the size of internal buffers, however, ensure that
sufficient storage is available for the number of buffers that are specified by Data
Protection for SAP. This number correlates to the number of sessions requested.
The number of buffers doubles when compression is specified.
Automation options
Administrative productivity can be improved by using the Data Protection for SAP
automation options.
Specify different IBM Spectrum Protect management classes for backup data and
archive data. Configure Data Protection for SAP to back up directly to a tape
storage pool and to archive log files to a disk storage pool.
Multiple management classes can be specified to use with multiple redo log files.
For more information about specifying management classes, see the Profile
parameter descriptions topic.
40 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
| Retain backups by version
| Retaining backups by version limits the number of full backups that are retained
| on the IBM Spectrum Protect server. When the number of full backups on the IBM
| Spectrum Protect server exceeds the value of the MAX_VERSIONS parameter, the
| oldest versions are deleted. Retaining backups provides a trace of all redo log files,
| database control files, and partial and incremental backups that are associated with
| a full backup. All these objects are removed together with the full backup.
Backing up multiple copies of a log file in a single archive operation helps protect
against this data in the event of tape defects or disaster recovery situation. These
copies can be on different physical IBM Spectrum Protect volumes or on different
IBM Spectrum Protect servers. When a log file copy is unavailable at restore time,
Data Protection for SAP automatically switches to another copy. It continues
restoring the log file from that copy. The description of the profile keyword
REDOLOG_COPIES, in the Profile parameter descriptions topic, provides detailed
information about creating and by using multiple redo log copies.
Messaging
Policies can be created that enable Data Protection for SAP to send different classes
of log messages to the IBM Spectrum Protect server.
Frontend and backend processing calls programs at specified times during backup
processing. See the description of the profile keywords BACKEND and
FRONTEND in the Profile parameter descriptions topic.
From a high-level view, the data packages must send these elements when it does
a backup with Data Protection for SAP: Data is read from disk that is processed by
Data Protection for SAP, and sent through the network to tape or disk storage
media. If the system is not balanced, the disk I/O, network bandwidth, and
storage media rates might create a bottleneck. This situation can cause other
resources to remain idle. Overall data throughput is typically measured per file or
per entire backup operation. The results are documented as an average throughput
rate in the logfile backint.log as the average transmission rate. However,
identifying bottlenecks that are derived from log file messages is difficult. For this
analysis effort, Data Protection for SAP provides performance sensors that indicate
a bottleneck. These bottlenecks are located either in the elements that are
represented in blue (for disk) or in yellow (for network and tape respectively) in
the graphic.
42 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
Performance tuning for data transfer
During data transfer, a continuous stream of data is generated between the SAP
database server, the network, and the IBM Spectrum Protect server. The weakest
component in this stream decreases the overall data transfer rate.
There are three main components that are involved during a Data Protection for
SAP data transfer:
v The SAP database server.
v The network.
v The IBM Spectrum Protect server, which is also referred to as a backup server.
SAP
database server
Disk performance
I/O configuration NETWORK Backup
server
CPU power
CPU power
Bandwidth I/O configuration
Protocol Tape performance
Figure 7. Data Protection for SAP data transfer
Investigate the log files for the SAP HANA application, the IBM Spectrum Protect
server activity log, and the backint log files to find out the differences between
successful and unsuccessful operations. Look for one of these patterns when the
problem occurs:
v The problem always occurs at the same time. If this condition is true, view the
appropriate log files to determine whether any scheduled processes are
occurring simultaneously. Examples of such processes are virus checker,
automatic updates, or batch jobs.
v The problem always occurs after another operation is done or the same
operation is done.
v The problem occurs when another application or process is processed in parallel.
Reproducing problems
Use the checklist to che\ck what caused the problem, and then attempt to
reproduce the problem.
If you can identify changes that are made to the system, roll them back one at a
time and try to reproduce the problem. This method frequently reveals which
change or set of changes caused the problem.
Data Protection for SAP runs in IPv4, IPv6, and mixed environments on Linux. In
a mixed environment, the communication depends on the adapter network
settings. There is no option to enforce the use of a specific protocol other than by
network configuration. Specifically, the ProLE service listens for both IPv4 and
IPv6 connection requests if the system is configured accordingly. Connection
requests to ProLE are made for the addresses that are returned by the system for
the respective port on the local host. Connection requests are made for the
addresses that are specified by the user. IPv6 addresses are supported when
TCP/IP addresses are specified in a command line or in a profile parameter such
as TCP_ADDRESS. However, when the IP address and port are specified in the IPv4
address:service or port format, then the format must be changed to service or
port@IP address if the IP address is specified in the IPv6 notation. If a dotted
decimal IPv4 address, the traditional format can still be used.
The specification of IPv6 addresses assumes that Data Protection for SAP is used in
an environment in which IPv6 is supported by all hardware and software
components.
Data Protection for SAP records data in two log files that can be used during
troubleshooting:
backup.log
backint.log
Both log files can be opened through the SAP HANA Studio menu options Open
Perspectives > Administration Console.
46 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
The backup.log log file records the start and finish of backup and restore
operations. The success or failure of the operations is also recorded. All SAP
HANA node details in a scale-out environment are stored in a single backup.log
log file.
The backint.log log file contains the IBM Spectrum Protect for ERP data for all
database and redo log file backup and restore operations that complete successfully
or fail.
Setup requirements
When you are troubleshooting issues while using Data Protection for SAP software
there are items that you can check to ensure that the setup completed correctly.
Ensure that the Data Protection for SAP installation setup is correct by reviewing
the following list:
v Make sure an entry similar to this example is defined in the /etc/inittab file:
tdph:2345:respawn:/opt/tivoli/tsm/tdp_hana/prole -p tdphana
The purpose of this entry is to start a daemon process for ProLE, and to verify
that the process is running. This process listens to activity on the Data Protection
for SAP port. The name of the port must match the name in the /etc/services
file as shown in this example:
tdphana 57321/tcp #TDP for SAP HANA
The lines are added to the /etc/services file during the installation process. If
there are conflicts with existing entries, the port number must be changed to any
unused number.
v Make sure that all the files are installed by running this command:
rpm -V TIV-TSMERP-HANA
If the command returns no output, all files are found. Otherwise, a list of
missing files is returned in the output.
v On one host, make sure that the Data Protection for SAP profile initSID.utl
and configuration file initSID.bki are in the /usr/sap/SID/SYS/global/hdb/opt/
hdbconfig/ directory.
v Make sure that /usr/sap/SID/SYS/global/hdb/opt/hdbbackint link exists and
points to /opt/tivoli/tsm/tdp_hana/hdbbackint.
The names of the IBM Spectrum Protect servers that are specified in initSID.utl
must match the names in the dsm.sys file. If the IBM Spectrum Protect API or IBM
Spectrum Protect backup archive client are installed into their default locations,
then it is not necessary to set the DSMI_* variables. If the variables are set,
however, make sure that they specify the correct directories and files. The user ID
that runs the backups must have the correct permissions to access all of files and
directories that are specified by these variables. Also, verify that write permissions
exist for the initSID.bki file as this file is the only one to which Data Protection
for SAP HANA writes persistent information.
Chapter 7. Troubleshooting 47
Information to collect for support
When you contact support, you must be able to provide the following information.
v The Data Protection for SAP version level.
v The operating system level and patches that were applied.
v The SAP HANA version level.
v The IBM Spectrum Protect server version.
v The IBM Spectrum Protect server operating system level.
v Data Protection for SAP configuration file initSID.utl including IBM Spectrum
Protect client configuration files (dsm.sys, dsm.opt)
v Data Protection for SAP profile (initSID.utl)
v The change history of the system components (if the process worked
previously).
More information might also be requested from the service representative.
48 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
Chapter 8. Reference information
Reference information, such as versioning and profile information, is provided.
Version numbers
The number of IBM Spectrum Protect for ERP backup versions for SAP HANA
stores expire after the defined number of days that is set in the relevant server
policy.
For more information on how to set the server policy, see “Defining a policy” on
page 17
BRARCHIVE might process redo logs while a database backup is still processing
or several BRARCHIVE processes might run simultaneously. These combined
sessions might exceed the number of available tape drives. To avoid this situation,
save redo logs to disk storage pools and then move them to tape storage.
50 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
Profile parameter descriptions
The default value is underlined in these descriptions and applies if the parameter
is not specified.
ADSMNODE
Specifies a node name that is registered to the IBM Spectrum Protect server
as an IBM Spectrum Protect node. This parameter must be defined with
the respective SERVER statement, as shown in the sample profile. You can
assign a different node name to your database system with this option. It is
used if you have several SAP database systems in your network with the
same name, for example, SID, and they all use the same IBM Spectrum
Protect server. This keyword must not be set when automated password
handling is selected. It is to be set for manual password-handling.
ASNODE
Specifies a node name that is registered to the IBM Spectrum Protect server
as an IBM Spectrum Protect node. This parameter must be defined with
the respective SERVER statement, as shown in the sample profile. When
automated password handling is selected and the node is accessed from
multiple different SAP systems, for example, HANA scale-out or IBM
Spectrum Protect Snapshot offload operations, this parameter avoids
storing the encrypted password on multiple hosts (which would cause the
password update to fail on all but the first host). For details in the HANA
environment see: “Protection of a scale-out solution” on page 28. This
parameter must not be set when manual password handling is selected.
BACKUPIDPREFIX 6-charstring | SAP___
Specifies a six-character prefix that is used to create a backup identifier for
each archived object. If not specified, the default value is SAP___.
BRARCHIVEMGTCLASS management_class [management_class...]
Specifies the IBM Spectrum Protect management classes that IBM Spectrum
Protect for ERP uses when called from BRARCHIVE. Each parameter string
can consist of up to 30 characters. Specify a separate BRARCHIVEMGTCLASS for
each log file copy requested. As a result, make sure the number of different
BRARCHIVE management classes that are specified must be greater than
or equal to the number of redo log copies . This parameter must be
defined with the respective SERVER statement, as shown in the sample
profile.
To use different IBM Spectrum Protect servers for backup and archive data,
the value “:SKIP:” can be used to define a server stanza with no archive
management classes. This value is allowed for the parameter
BRARCHIVEMGTCLASS only.
BRBACKUPMGTCLASS management_class [management_class...]
Specifies the IBM Spectrum Protect management classes that IBM Spectrum
Protect for ERP uses The parameter string can consist of up to 30
characters. This parameter must be defined with the respective SERVER
statement, as shown in the sample profile.
BUFFCOPY SIMPLE|PREVENT|AUTO
This optional parameter controls how IBM Spectrum Protect for ERP uses
the internal buffers for transferring data during a backup. If set to SIMPLE,
data buffers are copied when they are sent between IBM Spectrum Protect
components. This option is the default. If set to PREVENT, the original data
buffers are sent between IBM Spectrum Protect components.
52 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
available tape drives. The value of keyword MAX_SESSIONS must be less
than or equal to the sum of the SESSIONS values specified in the SERVER
statements of the currently available servers.
| MAX_VERSIONS n|0
| The n value defines the maximum number of full database backup
| versions to be kept in backup storage. The default setting for this value is
| 0, meaning that backup version control is disabled. If the number of
| versions that are found in backup storage is larger than the specified
| maximum number of backup versions (as specified by the parameter
| MAX_VERSIONS), the oldest versions are deleted (together with the
| corresponding table space and redo log files) until only the specified
| maximum number of most recent versions remain. Also, consider these
| characteristics:
| v When IBM Spectrum Protect for ERP deletes an old full backup, all
| partial backups older than this full backup are also deleted.
| v If the backups are distributed over multiple IBM Spectrum Protect
| servers and one of the servers is temporarily unavailable at the time of a
| new full backup, it is not possible to find all the backup versions. This
| situation might result in retaining a backup that would otherwise be
| deleted.
| IBM Spectrum Protect uses the value of the RETVER parameter (specified
| when a copy group is defined) to give files an expiration date. Use only
| one of these methods to control how long you keep backups:
| v If you use IBM Spectrum Protect for ERP backup version control, you
| must bypass this expiration function. Set the IBM Spectrum Protect
| parameter RETVER=9999 so that the files are not considered expired and
| are not deleted by IBM Spectrum Protect.
| v If you use the IBM Spectrum Protect expiration function, turn off IBM
| Spectrum Protect for ERP backup version control. Deactivate IBM
| Spectrum Protect for ERP backup version control by setting
| MAX_VERSIONS=0.
PASSWORDREQUIRED NO|YES
Specifies whether IBM Spectrum Protect requires a password to be
supplied by the IBM Spectrum Protect client. This situation depends on the
IBM Spectrum Protect installation. If not specified, the default is
PASSWORDREQUIRED YES, which implements manual password handling. This
parameter must be defined with the respective SERVER statement, as shown
in the sample profile.
REDOLOG_COPIES n|1
Specifies the number of copies IBM Spectrum Protect for ERP stores for
each processed redo log file. The valid range is 1 - 9. If not specified, IBM
Spectrum Protect for ERP stores one copy of the redo logs . The number of
different management classes for archived logs (keyword
BRARCHIVEMGTCLASS specified must be greater than or equal to the number
of log file copies specified. The number of different management classes
that are specified must be greater than or equal to the number of log file
copies specified.
RL_COMPRESSION NO|YES
If set to YES, IBM Spectrum Protect for ERP runs a null block compression
of the data before they are sent over the network. Although RL
compression introduces more CPU load, throughput can be improved
when the network is the bottleneck. It is not advised to use RL
54 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
a trace file /tmp/myBackup.trace for backup ID myBackup. A trace is
written only if both TRACE and TRACEFILE are specified.
TRACEMAX n
Specifies the maximum size of the trace file in KB. The valid range is 4096
(4 MB) - unlimited. If not specified, the trace file size is unlimited.
USE_AT days
Specifies the days that the IBM Spectrum Protect server (specified with the
corresponding SERVER keyword) is used. The days value can be numbers in
the range 0 (Sunday) - 6 (Saturday). Multiple numbers can be used when
separated by spaces. If not specified, the default is to use the IBM
Spectrum Protect server on all days.
#--------------------------------------------------------------------------
# Prefix of the ’Backup ID’ which will be stored in the description field
# of the IBM Spectrum
Protect archive function.
# If this parameter is not specified then the SID of the SAP HANA (R)
# instance will be used to prefix the backup ID by default. The value of
# this parameter does overrule the default behaviour.
# Must be exactly 6 characters.
# Default: none.
#--------------------------------------------------------------------------
#BACKUPIDPREFIX SID___
#--------------------------------------------------------------------------
# Number of parallel sessions to be established.
# Note: This number must not exceed the number of tape drives simultaneously
# available to the node on the IBM Spectrum
Protect servers to be accessed.
# The valid range of MAX_SESSIONS is from 1 and 32.
# Default: none.
#--------------------------------------------------------------------------
MAX_SESSIONS 1 # IBM Spectrum
Protect client sessions
#--------------------------------------------------------------------------
# Number of parallel sessions to be established for the redo log backup.
# Note: This number must not exceed the number of tape drives simultaneously
# available to the node for a redo log backup on the IBM Spectrum
Protect
# servers to be accessed.
# The valid range of MAX_ARCH_SESSIONS is from 1 to 32.
# Default: MAX_SESSIONS.
#--------------------------------------------------------------------------
#MAX_ARCH_SESSIONS 1 # IBM Spectrum
Protect client sessions for archive
#--------------------------------------------------------------------------
# Number of parallel sessions to be established for the restore of files.
# Note: This number must not exceed the number of tape drives simultaneously
# available to the node for restore processing backup on the IBM Spectrum
Protect
# servers to be accessed.
# The valid range of MAX_RESTORE_SESSIONS is from 1 to 32.
# Default: MAX_SESSIONS.
#--------------------------------------------------------------------------
#MAX_RESTORE_SESSIONS 1 # IBM Spectrum
Protect client sessions for restore
#--------------------------------------------------------------------------
# Number of backup copies of redo logs.
# The valid range of REDOLOG_COPIES is from 1 to 9.
# Default: 1.
#--------------------------------------------------------------------------
#REDOLOG_COPIES 2
#--------------------------------------------------------------------------
# Specifies whether a null block compression of the data is to be performed
# before transmission to IBM Spectrum
Protect.
# Although RL compression introduces additional CPU load, throughput can be
# improved when the network is the bottleneck. RL compression in Data
# Protection for SAP HANA (R) should not be used together with
# IBM Spectrum
Protect API compression.
# Default: NO
#--------------------------------------------------------------------------
#RL_COMPRESSION YES
#--------------------------------------------------------------------------
# Specifies how many files are read simultaneously and are multiplexed into
# one data stream to an IBM Spectrum
Protect server. Multiplexing is usefull
# when the data rate to an IBM Spectrum
Protect server is higher (fast
56 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
# tapes, fast network) than the I/O rate of a single disk.
# The valid range of MULTIPLEXING is from 1 to 8.
# Default: 1 (meaning no multiplexing)
#--------------------------------------------------------------------------
#MULTIPLEXING 2
#--------------------------------------------------------------------------
# Specifies the block size for disk I/O (in bytes).
# The default values have been chosen from our performance experiments in
# standard hardware environments.
# The valid range of BUFFSIZE is from 4KB to 32MB.
# Default: 131072 (128 KB)
#--------------------------------------------------------------------------
BUFFSIZE 131072 # block size in bytes
#--------------------------------------------------------------------------
# This optional parameter controls how Data Protection for SAP (R) HANA uses
# the internal buffers for transferring data during a backup.
# Valid values: SIMPLE | PREVENT | AUTO
# Default: SIMPLE
#--------------------------------------------------------------------------
#BUFFCOPY AUTO
#--------------------------------------------------------------------------
# Name of a program to be called before the backup task is started.
# Default: none.
#--------------------------------------------------------------------------
#FRONTEND pgmname parameterlist
#--------------------------------------------------------------------------
# Name of a program to be called after the backup task is completed.
# Default: none.
#--------------------------------------------------------------------------
#BACKEND pgmname parameterlist
#--------------------------------------------------------------------------
# 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
# Data Protection for SAP (R) HANA support.
# Default: OFF.
#--------------------------------------------------------------------------
#TRACE OFF
#--------------------------------------------------------------------------
# The full path of the trace file.
# Note: for an actual trace the string ’%BID’ will be replaced by
# the current backupid. Furthermore the current hostname, a time stamp and
# the process name will be appended. (.../backup_%BID.trace changes to
# .../backup_SAP___9809182300.trace.mizar.20130731134735.4226.backint).
# Default: none.
#--------------------------------------------------------------------------
#TRACEFILE /usr/sap/SID/home/backup.trace
#--------------------------------------------------------------------------
# Denotes the maximum size of the trace file in KB.
# If not specified, the trace file size is unlimited.
#--------------------------------------------------------------------------
#TRACEMAX max size # trace file size in KB
#--------------------------------------------------------------------------
# Specify the full path of the configuration file.
# Default: none.
#--------------------------------------------------------------------------
CONFIG_FILE CONFIGDIR/initSID.bki
#--------------------------------------------------------------------------
# Denotes if Data Protection for SAP (R) HANA shall send error/status
# information to an IBM Spectrum
Protect server.
# The servername must match one of the servers listed in a SERVER statement.
# Valid values for verbosity are ERROR | WARNING | DETAIL.
# Default: none.
#--------------------------------------------------------------------------
#LOG_SERVER servername [verbosity]
#LOG_SERVER server_a ERROR
#--------------------------------------------------------------------------
#**************************************************************************
# Statement for servers and paths.
# Multiple servers may be defined.
#**************************************************************************
58 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
# Overrides IP address of dsm.sys
# USE_AT 0 1 2 3 4 5 6 # Days when server_b is used for
# backup
#**************************************************************************
# USE_AT : 0=Su 1=Mo 2=Tu 3=We 4=Th 5=Fr 6=Sa
# Default: all days
#**************************************************************************
#--------------------------------------------------------------------------
# End of profile
END
Procedure
v Review the out put samples for dsm.opt, the include/exclude statement, and
dsm.sys.
v Use the planning sheet to help you plan the installation parameters for Data
Protection for SAP.
SErvername server_a
COMMmethod TCPip
TCPPort 1500
TCPServeraddress 192.168.1.1
TCPBuffsize 32
TCPWindowsize 24
Compression Yes
InclExcl /opt/tivoli/tsm/client/ba/bin/hana_inclexcl.list
SErvername server_b
COMMmethod TCPip
TCPPort 1500
TCPServeraddress 192.168.1.2
TCPBuffsize 32
TCPWindowsize 24
Compression Yes
InclExcl /opt/tivoli/tsm/client/ba/bin/hana_inclexcl.list
SErvername server_a
Collect the information in this planning sheet before you install Data Protection for
SAP.
Table 3. Installation parameters for Data Protection for SAP
Linux Installation parameter
X Database SID.
X Database instance number.
X Password of database user SYSTEM.
X IBM Spectrum Protect server name or IP address.
IBM Spectrum Protect node name: IBM Spectrum Protect node that is configured on the IBM Spectrum
X Protect server that is named for the backup of the SID previously listed. In a scale-out environment, there
can be multiple IBM Spectrum Protect node names required.
IBM Spectrum Protect management classes for database and redo log backups. Management classes that
X
are configured for the database backup and for the backup of redo logs.
Path where the IBM Spectrum Protect API are in (contents of environment variable DSMI_DIR):
X
Default: C:\Program Files\Common Files\tivoli\TSM\api64
X Path to client option file of IBM Spectrum Protect (contents of environment variable DSMI_CONFIG).
Path to IBM Spectrum Protect log files (contents of environment variable DSMI_LOG): The IBM Spectrum
X Protect API creates the file dsierror.log in this path.
Default: C:\temp
60 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
Appendix. Accessibility features for the IBM Spectrum Protect
product family
Accessibility features assist users who have a disability, such as restricted mobility
or limited vision, to use information technology content successfully.
Overview
The IBM Spectrum Protect family of products includes the following major
accessibility features:
v Keyboard-only operation
v Operations that use a screen reader
The IBM Spectrum Protect family of products uses the latest W3C Standard,
WAI-ARIA 1.0 (www.w3.org/TR/wai-aria/), to ensure compliance with US Section
508 (www.access-board.gov/guidelines-and-standards/communications-and-it/
about-the-section-508-standards/section-508-standards) and Web Content
Accessibility Guidelines (WCAG) 2.0 (www.w3.org/TR/WCAG20/). To take
advantage of accessibility features, use the latest release of your screen reader and
the latest web browser that is supported by the product.
Keyboard navigation
Interface information
User interfaces do not have content that flashes 2 - 55 times per second.
Web user interfaces rely on cascading style sheets to render content properly and
to provide a usable experience. The application provides an equivalent way for
low-vision users to use system display settings, including high-contrast mode. You
can control font size by using the device or web browser settings.
Web user interfaces include WAI-ARIA navigational landmarks that you can use to
quickly navigate to functional areas in the application.
Vendor software
The IBM Spectrum Protect product family includes certain vendor software that is
not covered under the IBM license agreement. IBM makes no representation about
the accessibility features of these products. Contact the vendor for accessibility
information about its products.
In addition to standard IBM help desk and support websites, IBM has a TTY
telephone service for use by deaf or hard of hearing customers to access sales and
support services:
TTY service
800-IBM-3383 (800-426-3383)
(within North America)
For more information about the commitment that IBM has to accessibility, see IBM
Accessibility (www.ibm.com/able).
62 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
Notices
This information was developed for products and services offered in the US. This
material might be available from IBM in other languages. However, you may be
required to own a copy of the product or product version in that language in order
to access it.
IBM may not offer the products, services, or features discussed in this document in
other countries. Consult your local IBM representative for information on the
products and services currently available in your area. Any reference to an IBM
product, program, or service is not intended to state or imply that only that IBM
product, program, or service may be used. Any functionally equivalent product,
program, or service that does not infringe any IBM intellectual property right may
be used instead. However, it is the user's responsibility to evaluate and verify the
operation of any non-IBM product, program, or service.
IBM may have patents or pending patent applications covering subject matter
described in this document. The furnishing of this document does not grant you
any license to these patents. You can send license inquiries, in writing, to:
IBM may use or distribute any of the information you supply in any way it
believes appropriate without incurring any obligation to you.
Licensees of this program who wish to have information about it for the purpose
of enabling: (i) the exchange of information between independently created
programs and other programs (including this one) and (ii) the mutual use of the
information which has been exchanged, should contact:
The licensed program described in this document and all licensed material
available for it are provided by IBM under terms of the IBM Customer Agreement,
IBM International Program License Agreement or any equivalent agreement
between us.
This information contains examples of data and reports used in daily business
operations. To illustrate them as completely as possible, the examples include the
names of individuals, companies, brands, and products. All of these names are
fictitious and any similarity to the names and addresses used by an actual business
enterprise is entirely coincidental.
COPYRIGHT LICENSE:
64 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
Each copy or any portion of these sample programs or any derivative work must
include a copyright notice as follows: © (your company name) (year). Portions of
this code are derived from IBM Corp. Sample Programs. © Copyright IBM Corp.
_enter the year or years_.
Trademarks
IBM, the IBM logo, and ibm.com® are trademarks or registered trademarks of
International Business Machines Corp., registered in many jurisdictions worldwide.
Other product and service names might be trademarks of IBM or other companies.
A current list of IBM trademarks is available on the Web at "Copyright and
trademark information" at www.ibm.com/legal/copytrade.shtml.
Linear Tape-Open, LTO, and Ultrium are trademarks of HP, IBM Corp. and
Quantum in the U.S. and other countries.
Java™ and all Java-based trademarks and logos are trademarks or registered
trademarks of Oracle and/or its affiliates.
UNIX is a registered trademark of The Open Group in the United States and other
countries.
VMware, VMware vCenter Server, and VMware vSphere are registered trademarks
or trademarks of VMware, Inc. or its subsidiaries in the United States and/or other
jurisdictions.
Permissions for the use of these publications are granted subject to the following
terms and conditions.
Applicability
These terms and conditions are in addition to any terms of use for the IBM
website.
Personal use
You may reproduce these publications for your personal, noncommercial
use provided that all proprietary notices are preserved. You may not
distribute, display or make derivative work of these publications, or any
portion thereof, without the express consent of IBM.
Commercial use
You may reproduce, distribute and display these publications solely within
Notices 65
your enterprise provided that all proprietary notices are preserved. You
may not make derivative works of these publications, or reproduce,
distribute or display these publications or any portion thereof outside your
enterprise, without the express consent of IBM.
Rights Except as expressly granted in this permission, no other permissions,
licenses or rights are granted, either express or implied, to the publications
or any information, data, software or other intellectual property contained
therein.
IBM reserves the right to withdraw the permissions granted herein
whenever, in its discretion, the use of the publications is detrimental to its
interest or, as determined by IBM, the above instructions are not being
properly followed.
You may not download, export or re-export this information except in full
compliance with all applicable laws and regulations, including all United
States export laws and regulations.
IBM MAKES NO GUARANTEE ABOUT THE CONTENT OF THESE
PUBLICATIONS. THE PUBLICATIONS ARE PROVIDED "AS-IS" AND
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR
IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES
OF MERCHANTABILITY, NON-INFRINGEMENT, AND FITNESS FOR A
PARTICULAR PURPOSE.
This Software Offering does not use cookies or other technologies to collect
personally identifiable information.
If the configurations deployed for this Software Offering provide you as customer
the ability to collect personally identifiable information from end users via cookies
and other technologies, you should seek your own legal advice about any laws
applicable to such data collection, including any requirements for notice and
consent.
For more information about the use of various technologies, including cookies, for
these purposes, see IBM’s Privacy Policy at http://www.ibm.com/privacy and
IBM’s Online Privacy Statement at http://www.ibm.com/privacy/details in the
section entitled “Cookies, Web Beacons and Other Technologies,” and the “IBM
Software Products and Software-as-a-Service Privacy Statement” at
http://www.ibm.com/software/info/product-privacy.
66 IBM Spectrum Protect for Enterprise Resource Planning Data Protection for SAP HANA: Installation and User's Guide
Glossary
A glossary is available with terms and definitions for the IBM Spectrum Protect
family of products.
C
Configuring 23, 25 S
Configuring Data Protection for SAP HANA SAP 1
setup script 23 SAP HANA 28
setup.sh 23 scale-out environment 28
sessions
multiple (parallel) 8, 53
D setting up 23
single host 24
Data Protection for SAP HANA 1, 23
sizing 7
disability 61
space required 7
dsm.opt 25
storage pools 7
dsm.sys 25
H
hdbbackint 1
I
IBM Knowledge Center vii
IBM Spectrum Protect 25
installing
Data Protection for SAP HANA 11
Integration 1
K
keyboard 61
Knowledge Center vii
M
multiple SAP HANA databases 24
O
optimization 4
Printed in USA