HowtocreateanOCMResponsefiletoapplypatchinsilentmode-opatchsilent(DocID966023.1)(二)

2014-11-24 00:43:57 · 作者: · 浏览: 30
er Name.
Visit http://www.oracle.com/support/policies.html for details.
Email address/User Name:

Password (optional):
The OCM configuration response file (/u02/config.rsp) was successfully created. <<<

Note1 : we can preserver the file “/u02/config.rsp” (could be renamed ) and use with other opath -silent when used with other ORACLE_HOME/setup/machine, however, mention this file while invoking opatch -silent
Note2: Also applicable to patching Grid Home (opatch -auto -silnet)

Part B

Use the response file created in Part A (/u02/unconfig.rsp) with opatch -silent

Assume applying patch 12345

% cd 12345
% opatch apply -silent -ocmrf

Example: % opatch apply -silent -ocmrf /u02/config.rsp

Additional Examples (Showing command usgae for CPU/SPU/PSU/ "opatch auto" )

1) User below for CPU/SPU apply
% opatch napply -silent -ocmrf /u02/config.rsp 2)Use below for PSU apply
% opatch apply -silent -ocmrf /u02/unconfig.rsp 3) Use below while applying patch in GRID infra with "-auto" option
% opatch auto -silent -ocmrf /u02/config.rsp

Note1 : "/u02/config.rsp" is a response file created in Part A
Note2 : we can preserver the file “/u02/config.rsp” (could be renamed ) and use with other opath -silent when used with other ORACLE_HOME/setup/machine, however, mention this file while invoking opatch -silent
Note3: Also applicable to Grid home pathcing (opatch -auto -silent)