Patching Oracle Enterprise Manager 13c Release 4 Update 12 For OMS And Weblogic

Description:-

In this article, we are going to see the Patching Oracle Enterprise Manager 13c Release 4 Update 12 For OMS And Weblogic

Part-1 OMS,
Part-2 Weblogic

Oracle Reference Doc:-

Enterprise Manager 13.4 Main Release Update List (Includes Plug-ins) ( Doc ID 2647078.2 )
For Weblogic please check: Critical Patch Update (CPU) Program Jul 2020 Patch Availability Document (PAD) ( Doc ID 2664876.1 )
13.4 and 13.5: How to Upgrade OPatch to 13.9.4.2.6 on the OMS (Doc ID 2728285.1)
EM 13c: How To Upgrade Enterprise Manager 13.4 Cloud Control OMSPatcher Utility to Version 13.9.4.6.0 (Doc ID 2646080.1)

OMS Patching for Oracle Enterprise Manager 13c Release 4

OMS Patch -> Patch 33076766: Oracle Enterprise Manager 13c Release 4 Update 12 (13.4.0.12) for Oracle Management Service

1

Download Patch 19999993 for EM 13.4.0.0.0 from My Oracle Support.
OMSPatcher -> OMSPatcher patch of version 13.9.4.6.0 for Enterprise Manager Cloud Control 13.4.0.0.0 (Patch) For RU6 and above (Patch)

2

Opatch Tool -> OPatch 13.9.4.2.6 is available via Patch 28186730. Ensure that the correct version 13.9.4.2.6 is selected while downloading the OPatch.

3

Part-2 Weblogic

Weblogic Patching Oracle Enterprise Manager 13c Release 4

Weblogic Patch-> WLS PATCH SET UPDATE 12.2.1.3.200624 Patch 31535411

4

Part-1 Applying OMS Patches 

  • We need to Download Patch 33076766: Oracle Enterprise Manager 13c Release 4 Update 12 (13.4.0.12) for Oracle Management Service
  • OMSPatcher patch of version 13.9.4.6.0 for Enterprise Manager Cloud Control 13.4.0.0.0 (Patch) For RU6 and above (Patch)
  • OPatch 13.9.4.2.6 is available via Patch 28186730. Ensure that the correct version 13.9.4.2.6 is selected while downloading the OPatch.

Step:-1 For Rollback plan

Take Backup of $MIDDLEWARE_HOME

Shutdown OMS (emctl stop oms -force)

cd /u01/app/oracle/

tar -zcvf middleware_bkp.tar middleware

You can also take backup in the background using nohup.

nohup tar -zcvf middleware_bkp.tar middleware &

You can also take backup in different location/path.

nohup tar -zcvf /backup/oracle/middleware_bkp.tar middleware &

Step:-2 Check before Patching status

[oracle@oradbwr ~]$ . oms.env
[oracle@oradbwr ~]$ $ORACLE_HOME/bin/emcli login -username=sysman
Enter password :
Login successful
[oracle@oradbwr ~]$ $ORACLE_HOME/bin/emcli sync
Synchronized successfully
[oracle@oradbwr ~]$ $ORACLE_HOME/bin/emcli list_plugins_on_server
OMS name is oracledbwr.com:4889_Management_Service
Plug-in Name                            Plugin-id               Version [revision]
Oracle E-Business Suite           oracle.apps.ebs         13.4.1.0.0
Oracle Cloud Framework         oracle.sysman.cfw   13.4.1.0.0
Oracle Database                         oracle.sysman.db     13.4.1.0.0
Oracle Fusion Middleware       oracle.sysman.emas 13.4.1.0.0
Systems Infrastructure              oracle.sysman.si       13.4.1.0.0
Oracle Exadata                            oracle.sysman.xa      13.4.1.0.0
[oracle@oradbwr ~]$ $ORACLE_HOME/OPatch/opatch lsinventory | grep Platform

First we need to upgrade OPatch Tool and OMSPatcher Utility to Version 13.9.4.6.0 

PATCH 28186730 – OPATCH 13.9.4.2.6 FOR EM 13.4, 13.5 and FMW/WLS 12.2.1.3.0, 12.2.1.4.0 AND 14.1.1.0.0

[oracle@oradbwr patch]$ ls -lrt
total 1311784
-rw-r–r– 1 oracle oinstall 1226445213 Aug 9 04:35 p33076766_134000_Generic.zip
-rw-r–r– 1 oracle oinstall 786169 Aug 9 04:54 p19999993_134000_Generic.zip
-rw-r–r– 1 oracle oinstall 63854808 Aug 9 05:19 p31535411_122130_Generic.zip
-rw-r–r– 1 oracle oinstall 52170877 Aug 9 05:21 p28186730_139426_Generic.zip

OPatch Upgrade

Pre-Installation Instructions
—————————–

1. Backup of the ORACLE_HOME and Central Inventory must be taken as there is no mechanism to rollback to the older OPatch version.
2. Unzip this patch into your PATCH_HOME staging directory.
3. This installer must be executed using a Java Development Kit (JDK).
– Set your PATH to include your <JDK_LOCATION>/bin
4. All the processes which are using files from ORACLE_HOME must be stopped before OPatch upgrade.

[oracle@oradbwr patch]$ cp p28186730_139426_Generic.zip $MIDDLEWARE_HOME/
[oracle@oradbwr middleware]$ cd OPatch/
[oracle@oradbwr OPatch]$ ./opatch version
OPatch Version: 13.9.4.2.2
OPatch succeeded.
[oracle@oradbwr middleware]$ unzip p28186730_139426_Generic.zip
java -jar /u01/app/oracle/middleware/6880880/opatch_generic.jar -silent oracle_home=/u01/app/oracle/middleware

Installation

[oracle@oradbwr middleware]$ unzip p28186730_139426_Generic.zip

DON’T RENAME THE OPATCH FOLDER

[oracle@oradbwr bin]$ /u01/app/Agent_13c/agent_13.4.0.0.0/jdk/bin/java -jar /u01/app/oracle/middleware/6880880/opatch_generic.jar -silent oracle_home=/u01/app/oracle/middleware
Launcher log file is /tmp/OraInstall2021-08-09_05-54-47AM/launcher2021-08-09_05-54-47AM.log.
Extracting the installer . . . . Done
Checking if CPU speed is above 300 MHz. Actual 2394.515 MHz Passed
Checking swap space: must be greater than 512 MB. Actual 20479 MB Passed
Checking if this platform requires a 64-bit JVM. Actual 64 Passed (64-bit not required)
Checking temp space: must be greater than 300 MB. Actual 43401 MB Passed
Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2021-08-09_05-54-47AM
Installation Summary
Disk Space : Required 41 MB, Available 263,000 MB
Feature Sets to Install:
Next Generation Install Core 13.9.4.0.1
OPatch 13.9.4.2.6
OPatch Auto OPlan 13.9.4.2.6
Session log file is /tmp/OraInstall2021-08-09_05-54-47AM/install2021-08-09_05-54-47AM.log
Loading products list. Please wait.
1%
40%
Loading products. Please wait.
42%
43%
45%
46%
97%
98%
99%
Updating Libraries
Starting Installations
1%
2%
3%
4%
5%
92%
93%
94%
Install pending
Installation in progress
ore.classpath
Saving the inventory oracle.glcm.opatch.common.api.classpath
Saving the inventory oracle.glcm.oplan.core.classpath
The install operation completed successfully.
Logs successfully copied to /u01/app/oraInventory/logs.
[oracle@oradbwr middleware]$ cd OPatch/
[oracle@oradbwr OPatch]$ ./opatch version
OPatch Version: 13.9.4.2.6
OPatch succeeded.

OMSPatcher Utility Upgrade to Version 13.9.4.6.0 

