The following steps show how to configure such a system. In this scenario there are two SAP HANA systems: A, B named SiteA & SiteB. This scenario supports a tier 2 secondary with sync replication mode.
Check the Replication prerequisites using below link,
Prerequisites for Configuring SAP HANA System Replication
Login as SIDDM
    cd /usr/sap/<sid>/HDB<instancenr>/exe
/hdbnsutil -sr_enable --name=SiteA
/hdbnsutil -sr_enable --name=SiteA
To check if the site has been successfully enabled for system replication with hdbnsutil run:
    /hdbnsutil -sr_state
2. Stop the tier 2 secondary System
sapcontrol -nr <instance_number> –function StopSystem HDB or HDB stop
3. Register Secondary System on Primary
hdbnsutil -sr_register --replicationMode=sync --operationMode=logreplay --name=SiteB     --remoteInstance=<instId> --remoteHost=<hostname_of_SiteA>
4. Start the secondary system
sapcontrol -nr <instance_number> –function StopSystem HDB or HDB start
sapcontrol -nr <instance_number> –function StopSystem HDB or HDB start
To check if the site has been successfully enabled for system replication with hdbnsutil run
/hdbnsutil -sr_state
Also Read,
Thanks for reading, Please share your valuable feedback.  
 

 
 
Wrong command mentioned for 4th point. sapcontrol -nr –function StartSystem HDB
ReplyDelete