opatch 12.2.0.1.5 和11.2.0.3.14 之后的版本不在需要 ocm response file

做18.3.1 到 18.4.0 的RU升级实验,Patch 的readme文档第二步就是生成OCM 响应文件:

$ /OPatch/ocm/bin/emocmrsp

但在系统上查询,该目录下为空,并没有emocmrsp命令:

[dave@www.cndba.cn ~]$ cd $ORACLE_HOME/OPatch/ocm/bin
[dave@www.cndba.cn bin]$ pwd
/u01/app/oracle/product/18.3.0/db_1/OPatch/ocm/bin
[dave@www.cndba.cn bin]$ ll
total 0
[dave@www.cndba.cn bin]$

在MOS上查了一下,原来是OPatch的功能得到了增强:

OPatch: Behavior Changes starting in OPatch 12.2.0.1.5 and 11.2.0.3.14 releases (文档 ID 2161861.1)

OPatch 12.2.0.1.5 和 11.2.0.3.14之后的版本不在需要OCM响应文件。虽然readme和MOS上的相关文档还提示我们生成OCM(Oracle Configuration Manager)的响应文件,

opatchauto apply /23273686 -ocmrf

但在实际升级时可以忽略这个选项,直接执行:

opatchauto apply /23273686

如果在执行12.2.0.1.5 和 11.2.0.3.14版本的OPatch时添加了-ocmrf 参数,那么会忽略这个参数,并返回如下警告:

You are calling OPatch with -ocmrf option while this OPatch is generic, not being bundled with OCM. The -ocmrf option is being deprecated. Please remove it while calling OPatch.

小知识点,随笔记之。

原文地址:https://www.cndba.cn/dave/article/3146

原文地址:https://www.cnblogs.com/ruicccc/p/13227672.html