0% found this document useful (0 votes)
532 views

HANA 2.0 System Replication

This document provides instructions for setting up SAP HANA 2.0 system replication for high availability and disaster recovery (HA/DR). It discusses prerequisites, installing HANA on the primary and secondary systems, enabling replication in the HANA studio, and registering the secondary system. The goal is to configure real-time data replication between the primary and secondary HANA databases.

Uploaded by

pecial69
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)
532 views

HANA 2.0 System Replication

This document provides instructions for setting up SAP HANA 2.0 system replication for high availability and disaster recovery (HA/DR). It discusses prerequisites, installing HANA on the primary and secondary systems, enabling replication in the HANA studio, and registering the secondary system. The goal is to configure real-time data replication between the primary and secondary HANA databases.

Uploaded by

pecial69
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/ 19

2/2/2021 HANA 2.

0 System Replication - HA/DR - SAP HANA Training Tutorials for Beginners , S/4HANA , B/4HANA Tutorial

Home | About Us | Contact Us | Disclaimer | Terms and conditions | Privacy Policy  

HOME S4HANA 1809 HANA 2.0 ADMIN HANA 2.0 SECURITY HANA 2.0 SECURITY GUIDE TRAINING 

3
Home
Shares/ S4HANA 1809 / HANA 2.0 System Replication - HA/DR TOTAL PAGEVIEWS

HANA 2.0 System Replication - HA/DR 245,657


 S4HANA 1809

SAP HANA 2.0 System Replication for High Availability and


Disaster Recovery SUBSCRIBE TO GET FREE UPDATES!

In this blog we are going to talk about the step by step procedures for SAP HANA 2.0 System Replication setup
for HA/DR. Enter your email address:

Subscribe

POPULAR POSTS

HANA 2.0 System Replication - HA/DR

Restrictions in SAP S/4 HANA 1809

S4HANA 1809 Post Installation steps

SAP HANA 2.0 SECURITY COURSE


CONTENTS

SAP HANA 2.0 ADMINISTRATOR


COURSE CONTENTS

CONNECT TO LINKEDIN
You can use below tool to configure the HANA System replication:
SAP HANA Cockpit 2.0 SAP HANA ADMIN , HANA SECURITY
SAP HANA Studio ONLINE TRAINING
Command line tool hdbnsutil
CATEGORIES
In this blog we are using HANA Studio for system replication.
› S4HANA 1809 (9)

› SAP HANA ADMINISTRATOR (3)

› SAP HANA SECURITY (8)

› SAP TRAINING (3)

Pre-requisite
1. Primary and Secondary database systems should be installed and configured , verify both are up and running
independently.
2. In HANA 2.0 System PKI SSFS key and data should be copy from primary to secondary systems.
3. Primary and Secondary HANA database should be on same size and configuration
4. Primary and Secondary HANA database should be on same HANA version
5. Primary and Secondary HANA database should have same SID and instance number
6. Primary and Secondary HANA database should be installed on different host.
7. Primary and Secondary HANA database should be on same network segment
8. Initial Data backup must be performed on the Primary database before the system replication can be
activated.
9. System DB and all tenant database much be backed up at Primary Database node.
Install SAP HANA 2.0 Database on Primary node
Maintain the Host entry file for both nodes in all the servers

https://www.nexgen-tech.in/2019/01/hana-system-replication-hadr.html 1/19
2/2/2021 HANA 2.0 System Replication - HA/DR - SAP HANA Training Tutorials for Beginners , S/4HANA , B/4HANA Tutorial
Download SAP HANA 2.0 DVD from Service Market place , extract the DVD and transfer via SFTP to HANA
server
Run the ./hdblcm from the DVD

3
Shares

https://www.nexgen-tech.in/2019/01/hana-system-replication-hadr.html 2/19
2/2/2021 HANA 2.0 System Replication - HA/DR - SAP HANA Training Tutorials for Beginners , S/4HANA , B/4HANA Tutorial

3
Shares

HANA Database installation finished successfully on Primary node


Check the HANA running services using HDB info command 

Install SAP HANA 2.0 Database on Secondary node


Download SAP HANA 2.0 DVD from Service Market place , extract the DVD and transfer via SFTP to HANA
server
Run the ./hdblcm from the DVD 

https://www.nexgen-tech.in/2019/01/hana-system-replication-hadr.html 3/19
2/2/2021 HANA 2.0 System Replication - HA/DR - SAP HANA Training Tutorials for Beginners , S/4HANA , B/4HANA Tutorial

3
Shares

https://www.nexgen-tech.in/2019/01/hana-system-replication-hadr.html 4/19
2/2/2021 HANA 2.0 System Replication - HA/DR - SAP HANA Training Tutorials for Beginners , S/4HANA , B/4HANA Tutorial

3
Shares

