2026-05-03 08:47:40
This commit is contained in:
+21
-8
@@ -7,7 +7,7 @@ http://blog.data-alchemy.org/posts/oracle-goldengate-pluggable/
|
||||
|
||||
Databases:
|
||||
- source: CDB: `NABOOPRD@togoria, PDB: EREP`
|
||||
- target: CDB: `GENOSISPRD@wayland, PDB: GERISS`
|
||||
- target: CDB: `GENOSISPRD@wayland, PDB: GERISS
|
||||
|
||||
## Databases setup for Golden Gate
|
||||
|
||||
@@ -46,6 +46,14 @@ Create schemas for replicated tables on source and target PDB:
|
||||
grant connect,resource to C3PO;
|
||||
connect C3PO/"Secret00!"@wayland/GERISS;
|
||||
|
||||
|
||||
For both Golden Gate hosts (`exegol` and `helska`) `depl26ai` the password of Service Manager administrator has been defined:
|
||||
- username: `oggadmin`
|
||||
- password: `Alabalaportocala00_`
|
||||
and `depl26ai` deployement has been created.
|
||||
|
||||
> Both username/password are case sensitive.
|
||||
|
||||
## Setup `exegol` Golden Gate deployment
|
||||
|
||||
> My Root CA (added to truststore host) has not be recognized by `admincmient` resulting OGG-12982 error while `curl` works perfectly.
|
||||
@@ -57,19 +65,18 @@ Solution: define `OGG_CLIENT_TLS_CAPATH` environement variable to my root CA cer
|
||||
Add in the credentialstore enteries for database connections:
|
||||
|
||||
adminclient
|
||||
connect https://exegol.swgalaxy:2000 deployment ogg_exegol_deploy as OGGADMIN password "Secret00!"
|
||||
connect https://exegol.swgalaxy:2000 deployment depl26ai as oggadmin password "Alabalaportocala00_"
|
||||
|
||||
Optionaly store credentials to connect to deployement:
|
||||
|
||||
add credentials admin user OGGADMIN password "Secret00!"
|
||||
add credentials admin user oggadmin password "Alabalaportocala00_"
|
||||
|
||||
Now we can hide the password when conecting to deployement:
|
||||
|
||||
connect https://exegol.swgalaxy:2000 deployment ogg_exegol_deploy as admin
|
||||
connect https://exegol.swgalaxy:2000 deployment depl26ai as admin
|
||||
|
||||
Add in the credentialstore enteries for database connections:
|
||||
|
||||
create wallet
|
||||
add credentialstore
|
||||
alter credentialstore add user c##oggadmin@togoria/NABOOPRD password "Secret00!" alias NABOOPRD
|
||||
alter credentialstore add user c##oggadmin@togoria/EREP password "Secret00!" alias EREP
|
||||
@@ -86,6 +93,12 @@ To delete a user from credential store:
|
||||
|
||||
> IMPORTANT: in a database **MULTITENANT** architecture, Golden Gate is working at `CDB$ROOT` level.
|
||||
|
||||
In an Oracle Multitenant architecture (Oracle 19c through 23c), the placement of the Oracle GoldenGate checkpoint table depends on whether you are configuring the Extract (source) or the Replicat (target):
|
||||
1. Target Side (Replicat): Inside the PDB
|
||||
2. Source Side (Extract): Root Container (CDB$ROOT)
|
||||
|
||||
> Integrated Extracts store their recovery checkpoints primarily in the database's internal logmining server metadata and in .cpe checkpoint files on the GoldenGate file system. You do not manually create a standard "checkpoint table" for an Extract in the same way you do for a Replicat
|
||||
|
||||
Create the checkpoint table:
|
||||
|
||||
dblogin useridalias NABOOPRD
|
||||
@@ -104,15 +117,15 @@ Put:
|
||||
## Setup `helska` Golden Gate deployment
|
||||
|
||||
adminclient
|
||||
connect https://helska.swgalaxy:2000 deployment ogg_helska_deploy as OGGADMIN password "Secret00!"
|
||||
connect https://helska.swgalaxy:2000 deployment depl26ai as oggadmin password "Alabalaportocala00_"
|
||||
|
||||
Optionaly store credentials to connect to deployement:
|
||||
|
||||
add credentials admin user OGGADMIN password "Secret00!"
|
||||
add credentials admin user oggadmin password "Alabalaportocala00_"
|
||||
|
||||
Now we can hide the password when conecting to deployement:
|
||||
|
||||
connect https://helska.swgalaxy:2000 deployment ogg_helska_deploy as admin
|
||||
connect https://helska.swgalaxy:2000 deployment depl26ai as admin
|
||||
|
||||
Add in the credentialstore enteries for database connections:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user