Keeping your EM/OMS updated is an essential task to avoid performance and security issues of your monitoring/observability tools. Here you can see the steps to patch your EM from 13.5.0.20 to 13.5.0.24 (the last patch for now). And I also updated the agent running in the EM server to the latest version too.
Where to download
The main note to check the updates for the EM is Enterprise Manager 13.5 Main Release Update List (Includes Plug-ins) (Doc ID 2760230.2) and this other as well Enterprise Manager Cloud Control Updates: List of Available RUs (Release Updates) and PSUs (Patch Set Updates) (Doc ID 1605609.1). But I prefer this one Enterprise Manager Cloud Control Database (DB) Plug-in 13.5 Release Update (RU) Bug List (Doc ID 2811987.1) because it lists the patches for EM and Agent in one single page (and the solved bug per each version).
From there, we got the links for EM patch 36761595, and Agent patch 36761598. Both they are the RU 24.
You will need to have the last version of the OMSPatcher (pick up the last version from note 2809842.1) and also the last version from AgentPatcher (pick up the last version from note 2810322.1).
Update the OMSPatcher
Since the update process is “in place” (applied over the current OMS home), we need to update the OMSPatch placing a new version of it. The process is simple. We first go to Othe MS home folder, move the current OMSPatcher folder, and unzip the new one:
[oracle@oemsrv ~]$ export ORACLE_HOME=$OMS_HOME [oracle@oemsrv ~]$ [oracle@oemsrv ~]$ cd $OMS_HOME [oracle@oemsrv middleware]$ [oracle@oemsrv middleware]$ pwd /u02/app/oracle/middleware [oracle@oemsrv middleware]$ [oracle@oemsrv middleware]$ [oracle@oemsrv middleware]$ mv OMSPatcher OMSPatcher_old [oracle@oemsrv middleware]$ [oracle@oemsrv middleware]$ unzip -q /u01/install/OEM/13.5-RU24/p19999993_135000_Generic.zip replace readme.txt? [y]es, [n]o, [A]ll, [N]one, [r]ename: A [oracle@oemsrv middleware]$ [oracle@oemsrv middleware]$ $OMS_HOME/OMSPatcher/omspatcher version OMSPatcher Version: 13.9.5.23.0 OPlan Version: 12.2.0.1.16 OsysModel build: Tue Apr 28 18:16:31 PDT 2020 OMSPatcher succeeded. [oracle@oemsrv middleware]$ [oracle@oemsrv middleware]$ $OMS_HOME/OMSPatcher/omspatcher version OMSPatcher Version: 13.9.5.23.0 OPlan Version: 12.2.0.1.16 OsysModel build: Tue Apr 28 18:16:31 PDT 2020 OMSPatcher succeeded. [oracle@oemsrv middleware]$
Patch EM to 13.5.0.24
The next is to patch the OMS itself, and for that, we first need to unzip patch 36761595 in one separate folder:
[oracle@oemsrv ~]$ cd /u01/install/OEM/13.5-RU24/ [oracle@oemsrv 13.5-RU24]$ [oracle@oemsrv 13.5-RU24]$ unzip -q p36761595_135000_Generic.zip [oracle@oemsrv 13.5-RU24]$ [oracle@oemsrv 13.5-RU24]$ ls -l total 1489956 drwxr-x--- 18 oracle oinstall 4096 Oct 26 04:47 36761595 -rw-r--r-- 1 oracle oinstall 1322136 Dec 12 21:44 p19999993_135000_Generic.zip -rw-r--r-- 1 oracle oinstall 1523919944 Dec 12 21:42 p36761595_135000_Generic.zip -rw-rw-r-- 1 oracle oinstall 463622 Oct 29 15:23 PatchSearch.xml [oracle@oemsrv 13.5-RU24]$
Inside the patch folder, we call the analyze (from OMSPatcher) to check conflicts or issues:
[oracle@oemsrv 13.5-RU24]$ export ORACLE_HOME=$OMS_HOME [oracle@oemsrv 13.5-RU24]$ cd 36761595/ [oracle@oemsrv 36761595]$ [oracle@oemsrv 36761595]$ $OMS_HOME/OMSPatcher/omspatcher apply -analyze OMSPatcher Automation Tool Copyright (c) 2017, Oracle Corporation. All rights reserved. OMSPatcher version : 13.9.5.23.0 OUI version : 13.9.4.0.0 Running from : /u02/app/oracle/middleware Log file location : /u02/app/oracle/middleware/cfgtoollogs/omspatcher/opatch2024-12-12_21-48-47PM_1.log WARNING:Apply the 12.2.1.4.0 version of the following JDBC Patch(es) on OMS Home before proceeding with patching. 1.MLR patch 35430934(or its superset),which includes bugs 32720458 and 33607709 2.Patch 31657681 3.Patch 34153238 OMSPatcher log file: /u02/app/oracle/middleware/cfgtoollogs/omspatcher/36761595/omspatcher_2024-12-12_21-48-58PM_analyze.log Please enter OMS weblogic admin server URL(t3s://oemsrv.oralocal:7102):> Please enter OMS weblogic admin server username(weblogic):> Please enter OMS weblogic admin server password:> Enter DB user name : sysman Enter 'SYSMAN' password : Checking if current repository database is a supported version Current repository database version is supported Prereq "checkComponents" for patch 36752733 passed. Prereq "checkComponents" for patch 36752903 passed. Prereq "checkComponents" for patch 36752879 passed. Prereq "checkComponents" for patch 36752749 passed. Prereq "checkComponents" for patch 36752755 passed. Prereq "checkComponents" for patch 36752831 passed. Configuration Validation: Success Running apply prerequisite checks for sub-patch(es) "36752733,36752749,36752879,36752831,36752755,36752903" and Oracle Home "/u02/app/oracle/middleware"... Sub-patch(es) "36752733,36752749,36752879,36752831,36752755,36752903" are successfully analyzed for Oracle Home "/u02/app/oracle/middleware" Complete Summary ================ All log file names referenced below can be accessed from the directory "/u02/app/oracle/middleware/cfgtoollogs/omspatcher/2024-12-12_21-48-47PM_SystemPatch_36761595_1" Prerequisites analysis summary: ------------------------------- The following sub-patch(es) are applicable: Featureset Sub-patches Log file ---------- ----------- -------- oracle.sysman.top.oms 36752733,36752749,36752879,36752831,36752755,36752903 36752733,36752749,36752879,36752831,36752755,36752903_opatch2024-12-12_21-50-14PM_1.log The following sub-patches are not needed by any component installed in the OMS system: 35582217,34430509,36752930,36752782,35854914,36752809,36329046,36752861,36752891 -------------------------------------------------------------------------------- The following warnings have occurred during OPatch execution: 1) Apply the 12.2.1.4.0 version of the following JDBC Patch(es) on OMS Home before proceeding with patching. 1.MLR patch 35430934(or its superset),which includes bugs 32720458 and 33607709 2.Patch 31657681 3.Patch 34153238 -------------------------------------------------------------------------------- Log file location: /u02/app/oracle/middleware/cfgtoollogs/omspatcher/36761595/omspatcher_2024-12-12_21-48-58PM_analyze.log OMSPatcher succeeded. [oracle@oemsrv 36761595]$
As we can see above, the analysis was successful. No issues. One point here, my start was 13.5.0.20, but if you are not there I recommend reading the Marcus Vinicius post about how to upgrade the EM from 13.5.0.6 to 13.5.0.20 at this link. The process is more or less the same, but EM 13.5.0.19 changes little details and requirements that are important to be noticed.
The next step is to stop the OMS:
[oracle@oemsrv 36761595]$ $OMS_HOME/bin/emctl stop oms Oracle Enterprise Manager Cloud Control 13c Release 5 Copyright (c) 1996, 2021 Oracle Corporation. All rights reserved. Stopping Oracle Management Server... Oracle Management Server Successfully Stopped Oracle Management Server is Down JVMD Engine is Down [oracle@oemsrv 36761595]$
And with the OMS stopped, we can call the patch itself. The output below is cropped (to fit the page layout) but you can see the RAW output here in this file.
[oracle@oemsrv 36761595]$ $ORACLE_HOME/OMSPatcher/omspatcher apply OMSPatcher Automation Tool Copyright (c) 2017, Oracle Corporation. All rights reserved. OMSPatcher version : 13.9.5.23.0 OUI version : 13.9.4.0.0 Running from : /u02/app/oracle/middleware Log file location : /u02/app/oracle/middleware/cfgtoollogs/omspatcher/opatch2024-12-12_22-03-42PM_1.log WARNING:Apply the 12.2.1.4.0 version of the following JDBC Patch(es) on OMS Home before proceeding with patching. 1.MLR patch 35430934(or its superset),which includes bugs 32720458 and 33607709 2.Patch 31657681 3.Patch 34153238 OMSPatcher log file: /u02/app/oracle/middleware/cfgtoollogs/omspatcher/36761595/omspatcher_2024-12-12_22-04-11PM_apply.log Please enter OMS weblogic admin server URL(t3s://oemsrv.oralocal:7102):> Please enter OMS weblogic admin server username(weblogic):> Please enter OMS weblogic admin server password:> Enter DB user name : sys Enter 'sys' password : Checking if current repository database is a supported version Current repository database version is supported Prereq "checkComponents" for patch 36752733 passed. Prereq "checkComponents" for patch 36752903 passed. Prereq "checkComponents" for patch 36752879 passed. Prereq "checkComponents" for patch 36752749 passed. Prereq "checkComponents" for patch 36752755 passed. Prereq "checkComponents" for patch 36752831 passed. Configuration Validation: Success Running apply prerequisite checks for sub-patch(es) "36752733,36752749,36752879,36752831,36752755,36752903" and Oracle Home "/u02/app/oracle/middleware"... Sub-patch(es) "36752733,36752749,36752879,36752831,36752755,36752903" are successfully analyzed for Oracle Home "/u02/app/oracle/middleware" To continue, OMSPatcher will do the following: [Patch and deploy artifacts] : Apply sub-patch(es) [ 36752733 36752749 36752755 36752831 36752879 36752903 ] Apply RCU artifact with patch "/u02/app/oracle/middleware/.omspatcher_storage/36752733_Oct_25_2024_19_06_29/original_patch"; Apply RCU artifact with patch "/u02/app/oracle/middleware/.omspatcher_storage/36752903_Oct_25_2024_19_45_03/original_patch"; Apply RCU artifact with patch "/u02/app/oracle/middleware/.omspatcher_storage/36752879_Oct_25_2024_19_46_21/original_patch"; Apply RCU artifact with patch "/u02/app/oracle/middleware/.omspatcher_storage/36752749_Oct_25_2024_19_43_40/original_patch"; Apply RCU artifact with patch "/u02/app/oracle/middleware/.omspatcher_storage/36752755_Oct_25_2024_19_44_37/original_patch"; Apply RCU artifact with patch "/u02/app/oracle/middleware/.omspatcher_storage/36752831_Oct_25_2024_19_45_31/original_patch"; Register MRS artifact "commands"; Register MRS artifact "omsPropertyDef"; Register MRS artifact "targetType"; Register MRS artifact "chargeback"; Register MRS artifact "default_collection"; Register MRS artifact "assoc"; Register MRS artifact "jobTypes"; Register MRS artifact "systemStencil"; Register MRS artifact "procedures"; Register MRS artifact "EcmMetadataOnlyRegistration"; Register MRS artifact "swlib"; Register MRS artifact "namedQuery"; Register MRS artifact "CredStoreMetadata"; Register MRS artifact "storeTargetType"; Register MRS artifact "gccompliance"; Register MRS artifact "SecurityClassManager"; Register MRS artifact "OutOfBoxRole" Do you want to proceed? [y|n] y User Responded with: Y Stopping the OMS..... Please monitor log file: /u02/app/oracle/middleware/cfgtoollogs/omspatcher/2024-12-12_22-16-01PM_SystemPatch_36761595_9/stop_oms_2024-12-12_22-16-01PM.log Applying sub-patch(es) "36752733,36752749,36752755,36752831,36752879,36752903" Please monitor log file: /u02/app/oracle/middleware/cfgtoollogs/opatch/opatch2024-12-12_22-04-51PM_1.log … … Please monitor log file: /u02/app/oracle/middleware/cfgtoollogs/omspatcher/2024-12-12_23-16-34PM_SystemPatch_36761595_77/start_oms_2024-12-12_23-16-34PM.log Complete Summary ================ All log file names referenced below can be accessed from the directory "/u02/app/oracle/middleware/cfgtoollogs/omspatcher/2024-12-12_23-16-34PM_SystemPatch_36761595_77" Patching summary: ----------------- Binaries of the following sub-patch(es) have been applied successfully: Featureset Sub-patches Log file ---------- ----------- -------- oracle.sysman.top.oms_13.5.0.0.0 36752733,36752749,36752755,36752831,36752879,36752903 36752733,36752749,36752755,36752831,36752879,36752903_opatch2024-12-12_22-04-51PM_1.log The following sub-patches are not needed by any component installed in the OMS system: 35582217,34430509,36752930,36752782,35854914,36752809,36329046,36752861,36752891 Deployment summary: ------------------- The following artifact(s) have been successfully deployed: Artifacts Log file --------- -------- SQL rcu_applypatch_original_patch_2024-12-12_22-25-34PM.log SQL rcu_applypatch_original_patch_2024-12-12_22-31-42PM.log SQL rcu_applypatch_original_patch_2024-12-12_22-32-12PM.log SQL rcu_applypatch_original_patch_2024-12-12_22-32-47PM.log SQL rcu_applypatch_original_patch_2024-12-12_22-33-38PM.log SQL rcu_applypatch_original_patch_2024-12-12_22-34-53PM.log MRS-commands emctl_register_commands_2024-12-12_22-35-43PM.log MRS-omsPropertyDef emctl_register_omsPropertyDef_2024-12-12_22-35-59PM.log MRS-omsPropertyDef emctl_register_omsPropertyDef_2024-12-12_22-36-06PM.log MRS-omsPropertyDef emctl_register_omsPropertyDef_2024-12-12_22-36-12PM.log MRS-targetType emctl_register_targetType_2024-12-12_22-36-18PM.log MRS-targetType emctl_register_targetType_2024-12-12_22-36-50PM.log MRS-targetType emctl_register_targetType_2024-12-12_22-37-52PM.log MRS-targetType emctl_register_targetType_2024-12-12_22-38-57PM.log MRS-targetType emctl_register_targetType_2024-12-12_23-05-06PM.log MRS-chargeback emctl_register_chargeback_2024-12-12_23-05-43PM.log MRS-chargeback emctl_register_chargeback_2024-12-12_23-05-49PM.log MRS-default_collection emctl_register_default_collection_2024-12-12_23-05-55PM.log MRS-default_collection emctl_register_default_collection_2024-12-12_23-06-15PM.log MRS-default_collection emctl_register_default_collection_2024-12-12_23-06-58PM.log MRS-default_collection emctl_register_default_collection_2024-12-12_23-07-27PM.log MRS-default_collection emctl_register_default_collection_2024-12-12_23-08-10PM.log MRS-assoc emctl_register_assoc_2024-12-12_23-08-30PM.log MRS-jobTypes emctl_register_jobTypes_2024-12-12_23-08-37PM.log MRS-jobTypes emctl_register_jobTypes_2024-12-12_23-08-46PM.log MRS-jobTypes emctl_register_jobTypes_2024-12-12_23-08-55PM.log MRS-jobTypes emctl_register_jobTypes_2024-12-12_23-09-02PM.log MRS-jobTypes emctl_register_jobTypes_2024-12-12_23-09-13PM.log MRS-systemStencil emctl_register_systemStencil_2024-12-12_23-09-21PM.log MRS-systemStencil emctl_register_systemStencil_2024-12-12_23-09-27PM.log MRS-systemStencil emctl_register_systemStencil_2024-12-12_23-09-33PM.log MRS-systemStencil emctl_register_systemStencil_2024-12-12_23-09-42PM.log MRS-procedures emctl_register_procedures_2024-12-12_23-09-51PM.log MRS-procedures emctl_register_procedures_2024-12-12_23-09-59PM.log MRS-procedures emctl_register_procedures_2024-12-12_23-10-11PM.log MRS-EcmMetadataOnlyRegistration emctl_register_EcmMetadataOnlyRegistration_2024-12-12_23-10-20PM.log MRS-EcmMetadataOnlyRegistration emctl_register_EcmMetadataOnlyRegistration_2024-12-12_23-10-33PM.log MRS-EcmMetadataOnlyRegistration emctl_register_EcmMetadataOnlyRegistration_2024-12-12_23-11-11PM.log MRS-EcmMetadataOnlyRegistration emctl_register_EcmMetadataOnlyRegistration_2024-12-12_23-11-21PM.log MRS-EcmMetadataOnlyRegistration emctl_register_EcmMetadataOnlyRegistration_2024-12-12_23-11-28PM.log MRS-swlib emctl_register_swlib_2024-12-12_23-11-36PM.log MRS-swlib emctl_register_swlib_2024-12-12_23-11-47PM.log MRS-swlib emctl_register_swlib_2024-12-12_23-11-56PM.log MRS-swlib emctl_register_swlib_2024-12-12_23-12-08PM.log MRS-namedQuery emctl_register_namedQuery_2024-12-12_23-12-16PM.log MRS-namedQuery emctl_register_namedQuery_2024-12-12_23-12-23PM.log MRS-CredStoreMetadata emctl_register_CredStoreMetadata_2024-12-12_23-12-34PM.log MRS-storeTargetType emctl_register_storeTargetType_2024-12-12_23-12-40PM.log MRS-storeTargetType emctl_register_storeTargetType_2024-12-12_23-12-49PM.log MRS-storeTargetType emctl_register_storeTargetType_2024-12-12_23-13-01PM.log MRS-storeTargetType emctl_register_storeTargetType_2024-12-12_23-13-12PM.log MRS-storeTargetType emctl_register_storeTargetType_2024-12-12_23-13-23PM.log MRS-gccompliance emctl_register_gccompliance_2024-12-12_23-13-32PM.log MRS-SecurityClassManager emctl_register_SecurityClassManager_2024-12-12_23-15-07PM.log MRS-OutOfBoxRole emctl_register_OutOfBoxRole_2024-12-12_23-15-14PM.log -------------------------------------------------------------------------------- The following warnings have occurred during OPatch execution: 1) Apply the 12.2.1.4.0 version of the following JDBC Patch(es) on OMS Home before proceeding with patching. 1.MLR patch 35430934(or its superset),which includes bugs 32720458 and 33607709 2.Patch 31657681 3.Patch 34153238 -------------------------------------------------------------------------------- Log file location: /u02/app/oracle/middleware/cfgtoollogs/omspatcher/36761595/omspatcher_2024-12-12_22-04-11PM_apply.log OMSPatcher succeeded. [oracle@oemsrv 36761595]$
Update the AgentPatcher
Since we are patching the agent that runs on the EM machine we need to patch it to the new version, and to do that we need to first patch the AgentPatcher. The process follows the same as OMSPatch. We first go to the Agent home folder, move the current AgentPatcher folder, and unzip the new one:
[oracle@oemsrv ~]$ echo $AGENT_HOME /u02/app/oracle/agent/agent_13.5.0.0.0 [oracle@oemsrv ~]$ export ORACLE_HOME=$AGENT_HOME [oracle@oemsrv ~]$ [oracle@oemsrv ~]$ [oracle@oemsrv ~]$ $AGENT_HOME/AgentPatcher/agentpatcher version AgentPatcher Version: 13.9.5.6.0 OPlan Version: 12.2.0.1.16 OsysModel build: Tue Apr 28 18:16:31 PDT 2020 AgentPatcher succeeded. [oracle@oemsrv ~]$ [oracle@oemsrv ~]$ [oracle@oemsrv ~]$ cd $AGENT_HOME [oracle@oemsrv agent_13.5.0.0.0]$ [oracle@oemsrv agent_13.5.0.0.0]$ mv AgentPatcher AgentPatcher_OLD [oracle@oemsrv agent_13.5.0.0.0]$ [oracle@oemsrv agent_13.5.0.0.0]$ unzip -q /u01/install/OEM/13.5-RU24/p33355570_135000_Generic replace readme.txt? [y]es, [n]o, [A]ll, [N]one, [r]ename: A [oracle@oemsrv agent_13.5.0.0.0]$ [oracle@oemsrv agent_13.5.0.0.0]$ [oracle@oemsrv agent_13.5.0.0.0]$ $AGENT_HOME/AgentPatcher/agentpatcher version AgentPatcher Version: 13.9.5.10.0 OPlan Version: 12.2.0.1.16 OsysModel build: Tue Apr 28 18:16:31 PDT 2020 AgentPatcher succeeded. [oracle@oemsrv agent_13.5.0.0.0]$
Patch Agent to 13.5.0.24
The next is simple patch the Agent with the patch 36761598 that we unzip is in one separate folder:
[oracle@oemsrv ~]$ cd /u01/install/OEM/13.5-RU24 [oracle@oemsrv 13.5-RU24]$ unzip -q p36761598_135000_Generic.zip replace PatchSearch.xml? [y]es, [n]o, [A]ll, [N]one, [r]ename: A [oracle@oemsrv 13.5-RU24]$ [oracle@oemsrv 13.5-RU24]$ [oracle@oemsrv 13.5-RU24]$ cd 36761598/ [oracle@oemsrv 36761598]$
And from there we call the analyze:
[oracle@oemsrv 36761598]$ [oracle@oemsrv 36761598]$ $AGENT_HOME/AgentPatcher/agentpatcher apply -analyze AgentPatcher Automation Tool Copyright (c) 2021, Oracle Corporation. All rights reserved. AgentPatcher version : 13.9.5.10.0 OUI version : 13.9.4.0.0 Running from : /u02/app/oracle/agent/agent_13.5.0.0.0 Log file location : /u02/app/oracle/agent/agent_13.5.0.0.0/cfgtoollogs/agentpatcher/opatch2024-12-12_23-33-36PM_1.log AgentPatcher log file: /u02/app/oracle/agent/agent_13.5.0.0.0/cfgtoollogs/agentpatcher/36761598/agentpatcher_2024-12-12_23-33-37PM_analyze.log Prereq "checkComponents" for patch 36761603 passed. Prereq "checkComponents" for patch 36331137 passed. Prereq "checkComponents" for patch 36296415 passed. Prereq "checkComponents" for patch 36173256 passed. Prereq "checkComponents" for patch 36761606 passed. Prereq "checkComponents" for patch 36604010 passed. Prereq "checkComponents" for patch 36620434 passed. Prereq "checkComponents" for patch 36335380 passed. Prereq "checkComponents" for patch 36173009 passed. Prereq "checkComponents" for patch 36494123 passed. Running apply prerequisite checks for sub-patch(es) "36604010,36173009,36335380,36761603,36620434,36173256,36761606,36331137,36494123,36296415" and Oracle Home "/u02/app/oracle/agent/agent_13.5.0.0.0"... Sub-patch(es) "36604010,36173009,36335380,36761603,36620434,36173256,36761606,36331137,36494123,36296415" are successfully analyzed for Oracle Home "/u02/app/oracle/agent/agent_13.5.0.0.0" Complete Summary ================ All log file names referenced below can be accessed from the directory "/u02/app/oracle/agent/agent_13.5.0.0.0/cfgtoollogs/agentpatcher/2024-12-12_23-33-36PM_SystemPatch_36761598_1" Prerequisites analysis summary: ------------------------------- The following sub-patch(es) are applicable: Featureset Sub-patches Log file ---------- ----------- -------- oracle.sysman.top.agent 36604010,36173009,36335380,36761603,36620434,36173256,36761606,36331137,36494123,36296415 36604010,36173009,36335380,36761603,36620434,36173256,36761606,36331137,36494123,36296415_opatch2024-12-12_23-33-43PM_1.log The following sub-patches are not needed by any component installed in the Agent system: 36645488,32968787,36891601,33715858,36761624,36891589,35883342,36761619,36335420,33586851,36465441,36489152 The following sub-patches are already applied to the AGENT system: 33737099 -------------------------------------------------------------------------------- The following warnings have occurred during OPatch execution: 1) Sub-patch "33737099" skipped as it is already been applied to the "Agent" system. -------------------------------------------------------------------------------- Log file location: /u02/app/oracle/agent/agent_13.5.0.0.0/cfgtoollogs/agentpatcher/36761598/agentpatcher_2024-12-12_23-33-37PM_analyze.log AgentPatcher succeeded. [oracle@oemsrv 36761598]$
And since there are no issues we can stop the agent:
[oracle@oemsrv 36761598]$ $AGENT_HOME/bin/emctl stop agent Oracle Enterprise Manager Cloud Control 13c Release 5 Copyright (c) 1996, 2021 Oracle Corporation. All rights reserved. Stopping agent ... stopped. [oracle@oemsrv 36761598]$
And patch it (the RAW version of output you can check in this file):
[oracle@oemsrv 36761598]$ $AGENT_HOME/AgentPatcher/agentpatcher apply AgentPatcher Automation Tool Copyright (c) 2021, Oracle Corporation. All rights reserved. AgentPatcher version : 13.9.5.10.0 OUI version : 13.9.4.0.0 Running from : /u02/app/oracle/agent/agent_13.5.0.0.0 Log file location : /u02/app/oracle/agent/agent_13.5.0.0.0/cfgtoollogs/agentpatcher/opatch2024-12-12_23-35-25PM_1.log AgentPatcher log file: /u02/app/oracle/agent/agent_13.5.0.0.0/cfgtoollogs/agentpatcher/36761598/agentpatcher_2024-12-12_23-35-26PM_deploy.log Prereq "checkComponents" for patch 36761603 passed. Prereq "checkComponents" for patch 36331137 passed. Prereq "checkComponents" for patch 36296415 passed. Prereq "checkComponents" for patch 36173256 passed. Prereq "checkComponents" for patch 36761606 passed. Prereq "checkComponents" for patch 36604010 passed. Prereq "checkComponents" for patch 36620434 passed. Prereq "checkComponents" for patch 36335380 passed. Prereq "checkComponents" for patch 36173009 passed. Prereq "checkComponents" for patch 36494123 passed. Running apply prerequisite checks for sub-patch(es) "36604010,36173009,36335380,36761603,36620434,36173256,36761606,36331137,36494123,36296415" and Oracle Home "/u02/app/oracle/agent/agent_13.5.0.0.0"... Sub-patch(es) "36604010,36173009,36335380,36761603,36620434,36173256,36761606,36331137,36494123,36296415" are successfully analyzed for Oracle Home "/u02/app/oracle/agent/agent_13.5.0.0.0" To continue, AgentPatcher will do the following: [Patch and deploy artifacts] : Do you want to proceed? [y|n] y User Responded with: Y Applying sub-patch(es) "36173009,36173256,36296415,36331137,36335380,36494123,36604010,36620434,36761603,36761606" Please monitor log file: /u02/app/oracle/agent/agent_13.5.0.0.0/cfgtoollogs/opatch/opatch2024-12-12_23-35-31PM_1.log Complete Summary ================ All log file names referenced below can be accessed from the directory "/u02/app/oracle/agent/agent_13.5.0.0.0/cfgtoollogs/agentpatcher/2024-12-12_23-35-25PM_SystemPatch_36761598_1" Patching summary: ----------------- Binaries of the following sub-patch(es) have been applied successfully: Featureset Sub-patches Log file ---------- ----------- -------- oracle.sysman.top.agent_13.5.0.0.0 36173009,36173256,36296415,36331137,36335380,36494123,36604010,36620434,36761603,36761606 36173009,36173256,36296415,36331137,36335380,36494123,36604010,36620434,36761603,36761606_opatch2024-12-12_23-35-31PM_1.log The following sub-patches are not needed by any component installed in the Agent system: 36645488,32968787,36891601,33715858,36761624,36891589,35883342,36761619,36335420,33586851,36465441,36489152 The following sub-patches are already applied to the AGENT system: 33737099 -------------------------------------------------------------------------------- The following warnings have occurred during OPatch execution: 1) Sub-patch "33737099" skipped as it is already been applied to the "Agent" system. -------------------------------------------------------------------------------- Log file location: /u02/app/oracle/agent/agent_13.5.0.0.0/cfgtoollogs/agentpatcher/36761598/agentpatcher_2024-12-12_23-35-26PM_deploy.log AgentPatcher succeeded. [oracle@oemsrv 36761598]$
After we can see that the agent is fine, up and running:
[oracle@oemsrv 36761598]$ $AGENT_HOME/bin/emctl status agent Oracle Enterprise Manager Cloud Control 13c Release 5 Copyright (c) 1996, 2021 Oracle Corporation. All rights reserved. --------------------------------------------------------------- Agent Version : 13.5.0.0.0 OMS Version : (unknown) Protocol Version : 12.1.0.1.0 Agent Home : /u02/app/oracle/agent/agent_inst Agent Log Directory : /u02/app/oracle/agent/agent_inst/sysman/log Agent Binaries : /u02/app/oracle/agent/agent_13.5.0.0.0 Core JAR Location : /u02/app/oracle/agent/agent_13.5.0.0.0/jlib Agent Process ID : 173657 Parent Process ID : 173593 Agent URL : https://oemsrv.oralocal:3872/emd/main/ Local Agent URL in NAT : https://oemsrv.oralocal:3872/emd/main/ Repository URL : https://oemsrv.oralocal:4903/empbs/upload Started at : 2024-12-12 23:37:55 Started by user : oracle Operating System : Linux version 5.4.17-2136.324.5.3.el8uek.x86_64 (amd64) Number of Targets : 40 Last Reload : (none) Last successful upload : (none) Last attempted upload : (none) Total Megabytes of XML files uploaded so far : 0 Number of XML files pending upload : 23 Size of XML files pending upload(MB) : 0.04 Available disk space on upload filesystem : 95.88% Collection Status : Collections enabled Heartbeat Status : (none) Last attempted heartbeat to OMS : 2024-12-12 23:38:14 Last successful heartbeat to OMS : (none) Next scheduled heartbeat to OMS : 2024-12-12 23:37:58 --------------------------------------------------------------- Agent is Running and Ready [oracle@oemsrv 36761598]$
Conclusion
Above you saw that the process is quite simple, we update the OMSPatcher and AgentPatch, and after we apply the patch over EM/OMS and the Agent. But just remember, I was already running the EM at 13.5.0.20, so, some critical requirements had already there applied before. So, please check how to reach 13.5.0.20 (the post from Marcus Vinicius that I mentioned before, will help you a lot). With the patched EM, we can go further in the upgrades to the next releases.
Disclaimer: “The postings on this site are my own and don’t necessarily represent my actual employer positions, strategies, or opinions. The information here was edited to be useful for general purposes, and specific data and identifications were removed to allow reach the generic audience and to be useful for the community. Post protected by copyright.”
Pingback: Upgrade EM from 13.5 to 24ai (24.1.0.0.0) - Fernando Simon