Solved

Oracle database 9i replication

Posted on 2009-04-05
3
825 Views
Last Modified: 2013-12-19
hello,
can anybody give step by step Oracle 9i one way replicaton documents or link. The Oracle database 9i running on windows 2000.i have start from the scarp/beginning for the one way replication of oracle database 9i on windows 2000.pl. also let me know whether i use Oracle   9i streams or Advanced replication.
0
Comment
Question by:N_sharma27
  • 2
3 Comments
 
LVL 47

Accepted Solution

by:
schwertner earned 250 total points
ID: 24084234
0
 

Author Comment

by:N_sharma27
ID: 24124405
actually ,
I am getting error ORA-12170: TNS:Connect timeout occurred .

My primary side sqlnet.ora is like this
#NAMES.DIRECTORY_PATH=(tnsnames, onames, hostname)

My remote side sqlnet.ora is look like this
NAMES.DIRECTORY_PATH=(tnsnames, ezconnect)
 SQLNET.INBOUND_CONNECT_TIMEOUT =300

Can you please advice me for the above, bcos i get the ORA-12170 sometime or sometimes not.
there is any special setting for sqlnet.ora or tnsnames.ora files for replication.
0
 
LVL 47

Expert Comment

by:schwertner
ID: 24128207
You can not connect to the remote DB.
Given that you post the question in the "Oracle 11g" thread
I suppose the second DB is Oracle 11g.

There is a problem with the static registration.

Before solve this proble check if something (firewall, false IP or computer
domain name, etc) prevent the normaol link to that DB.
Check the entries in TNSNAMES.ORA.

After that check if the service is known

lsnrctl services

and if the Listener is up

lsnrctl status.

The database also coulb be down ...

Now about the registration:

Go to the remote 10g installation where the Oracle server resides.

Backup LISTENER.ORA file!!!!!!!

In ...\network\admin open listener.ora

see

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = PLSExtProc)
      (ORACLE_HOME = D:\Ora10g)
      (PROGRAM = extproc)
    )
    (SID_DESC =
      (SID_NAME = test)
      (ORACLE_HOME = D:\Ora10g)
    )
  )

Add the entry
    (SID_DESC =
      (SID_NAME = test)
      (ORACLE_HOME = D:\Ora10g)
    )
with regard to the particular Oracle Home and SID Name.


In Oracle 11g you have to create from scratch in the listener.ora file the section

SID_LIST_LISTENER =
&..

mentioned above.


Restart the listener:
c:>lsnrctl stop
c:>lsnctl start

0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now