Starting with GoldenGate 12c, Oracle has moved the installation mechanism into the familiar Oracle Universal Installer framework. It’s a good move not only in terms of the ease of use but also for the uniformity of the install process across all Oracle products. The effect of the ease with which these installs can be completed is more noticeable when multiple installations are to be performed or remote installation is required. The silent option eases this and standardizes the installs further.
In this article we will look at Oracle GoldenGate 12c silent install.
• Oracle GoldenGate 12c New Features
• Install Oracle GoldenGate 12c Using Universal Installer
• Integrated Capture GoldenGate Overview
• Upgrade Classic Extract to Integrated Capture
• VST GoldenGate Administration Training (11g, 12c)
Preparing the Response File
Similar to other Oracle products, the first thing you need to do is to prepare a response file. The response file basically contains the values of all the required and optional parameters to be used during the install. To ease the process of actually creating a response file, Oracle also provides a template which you can use to insert custom parameter values required for the installation. The template for response file can be found at location below.
/opt/app/oracle/gg>ls -lrt /Disk1/response
Alternatively you can copy/paste the lines below into a text editor and save it as an .rsp file. Do remember to change the values of parameters according to your environment.
oracle.install.responseFileVersion=/oracle/install/rspfmt_ogginstall_response_schema_v12_1_2 INSTALL_OPTION=ORA12c SOFTWARE_LOCATION=/u01/app/oracle/golden_gate START_MANAGER=true MANAGER_PORT=8001 DATABASE_LOCATION=/u01/app/oracle/product/12.1.0/dbhome_1 INVENTORY_LOCATION=/u01/app/oraInventory UNIX_GROUP_NAME=oinstall
You should not change the first parameter. Install option parameters let’s you specify which version of GoldenGate you want to install. The values can be ORA12c for 12c version and ORA11g for 11g version. Provide the value of Start_Manager as true if you want to start the GoldenGate after installation and false if otherwise. You also need to provide a value for the Port parameter, if Start_Manager has been set to true. The other three parameters are straight forward, asking you to provide the database home, the Oracle Inventory path and the OS group who owns the inventory.
Once the response file is ready you can now install the GoldenGate Software by running the OUI with the -silent option. The only other option you need to specify is path of response file you created above.
$ ./runInstaller -silent -responseFile /home/oracle/ggresp.rsp Starting Oracle Universal Installer... Checking Temp space: must be greater than 120 MB. Actual 29833 MB Passed Checking swap space: must be greater than 150 MB. Actual 4031 MB Passed Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-12-06_10-48-53PM. Please wait ... The installation of Oracle GoldenGate Core was successful. Please check '/u01/app/oraIventory/logs/silentInstall2013-12-06_10-48-53PM.log' for more details. Successfully Setup Software.
The installation has been completed successfully.
You can confirm the installation of GoldenGate by simply looking at the Oracle inventory. The inventory file is located at /u01/app/oraInventory/ContentsXML/.