If you take out all the comments and blank lines, we are only dealing with 7 parameters for the GoldenGate response file. You can run the following egrep command with each release of GoldenGate to see if Oracle introduces new parameters to their response files.

The trick to automating a GoldenGate installation and customizing the installation process is to embed place holders into the template GoldenGate file. During the automation time, you simply leverage Unix tools like sed and awk to replace the placeholder values with the custom values.

[oracle@den01 ~]$ egrep -v "^#|^$" oggcore.rsp 
oracle.install.responseFileVersion=/oracle/install/rspfmt_ogginstall_response_schema_v12_1_2
INSTALL_OPTION=ORA12c
SOFTWARE_LOCATION=XXX_GGATE_SOFTWARE_LOCATION
START_MANAGER=false
MANAGER_PORT=
DATABASE_LOCATION=
INVENTORY_LOCATION=XXX_ORAINVENTORY_LOCATION
UNIX_GROUP_NAME=XXX_UNIX_GROUP_NAME

As you can see, we have embedded three place holders:
* for the Software Location (GoldenGate Home)
* OraInventory location
* the unix group name.

The best way to customize and automate a GoldenGate installation is to replace these parameters at runtime and replace them with your values. Also notice that I started all of my variables with an XXX_ so that I can easily detect what the custom parameters are.


In this blog post, let’s look at performing a silent installation of GoldenGate (GG). Since GG 12c, we no longer do a tar extract of the software. Now, we do an OUI installation like all Oracle software. For those, who miss the ease of un-tarring a GG home, we can look at doing silent installs or even cloning the GG Home. Let’s first look at performing a silent installation:

cd $SOFTWARE_LOCATION
./runInstaller -responseFile ${RESPONSE_FILE_LOCATION} -silent -nowelcome

Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 28012 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 3964 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-10-28_07-20-45PM. Please wait ...rac01:/home/oracle/soft/fbo_ggs_Linux_x64_shiphome/Disk1
DENPROD1 > You can find the log of this install session at:
 /u01/app/oraInventory/logs/installActions2014-10-28_07-20-45PM.log

rac01:/home/oracle/soft/fbo_ggs_Linux_x64_shiphome/Disk1
DENPROD1 > The installation of Oracle GoldenGate Core was successful.
Please check '/u01/app/oraInventory/logs/silentInstall2014-10-28_07-20-45PM.log' for more details.
Successfully Setup Software.

To confirm that everything was done correctly, you should review the specified log file: /u01/app/oraInventory/logs/installActions2014-10-28_07-20-45PM.log

This is an automated script so the response file location is set in the environment variable in a configuration file. The response file in this example is called oggcore.rsp and looks like this:

DENPROD1 > cat oggcore.rsp 

####################################################################
## Copyright(c) Oracle Corporation 2014. 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_v12_1_2


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

#-------------------------------------------------------------------------------
# Specify the installation option.
# Specify ORA12c for installing Oracle GoldenGate for Oracle Database 12c and
#         ORA11g for installing Oracle GoldenGate for Oracle Database 11g 
#-------------------------------------------------------------------------------
INSTALL_OPTION=ORA12c

#-------------------------------------------------------------------------------
# Specify a location to install Oracle GoldenGate
#-------------------------------------------------------------------------------
SOFTWARE_LOCATION=/u01/app/oracle/product/12.1.2/oggcore_1

#-------------------------------------------------------------------------------
# Specify true to start the manager after installation. 
#-------------------------------------------------------------------------------
START_MANAGER=false

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

#-------------------------------------------------------------------------------
# Specify the location of the Oracle Database.
# Required only if START_MANAGER is true.
#-------------------------------------------------------------------------------
DATABASE_LOCATION=


################################################################################
##                                                                            ##
## 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

Likewise, I can detach and GoldenGate home like I can detach any Oracle Database or Grid Infrastructure Home:

rac01:/u01/app/oracle/product/12.1.2/oggcore_1/oui/bin
 > cat detachHome.sh 
