In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
How to Create an OCM Response file to Apply a Patch in Silent Mode-opatch silent (document 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.
GOAL
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 park 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 one) 2) Create response file for OCM3) 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 an 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:
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.