Oracle Enterprise Manager 13c Release 4 Update 5 (13.4.0.5) – Time to Patch the OMS

Availability and Information Release Update 13.4.0.5

Since some days, the Release Update 13.4.0.5 for the Oracle Enterprise Manager 13c Release 4 is available in My Oracle Support. Time to update my lab environment.

Note: This blog post describes how to apply the RU on an Oracle Enterprise Manager 13 Release 4 Oracle Management Server which is running on an Oracle Linux 7.6 machine. Applying the RU for agents is not part of of this blog post. For agent patching please visit readme of Patch 31544641: Oracle Enterprise Manager 13c Release 4 Platform Update 5 (13.4.0.5) for Oracle Management Agent.

The RU for the Oracle Management Server is generic and the compressed patch file has the size of 964.6 MB. Useful links for this Release Update like contained fixes and improvements:

From the Patch Readme:

Oracle Enterprise Manager 13c Release 4 Update 5 for Oracle Management Service contains bug fixes, and can be applied on the following:

  • Oracle Management Service 13c Release 4 (13.4.0.0.0)
  • Any Release Update previously released for Oracle Management Service 13c Release 4 (13.4.0.0.0)

OMSPatcher Prerequisites 

OMSPatcher has to be version 13.9.4.1.0 for Enterprise Manager 13.4.0.0.0 – let’s verify it on my OEM environment:

$ export ORACLE_HOME=/u01/app/oracle/product/em13cr4

$ORACLE_HOME/OMSPatcher/omspatcher version
OMSPatcher Version: 13.9.4.1.0
OPlan Version: 12.2.0.1.16
OsysModel build: Thu Oct 25 18:18:12 PDT 2018

OMSPatcher succeeded.

If your OMSPatcher has an older release, take a look here how to update it: EM 13c: How To Upgrade Enterprise Manager 13.4 Cloud Control OMSPatcher Utility to Version 13.9.4.1.0 (Doc ID 2646080.1)

Transfer and extract Release Update

The RU is extracted in the stage directory on the OEM server:

$ ll
total 987904
drwxr-xr-x 3 oracle oinstall 81 Aug 18 21:26 .
drwxr-xr-x. 13 oracle dba 4096 May 11 13:03 ..
drwxr-x--- 15 oracle oinstall 4096 Aug 13 07:37 31604791
-rw-rw-r-- 1 oracle oinstall 123537 Aug 17 19:54 PatchSearch.xml
-rw-r--r-- 1 oracle oinstall 1011475597 Aug 18 21:25 p31604791_134000_Generic.zip

Pre-Check

Run the pre-check to analyze the existing Oracle Enterprise Manager system.

$ cd /u01/app/oracle/stage/31604791
$ $ORACLE_HOME/OMSPatcher/omspatcher apply -analyze

Extract from the OMSPatch logfile, here in my case called omspatcher_2020-08-18_21-35-49PM_analyze.log.

The following sub-patches are incompatible with components installed in the OMS system:
31511488,31511179,31511147,30851102,31187567,31352743,31510486

These warnings can ignored, these are patches for plugins which I am not using. So the patch will not be applied here, for example:

  • oracle.sysman.emfa.oms.plugin (Enterprise Manager for Fusion Applications)
  • oracle.sysman.bda.oms.plugin (Oracle Big Data Appliance)

OPatch – The inventory shows Platform Update 13.4.0.3 which is my actual release.

$ $ORACLE_HOME/OPatch/opatch lsinventory | grep Platform
Patch description: "Oracle Enterprise Manager 13c Release 4 Platform Update 3 (13.4.0.3) for Oracle Management Service"

About Enterprise Manager

Show the installed Plugins – emcli

Login

$ $ORACLE_HOME/bin/emcli login -username=sysman
Enter password :
Login successful

Sync emcli

$ $ORACLE_HOME/bin/emcli sync
Synchronized successfully

List plugins

$ $ORACLE_HOME/bin/emcli list_plugins_on_server
OMS name is kestenholz.martinberger.local:4889_Management_Service
Plug-in Name Plugin-id Version [revision]

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

Release Update Apply

1st – Stop the OMS

$ORACLE_HOME/bin/emctl stop oms

2nd – Apply RU with OMSPatcher

I don’t use a credential file, therefore the username (if not using weblogic which is default) and the password for the Weblogic AdminServer has to be provied.

$ cd /u01/app/oracle/stage/31604791
$ $ORACLE_HOME/OMSPatcher/omspatcher apply
OMSPatcher Automation Tool
Copyright (c) 2017, Oracle Corporation. All rights reserved.


