37
© 2012 IBM Corporation Data Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

  • Upload
    lamlien

  • View
    254

  • Download
    7

Embed Size (px)

Citation preview

Page 1: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Data Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP

Cyrus Niltchian, Technical Evangelist

Page 2: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Tivoli Technical Enablement

2

Agenda

What is SAP HANA

HANA In-memory database – Backup Concept

IBM Tivoli Storage Manager – Overview and Background

IBM Tivoli Storage Manager - Backup and Restore Process for SAP HANA

Summary

Page 3: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Tivoli Technical Enablement

3

What is SAP HANA

SAP HANA is SAP’s implementation of an in-memory database.

It takes advantage of the low cost of memory, data processing abilities of multi-core processor

architectures and fast data access of SSD technology relative to traditional hard drives

It is designed to deliver better performance of analytical and transactional applications.

SAP delivers HANA as an Appliance or within an Application Cloud

Currently SAP offers Data Warehousing applications to run on SAP HANA, however SAP plans

to enable SAP HANA for SAP ERP in the future

SAP HANA can be clustered and runs typically only one DB instance at a time.

Page 4: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Tivoli Technical Enablement

4

The All In-Memory Tale – Is my data safe?

The SAP HANA database holds the bulk of its data

in memory for maximum performance

But still uses persistent storage to provide a fallback

in case of system failure (e.g. power outage)

Time

Data savepoint

to persistent

storage

Log written

to persistent storage

(committed transactions)Power

failure

SAS Drivesoptimized for

Throughput(>800MB/s)

SSD Drives / FusionIOoptimized for

high IOPS / low latency(>100 000 IOPS)

Serverlocalstorage

Also provides local replicas on disk

Backup to other media is left to Backup vendors

Page 5: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Tivoli Technical Enablement

5

HANA Service Pack 2 could initially only perform either ’Recovery to Last Backup’ or

‘Older Data Back-up’ or ’Recovery to Last State Before Crash’

In Service Pack 3 SAP introduced Full Automatic or Manual Log Backup option and

a Point In-Time Recovery option. The SAP HANA Studio administration features

includes a Backup Catalog which records all backup attempts.

Full and Log Backups are offered

Recovery can perform log replay

Includes backup interface to external backup vendors

SAP HANA’s Data Protection Capabilities

Page 6: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Tivoli Technical Enablement

6

TSM for ERP is a proven, robust, high

performance and highly scalable backup solution

with a long tradition of supporting SAP databases

Equivalent level of support is provided for the

strategic in-memory database from SAP

Familiar TSM for ERP features are applied to

backup SAP HANA

Manage all files per backup as a logical entity

Run multiple Parallel sessions to TSM

Exploit multiple network paths

Backup to multiple TSM servers

Provide File Multiplexing

TSM Server

Flash

Copy

TDP for mySAP

2:1

2:1

TSM

Server

2:1

2:1

TSM

Server

Compression

Compression

Multiple PathMultiplexing Multiple Server

IBM Tivoli Storage Manager for ERP, protecting SAP Databases

Page 7: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Tivoli Technical Enablement

7

HDD

IBM Tivoli Storage Manager for SAP HANA databases

node01 node02 node03 node04

backup

shared file system

HDD HDD HDD HDD

Backup files

Save pts & redo logs

Backup / Recovery for

•SAP HANA Database

•Redo Logs

•Configuration Files

SAP HANA

DB partition 1 DB partition 2 DB partition 3 DB partition 4

IMDB

- Run on 1 node in HANA

cluster

- Trigger HANA backup into

filesystem

- Send backup files for all

nodes to TSM

- Exploit high performance

features as needed

TSM Data Protection for SAP

HANA databases

TSM for ERP

TSM Server

Page 8: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Tivoli Technical Enablement

Backup Flow

8

Backup Process

Step 1: DB Consistency : SAP HANA is setting itself into backup mode

Step 2: File DUMP: SAP HANA is backing up itself to the filesystem

Step 3: DB Consistency : SAP HANA is resuming from backup mode

Step 4: TSM for ERP reads all files which make up the database (backup.sh –data) and sends them to TSM. Configuration files are also included. Alternatively Logs can be backed-up (backup.sh –logs)

All steps are automatically initiated by TSM for ERP via the backup.sh command

This command can be scheduled via CRON, Tivoli Workload Scheduler, TSM Scheduler,…

Page 9: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Tivoli Technical Enablement

Start HANA Backup: One Command

Page 10: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Tivoli Technical Enablement

10

Automated Backup Process

SAP HANAIn-Memory database

SAP HANA appliance

Local disk

Dump of in-memory dataDP for SAP HANA

datamover

DP for SAP HANA

backup.sh

TSM server

Drives the backup in console modeCan be easily scheduled

• Use Command 'backup.sh –data‘ for full

database backup to TSM

• Use Command 'backup.sh –logs‘ for backup

of redo logs to TSM

• Schedule to run regularly

• Same frequency as HANA configuration

parameter 'log_backup_timeout_s'

Page 11: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Tivoli Technical Enablement

Recovery Flow

11

Recovery Process

Step 1: Restore: TSM for ERP restores all files, which make up the database and sends them to the filesystem

Step 2: Recovery: SAP HANA Studio is running the recovery process by reading the files from disk

Two steps are required for Recovery:

Start TSM for ERP (through the backup.sh command) and import through SAP HANA Studio

