SlideShare a Scribd company logo
1 of 45
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
Oracle GoldenGate 21c
New Features and Best Practices
8/18/2021
Presentation will start 3 minutes after
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
About RheoData
A global systems integrator headquartered in Atlanta, Georgia. Providing solutions across the enterprise with
architecture design/assessments, implementation, data replication, and professional services to ensure high-
quality enterprise systems leveraging Oracle and Microsoft technologies. RheoData works hand-in-hand with
our strategic partners and their sales teams to build and deploy high performance and scalable enterprise
solutions in addition to providing clients with cost savings professional services for turnkey enterprise
management.
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
Our Mission:
Enabling businesses to transform through
automation at a time when companies must
change in order to scale
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
License Management for Oracle,
HashiCorp, and Cloud
Get the most out of your license
DBA
Services
Remote and
On-Site
Professional Services
Where and when you need it the most
Migrations
Zero Downtime
Health Checks
How are you running?
On-Call Support
Managed Services
Tactical Assistance Program (TAP)
Experts to help design and manage complex architecture
Take Cloud to next level
Automation of Cloud
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
Speaker
Bobby Curtis, MBA
Atlanta, GA
• Author
• Speaker
• Former Product Manger for GoldenGate
• Oracle ACE Director (Alumni)
@dbasolved
https://dbasolved.com
bobby.curtis@rheodata.com
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
Agenda
� GoldenGate for Oracle
 GoldenGate (Microservices) Enhancements
 Microservices (Best Practices)
 Deprecated and Desupported Features
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
OGG 21c New Features (Oracle)
� Automatic Table Extract – DDL to enable GoldenGate to start/stop capture on a table (DB 21c feature)
� Unified Builds – Bundles all database clients and supports Oracle databases per cert matrix
• ADW Capture Support – ATP (dedicated), ADW (dedicated) and ATP/ADW on ExaCC/ExaCS
• Kerberos Authentication – External authentication for database login (DBLOGIN) for Kerberos Accounts
• Simplified Heartbeat Administration – External
• Native JSON Support – Capture (extract) and Apply (replicat) now support the native JSON datatype (DB 21c feature)
• AutoCDR Enhancements – Earliest Timestamp, Delete always wins, & Site priority resolution (DB 21c feature)
• Partition Name Filtering – Filtering by partition name (PARTITION/PARTITIONEXCLUDE)
• DB_UNIQUE_NAME – Available in trail files and heartbeat tables
• DDL > 4MB – Large DDL text is supported (up to 4MB)
• Enhanced PR and IR reports – Enhanced diagnosis capabilities for Parallel and Integrated Replicat
• Certificate Management – Create and Manage server and client certificates from web interface
• Multiple Certs for WSS Protocol – Store and use multiple client certificates for authentication
� Microservices Only – Starting in 21c, Oracle GoldenGate is available with Microservices Only (Classic and Microservices released)
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
Automatic Table Extract
DDL to enable OGG to start/stop capturing a table
• Requires Oracle Database 21c or later
• Disabled by default
OGG Parameter:
TRANLOGOPTIONS INTEGRATEDPARAMS (enable_auto_capture Y)
Use INFO EXTRACT to see setting for each Extract
Database:
• Enabling Supplemental Logging on a table will trigger auto-capture
• Setting ENABLE LOGICAL REPLICATION on a table with supplemental logging, triggering auto-capture
• Can be done as a CREATE or ALTER TABLE ddl command
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
Unified Builds
Microservices Architecture:
Database Instant Client Libraries - $OGG_HOME/bin/instantclient
Environment Variables:
ORACLE_HOME=$OGG_HOME/lib/instantclient
LD_LIBRARY_PATH=$OGG_HOME/lib:$OGG_HOME/lib/instantclient
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
Agenda
� GoldenGate for Oracle
� GoldenGate (Microservices) Enhancements
 Microservices (Best Practices)
 Deprecated and Desupported Features
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
OGG 21c Microservices Enhancements
� Unified Web UI for Deployments – No more different tabs within browser
� Simplified Certificate Management – no more direct manipulation of Oracle Wallet to add/replace certificates
• Client Certificate Selection – Support for choosing certificates for Distribution Paths
• Migration Utility – Classic to Microservices migration utility (pending)
• Security Improvements – Unix Domain Sockets for inter-process communication with Performance Metric Service
� Microservices for Heterogenous – Starting in 21c, bring more flexibility to data architectures
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
Microservices for Heterogenous
Microservices Architecture:
• More flexibility for heterogenous environments
• Cleaner interoperability between environments
• Work remotely across the enterprise
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
Unified Web UI
Microservices Architecture:
• All Services of deployment in a single browser page
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
Simplified Certificate Management
Microservices Architecture:
• Web UI and REST APIs:
• View/Replace Certificates
• Add multiple client certificates
• Add trust points (CA certs)
• Not Supported – Direct manipulation of wallets after installation
• Distribution Paths can select which client certificate to present to
remote site
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
Agenda
� GoldenGate for Oracle
� GoldenGate (Microservices) Enhancements
� Microservices (Best Practices)
 Deprecated and Desupported Features
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
Oracle GoldenGate Microservices
Source
Target
Uni-Directional or Active/Active
Extract Replicat
Trail
Files
Trail
Files
Active/Active
AdminSrvr DistroSrvr RecSrvr
ServiceMgr PMSrvr
Nginx (Reverse Proxy)
CMD
REST
HTML
PL/SQL
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
To Hub or Not To Hub
What is a HUB architecture?
What is Data Mesh?
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
ServiceManager
Deployment Home
TF
Nginx
Extract Replicat
Hub Architecture
Unified Libraries
Streaming and DataOps
ETL
&ML
DBMS
Cloud
Big Data
NoSQL
Streams
Object
Storage
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
Best Practice 1: Deployments
Microservices brought a huge change to GoldenGate:
• Microservices
• Oracle GoldenGate Home
• Deployment Home Structure
• New Environment Variables
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
Oracle GoldenGate Home
/opt/app/oracle/product/19.1.0/oggcore_19c
[dr-xr-xr-x oracle oinstall] OPatch
[dr-xr-xr-x oracle oinstall] bin
[dr-xr-xr-x oracle oinstall] cfgtoollogs
[dr-xr-xr-x oracle oinstall] deinstall
[dr-xr-xr-x oracle oinstall] diagnostics
[dr-xr-xr-x oracle oinstall] include
[dr-xr-xr-x oracle oinstall] install
[dr-xr-x--- oracle oinstall] inventory
[dr-xr-xr-x oracle oinstall] jdk
[dr-xr-xr-x oracle oinstall] jlib
[dr-xr-xr-x oracle oinstall] lib
[dr-xr-xr-x oracle oinstall] oui
[dr-xr-xr-x oracle oinstall] srvm
• Directory structure now like Oracle Home
($ORACLE_HOME)
• After installation $OGG_HOME should be changed to
Read-Only
• Prevents unauthorized changes
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
Oracle GoldenGate Deployment Home
/u01/gg_deployments
|-- [drwxr-x--- oracle oinstall] Atlanta
| |-- [drwxr-x--- oracle oinstall] bdb
| |-- [drwxr-x--- oracle oinstall] etc
| `-- [drwxr-x--- oracle oinstall] var
|-- [drwxr-x--- oracle oinstall] NewYork
| |-- [drwxr-x--- oracle oinstall] bdb
| |-- [drwxr-x--- oracle oinstall] etc
| `-- [drwxr-x--- oracle oinstall] var
`-- [drwxr-x--- oracle oinstall] ServiceManager
|-- [drwxr-x--- oracle oinstall] bin
|-- [drwxr-x--- oracle oinstall] etc
`-- [drwxr-x--- oracle oinstall] var
• Directory structure resides outside of $OGG_HOME
• All deployments should reside in a standard location
• File System (NFS, SAN, DBFS, ACFS, etc.)
• Docker Volumes (supported)
• Directory should be read-write for Oracle user
(assumption)
• Only appears in ServiceManager directory
• registerServiceManager.sh
• only if set to daemon
• startSM.sh (only if manual/XAG)
• stopSM.sh (only if manual/XAG)
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
Deployment Home
ServiceManager
Deployment Home
TF
Nginx
Extract Replicat
Design Tips
• Locations
• Regional Approaches
• Sub-Setting
• Application
• Type of Application
Unified Libraries
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
Best Practice 2: Upgrades
Microservices enable easier upgrades:
• Microservices
• Utilities
• Leap Frogging
• Upgrades from Microservices
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
Utilities
• August 2017 – Microservices release, no upgrade utility
• Planned upgrade utility
• Started in 2019 (late)/2021 (pending)
• Limited use-cases
• Oracle Supported via My Oracle Support (MOS) Note (pending)
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
Leap Frogging
Source
Extract Pump
Trail
Files
Manager
Target
Replicat
Trail
Files
Admin
Srvr
Distro
Srvr
Rec
Srvr
Service
Mgr
PM
Srvr
Nginx (Reverse Proxy)
1. Classic Extract captures from Source and builds trail file
2. Pump ship trails to Microservices Receiver Service
3. Microservices Replicat reads trail and applies to Target
4. Convert Target to Source, New Target built with Microservices
Classic to Microservices
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
$OGG_HOME
12.3/18.1/19.1
(MA)
etc
$DEPLOYMENT_HOME
(ServiceManager)
var
bin
etc
$DEPLOYMENT_HOME
var
etc
$DEPLOYMENT_HOME
var
Microservices Upgrade
curl -L -X PATCH
'https://localhost/services/v2/deployments/ServiceManager' 
-H 'Authorization: Basic b2dnYWRtaW46V2VsY29tZTE=' 
-H 'Content-Type: text/plain' 
--data-raw '{
"oggHome":"/opt/app/oracle/product/21.3.0/oggcore_1",
"status":"restart"
}'
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
Copyright © 2019 Oracle and/or its affiliates.
etc
$DEPLOYMENT_HOME
(ServiceManager)
var
bin
etc
$DEPLOYMENT_HOME
var
etc
$DEPLOYMENT_HOME
var
$OGG_HOME
21.3.0.x (MA)
Microservices Upgrade
curl -L -X PATCH 'https://localhost/services/v2/deployments/Atlanta' 
-H 'Authorization: Basic b2dnYWRtaW46V2VsY29tZTE=' 
-H 'Content-Type: text/plain' 
--data-raw '{
"oggHome":"/opt/app/oracle/product/21.3.0/oggcore_1",
"oggEtcHome":"/opt/gg_deployments/Atlanta/etc",
"oggVarHome":"/opt/gg_deployments/Atlanta/var",
"environment"{
"tns_admin":"/opt/app/oracle/product/18.1.0/network/admin"
}
"status":"restart"
}'
$OGG_HOME
12.3/18.1/19.1
(MA)
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
Copyright © 2019 Oracle and/or its affiliates.
etc
$DEPLOYMENT_HOME
(ServiceManager)
var
bin
etc
$DEPLOYMENT_HOME
var
etc
$DEPLOYMENT_HOME
var
$OGG_HOME
21.3.0.x (MA)
Microservices Upgrade
$OGG_HOME
12.3/18.1/19.1
(MA)
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
Best Practice 3: Security
Security is a theme in Microservices:
• Microservices
• ServiceManager
• Nginx
• User Security – Management Layer
• User Security – Configuration Layer
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
Unsecure or Secure - ServiceManager
ServiceManager
Deployment Home
TF
Nginx
Extract Replicat
11g 12c 19c
18c
Secure
• SSL/TLS security enables and affects all
underlying deployment homes
• Must have Oracle Wallet with Certificates
for host and distribution path
Unsecure
• SSL/TLS security disabled and affects all
underlying deployment homes
Cannot mix security, all or nothing approach
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
Unsecure or Secure - Nginx
ServiceManager
Deployment Home
TF
Nginx
Extract Replicat
11g 12c 19c
18c
Secure
• Consolidates ports required for services
down to a single port
• Keeps Firewall Admins friendly
Unsecure
• Required to open a minimum of 6 ports for
first deployment, plus 5 additional ports
for each deployment added.
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
Unsecure or Secure - Nginx
ServiceManager
Deployment Home
TF
Nginx
Extract Replicat
11g 12c 19c
18c
#!/bin/bash
# Copyright (c) 2020 RheoData, LLC and/or its affiliates. All rights reserved.
#
# Since: March 2019
# Author: Bobby Curtis <bobby.curtis@rheodata.com>
# Description: configureNginx
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
#
vServiceManagerUser=$1
vPassword=$2
vPort=$3
export JAVA_HOME=${OGG_HOME}/jdk
echo ${JAVA_HOME}
echo ${OGG_HOME}
cd ${OGG_HOME}/lib/utl/reverseproxy
./ReverseProxySettings -u $vServiceManagerUser -P $vPassword -o ogg.conf
https://localhost:$vPort
sudo cp ogg.conf /etc/nginx/conf.d/nginx.conf
sudo sh /etc/ssl/certs/make-dummy-cert /etc/nginx/ogg.pem
sudo nginx
sudo nginx -t
sudo nginx -s reload
• Nginx is not installed by default with OGGMA.
• Requires a new yum repo to be configured.
• Nginx must be refreshed after each deployment
added
• Port 80 or 443 will be based on ServiceManager
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
Users Security – Management Layer
ServiceManager
Deployment 1 … N
Security
Administrator
Operator
User
Security
Administrator
Operator
User
Access (ServiceManager)
Access (Deployment)
ServiceManager roles have
access to all underlying
deployments at the permissions
granted by the role.
Assign to DBAs and Mgmt
Roles assigned within a
deployment have the underlying
permissions granted to only the
deployment which granted.
Assign to Jr. DBAs and DevOps
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
User Security – Configuration Layer
Oracle GoldenGate Classic
User Alias Purpose
C##GGATE CDB User
GGATE PDB User
SGGATE Database UserIDAlias
Oracle GoldenGate Microservices
User Alias Purpose
C##GGATE CDB User
GGATE PDB User
SGGATE Database
UserIDAlias
PDBGGATE PDB UserIDAlias
OGGADMIN ServiceManager
STREAMADMIN Distribution Service
curl -L -X POST
'https://localhost/Atlanta/adminsrvr/services/v2/credentials/
OracleGoldenGate/SGGATE' 
-H 'Authorization: Basic b2dnYWRtaW46V0VsY29tZTEyMzQ1IyM=' 
-H 'Content-Type: text/plain' 
--data-raw '{
"userid":"c##ggate@10.20.1.2:1539/orcl.rheodata.com",
"password":"WElcome12345##"
}'
add credentialstore add user
c##ggate@10.20.1.2:1539/orcl.rheodata.com", 
password WElcome12345## 
alias SGGATE 
domain OracleGoldenGate
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
Best Practice 4: APIs
APIs are the optimal way of working with Oracle GoldenGate Microservices:
• Microservices
• Write once, Run Multiple
• Script it out
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
APIs – General Information
• Oracle GoldenGate 12c, 18c, 19c & 21c for Microservices
• All administration functions can be performed with RESTful APIs
• Core Documentation
• https://docs.oracle.com/en/middleware/goldengate/core/21.3/index.html
• RESTful API Documentation (21.1.0.0.x)
• https://docs.oracle.com/en/middleware/goldengate/core/21.1/oggra/
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
API
curl -X POST 
http://{hostname}:{port}/services/v2/connections/{Domain}.{Alias}/trandata/table 
--user ‘{ServiceManagerUser}:{password}' 
-H 'cache-control: no-cache' 
-d '{
"operation":"add",
"tableName":"pdb1.inittest.optype_test"
}'
Database - Trandata
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
API
curl -X POST 
http://{hostname}:{port}/services/v2/connections/{Domain}.{Alias}/trandata/schema 
-- user ‘{ServiceManagerUser}:{password}' 
-H 'cache-control: no-cache' 
-d '{
"operation":"add",
"schemaName":"oggtst1.soe"
}'
Database - SchemaTrandata
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
API
curl -X POST 
http://{hostname}:{port}/services/v2/extracts/{Ex
tractName} 
-- user ‘{ServiceManagerUser}:{password}' 
-H 'cache-control: no-cache' 
-d '{
"description":"Integrated Extract",
"config":[
"Extract IEPKTST",
"ExtTrail bc",
"UseridAlias SGGATE",
"sourcecatalog pdb1;",
"Table inittest.pktst_table, getbeforecols(on
update all, on delete all);"
],
"source":{
"tranlogs":"integrated"
},
"credentials":{
"alias":"SGGATE"
},
"registration":{
"containers": [ "pdb1" ],
"optimized":false
},
"begin":"now",
"targets":[
{
"name":"bc",
"sizeMB":250
}
],
"status":"start"
}'
• Configure, Build, and Run from a
single command
• Source Controlled Extract
Extracts
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
API
• Configure, Build, and Run from a
single command
• Source Controlled Replicat
curl -X POST 
http://{hostname}:{port}/services/v2/replicats/{Repli
catName} 
-- user ‘{ServiceManagerUser}:{password}' 
-H 'cache-control: no-cache' 
-d '{
"config":[
"Replicat IRPKTST",
"UseridAlias TGGATE",
"Map pdb1.inittest.pktst_table, Target
inittest.pktst_table, colmap(usedefaults,
optype=@getenv('''ggheader''','''optype'''),
beforerid=@before(rid));"
],
"source":{
"name":"bd"
},
"credentials":{
"alias":"TGGATE"
},
"checkpoint":{
"table":"ggate.checkpoint"
},
"mode":{
"type":"integrated",
"parallel": false
},
"registration": "standard",
"begin":"now",
"status":"running"
}'
Replicats
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
Agenda
� GoldenGate for Oracle
� GoldenGate (Microservices) Enhancements
� Microservices (Best Practices)
� Deprecated and Desupported Features
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
Deprecated and Desupported Features
• Deprecated Features
• Oracle Sharding using OGG (still supported in 21c)
� Oracle GoldenGate Classic Architecture for Oracle and Heterogenous (DB2 z/OS, MySQL, MS SQL Server, and
PostgresSQL) (as of 21c)
• Desupprted Features
• Classic Extract for Oracle (deprecated as of 18c)
• Removal of NO_OBJECTDEFS and USE_TRAILDEFS parameters
• UDT Protocol in Distro Service and Receiver Service
• RMTTASK
• OPTIMIZE_PROGRESS_TABLE parameter
• NO_OBJECTDEFS and NO_TRAILDEFS parameters
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
In Closing
The future of Data Integration Automation is through
Microservices, which enables organizations to
transform, automate, and scale their data movement
environments.
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
https://www.linkedin.com/company/rheodata
@rheodatallc
info@rheodata.com
LinkedIn
Twitter
Email
Copyright, 2021 RheoData and affiliates
www.rheodata.com @rheodatallc
Contact RheoData
info@rheodata.com
@rheodatallc http://rheodata.com
Transform, Automate, Scale … today and in the future!

