You are on page 1of 32

ITM228

Siemens Experiences
with Parallelized
SAP HANA Backups
and Restores
SAP TechEd Barcelona 2016
Unrestricted Siemens AG 2016 IT creates business value
Agenda

Welcome to IN
Our challenge with one scale-out database
HanaPowerBlock@Eagle Architecture
SAP HANA Snapshot
SAP HANA Cloning
Backup approach with SPS11/12
Summary

Unrestricted Siemens AG 2016 IT creates business value


Jrgen Ohlmann/GS IT, November, 2016
Welcome to IN (Infrastructure Services)
Facts & Figures

We manage one of the largest IT Infrastructures in the industry

Users LAN-Ports (used)


320,000 466,000

Smartphones WLAN Access Points


160,000 14,900

We are a global team and have


File space and storage leverage on our expertise and experience Fixed-Voice
~11 PB on a worldwide level connections
250,000
46 countries
~1,100 employees

Servers
End-user hardware refresh
Virtual Servers: 18,000
100,000 per year
Physical Servers: 15,000

Email Space
950 TB Printers (Network)
Mobile Data 60,000
400 TB per year Online Conferencing
980 Mio minutes, per year
Unrestricted Siemens AG 2016 IT creates business value
Jrgen Ohlmann/GS IT, November, 2016
SAP inside the EAGLE Datacenter

EAGLE
Secure Reliable Always On LAN OS Server

High Secure/High Availability Infrastructure for


critical Siemens Applications

Firewall DNS
Employees: ~ 200
First HANA System: Started with Rev. 28 (2012) on appliances
HANA TDI: HANAPowerBlock@Eagle
Biggest HANA System: 33 TB, sidecar scenario Web Storage DB

Unrestricted Siemens AG 2016 IT creates business value


Jrgen Ohlmann/GS IT, November, 2016
Agenda

Welcome to IN
Our challenge with one scale-out database
HanaPowerBlock@Eagle Architecture
SAP HANA Snapshot
SAP HANA Cloning
Backup approach with SPS11/12
Summary

Unrestricted Siemens AG 2016 IT creates business value


Jrgen Ohlmann/GS IT, November, 2016
Business Intelligence (DAsh = Data Analytics smart handling)

Source Transform Data Lake Frontend

75 SAP systems SLT replication Productive system with 11 nodes 3 TB RAM Different frontends for
33 TB sidecar scenario

Reporting
EH1
1 ,500,000,000
records per day
Planning
3 non-SAP systems

Analytics

Unrestricted Siemens AG 2016 IT creates business value


Jrgen Ohlmann/GS IT, November, 2016
Business Intelligence (DAsh = Data Analytics smart handling)

Source Transform Data Lake Frontend

75 SAP systems SLT replication Productive system with 11 nodes 3 TB RAM Different frontends for
33 TB sidecar scenario

Reporting
EH1
1 ,500,000,000
records per day
Planning
3 non-SAP systems

2012 1 x 1 TB
Analytics
2012 4 x 1 TB
2013 10 x 1 TB
Evolution steps
2014 4 x 3 TB
2016 8 x 3 TB
Unrestricted Siemens AG 2016 2016 11 x 3 TB IT creates business value
Jrgen Ohlmann/GS IT, November, 2016
Agenda

Welcome to IN
Our challenge with one scale-out database
HanaPowerBlock@Eagle Architecture
SAP HANA Snapshot
SAP HANA Cloning
Backup approach with SPS11/12
Summary

Unrestricted Siemens AG 2016 IT creates business value


Jrgen Ohlmann/GS IT, November, 2016
HANAPowerBlock@Eagle General Framework

Highly optimized and standardized infrastructure for


setting up SAP environments based on HANA databases
covered in a cell architecture with dedicated SAN
storage and SAN/LAN infrastructure

Setup is automated from OS-stack to SAP-stack

OS- /HDB- /SAP-Kernel patching is automated

System copies are automated with option of dedicated


customer tasks

Unrestricted Siemens AG 2016 IT creates business value


