oracle RAC升级 PSU 11.2.0.2.0 to 11.2.0.2.11【一】

grid_home=/oracle/app/11.2.0/grid

oracle_home=/oracle/app/oracle/product/11.2.0/dbhome_1

1、下载补丁包GI PSU p16742320_112020_Linux-x86-64,由于GI PSU包含DB PSU P16619893,所以不需要再下载DB PSU;

2、两个节点创建文件夹,解压补丁包;

[root@BnetDB1~]mkdir /patches

[root@BnetDB1~]cpp16742320_112020_Linux-x86-64 /patches

[root@BnetDB1~]cd /patches

[root@BnetDB1 patches] unzipp16742320_112020_Linux-x86-64 

[root@BnetDB1~] chown -R grid:oinstall /patches

 

补丁所在文件夹必须对grid用户有权限,否则patch会安装不成功;

3、查看OPatch版本信息

OPatch为oracle补丁更新工具,安装这个patch需要版本11.2.0.1.8以上或更高版本,不满足的可下载p6880880_112000_Linux-x86-64,里面为最新OPatch;

grid用户

cd /oracle/app/11.2.0/grid/OPatch

./opatch version

 

OPatch Version: 11.2.0.1.0

OPatch succeeded.

版本不满足,需要更新版本,备份OPatch文件夹,将P6880880解压至该文件夹即可;

cp -R OPatch OPatch.bak

cd OPatch

rm -rf *

unzip p6880880_112000_Linux-x86-64

./opatch version

OPatch Version: 11.2.0.3.0

OPatch succeeded.

 

同样oracle用户执行相同操作;

4、OCM Configuration

两个节点grid用户执行

cd /oracle/app/11.2.0/grid/OPatch/ocm/bin

./emocmrsp

会在此目录下生产ocm.rsp的文件;

5、检查补丁冲突情况

节点一grid用户:

 

[grid@BnetDB1 ~]$/oracle/app/11.2.0/grid/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir /patches/16459322 -oh /oracle/app/11.2.0/grid

(......)

OPatch succeeded.

[grid@BnetDB1 ~]$/oracle/app/11.2.0/grid/OPatch/opatch prereq CheckConflictAgainstOHWithDetail-phBaseDir /patches/16619893 -oh /oracle/app/11.2.0/grid

(......)

OPatch succeeded.

节点一oracle用户

[oracle@BnetDB1 ~]$/oracle/app/oracle/product/11.2.0/dbhome_1/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir /patches/16459322 -oh /oracle/app/oracle/product/11.2.0/dbhome_1

[oracle@BnetDB1 ~]$/oracle/app/oracle/product/11.2.0/dbhome_1/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir /patches/16459322 -oh /oracle/app/oracle/product/11.2.0/dbhome_1

同样提示 OPacth succeeded

 

 

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