官术网_书友最值得收藏!

Patching the GoldenGate home

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 lsinventory
Invoking OPatch 11.2.0.1.7

Oracle Interim Patch Installer version 11.2.0.1.7
Copyright (c) 2011, Oracle Corporation. All rights reserved.


Oracle Home : /u01/app/oracle/product/12.1.2/ogg_src
Central Inventory : /u01/app/oraInventory
 from : /etc/oraInst.loc
OPatch version : 11.2.0.1.7
OUI version : 11.2.0.3.0
Log file location : /u01/app/oracle/product/12.1.2/ogg_src/cfgtoollogs/opatch/opatch2015-05-31_14-50-08PM.log

Lsinventory 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.0
There 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.

主站蜘蛛池模板: 巴彦县| 洪洞县| 稻城县| 五莲县| 渭南市| 萨迦县| 开江县| 栾城县| 南澳县| 甘南县| 八宿县| 抚宁县| 新竹市| 保定市| 张家口市| 仁布县| 卢湾区| 兴仁县| 富锦市| 普宁市| 莫力| 烟台市| 五台县| 金塔县| 四会市| 扬州市| 清河县| 睢宁县| 隆化县| 栖霞市| 太保市| 南皮县| 孟津县| 枝江市| 策勒县| 麟游县| 兴城市| 阳原县| 阿拉尔市| 新干县| 思南县|