We can disable SAP HANA system replication in an SAP HANA system using hdbnsutil.
Remember before disable Replication :-
- Login as SIDADM user
- Secondary system must be offline
Disable Procedure :-
1. Unregister Secondary System
- Stop Secondary System
- Unregister Secondary System using below command
2. Disable system replication
Use Below command on Primary System
hdbnsutil –sr_disable
Check the status using command /hdbnsutil -sr_state
After Disable the replication we can replicate the systems again ,
On Primary System :-
hdbnsutil –sr_enableIf it not working the use below command to forcefully disable the replication,
hdbnsutil –sr_disable --force
the start replication again,
hdbnsutil –sr_enable
On Secondary System :-
Stop Secondary system
Use below command to start again the replication,
hdbnsutil -sr_register
Full Command :-
hdbnsutil -sr_register --replicationMode=<sync> --operationMode=<logreplay> --name=<SiteB> --remoteInstance=<instId> --remoteHost=<hostname_of_SiteA>
Start Secondary System
If the above steps not worked the use below option to configure the replication again,
Stop Secondary system then,
Start the secondary system
Also Read,
Thanks for reading, Please share your valuable feedback
Nice doc...keep it up brother...
ReplyDeleteThanks for sharing..!!!
Hi,
ReplyDeleteWhat is hana system replication and it's use ?