Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
oracle_12_goldengate_conf_prepare_source [2020/10/27 12:32] – andonovj | oracle_12_goldengate_conf_prepare_source [2020/11/09 19:50] (current) – andonovj | ||
---|---|---|---|
Line 153: | Line 153: | ||
Successfully logged into database. | Successfully logged into database. | ||
+ | ---Add the Classical Extract | ||
GGSCI (sourceSRV.izb.local as ggate@DBNAME) 2> add extract EBKEXT1, TRANLOG, BEGIN NOW | GGSCI (sourceSRV.izb.local as ggate@DBNAME) 2> add extract EBKEXT1, TRANLOG, BEGIN NOW | ||
EXTRACT added. | EXTRACT added. | ||
+ | ---Create Local Trail and associate it with the Classical Extract | ||
GGSCI (sourceSRV.izb.local as ggate@DBNAME) 5> add exttrail ./ | GGSCI (sourceSRV.izb.local as ggate@DBNAME) 5> add exttrail ./ | ||
EXTTRAIL added. | EXTTRAIL added. | ||
+ | ---Create Data Pump process and associate it with the local trail | ||
GGSCI (sourceSRV.izb.local as ggate@DBNAME) 6> add EXTRACT EBKDMP1, EXTTRAILSOURCE ./dirdat/lt | GGSCI (sourceSRV.izb.local as ggate@DBNAME) 6> add EXTRACT EBKDMP1, EXTTRAILSOURCE ./dirdat/lt | ||
EXTRACT added. | EXTRACT added. | ||
+ | ---Add Remote trail and associate it with the Data pump process | ||
GGSCI (sourceSRV.izb.local as ggate@DBNAME) 7> add RMTTRAIL ./ | GGSCI (sourceSRV.izb.local as ggate@DBNAME) 7> add RMTTRAIL ./ | ||
RMTTRAIL added. | RMTTRAIL added. | ||
+ | ---Add Supplemental logging for the schema | ||
GGSCI (sourceSRV.izb.local as ggate@DBNAME) 8> ADD SCHEMATRANDATA SCHEMANAME1 | GGSCI (sourceSRV.izb.local as ggate@DBNAME) 8> ADD SCHEMATRANDATA SCHEMANAME1 | ||
Line 179: | Line 183: | ||
***************************************************************************************** | ***************************************************************************************** | ||
+ | ---Add supplemental logging for 2nd schema | ||
GGSCI (sourceSRV.izb.local as ggate@DBNAME) 9> add schematrandata SCHEMANAME2 | GGSCI (sourceSRV.izb.local as ggate@DBNAME) 9> add schematrandata SCHEMANAME2 | ||
Line 232: | Line 236: | ||
Wait them for couple minutes, to assure that they will not end abnormally (ABEND) | Wait them for couple minutes, to assure that they will not end abnormally (ABEND) | ||
- | |||
- | =====Configure Credential Wallet(Optional)===== | ||
- | Credential wallet is a store which contains credentials. The logic behind it, is to facilitate the dblogin operations by not exposing the password: | ||
- | |||
- | To create and configure the wallet follow the steps: | ||
- | |||
- | < | ||
- | [oracle@edvmr1p0 oggtrg]$ ./ggsci | ||
- | |||
- | Oracle GoldenGate Command Interpreter for Oracle | ||
- | Version 12.3.0.1.0 OGGCORE_12.3.0.1.0_PLATFORMS_170721.0154_FBO | ||
- | Linux, x64, 64bit (optimized), | ||
- | Operating system character set identified as UTF-8. | ||
- | |||
- | Copyright (C) 1995, 2017, Oracle and/or its affiliates. All rights reserved. | ||
- | |||
- | |||
- | |||
- | GGSCI (edvmr1p0) 1> Create Wallet | ||
- | |||
- | Created wallet at location ' | ||
- | |||
- | Opened wallet at location ' | ||
- | |||
- | GGSCI (edvmr1p0) 2> Add CredentialStore | ||
- | |||
- | Credential store created in / | ||
- | |||
- | GGSCI (edvmr1p0) 3> alter CredentialStore Add User c## | ||
- | |||
- | Credential store in / | ||
- | |||
- | GGSCI (edvmr1p0) 4> alter CredentialStore Add User c## | ||
- | |||
- | Credential store in / | ||
- | |||
- | GGSCI (edvmr1p0) 5> alter CredentialStore Add User c## | ||
- | |||
- | Credential store in / | ||
- | |||
- | GGSCI (edvmr1p0) 6> info CredentialStore | ||
- | |||
- | Reading from / | ||
- | |||
- | Default domain: OracleGoldenGate | ||
- | |||
- | Alias: oggadmin_euro | ||
- | Userid: c## | ||
- | |||
- | Alias: oggadmin_amer | ||
- | Userid: c## | ||
- | |||
- | Alias: oggadmin_root | ||
- | Userid: c## | ||
- | |||
- | GGSCI (edvmr1p0) 7> DBLogin UserIDAlias oggadmin_amer | ||
- | Successfully logged into database AMER. | ||
- | |||
- | GGSCI (edvmr1p0 as c## | ||
- | Successfully logged into database EURO. | ||
- | |||
- | GGSCI (edvmr1p0 as c## | ||
- | </ |