openSAP hshd1 Week1 All Slides PDF
openSAP hshd1 Week1 All Slides PDF
openSAP hshd1 Week1 All Slides PDF
Introduction
Course overview High Availability and Disaster Recovery with SAP HANA Platform
Course Content:
Week 1: HA/DR Introduction, Overview, Setup Options
Week 2: HA/DR Support
Week 3: Backup & Recovery Support
Week 4: Final Exam
Public
Introduction
Impact of downtime on enterprise business
* Source: http://www.dataxstream.com/sap-virtualization-solutions/disaster-recovery/costs-of-downtime/
2016 SAP SE or an SAP affiliate company. All rights reserved.
Public
Introduction
Examples for business downtime
ABAP
Planned
Unplanned
Maintenance events
Customer transports
SAP
HANA
Planned outages
Security threat
Natural disasters
Unplanned outages
Public
Introduction
SAP HANA continuous availability
Customer Expectation: Planned & Unplanned Downtimes
Continuous
availability
Unplanned downtime
Planned downtime
Data center
readiness
Hardware failure / malfunction
including networks
Software malfunction / security
threat / update
Natural / man-made disasters
Failure of compliance & operation
Unplanned outages
Public
Introduction
What is high availability?
Public
Introduction
Recovery key performance indicators
Recovery Period Objective (RPO) is the maximum tolerable period of time during which operational
data is lost without the ability to recover
Recovery Time Objective (RTO) is the maximum permissible time it takes to recover the system
after an outage for operations to resume
system operational
operation resumed
backups
time
RPO
RTO
Public
Introduction
Single points of failure (1)
The key to achieving fault tolerance is to eliminate single
points of failure by introducing redundancy. SAP HANA
appliance vendors deliver several levels of redundancy
to avoid outages due to component failures.
Public
Introduction
Single points of failure (2)
2. Network Redundancy:
Public
Introduction
Single points of failure (3)
3. Data Center Redundancy: Data centers that host
SAP HANA solutions are equipped with:
Public
10
Introduction
Single points of failure (4)
SAP HANA platform provides additional levels of defense
against failure-related outages.
Public
11
Thank you
Contact information:
[email protected]
Public
13
Overview
High availability Support (1)
As an in-memory database platform:
SAP HANA maintains the reliability of its data in the event of failures
It resumes operations with most of the data loaded back in memory as quickly as possible in order to meet
the RTO objectives
fault or
disaster
primary
system operational
RPO
RTO
operation resumed
backup
prepare
time
Public
Overview
High availability Support (2)
Mission-critical application systems are expected to operate with an RPO of zero data loss in the case of local
faults or disasters etc.
In order to achieve zero RPO and low RTO, data must be replicated synchronously over longer distances,
which impacts regular system performance and may require more expensive standby and failover solutions.
All of this leads to tradeoff decisions around the attributes of fault recovery functionality, cost, and complexity.
Solution
Backup & Recovery
SAP HANA Host Auto-Failover
SAP HANA Storage Replication w/ QA, Dev.
SAP HANA System Replication
SAP HANA System Replication w/ QA, Dev.
Used for
HA & DR
HA
DR
HA & DR
HA & DR
RPO
high
0
0*
0*
0*
RTO
high
med
med
low
med
Perf. ramp
med
long
long
short
long
*synchronous solution
Public
Overview
High availability Support (3)
SAP HANA platform supports the following high availability measures:
Public
Overview
Fault recovery Support
SAP HANA platform supports the following fault recovery measures from failures:
System replication:
Continuous update of secondary systems by primary system, including in-memory table loading
Public
Overview
Disaster recovery Support
SAP HANA platform supports the following recovery measures from failures:
Public
Overview
Data center readiness
SAP HANA
Data Center Readiness
Backup & Recovery
Data & log backup
Point-in-time
recovery
rd
3 -party backup
tool support
Netbackup,
Tivoli, Simpana,
DataProtector,
Networker,
Sesam
Storage snapshots
Point-in-time
recovery
Fault Recovery
In case of hardware
or system failure
the standby system
takes over in the
same data center
Several options:
Storage-based
Shadow
databases
Internal or
external cluster
manager
Disaster Recovery
Failover to a
different SAP
HANA instance in
another, even far
distant data center
Automatic and
manual procedures
possible
Several options:
Storage-based
Shadow
databases
External cluster
manager
Public
Thank you
Contact information:
[email protected]
Public
Cluster-like solution
Name
Server
Server 3
Standby Server
Clients
Secondary
(active)
Name Server
Index Server
Index Server
SAP HANA
Database
Kernel
Internal
Disks
Data
Disks
Transfer
by
Name Server
Log
Disks
Internal
Disks
Data
Disks
Log
Disks
Secondary
Primary
(inactive)
Name
Server
Name
Server
Name
Server
Name
Server
Name
Server
Name
Server
Index
Server
Index
Server
Index
Server
Index
Server
Index
Server
Index
Server
OS: Mounts
Data
Volumes
Data
Volumes
Log
Volume
Log
Volume
Data
Volumes
Data
Volumes
Log
Volume
Log
Volume
HA Solution
Partner
Primary
Data Center 2
Data Center 1
OS: DNS, hostnames
HA Solution
Partner
Data Center
OS: DNS, virt. hostnames, virt. IPs
Application Servers
Storage
Mirroring
Name
Server
Server 2
Application Servers
HA Solution Partner
Name
Server
Server 1
Clients
HA Solution Partner
Name
Server
SAN Storage
System Replication
Storage
Connector API
Host Auto-Failover
Name
Server
Server 1
Name
Server
Server 2
Name
Server
Server 3
Name
Server
Standby Server
SAN Storage
1. Host Auto-Failover:
Data Center
Public
HA Solution Partner
Primary
(active)
Name Server
Index Server
Transfer
by
Name Server
Index Server
SAP HANA
Database
Kernel
Internal
Disks
Data
Disks
Secondary
(active, data preloaded)
Log
Disks
HA Solution Partner
2. System Replication:
Application Servers
Internal
Disks
Data
Disks
Data Center
Log
Disks
Data Center
Async
Sync
Public
Primary
Name
Server
Name
Server
Name
Server
Name
Server
Name
Server
Name
Server
Index
Server
Index
Server
Index
Server
Index
Server
Index
Server
Index
Server
OS: Mounts
Data
Volumes
Data
Volumes
Log
Volume
Log
Volume
Data Center
Storage
Mirroring
HA Solution Partner
Data Center 2
Data Center 1
Data
Volumes
Data
Volumes
Log
Volume
Log
Volume
HA Solution Partner
3. Storage Replication:
Application Servers
Data Center
Data Center
Public
Point-in-time recovery
Point-in-time recovery
Point-in-time recovery
SAP HANA
Studio
SAP HANA
Studio
hdbsql
SAP HANA
Studio
Storage
Tool
hdbsql
hdbsql
Create backup
SAP HANA
Database
Prepare database
Create backup
Backup
Storage,
e.g. NFS
SAP HANA
Database
SAP HANA
Database
3rd Party
Backup Agent
Confirm storage
snapshot
3rd Party
Backup
Server
Create storage
snapshot
Data Snapshot
External
Storage
SAP HANA
Studio
Create backup
SAP HANA
Database
hdbsql
Backup
Storage,
e.g. NFS
Public
SAP HANA
Studio
hdbsql
Create backup
SAP HANA
Database
3rd
Party
Backup Agent
3rd Party
Backup
Server
Public
SAP HANA
Studio
hdbsql
Storage
Tool
Create backup
Confirm storage
snapshot
Create storage
snapshot
Data Snapshot
External
Storage
Public
Thank you
Contact information:
[email protected]
Public
11