Check the following pre-requisites before starting Dbvisit Replicate. If these are not correct, then the replication will NOT function.
i. The database orcl on both the source and target server should be started and available. To check if database orcl is running, check the pmon process (on both source and target)
$ ps -ef | grep pmon oracle 2467 1 0 13:31 ? 00:00:00 ora_pmon_orcl oracle 2974 2933 0 13:35 pts/1 00:00:00 grep pmon
If the ora_pmon_orcl process is running, that is a good indication that the Oracle database is running.
ii. On the source server, check the TNS connection to the source database
[oracle@source ~]$ tnsping ttorcl_src TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 11-JAN-2014 13:39:13 Copyright (c) 1997, 2010, Oracle. All rights reserved. Used parameter files: Used TNSNAMES adapter to resolve the alias Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = source-int)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = orcl))) OK (0 msec)
iii. On the source server, check the TNS connection to the target database
[oracle@source ~]$ tnsping ttorcl_trg TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 11-JAN-2014 13:44:14 Copyright (c) 1997, 2010, Oracle. All rights reserved. Used parameter files: Used TNSNAMES adapter to resolve the alias Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = target-int)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = orcl))) OK (10 msec)
iv. On the target server, check the TNS connection to the source database
[oracle@target ~]$ tnsping ttorcl_src TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 11-JAN-2014 13:45:21 Copyright (c) 1997, 2010, Oracle. All rights reserved. Used parameter files: Used TNSNAMES adapter to resolve the alias Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = source-int)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = orcl))) OK (0 msec) [oracle@target ~]$
v. On the target server, check the TNS connection to the target database
[oracle@target ~]$ tnsping ttorcl_trg TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 11-JAN-2014 13:46:37 Copyright (c) 1997, 2010, Oracle. All rights reserved. Used parameter files: Used TNSNAMES adapter to resolve the alias Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = target-int)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = orcl))) OK (0 msec)
If any of the pre-requisites fail, then verify if all the previous steps have been done correctly before continuing.
0 Comments