I’ve been doing a lot of installs lately. With Oracle releasing a lot of 12c items, there have been a lot of install opportunities. Recently, I’ve done a project where I had the chance to install Oracle Golden Gate 12c. The 12c version of Golden Gate introduced the Oracle Universal Install for installation purposes of Golden Gate. You can see my blog post on that here.
What if you don’t want to use the Oracle Universal Installer to install the Golden Gate binaries. Can you still do the installation the old way of unzipping in the directory where you want it installed? The short answer is NO; however, you can perform a silent install which will enable you to customize the installation. Let’s take a look at what is needed to do a silent install of Oracle Golden Gate 12c.
The Response File
Just as with other Oracle products to do a silent installation of Golden Gate, you will need to use a response file. The response file for Golden Gate can be found after unzipping the files under the response directory on Disk1.
[[email protected] Downloads]$ unzip ./121200_fbo_ggs_Linux_x64_shiphome.zip –d ggate
[[email protected] response]$ pwd
The response file that is provided is called oggcore.rsp. This is the file that needs to be edited to contain the items for silent install.
[[email protected] response]$ vi oggcore.rsp
Once the file is open for editing in vi (or your favorite editor), there are 7 items which you will have modify in order to install Oracle Golden Gate silently. The parameters and details are:
|INSTALL_OPTION||ORA12c or ORA11g|
|SOFTWARE_LOCATION||Where to install the software|
|START_MANAGER||TRUE or FALSE|
|MANAGER_PORT||Any port number, default 7809|
|DATABASE_LOCATION||Set to $ORACLE_HOME|
|INVENTORY_LOCATION||Specify location for oraInventory|
|UNIX_GROUP_NAME||Group that should own the installation of Golden Gate|
Once the response file is filled out, then it can be used with the runInstaller utility (just the same as with other Oracle tools).
With the oggcore.rsp file edited, it is time to install Oracle Golden Gate. Just as with other Oracle products, you use the response file with the runInstaller utility (as below). The installer will start and tell you when finish.
[[email protected] response]$ ../runInstaller -silent -responseFile /home/oracle/Downloads/ggate/fbo_ggs_Linux_x64_shiphome/Disk1
Starting Oracle Universal Installer…
Checking Temp space: must be greater than 120 MB. Actual 38378 MB Passed
Checking swap space: must be greater than 150 MB. Actual 7804 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-11-14_10-37-53AM. Please wait …
[[email protected] response]$ You can find the log of this install session at:
The installation of Oracle GoldenGate Core was successful.
Please check ‘/oracle/oraInventory/logs/silentInstall2013-11-14_10-37-53AM.log’ for more details.
After the installation is done, there really are not post installation steps. On thing you will notice, just as with the GUI install, the CREATE SUBDIRS are created for you.
You can find the oggcore.rsp file that I used here if you would like a work example.