您好,登录后才能下订单哦!
How to Create an OCM Response file to Apply a Patch in Silent Mode - opatch silent (文档 ID 966023.1)
APPLIES TO:Oracle Universal Installer - Version 10.2.0.1 to 11.2.0.4 [Release 10.2 to 11.2]Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.4 [Release 10.2 to 11.2] Information in this document applies to any platform. GOALThis Article helps in creating the OCM response file to run opatch in silent mode Scenario: However, this can be solved via creating an OCM response file and pass all the parameters via this file while silent install. Opatch reads this file while installing in silent does not prompt for OCM credentials.
What is OCM (Oracle Configuration Manager?) The Oracle Configuration Manager (OCM) is a tool which proactively monitor the customers Oracle environment and provide this information to My Oracle Support (MOS). The Data collected from the customer environment is uploaded to Oracle Customer Configuration Repository and replicates this to My Oracle Support so that customer/support can view it. Additionally MOS analyzes the Data collected and informs respective customer about alerts and advise health checks. For more information refer Note:369619.1
SOLUTIONPre-requirements to use opatch silent 1) Download and install latest opatch tool (ignore this if already one)2) Create response file for OCM3) Use the OCM response file for all opatch silent applicationHowever, If plan to use the ocm.rsp file with other OH - like, GRID, CRS, ORACLE_HOME, then please make sure this file is placed in accessible path and have 775 file permission (i.e $chmod 775 ocm.rsp)
========= refer below for detailed steps ============= 1) Download and install latest opatch tool (recommended)Patch # 6880880
2) How to create response file for OCM Note : the location of OCM executable is "$ORACLE_HOME/OPatch/ocm/bin/emocmrsp"syntax : Refer the options below to create a ocm response fileOption 1 : Create the response file while keeping OCM turned OFF (Yes, OCM can be turned off. use this options if you are not sure about OCM ) % export ORACLE_HOME=/u01/app/oracle/11.2/db1 Provide your email address to be informed of security issues, install and <<<< Press Enter/Return key and don't provide any input >>>> You have not provided an email address for notification of security issues.
% export ORACLE_HOME=/u01/app/oracle/11.2/db1 Provide your email address to be informed of security issues, install and Password (optional): <Password will be verified if provided / Press return/Enter Key>
3) Use the OCM response file for all "opatch -silent" operations
Assume applying patch 12345 % cd 12345 Example: % opatch apply -silent -ocmrf /u02/ocm.rsp Additional Examples (Showing command usage for CPU/SPU/PSU/ "opatch auto" ) 1) User below for CPU/SPU apply 2)Use below for PSU apply 3)GRID patching command changed sightly as below Note1 : File “/u02/ocm.rsp” (could be renamed as per requirement ) can be used with other opatch -silent when used with other ORACLE_HOME/setup/machine, however, mention this file while invoking opatch -silent
REFERENCESNOTE:1351428.2 - Information Center: Patching and Maintaining Oracle Database Server/Client InstallationsNOTE:293369.1 - Master Note For OPatch NOTE:369619.1 - OCM ( Oracle Configuration Manager ) and My Oracle Support : FAQ and Troubleshooting |
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。