文档课题:11g rac 33575261补丁安装.
说明:1-4步骤在两个节点执行.
1、检查OPatch
升级前检查原OPatch版本.
[grid@hisdb1 ~]$ opatch version
OPatch Version: 11.2.0.3.28

OPatch succeeded.
[oracle@hisdb1 ~]$ opatch version
OPatch Version: 11.2.0.3.28

OPatch succeeded.
说明:升级33575261补丁Opatch版本要求11.2.0.3.32 or later.
2、补丁包处理
[root@hisdb1 ~]# mkdir /Patch
[root@hisdb1 ~]# chown -R grid:oinstall /Patch
sftp> cd /tmp
sftp> lcd F:\installmedium\11g\OPatch\11.2.0.3.34
sftp> put p6880880_112000_Linux-x86-64.zip
sftp> cd /home/grid
sftp> lcd F:\installmedium\11g\
sftp> put p33575261_112040_Linux-x86-64.zip
[grid@hisdb1 tmp]$ unzip -q -o p6880880_112000_Linux-x86-64.zip -d $ORACLE_HOME
[grid@hisdb1 ~]$ unzip -q p33575261_112040_Linux-x86-64.zip -d /Patch
[grid@hisdb1 tmp]$ opatch version
OPatch Version: 11.2.0.3.34

OPatch succeeded.
[oracle@hisdb1 tmp]$ unzip -q -o p6880880_112000_Linux-x86-64.zip -d $ORACLE_HOME
[oracle@hisdb1 tmp]$ opatch version
OPatch Version: 11.2.0.3.34

OPatch succeeded.
3、验证Inventory
[oracle@hisdb1 ~]$ opatch lsinventory -detail -oh $ORACLE_HOME
[grid@hisdb1 ~]$ opatch lsinventory -detail -oh $ORACLE_HOME
4、升级
说明:环境符合Case 1: GI home and the database homes that are not shared and Oracle ACFS file system is not configured.
[root@hisdb1 ~]# export PATH=$PATH:/u01/app/11.2.0/grid/OPatch
[root@hisdb1 ~]# opatch auto /Patch/33575261 (22:38-22:55)
Executing /u01/app/11.2.0/grid/perl/bin/perl /u01/app/11.2.0/grid/OPatch/crs/patch11203.pl -patchdir /Patch -patchn 33575261 -paramfile /u01/app/11.2.0/grid/crs/install/crsconfig_params

This is the main log file: /u01/app/11.2.0/grid/cfgtoollogs/opatchauto2022-06-09_22-38-04.log

This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:
/u01/app/11.2.0/grid/cfgtoollogs/opatchauto2022-06-09_22-38-04.report.log

2022-06-09 22:38:04: Starting Clusterware Patch Setup
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params

Stopping RAC /u01/app/oracle/product/11.2.0/db ...
Stopped RAC /u01/app/oracle/product/11.2.0/db successfully

patch /Patch/33575261/32758914/custom/server/32758914 apply successful for home /u01/app/oracle/product/11.2.0/db
patch /Patch/33575261/33477185 apply successful for home /u01/app/oracle/product/11.2.0/db

Stopping CRS...
Stopped CRS successfully

patch /Patch/33575261/32758914 apply successful for home /u01/app/11.2.0/grid
patch /Patch/33575261/33477185 apply successful for home /u01/app/11.2.0/grid
patch /Patch/33575261/33112794 apply successful for home /u01/app/11.2.0/grid

Starting CRS...
Installing Trace File Analyzer
CRS-4123: Oracle High Availability Services has been started.

Starting RAC /u01/app/oracle/product/11.2.0/db ...
Started RAC /u01/app/oracle/product/11.2.0/db successfully

opatch auto succeeded.
[grid@hisdb1 ~]$ opatch lspatches
33112794;ACFS PATCH SET UPDATE 11.2.0.4.210720 (33112794)
33477185;Database Patch Set Update : 11.2.0.4.220118 (33477185)
32758914;OCW PATCH SET UPDATE 11.2.0.4.210720 (32758914)

OPatch succeeded.
5、升级后操作
仅在节点1执行.
cd $ORACLE_HOME/rdbms/admin
sqlplus /nolog
SQL> CONNECT / AS SYSDBA
SQL> STARTUP
SQL> @catbundle.sql psu apply
SQL> QUIT