Thursday, 30 March 2017

Crerating an OCM Response File for a Grid Infrastructure (GI) Home Prior to Patching

Crerating an OCM Response File for a Grid Infrastructure (GI) Home Prior to Patching
Before applying any patches to the GI home, an ocm.rsp file should be created.  As the GI owner, set the GI environment:

$ export ORACLE_BASE=/u01/app
$ export ORACLE_HOME=$ORACLE_HOME/11.2.0/grid

Create the ocm.rsp file:



grid@said-db-201$ $ORACLE_HOME/OPatch/ocm/bin/emocmrsp

When prompted for an email address, either leave blank or provide an email address.  The file will be created in the directory
from which the above command was executed.

For example, when applying a patch to GI and the patch files have been unzipped to a directory, the opatch command will be executed as follows:

# opatch auto -oh

grid@said-db-201$./opatch auto /orasoft/soft/Patch/Patch/24436338 -ocmrf /export/home/grid/ocm.rsp

When pompted:
OPatch is bundled with OCM, Enter the absolute OCM response file path:

Enter the patch of the ocm.rsp file e.g.
/export/home/grid/ocm.rsp



Reference: http://anotherdatabaseblog.blogspot.com/2011/10/crerating-ocm-response-file-for-gi-home.html

No comments:

Post a Comment