Solved

Oracle database 9i replication

Posted on 2009-04-05
3
835 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 48

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 48

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
execute immediate plsql block 5 57
oracle 11g 23 106
SQL Developer 6 59
Oracle Listener Not Starting 11 51
This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

765 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