HANA Database installation finished successfully on Secondary node


Check the HANA running services using HDB info command 

Setting up SAP HANA Database System Replication Using SAP HANA studio
Create Data backup for System DB and Tenant Database on Primary node
Login into System DB of Primary database server using system id and password

Right mouse click on Primary database and select "Backup and Recovery"--> Backup System Database--
>Back up System Database

https://www.nexgen-tech.in/2019/01/hana-system-replication-hadr.html 5/19
2/2/2021 HANA 2.0 System Replication - HA/DR - SAP HANA Training Tutorials for Beginners , S/4HANA , B/4HANA Tutorial

3
Shares

https://www.nexgen-tech.in/2019/01/hana-system-replication-hadr.html 6/19
2/2/2021 HANA 2.0 System Replication - HA/DR - SAP HANA Training Tutorials for Beginners , S/4HANA , B/4HANA Tutorial

3
Shares

Right mouse click on Primary database and select "Backup and Recovery"--> Backup System Database--
>Back up Tenant Database

https://www.nexgen-tech.in/2019/01/hana-system-replication-hadr.html 7/19
2/2/2021 HANA 2.0 System Replication - HA/DR - SAP HANA Training Tutorials for Beginners , S/4HANA , B/4HANA Tutorial

3
Shares

https://www.nexgen-tech.in/2019/01/hana-system-replication-hadr.html 8/19
2/2/2021 HANA 2.0 System Replication - HA/DR - SAP HANA Training Tutorials for Beginners , S/4HANA , B/4HANA Tutorial

3
Shares

Copy PKI SSFS key and data files from Primary database to Secondary Database
Stop Secondary database 

Copy SSFS key and data files to Secondary node from below location
/usr/sap/HDB/SYS/global/security/rsecssfs/key
/usr/sap/HDB/SYS/global/security/rsecssfs/data

Start Secondary Database and check the running process

Enable HANA system Replication on Primary database node


Right mouse-click on Primary System --> Configuration and Monitoring --> Configure System Replication ,
Check the radio button to enable system replication

https://www.nexgen-tech.in/2019/01/hana-system-replication-hadr.html 9/19
2/2/2021 HANA 2.0 System Replication - HA/DR - SAP HANA Training Tutorials for Beginners , S/4HANA , B/4HANA Tutorial

3
Shares

Click Next

https://www.nexgen-tech.in/2019/01/hana-system-replication-hadr.html 10/19
2/2/2021 HANA 2.0 System Replication - HA/DR - SAP HANA Training Tutorials for Beginners , S/4HANA , B/4HANA Tutorial

3
Shares

Enter Site name for Primary Database node and click next

Click Finish
Stop the secondary system with right mouse-click on Secondary System --> Configuration and Monitoring -->
Stop System

https://www.nexgen-tech.in/2019/01/hana-system-replication-hadr.html 11/19
2/2/2021 HANA 2.0 System Replication - HA/DR - SAP HANA Training Tutorials for Beginners , S/4HANA , B/4HANA Tutorial

3
Shares

Click Ok

Register the secondary database: Right mouse-click on Secondary System --> Configuration and Monitoring -->
Configure System Replication … Check radio button “Register secondary system”

https://www.nexgen-tech.in/2019/01/hana-system-replication-hadr.html 12/19
2/2/2021 HANA 2.0 System Replication - HA/DR - SAP HANA Training Tutorials for Beginners , S/4HANA , B/4HANA Tutorial

3
Shares

 Click Next

Enter Site name for Secondary database node ,


Select replication and operation mode as per your requirement.
Enter Primary database host name
If you are configuring HANA system replication for HA then you select replication mode sync or syncmem
If you are configuring HANA system replication for DR then you select replication mode async
In HANA 2.0 SPS00,  HANA system replication can be configured as Active/Active (read enable) system.
if you want to configure Active/Active system then you need to select operation mode as logreplay_readaccess.
To configure logreplay_readaccess operation mode you need to use HANA Cockpit 2.0 or command line tool
hdbnsutil , this operation mode configuration is not supported through HANA Studio

https://www.nexgen-tech.in/2019/01/hana-system-replication-hadr.html 13/19
2/2/2021 HANA 2.0 System Replication - HA/DR - SAP HANA Training Tutorials for Beginners , S/4HANA , B/4HANA Tutorial

3
Shares

Click Finish
HANA System Replication setup finished successfully
Once the secondary system is automatically started, the replication process will also start automatically
Check the replication status in Primary database --> HANA Studio --> Landscape --> System Replication

Replication is initializing

Replication between primary and secondary is now Active


After a new tenant DB was created in a SAP HANA Multitenant Database Containers system running with SAP
HANA system replication, a backup of this new tenant DB is necessary. Otherwise the replication for this tenant
DB will not start.

