Like other Oracle products, the binaries of GoldenGate include the OPatch utility. In earlier versions, the GoldenGate home had to be overwritten with the new binaries. For GoldenGate 12c, the OPatch utility checks the prerequisites, applies the patch, updates the Oracle inventory, and relinks binaries (if necessary). It is also possible to list the contents of the inventory to verify patch levels, as shown in the following code. Note that you must set the ORACLE_HOME environment variable so that it points to the GoldenGate home to list the correct OPatch inventory:
[oracle@db12server01 ~]$ cd $OGG_HOME/OPatch/[oracle@db12server01 OPatch]$ export ORACLE_HOME=$OGG_HOME[oracle@db12server01 OPatch]$ ./opatch lsinventoryInvoking OPatch 11.2.0.1.7Oracle Interim Patch Installer version 11.2.0.1.7Copyright (c) 2011, Oracle Corporation. All rights reserved.Oracle Home : /u01/app/oracle/product/12.1.2/ogg_srcCentral Inventory : /u01/app/oraInventory from : /etc/oraInst.locOPatch version : 11.2.0.1.7OUI version : 11.2.0.3.0Log file location : /u01/app/oracle/product/12.1.2/ogg_src/cfgtoollogs/opatch/opatch2015-05-31_14-50-08PM.logLsinventory Output file location : /u01/app/oracle/product/12.1.2/ogg_src/cfgtoollogs/opatch/lsinv/lsinventory2015-05-31_14-50-08PM.txt---------------------------------------------------------------------Installed Top-level Products (1):Oracle GoldenGate Core 12.1.2.1.0There are 1 products installed in this Oracle Home.There are no Interim patches installed in this Oracle Home.---------------------------------------------------------------------OPatch succeeded.
Patching is generally performed under the guidance of Oracle Support and should not be necessary under normal conditions. However, if you use Oracle GoldenGate 12.1.2, then download the installation package from OTN or https://edelivery.oracle.com/, as described earlier in this chapter. Then, download the most recent version from My Oracle Support and use OPatch to patch it to the latest release.