Jrgen Ohlmann/GS IT, November, 2016
HANAPowerBlock@Eagle Technical Properties

HANAPowerBlock@Eagle is able to handle Reasons to use

Virtualized HANA DBs up to 512 GB RAM Independent HW stack

Physical HANA DBs from 1 TB to 6 TB RAM Flexible usage of servers possible

SAP Application Server instances based on VM


Major innovation steps possible with the next
(16 vCPUs/128 GB RAM) building block

Disaster Recovery with SAP System Replication


and ESX-Site Recovery Manager (SRM) Cost efficient operation

Unrestricted Siemens AG 2016 IT creates business value


Jrgen Ohlmann/GS IT, November, 2016
HANAPowerBlock@Eagle Key features and capabilities

Patches Standardization Operation

Unrestricted Siemens AG 2016 IT creates business value


Jrgen Ohlmann/GS IT, November, 2016
HANAPowerBlock@Eagle Key features and capabilities

Patches Standardization Operation

Customer self-service portal for


maintenance planning

No influence on other SID`s during


patching of one instance

Working on minimizing downtimes


one downtime for patching OS,
HDB, SAP kernel

Unrestricted Siemens AG 2016 IT creates business value


Jrgen Ohlmann/GS IT, November, 2016
HANAPowerBlock@Eagle Key features and capabilities

Patches Standardization Operation

Customer self-service portal for One server per task, no mixed


maintenance planning operation of instances on one
server, no impact between
systems
No influence on other SID`s during
patching of one instance
SAP Application Server with
standardized size for all kinds of
Working on minimizing downtimes systems
one downtime for patching OS,
HDB, SAP kernel Separate interface server for
printing, FTP access, Java scripts,
Web Dispatcher

Unrestricted Siemens AG 2016 IT creates business value


Jrgen Ohlmann/GS IT, November, 2016
HANAPowerBlock@Eagle Key features and capabilities

Patches Standardization Operation