Takeover 
The following steps are performed:
Trigger a takeover to the secondary system in the event of a disaster.
Register the former primary system as new secondary when it becomes available again.
Procedure for Takeover 
On secondary system: Perform a takeover with right mouse-click on Secondary System --> Configuration and
Monitoring --> Configure System Replication

https://www.nexgen-tech.in/2019/01/hana-system-replication-hadr.html 14/19
2/2/2021 HANA 2.0 System Replication - HA/DR - SAP HANA Training Tutorials for Beginners , S/4HANA , B/4HANA Tutorial

3
Shares

Select "Perform takeover"

Click Next

https://www.nexgen-tech.in/2019/01/hana-system-replication-hadr.html 15/19
2/2/2021 HANA 2.0 System Replication - HA/DR - SAP HANA Training Tutorials for Beginners , S/4HANA , B/4HANA Tutorial

3
Shares

Click Finish
When the former primary is available again it can be registered as secondary
Stop original (former) primary system.
On original (former) primary system: Register system as secondary with right mouse-click on former Primary
System --> Configuration and Monitoring --> Configure System Replication

Select "Register secondary System"


You will be informed that this system used to be the primary system before

https://www.nexgen-tech.in/2019/01/hana-system-replication-hadr.html 16/19
2/2/2021 HANA 2.0 System Replication - HA/DR - SAP HANA Training Tutorials for Beginners , S/4HANA , B/4HANA Tutorial

3
Shares

Enter Site name for Formal Primary database node ,


Select replication and operation mode.
Enter New Primary database host name

Click Next

Disabling HANA System Replication for Maintenance 


Stop the secondary system with right mouse-click on Secondary System --> Configuration and Monitoring à
Stop System 
On secondary system: Unregister system replication for the secondary system with right mouse-click on
Secondary System --> Configuration and Monitoring --> Configure System Replication
Select radio button “Unregister secondary System”
On primary system: Disable system replication on the primary system with right mouse-click on Primary
System --> Configuration and Monitoring --> Configure System Replication
Select Radio button “Disable System Replication”

SHARE THIS:  Facebook  Twitter  Google+  Pinterest  Linkedin

S4HANA 1809
https://www.nexgen-tech.in/2019/01/hana-system-replication-hadr.html 17/19
2/2/2021 HANA 2.0 System Replication - HA/DR - SAP HANA Training Tutorials for Beginners , S/4HANA , B/4HANA Tutorial

 PREVIOUS NEXT 
Restrictions in SAP S/4 HANA 1809 You are viewing Most Recent Post

POST COMMENT BLOGGER

11 Comments:

3
Shares
Unknown September 24, 2019 at 4:37 PM

What a Fantastic document.. Hats off . Please add up Tier 3 also do this .

Tier 1 - Primary Database


Tier 2 - Secondary Database (HA)
Tier 3 - DR Database (in a remote location)
Where replication is setup between Tier 1 ->tier 2 in Sync mode and Tier 2 ->Tier 3 in Async
mode . Thank you

Regards
Kumar Bala
Reply

Replies

Unknown April 23, 2020 at 4:03 PM

Hi kumar

any documents or blogs in Tier 3 -DR Database (in remote location)

Reply

Unknown January 11, 2020 at 8:12 PM

Very good doc. Thank you!


Reply

suni February 6, 2020 at 12:46 PM

very nice document. Great for your hard work.


Reply

Reshma May 10, 2020 at 8:04 PM

Excellent Document..!! Really very Helpful and easy to understand


Reply

Unknown August 9, 2020 at 7:58 AM

Excellent document and thank you very much your knowledge sharing.
Reply

Richa Saran October 19, 2020 at 6:29 PM

Excellent Document.
Reply

Unknown October 22, 2020 at 10:29 AM

Nice doc.
Reply

Anonymous November 24, 2020 at 7:49 PM

Excellent documentation. Bytheway, how can I know my les on primary replicate point to
the correct path on secondary. Example hana/data on primary replicate to hana/data on
secondary folder, how can I check that ?
Reply

Shyam November 26, 2020 at 2:00 PM

Excellent! , can we use these steps for HANA 1.0 ?


Reply

Anonymous December 7, 2020 at 6:51 PM

Exceptionally well written document. It would be great if you can upload for 3 tier
Reply

https://www.nexgen-tech.in/2019/01/hana-system-replication-hadr.html 18/19
2/2/2021 HANA 2.0 System Replication - HA/DR - SAP HANA Training Tutorials for Beginners , S/4HANA , B/4HANA Tutorial

Enter your comment...

Comment as: petkar.sanjay@ Sign out

Publish Preview Notify me

3
Shares

Created By SoraTemplates | Distributed By Free Blogger Templates  

https://www.nexgen-tech.in/2019/01/hana-system-replication-hadr.html 19/19

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy