暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

Oracle OPatch没有emocmrsp命令?

原创 许玉冲 2021-08-09
3856

新版11.2.0.3.29下载发现没有emocmrsp怎么版?
#注意:这个 OPatch 增强存在于 12.2.0.1.5 和 11.2.0.3.14 版本及以后版本.

[root@db02 soft]# /u01/app/11.2.0/grid/OPatch/opatch version
OPatch Version: 11.2.0.3.29
OPatch succeeded.


[root@db02 soft]# ll /u01/app/11.2.0/grid/OPatch/ocm/bin/
total 0

复制

文档解释:

Note: as latest opatch doesn't contain OCM anymore, the option "-ocmrf" is unnecessary if latest opatch is being used, refer to the following for details:

复制

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

OCM 不再被打包到 OPATCH 中
注意: 这个 Opatch 增强存在于 12.2.0.1.5 及以后版本。
在过去,当执行一个“静默”安装时,必须生成一个响应文件并且把它包含到 Opatch apply 的命令行中。例如:

# opatchauto apply <UNZIPPED_PATCH_LOCATION>/23273686 -ocmrf <ocm response file>
-ocmrf 选项被用于在静默安装中为 OPatch 提供 OCM 响应文件。由于 OCM 不再被包含到 Opatch 中,命令行中也不再需要 -ocmrf 。现在命令是

# opatchauto apply <UNZIPPED_PATCH_LOCATION>/23273686
命令"emocmrsp"被用于为 -ocmrf 创建响应文件。由于 -ocmrf 不再需要了,这个命令也不再需要了。

如果 -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.***

复制

补丁安装命令输出:
新安装命令
/u01/app/11.2.0/grid/OPatch/opatch auto /soft/28429134
#已经不在需要指定-ocmrf 参数了。
以前的安装命令
opatch auto <UNZIPPED_PATCH_LOCATION>/28429134 -ocmrf

[root@db01 soft]# /u01/app/11.2.0/grid/OPatch/opatch auto /soft/28429134
Executing /u01/app/11.2.0/grid/perl/bin/perl /u01/app/11.2.0/grid/OPatch/crs/patch11203.pl -patchdir /soft -patchn 28429134 -paramfile /u01/app/11.2.0/grid/crs/install/crsconfig_params

This is the main log file: /u01/app/11.2.0/grid/cfgtoollogs/opatchauto2021-08-09_20-10-36.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/opatchauto2021-08-09_20-10-36.report.log

2021-08-09 20:10:36: 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/dbhome_1 ...
Stopped RAC /u01/app/oracle/product/11.2.0/dbhome_1 successfully

patch /soft/28429134/27735020/custom/server/27735020  apply successful for home  /u01/app/oracle/product/11.2.0/dbhome_1
patch /soft/28429134/28204707  apply successful for home  /u01/app/oracle/product/11.2.0/dbhome_1

Stopping CRS...
Stopped CRS successfully

patch /soft/28429134/27735020  apply successful for home  /u01/app/11.2.0/grid
patch /soft/28429134/28204707  apply successful for home  /u01/app/11.2.0/grid
patch /soft/28429134/28204939  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/dbhome_1 ...
Started RAC /u01/app/oracle/product/11.2.0/dbhome_1 successfully

opatch auto succeeded.

复制
最后修改时间:2021-08-10 22:51:04
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
1人已赞赏
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论