Você está na página 1de 37

Data Protection for SAP HANA Databases with

IBM Tivoli Storage Manager for ERP


Cyrus Niltchian, Technical Evangelist

2012 IBM Corporation


Tivoli Technical Enablement

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

2 2012 IBM Corporation


Tivoli Technical Enablement

What is SAP HANA

SAP HANA is SAPs 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.

3 2012 IBM Corporation


Tivoli Technical Enablement

The All In-Memory Tale Is my data safe?


The SAP HANA database holds the bulk of its data Also provides local replicas on disk
in memory for maximum performance

But still uses persistent storage to provide a fallback Backup to other media is left to Backup vendors
in case of system failure (e.g. power outage)

Time

Data savepoint Log written


to persistent to persistent storage Power
storage (committed transactions) failure

SAS Drives SSD Drives / FusionIO Server


optimized for optimized for local
high IOPS / low latency storage
Throughput
(>800MB/s) (>100 000 IOPS)

4 2012 IBM Corporation


Tivoli Technical Enablement

SAP HANAs Data Protection Capabilities

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

5 2012 IBM Corporation


Tivoli Technical Enablement

IBM Tivoli Storage Manager for ERP, protecting SAP Databases


TSM for ERP is a proven, robust, high
performance and highly scalable backup solution
with a long tradition of supporting SAP databases
TDP for mySAP

Equivalent level of support is provided for the 2:1


Compression
TSM

Flash Server
strategic in-memory database from SAP 2:1
Multiplexing Multiple Path Multiple Server
Copy
2:1
TSM
Compression

Familiar TSM for ERP features are applied to 2:1 Server

backup SAP HANA


Manage all files per backup as a logical entity TSM Server

Run multiple Parallel sessions to TSM


Exploit multiple network paths
Backup to multiple TSM servers
Provide File Multiplexing

6 2012 IBM Corporation


Tivoli Technical Enablement

IBM Tivoli Storage Manager for SAP HANA databases


TSM Data Protection for SAP
Backup / Recovery for HANA databases
SAP HANA Database
Redo Logs - Run on 1 node in HANA
Configuration Files cluster
- Trigger HANA backup into
node01 node02 node03 node04 filesystem
SAP HANA backup - Send backup files for all
IMDB nodes to TSM
DB partition 1 DB partition 2 DB partition 3 DB partition 4 - Exploit high performance
features as needed
shared file system TSM for ERP

HDD HDD HDD HDD


Backup files

Save pts & redo logs

TSM Server

7 2012 IBM Corporation


Tivoli Technical Enablement

Backup Flow
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,
8 2012 IBM Corporation
Tivoli Technical Enablement

Start HANA Backup: One Command

2012 IBM Corporation


Tivoli Technical Enablement

Automated Backup Process Drives the backup in console mode


Can be easily scheduled

Use Command 'backup.sh data for full


SAP HANA appliance database backup to TSM
Use Command 'backup.sh logs for backup
SAP HANA DP for SAP of redo logs to TSM
In-Memory database HANA Schedule to run regularly
backup.sh Same frequency as HANA configuration
parameter 'log_backup_timeout_s'

TSM server

DP for SAP HANA


Dump of in-memory data
datamover

Local disk

10 2012 IBM Corporation


Tivoli Technical Enablement

Recovery Flow
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

11 2012 IBM Corporation


Tivoli Technical Enablement

Restore from TSM

2012 IBM Corporation


Tivoli Technical Enablement

SAP HANA Recovery I

2012 IBM Corporation


Tivoli Technical Enablement

Recovery Flow Drives the


Used to perform restore of data
final recovery from TSM
SAP HANA appliance
SAP HANA Studio
DP for SAP Restore to most recent state
SAP HANA HANA
In-Memory database restore.sh or Restore to a specific point in time
backfm

TSM server

DP for SAP HANA


Dump of in-memory data
datamover

Local disk

14 2012 IBM Corporation


Global Alliance Solutions, SAP

IBM Tivoli Storage Manager for ERP: Looking Ahead

Tivolis 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

15 2012 IBM Corporation


Global Alliance Solutions, SAP

FAQ

Does SAP HANA support incremental forever or progressive backup?


No, currently its 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.

16 2012 IBM Corporation


Global Alliance Solutions, SAP

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

17 2012 IBM Corporation


More Information

Visit these links for more information on IBM Tivoli Storage Manager
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
18 DeveloperWorks: TSM Wiki 2011 IBM Corporation
Global Alliance Solutions, SAP

For more information please visit IBM Tivoli Storage Manager

http://www-01.ibm.com/software/tivoli/products/storage-mgr/

19 2012 IBM Corporation


Global Alliance Solutions, SAP

Start HANA Backup

2012 IBM Corporation


Global Alliance Solutions, SAP

Start TSM Backup

2012 IBM Corporation


Global Alliance Solutions, SAP

Full Backup: Progress

2012 IBM Corporation


Global Alliance Solutions, SAP

Finished Full Backup

2012 IBM Corporation


Global Alliance Solutions, SAP

Start Log Backup

2012 IBM Corporation


Global Alliance Solutions, SAP

Log Backup Progress

2012 IBM Corporation


Global Alliance Solutions, SAP

Log Backup Finished

2012 IBM Corporation


Global Alliance Solutions, SAP

Restore from TSM

2012 IBM Corporation


Restore from TSM Completed
Global Alliance Solutions, SAP

2012 IBM Corporation


Global Alliance Solutions, SAP

SAP HANA Recovery I

2012 IBM Corporation


Global Alliance Solutions, SAP

SAP HANA Recovery II

2012 IBM Corporation


Global Alliance Solutions, SAP

SAP HANA Recovery III

2012 IBM Corporation


Global Alliance Solutions, SAP

SAP HANA Recovery III

2012 IBM Corporation


Global Alliance Solutions, SAP

SAP HANA Recovery IV

2012 IBM Corporation


Global Alliance Solutions, SAP

SAP HANA Recovery V

2012 IBM Corporation


Global Alliance Solutions, SAP

SAP HANA Recovery VI

2012 IBM Corporation


Global Alliance Solutions, SAP

SAP HANA Recovery VII

2012 IBM Corporation


Global Alliance Solutions, SAP

SAP HANA Data Protection Guide

37 2012 IBM Corporation