04 - Start the Replication

The pre-requisites have been completed. The replication can now be started.

1. On the source server, as oracle, in the $HOME/replicate directory, start the MINE process.

cd ~oracle/replicate
[oracle@source replicate]$ ./replicate-run-source.sh
Initializing......done
DDC loaded from database (399 variables).
Dbvisit Replicate version 2.8.00
Copyright (C) Dbvisit Software Limited.  All rights reserved.
DDC file /u01/app/oracle/replicate/replicate-MINE.ddc loaded.
Starting process MINE...Created directory /u01/app/oracle/replicate/ddc_backup
Created directory /u01/app/oracle/replicate/log/trace/
Created directory /u01/app/oracle/replicate/mine/
started
[oracle@source replicate]$

2. On the target server, start the APPLY process.

cd ~oracle/replicate
[oracle@target replicate]$ ./replicate-run-target.sh
Initializing......done
DDC loaded from database (400 variables).
Dbvisit Replicate version 2.8.00
Copyright (C) Dbvisit Software Limited.  All rights reserved.
DDC file /u01/app/oracle/replicate/replicate-APPLY.ddc loaded.
Starting process APPLY...Created directory /u01/app/oracle/replicate/ddc_backup
Created directory /u01/app/oracle/replicate/log/
Created directory /u01/app/oracle/replicate/log/trace/
Created directory /u01/app/oracle/replicate/apply
started
[oracle@target replicate]$

3. On the source server, as oracle, in the $HOME/replicate directory, execute the start-console.sh script to start the Replication console and view the replication.

[oracle@source replicate]$ ./start-console.sh
Initializing......done
DDC loaded from database (400 variables).
Dbvisit Replicate version 2.8.00
Copyright (C) Dbvisit Software Limited.  All rights reserved.

4. The console will be displayed. Please leave the Replication console open as it is used in the following stages.

/ Dbvisit Replicate 2.8.00(MAX edition) - Evaluation License expires in 30 days
MINE is running. Currently at plog 23 and SCN 581413 (05/25/2017 00:29:49).
APPLY is running, initialization NOT yet complete. Currently at plog 22 and SCN ....
Progress of replication replicate:MINE->APPLY: total/this execution
--------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------
0 tables listed.
                                                                                                                                                                                 dbvrep>
  1. The message "initialization NOT yet complete" is shown during the start of the replication process. This process involves Dbvisit Replicate replicating its own internal tables before replicating user tables. To show the internal tables being replicated type the command list progress all at the dbvrep> prompt
  2. No tables are shown yet. The replicated tables will only be shown once DML is run against these tables.
  3. The cls command will clear the screen.

Replication's a bit boring without anything happening, so let's generate some activity in the source database and see what happens.