2024 Nov 25 10:10 AM - edited 2024 Nov 28 7:25 AM
Dear Team,
our requirement is, customer was using s4hana, they want to connect the secondary system in SAP using read access mode, we have enabled the logreplay_readaccess mode in secondary system, but when we are trying to login it shows license error, i want to know which license is required to login into secondary system, i have found below SAP note, please give me some solution for this requirement.
please go through the link regarding the Active/Active Read enabled option
2685661 - Licensing required for HANA System Replication
in the license Management what they have mentioned is below
The SAP HANA Active/Active read-enabled option requires additional licensing (see also the Feature Scope Description for SAP HANA); the license for Active/Active (read enabled) also covers the multi-target replication scenario. Active/Active is enabled by setting the system replication operation mode to logreplay_readaccess, the secondary system is then operated automatically with the license key of the primary system. Changes to the license key are done on the primary system and replicated to the secondary system (see also Managing SAP HANA Licenses).
Thanks,
+91-9553836498
Request clarification before answering.
Hi,
I don't think you can connect to secondary DB via SAPGUI directly.
I did a test in my local system and it works by following below steps.
1. add secondary DB as a secondary connection in DBCO.
2. in DBACOCKPIT, under "System Configuration", add a new system, choose the Database Connection which was created in above step.
3. Then connect to the secondary DB via button "Connect to Database".
Best regards,
Charles
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Imran,
probably best to first check out what SAP HANA’s Active/Active Read-Enabled (AARE) is about and how it is designed:
Active/Active (Read Enabled) | SAP Help Portal
Of course, SAP HANA is not Oracle, and also that is not like other databases in the market.
Please see my other answers below why an ABAP server can not use AARE Secondary for a primary connection. Only a secondary (pure-read) connection is possible.
Best Regards
Ralf Czekalla
Hi Imran_94,
According to the screen shot, the error happens to the license in ABAP system (T-code: slicense), not HANA DB. So you may need to request a new valid license for ABAP system.
Below KBA describes a different scenario, but I think you can still refer to the steps there.
2413104 - How to replace a license key for hardware exchange (hardware key changed)
Best regards,
Charles
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Imran,
Charles already gave you the probable cause for the problems, you experience here, in his first reply:
If you are trying to connect an ABAP server via a primary ABAP connection to SAP HANA, this ABAP connection will open a read/write channel to SAP HANA. This works perfectly for a primary SAP HANA instance because it’s capable of both, reading and writing to it.
But here you are trying to connect a primary ABAP connection to an AARE Secondary (Active/Active Read-Enabled) of SAP HANA System Replication which is a pure-read secondary instance, and the ABAP server can simply not open the write connection.
Unfortunately it doesn’t report this back correctly, instead he talks about missing license, probably because in the early connect process the license is checked and documented by writing to that pure-read instance which is simply not possible with a pure-read AARE secondary.
The only option to connect an ABAP server to an AARE Secondary (R/E) is via a secondary ABAP connection. That secondary ABAP connection does not need write capabilities for the connection. The primary (R/W) ABAP connection usually is sent to the corresponding primary SAP HANA instance which then can serve both, read and write.
Ralf Czekalla
SAP HANA Product Management
Hi Imran,
Charles already gave you the probable cause for the problems, you experience here, in his first reply:
If you are trying to connect an ABAP server via a primary ABAP connection to SAP HANA, this ABAP connection will open a read/write channel to SAP HANA. This works perfectly for a primary SAP HANA instance because it’s capable of both, reading and writing to it.
But here you are trying to connect a primary ABAP connection to an AARE Secondary (Active/Active Read-Enabled) of SAP HANA System Replication which is a pure-read secondary instance, and the ABAP server can simply not open the write connection.
Unfortunately it doesn’t report this back correctly, instead he talks about missing license, probably because in the early connect process the license is checked and documented by writing into that license table which is simply not possible with a pure-read AARE secondary.
The only option to connect an ABAP server to an AARE Secondary (R/E) is via a secondary ABAP connection. That secondary ABAP connection does not need write capabilities for the connection. The primary (R/W) ABAP connection usually is sent to the corresponding primary SAP HANA instance which then can serve both, read and write.
Ralf Czekalla
SAP HANA Product Management
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.