[oracle@oradbwr patch]$ cp p19999993_134000_Generic.zip $MIDDLEWARE_HOME
[oracle@oradbwr OMSPatcher]$ export omspatcher=$MIDDLEWARE_HOME/OMSPATCHER/omspatcher
[oracle@oradbwr OMSPatcher]$ export PATH=$MIDDLEWARE_HOME/bin:$MIDDLEWARE_HOME/OMSPatcher:$PATH
[oracle@oradbwr OMSPatcher]$ omspatcher version
OMSPatcher Version: 13.8.0.0.3
OPlan Version: 12.2.0.1.16
OsysModel build: Thu Oct 25 18:18:12 PDT 2018
OMSPatcher succeeded.
[oracle@oradbwr middleware]$ mv OMSPatcher/ OMSPatcher_BKP
[oracle@oradbwr middleware]$ unzip p19999993_134000_Generic.zip
[oracle@oradbwr middleware]$ export omspatcher=$MIDDLEWARE_HOME/OMSPATCHER/omspatcher
[oracle@oradbwr middleware]$ export PATH=$MIDDLEWARE_HOME/bin:$MIDDLEWARE_HOME/OMSPatcher:$PATH
[oracle@oradbwr middleware]$ omspatcher version
OMSPatcher Version: 13.9.4.6.0
OPlan Version: 12.2.0.1.16
OsysModel build: Thu Oct 25 18:18:12 PDT 2018
OMSPatcher succeeded.

We have upgraded OPatch Tool and OMSPatcher Utility to Version 13.9.4.6.0 

Demo Part -1 :- Appling OMS patches

Step:-1 Prerequisites

  • Ensure that the Oracle WebLogic Administration server that hosts the OMS is up and running.
  • Ensure that the Oracle Database, which houses the Management Repository and its Listener, is up and running.
  • Ensure that you have OPatch version 13.9.4.2.5 or later and OMSPatcher version 13.9.4.6.0 for Enterprise Manager 13.4.0.0.0 release.
[oracle@oradbwr middleware]$ emctl status oms
Oracle Enterprise Manager Cloud Control 13c Release 4
Copyright (c) 1996, 2020 Oracle Corporation. All rights reserved.
WebTier is Up
Oracle Management Server is Up
JVMD Engine is Down
BI Publisher Server is Up
$ORACLE_HOME/OPatch/opatch version
$ORACLE_HOME/OMSPatcher/omspatcher version
[oracle@oradbwr middleware]$ echo $ORACLE_HOME
/u01/app/oracle/middleware
[oracle@oradbwr middleware]$ $ORACLE_HOME/OPatch/opatch version
OPatch Version: 13.9.4.2.6
OPatch succeeded.
[oracle@oradbwr middleware]$ $ORACLE_HOME/OMSPatcher/omspatcher version
OMSPatcher Version: 13.9.4.6.0
OPlan Version: 12.2.0.1.16
OsysModel build: Thu Oct 25 18:18:12 PDT 2018
OMSPatcher succeeded.
[oracle@oradbwr patch]$ ls -lrt
total 1311784
-rw-r–r– 1 oracle oinstall 1226445213 Aug 9 04:35 p33076766_134000_Generic.zip
-rw-r–r– 1 oracle oinstall 786169 Aug 9 04:54 p19999993_134000_Generic.zip
-rw-r–r– 1 oracle oinstall 63854808 Aug 9 05:19 p31535411_122130_Generic.zip
-rw-r–r– 1 oracle oinstall 52170877 Aug 9 05:21 p28186730_139426_Generic.zip
[oracle@dev-oem021 patch]$ unzip p33076766_134000_Generic.zip
[oracle@oradbwr patch]$ cd 33076766
[oracle@oradbwr 33076766]$ export omspatcher=$MIDDLEWARE_HOME/OMSPATCHER/omspatcher
[oracle@oradbwr 33076766]$ export PATH=$MIDDLEWARE_HOME/bin:$MIDDLEWARE_HOME/OMSPatcher:$PATH

Step:-2 Patch Analyze

The Analyze step does not install and deploy the RU. It just checks if the RU can be installed.

[oracle@oradbwr 33076766]$ omspatcher apply -analyze
OMSPatcher Automation Tool
Copyright (c) 2017, Oracle Corporation. All rights reserved.
OMSPatcher version : 13.9.4.6.0
OUI version : 13.9.4.0.0
Running from : /u01/app/oracle/middleware
Log file location : /u01/app/oracle/middleware/cfgtoollogs/omspatcher/opatch2021-08-09_06-22-39AM_1.log
OMSPatcher log file: /u01/app/oracle/middleware/cfgtoollogs/omspatcher/33076766/omspatcher_2021-08-09_06-22-44AM_analyze.log
Please enter OMS weblogic admin server URL(t3s://oradbwr.com:7102):>
Please enter OMS weblogic admin server username(weblogic):>
Please enter OMS weblogic admin server password:>
WARNING: Could not apply the patch “32198935” because the “oracle.sysman.vt.oms.plugin with version 13.4.1.0.0” core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system.
WARNING: Could not apply the patch “32436201” because the “oracle.sysman.emct.oms.plugin with version 13.4.1.0.0” core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system.
WARNING: Could not apply the patch “32198861” because the “oracle.sysman.am.oms.plugin with version 13.4.1.0.0” core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system.
Configuration Validation: Success
Running apply prerequisite checks for sub-patch(es) “32720750,32720701,31812958,32436258,32720634,32720663” and Oracle Home “/u01/app/oracle/middleware”…
Sub-patch(es) “32720750,32720701,31812958,32436258,32720634,32720663” are successfully analyzed for Oracle Home “/u01/app/oracle/middleware”
Complete Summary
================
All log file names referenced below can be accessed from the directory “/u01/app/oracle/middleware/cfgtoollogs/omspatcher/2021-08-09_06-22-39AM_SystemPatch_33076766_1”
Prerequisites analysis summary:
——————————-
The following sub-patch(es) are applicable:
Featureset Sub-patches Log file
———- ———– ——–
oracle.sysman.top.oms 32720750,32720701,31812958,32436258,32720634,32720663 32720750,32720701,31812958,32436258,32720634,32720663_opatch2021-08-09_06-22-43AM_1.log
The following sub-patches are incompatible with components installed in the OMS system:
32198935,32436201,32198861,32198970,32436193,32436238,32720722,31889317,31802539
——————————————————————————–
The following warnings have occurred during OPatch execution:
1) Could not apply the patch “32198935” because the “oracle.sysman.vt.oms.plugin with version 13.4.1.0.0” core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system.
2) Could not apply the patch “32436201” because the “oracle.sysman.emct.oms.plugin with version 13.4.1.0.0” core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system.
3) Could not apply the patch “32198861” because the “oracle.sysman.am.oms.plugin with version 13.4.1.0.0” core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system.
4) Could not apply the patch “32198970” because the “oracle.sysman.vi.oms.plugin with version 13.4.1.0.0” core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system.
5) Could not apply the patch “32436193” because the “oracle.sysman.bda.oms.plugin with version 13.4.1.0.0” core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system.
6) Could not apply the patch “32436238” because the “oracle.sysman.ssa.oms.plugin with version 13.4.1.0.0” core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system.
——————————————————————————–
OMSPatcher Session completed with warnings.
Log file location: /u01/app/oracle/middleware/cfgtoollogs/omspatcher/33076766/omspatcher_2021-08-09_06-22-44AM_analyze.log
OMSPatcher completed with warnings. (Warning is fine. Please go ahead and apply the patch)

Step:-3 Installing the Release Update

