0% found this document useful (0 votes)
299 views7 pages

HANA System Replication Overview

The document provides an overview of SAP HANA System Replication (HSR). Key points include: - HSR allows configuration of primary and secondary HANA systems for disaster recovery with low recovery time objectives. - It enables live, multi-level replication between systems with synchronized data and logs. Secondary systems can be in standby or read-only mode. - HSR replicates entire systems including all tenants. Primary and secondary systems must have the same configuration and tenants. - Replication can operate in synchronous, asynchronous, or log replay modes to balance consistency and performance.

Uploaded by

mouladj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
299 views7 pages

HANA System Replication Overview

The document provides an overview of SAP HANA System Replication (HSR). Key points include: - HSR allows configuration of primary and secondary HANA systems for disaster recovery with low recovery time objectives. - It enables live, multi-level replication between systems with synchronized data and logs. Secondary systems can be in standby or read-only mode. - HSR replicates entire systems including all tenants. Primary and secondary systems must have the same configuration and tenants. - Replication can operate in synchronous, asynchronous, or log replay modes to balance consistency and performance.

Uploaded by

mouladj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

HANA System Replication Overview

www.sapbuddy.com
Failover- System Replication
Primary Data Center Secondary Data Center

Host 1 Master DR 1

System Replication
Host 2 Slave DR 2

Host 3 Standby

• Primary and Secondary system should have same SID


• HANA system should have same node configuration
• Secondary system can be configured as Standby mode or Read-only mode

www.sapbuddy.com
HANA System Replication
SAP HANA System Replication

• SAP HANA specific solution with very low RTO Host 1 Host 2 Host 1 Host 2
• Software solution – Hardware partner independent
• Multi-level Replication possible
• Live replication
• Secondary service are active Data Data Data Data
• Persistence is synchronized, along with memory preloading Log Log Log Log
• Secondary system is not open for users
• Optional Read Only mode configuration for secondary
SYSTEMDB SYSTEMDB
Multi Tenant Database Containers (MDC)
Tenant 1 Tenant 1
• HSR replicates whole system (including all tenants)
• Primary and secondary should have the same configuration Tenant 2 Tenant 2
and tenants
Primary DC Secondary DC

www.sapbuddy.com
System Replication Modes
HANA Synchronous Replication:
Host 1 Host 2 Host 1 Host 2
Synchronous in-memory (default)
• Primary commits after secondary receives the logs

Synchronous with full sync Data Data Data Data


• Primary and secondary are in sync, log buffers are written in
Log Log Log Log
both
• Primary waits if secondary system or network link are
down
Asynchronous
• Primary sends log buffers in async mode
• Commit is performed once the logs are sent to secondary

www.sapbuddy.com
System Replication – Operation Mode

Delta data shipping:


• Secondary persists the received logs Host 1 Host 2 Host 1 Host 2
Delta
• Does not apply (replay) the Redo logs until
recovery
• Initial Delta Shipping used to Sync first time or Redo Log
Data Data Data Data
after a gap
Log Log Log Log
LogReplay mode:
• Secondary system replays the received logs
immediately
• Data preloading option can be used to keep
secondary HANA system ready for takeover
• Time for takeover is reduced

www.sapbuddy.com
HSR – Continuous Log Replay
Client
Continuous Log Replay

Normal
• Redo logs processed immediately in secondary
on receipt
• No delta transfer required
• Reduced failover time
• Reduced network traffic
• Automatic initial data transfer supported
Host 1 Host 2 Host 1 Host 2
• Data preloading in secondary is supported Delta

Data Data Redo Log Data Data


Log Log Log Log

www.sapbuddy.com
www.sapbuddy.com

You might also like