cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Active/Active Read enabled option

Imran_94
Explorer
0 Likes
2,531

 new_license_screenshot.pngBW_primarysystem_license.pngBW_Secondarysystem_license_error.pngDear 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

https://help.sap.com/docs/SAP_HANA_PLATFORM/4e9b18c116aa42fc84c7dbfd02111aba/6c47a595535e494f94567b2...

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

Accepted Solutions (1)

Accepted Solutions (1)

CharlesFeng
Product and Topic Expert
Product and Topic Expert
0 Likes

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

Imran_94
Explorer
0 Likes
Hi, we have recently implemented this scenario in EHP7 oracle system, it works for me, but in hana iam facing this kind of issues, can you please check the note 2685661 - Licensing required for HANA System Replication, in this they are mentioned clearly that for pure read access you required additional license
Imran_94
Explorer
0 Likes
which i referred the SAP note, 2685661 - Licensing required for HANA System Replication in this they clearly mentioned, required additional license for pure read access,
Imran_94
Explorer
0 Likes
which i referred the SAP note, 2685661 - Licensing required for HANA System Replication in this they clearly mentioned, required additional license for pure read access, This differs significantly from our previous experience with Oracle Database, where we were able to directly log into the secondary database without such constraints. Given the increasing trend of businesses migrating to HANA in the coming years, it is crucial to have the flexibility to access secondary systems as needed. At present, it appears that there is no direct option for logging into the secondary HANA system, which is quite different from how we managed similar scenarios with Oracle. I believe this could be a limitation or bug that needs attention, as it is hindering operational flexibility. I have been working on this issue for over a month now and, unfortunately, have not received a definitive solution from SAP. As a result, I find myself leaning towards Oracle, which appears to offer a more user-friendly solution in this context. I wanted to bring this matter to your attention, as it seems to be a significant concern for organizations looking to adopt HANA for their future enterprise solutions.
RalfCzekalla
Product and Topic Expert
Product and Topic Expert

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

Answers (2)

Answers (2)

CharlesFeng
Product and Topic Expert
Product and Topic Expert
0 Likes

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

Imran_94
Explorer
0 Likes
We have installed the new license in the system, for your reference i have attached the screenshot, still we are getting the license error in secondary system
RalfCzekalla
Product and Topic Expert
Product and Topic Expert
0 Likes
Hi Imran,
RalfCzekalla
Product and Topic Expert
Product and Topic Expert

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

RalfCzekalla
Product and Topic Expert
Product and Topic Expert

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

CharlesFeng
Product and Topic Expert
Product and Topic Expert
0 Likes
Dear Customer, To acquire an additional license, I recommend contacting our SAP sales directly. Based on my understanding, this particular license does not come with a standard key like the typical HANA licenses. Regarding the error you encountered, I guess it is due to a different issue. To assist you more effectively, could you please provide further details about the error? This will enable us to conduct a thorough analysis and address your concern accurately. Best regards, Charles
Imran_94
Explorer
0 Likes
Dear Charles,
Imran_94
Explorer
0 Likes
For your reference we have attached screenshot of primary system and secondary system