Silent install for Oracle GoldenGate 21c (Big Data – Microservices edition) – Step 1 of 2

Been awhile since I did a post on installing Oracle GoldenGate.  The last post I did was back in 2019 which showed how to do a silent install of Oracle GoldenGate 12c – Classic.  In looking through my posts I realized I have not done one on installing Microservices (any of them) silently; here is a post on installing Oracle GoldenGate 21c for Big Data (Microservices).

Note: This same approach can be followed with all the Oracle GoldenGate Microservices releases (12.3.0.0.1 or later).

Downloading Binaries

The binaries for Oracle GoldenGate for Big Data are downloaded from the Oracle Technology Network (OTN). The current published release is 21.4.0.0.0. However,
as of April 26, 2022, there have been announcements that 21.5.0.0.0 has been released (it has not appeared on any Oracle sites yet). Download the version which you need.

Unzip Binaries

After downloading the binaries, they need to be copied to the server in which Oracle GoldenGate will be run. Once the binaries are transferred, they need to be unzipped to a temporary directory

$ unzip ./214000_ggs_Linux_x64_BigData_services_shiphome.zip -d ./ogg21cbd

Create Directories

Before installing Oracle GoldenGate for Big Data, establishing the directory structure needs to be done. The following commands can be used to create the Oracle GoldenGate Home and other directories needed:

$ mkdir -p /opt/app/oracle/product/21.4.0/ogghome_1
$ mkdir -p /opt/app/oraInventory

Installing Oracle GoldenGate

With the binaries unzipped, the next step is to install Oracle GoldenGate. This process will be done using the silent install process. To perform a silent, install the oggcore.rsp file needs to be updated. The information below is a sample response file that illustrates what a working file looks like without the comments.  See in mind that your file will look a bit different depending on you $OGG_HOME AND Inventory location

Example:

oracle.install.responseFileVersion=/oracle/install/rspfmt_ogginstall_response_schema_v21_1_0
INSTALL_OPTION=Generic
SOFTWARE_LOCATION=/opt/app/oracle/product/21.4.0/ogghome_1
INVENTORY_LOCATION=/opt/app/oraInventory
UNIX_GROUP_NAME=oinstall

Once a response file has been defined, the next thing is to install Oracle GoldenGate with the response file:

$ cd ./ogg21cbd/ggs_Linux_x64_BigData_services_shiphome/Disk1

$ ./runInstaller
-silent \
-ignoreSysPrereqs \
-ignorePrereq \
-showProgress \
-waitForCompletion \
-responseFile \
/tmp/ogg21cbd/ggs_Linux_x64_BigData_services_shiphome/Disk1/response/oggcore.rsp

After the installation is done, make sure that the orainstRoot.sh file is run as the root user.

Once the binaries are installed, your Oracle GoldenGate Home ($OGG_HOME) is now defined.  Update the needed profile information (.bash_profile or .bashrc) to have this defined automatically when you login to the user.  The next step is to define and install the deployment home ($DEPLOYMENT_HOEM) that will be used within the architecture.  I’ll write this up in the next post on this topic.

Enjoy!!

Please follow and like:

Enquire now

Give us a call or fill in the form below and we will contact you. We endeavor to answer all inquiries within 24 hours on business days.