Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

HANA EIM SDI Real Time Replication - Cannot get OracleLogReaderAdapter working

$
0
0

Hi,

 

I'm having troubles setting up real time replication with the OracleLogReaderAdapter on the following landscape:

 

  • SAP HANA v1.00.102.00.1442292917
  • Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 64bit as a source database
  • SAP HANA Data Provisioning Agent v1.2.4 on a separate host

 

I have configured the Oracle database to work with the OracleLogReaderAdapter by executing customized oracle_init_example.sql script.

 

I have copied the timezone_11.dat file from the Oracle instance to the server where the Data Provisioning agent is installed.

 

I have configured Oracle Log Reader Remote Source.

 

I have configured OracleLogReaderAdapter preferences. It is unclear how to specify "Directory containing Oracle archive redo log files" when the Oracle and the Agent are on the different hosts.

 

Finally, I created replication task in the SAP HANA web-based workbench.

 

When I execute the relication task in the workbench, the following error is returned:

 

15.09.18 (SQL Editor) Could not execute 'CALL "DP_AGENT"."DP_AGENT.SDI_AAAAAAA::BBBBBBB.START_REPLICATION"()'

Error: (dberror) 256 - sql processing error: "DP_AGENT"."DP_AGENT.SDI_AAAAAAA::BBBBBBB.START_REPLICATION": line 4 col 0 (at pos 242): [256] (range 3) sql processing error exception: sql processing error: QUEUE: DP_AGENT.SDI_AAAAAAA::BBBBBBB.SUB_VT_"CCCCCC"."BBBBBBB": Failed to add subscription for remote subscription DP_AGENT.SDI_AAAAAAA::BBBBBBB.SUB_VT_"CCCCCC"."BBBBBBB".Error: exception 151050: CDC add subscription failed: Failed to subscribe table ["CCCCCC"."BBBBBBB"].

 

The Agents's logfile (framework.trc) has the following entry:

 

2016-02-16 15:09:18,737 [ERROR] com.sap.hana.dp.adapter.framework.core.WorkerThread.processRequest[264]    - Exception while processing requrest "CDC Request for OracleLogReaderAdapter for request type CDC_ADD_SUBSCRIPTION"

2016-02-16 15:09:18,737 [ERROR] com.sap.hana.dp.adapter.framework.core.WorkerThread.processRequest[265]    - Failed to subscribe table ["CCCCCC"."BBBBBBB"]. Context: Initialization for replication of database <DEV> has not been done.

 

It seems that there is something wrong between Data Provisioning Agent and Oracle but I have no idea what could it be. I tried to configure everything according Administration Guide.

 

Any help is welcome

 

Thank you in advance,

Jaak


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>