Introduction:

Oracle GoldenGate is a software product that allows you to replicate, filter, and transform data from one database to another database.

Enterprise data is typically distributed across the enterprise in heterogeneous databases. To get data between different data sources, you can use Oracle GoldenGate to load, distribute, and filter transactions within your enterprise in real-time and enable migrations between different databases in near zero-downtime.

Prerequisites:

Before starting, ensure the following:

  • Two machines with OS Linux 7 (64-bit)
  • Minimum 4 GB RAM (recommended)
  • At least 10 GB free disk space
  • Oracle Database 19c installed and running on source and target database
  • Both source and target database have ARCHIVELOG mode ON.

Environment Details:

 Attributes

Machine 1

Machine 2

Server Name

ggmachine01

ggmachine02

OS Version

Oracle Linux Server 8.8

Oracle Linux Server 8.8

Database Version

Oracle Database 19c

Oracle Database 19c

GoldenGate Version

 Oracle GoldenGate 23.4 Oracle GoldenGate 23.4

Software download options:

We can download the Goldengate software from any of the below two links :-

  1. http://www.oracle.com/technetwork/middleware/goldengate/downloads/index.html
  2. https://edelivery.oracle.com

Binary Installation:

Unzip the downloaded software zip file.

Update the oggcore.rsp file:

For Silent installation, we need to have the response file ready with the environment information. Below are the details which needs to be filled in the oggcore.rsp file for binary installation.

Perform silent installation:

Once the responsefile is updated and ready we will run the below command

Once the installation is done successfully, it will give the information that installation is successful and we can tail the log from the given location to get more details during installation.

To verify the installation, we will go to the goldengate home bin directory.

Service and Deployment Configuration:

service manager and deployment creation using silent installation:

setup the response file for below parameters in oggca.rsp.

Once, the response file is configured run the oggca.sh available in bin folder at binary installed location

As instructed in the command output we need to run the “/data/app/OGG/ogg_sm/bin/registerServiceManager.sh” as root user to complete the configuration.

Now, to check the ServiceManager is running or not we can grep the process as follows

Verification:

To verify the installation, we will login to the Service Manager by going to the ip address and port number entered during the setup.

It has asked for the login credentials. After entering the credentials provided during the setup, we will successfully login and get the below ServiceManager dashboard page

Now, we will check the Deployment configuration, click on the Deploy_1 in above screen and it will take us to the Deployment page

Here we can click on any service to get the details and status of that service. To check the extract and replicat status and details we click on Administration service

To confirm that we are routed to correct service page, we can check the port number in the URL. Also, it is asking for the credentials, during the setup we did provide the same credentials as of ServiceManager. Hence, we will enter the same credentials to continue to Administration service page.

With this testing, we have successfully Installed and configured Goldengate 23AI for Oracle 19C database on Oracle Linux 8 using silent installation.