Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The replication has been configured and installed. The following steps need to be done to complete and start the replication:

Section
Column
width5%

 

Column
width95
Panel No Format
bgColorCCC
1) Create the necessary directory(ies) on the servers:


dbvisit230: /home/oracle/
orcl 
orcl 
2) Copy the DDC files to the server(s) where the processes will run:


/home/oracle/orcl/orcl-MINE.ddc


/home/oracle/orcl/orcl-APPLY.
ddc 
ddc 
3) Review that path to dbvrep executable is correct in the run scripts:


/home/oracle/orcl/orcl-run-dbvisit230.sh


/home/oracle/orcl/orcl-run-dbvisit210.
sh 
sh 
4) Copy the run script to the server(s) where the processes will run:


/home/oracle/orcl/orcl-run-dbvisit230.sh


/home/oracle/orcl/orcl-run-dbvisit210.
sh 
sh 
5) Ensure firewall is open for listen interfaces dbvisit210:7901, dbvisit230:7902 used by the processes.


6) Make sure the data on apply are in sync as of time when setup was run.

Scripts for Data Pump/export/DDL were created as requested:


/home/oracle/orcl/APPLY.sh

Create referenced database links (if any) before running the scripts.


7) Start the replication processes on all servers:


/home/oracle/orcl/orcl-run-dbvisit230.sh

/home/oracle/orcl/orcl-run-dbvisit210.
sh 
sh 
8) Start the console to monitor the progress:


/usr/bin/dbvrep --ddcfile /home/oracle/orcl/orcl-MINE.ddc

 

The thumb rule of replication is to identical source and target data before starting replication so no conflicts arise. Therefore, Execute APPLY.sh script on target machine to sync target data with source before starting replication.

...

  • Starts the MINE and APPLY process in the background
  • Creates the necessary log and plog directories.
  • Once the APPLY and MINE process has been started, there is in INITIALIZATION process. This replicates the contents of the Dbvisit Replication repository from the source to the target database. The replication can not be started until this phase has been completed.

 

Info

In Windows environment, If MINE/APPLY service crashes immediately after the start without showing any error either on screen or in Dbvisit Replicate log, then you have either of following two errors in Windows system log in Windows Event Viewer.

  1. ORA-12705: Cannot access NLS data files or invalid environment specified
  2. Faulting application name: dbvrep.exe, version: 0.0.0.0, time stamp: 0x4da1b651

Please click here to find troubleshooting information for this issue.