下面以Oracle 11.2.0.3手动打11.2.0.3.5补丁为例:
下载p14727347_112030_Linux-x86.zip
上传至服务器,注意解压一定要用grid用户解压
查阅README.html,按照“You must use the OPatch utility version 11.2.0.3.0 or later to apply this patch. Oracle recommends that you use the latest released OPatch for 11.2 releases,”
检查$ opatch version,如果无法满足上述要求,则参考Use OPatch to install a patch,安装最新的OPatch工具。
逐个节点执行:
1:先停止本地节点的服务,若有DB在运行则先关闭该实例
<del>#关闭实例 su - oracle</del> $ORACLE_HOME/bin/srvctl stop instance -d <db_name> -i <inst_name _list> # #使用rootcrs.pl停止本节点的服务 su - root cd $GRID_HOME/crs/install ./rootcrs.pl -unlock
2:给GI HOME打补丁
AIX上: su – root; slibclean #清理slib,否则可能无法打上补丁
检查已打补丁状况
su - grid [grid@ocmrac1 ~]$ opatch lspatches There are no Interim patches installed in this Oracle Home.