1. 程式人生 > >12C GI + 11g DB 環境中PSU安裝

12C GI + 11g DB 環境中PSU安裝

環境說明:

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中有明確說明, 忽略即可。