The pre-requisites have been completed. The replication can now be started.
If the replication console is running in the current terminal, open a new terminal.
1. On the source server (dbv01) , as oracle, in the $HOME/dbvrep_XE directory, start the MINE process.
No Format |
---|
cd ~oracle/dbvrep_orclXE/ |
No Format |
---|
./dbvrep_orclXE-run-source.sh Initializing......done DDC loaded from database (346 variables). Dbvisit Replicate version 2.7.02.4333 Copyright (C) Dbvisit Software Limited. All rights reserved. DDC file /u01/app/oracle/dbvrep_orclXE/dbvrep_orclXE-MINE.ddc loaded. Starting process MINE...Created directory /u01/app/oracle/dbvrep_orclXE/ddc_backup Created directory /u01/app/oracle/dbvrep_orclXE/log/trace/ Created directory /u01/app/oracle/dbvrep_orclXE/mine/ started |
2. On the target server (dbv02) , start the APPLY process.
No Format |
---|
cd ~oracle/dbvrep_orclXE/ |
No Format |
---|
./dbvrep_orclXE-run-target.sh Initializing......done DDC loaded from database (346 variables). Dbvisit Replicate version 2.7.02.4333 Copyright (C) Dbvisit Software Limited. All rights reserved. DDC file /u01/app/oracle/dbvrep_orclXE/dbvrep_orclXE-APPLY.ddc loaded. Starting process APPLY...Created directory /u01/app/oracle/dbvrep_orclXE/ddc_backup Created directory /u01/app/oracle/dbvrep_orclXE/log/ Created directory /u01/app/oracle/dbvrep_orclXE/log/trace/ Created directory /u01/app/oracle/dbvrep_orclXE/apply started |
3. On the source server (dbv01) , as oracle, in the $HOME/dbvrep_XE directory, execute the start-console.sh script to start the Replication console to and view the replication.
No Format |
---|
./start-console.sh
Initializing......done
DDC loaded from database (349 variables).
Dbvisit Replicate version 2.7.02.4333
Copyright (C) Dbvisit Software Limited. All rights reserved. |
...
No Format |
---|
/ Dbvisit Replicate 2.7.02.4333(MAX edition) - Evaluation License expires in 30 days MINE IS running. Currently at plog 132 and SCN 3190128 (08/01/2014 05:56:07). APPLY IS running, initialization NOT yet complete. Currently at plog 131 and SCN 3142985 (08/01/2014 04:46:37). Progress of replication dbvrep_orclXE:MINE->APPLY: total/this execution (stale) -------------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------------- 0 tables listed. dbvrep> |
Note |
---|
|
Replication's a bit boring without anything happening, so let's use SwingBench to generate some activity in the source database and see what happens.