#!/bin/sh
OHOME=/u01/app/oracle/product/12.1.2/oggcore_1
OHOMENAME=OraHome1
CUR_DIR=<code>pwd</code>
cd $OHOME/oui/bin
./runInstaller -detachhome ORACLE_HOME=$OHOME ORACLE_HOME_NAME=$OHOMENAME $* 
cd $CUR_DIR

rac01:/u01/app/oracle/product/12.1.2/oggcore_1/oui/bin
 > ./detachHome.sh 
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 3966 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/app/oraInventory
'DetachHome' was successful.

The detachHome.sh shell script is an Oracle supplied shell script that resides in the GG_HOME/oui/bin directory. Let’s see how we would go about cloning this GG Home. To clone the GG Home, we can leverage the runInstaller.sh script that is also located in the GG Home/oui/bin directory. The invocation of the shell script is no different than the way we used to do any other oracle software. In the GG Home, we do not have a clone.pl script that we use to clone Oracle Grid Infrastructure and Oracle Oracle Database Software. We have to leverage the techniques that we used to back in Oracle Database 10g days with the runInstaller.sh script:

./runInstaller.sh -silent -clone ORACLE_BASE="/u01/app/oracle" \
ORACLE_HOME="/u01/app/oracle/product/12.1.2/oggcore_1" \
ORACLE_HOME_NAME="GG12c"
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 3961 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-10-28_07-36-29PM. Please wait ...rac01:/u01/app/oracle/product/12.1.2/oggcore_1/oui/bin
DENPROD1 > Oracle Universal Installer, Version 11.2.0.3.0 Production
Copyright (C) 1999, 2011, Oracle. All rights reserved.

You can find the log of this install session at:
 /u01/app/oraInventory/logs/cloneActions2014-10-28_07-36-29PM.log
.................................................................................................... 100% Done.



Installation in progress (Tuesday, October 28, 2014 7:36:36 PM CDT)
..........................................................................                                                      72% Done.
Install successful

Linking in progress (Tuesday, October 28, 2014 7:36:38 PM CDT)
Link successful

Setup in progress (Tuesday, October 28, 2014 7:36:38 PM CDT)
...........                                                     100% Done.
Setup successful

End of install phases.(Tuesday, October 28, 2014 7:36:59 PM CDT)
The cloning of GG12c was successful.
Please check '/u01/app/oraInventory/logs/cloneActions2014-10-28_07-36-29PM.log' for more details.

Of course, you should peruse the log file /u01/app/oraInventory/logs/cloneActions2014-10-28_07-36-29PM.log to make sure that cloning process did not spit out any errors.


First, download the software from OTN and unzip the contents of the zip file. Change your directory to the Disk1 subdirectory and launch the GUI installer by invoking the runInstaller script:

$ unzip 121210_fbo_ggs_Linux_x64_shiphome.zip
$ cd fbo_ggs_Linux_x64_shiphome/Disk1
$ ./runInstaller

2014 10 07 11 20 11

Choose wether you want to install GoldenGate for Oracle Database 12c or Oracle Database 11g. In our example, we are choosing to install GoldenGate for Oracle Database 12c

2014 10 07 11 22 59

Specify the location for the GoldenGate software to be installed. Make sure the Start Manager checkbox is not checked. Click on the Next button to continue.

2014 10 07 11 23 59

On the summary screen, review the options and installation details. We can create a response file so that we can perform subsequent GoldenGate installations in a silent mode (from the command line interface).

2014 10 07 11 28 14

By default, a response file called oggcore.rsp will be saved in the home directory for Oracle. Once the response file is created, we can proceed with the installation by clicking on the Install button. You can view the progress of the installation. When the installation completes, you will see the Finish screen.

2014 10 07 11 31 09

Congratulations. We have successfully installed GoldenGate 12c. Click on the Close button to clear the screen.

Now that we’ve installed GoldenGate on the primary source database server, it is time to install GoldenGate on the target database server.