EMC Data Domain Boost for SAP HANA - Lab Guide

January 30, 2019 | Author: l15479 | Category: Backup, Sap Se, Secure Shell, Databases, Command Line Interface
Share Embed Donate


Short Description

Data Domain and SAP HANa...

Description

VLAB - EMC DATA DOMAIN

BOOST  OOST FOR FOR SAP HANA

vLab - EMC Data Domain Boost for SAP HANA

Table of Contents Introduction and Overview Overview........................ .................................................. .................................................... ..................................................... ................................................ ..................... 3 Business Challenge..........................................................................................................................................4 Solution ....................................................... .......................... ............................. ......................................................... ............................ ............................. ...........................................5 ............................ ...............5

vLab Enviro Environment nment Overv Overview iew ....... ............... ................ ................ ............... ............... ................ ................ ................ ............... ............... ................ ................ ................ ............... ............ ..... 8 vLab Backup Environment Overview ...................................................... .......................... ......................................................... ............................. .............................9 ............................ .9 vLab Components ..................................................... ........................ ............................. ......................................................... ............................ ............................. ........................... 10 vLab Environment and Layout.........................................................................................................................11 vLab Login Credentials ........................................................ ............................ ......................................................... ............................. ..............................................13 ............................ ..................13 Labs...............................................................................................................................................................14

vLab Backup Environment Environment Setup And Config Configuratio uration n ........ ................ ................ ............... ............... ................ ................ ............... ............... ................ ............ .... 15 Connect using Putty SSH ..................................................... ......................... ......................................................... ............................. ..............................................16 ............................ ..................16 Starting the SAP Hana Studio ........................................................ ........................... ............................. ......................................................... ............................ ............................. ........20

vLab Backup and Recovery Demo Scenarios ....................... ................................................. ..................................................... .............................................. ................... 23 Exercise Exercise #1 : Hana Studio Studio Exploratio Exploration. n. ............... ....................... ............... ............... ............... ............... ................ ............... ............... ............... ............... ................ ...............2 .......24 4 Exercise #2 : Explore Backup Configuration Options In Hana Studio. ..................................................... ........................ ............................. ........30 Exercise #3 : Perform Backups using Hana Studio ............................. ........................................................ ............................ ................................34 ....34 Exercise #4: Perform Restore using HANA Studio. ..................................................... ......................... ......................................................... ............................. ........42 Exercise #5: Perform Backups using HDBSQL ....................................................... .......................... ............................. .........................................55 ............................ .............55

Summary and Conclusions ....................... ................................................. .................................................... ..................................................... .............................................. ................... 64 Summary ..................................................... ........................ ............................. ......................................................... ............................ ............................. .........................................65 ............................ .............65

Introduction and Overview

vLab - EMC Data Domain Boost for SAP HANA

Page 3

Business Challenge SAP HANA is an in-memory data platform that you can deploy as an on-premise appliance, or in the cloud. SAP HANA is a ground-breaking platform that is best suited to the performance of real-time analytics, and the development and deployment of real-time applications. At the core of this real-time data platform is the SAP HANA database that is fundamentally different than any other database engine in the market today. Many IT organizations perform SAP HANA database backups on a nightly basis to meet their th eir backup and recovery window requirements. Most businesses store these backups for thirty days or more. Unfortunately, this leads to rapid growth in backup storage, which has resulted in the continued contin ued use of legacy tape systems as the default solution for database backups. This reliance on tape for backup storage can limit the number  of backups that a business can perform and negatively impact recovery point objectives (RPOs). 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.

vLab - EMC Data Domain Boost for SAP HANA

Page 4

Solution Provide details of the solutions, it's key benefits, any problems it solves.

vLab - EMC Data Domain Boost for SAP HANA

Page 5

Introducing EMC Data Domain Boost for SAP 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 S AP 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. When a backup starts, the following actions occur: • The SAP HANA database server invokes invokes the backint agent. The backint agent implements implements the BACKINT BACKINT API for  SAP HANA through the hdbbackint process. • The database database server server creates creates named named pipes pipes to send data data to the backint backint agent. agent. • The backint backint agent reads reads the data from from named pipes pipes and transfe transfers rs the backup backup data to the Data Domain 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.

vLab - EMC Data Domain Boost for SAP HANA

Page 6

vLab - EMC Data Domain Boost for SAP HANA

Page 7

vLab Environment Overview

vLab - EMC Data Domain Boost for SAP HANA

