Uwe Heinz
Fabian Herschel
Product Manager
SAP
Uwe.Heinz@sap.com
Fabian.Herschel@suse.com
Agenda
SAP HANA typical implementations
Outlook for the next 12 18 months
Disaster Recovery Capabilities of SAP HANA
Automate SAP HANA System Replication
SAPHanaSR - Setup and Implementation
SAPHanaSR - Roadmap
Our Community
15
years
Linux
develpoment
plattform
SAP
Netweaver
SoH and
BWonH
Foundation
of Linuxlab
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
Joined activities
NUMA
optimiz
ation
Gcc
optimization
NFS
local
loopback
Joined
support
> 15
years
SUSE
HA
harde
ning
bench
marks
SLES4SAP
HANA for
Linux on
Power
KVM/
XEN
Teched
Berlin/Las
Vegas
Development
>50
customer
WS
Priority
support
Maintenance
SuseLabs
conference
Events
DSAG/
ASUG
4 Developer
in
SAPLinuxlab
SuseCon
Public
Joined activities
http://www.saphana.com/docs/DOC-2010
High Availability
Disaster recovery
Performance Optimized
Performance Optimized
Cost Optimized
Cost Optimized
Public
Services
Name and index server on all nodes
Statistics server (only on one active server)
Name server active on Standby
Server 3
Server 4
Server 5
Failover
Server X fails
Server N+1 reads indexes from shared storage and connects to logical
connection of server X
Storage Connector API ensures remount of necessary disk areas
(Note 1900823 - Storage Connector API Attachments)
Server 6
SAN Storage
Server 2
Shared Storage
Server 1
Storage Connector API
Standby Server
Public
Standby
Name
Server
Name
Server
Index
Server
Index
Server
Index
Server
Data
Disks
Data
Disks
Data
Disks
GPFS
Log
Disks
Log
Disks
Log
Disks
GPFS
Name
Server
Public
Application Servers
Primary
Secondary
(active)
Name Server
Transfer
by
Index server
Index server
HANA
database
kernel
Internal
Disks
Data
Disks
Name Server
Log
Disks
Internal
Disks
Data
Disks
Log
Disks
HA Solution Partner
HA Solution Partner
Public
10
Application Servers
(active)
Name Server
Transfer
by
Index server
Data
Disks
Index
server
QA/DEV
HANA
database
kernel
Internal
Disks
PRD
shadow
Name Server
operation
running
Data
Disks
Log
Disks
PRD
Log
Disks
Internal
Disks
Data
Disks
QA/DEV
Log
Disks
HA Solution Partner
HA Solution Partner
Primary
Public
11
Application Servers
Data Center 2
Data Center 1
Primary
Secondary
Prod. (inactive), QA&DEV (active)
Name
Server
Name
Server
Name
Server
Name
Server
Name
Server
Name
Server
Index
server
Index
server
Index
server
Index
server
Index
server
Index
server
HA Solution Partner
HA Solution Partner
Data
Volumes
Data
Volumes
Log
Volume
Log
Volume
Storage
Mirroring
OS: Mounts
Data
Volumes
Data
Volumes
Data
Volumes
Data
Volumes
Log
Volume
Log
Volume
Log
Volume
Log
Volume
Public
13
Application Servers
Data Center 1
Primary
Secondary
(active)
Name
Server
Name
Server
Name
Server
Index
server
Index
server
Index
server
Transfer
by
HANA
database
kernel
Name
Server
Name
Server
Index
server
Index
server
Index
server
HA Solution Partner
HA Solution Partner
Faster Take-Over
Shortened Performance Ramp
(seconds to less minutes)
SYNC & ASYNC possible
Several cluster options
OS: Mounts
Data
Volumes
Data
Volumes
Data
Volumes
Data
Volumes
Log
Volume
Log
Volume
Log
Volume
Log
Volume
https://scn.sap.com/docs/DOC47702
Public
15
How to configure
HANA system replication
http://www.saphana.com/docs/DOC-4152
https://www.youtube.com/watch?v=oBUiWMjARpc
2014 SAP SE or an SAP affiliate company. All rights reserved.
Public
17
Same SID
Same
Systemnumber
Same number of
services
(index,name,)
Public
18
Public
19
Apply a logical
systemname e.g. location
Public
20
Public
21
1.
2.
3.
Public
22
node 2
resource failover
active / active
N M
A
HANA PR1
primary
N M
HANA PR1
secondary
System
Replication
HANA
Database
HANA
memory-preload
node 1
Pacemaker
node 2
vIP
System Replication
SAP HANA
PR1
primary
System
PR1
SAP HANA
PR1
secondary
System
PR1
node 1
Pacemaker
node 2
System Replication
SAP HANA
PR1
primary
System
PR1
SAP HANA
PR1
secondary
System
PR1
node 1
Pacemaker
node 2
vIP
System Replication
SAP HANA
PR1
[primary]
System
PR1
SAP HANA
PR1
primary
System
PR1
node 1
Pacemaker
node 2
vIP
System Replication
SAP HANA
PR1
secondary
System
PR1
SAP HANA
PR1
primary
System
PR1
suse02
vIP
SAP HANA
Primary
SAP HANA
Secondary
Cluster Communication
Master
SAPHana
Master/SlaveResource
Slave
Clone
SAPHanaTopology
CloneResource
Clone
Fencing
SAPHanaSR Delivery
Package SAPHanaSR with two resource agents: SAPHanaTopology and
SAPHana
SAPHanaSR HAWK Wizard
Setup Guide
and
Outlook: SAPHanaSR-monitor
Requirements
Both SAP HANA instances have the same SAP Identifier (SID) and
Instance Number
Both cluster nodes in-time sync (ntp)
Both nodes are in the same network segment (layer2)
Technical users and host names resolved locally
Distance / Latencies
swarm 1
swarm 2
resource failover
active / active
N M
A
HANA PR1
primary
N M
HANA PR1
secondary
System
Replication
HANA
Database
This scenario is currently in development
HANA
memory-preload
Our Community
Developed jointly in the SAP Linux Lab in Walldorf
Integration of the solution in partner products
Upstream open-source project
Scoping, discussing and implementing Scale-Out
- provides a wizard for easy configuration with just SID, instance number
and IP address
- automates the sr-takeover and IP failover ("bind")
Reduces risk
Increases reliability
Thank you.
Corporate Headquarters
Join us on:
Maxfeldstrasse 5
www.suse.com
www.opensuse.org
90409 Nuremberg
Germany
General Disclaimer
This document is not to be construed as a promise by any participating company to develop, deliver, or market a product. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. SUSE makes no
representations or warranties with respect to the contents of this document, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. The development, release, and timing of features or functionality described for SUSE
products remains at the sole discretion of SUSE. Further, SUSE reserves the right to revise this document and to make changes to its content, at any time, without obligation to notify any person or entity of such revisions or changes. All SUSE marks referenced in this
presentation are trademarks or registered trademarks of Novell, Inc. in the United States and other countries. All third-party trademarks are the property of their respective owners.