Documente Academic
Documente Profesional
Documente Cultură
Description
Use this document to help you to install, configure, and protect SAP HANA data with IBM Tivoli Storage
Manager for Enterprise Resource Planning: Data Protection for SAP HANA. This version of Data Protection for
SAP HANA can be used in your existing Tivoli Storage Manager backup environment once all prerequisites have
been met.
Installation
Prerequisites
Before installing and configuring Data Protection for SAP HANA, verify that the following prerequisites are met:
Tivoli Storage Manager 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.
The SAP HANA database configuration is complete on the system where you are going to install and
configure Data Protection for SAP HANA.
Installation is run using the root user ID for the appliance host operating system. During the installation
and configuration of Data Protection for SAP HANA, root access to the appliance host operating system is
required.
Data Protection for SAP HANA V6.4.1 - Installing, configuring, and protecting data
Limitations
Data Protection for SAP HANA is not integrated with the Tivoli Storage Manager for Enterprise Resource
Planning Administration Assistant. The Administration Assistant cannot be used to configure and monitor Data
Protection for SAP HANA.
Installation
The Data Protection for SAP HANA installation package is delivered as a self-contained installer program. This
file uses the following name format:
6.4.1.0TIVTSMERPHANALinux.bin
To install the software, complete the following steps:
1. Using the root user ID, log on to the SAP HANA host where you want to install Data Protection for SAP
HANA. Choose one of the following methods for installing:
I. Mount the DVD containing Data Protection for SAP HANA.
II. From the command line, change to the DVD directory where the installer is located. Enter the following
command to start the installer:
./6.4.1.0TIVTSMERPHANALinux.bin
III. If you are logged on to the SAP HANA host with an X Windows System or X terminal the installation will
be started in graphical mode and will guide you through the installation process. Follow the screen
instructions to complete the installation. If you are using a non-graphical terminal during installation, a
console mode installation will be started.
IV. If you are installing from an file share directory, enter the following command to ensure that the installer
file has execute permissions:
chmod+x6.4.1.0TIVTSMERPHANALinux.bin
Data Protection for SAP HANA V6.4.1 - Installing, configuring, and protecting data
2.
Accept the license agreement and click Next. The Data Protection for SAP HANA will check if the
prerequisites are met before proceeding.
Data Protection for SAP HANA V6.4.1 - Installing, configuring, and protecting data
Data Protection for SAP HANA V6.4.1 - Installing, configuring, and protecting data
Uninstallation
To uninstall Data Protection for SAP HANA and remove all files that are associated with it, follow these steps:
1. Change directory to the uninstall subdirectory in the installation folder.
2. Enter the following command:
/opt/tivoli/tsm/tdp_hana/uninstall/uninstaller.bin
Results:
The uninstaller will remove Data Protection for SAP HANA from your system. Services that are installed and
used by Data Protection for SAP HANA will be stopped and removed.
Note: If RPM is used to uninstall Data Protection for SAP HANA the uninstallation program would remain on disk.
The Tivoli Storage Manager for ERP RPM packages that were installed as part of the setup procedure on other
SAP HANA nodes will remain on these nodes. To remove these packages, run the following command on the
SAP HANA nodes:
rpmeTIVTSMERPHANA
/usr/sap/<SID>/SYS/global/hdb/opt/hdbconfig:
init<SID>.utl
init<SID>.bki
agent.lic (copy of the licence file stored in the Data Protection for SAP HANA
installation directory).
3. (Optional) From the command line, input the Tivoli Storage Manager node password for Data Protection for
SAP HANA :
i.Log on as the Data Protection for SAP HANA user <SID>adm. For example, for the SID
I53 this will be user i53adm.
ii.From a terminal, enter the following command:
/opt/tivoli/tsm/tdp_hana/hdbbackintp<fullpathto
profile>/init<SID>.utlfpassword
iii.If the password for the Tivoli Storage Manager node has not been set with the
setup.sh script, you will be prompted to enter the password.
Data Protection for SAP HANA V6.4.1 - Installing, configuring, and protecting data
database.
10. PleaseentertheTSMmanagementclassforlogfilebackups:
The Data Protection for SAP HANA UTL-file initSID.utl parameter BRARCHIVEMGTCLASS is updated with the
Tivoli Storage Manager management class name. Data Protection for SAP HANA uses the Tivoli Storage
Manager management class on the Tivoli Storage Manager server to backup and restore database redo log files.
11.You are prompted to set the password for the Tivoli Storage Manager node. After you enter the password, the
password 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.
Data Protection for SAP HANA V6.4.1 - Installing, configuring, and protecting data
initPRD.utl
#TSMERPprofile
...
serverTSM_SRV
...
adsmnodeSAPPRD
dsm.sys
servernameTSM_SRV
...
*NODENAMEnode
initPRD.utl
#TSMERPprofile
...
serverTSM_SRV
...
adsmnodeSAPPRD
dsm.sys
servernameTSM_SRV
...
*NODENAMEnode
initPRD.utl
#TSMERPprofile
...
serverTSM_SRV
...
adsmnodeSAPPRD
dsm.sys
servernameTSM_SRV
...
*NODENAMEnode
Drawing 1: Example scenario - Data Protection for SAP HANA on scale-out solution with manual
password handling
If automatic password handling is used the stanzas in dsm.sys, that are referenced by the Tivoli Storage
Manager for the ERP profile must have unique Tivoli Storage Manager node names for each SAP HANA node.
Otherwise the stanzas must be identical. These Tivoli Storage Manager nodes are used for authentication
purposes. By using the Tivoli Storage Manager proxy node feature, the nodes gain access to a single Tivoli
Storage Manager node that holds the data for the entire SAP HANA instance. In the following sample the Tivoli
Storage Manager node SAPPRD is used to store the backup of the entire SAP HANA database. The Tivoli
Storage Manager nodes SAPPRD01, SAPPRD04, and SAPPRD07 are used by SAP HANA nodes 01, 04,
and 07 to authenticate with the Tivoli Storage Manager server. These Tivoli Storage Manager nodes must have
proxy authority to the Tivoli Storage Manager node SAPPRD. Similar configuration must be applied to all other
nodes within the SAP HANA scale-out system.
initPRD.utl
#TSMERPprofile
...
serverTSM_SRV
...
asnodeSAPPRD
dsm.sys
servernameTSM_SRV
...
NODENAMESAPPRD01
passwordaccessgenerate
initPRD.utl
#TSMERPprofile
...
serverTSM_SRV
...
asnodeSAPPRD
dsm.sys
servernameTSM_SRV
...
NODENAMESAPPRD04
passwordaccessgenerate
initPRD.utl
#TSMERPprofile
...
serverTSM_SRV
...
asnodeSAPPRD
dsm.sys
servernameTSM_SRV
...
NODENAMESAPPRD07
passwordaccessgenerate
Drawing 2: Example scenario - Data Protection for SAP HANA on scale-out solution with automatic
password handling
Data Protection for SAP HANA V6.4.1 - Installing, configuring, and protecting data
Performance considerations
When SAP HANA runs a backup it sends the data for all SAP HANA services, such as nameserver and
indexserver in parallel from all nodes. If data is intended to go directly to tape, the number of allowed mount
points for the Tivoli Storage Manager node needs to be adjusted accordingly.
If data is stored in a disk storage pool first, and afterwards migrated to tape it should be considered that SAP
HANA expects data to be restored in the order determined by HANA. It is not possible for Tivoli Storage Manager
for ERP to optimize the restore order to reduce the number of tape seeks and mounts. If the data to be restored
for all nodes is located on a single tape drive this can lead to increased restore times or even deadlocks. Use
either disk storage pools or tapes with a sufficient number of mount points to avoid deadlock.
Data Protection for SAP HANA V6.4.1 - Installing, configuring, and protecting data
3. On the command line use the SAP HANA SQL client 'hdbsql'. For example the command:
hdbsqli53nvhana06usystempmanager"backupdatausingbackint('DAILY')"
connects to the instance with number 53 on host vhana06, as user system with password manager and runs a
complete database backup.
3. In the Locate Log Backups panel no input is required. 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 has been created. By selecting a specific
backup and pressing Check Availability it can be verified that the backup exists on the Tivoli Storage Manager
server.
Data Protection for SAP HANA V6.4.1 - Installing, configuring, and protecting data
Copyright IBM Corporation 2012, 2013 . U.S. Government Users Restricted Rights - Use, duplica tion or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
IBM, the IBM logo, ibm.com, Tivoli, and System Storage are 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 informationat ibm.com/legal/copytrade.shtml
Adobe is a trademark of Adobe Systems Incorporated in the United States, and/or other countries.
Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both.
Microsoft and Windows are trademarks of Microsoft Corporation in the United States, other countries, or both.
SAP and SAP HANA are the trademarks or registered trademarks of SAP AG in Germany and in several other countries.
This document is current as of the initial date of publication and may be changed by IBM at any
time. Not all offerings are available in every country in which IBM operates. It is the users responsibility to evaluate and verify the operation of any other products or programs with IBM products
and programs.
THE INFORMATION IN THIS DOCUMENT IS PROVIDED AS ISWITHOUT ANY WARRANTY, EXPRESS
OR IMPLIED, INCLUDING WITHOUT ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ANY WARRANTY OR CONDITION OF NON-INFRINGEMENT.
IBM products are warranted according to the terms and conditions of the agreements under which
they are provided. The client is responsible for ensuring compliance with laws and regulations applicable to it. IBM does not provide legal advice or represent or warrant that its services or products will ensure that the client is in compliance with any law or regulation.
Data Protection for SAP HANA V6.4.1 - Installing, configuring, and protecting data