oracle RAC升级 PSU 11.2.0.2.0 to 11.2.0.2.11【二】

6、通过OPatch工具自动安装PSU

必须用root用户执行补丁更新

对GI/CRS安装PSU

节点一、节点二依次进行同样操作:

[root@BnetDB1 ~]# /oracle/app/oracle/product/11.2.0/dbhome_1/OPatch/opatchauto /patches -oh /oracle/app/11.2.0/grid -ocmrf/oracle/app/11.2.0/grid/OPatch/ocm/bin/ocm.rsp 

(......)

patch //patches/16459322apply successful for home/oracle/app/11.2.0/grid

patch //patches/16619893apply successful for home /oracle/app/11.2.0/grid

(......)

对DB安装PSU

节点一、节点二依次进行同样操作:

[root@BnetDB1 ~]#/oracle/app/oracle/product/11.2.0/dbhome_1/OPatch/opatch auto /patches -oh/oracle/app/oracle/product/11.2.0/dbhome_1 -ocmrf/oracle/app/11.2.0/grid/OPatch/ocm/bin/ocm.rsp 

(......)

patch//patches/16459322/custom/server/16459322apply successful for home/oracle/app/oracle/product/11.2.0/dbhome_1

patch //patches/16619893apply successful for home/oracle/app/oracle/product/11.2.0/dbhome_1

在数据库中执行 psu apply

[oracle@BnetDB1 ~]$ cd /oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/admin

SQL> @catbundle.sql psu apply

7、验证PSU安装信息

验证GI/CRS PSU

[grid@BnetDB1 ~]$ cd/oracle/app/11.2.0/grid/OPatch

[grid@BnetDB1 OPatch]$ ./opatch lsinventory

(......)

Patch description:"Database Patch Set Update : 11.2.0.2.11(16619893)"

(......)

验证DB PSU

[oracle@BnetDB1 ~]$ cd/oracle/app/oracle/product/11.2.0/dbhome_1/OPatch

[oracle@BnetDB1 OPatch]$ ./opatch lsinventory

(......)

Patch description:"Database Patch Set Update : 11.2.0.2.11(16619893)"

(......)

验证数据库PSU

SQL> select action,comments fromregistry$history;

ACTION

------------------------------

COMMENTS

--------------------------------------------------------------------------------

APPLY

Patchset 11.2.0.2.0

APPLY

Patchset 11.2.0.2.0

APPLY

PSU 11.2.0.2.11

ACTION

------------------------------

COMMENTS

--------------------------------------------------------------------------------

APPLY

PSU 11.2.0.2.11

 

 

 

你可能感兴趣的:(oracle,RAC,psu)