Page 8

vLab Backup Environment Overview This Lab contains a small SAP Hana server and two Data Domain servers. 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 t o perform backups and recoveries. These tools are as follows. • SAP SAP Hana Hana Stud Studio io • Hana Hana HDBSQL HDBSQL comm command and Line Line lang languag uage. e. The ddbda suite is already installed and pre-configured.  You will perform most of the tasks using the Hana Studio.

vLab - EMC Data Domain Boost for SAP HANA

Page 9

vLab Components Here is a lists of the virtual machines included in this lab and their intended purpose. Please review the diagram in the next section.

vLab - EMC Data Domain Boost for SAP HANA

Page 10

vLab Environment and Layout This demo environment consists of one Hana server and two Data Domain Servers. You also have a Launchpad and Domain Controller. The relevant hostnames are saphana2, ddve-01, and ddve-02. The Hana Server contains a small database called demo. The Data Domain Boost for Database applications is already installed on saphana2. /opt/ddbda/

vLab - EMC Data Domain Boost for SAP HANA

Page 11

SAP HANA Architecture.

vLab - EMC Data Domain Boost for SAP HANA

Page 12

vLab Login Credentials Here are your login credentials for each host.

creds.png 

vLab - EMC Data Domain Boost for SAP HANA

Page 13

Labs  You will walk through through the following scenarios scenarios in this Lab. Here is a Lab Summary List: • • • • • • • •

P Pre-Step: re-Ste Step: Configure Putty ssh for the Command Line Exercises LLab ab 1 1: Working with Hana Studio Shutdo tdown and restart the Database Explore th the SA SAP Ha Hana Co Components LLab ab 2 2: Explore the Backup and Recovery Recovery Configuration Configuration inside Hana Studio LLab ab 3 3: Perform Perform Backups Backups Using Using Hana Studio Studio LLab ab 4 4:: Perform Perform Restore Restoress Using Hana Hana Studio Studio LLab ab 5 5:: Perform Backups Backups using HDBSQL Command Command Line Language

vLab - EMC Data Domain Boost for SAP HANA

Page 14

vLab Backup Environment Setup And Configuration

vLab - EMC Data Domain Boost for SAP HANA

Page 15

Connect using Putty SSH  You will use Putty SSH to run the Command Line exercises for this Lab. You can also explore the various components of the SAP Hana server using Putty SSH.

Open the Putty Application 1. Double Double Click the Putty SSH SSH Icon on your your Desktop Desktop

vLab - EMC Data Domain Boost for SAP HANA

Page 16

Double Click the saphana2 configuration 1. Just double click the saphana2 under saved session

vLab - EMC Data Domain Boost for SAP HANA

Page 17

Login as Root 1. Login by typing typing root

Type your Password 1. Type Password12 Passwo Password123! rd123! 3!

vLab - EMC Data Domain Boost for SAP HANA

Page 18

 You are now logged logged in  You are now logged logged in. Please Please minimize minimize this window. window.

vLab - EMC Data Domain Boost for SAP HANA

Page 19

Starting the SAP Hana Studio We have loaded the SAP Hana Studio client on your Launchpad for this vLab. You can easily open the HANA studio by double clicking the Icon on the desktop.

Startup the Hana Studio 1. Double click the SAP Hana Studio S tudio Icon on your Desktop.

vLab - EMC Data Domain Boost for SAP HANA

Page 20

Hana Studio will Load up. 1. It may take a minute to load up.

vLab - EMC Data Domain Boost for SAP HANA

Page 21

Hana Studio is now Running  1. You should see a window like the one pictured below. (Please Be Patient.)

vLab - EMC Data Domain Boost for SAP HANA

Page 22

vLab Backup and Recovery Demo Scenarios

vLab - EMC Data Domain Boost for SAP HANA

Page 23

Exercise Exerci Exe rcise se #1 : Han Hana a Studio Studio Explor Ex Exploration. plorati ation. on. Most of this demo will be run from the Hana Studio. You already have it running at this time. This section is intended to get you familiar with the Hana Studio application.

Restarting the Hana Database  You will need to restart restart the Hana Database from time to time. Here are the steps. steps. 1. Left Left Click Clic Click k to Highlight Highlight the HDB(SYSTEM HDB( HDB(S SYSTEM) YSTEM)) ICON then Right Click 2. Click Configuration and Monitoring  Monitoring  3. Click Restart Restart System System

vLab - EMC Data Domain Boost for SAP HANA