[oracle@oradbwr 33076766]$ omspatcher apply
OMSPatcher Automation Tool
Copyright (c) 2017, Oracle Corporation. All rights reserved.
OMSPatcher version : 13.9.4.6.0
OUI version : 13.9.4.0.0
Running from : /u01/app/oracle/middleware
Log file location : /u01/app/oracle/middleware/cfgtoollogs/omspatcher/opatch2021-08-09_06-39-30AM_1.log
OMSPatcher log file: /u01/app/oracle/middleware/cfgtoollogs/omspatcher/33076766/omspatcher_2021-08-09_06-39-35AM_deploy.log
Please enter OMS weblogic admin server URL(t3s://oradbwr.com:7102):>
Please enter OMS weblogic admin server username(weblogic):>
Please enter OMS weblogic admin server password:>
WARNING: Could not apply the patch “32198935” because the “oracle.sysman.vt.oms.plugin with version 13.4.1.0.0” core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system.
WARNING: Could not apply the patch “32436201” because the “oracle.sysman.emct.oms.plugin with version 13.4.1.0.0” core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system.
WARNING: Could not apply the patch “32198861” because the “oracle.sysman.am.oms.plugin with version 13.4.1.0.0” core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system.
WARNING: Could not apply the patch “32198970” because the “oracle.sysman.vi.oms.plugin with version 13.4.1.0.0” core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system.
WARNING: Could not apply the patch “32436193” because the “oracle.sysman.bda.oms.plugin with version 13.4.1.0.0” core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system.
WARNING: Could not apply the patch “32436238” because the “oracle.sysman.ssa.oms.plugin with version 13.4.1.0.0” core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system.
WARNING: Could not apply the patch “32720722” because the “oracle.sysman.emfa.oms.plugin with version 13.4.1.0.0” core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system.
Configuration Validation: Success
Running apply prerequisite checks for sub-patch(es) “32720750,32720701,31812958,32436258,32720634,32720663” and Oracle Home “/u01/app/oracle/middleware”…
Sub-patch(es) “32720750,32720701,31812958,32436258,32720634,32720663” are successfully analyzed for Oracle Home “/u01/app/oracle/middleware”
To continue, OMSPatcher will do the following:
[Patch and deploy artifacts] : Apply sub-patch(es) [ 31812958 32436258 32720634 32720663 32720701 32720750 ]
Apply RCU artifact with patch “/u01/app/oracle/middleware/.omspatcher_storage/32720634_Jul_22_2021_04_05_15/original_patch”;
Apply RCU artifact with patch “/u01/app/oracle/middleware/.omspatcher_storage/32720701_Jul_22_2021_04_14_39/original_patch”;
Apply RCU artifact with patch “/u01/app/oracle/middleware/.omspatcher_storage/32720750_Jul_22_2021_04_14_53/original_patch”;
Apply RCU artifact with patch “/u01/app/oracle/middleware/.omspatcher_storage/32436258_May_11_2021_12_12_23/original_patch”;
Apply RCU artifact with patch “/u01/app/oracle/middleware/.omspatcher_storage/32720663_Jul_22_2021_04_15_59/original_patch”;
Apply RCU artifact with patch “/u01/app/oracle/middleware/.omspatcher_storage/31812958_Sep_8_2020_04_35_38/original_patch”;
Register MRS artifact “commands”;
Register MRS artifact “procedures”;
Register MRS artifact “swlib”;
Register MRS artifact “targetType”;
Register MRS artifact “storeTargetType”;
Register MRS artifact “default_collection”;
Register MRS artifact “omsPropertyDef”;
Register MRS artifact “jobTypes”;
Register MRS artifact “systemStencil”;
Register MRS artifact “gccompliance”;
Register MRS artifact “discovery”;
Register MRS artifact “SecurityClassManager”;
Register MRS artifact “CredstoreMetadata”;
Register MRS artifact “assoc”;
Register MRS artifact “EcmMetadataOnlyRegistration”;
Register MRS artifact “TargetPrivilege”;
Register MRS artifact “derivedAssocs”
Do you want to proceed? [y|n]
y
User Responded with: Y
Applying sub-patch(es) “31812958,32436258,32720634,32720663,32720701,32720750”
Please monitor log file: /u01/app/oracle/middleware/cfgtoollogs/opatch/opatch2021-08-09_06-39-34AM_1.log
Updating repository with RCU reference file “/u01/app/oracle/middleware/.omspatcher_storage/32720634_Jul_22_2021_04_05_15/original_patch”
Updating repository with RCU reference file “/u01/app/oracle/middleware/.omspatcher_storage/32720701_Jul_22_2021_04_14_39/original_patch” for plugin home “/u01/app/oracle/middleware/plugins/oracle.sysman.emas.oms.plugin_13.4.1.0.0”
Updating repository with RCU reference file “/u01/app/oracle/middleware/.omspatcher_storage/32720750_Jul_22_2021_04_14_53/original_patch” for plugin home “/u01/app/oracle/middleware/plugins/oracle.sysman.xa.oms.plugin_13.4.1.0.0”
Updating repository with RCU reference file “/u01/app/oracle/middleware/.omspatcher_storage/32436258_May_11_2021_12_12_23/original_patch” for plugin home “/u01/app/oracle/middleware/plugins/oracle.sysman.si.oms.plugin_13.4.1.0.0”
Updating repository with RCU reference file “/u01/app/oracle/middleware/.omspatcher_storage/32720663_Jul_22_2021_04_15_59/original_patch” for plugin home “/u01/app/oracle/middleware/plugins/oracle.sysman.db.oms.plugin_13.4.1.0.0”
Updating repository with RCU reference file “/u01/app/oracle/middleware/.omspatcher_storage/31812958_Sep_8_2020_04_35_38/original_patch” for plugin home “/u01/app/oracle/middleware/plugins/oracle.sysman.cfw.oms.plugin_13.4.1.0.0”
Registering service “commands” with register file “/u01/app/oracle/middleware/sysman/metadata/commands/swlib_commands.xml” for plugin id as “core”…
Registering service “storeTargetType” with register file “/u01/app/oracle/middleware/sysman/metadata/targetType/host.xml” for plugin id as “core”…
Please monitor log file: /u01/app/oracle/middleware/cfgtoollogs/omspatcher/2021-08-09_06-39-30AM_SystemPatch_33076766_1/emctl_register_storeTargetType_2021-08-09_07-05-05AM.log
Registering service “storeTargetType” with register file “/u01/app/oracle/middleware/plugins/oracle.sysman.emas.oms.plugin_13.4.1.0.0/metadata/targetType/oracle_coherence_node.xml” for plugin id as “oracle.sysman.emas”…
30AM_SystemPatch_33076766_1/emctl_register_storeTargetType_2021-08-09_07-05-17AM.log
“/u01/app/oracle/middleware/plugins/oracle.sysman.si.oms.plugin_13.4.1.0.0/metadata/default_collection/virtualization/oracle_si_virtual_platform_map.xml” for plugin id as “oracle.sysman.si”…
Please monitor log file: /u01/app/oracle/middleware/cfgtoollogs/omspatcher/2021-08-09_06-39-30AM_SystemPatch_33076766_1/emctl_register_default_collection_2021-08-09_07-06-28AM.log
Complete Summary
===============
All log file names referenced below can be accessed from the directory “/u01/app/oracle/middleware/cfgtoollogs/omspatcher/2021-08-09_06-39-30AM_SystemPatch_33076766_1”
Patching summary:
—————–
Binaries of the following sub-patch(es) have been applied successfully:
Featureset Sub-patches Log file
———- ———– ——–
oracle.sysman.top.oms_13.4.0.0.0 31812958,32436258,32720634,32720663,32720701,32720750 31812958,32436258,32720634,32720663,32720701,32720750_opatch2021-08-09_06-39-34AM_1.log
The following sub-patches are incompatible with components installed in the OMS system:
32198935,32436201,32198861,32198970,32436193,32436238,32720722,31889317,31802539
Deployment summary:
——————-
The following artifact(s) have been successfully deployed:
Artifacts Log file
——— ——–
SQL rcu_applypatch_original_patch_2021-08-09_06-48-01AM.log
SQL rcu_applypatch_original_patch_2021-08-09_06-50-39AM.log
SQL rcu_applypatch_original_patch_2021-08-09_06-50-51AM.log
021-08-09_07-10-36AM.log
MRS-CredstoreMetadata emctl_register_CredstoreMetadata_2021-08-09_07-10-40AM.log
MRS-assoc emctl_register_assoc_2021-08-09_07-10-45AM.log
MRS-EcmMetadataOnlyRegistration emctl_register_EcmMetadataOnlyRegistration_2021-08-09_07-10-49AM.log
MRS-EcmMetadataOnlyRegistration emctl_register_EcmMetadataOnlyRegistration_2021-08-09_07-10-55AM.log
MRS-TargetPrivilege emctl_register_TargetPrivilege_2021-08-09_07-11-00AM.log
MRS-TargetPrivilege emctl_register_TargetPrivilege_2021-08-09_07-11-04AM.log
MRS-derivedAssocs emctl_register_derivedAssocs_2021-08-09_07-11-10AM.log
——————————————————————————–
The following warnings have occurred during OPatch execution:
1) Could not apply the patch “32198935” because the “oracle.sysman.vt.oms.plugin with version 13.4.1.0.0” core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system.
2) Could not apply the patch “32436201” because the “oracle.sysman.emct.oms.plugin with version 13.4.1.0.0” core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system.
3) Could not apply the patch “32198861” because the “oracle.sysman.am.oms.plugin with version 13.4.1.0.0” core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system.
4) Could not apply the patch “32198970” because the “oracle.sysman.vi.oms.plugin with version 13.4.1.0.0” core component of the OMS or the plug-in for which the patch is intended is either not deployed or deployed with another version in your Enterprise Manager system.
MSPatcher Session completed with warnings.
Log file location: /u01/app/oracle/middleware/cfgtoollogs/omspatcher/33076766/omspatcher_2021-08-09_06-39-35AM_deploy.log
OMSPatcher completed with warnings.

