1 Preparing for Oracle GoldenGate Microservices
Learn about the preliminary tasks to perform for setting and using Oracle GoldenGate Microservices.
Topics:
Preparing the Database
Configure the Oracle Database for Oracle GoldenGatereplication.
Prerequisites for Database Sharding
-
Set the
STREAMS_POOL_SIZE
to at least 1200 MB. -
Load Oracle GoldenGate sharding PL/SQL packages prior to deploying, which in turn adds the
ggadmin
schema. -
Install a client wallet for database to communicate through the PL/SQL
utl_http
routines with Oracle GoldenGate service endponits.
Setting Environment Variables
You can set the Microservices-specific environment variables while performing the deployment tasks:
-
Oracle GoldenGate Configuration Assistant (OGGCA)
-
SSL/TLS Security (Optional)
The following environment variables are set for the Oracle GoldenGate Configuration Assistant, oggca.sh
:
-
ORACLE_HOME
export ORACLE_HOME=database_install_location
-
OGG_HOME
export OGG_HOME=ogg_install_location
-
LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
-
TNS_ADMIN
export TNS_ADMIN=$ORACLE_HOME/network/admin
-
PATH
export PATH=$OGG_HOME/bin:$PATH
-
Oracle_SID
- Oracle Database SID
An additional environment variable is required to set up a secure deployment:
See Components of Oracle GoldenGate Microservices Architecture.
-
Linux:
LD_LIBRARY_PATH
-
IBM i and AIX:
LIBPATH
-
Solaris:
SHLIB_PATH
-
Windows:
PATH
Note:
For using any command line utility, you must set up theOGG_HOME
, OGG_VAR_HOME
, and OGG_ETC_HOME
variables correctly in the environment.
Data Replication Task Roadmap
There are a number of tasks you must perform to set up data replication.
Task | Description |
Run the Oracle GoldenGate Configuration Assistant (oggca) to create and configure secure and non-secure deployments | See Setting Up Secure and Non-Secure Deployment |
Login to Service Manager | When you log in to Service Manager, you can see the status of other servers (Administration Server, Distribution Server, Performance Metrics Server, and Receiver Server). See How to Connect to Service Manager |
Add Credential Store | Set up the user id and password to connect to the database before you create an Extract. See How to Add Database Credentials. You can also set up your domain alias while setting up the Credentials configuration. |
Add Extracts | How to Add Extracts |
Register the Extract | You need to register an Extract when creating an Integrated Extract. See How to Add Extracts. |
Add Distribution Path | See How to Add a Distribution Path |
Add Replicats | See How to Add Replicats |
Start the Extract | See How to Add an Extract |
Start the Distribution Path | See How to Add a Distribution Path |
Start the Replicat | See How to Add a Replicat |
Check the Receiver Server for path details | See Monitoring Paths |
Monitor Extracts and Replicats | See Monitoring Paths and Tuning Network Parameters and Monitoring Server Performance |
Monitor the Performance Metrics | See Monitoring Performance |