Академический Документы
Профессиональный Документы
Культура Документы
Solution ...........................................................................................................................................................5
Labs...............................................................................................................................................................14
Additionally, organizations constantly challenge SAP HANA administrators to improve recovery time
objectives (RTOs). The process of recovering SAP HANA databases from a previous backup, then rolling a
large number of archive/redo logs forward is time consuming and complex. However, recovering the
database in the shortest possible time is essential to business operations.
EMC Data Domain deduplication storage systems continue to revolutionize disk backup, archiving, and disaster
recovery with high-speed, inline deduplication. EMC first offered DBAs the ability to use RMAN integration with DD
Boost to backup and recover Oracle databases. EMC has now taken the next step in DBA empowerment by integrating
SAP HANA BACKINT Interface with Data Domain systems. The result of this integration is the DD Boost for Databases
and Applications product. SAP HANA only supports full database backups. When you use Data Domain deduplication
systems as the backup device for SAP HANA data, the deduplication process stores only unique data on the backup
device and streamlines the backup process. The efficiency of a Data Domain system combined with the benefits of DD
Boost, dramatically reduces the amount of data transferred to and stored on the Data Domain system.
DBAs and application owners can continue to seamlessly use existing, familiar workflows offered by SAP HANA Studio
and Command Line Interface (CLI) scripts. This allows the backup process to store the backup in a format that a
centralized backup application can understand and use for operations such as centralized cataloging, cloning,
retention, and tape-out. This unique and powerful integration gives DBAs and application owners the ability to control
their own backup and recovery procedures and write the data directly to Protection Storage. The results are simplicity,
improved performance, lower capital expenditure, and lower operational expenditure for the line of business owners.
DD Boost for SAP HANA integrates with the SAP HANA BACKINT interface to backup and recover SAP HANA databases
and redo log files. The SAP HANA BACKINT agent enables DD Boost for SAP HANA to directly connect to the HANA
database.
• The SAP HANA database server invokes the backint agent. The backint agent implements the BACKINT API for
SAP HANA through the hdbbackint process.
• The database server creates named pipes to send data to the backint agent.
• The backint agent reads the data from named pipes and transfers the backup data to the Data Domain
systems.
SAP fully certifies the integration of DD Boost for SAP HANA with BACKINT.
The following figure provides a high level overview of the components in an SAP HANA environment that uses DD
Boost for SAP HANA.
Certain configuration tasks may be required during the course of this exercise in order to access the
resources involved.
The goals for this lab are to demonstrate the use of the SAP Hana tools to perform backups and recoveries.
These tools are as follows.
You will perform most of the tasks using the Hana Studio.
The Data Domain Boost for Database applications is already installed on saphana2.
/opt/ddbda/<dir>
creds.png
1. Type Password123!
1. You should see a window like the one pictured below. (Please Be Patient.)
This section is intended to get you familiar with the Hana Studio application.
You will need to restart the Hana Database from time to time. Here are the steps.
1. Choose Soft
2. Click Ok
This System is restarting you can observe all the Hana Processes involved.
**Please note the system restart may take a couple of minutes. Please be patient.
System Monitor
We will explore the backup configuration and options available within the Hana Studio.
**You may go ahead and restart the HANA database before you start this exercise as demonstrated in Exercise #1. If
you find that this exercise runs slower than desired the HANA restart will help.
1. Left Click to Highlight the Backup Configuration Icon then Right Click in the Hana Studio
2. Choose Open Backup Console
NOTE: if the Backup Console does not appear. Please right-click and open the Backup Console again.
2. Click on the Arrow to the left of the Backint Settings (See Arrow)
Review the Highlighted Sections to view the File Based Backup Options
Options.
Backup Catalog
NOTE: you may see the Warning "Not valid input", please ignore it by clicking "Ok" and do a Right Click on the Backup
Icon one more time and click Backup System
1. Complete Backup will be the default and that is fine. You will not be able to change this in the studio
2. Choose Backint
*It calls the DDboost hdbbackint from the DD Boost for Database Applications
1. Click Next
1. Click Close
*The Hana Database must be completely shut down to perform the restore.
Reference the SAP Hana Studio chapter if you need to review how to start the studio
2. Click OK
2. Click Next
1. Just Click in the Backup Prefix Window and Type a character ("__" character for example)
3. Click Next
2. Click Next
1. Click Finish
Finish, the Restore will Start
**Please note that the Restore and Recovery could take several minutes to complete.
1. Observe the Hana Studio and make sure all Hana Services are back up and running
Review the Previous Section Starting the SAP Hana Studio if you need to and start up the Studio.
NOTE: if the Backup Console does not appear. Please right-click and open the Backup Console again.
*You will Now be able to switch between the SQL tab and the Backup HDB (System) Tab. Just Click the SQL to execute
the Backup and click Backup Console Tab to watch the backup run (See Arrows)
1. This is what you will see after clicking on the Backup HDB (System) Tab (See Arrow)
NOTE: you may need to "Refresh" this window if the "progress" bar will not appear automatically. Click the "Refresh
Refresh"
button in the upper right corner.
Before you can use Hana hdbsql outside of the Hana Studio, you must run a command that generates a "User Store
Key" on the SAP Hana System.
This key functions like a security token to allow the OS user to take backups. I will show a sample run next. This
command is called hdbuserstore.
1. Open the Putty SSH session on the Launchpad (the SSH window should be opened from the previous step)
2. Run this command to switch to the hdbadm user (OS user): su - hdbadm
*This shows us working samples of all the Hana Commands that are needed to run for command line backups.
You can always come back to this location for working command line samples.
From here we can copy and past the command within Putty (Highlight the command and Right Click on your Mouse)
1. Copy and Paste the hdbuserstore sample from the hanacommandlinebackup.txt (Highlight the Line then Right Click)
2. Hit Return
1. Copy and Paste the hdbuserstore list backup2 Command (Highlight and left Click in Putty)
1. Copy and Paste the hdbsql -U backup2 "select * from dummy" command (Highlight the Command in Putty Right
Click)
2. Hit Return
Now we can run the hdbsql command outside of the Hana Studio
3. Hit Return
1. Open Hana Studio and Open the Backup Console (Review Previous Steps)
1. View the Last Successful Data Backup from the Backup Console
*Congratulations you are now completed with all the demo scenarios.
Here is a list of demo scenarios that we have learned during the course of these exercises.