How to install Goldengate 21c in silent mode

Usually we do the installation using the graphical interface. Let’s try this time the silent mode:

This is my environment:

Oracle OCI instance:
OS.        : Red Hat Enterprise Linux release 8.5 (Ootpa)
ORACLE_HOME: /u01/app/oracle/product/19c/dbhome_1
GG_HOME    : /u01/app/oracle/GG/
GG_VERSION : 21.3.0.0

Download the software from:

https://www.oracle.com/middleware/technologies/goldengate-downloads.html#license-lightbox

Copy the file to a staging location on the server. In my case will be “/u01/software”:

[email protected] software]$ pwd
/u01/software
[[email protected] software]$ ls -ltr
total 337864
-rw-r--r--. 1 oracle oinstall 345971438 Aug 17 15:17 OracleGoldenGate21.3.0.0.0forLinuxx86-64.zip
[[email protected] software]$

Step 1) Unzip the software

[[email protected] software]$ unzip OracleGoldenGate21.3.0.0.0forLinuxx86-64.zip
………………..
nflating: fbo_ggs_Linux_x64_Oracle_shiphome/Disk1/install/resource/cons_de.nls
  inflating: fbo_ggs_Linux_x64_Oracle_shiphome/Disk1/install/resource/cons_es.nls
   creating: fbo_ggs_Linux_x64_Oracle_shiphome/Disk1/install/images/
  inflating: fbo_ggs_Linux_x64_Oracle_shiphome/Disk1/install/detachHome.sh
  inflating: fbo_ggs_Linux_x64_Oracle_shiphome/Disk1/install/.oui
  inflating: fbo_ggs_Linux_x64_Oracle_shiphome/Disk1/runInstaller
  inflating: OGG-21.3.0.0-README.txt
  inflating: oracle-goldengate-release-notes_21.3.pdf

Step 2) Create Response File

[[email protected] software]$ cd fbo_ggs_Linux_x64_Oracle_shiphome/Disk1/response/
[[email protected] response]$ ll
total 8
-rw-rw-r--. 1 oracle oinstall 4441 Jul 29 2021 oggcore.rsp
[[email protected] response]$ cp oggcore.rsp oggcore_new.rsp

This is my response file:

[[email protected] response]$ cat oggcore_new.rsp

####################################################################
## Copyright(c) Oracle Corporation 2020. All rights reserved.     ##
##                                                                ##
## Specify values for the variables listed below to customize     ##
## your installation.                                             ##
##                                                                ##
## Each variable is associated with a comment. The comment        ##
## can help to populate the variables with the appropriate        ##
## values.                                                        ##
##                                                                ##
## IMPORTANT NOTE: This file should be secured to have read       ##
## permission only by the oracle user or an administrator who     ##
## own this installation to protect any sensitive input values.   ##
##                                                                ##
####################################################################

#-------------------------------------------------------------------------------
# Do not change the following system generated value.
#-------------------------------------------------------------------------------
oracle.install.responseFileVersion=/oracle/install/rspfmt_ogginstall_response_schema_v21_1_0


################################################################################
##                                                                            ##
## Oracle GoldenGate installation option and details                          ##
##                                                                            ##
################################################################################

#-------------------------------------------------------------------------------
# Specify the installation option.
# Specify ora21c for installing Oracle GoldenGate for Oracle Database 21c and lower supported versions
#-------------------------------------------------------------------------------
INSTALL_OPTION=ora21c

#-------------------------------------------------------------------------------
# Specify a location to install Oracle GoldenGate
#-------------------------------------------------------------------------------
SOFTWARE_LOCATION=/u01/app/oracle/GG

#-------------------------------------------------------------------------------
# Specify true to start the manager after installation.
# Valid only for legacy installation.
#-------------------------------------------------------------------------------
START_MANAGER=true

#-------------------------------------------------------------------------------
# Specify a free port within the valid range for the manager process.
# Required only if START_MANAGER is true.
# Valid only for legacy installation.
#-------------------------------------------------------------------------------
MANAGER_PORT=7809

#-------------------------------------------------------------------------------
# Specify the location of the Oracle Database client libraries.
# It should contain the 'instantclient' directory under SOFTWARE_LOCATION
# Required only if START_MANAGER is true.
# Valid only for legacy installation.
#-------------------------------------------------------------------------------
DATABASE_LOCATION=/u01/app/oracle/product/19c/dbhome_1


################################################################################
##                                                                            ##
## Specify details to Create inventory for Oracle installs                    ##
## Required only for the first Oracle product install on a system.            ##
##                                                                            ##
################################################################################

#-------------------------------------------------------------------------------
# Specify the location which holds the install inventory files.
# This is an optional parameter if installing on
# Windows based Operating System.
#-------------------------------------------------------------------------------
INVENTORY_LOCATION=/u01/app/oraInventory

#-------------------------------------------------------------------------------
# Unix group to be set for the inventory directory.
# This parameter is not applicable if installing on
# Windows based Operating System.
#-------------------------------------------------------------------------------
UNIX_GROUP_NAME=oinstall

Step 3) Proceed to installation using the response file:

[[email protected] response]$ /u01/software/fbo_ggs_Linux_x64_Oracle_shiphome/Disk1/runInstaller -silent -showProgress -waitforcompletion -responseFile /u01/software/fbo_ggs_Linux_x64_Oracle_shiphome/Disk1/response/oggcore_new.rsp
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 26502 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 4095 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2022-08-18_07-46-13AM. Please wait ...You can find the log of this install session at:
 /u01/app/oraInventory/logs/installActions2022-08-18_07-46-13AM.log

Prepare in progress.
..................................................   9% Done.

Prepare successful.

Copy files in progress.
..................................................   45% Done.
..................................................   50% Done.
..................................................   57% Done.
..................................................   62% Done.
..................................................   68% Done.
..................................................   73% Done.
..................................................   79% Done.
....................
Copy files successful.

Link binaries in progress.
..........
Link binaries successful.

Setup files in progress.
..................................................   84% Done.
..................................................   89% Done.

Setup files successful.

Setup Inventory in progress.

Setup Inventory successful.
..........
Finish Setup successful.
The installation of Oracle GoldenGate Core was successful.
Please check '/u01/app/oraInventory/logs/silentInstall2022-08-18_07-46-13AM.log' for more details.

Start Oracle GoldenGate Manager process. in progress.
Successfully Setup Software.
..................................................   100% Done.

Start Oracle GoldenGate Manager process. successful.
[[email protected] response]$

Step 4) Let’s check the installation:

[[email protected] response]$ cd /u01/app/oracle/GG/
[[email protected] GG]$ ./ggsci

Oracle GoldenGate Command Interpreter for Oracle
Version 21.3.0.0.0 OGGCORE_21.3.0.0.0_PLATFORMS_210728.1047_FBO
Oracle Linux 7, x64, 64bit (optimized), Oracle Database 21c and lower supported versions on Jul 29 2021 03:59:23
Operating system character set identified as UTF-8.

Copyright (C) 1995, 2021, Oracle and/or its affiliates. All rights reserved.



GGSCI (ggs1) 1> info all

Program     Status      Group       Lag at Chkpt  Time Since Chkpt

MANAGER     RUNNING


GGSCI (ggs1) 2>

Leave Comment

Your email address will not be published. Required fields are marked *