## 3.2.3  Configure SAP HANA System Replication with the SAP HANA Studio
To configure SAP HANA system replication between two identical SAP HANA systems, you must first enable system replication on the primary system and then register the secondary system.
## Prerequisites
- You have considered all the general prerequisites needed to set up system replication. For more information, see General Prerequisites for Setting Up SAP HANA System Replication .
- You have added both systems in the SAP HANA studio.
## Procedure
1. Enable system replication on the primary system, which has to be online, as follows:
- a. In the Systems view, right-click the primary system and choose Configuration and Monitoring
3. Configure System Replication . The Configure System Replication dialog opens. The Enable System Replication option is selected by default.
- b. Choose Next .
- c. Enter the logical name used to represent the primary system and choose Next .
- d. Review the configured information and choose Finish .
- e. Stop the secondary with right-click on the secondary system and choosing Configuration and Monitoring Stop System .
2. Register the secondary system as follows:
- a. Stop the secondary system if it is still running. Right-click the secondary system and choose Configuration and Monitoring Stop System
- b. In the Systems view, right-click the secondary system and choose Configuration and Monitoring Configure System Replication .
<!-- image -->
The Configure System Replication dialog opens.
- c. Choose Register Secondary System and then Next .
- d. Enter the required system information and the logical name used to represent the secondary system.
##  Note
If you are operating a distributed system on multiple hosts, you enter the name of the host on which the master name server is running.
- e. Specify the log replication mode. For more information on the available replication modes, see Replication Modes for SAP HANA System Replication .
- f. Specify the operation mode. For more information, see Operation Modes for SAP HANA System Replication . The logreplay\_readaccess operation mode is not available in SAP HANA studio.
- g. Review the configured information and choose Finish .
3. Optional: Configure the parameters in the system\_replication section of the global.ini file. These parameters determine for example the size and frequency of data and log shipping requests. All parameters have a default configuration.
4. If necessary, start the secondary system.
##  Note
The secondary system is started automatically unless you deselected the corresponding option during configuration (step 2).
The secondary system requests an initial full data replica from the primary system.
## Results
You have enabled system replication and registered the secondary system with the primary system. The secondary system operates in recovery mode. All secondary system services constantly communicate with their primary counterparts, replicate and persist data and logs, and load data to memory. However, the secondary system does not accept SQL connections.
In the Systems view, the primary and secondary systems appear as operational ( ). If the secondary system is not open for read access, it appears as operational ( ) but with an error ( ) indicating that no connection to the database is available. For more information, see Generic Conditions for Active/Active (Read Enabled) .
## Related Information
General Prerequisites for Configuring SAP HANA System Replication [page 35] Replication Modes for SAP HANA System Replication [page 12] Operation Modes for SAP HANA System Replication [page 14] Add an SAP HANA System Stop a System SAP HANA System Replication Configuration Parameters [page 62]
Create Data Backups and Delta Backups (SAP HANA Studio) Rename an SAP HANA System Host Enable Data and Log Volume Encryption in an Existing SAP HANA Database Data and Log Volume Encryption Encryption Key Management Generic Conditions for Active/Active (Read Enabled) [page 116]
SAP Note 611361