More Related Content

What's hot

Understand oracle real application cluster
Understand oracle real application clusterUnderstand oracle real application cluster
Understand oracle real application cluster
Satishbabu Gunukula
 
Oracle Database Enterprise Edition で解決する データベースシステムの課題 (12c対応版)
Oracle Database Enterprise Edition で解決するデータベースシステムの課題 (12c対応版)Oracle Database Enterprise Edition で解決するデータベースシステムの課題 (12c対応版)
Oracle Database Enterprise Edition で解決する データベースシステムの課題 (12c対応版)
オラクルエンジニア通信
 

What's hot (20)

Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slides
 
Oracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONOracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLON
 
What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1
 
Oracle data guard for beginners
Oracle data guard for beginnersOracle data guard for beginners
Oracle data guard for beginners
 
Oracle RAC 12c Overview
Oracle RAC 12c OverviewOracle RAC 12c Overview
Oracle RAC 12c Overview
 
Hit Refresh with Oracle GoldenGate Microservices
Hit Refresh with Oracle GoldenGate MicroservicesHit Refresh with Oracle GoldenGate Microservices
Hit Refresh with Oracle GoldenGate Microservices
 
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACThe Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
 
GoldenGateテクニカルセミナー3「Oracle GoldenGate Technical Deep Dive」(2016/5/11)
GoldenGateテクニカルセミナー3「Oracle GoldenGate Technical Deep Dive」(2016/5/11)GoldenGateテクニカルセミナー3「Oracle GoldenGate Technical Deep Dive」(2016/5/11)
GoldenGateテクニカルセミナー3「Oracle GoldenGate Technical Deep Dive」(2016/5/11)
 
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfOracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
 