Page 12: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Tivoli Technical Enablement

Restore from TSM

Page 13: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Tivoli Technical Enablement

SAP HANA Recovery I

Page 14: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Tivoli Technical Enablement

14

Recovery Flow

SAP HANAIn-Memory database

SAP HANA appliance

Local disk

Dump of in-memory dataDP for SAP HANA

datamover

DP for SAP HANA

restore.sh or backfm

TSM server

Drives the restore of data

from TSM

SAP HANA Studio

Used to perform final recovery

•Restore to most recent state

•Restore to a specific point in time

Page 15: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Global Alliance Solutions, SAP

15

IBM Tivoli Storage Manager for ERP: Looking Ahead

Tivoli’s SAP HANA Support is in two phases:

First phase is within TSM for ERP 6.4, second phase is planned for next year, it encompasses:

Tighter integration

Current integration is a two step backup and recovery process, second phase is planned to be one step each

TSM for ERP Admin Assistant support

Leveraging SAP new SAP HANA Backup interfaces

Page 16: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Global Alliance Solutions, SAP

16

FAQ

Does SAP HANA support ‘incremental forever’ or ‘progressive backup’?

No, currently it’s traditional FULL with LOG Backups.

Why is TSM for ERP being used and not the TSM B/A Client?

We are taking advantage of the TSM for ERP enhanced performance features and current market position.

Why are backup data temporarily stored on disk?

First phase of TSM for ERP needed to be announced in time, the second phase is planned to eliminate this step.

Are all TSM for ERP performance features being leveraged?

YES, with the exception of run length compression.

Page 17: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Global Alliance Solutions, SAP

17

IBM Tivoli Storage Manager provides backup & restore of SAP HANA databases

Tivoli Storage Manager is a proven, robust, high performance and highly scalable backup solution with a long tradition of supporting SAP databases, like DB2 and Oracle

Tivoli Storage Manager has been enhanced to provide an integrated and automated backup and restore solution for SAP HANA

Tivoli Storage Manager currently runs a Beta program with selected SAP HANA customers

General availability for TSM/HANA support will be November 16th 2012 (eGA TSM 6.4)

“Tivoli Storage Manager enhancement to support SAP HANA is another example of the broad customer centric partnership between IBM and SAP", Craig Jonsson, Vice President, Global IBM Alliance, SAP AG

Page 18: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2011 IBM Corporation1818

Product Information:

– TSM for ERP product page

– Tivoli Storage Manager Data Sheet Web Page Tech Info

– Tivoli Storage Manager Suite for Unified Recovery Data Sheet Web Page Tech Info

– Tivoli Storage Manager for Virtual Environments Data Sheet Web Page

– Tivoli Storage Manager FastBack Data Sheet Web Page Tech Info

– Tivoli Storage Manager FastBack for Workstations Data Sheet Web Page

– Tivoli Storage FlashCopy Manager Data Sheet Web Page

White Papers:

– Ten ways to save money with Tivoli Storage Manager

– ESG: Tivoli Storage Manager for Virtual Environments

– Unified Recovery Management

– Extend Tivoli Storage Manager to the Cloud

– Migrate to IBM Tivoli Storage Manager Easily and Confidently

– Leverage the IBM Tivoli Competitive Advantages in Storage Management

– Using IBM Data Reduction Solutions to Manage More Data with Less Infrastructure

– Advanced Reporting Capabilities for Smarter Storage Management

Solution information:

– Storage Management - Remote Office Data Protection

– Backup and Recovery - Unified Recovery Management

– Data Reduction - Storage Management in Cloud

DeveloperWorks: TSM Wiki

More Information

Visit these links for more information on IBM Tivoli Storage Manager

Page 20: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Global Alliance Solutions, SAP

Start HANA Backup

Page 21: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Global Alliance Solutions, SAP

Start TSM Backup

Page 22: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Global Alliance Solutions, SAP

Full Backup: Progress

Page 23: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Global Alliance Solutions, SAP

Finished Full Backup

Page 24: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Global Alliance Solutions, SAP

Start Log Backup

Page 25: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Global Alliance Solutions, SAP

Log Backup Progress

Page 26: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Global Alliance Solutions, SAP

Log Backup Finished

Page 27: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Global Alliance Solutions, SAP

Restore from TSM

Page 28: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Global Alliance Solutions, SAPRestore from TSM Completed

Page 29: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Global Alliance Solutions, SAP

SAP HANA Recovery I

Page 30: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Global Alliance Solutions, SAP

SAP HANA Recovery II

Page 31: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Global Alliance Solutions, SAP

SAP HANA Recovery III

Page 32: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Global Alliance Solutions, SAP

SAP HANA Recovery III

Page 33: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Global Alliance Solutions, SAP

SAP HANA Recovery IV

Page 34: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Global Alliance Solutions, SAP

SAP HANA Recovery V

Page 35: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Global Alliance Solutions, SAP

SAP HANA Recovery VI

Page 36: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Global Alliance Solutions, SAP

SAP HANA Recovery VII

Page 37: Data Protection for SAP HANA Databases with IBM Tivoli ... · PDF fileData Protection for SAP HANA Databases with IBM Tivoli Storage Manager for ERP Cyrus Niltchian, Technical Evangelist

© 2012 IBM Corporation

Global Alliance Solutions, SAP

SAP HANA Data Protection Guide

37