APPLIES TO:Oracle Database - Enterprise Edition - Version 11.2.0.1 and laterSiebel CRM - Version 8.1.1.8 [23012] to 8.1.1.11 [IP2013] [Release V8] Oracle Enterprise Service Bus - Version 10.1.3.5 to 10.1.3.5 Oracle Business Process Management Suite - Version 11.1.1.7.0 to 11.1.1.7.0 [Release 11gR1] Oracle Database - Standard Edition - Version 11.2.0.1 and later Information in this document applies to any platform. PURPOSETo announce a change in behavior for how OPatch addresses superset/subset patching SCOPEThis is applicable to all levels of expertise for OPatch. The 12.2.0.1.5 release of OPatch is used for all releases 12.1.0.x and later The 11.2.0.3.14 release of OPatch is used for all releases 11.2.0.1 - 11.2.0.4 DETAILSOCM IS NO LONGER PACKAGED WITH OPATCHNote: This enhancement to OPatch exists in 12.2.0.1.5 release and later In the past, when a "silent" installation was executed, it was necessary to generate a response file and include it in the command line of the OPatch apply. For example: # opatchauto apply The option -ocmrf is used to provide OPatch the OCM responses during a silent install. Since OCM is no longer packaged with OPatch, the -ocmrf is no longer needed on the command line. The command can now be # opatchauto apply The command "emocmrsp" is used to create the response file for the option -ocmrf. This no longer is needed since the -ocmrf is no longer needed If -ocmrf is included in the command line, the following ignorable warning will be returned ***You are calling OPatch with -ocmrf option while this OPatch is generic, not being bundled with OCM. The -ocmrf option is being deprecated. Please remove it while calling OPatch.*** ENHANCED TO HANDLE SUPERSET/SUBSET PATCH MORE EFFICIENTLYNote: This enhancement to OPatch exists in 12.2.0.1.5 and 11.2.0.3.14 releases and later The changeIn the past, when OPatch recognized that the patch being installed is a superset of one already installed, it would rollback the subset patch before installing the new patch. Beginning with these releases of OPatch, when OPatch recognized that the patch being installed is a superset of one already installed, OPatch no longer rolls back the installed patch prior to it installing the superset patch. Additionally when the superset patch is rolled back, the original patch is reactivated For example: Install July OJVM PSU (23177536) on top of April OJVM PSU (22674709) which is a subset of July Prior actions taken by OPatch
Actions taken by OPatch starting with release 12.2.0.1.5 and 11.2.0.3.14
Starting in OPatch 12.2.0.1.7 and 11.2.0.3.15 releases, the following message will be returned after a subset patch has been inactivated during an apply: Sub-set patch [22674709] has become inactive due to the application of a super-set patch [23177536]. after a subset patch has been re-activated during a rollback: Inactive sub-set patch [22674709] has become active due to the rolling back of a super-set patch [23177536]. New option for "opatch lsinv" / "opatch lsinventory"When listing patches associated to an installation, the -inactive option will list all patches that have been superseded and inactivated. For example: % opatch lsinv -inactive Inactive patches (1) : SPU InstallationsGOAL: Only rollback the current SPUAfter running the OPatch rollback command as documented in the README
GOAL: Rollback the entire SPUIf using Opatch 11.2.0.3.15 or later, when OPatch completes the rollback, it will display any molecules that were re-activated due to the rollback.
Note: If using Opatch 11.2.0.3.14, OPatch will not report the re-activated subset patch. Run "opatch lsinv" to determine which subset patch(es) were reactivated. non-SPU InstallationsGOAL: Only rollback the current release of the superset patchFor a ROLLBACK 12.1.0.x and later Nothing additional to any Post de-Install steps which are documented in the README Note: datapatch will re-apply the patch which was re-activated due to the rollback of the superset In the following example scenario:
dba_registry_sqlpatch reflects the following PATCH_ID FLAGS ACTION STATUS ACTION_TIME DESCRIPTION 11.2.x In addition to any Post de-Install steps which are documented in the README for the patch being rolled back, the Post Install step of the patch which was re-activated due to the rollback of the superset should be executed. Failure to do this may cause components and objects to become INVALID resulting in procedures to fail. For example, see: Note 2173700.1 Component JServer JAVA Virtual Machine and object DBMS_JAVA invalid after running Post De-install steps for OJVM PSU GOAL: Rollback all releases of the superset patch and subset patch(es)
NOTE: An enhancement to OPatch (Bug 24347794) 2434779424347794has been filed to provide the functionality of rolling back all subset patches with one command REFERENCESNOTE:2173700.1 - Component JServer JAVA Virtual Machine and object DBMS_JAVA invalid after running Post De-install steps for OJVM PSU |