环境说明:
12.1.0.2的GI集群,11.2.0.4的RAC数据库,需要安装最新的补丁。
补丁下载:
12.1.0.2 GI的PSU;11.2.0.4 DB的PSU;OJVM For 11.2.0.4的补丁。
概要说明:
(1)、由于GI的PSU包括了DB的PSU,如果GI版本和DB版本相同,在安装GI的PSU时没有指定oh参数,则会自动DB的PSU,而GI和DB的版本不同时,如果不指定oh参数,它会自动跳过DB PSU的安装过程,而不会出现安装报错的情况。
命令如下:
# export ORACLE_HOME=/u01/app/12.1.0.2/grid; /u01/app/12.1.0.2/grid/OPatch/opatchauto apply /u01/software/27967747/27967747 |
输出如下:
==Following patches were SUCCESSFULLY applied: Patch: /u01/software/27967747/27967747/26983807 Log: /u01/app/12.1.0.2/grid/cfgtoollogs/opatchauto/core/opatch/opatch2018-12-21_07-37-36AM_1.log Patch: /u01/software/27967747/27967747/27547329 Log: /u01/app/12.1.0.2/grid/cfgtoollogs/opatchauto/core/opatch/opatch2018-12-21_07-37-36AM_1.log Patch: /u01/software/27967747/27967747/27762253 Log: /u01/app/12.1.0.2/grid/cfgtoollogs/opatchauto/core/opatch/opatch2018-12-21_07-37-36AM_1.log Patch: /u01/software/27967747/27967747/27762277 Log: /u01/app/12.1.0.2/grid/cfgtoollogs/opatchauto/core/opatch/opatch2018-12-21_07-37-36AM_1.log Following homes are skipped during patching as patches are not applicable: /u01/app/oracle/product/11.2.0.4/dbhome_1 OPatchauto session completed at Fri Dec 21 08:21:52 2018 |
(2)、安装DB PSU时,会有一个warning:
OPatch found the word "error" in the stderr of the make command. Please look at this stderr. You can re-run this make command. Stderr output: chmod: changing permissions of `/u01/app/oracle/product/11.2.0.4/dbhome_1/bin/extjobO': Operation not permitted make: [iextjob] Error 1 (ignored) Composite patch 27734982 successfully applied. |
该warning在MOS 2265726.1中有明确说明,
忽略即可。