Step:-4 Verify the patch installation

[oracle@oradbwr 33076766]$ export ORACLE_HOME=/u01/app/oracle/middleware
[oracle@oradbwr 33076766]$ export PATH=/u01/app/oracle/middleware/OPatch:$PATH
[oracle@oradbwr 33076766]$ opatch lsinventory | grep Platform
Patch description: “Oracle Enterprise Manager 13c Release 4 Platform Update 12 (13.4.0.12) for Oracle Management Service”

Part-2 Weblogic patching On OEM 13c

Step:-1 Pre-Installation Instructions

[oracle@dev-oem021 patch]$ ls -lrt
total 1311792
drwxr-x— 18 oracle oinstall 4096 Jul 22 06:34 33076766
-rw-rw-r– 1 oracle oinstall 3503 Jul 30 10:35 PatchSearch.xml
-rw-r–r– 1 oracle oinstall 1226445213 Aug 9 04:35 p33076766_134000_Generic.zip
-rw-r–r– 1 oracle oinstall 786169 Aug 9 04:54 p19999993_134000_Generic.zip
-rw-r–r– 1 oracle oinstall 63854808 Aug 9 05:19 p31535411_122130_Generic.zip
-rw-r–r– 1 oracle oinstall 52170877 Aug 9 05:21 p28186730_139426_Generic.zip
[oracle@dev-oem021 patch]$ unzip p31535411_122130_Generic.zip

