Versions Compared

Key

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

...

The following is a step-by-step guide of configuring a replication using the setup wizard. To accept the default answer for a question, just press the Return key.

1. On the source server, as oracle, in the $HOME directory, execute the dbvrep executable to start Dbvisit Replicate.

No Format
dbvrep

The output will be.:

No Format
Initializing......done
Dbvisit Replicate version 2.7
Copyright (C) Dbvisit Software Limited.  All rights reserved.
No DDC file loaded.
Run "setup wizard" to start the configuration wizard or try "help" to see all commands available.
dbvrep> 

...

Enter the location of the directory where the Setup Wizard will place the configuration files. Accept the default value.

No Format
(SETUP_SCRIPT_PATH) - Please enter a directory for location of configuration scripts on this machine: [/u01/app/oracle/dbvrep_XE]                                          

Enter the location where Dbvisit Replicate will find the Oracle network configuration files. Accept the default value.

No Format
Network configuration files were detected on this system in these locations:
[/u01/app/oracle/product/11.2.0/xe/network/admin]
(TNS_ADMIN) - Please enter TNS configuration directory for this machine: [/u01/app/oracle/product/11.2.0/xe/network/admin]

...

Describe the first database. This will be the source database and will be the Oracle database on the machine called source.

Note

The SYSDBA and DBA passwords (normally SYS and SYSTEM) are only used during the configuration and are not used or stored as part of a running replication.

No Format
Step 1 - Describe databases
========================================
The first step is to describe databases used in the replication. There are usually two of them (source and target).
Store SYSDBA and DBA passwords? Passwords only required during setup and initialization? (yes/no) [yes]

...

7. Specify the defaults to create the Dbvisit Replicate schema Schema in the source database. Accept the default username of dbvrep and the default password of dbvpasswd.

...

Specify the USERS tablespace as the default tablespace for the Dbvisit Replicate Schema (dbvrep) user.

No Format
Permanent tablespaces detected on the database: REPOE_DATA, USERS. 

Please enter default permanent tablespace for this user: [REPOE_DATA] USERS                                                                                    

Specify the TEMP tablespace as the temporary tablespace for the Dbvisit Replicate Schema (dbvrep) user.

No Format
Temporary tablespaces detected on the database: TEMP.
Please enter default temporary tablespace for this user: [TEMP]

...

 Specify the defaults to create the Dbvisit Replicate schema Schema in the target database. Accept the default username of dbvrep and the default password of dbvpasswd.

...

Specify the USERS tablespace as the default tablespace for the Dbvisit Replicate Schema (dbvrep) user.

No Format
Permanent tablespaces detected on the database: REPOE_DATA, USERS. 

Please enter default permanent tablespace for this user: [REPOE_DATA] USERS                                                                                    

Specify the TEMP tablespace as the temporary tablespace for the Dbvisit Replicate Schema (dbvrep) user.

No Format
Temporary tablespaces detected on the database: TEMP.
 
Please enter default temporary tablespace for this user: [TEMP]

...

No Format
Step 3 - Replicated tables
========================================
The third step is to choose the schemas and tables to be replicated. If the databases are reachable, the tables are checked for existence, datatype support, etc.,
schemas are queried for tables. Note that all messages are merely hints/warnings and may be ignored if issues are rectified before the scripts are actually executed.
Following tables are defined for replication pairs:
1: ttorcl_src (Oracle) ==> ttorcl_trg (Oracle), DDL: yes, suffix: (no suffix), prepare: single-scn
  No tables defined.
Enter number of replication pair to modify it, or "done": [1]

18. Specify the REPOE schema is to be replicated.

...

27. Dbvisit Replicate wizard has completed and all the scripts have been created. No database changes have been made yet.

No Format
 

...

Created file /u01/app/oracle/dbvrep_XE/dbvrep_XE-APPLY.ddc.
Created file /u01/app/oracle/dbvrep_XE/dbvrep_XE-MINE.ddc.
Created file /u01/app/oracle/dbvrep_XE/config/dbvrep_XE-setup.dbvrep.
Created file /u01/app/oracle/dbvrep_XE/config/dbvrep_XE-dbsetup_ttorcl_src.sql.
Created file /u01/app/oracle/dbvrep_XE/config/dbvrep_XE-dbsetup_ttorcl_trg.sql.
Created file /u01/app/oracle/dbvrep_XE/config/dbvrep_XE-grants_ttorcl_src.sql.
Created file /u01/app/oracle/dbvrep_XE/config/dbvrep_XE-grants_ttorcl_trg.sql.
Created file /u01/app/oracle/dbvrep_XE/config/dbvrep_XE-onetime.ddc.
Created file /u01/app/oracle/dbvrep_XE/start-console.sh.
Created file /u01/app/oracle/dbvrep_XE/dbvrep_XE-run-source.sh.
Created file /u01/app/oracle/dbvrep_XE/dbvrep_XE-run-target.sh.
Created file /u01/app/oracle/dbvrep_XE/Nextsteps.txt.
Created file /u01/app/oracle/dbvrep_XE/dbvrep_XE-all.sh.
==================================================================================================================================
Dbvisit Replicate wizard completed
Script /u01/app/oracle/dbvrep_XE/dbvrep_XE-all.sh created. This runs all the above created scripts. Please exit out of dbvrep,
review and run script as current user to setup and start Dbvisit Replicate.
==================================================================================================================================

28. Do not run the script, but exit out of the wizard.

No Format
Run this script now? (yes/no) [NO]  
 
dbvrep> exit                                                                                                                                           

 You have now completed the Setup Wizard to configure a simple one-way replication. The Wizard has created the configuration files above but has not changed anything in the source or target databases.

The next step will be to execute the scripts created by the Setup Wizard to initialize the replication.