Understand oracle real application cluster
Understand oracle real application clusterUnderstand oracle real application cluster
Understand oracle real application cluster
 
Oracle RAC features on Exadata
Oracle RAC features on ExadataOracle RAC features on Exadata
Oracle RAC features on Exadata
 
How to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata EnvironmentsHow to Use EXAchk Effectively to Manage Exadata Environments
How to Use EXAchk Effectively to Manage Exadata Environments
 
Oracle Multitenant meets Oracle RAC - IOUG 2014 Version
Oracle Multitenant meets Oracle RAC - IOUG 2014 VersionOracle Multitenant meets Oracle RAC - IOUG 2014 Version
Oracle Multitenant meets Oracle RAC - IOUG 2014 Version
 
Oracle Goldengate training by Vipin Mishra
Oracle Goldengate training by Vipin Mishra Oracle Goldengate training by Vipin Mishra
Oracle Goldengate training by Vipin Mishra
 
Oracle 12c PDB insights
Oracle 12c PDB insightsOracle 12c PDB insights
Oracle 12c PDB insights
 
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best PracticesOracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
 
Oracle Database Enterprise Edition で解決する データベースシステムの課題 (12c対応版)
Oracle Database Enterprise Edition で解決するデータベースシステムの課題 (12c対応版)Oracle Database Enterprise Edition で解決するデータベースシステムの課題 (12c対応版)
Oracle Database Enterprise Edition で解決する データベースシステムの課題 (12c対応版)
 