Page 24

Restarting the Hana DB Continued. 1. Choose Choose Soft 2. Click Click Ok

vLab - EMC Data Domain Boost for SAP HANA

Page 25

Restarting the Hana DB Continued. 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.

vLab - EMC Data Domain Boost for SAP HANA

Page 26

Exploring the Hana Studio 1. Maximize Maximize the HDB(SYSTEM) HDB(SYSTEM HDB(SYSTEM)) Hierarchy Hierarchy by clicking clicking the Plus Sign. Sign. 2. Left Click the HDB (SYSTEM) Icon to highlight. 2. Click on the Administration Icon

vLab - EMC Data Domain Boost for SAP HANA

Page 27

Exploring the Hana Studio Continued 1. Click on the Overview Overview Tab 2. Click on the Landscape Landscape Tab 3. Click on the Configuration Tab Feel free to Click on the Others.

vLab - EMC Data Domain Boost for SAP HANA

Page 28

Exploring the Hana Studio Continued 1. Click on the System Monitor Monitor Icon

System Monitor  Review the Information in System Monitor  Feel free to explore the rest of the Sap Hana Interface.

vLab - EMC Data Domain Boost for SAP HANA

Page 29

Exercise Exercise #2 : Explor Explore e Backup Backup Configurati Confi Configuration guration on Options Options In Hana Hana Studio. Studio. Backups Using Hana Studio We will explore the backup configuration and options available within the Hana S tudio. **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 Left Cli C Click lick ck to to High Hi Highlight ghli ligh ghtt the Backup Configuration Icon then Right Righ Rightt Click in the Hana Studio 2. Choo Choose se Open Open Backup Back Backup up Console Con Conso sole le NOTE: if the Backup Console Console does does not appear. Please right-click right-click right-click and open open the Backup Backup Console Console again. again.

vLab - EMC Data Domain Boost for SAP HANA

Page 30

Backup Overview Review 1. Review Review the Backup Backup Overview Overview Includ Including ing the the Last Successf Successful ul Backup Backup

vLab - EMC Data Domain Boost for SAP HANA

Page 31

Backint Configuration - DD Boost for Database Applications. 1. Click on the Configuration Tab 2. Click Click on the Arrow Arrow to the left of the Backint Settings (See Arrow) 3. Review Review the the Backin Bac Backint kintt Agent Agent Locati Location Location on 4. Review Review the Backint Backint Parameter Paramet Parameter er file file Location Location 5. Review Review the Log Backup Backup Settings Settings for for Backint Backint *DDBDA was pre-installed configured for this lab

vLab - EMC Data Domain Boost for SAP HANA

Page 32

File Based Backup Options - Log Backup Options Review the Highlighted Sections Sections to view the File Based Backup Options. Options Options

Backup Catalog  1. Click on the Backup Backup Catalog Tab Tab (View the Details) We are now ready to perform Backups via Hana Studio.

vLab - EMC Data Domain Boost for SAP HANA

Page 33

Exercise Exerci Exe rcise se #3 : Per Perfor Perform form m Backups Backups using using Hana Hana Studio Studio Review the Previous Section Starting the SAP Hana Studio if you need to and start up the Studio.

Hana Studio Backup 1. Left Click to Highlight the Backup Backup Icon then Right Right Click . 2. Click Open Backup Backup Console. Console. (Please be Patient) Patient)

vLab - EMC Data Domain Boost for SAP HANA

Page 34

Start Backup Wizard 1. Right Click Click the Backup Backup Icon 2. Click Backup Backup System NOTE: you may see the Warning "Not "Not valid input", please ignore it by clicking "Ok" and and do a Right Right Right Click Click Click on the Backup Backup Icon one more more time and and click Backup Backup System System

vLab - EMC Data Domain Boost for SAP HANA

Page 35

Backint DDBDA Hana Configuration Wizard 1. Complete Backup will be the default and that is fine. You will not be able to change this in the studio 2. Choose Choose Backint Backint

vLab - EMC Data Domain Boost for SAP HANA

Page 36

Backint DDBDA Hana Configuration Wizard Continued Observe the Backup Destination after Choosing Backint. *It calls the DDboost hdbbackint from the DD Boost for Database Applications

vLab - EMC Data Domain Boost for SAP HANA

Page 37

Add a Date Stamp to the Backup Prefix 1. Type in a date after the Complete_Data_Backup_ Complete_Data_Backup_
View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF