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!!
Current Oracle Certs
Bobby Curtis
I’m Bobby Curtis and I’m just your normal average guy who has been working in the technology field for awhile (started when I was 18 with the US Army). The goal of this blog has changed a bit over the years. Initially, it was a general blog where I wrote thoughts down. Then it changed to focus on the Oracle Database, Oracle Enterprise Manager, and eventually Oracle GoldenGate.
If you want to follow me on a more timely manner, I can be followed on twitter at @dbasolved or on LinkedIn under “Bobby Curtis MBA”.