Oracle Data Guard
Oracle Data GuardOracle Data Guard
Oracle Data Guard
 
Oracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACOracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RAC
 
Oracle ASM Training
Oracle ASM TrainingOracle ASM Training
Oracle ASM Training
 

Similar to Oracle GoldenGate 21c New Features and Best Practices

Resume_Mohammed_Ali_Updated
Resume_Mohammed_Ali_UpdatedResume_Mohammed_Ali_Updated
Resume_Mohammed_Ali_Updated
Mohammed Ali
 
Triple C - Centralize, Cloudify and Consolidate Dozens of Oracle Databases (O...
Triple C - Centralize, Cloudify and Consolidate Dozens of Oracle Databases (O...Triple C - Centralize, Cloudify and Consolidate Dozens of Oracle Databases (O...
Triple C - Centralize, Cloudify and Consolidate Dozens of Oracle Databases (O...
Lucas Jellema
 

Similar to Oracle GoldenGate 21c New Features and Best Practices (20)

2019 - GUOB Tech Day / Groundbreakers LAD Tour - Database Migration Methods t...
2019 - GUOB Tech Day / Groundbreakers LAD Tour - Database Migration Methods t...2019 - GUOB Tech Day / Groundbreakers LAD Tour - Database Migration Methods t...
2019 - GUOB Tech Day / Groundbreakers LAD Tour - Database Migration Methods t...
 
ECO 2022 - OCI and HashiCorp Terraform
ECO 2022 - OCI and HashiCorp TerraformECO 2022 - OCI and HashiCorp Terraform
ECO 2022 - OCI and HashiCorp Terraform
 
2019 - OOW - Database Migration Methods from On-Premise to Cloud
2019 - OOW - Database Migration Methods from On-Premise to Cloud2019 - OOW - Database Migration Methods from On-Premise to Cloud
2019 - OOW - Database Migration Methods from On-Premise to Cloud
 
Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2
 
Database As A Service: OEM + ODA (OOW 15 Presentation)
Database As A Service: OEM + ODA (OOW 15 Presentation)Database As A Service: OEM + ODA (OOW 15 Presentation)
Database As A Service: OEM + ODA (OOW 15 Presentation)
 
VMworld 2013: Virtualizing Mission Critical Oracle RAC with vSphere and vCOPS
VMworld 2013: Virtualizing Mission Critical Oracle RAC with vSphere and vCOPSVMworld 2013: Virtualizing Mission Critical Oracle RAC with vSphere and vCOPS
VMworld 2013: Virtualizing Mission Critical Oracle RAC with vSphere and vCOPS
 
I one Service Offerings
I one Service OfferingsI one Service Offerings
I one Service Offerings
 
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...
 
Oracle RAC - New Generation
Oracle RAC - New GenerationOracle RAC - New Generation
Oracle RAC - New Generation
 
Resume_Mohammed_Ali_Updated
Resume_Mohammed_Ali_UpdatedResume_Mohammed_Ali_Updated
Resume_Mohammed_Ali_Updated
 
2020 - OCI Key Concepts for Oracle DBAs
2020 - OCI Key Concepts for Oracle DBAs2020 - OCI Key Concepts for Oracle DBAs
2020 - OCI Key Concepts for Oracle DBAs
 
MongoDB World 2019: Why NBCUniversal Migrated to MongoDB Atlas
MongoDB World 2019: Why NBCUniversal Migrated to MongoDB AtlasMongoDB World 2019: Why NBCUniversal Migrated to MongoDB Atlas
MongoDB World 2019: Why NBCUniversal Migrated to MongoDB Atlas
 
[db tech showcase Tokyo 2017] C34: Replacing Oracle Database at DBS Bank ~Ora...
[db tech showcase Tokyo 2017] C34: Replacing Oracle Database at DBS Bank ~Ora...[db tech showcase Tokyo 2017] C34: Replacing Oracle Database at DBS Bank ~Ora...
[db tech showcase Tokyo 2017] C34: Replacing Oracle Database at DBS Bank ~Ora...
 
Migrating on premises workload to azure sql database
Migrating on premises workload to azure sql databaseMigrating on premises workload to azure sql database
Migrating on premises workload to azure sql database
 
Scaling paypal workloads with oracle rac ss
Scaling paypal workloads with oracle rac ssScaling paypal workloads with oracle rac ss
Scaling paypal workloads with oracle rac ss
 
Oracle GoldenGate Microservices Overview ( with Demo )
Oracle GoldenGate Microservices Overview ( with Demo )Oracle GoldenGate Microservices Overview ( with Demo )
Oracle GoldenGate Microservices Overview ( with Demo )
 
Triple C - Centralize, Cloudify and Consolidate Dozens of Oracle Databases (O...
Triple C - Centralize, Cloudify and Consolidate Dozens of Oracle Databases (O...Triple C - Centralize, Cloudify and Consolidate Dozens of Oracle Databases (O...
Triple C - Centralize, Cloudify and Consolidate Dozens of Oracle Databases (O...
 
Resume
ResumeResume
Resume
 
Oracle OpenWorld 2014 Review Part Four - PaaS Middleware
Oracle OpenWorld 2014 Review Part Four - PaaS MiddlewareOracle OpenWorld 2014 Review Part Four - PaaS Middleware
Oracle OpenWorld 2014 Review Part Four - PaaS Middleware
 
Why NBC Universal Migrated to MongoDB Atlas
Why NBC Universal Migrated to MongoDB AtlasWhy NBC Universal Migrated to MongoDB Atlas
Why NBC Universal Migrated to MongoDB Atlas
 

More from Bobby Curtis

More from Bobby Curtis (20)

MySQLHeatwave-TheBasics.pptx
MySQLHeatwave-TheBasics.pptxMySQLHeatwave-TheBasics.pptx
MySQLHeatwave-TheBasics.pptx
 
Improve PostgreSQL replication with Oracle GoldenGate
Improve PostgreSQL replication with Oracle GoldenGateImprove PostgreSQL replication with Oracle GoldenGate
Improve PostgreSQL replication with Oracle GoldenGate
 
Terraform & Oracle Cloud Infrastructure
Terraform & Oracle Cloud InfrastructureTerraform & Oracle Cloud Infrastructure
Terraform & Oracle Cloud Infrastructure
 
Oracle GoldenGate on Docker
Oracle GoldenGate on DockerOracle GoldenGate on Docker
Oracle GoldenGate on Docker
 
OOW19 - HOL5221
OOW19 - HOL5221OOW19 - HOL5221
OOW19 - HOL5221
 
GoldenGate CDR from UKOUG 2017
GoldenGate CDR from UKOUG 2017GoldenGate CDR from UKOUG 2017
GoldenGate CDR from UKOUG 2017
 
Oracle GoldenGate and Baseball - 5 Keys for Moving to the Cloud
Oracle GoldenGate and Baseball - 5 Keys for Moving to the CloudOracle GoldenGate and Baseball - 5 Keys for Moving to the Cloud
Oracle GoldenGate and Baseball - 5 Keys for Moving to the Cloud
 
Oracle GoldenGate Studio Intro
Oracle GoldenGate Studio IntroOracle GoldenGate Studio Intro
Oracle GoldenGate Studio Intro
 
5 Keys to Oracle GoldenGate Implemenations
5 Keys to Oracle GoldenGate Implemenations5 Keys to Oracle GoldenGate Implemenations
5 Keys to Oracle GoldenGate Implemenations
 
Enable GoldenGate Monitoring with OEM 12c/JAgent
Enable GoldenGate Monitoring with OEM 12c/JAgentEnable GoldenGate Monitoring with OEM 12c/JAgent
Enable GoldenGate Monitoring with OEM 12c/JAgent
 
Extreme replication at IOUG Collaborate 15
Extreme replication at IOUG Collaborate 15Extreme replication at IOUG Collaborate 15
Extreme replication at IOUG Collaborate 15
 
Examining Oracle GoldenGate Trail Files
Examining Oracle GoldenGate Trail FilesExamining Oracle GoldenGate Trail Files
Examining Oracle GoldenGate Trail Files
 
Exachk and oem12c - IOUG C15LV
Exachk and oem12c - IOUG C15LVExachk and oem12c - IOUG C15LV
Exachk and oem12c - IOUG C15LV
 
Extreme Replication - RMOUG Presentation
Extreme Replication - RMOUG PresentationExtreme Replication - RMOUG Presentation
Extreme Replication - RMOUG Presentation
 
IOUG Data Integration SIG w/ Oracle GoldenGate Solutions and Configuration
IOUG Data Integration SIG w/ Oracle GoldenGate Solutions and ConfigurationIOUG Data Integration SIG w/ Oracle GoldenGate Solutions and Configuration
IOUG Data Integration SIG w/ Oracle GoldenGate Solutions and Configuration
 
Oracle virtualbox basic to rac attack
Oracle virtualbox basic to rac attackOracle virtualbox basic to rac attack
Oracle virtualbox basic to rac attack
 
Oracle GoldenGate 12c CDR Presentation for ECO
Oracle GoldenGate 12c CDR Presentation for ECOOracle GoldenGate 12c CDR Presentation for ECO
Oracle GoldenGate 12c CDR Presentation for ECO
 
How many ways to monitor oracle golden gate - OOW14
How many ways to monitor oracle golden gate - OOW14How many ways to monitor oracle golden gate - OOW14
How many ways to monitor oracle golden gate - OOW14
 
Exachk and oem12c
Exachk and oem12cExachk and oem12c
Exachk and oem12c
 
Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)
Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)
Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

Oracle GoldenGate 21c New Features and Best Practices

  • 1. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc Oracle GoldenGate 21c New Features and Best Practices 8/18/2021 Presentation will start 3 minutes after
  • 2. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc About RheoData A global systems integrator headquartered in Atlanta, Georgia. Providing solutions across the enterprise with architecture design/assessments, implementation, data replication, and professional services to ensure high- quality enterprise systems leveraging Oracle and Microsoft technologies. RheoData works hand-in-hand with our strategic partners and their sales teams to build and deploy high performance and scalable enterprise solutions in addition to providing clients with cost savings professional services for turnkey enterprise management.
  • 3. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc Our Mission: Enabling businesses to transform through automation at a time when companies must change in order to scale
  • 4. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc License Management for Oracle, HashiCorp, and Cloud Get the most out of your license DBA Services Remote and On-Site Professional Services Where and when you need it the most Migrations Zero Downtime Health Checks How are you running? On-Call Support Managed Services Tactical Assistance Program (TAP) Experts to help design and manage complex architecture Take Cloud to next level Automation of Cloud
  • 5. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc Speaker Bobby Curtis, MBA Atlanta, GA • Author • Speaker • Former Product Manger for GoldenGate • Oracle ACE Director (Alumni) @dbasolved https://dbasolved.com bobby.curtis@rheodata.com
  • 6. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc Agenda � GoldenGate for Oracle  GoldenGate (Microservices) Enhancements  Microservices (Best Practices)  Deprecated and Desupported Features
  • 7. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc OGG 21c New Features (Oracle) � Automatic Table Extract – DDL to enable GoldenGate to start/stop capture on a table (DB 21c feature) � Unified Builds – Bundles all database clients and supports Oracle databases per cert matrix • ADW Capture Support – ATP (dedicated), ADW (dedicated) and ATP/ADW on ExaCC/ExaCS • Kerberos Authentication – External authentication for database login (DBLOGIN) for Kerberos Accounts • Simplified Heartbeat Administration – External • Native JSON Support – Capture (extract) and Apply (replicat) now support the native JSON datatype (DB 21c feature) • AutoCDR Enhancements – Earliest Timestamp, Delete always wins, & Site priority resolution (DB 21c feature) • Partition Name Filtering – Filtering by partition name (PARTITION/PARTITIONEXCLUDE) • DB_UNIQUE_NAME – Available in trail files and heartbeat tables • DDL > 4MB – Large DDL text is supported (up to 4MB) • Enhanced PR and IR reports – Enhanced diagnosis capabilities for Parallel and Integrated Replicat • Certificate Management – Create and Manage server and client certificates from web interface • Multiple Certs for WSS Protocol – Store and use multiple client certificates for authentication � Microservices Only – Starting in 21c, Oracle GoldenGate is available with Microservices Only (Classic and Microservices released)
  • 8. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc Automatic Table Extract DDL to enable OGG to start/stop capturing a table • Requires Oracle Database 21c or later • Disabled by default OGG Parameter: TRANLOGOPTIONS INTEGRATEDPARAMS (enable_auto_capture Y) Use INFO EXTRACT to see setting for each Extract Database: • Enabling Supplemental Logging on a table will trigger auto-capture • Setting ENABLE LOGICAL REPLICATION on a table with supplemental logging, triggering auto-capture • Can be done as a CREATE or ALTER TABLE ddl command
  • 9. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc Unified Builds Microservices Architecture: Database Instant Client Libraries - $OGG_HOME/bin/instantclient Environment Variables: ORACLE_HOME=$OGG_HOME/lib/instantclient LD_LIBRARY_PATH=$OGG_HOME/lib:$OGG_HOME/lib/instantclient
  • 10. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc Agenda � GoldenGate for Oracle � GoldenGate (Microservices) Enhancements  Microservices (Best Practices)  Deprecated and Desupported Features
  • 11. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc OGG 21c Microservices Enhancements � Unified Web UI for Deployments – No more different tabs within browser � Simplified Certificate Management – no more direct manipulation of Oracle Wallet to add/replace certificates • Client Certificate Selection – Support for choosing certificates for Distribution Paths • Migration Utility – Classic to Microservices migration utility (pending) • Security Improvements – Unix Domain Sockets for inter-process communication with Performance Metric Service � Microservices for Heterogenous – Starting in 21c, bring more flexibility to data architectures
  • 12. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc Microservices for Heterogenous Microservices Architecture: • More flexibility for heterogenous environments • Cleaner interoperability between environments • Work remotely across the enterprise
  • 13. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc Unified Web UI Microservices Architecture: • All Services of deployment in a single browser page
  • 14. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc Simplified Certificate Management Microservices Architecture: • Web UI and REST APIs: • View/Replace Certificates • Add multiple client certificates • Add trust points (CA certs) • Not Supported – Direct manipulation of wallets after installation • Distribution Paths can select which client certificate to present to remote site
  • 15. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc Agenda � GoldenGate for Oracle � GoldenGate (Microservices) Enhancements � Microservices (Best Practices)  Deprecated and Desupported Features
  • 16. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc Oracle GoldenGate Microservices Source Target Uni-Directional or Active/Active Extract Replicat Trail Files Trail Files Active/Active AdminSrvr DistroSrvr RecSrvr ServiceMgr PMSrvr Nginx (Reverse Proxy) CMD REST HTML PL/SQL
  • 17. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc To Hub or Not To Hub What is a HUB architecture? What is Data Mesh?
  • 18. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc ServiceManager Deployment Home TF Nginx Extract Replicat Hub Architecture Unified Libraries Streaming and DataOps ETL &ML DBMS Cloud Big Data NoSQL Streams Object Storage
  • 19. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc Best Practice 1: Deployments Microservices brought a huge change to GoldenGate: • Microservices • Oracle GoldenGate Home • Deployment Home Structure • New Environment Variables
  • 20. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc Oracle GoldenGate Home /opt/app/oracle/product/19.1.0/oggcore_19c [dr-xr-xr-x oracle oinstall] OPatch [dr-xr-xr-x oracle oinstall] bin [dr-xr-xr-x oracle oinstall] cfgtoollogs [dr-xr-xr-x oracle oinstall] deinstall [dr-xr-xr-x oracle oinstall] diagnostics [dr-xr-xr-x oracle oinstall] include [dr-xr-xr-x oracle oinstall] install [dr-xr-x--- oracle oinstall] inventory [dr-xr-xr-x oracle oinstall] jdk [dr-xr-xr-x oracle oinstall] jlib [dr-xr-xr-x oracle oinstall] lib [dr-xr-xr-x oracle oinstall] oui [dr-xr-xr-x oracle oinstall] srvm • Directory structure now like Oracle Home ($ORACLE_HOME) • After installation $OGG_HOME should be changed to Read-Only • Prevents unauthorized changes
  • 21. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc Oracle GoldenGate Deployment Home /u01/gg_deployments |-- [drwxr-x--- oracle oinstall] Atlanta | |-- [drwxr-x--- oracle oinstall] bdb | |-- [drwxr-x--- oracle oinstall] etc | `-- [drwxr-x--- oracle oinstall] var |-- [drwxr-x--- oracle oinstall] NewYork | |-- [drwxr-x--- oracle oinstall] bdb | |-- [drwxr-x--- oracle oinstall] etc | `-- [drwxr-x--- oracle oinstall] var `-- [drwxr-x--- oracle oinstall] ServiceManager |-- [drwxr-x--- oracle oinstall] bin |-- [drwxr-x--- oracle oinstall] etc `-- [drwxr-x--- oracle oinstall] var • Directory structure resides outside of $OGG_HOME • All deployments should reside in a standard location • File System (NFS, SAN, DBFS, ACFS, etc.) • Docker Volumes (supported) • Directory should be read-write for Oracle user (assumption) • Only appears in ServiceManager directory • registerServiceManager.sh • only if set to daemon • startSM.sh (only if manual/XAG) • stopSM.sh (only if manual/XAG)
  • 22. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc Deployment Home ServiceManager Deployment Home TF Nginx Extract Replicat Design Tips • Locations • Regional Approaches • Sub-Setting • Application • Type of Application Unified Libraries
  • 23. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc Best Practice 2: Upgrades Microservices enable easier upgrades: • Microservices • Utilities • Leap Frogging • Upgrades from Microservices
  • 24. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc Utilities • August 2017 – Microservices release, no upgrade utility • Planned upgrade utility • Started in 2019 (late)/2021 (pending) • Limited use-cases • Oracle Supported via My Oracle Support (MOS) Note (pending)
  • 25. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc Leap Frogging Source Extract Pump Trail Files Manager Target Replicat Trail Files Admin Srvr Distro Srvr Rec Srvr Service Mgr PM Srvr Nginx (Reverse Proxy) 1. Classic Extract captures from Source and builds trail file 2. Pump ship trails to Microservices Receiver Service 3. Microservices Replicat reads trail and applies to Target 4. Convert Target to Source, New Target built with Microservices Classic to Microservices
  • 26. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc $OGG_HOME 12.3/18.1/19.1 (MA) etc $DEPLOYMENT_HOME (ServiceManager) var bin etc $DEPLOYMENT_HOME var etc $DEPLOYMENT_HOME var Microservices Upgrade curl -L -X PATCH 'https://localhost/services/v2/deployments/ServiceManager' -H 'Authorization: Basic b2dnYWRtaW46V2VsY29tZTE=' -H 'Content-Type: text/plain' --data-raw '{ "oggHome":"/opt/app/oracle/product/21.3.0/oggcore_1", "status":"restart" }'
  • 27. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc Copyright © 2019 Oracle and/or its affiliates. etc $DEPLOYMENT_HOME (ServiceManager) var bin etc $DEPLOYMENT_HOME var etc $DEPLOYMENT_HOME var $OGG_HOME 21.3.0.x (MA) Microservices Upgrade curl -L -X PATCH 'https://localhost/services/v2/deployments/Atlanta' -H 'Authorization: Basic b2dnYWRtaW46V2VsY29tZTE=' -H 'Content-Type: text/plain' --data-raw '{ "oggHome":"/opt/app/oracle/product/21.3.0/oggcore_1", "oggEtcHome":"/opt/gg_deployments/Atlanta/etc", "oggVarHome":"/opt/gg_deployments/Atlanta/var", "environment"{ "tns_admin":"/opt/app/oracle/product/18.1.0/network/admin" } "status":"restart" }' $OGG_HOME 12.3/18.1/19.1 (MA)
  • 28. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc Copyright © 2019 Oracle and/or its affiliates. etc $DEPLOYMENT_HOME (ServiceManager) var bin etc $DEPLOYMENT_HOME var etc $DEPLOYMENT_HOME var $OGG_HOME 21.3.0.x (MA) Microservices Upgrade $OGG_HOME 12.3/18.1/19.1 (MA)
  • 29. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc Best Practice 3: Security Security is a theme in Microservices: • Microservices • ServiceManager • Nginx • User Security – Management Layer • User Security – Configuration Layer
  • 30. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc Unsecure or Secure - ServiceManager ServiceManager Deployment Home TF Nginx Extract Replicat 11g 12c 19c 18c Secure • SSL/TLS security enables and affects all underlying deployment homes • Must have Oracle Wallet with Certificates for host and distribution path Unsecure • SSL/TLS security disabled and affects all underlying deployment homes Cannot mix security, all or nothing approach
  • 31. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc Unsecure or Secure - Nginx ServiceManager Deployment Home TF Nginx Extract Replicat 11g 12c 19c 18c Secure • Consolidates ports required for services down to a single port • Keeps Firewall Admins friendly Unsecure • Required to open a minimum of 6 ports for first deployment, plus 5 additional ports for each deployment added.
  • 32. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc Unsecure or Secure - Nginx ServiceManager Deployment Home TF Nginx Extract Replicat 11g 12c 19c 18c #!/bin/bash # Copyright (c) 2020 RheoData, LLC and/or its affiliates. All rights reserved. # # Since: March 2019 # Author: Bobby Curtis <bobby.curtis@rheodata.com> # Description: configureNginx # # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. # vServiceManagerUser=$1 vPassword=$2 vPort=$3 export JAVA_HOME=${OGG_HOME}/jdk echo ${JAVA_HOME} echo ${OGG_HOME} cd ${OGG_HOME}/lib/utl/reverseproxy ./ReverseProxySettings -u $vServiceManagerUser -P $vPassword -o ogg.conf https://localhost:$vPort sudo cp ogg.conf /etc/nginx/conf.d/nginx.conf sudo sh /etc/ssl/certs/make-dummy-cert /etc/nginx/ogg.pem sudo nginx sudo nginx -t sudo nginx -s reload • Nginx is not installed by default with OGGMA. • Requires a new yum repo to be configured. • Nginx must be refreshed after each deployment added • Port 80 or 443 will be based on ServiceManager
  • 33. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc Users Security – Management Layer ServiceManager Deployment 1 … N Security Administrator Operator User Security Administrator Operator User Access (ServiceManager) Access (Deployment) ServiceManager roles have access to all underlying deployments at the permissions granted by the role. Assign to DBAs and Mgmt Roles assigned within a deployment have the underlying permissions granted to only the deployment which granted. Assign to Jr. DBAs and DevOps
  • 34. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc User Security – Configuration Layer Oracle GoldenGate Classic User Alias Purpose C##GGATE CDB User GGATE PDB User SGGATE Database UserIDAlias Oracle GoldenGate Microservices User Alias Purpose C##GGATE CDB User GGATE PDB User SGGATE Database UserIDAlias PDBGGATE PDB UserIDAlias OGGADMIN ServiceManager STREAMADMIN Distribution Service curl -L -X POST 'https://localhost/Atlanta/adminsrvr/services/v2/credentials/ OracleGoldenGate/SGGATE' -H 'Authorization: Basic b2dnYWRtaW46V0VsY29tZTEyMzQ1IyM=' -H 'Content-Type: text/plain' --data-raw '{ "userid":"c##ggate@10.20.1.2:1539/orcl.rheodata.com", "password":"WElcome12345##" }' add credentialstore add user c##ggate@10.20.1.2:1539/orcl.rheodata.com", password WElcome12345## alias SGGATE domain OracleGoldenGate
  • 35. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc Best Practice 4: APIs APIs are the optimal way of working with Oracle GoldenGate Microservices: • Microservices • Write once, Run Multiple • Script it out
  • 36. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc APIs – General Information • Oracle GoldenGate 12c, 18c, 19c & 21c for Microservices • All administration functions can be performed with RESTful APIs • Core Documentation • https://docs.oracle.com/en/middleware/goldengate/core/21.3/index.html • RESTful API Documentation (21.1.0.0.x) • https://docs.oracle.com/en/middleware/goldengate/core/21.1/oggra/
  • 37. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc API curl -X POST http://{hostname}:{port}/services/v2/connections/{Domain}.{Alias}/trandata/table --user ‘{ServiceManagerUser}:{password}' -H 'cache-control: no-cache' -d '{ "operation":"add", "tableName":"pdb1.inittest.optype_test" }' Database - Trandata
  • 38. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc API curl -X POST http://{hostname}:{port}/services/v2/connections/{Domain}.{Alias}/trandata/schema -- user ‘{ServiceManagerUser}:{password}' -H 'cache-control: no-cache' -d '{ "operation":"add", "schemaName":"oggtst1.soe" }' Database - SchemaTrandata
  • 39. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc API curl -X POST http://{hostname}:{port}/services/v2/extracts/{Ex tractName} -- user ‘{ServiceManagerUser}:{password}' -H 'cache-control: no-cache' -d '{ "description":"Integrated Extract", "config":[ "Extract IEPKTST", "ExtTrail bc", "UseridAlias SGGATE", "sourcecatalog pdb1;", "Table inittest.pktst_table, getbeforecols(on update all, on delete all);" ], "source":{ "tranlogs":"integrated" }, "credentials":{ "alias":"SGGATE" }, "registration":{ "containers": [ "pdb1" ], "optimized":false }, "begin":"now", "targets":[ { "name":"bc", "sizeMB":250 } ], "status":"start" }' • Configure, Build, and Run from a single command • Source Controlled Extract Extracts
  • 40. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc API • Configure, Build, and Run from a single command • Source Controlled Replicat curl -X POST http://{hostname}:{port}/services/v2/replicats/{Repli catName} -- user ‘{ServiceManagerUser}:{password}' -H 'cache-control: no-cache' -d '{ "config":[ "Replicat IRPKTST", "UseridAlias TGGATE", "Map pdb1.inittest.pktst_table, Target inittest.pktst_table, colmap(usedefaults, optype=@getenv('''ggheader''','''optype'''), beforerid=@before(rid));" ], "source":{ "name":"bd" }, "credentials":{ "alias":"TGGATE" }, "checkpoint":{ "table":"ggate.checkpoint" }, "mode":{ "type":"integrated", "parallel": false }, "registration": "standard", "begin":"now", "status":"running" }' Replicats
  • 41. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc Agenda � GoldenGate for Oracle � GoldenGate (Microservices) Enhancements � Microservices (Best Practices) � Deprecated and Desupported Features
  • 42. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc Deprecated and Desupported Features • Deprecated Features • Oracle Sharding using OGG (still supported in 21c) � Oracle GoldenGate Classic Architecture for Oracle and Heterogenous (DB2 z/OS, MySQL, MS SQL Server, and PostgresSQL) (as of 21c) • Desupprted Features • Classic Extract for Oracle (deprecated as of 18c) • Removal of NO_OBJECTDEFS and USE_TRAILDEFS parameters • UDT Protocol in Distro Service and Receiver Service • RMTTASK • OPTIMIZE_PROGRESS_TABLE parameter • NO_OBJECTDEFS and NO_TRAILDEFS parameters
  • 43. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc In Closing The future of Data Integration Automation is through Microservices, which enables organizations to transform, automate, and scale their data movement environments.
  • 44. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc https://www.linkedin.com/company/rheodata @rheodatallc info@rheodata.com LinkedIn Twitter Email
  • 45. Copyright, 2021 RheoData and affiliates www.rheodata.com @rheodatallc Contact RheoData info@rheodata.com @rheodatallc http://rheodata.com Transform, Automate, Scale … today and in the future!

Editor's Notes

  1. Thanks Trevor! For the last few years, everyone has heard about Cloud, Cloud, Cloud…. Every vendor has their own cloud strategy and how to get customers into their cloud, but what people are not talking about is what happens after the customer is in their cloud. Afterall, platform modernization is all about moving to a new platform and doing so via a lift-n-shift.
  2. Thanks Trevor! For the last few years, everyone has heard about Cloud, Cloud, Cloud…. Every vendor has their own cloud strategy and how to get customers into their cloud, but what people are not talking about is what happens after the customer is in their cloud. Afterall, platform modernization is all about moving to a new platform and doing so via a lift-n-shift.