Step:-2 Validate the Patching

[oracle@dev-oem021 patch]$ opatch lsinv |grep WLS
Patch description: “WLS PATCH SET UPDATE 12.2.1.3.0(ID:191004.0935)”

Step:-3 Stop OMS

[oracle@oradbwr middleware]$ emctl stop oms -force
Oracle Enterprise Manager Cloud Control 13c Release 4
Copyright (c) 1996, 2020 Oracle Corporation. All rights reserved.
Stopping Oracle Management Server…
Oracle Management Server Successfully Stopped
Oracle Management Server is Down
JVMD Engine is Down

Step:-4 Installing the Release Update

[oracle@dev-oem021 patch]$ cd 31535411
[oracle@dev-oem021 31535411]$ opatch apply
Oracle Interim Patch Installer version 13.9.4.2.6
Copyright (c) 2021, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/middleware
Central Inventory : /u01/app/oraInventory
from : /u01/app/oracle/middleware/oraInst.loc
OPatch version : 13.9.4.2.6
OUI version : 13.9.4.0.0
Log file location : /u01/app/oracle/middleware/cfgtoollogs/opatch/opatch2021-08-09_07-20-22AM_1.log
OPatch detects the Middleware Home as “/u01/app/oracle/middleware”
Verifying environment and performing prerequisite checks…
OPatch continues with these patches: 31535411
Do you want to proceed? [y|n]
y
User Responded with: Y
All checks passed.
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = ‘/u01/app/oracle/middleware’)
Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files…
Applying interim patch ‘31535411’ to OH ‘/u01/app/oracle/middleware’
ApplySession: Optional component(s) [ oracle.wls.cam.wlst, 12.2.1.3.0 ] , [ oracle.wls.cam.wlst, 12.2.1.3.0 ] , [ oracle.log4j.log4j, 1.2.17.0.0 ] , [ oracle.log4j.log4j, 1.2.17.0.0 ] , [ oracle.webservices.wls.jaxrpc, 12.2.1.3.0 ] , [ oracle.webservices.wls.jaxrpc, 12.2.1.3.0 ] , [ oracle.com.fasterxml.jackson.dataformat.jackson.dataformat.yaml, 2.7.9.0.0 ] , [ oracle.com.fasterxml.jackson.dataformat.jackson.dataformat.yaml, 2.7.9.0.0 ] , [ oracle.fmwconfig.common.wls.shared, 12.2.1.3.0 ] , [ oracle.wls.core.app.server.nativelib, 12.2.1.3.0 ] , [ oracle.wls.server.examples, 12.2.1.3.0 ] , [ oracle.wls.rdmu, 12.2.1.3.0 ] , [ oracle.wls.server.mt.examples, 12.2.1.3.0 ] not present in the Oracle Home or a higher version is found.
Patching component oracle.webservices.orawsdl, 12.2.1.3.0…
Patching component oracle.webservices.orawsdl, 12.2.1.3.0…
Patching component oracle.com.fasterxml.jackson.dataformat.jackson.dataformat.xml, 2.7.9.0.0…
Patching component oracle.com.fasterxml.jackson.dataformat.jackson.dataformat.xml, 2.7.9.0.0…
Patching component oracle.org.bouncycastle, 12.2.1.3.0…
Patching component oracle.org.bouncycastle, 12.2.1.3.0…
Patching component oracle.wls.jrf.tenancy.common.sharedlib, 12.2.1.3.0…
Patching component oracle.wls.jrf.tenancy.common.sharedlib, 12.2.1.3.0…
Patching component oracle.wls.jrf.tenancy.common, 12.2.1.3.0…
Patching component oracle.wls.evaluation.database, 12.2.1.3.0…
Patching component oracle.wls.evaluation.database, 12.2.1.3.0…
Patching component oracle.wls.core.app.server, 12.2.1.3.0…
Patching component oracle.wls.core.app.server, 12.2.1.3.0…
Patching component oracle.wls.core.app.server, 12.2.1.3.0…
Patching component oracle.webservices.base, 12.2.1.3.0…
Patching component oracle.webservices.base, 12.2.1.3.0…
Patching component oracle.fmw.upgrade.fmwconfig, 12.2.1.3.0…
Patching component oracle.webservices.jrf, 12.2.1.3.0…
Patching component oracle.webservices.jrf, 12.2.1.3.0…
Patching component oracle.commons.fileupload.commons.fileupload, 1.3.2.0.0…
Patching component oracle.commons.fileupload.commons.fileupload, 1.3.2.0.0…
Patching component oracle.apache.commons.collections.mod, 3.2.0.0.2…
Patching component oracle.wls.common.cam, 12.2.1.3.0…
Patching component oracle.wls.workshop.code.completion.support, 12.2.1.3.0…
Patching component oracle.java.activation, 12.2.1.3.0…
Patching component oracle.apache.commons.lang.mod, 2.6.0.0.2…
Patching component oracle.java.xml.bind, 2.3.0.0.0…
Patching component oracle.jrf.tenancy, 12.2.1.3.0…
Patching component oracle.java.jaxws, 12.2.1.3.0…
Patch 31535411 successfully applied.
Sub-set patch [30386660] has become inactive due to the application of a super-set patch [31535411].
Please refer to Doc ID 2161861.1 for any possible further required actions.
Log file location: /u01/app/oracle/middleware/cfgtoollogs/opatch/opatch2021-08-09_07-20-22AM_1.log
OPatch succeeded.

Step:-5 Verify the patch installation

[oracle@oradbwr 31535411]$ opatch lsinv |grep WLS
Patch description: “WLS PATCH SET UPDATE 12.2.1.3.200624”

Step:-6 Start OMS

[oracle@oradbwr middleware]$ emctl start oms
Oracle Enterprise Manager Cloud Control 13c Release 4
Copyright (c) 1996, 2020 Oracle Corporation. All rights reserved.
Stopping Oracle Management Server…
Oracle Management Server Successfully Stopped
Oracle Management Server is Down
JVMD Engine is Down

Reference

3 thoughts on “Patching Oracle Enterprise Manager 13c Release 4 Update 12 For OMS And Weblogic”

Leave a Comment