Applies to:
Oracle Universal Installer - Version 10.2.0.4 to 11.2.0.3 [Release 10.2 to 11.2]Oracle Database - Enterprise Edition - Version 10.2.0.4 to 11.2.0.3 [Release 10.2 to 11.2]
Information in this document applies to any platform.
Goal
This Article helps in crating 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 refers this files while installing in silent and forwards silently with applying patch without prompting for OCM credentials.
Solution
We need to created the ocm response file prior Invoking opatch in silent mode - this falls in to 2 parts
Part A : first create the OCM response file via "emocmrsp" executable ($ORACLE_HOME/OPatch/ocm/bin/emocmrsp)
Part B : User the response file created in Part A with opatch silent ($ORACLE_HOME/OPatch/opatch)