Sie sind auf Seite 1von 2

Source database configuration (JIOMDMDEV instance on 10.135.8.

220 DB server):
1. Add tnsnames.ora client entry for JIOIIR in 10.135.8.218 server.
2. Enable Oracle Archive Log Mode
SHUTDOWN IMMEDIATE;
STARTUP MOUNT;
ALTER DATABASE ARCHIVELOG;
ALTER DATABASE OPEN;
SHUTDOWN IMMEDIATE;
STARTUP;
3. Identify archive log target and file name format from spfile, one must execut
e some ALTER SYSTEM SET SQL as per database standards
4.Enable supplemental logging
ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;
5. Create new database user:
CREATE USER IDR_DATAREP_USER
PROFILE DEFAULT
IDENTIFIED BY IDR_DATAREP_USER
DEFAULT TABLESPACE USERS
TEMPORARY TABLESPACE TEMP
QUOTA UNLIMITED on USERS ACCOUNT UNLOCK;
6. Grant required privileges to user:
GRANT CONNECT TO IDR_DATAREP_USER;
GRANT RESOURCE TO IDR_DATAREP_USER;
GRANT UNLIMITED TABLESPACE TO IDR_DATAREP_USER;
GRANT SELECT ANY TABLE TO IDR_DATAREP_USER;
GRANT SELECT ANY DICTIONARY TO IDR_DATAREP_USER;
GRANT ALTER SESSION TO IDR_DATAREP_USER;
GRANT EXECUTE on DBMS_FLASHBACK TO IDR_DATAREP_USER; (AS SYS user)
7. To capture transactional data when running the InitialSync, grant the follow
ing privilege:
GRANT FLASHBACK ANY TABLE TO IDR_DATAREP_USER;
8.To add columns for supplement logging from the Data Replication Console, grant
the following privilege:
GRANT ALTER ANY TABLE TO IDR_DATAREP_USER;
9.If the Oracle database is in a RAC environment and your replication jobs do no
t read data from online redo logs, grant the following privilege:
GRANT ALTER SYSTEM TO IDR_DATAREP_USER;
10.For InitialSync operations that use database links (dblinks) to synchronize O
racle sources and Oracle targets, grant the following privilege:
GRANT CREATE VIEW TO IDR_DATAREP_USER;
GRANT CREATE DATABASE LINK TO IDR_DATAREP_USER;
11. Copy some oracle jars for oracle TDE (transparent data encryptiuon):
Copy the following libraries from %ORACLE_HOME%/jlib subdirectory to the %DBSYNC
_HOME%/lib subdirectory and replace the existing .jar files that have the same n
ames:
oraclepki.jar
osdt_cert.jar
osdt_core.jar
--------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Oracle targets (JIOIIR instance on 10.135.8.220 DB server):
1. Create a Data Replication user:
CREATE USER IDR_DATAREP_USER PROFILE DEFAULT
IDENTIFIED BY IDR_DATAREP_USER DEFAULT TABLESPACE USERS
TEMPORARY TABLESPACE TEMP
QUOTA UNLIMITED on USERS
ACCOUNT UNLOCK;
2. Grant the following user privileges to the user To retrieve the table structu
re of the tables, grant the following privileges:
GRANT CONNECT TO IDR_DATAREP_USER;
GRANT RESOURCE TO IDR_DATAREP_USER;
GRANT SELECT ANY TABLE TO IDR_DATAREP_USER;
GRANT SELECT ANY DICTIONARY TO IDR_DATAREP_USER;
GRANT ALTER SESSION TO IDR_DATAREP_USER;
3.To apply change data to target tables, grant the following privileges:
GRANT INSERT ANY TABLE TO IDR_DATAREP_USER;
GRANT UPDATE ANY TABLE TO IDR_DATAREP_USER;
GRANT DELETE ANY TABLE TO IDR_DATAREP_USER;
4.For InitialSync operations that use database links (dblinks) to synchronize Or
acle sources and Oracle targets, grant the following privilege:
GRANT CREATE DATABASE LINK TO IDR_DATAREP_USER;
GRANT ALTER ANY TABLE TO IDR_DATAREP_USER;
5.For Audit Apply mode, grant the following privilege:
GRANT LOCK ANY TABLE TO IDR_DATAREP_USER;
--------------------------------------------------------------------------------
------------------------------------------------------------------------------

Das könnte Ihnen auch gefallen