您当前的位置: 首页 > 

【MOS 966023.1】How to Create an OCM Response file to Apply a Patch in Silent

发布时间:2018-10-30 09:49:35 ,浏览量:0

How to Create an OCM Response file to Apply a Patch in Silent Mode - opatch silent (文档 ID 966023.1)

In this Document

Goal Solution 1) Download and install  latest opatch tool (ignore this if already done) 2) Create response file for  OCM   3) Use the OCM response file for all opatch silent application 1)  Download and install latest opatch tool (recommended) Refer  the options below to create a ocm response file References

APPLIES TO:

Oracle Universal Installer - Version 10.2.0.1 to 12.1.0.2 [Release 10.2 to 12.1] Oracle Database - Enterprise Edition - Version 10.2.0.1 to 12.2.0.1 [Release 10.2 to 12.2] Information in this document applies to any platform.

GOAL

downloadattachmentprocessor?attachid=1268927.1:AD_HOR_DB_GENERIC&clickstream=no

This Article helps in creating the OCM response file to run opatch in silent mode

Scenario: While installing patch in silent mode, opatch tool prompts User for OCM configuration, this makes Opatch to break the silent install process and  patch apply for User response. (And this violates silent install feature).

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

SOLUTION

Pre-requirements to use  opatch silent

1) Download and install  latest opatch tool (ignore this if already done)

2) Create response file for  OCM  

3) Use the OCM response file for all opatch silent application

However, 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 Select a Release: 10.2  -OR-  11.1 -OR-  11.2 -OR-  12.1 

 

2) How to create response file for OCM  

Note : the location of OCM executable is  "$ORACLE_HOME/OPatch/ocm/bin/emocmrsp"  

syntax :  % export ORACLE_HOME= % $ORACLE_HOME/OPatch/ocm/bin/emocmrsp  -no_banner -output/file.rsp * creates the response in location specified by the parameter "-output" * running without "-output/file.rsp"  creates the file in current directory with default name(ocm.rsp)

Refer  the options below to create a ocm response file

Option 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 % $ORACLE_HOME/OPatch/ocm/bin/emocmrsp -no_banner -output /u02/ocm.rsp

Provide your email address to be informed of security issues, install and initiate Oracle Configuration Manager. Easier for you if you use your My Oracle Support Email address/User Name. Visit  http://www.oracle.com/support/policies.html  for details. Email address/User Name:

<<<< Press Enter/Return key and don't provide any input >>>>

You have not provided an email address for notification of security issues. Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]: Y <<< type Y/Yes >>> The OCM configuration response file (/u02/ocm.rsp) was successfully created. <<

Option 2  : Create the response file while keep OCM turn ON / Active (Yes, OCM can be turned ON. use this  "options 1" if you are not sure about OCM )

% export ORACLE_HOME=/u01/app/oracle/11.2/db1 % $ORACLE_HOME/OPatch/ocm/bin/emocmrsp -no_banner -output /u02/ocm.rsp

Provide your email address to be informed of security issues, install and initiate Oracle Configuration Manager. Easier for you if you use your My Oracle Support Email address/User Name. Visit  http://www.oracle.com/support/policies.html  for details. Email address/User Name:

关注
打赏
1688896170
查看更多评论

暂无认证

  • 0浏览

    0关注

    107766博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文
立即登录/注册

微信扫码登录

0.0467s