Versions Compared

Key

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

...

More information about step - 1 is available here

Note

Please note that being a SQL*Plus script, the resulting file contains plain text passwords.

...

Describe the first database:

Section
Column
width5%

 

Column
width95
Panel No Format
bgColorCCC
Step 1 - Describe databases


========================================


The first step is to describe databases used in the
replication.
 There are usually two of them (source and target)
; however, there can be just one(when source and target is the same) or more than two (one-to-many or other complex configurations.)
.
Store SYSDBA and DBA passwords? Passwords only required
during setup and initialization? (yes/no) [yes]                                                                      

Let's configure the database, describing it's type,
connectivity, user names etc.


 What type of database is this? (Oracle/MySQL
/MSSQL
/SQL Server/Oracle AWS RDS/CSV/Hadoop): [Oracle]

 
 Please enter database TNS alias: []
 
 orcl_dbvisit210

 
 Please enter SYSDBA user name: [SYS]

 
 Please enter password for this user: [change_on_install] ******

**
 Please enter user with DBA role
on the target database
: [SYSTEM]

 
 Please enter password for this user: [manager] ******

**
 
 Connecting to database orcl_dbvisit210 as SYSTEM to query list of tablespaces and
 to detect ASM (by looking whether any redo logs or archived logs are stored in ASM).


 Enter the Dbvisit Replicate owner 
and apply user
(this user will be created by this script): [dbvrep]

 
 Please enter password for this user: [dbvpasswd]

 
 
 Permanent tablespaces detected on the database: DATA, USERS
,
.
SYSAUX,
 
SYSTEM.
Please enter default permanent tablespace for this user: [
USERS]
DATA] 
 
 Temporary tablespaces detected on the database: TEMP.


 Please enter default temporary tablespace for this user: [TEMP]

Does
 
the

database
 
use

ASM?
 
(yes/no): [YES] 
Following databases are now configured:


 1: Oracle orcl_dbvisit210, SYS/***, SYSTEM/***, dbvrep/***, 
USERS
DATA/TEMP, dbvrep/, ASM
:YES
:NO, TZ: +00:00
 Enter the number of the database to modify it, or "add", or "done": [add] 

 

Adding the second database:

Section
Column
width5%

 

Column
width95
Panel No Format
bgColorCCC
Let's configure the database, describing it's type,
connectivity, user names etc.


What type of database is this? (Oracle/MySQL
/MSSQL
/SQL
Server/Oracle AWS RDS/CSV/Hadoop): [Oracle]

                                                                      
Please enter database TNS alias: []
 orcl_dbvisit230
 orcl_dbvisit230                                                                                                                                  
Please enter SYSDBA user name: [SYS]

                                                                                                                                          
Please enter password for this user: [change_on_install] ********


Please enter user with DBA role
on the target database: [SYSTEM]
: [SYSTEM]                                                                                                                   
Please enter password for this user: [manager] ******


Connecting to database orcl_dbvisit230 as 
SYSTEM
system to query list of
tablespaces and
 to detect ASM (by looking whether any redo logs or archived
logs are stored in ASM).


Enter the Dbvisit Replicate owner
and apply
 
user
(this user will be created
by this script): [dbvrep]
 
                                                                                        
Please enter password for this user: [dbvpasswd]
 
 
Permanent tablespaces detected on the database: 
USERS
DATA, 
SYSAUX, SYSTEM.
USERS.
Please enter default permanent tablespace for this user: [
USERS]
DATA]                                                                                                               
Temporary tablespaces detected on the database: TEMP.


Please enter default temporary tablespace for this user:
[TEMP]
Does the database use ASM? (yes/no): [YES] 
[TEMP]                                                                                                               
Following databases are now configured:


1: Oracle orcl_dbvisit210, SYS/***, SYSTEM/***, dbvrep/***, 
USERS
DATA/TEMP,
dbvrep/, ASM:
YES
NO, TZ: +00:00
2: Oracle orcl_dbvisit230, SYS/***, SYSTEM/***, dbvrep/***, 
USERS
DATA/TEMP,
dbvrep/, ASM
:YES
:NO, TZ: +00:00
Enter the number of the database to modify it, or
"add", or "done": [done]                                                                                                    

Note

At this stage specific details about which are the source and target databases are not yet required.