OMSPatcher version : 13.9.4.1.0
OUI version : 13.9.4.0.0
Running from : /u01/app/oracle/product/em13cr4
Log file location : /u01/app/oracle/product/em13cr4/cfgtoollogs/omspatcher/opatch2020-08-19_09-49-05AM_1.log

OMSPatcher log file: /u01/app/oracle/product/em13cr4/cfgtoollogs/omspatcher/31604791/omspatcher_2020-08-19_09-49-10AM_analyze.log

Please enter OMS weblogic admin server URL(t3s://kestenholz.martinberger.local:7102):>
Please enter OMS weblogic admin server username(weblogic):>
Please enter OMS weblogic admin server password:>
...
<patching actions>
<patching actions>
<patching actions>
...

Deployment summary:
-------------------

The following artifact(s) have been successfully deployed:

Artifacts Log file
--------- --------
SQL rcu_applypatch_original_patch_2020-08-18_21-54-04PM.log
SQL rcu_applypatch_original_patch_2020-08-18_21-56-10PM.log
SQL rcu_applypatch_original_patch_2020-08-18_21-56-27PM.log
SQL rcu_applypatch_original_patch_2020-08-18_21-56-45PM.log
SQL rcu_applypatch_original_patch_2020-08-18_21-57-03PM.log
MRS-commands emctl_register_commands_2020-08-18_21-57-24PM.log
MRS-commands emctl_register_commands_2020-08-18_21-57-28PM.log
MRS-procedures emctl_register_procedures_2020-08-18_21-57-32PM.log
MRS-swlib emctl_register_swlib_2020-08-18_21-57-39PM.log
MRS-swlib emctl_register_swlib_2020-08-18_21-57-45PM.log
MRS-targetType emctl_register_targetType_2020-08-18_21-57-53PM.log
MRS-targetType emctl_register_targetType_2020-08-18_21-58-02PM.log
MRS-storeTargetType emctl_register_storeTargetType_2020-08-18_22-00-48PM.log
MRS-storeTargetType emctl_register_storeTargetType_2020-08-18_22-00-54PM.log
MRS-default_collection emctl_register_default_collection_2020-08-18_22-01-01PM.log
MRS-default_collection emctl_register_default_collection_2020-08-18_22-01-08PM.log
MRS-omsPropertyDef emctl_register_omsPropertyDef_2020-08-18_22-01-35PM.log
MRS-omsPropertyDef emctl_register_omsPropertyDef_2020-08-18_22-01-40PM.log
MRS-jobTypes emctl_register_jobTypes_2020-08-18_22-01-45PM.log
MRS-jobTypes emctl_register_jobTypes_2020-08-18_22-01-50PM.log
MRS-jobTypes emctl_register_jobTypes_2020-08-18_22-01-55PM.log
MRS-systemStencil emctl_register_systemStencil_2020-08-18_22-02-03PM.log
MRS-systemStencil emctl_register_systemStencil_2020-08-18_22-02-08PM.log
MRS-gccompliance emctl_register_gccompliance_2020-08-18_22-02-12PM.log
MRS-discovery emctl_register_discovery_2020-08-18_22-02-28PM.log
MRS-CredstoreMetadata emctl_register_CredstoreMetadata_2020-08-18_22-02-33PM.log


--------------------------------------------------------------------------------
The following warnings have occurred during OPatch execution:
1) Could not apply the patch "31511488" 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 "31511179" 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 "31511147" 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 "30851102" 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 "31187567" 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 "31352743" 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.
7) Could not apply the patch "31510486" 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.
--------------------------------------------------------------------------------
OMSPatcher Session completed with warnings.
Log file location: /u01/app/oracle/product/em13cr4/cfgtoollogs/omspatcher/31604791/omspatcher_2020-08-18_21-41-32PM_deploy.log

OMSPatcher completed with warnings.

Warnings can be ignored as long they depend on plugins which are not installed.

OPatch – The inventory shows Platform Update 13.4.0.5 the RU is applied.

$ $ORACLE_HOME/OPatch/opatch lsinventory | grep Platform
Patch description: "Oracle Enterprise Manager 13c Release 4 Platform Update 5 (13.4.0.5) for Oracle Management Service"

3rd – Start the OMS again

$ $ORACLE_HOME/bin/emctl start oms

About Enterprise Manager

Summary

Oracle Enterprise Manager 13c Release 4 Update 5 (13.4.0.5) – easy to apply, works!