Customer self-service portal for One server per task, no mixed Throughput up to 3 GByte/s during
maintenance planning operation of instances on one startup of a HANA database, a
server, no impact between full-startup of a HANA database
systems with all-in-RAM for a 1.5 TB data
No influence on other SID`s during in approx.15 minutes
patching of one instance
SAP Application Server with Partitioning of tables helps to
standardized size for all kinds of reduce startup times, improves
Working on minimizing downtimes systems performance and reduces memory
consumption
one downtime for patching OS,
HDB, SAP kernel Separate interface server for Harmonized Instance Parameters
printing, FTP access, Java scripts,
Web Dispatcher

Unrestricted Siemens AG 2016 IT creates business value


Jrgen Ohlmann/GS IT, November, 2016
Agenda

Welcome to IN
Our challenge with one scale-out database
HanaPowerBlock@Eagle Architecture
SAP HANA Snapshot
SAP HANA Cloning
Backup approach with SPS11/12
Summary

Unrestricted Siemens AG 2016 IT creates business value


Jrgen Ohlmann/GS IT, November, 2016
Snapshots based on SAN Storage

Challenge: Solution:
Classic backup limitations Storage based Snapshots

Increasing SAP HANA Nodes Executed in regular intervals (over 3 days, every 4 hours)

Backup with 1 channel and up to 1 TB RAM within 60 minutes Used for fast DB recoveries

No backup speed improvement up to HANA SPS10 was possible Avoid restore from Tape

Recovery duration didnt fit to business requirements Rollforward max. 4 hour instead of max. 24 hours

Recovery from different snapshot generations are possible

Table partitioning helps to reduce the amount


of snapshot pool

Unrestricted Siemens AG 2016 IT creates business value


Jrgen Ohlmann/GS IT, November, 2016
HANAPowerBlock@Eagle Storage Snapshot Details

Snapshot Process
SAP HANA
Studio Storage Tool 1. Prepare: Create HANA internal Database Snapshot
hdbsql
Plugin*

* some storage
2. Create a storage snapshot from the data area
1 Prepare database tools provide
HANA plugins 3. Confirm or abandon the storage snapshot
3 Confirm snapshot HANA snapshot registration (backup catalog)

Facts

+ Very useful to create fast adhoc backups within


SAP HANA 2
minutes independent on the database size
Create storage
snapshot External Physical consistency check not available
Internal snapshot Storage
Data Area (Disk) Currently not supported with SAP HANA multitenant db containers

! Keep in mind, a snapshot is not a replacement for a regular backup

Unrestricted Siemens AG 2016 IT creates business value


Jrgen Ohlmann/GS IT, November, 2016
Agenda

Welcome to IN
Our challenge with one scale-out database
HanaPowerBlock@Eagle Architecture
SAP HANA Snapshot
SAP HANA Cloning
Backup approach with SPS11/12
Summary

Unrestricted Siemens AG 2016 IT creates business value


Jrgen Ohlmann/GS IT, November, 2016
SAP HANA Cloning

Initial Situation Requirements Solution

Additional test system for: Clone based on virtual servers


EH1 Regression and functional tests Each node has 512 GB RAM
HANA upgrade tests Writeable SAN snapshots
Single user performance tests Storage layout equal to productive
Short-term clone refresh Table partitioning
Cold/Warm data concept
Fully automated workflow with
11 Physical nodes 3 TB RAM self-service upcoming
16.5 TB static data
Up to 4 TB redo per day

Unrestricted Siemens AG 2016 IT creates business value


Jrgen Ohlmann/GS IT, November, 2016
SAP HANA System Copy via DB Clone in Detail

Physical Servers, each Server 3 TB RAM


Cloning Process
Productive System

1. Create LUN-list for storage snapshot

2. Execute HANA snapshot on productive site

Data LUNs 3. Execute storage snapshot on productive site

4. Register HANA snapshot in backup catalog

Writeable Snapshot (clone) LUNs 5. Providing snapshot LUNs to ESX farm

6. Mapping snapshot LUNs to virtual servers


Clone System

7. Mount LUNs on operating system level

8. Recover HANA DB with or without rollforward


VMware Infrastructure, each Server 512 GB RAM

Unrestricted Siemens AG 2016 IT creates business value


Jrgen Ohlmann/GS IT, November, 2016
Agenda

Welcome to IN
Our challenge with one scale-out database
HanaPowerBlock@Eagle Architecture
SAP HANA Snapshot
SAP HANA Cloning
Backup approach with SPS11/12
Summary

Unrestricted Siemens AG 2016 IT creates business value


Jrgen Ohlmann/GS IT, November, 2016
HANAPowerBlock@Eagle Backup Approach via backint

Backup incl. Client Deduplication


HDB Server Backup Infrastructure
2 send hash
1. Creating hash for 4k 12k packages on client site

2. Compare hash sum with existing hashes

1 3 ~10%: hash unknown


3. If hash is unknown, data block is sent to backup infrastructure

4. Traffic control via backup server

4 Facts
Uncompressed backup volume: 386 TB (Data+Log, 21 days)

Deduplication factor in our DC is 9 for the HDBs

Reduced network bandwith utilization

Backup Server Reduce backup storage with client deduplication

Unrestricted Siemens AG 2016 IT creates business value


Jrgen Ohlmann/GS IT, November, 2016
Multistream Backup

Parameter for HANA multistreaming backups available with SPS11 : parallel_data_backup_backint_channels

Stream 1 - indexserver
Stream 2 - indexserver
Stream 3 - indexserver
Stream 4 - indexserver

Stream 1 - XSEngine

Stream 1 - nameserver

SAP HANA Database Backup Storage

Remark: Backup splitting is only possible for services bigger than 128 GB.

Unrestricted Siemens AG 2016 IT creates business value


Jrgen Ohlmann/GS IT, November, 2016
Multistream Backup with 6 Nodes ~16TB data

HANA SPS 11 (1 channel) HANA SPS 11 (8 channels)

Network Throughput (avg. per node) Write: 37 MB/s (after dedup) Write: 98 MB/s (after dedup)

Disc Throughput (avg. per node) Read: 161 MB/s (peak 295 MB/s) Read: 410 MB/s (peak 750 MB/s)

Runtime (avg.) Duration: 270 minutes Duration: 90 minutes

Benefit of EH1: Productive business downtime reduced by 3 hours for required backup after actions
like HDBADD

Unrestricted Siemens AG 2016 IT creates business value


Jrgen Ohlmann/GS IT, November, 2016
Multistream Restore with 6 Nodes ~16TB data

HANA SPS 11 (1 channel) HANA SPS 11 (8 channels)

Network Throughput (avg. per node) Read: 115 MB/s Read: 205 MB/s

Disc Throughput (avg. per node) Write: 115 MB/s Write: 205 MB/s

Runtime (avg.) Duration: 425 minutes Duration: 240 minutes

Unrestricted Siemens AG 2016 IT creates business value


Jrgen Ohlmann/GS IT, November, 2016
Multistream Restore with 6 Nodes ~16TB data

HANA SPS 11 (1 channel) HANA SPS 11 (8 channels)

Network Throughput (avg. per node) Read: 115 MB/s Read: 205 MB/s

Disc Throughput (avg. per node) Write: 115 MB/s Write: 205 MB/s

Runtime (avg.) Duration: 425 minutes Duration: 240 minutes

2000
additional
nodes 1500

1000 1 x 10GBit 800MB/s


Bottleneck
500

0
0:00 1:00 2:00 3:00 4:00 h

Sum Disk "write" Sum Network "read"


1 x 10GBit

Unrestricted Siemens AG 2016 IT creates business value


Jrgen Ohlmann/GS IT, November, 2016
Agenda

Welcome to IN
Our challenge with one scale-out database
HanaPowerBlock@Eagle Architecture
SAP HANA Snapshot
SAP HANA Cloning
Backup approach with SPS11/12
Summary

Unrestricted Siemens AG 2016 IT creates business value


Jrgen Ohlmann/GS IT, November, 2016
Summary

Backup via backint Snapshot Cloning

Improved performance with


parallel backup streams since
SPS11

Deduplication reduces the


network load, therefore optimal for
multinode systems

Comfortable solution including


consistency check and protection
against human and media errors

Unrestricted Siemens AG 2016 IT creates business value


Jrgen Ohlmann/GS IT, November, 2016
Summary

Backup via backint Snapshot Cloning

Improved performance with Snapshot Restore takes only a


parallel backup streams since few seconds
SPS11

Deduplication reduces the Different generations are possible


network load, therefore optimal for and retries are much quicker
multinode systems

Comfortable solution including Shorter roll forward periods,


consistency check and protection depending on your snapshot
against human and media errors intervals

Unrestricted Siemens AG 2016 IT creates business value


Jrgen Ohlmann/GS IT, November, 2016
Summary

Backup via backint Snapshot Cloning

Improved performance with Snapshot Restore takes only a Optimal solution for immediate DB
parallel backup streams since few seconds copies especially for repeatable
SPS11 testing with latest data

Deduplication reduces the Different generations are possible Storage savings with acceptance
network load, therefore optimal for and retries are much quicker of limited lifetime
multinode systems

Comfortable solution including Shorter roll forward periods, Clones can provide an additional
consistency check and protection depending on your snapshot quality gate in your change
against human and media errors intervals process

Unrestricted Siemens AG 2016 IT creates business value


Jrgen Ohlmann/GS IT, November, 2016
Thank you for your
attention!
Unrestricted Siemens AG 2016 IT creates business value
Contact page

Jrgen Ohlmann
SAP Technology Consultant
SIEMENS AG, GS IT IN SD ED CSS 3 1
Hugo-Junkers-Str. 9
DE-90411 Nuremberg

Mobile: +49 (173) 8647692

E-mail:
juergen.ohlmann@siemens.com

Unrestricted Siemens AG 2016 IT creates business value


Jrgen Ohlmann/GS IT, November, 2016