我们经常应用 Oracle 数据库 RU。像数据库Release Update 也可以在Enterprise Manager 上传递。在此博客中,我描述了如何将 OEM 13cR5 Update 10 更新为 OEM 13cR5 Update 11。
为此,我使用了以下补丁
补丁 34601305:适用于 Oracle 管理服务的 Oracle Enterprise Manager 13c 第 5 版更新 11 (13.5.0.11)
补丁 34639857:适用于 Oracle 管理代理的 Oracle Enterprise Manager 13c 第 5 版更新 11 (13.5.0.11)
下面是不同的任务
-将最新的 RU 应用到存储库数据库
-将 OMS 补丁应用到 OMS 服务器
-将代理补丁应用到代理
将最新的 RU 应用到存储库数据库
未描述这些步骤,但已将最新的可用 RU 应用于数据库
[oracle@oemserver45 ~]$ . oraenv
ORACLE_SID = [oracle] ? oemdb
The Oracle base has been set to /u01/app/oracle
[oracle@oemserver45 ~]$ $ORACLE_HOME/OPatch/opatch lspatches
34419443;Database Release Update : 19.17.0.0.221018 (34419443)
OPatch succeeded.
应用 OMS 补丁 34601305
在所有这些步骤中,$ORACLE_HOME 都引用了您的 OMS 主页
我们首先验证我们的 OMS 服务器的实际版本
[oracle@oemserver45 34601305]$ $ORACLE_HOME/OPatch/opatch lspatches
34065178;One-off
34523462;OHS (NATIVE) BUNDLE PATCH 12.2.1.4.220823
33950717;OPSS Bundle Patch 12.2.1.4.220311
34535558;ADF BUNDLE PATCH 12.2.1.4.220825
34653267;WLS PATCH SET UPDATE 12.2.1.4.220929
1221415;Bundle patch for Oracle Coherence Version 12.2.1.4.15
34430543;Oracle Enterprise Manager for Cloud Framework 13c Release 5 Plug-in Update 10 (13.5.1.10) for Oracle Management Service
34430522;Oracle Enterprise Manager for Systems Infrastructure 13c Release 5 Plug-in Update 10 (13.5.1.10) for Oracle Management Service
34430480;Oracle Enterprise Manager for Exadata 13c Release 5 Plug-in Update 10 (13.5.1.10) for Oracle Management Service
34430441;Oracle Enterprise Manager for Oracle Database 13c Release 5 Plug-in Update 10 (13.5.1.10) for Oracle Management Service
34430435;Oracle Enterprise Manager for Fusion Middleware 13c Release 5 Plug-in Update 10 (13.5.1.10) for Oracle Management Service
34430427;Oracle Enterprise Manager 13c Release 5 Platform Update 10 (13.5.0.10) for Oracle Management Service
31818221;One-off
30152128;One-off
26626168;One-off
OPatch succeeded.
[oracle@oemserver45 34601305]$
对于任何 Oracle 补丁,规则是遵循自述文件
该补丁需要 omspatcher 的最低版本。我们环境的实际版本没有满足要求
[oracle@oemserver45 ~]$ $ORACLE_HOME/OMSPatcher/omspatcher version
OMSPatcher Version: 13.9.5.8.0
OPlan Version: 12.2.0.1.16
OsysModel build: Tue Apr 28 18:16:31 PDT 2020
OMSPatcher succeeded.
所以我们必须用最新可用的替换 omspatcher。我们使用以下文件
13.5:如何将 Enterprise Manager 13.5 Cloud Control OMSPatcher 实用程序升级到最新版本(文档 ID 2809842.1)
基本上我们只是执行与 opatch 相同的步骤。我们下载最新的omspatcher,解压到$ORACLE_HOME
[oracle@oemserver45 ~]$ cd $ORACLE_HOME
[oracle@oemserver45 middleware]$ mv OMSPatcher OMSPatcher_old
[oracle@oemserver45 middleware]$ unzip -q /tmp/p19999993_135000_Generic.zip
然后验证新版本的omspatcher
[oracle@oemserver45 OMSPatcher]$ pwd
/u01/app/oracle/product/middleware/OMSPatcher
[oracle@oemserver45 OMSPatcher]$ ./omspatcher version
OMSPatcher Version: 13.9.5.9.0
OPlan Version: 12.2.0.1.16
OsysModel build: Tue Apr 28 18:16:31 PDT 2020
OMSPatcher succeeded.
在我们解压 OMS 补丁 zip 文件并运行分析选项之后。这将告诉我们补丁是否可以毫无问题地应用
[oracle@oemserver45 log]$ cd /u01/app/Downloads/34601305/
[oracle@oemserver45 34601305]$ omspatcher apply -analyze
OMSPatcher Automation Tool
Copyright (c) 2017, Oracle Corporation. All rights reserved.
OMSPatcher version : 13.9.5.9.0
OUI version : 13.9.4.0.0
Running from : /u01/app/oracle/product/middleware
Log file location : /u01/app/oracle/product/middleware/cfgtoollogs/omspatcher/opatch2022-12-14_11-21-21AM_1.log
OMSPatcher log file: /u01/app/oracle/product/middleware/cfgtoollogs/omspatcher/34601305/omspatcher_2022-12-14_11-21-22AM_analyze.log
Please enter OMS weblogic admin server URL(t3s://oemserver45.corp.sch.ch:7102):>
Please enter OMS weblogic admin server username(weblogic):>
Please enter OMS weblogic admin server password:>
Enter SYS Password :
Checking if current repository database is a supported version
Current repository database version is supported
Prereq "checkComponents" for patch 34601316 passed.
Prereq "checkComponents" for patch 34601404 passed.
Prereq "checkComponents" for patch 34601397 passed.
Prereq "checkComponents" for patch 34601328 passed.
Prereq "checkComponents" for patch 34601338 passed.
Prereq "checkComponents" for patch 34601379 passed.
Configuration Validation: Success
Running apply prerequisite checks for sub-patch(es) "34601338,34601397,34601316,34601379,34601328,34601404" and Oracle Home "/u01/app/oracle/product/middleware"...
Sub-patch(es) "34601338,34601397,34601316,34601379,34601328,34601404" are successfully analyzed for Oracle Home "/u01/app/oracle/product/middleware"
Complete Summary
================
All log file names referenced below can be accessed from the directory "/u01/app/oracle/product/middleware/cfgtoollogs/omspatcher/2022-12-14_11-21-21AM_SystemPatch_34601305_1"
Prerequisites analysis summary:
-------------------------------
The following sub-patch(es) are applicable:
Featureset Sub-patches Log file
---------- ----------- --------
oracle.sysman.top.oms 34601338,34601397,34601316,34601379,34601328,34601404 34601338,34601397,34601316,34601379,34601328,34601404_opatch2022-12-14_11-23-34AM_1.log
The following sub-patches are incompatible with components installed in the OMS system:
34430473,34430509,34241652,34601358,34601363,34601368,34241548,34601384,34601400
Log file location: /u01/app/oracle/product/middleware/cfgtoollogs/omspatcher/34601305/omspatcher_2022-12-14_11-21-22AM_analyze.log
OMSPatcher succeeded.
由于分析命令成功完成,我们现在可以应用补丁
停止 oms
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@oemserver45 34601305]$ pwd
/u01/app/Downloads/34601305
应用补丁
[oracle@oemserver45 34601305]$ omspatcher apply
OMSPatcher Automation Tool
Copyright (c) 2017, Oracle Corporation. All rights reserved.
OMSPatcher version : 13.9.5.9.0
OUI version : 13.9.4.0.0
Running from : /u01/app/oracle/product/middleware
Log file location : /u01/app/oracle/product/middleware/cfgtoollogs/omspatcher/opatch2022-12-14_11-33-11AM_1.log
OMSPatcher log file: /u01/app/oracle/product/middleware/cfgtoollogs/omspatcher/34601305/omspatcher_2022-12-14_11-33-12AM_apply.log
Please enter OMS weblogic admin server URL(t3s://oemserver45.corp.sch.ch:7102):>
Please enter OMS weblogic admin server username(weblogic):>
Please enter OMS weblogic admin server password:>
Enter SYS Password :
Checking if current repository database is a supported version
Current repository database version is supported
Prereq "checkComponents" for patch 34601316 passed.
Prereq "checkComponents" for patch 34601404 passed.
Prereq "checkComponents" for patch 34601397 passed.
Prereq "checkComponents" for patch 34601328 passed.
Prereq "checkComponents" for patch 34601338 passed.
Prereq "checkComponents" for patch 34601379 passed.
Configuration Validation: Success
Running apply prerequisite checks for sub-patch(es) "34601338,34601397,34601316,34601379,34601328,34601404" and Oracle Home "/u01/app/oracle/product/middleware"...
Sub-patch(es) "34601338,34601397,34601316,34601379,34601328,34601404" are successfully analyzed for Oracle Home "/u01/app/oracle/product/middleware"
To continue, OMSPatcher will do the following:
[Patch and deploy artifacts] : Apply sub-patch(es) [ 34601316 34601328 34601338 34601379 34601397 34601404 ]
Apply RCU artifact with patch "/u01/app/oracle/product/middleware/.omspatcher_storage/34601316_Nov_13_2022_22_48_23/original_patch";
Apply RCU artifact with patch "/u01/app/oracle/product/middleware/.omspatcher_storage/34601404_Nov_13_2022_23_00_11/original_patch";
Apply RCU artifact with patch "/u01/app/oracle/product/middleware/.omspatcher_storage/34601397_Nov_13_2022_23_00_48/original_patch";
Apply RCU artifact with patch "/u01/app/oracle/product/middleware/.omspatcher_storage/34601328_Nov_13_2022_22_58_26/original_patch";
Apply RCU artifact with patch "/u01/app/oracle/product/middleware/.omspatcher_storage/34601338_Nov_13_2022_22_59_28/original_patch";
Apply RCU artifact with patch "/u01/app/oracle/product/middleware/.omspatcher_storage/34601379_Nov_13_2022_23_00_28/original_patch";
Register MRS artifact "commands";
Register MRS artifact "omsPropertyDef";
Register MRS artifact "jobTypes";
Register MRS artifact "swlib";
Register MRS artifact "procedures";
Register MRS artifact "targetType";
Register MRS artifact "storeTargetType";
Register MRS artifact "default_collection";
Register MRS artifact "systemStencil";
Register MRS artifact "gccompliance";
Register MRS artifact "CredstoreMetadata";
Register MRS artifact "namedQuery"
Do you want to proceed? [y|n]
y
User Responded with: Y
Stopping the OMS.....
Please monitor log file: /u01/app/oracle/product/middleware/cfgtoollogs/omspatcher/2022-12-14_11-37-13AM_SystemPatch_34601305_9/stop_oms_2022-12-14_11-37-13AM.log
…
…
Registering service "namedQuery" with register file "/u01/app/oracle/product/middleware/sysman/metadata/namedQuery/dashboards_named_query.xml" for plugin id as "core"...
Please monitor log file: /u01/app/oracle/product/middleware/cfgtoollogs/omspatcher/2022-12-14_11-37-13AM_SystemPatch_34601305_9/emctl_register_namedQuery_2022-12-14_11-51-48AM.log
The job_queue_processes parameter is set to 0 in the repository database. Resetting the job_queue_processes parameter to its original value 120 in the repository database to start the OMS.
Starting the oms
Please monitor log file: /u01/app/oracle/product/middleware/cfgtoollogs/omspatcher/2022-12-14_11-51-58AM_SystemPatch_34601305_40/start_oms_2022-12-14_11-51-58AM.log
Complete Summary
================
All log file names referenced below can be accessed from the directory "/u01/app/oracle/product/middleware/cfgtoollogs/omspatcher/2022-12-14_11-51-58AM_SystemPatch_34601305_40"
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 34601316,34601328,34601338,34601379,34601397,34601404 34601316,34601328,34601338,34601379,34601397,34601404_opatch2022-12-14_11-34-11AM_1.log
The following sub-patches are incompatible with components installed in the OMS system:
34430473,34430509,34241652,34601358,34601363,34601368,34241548,34601384,34601400
Deployment summary:
-------------------
The following artifact(s) have been successfully deployed:
Artifacts Log file
--------- --------
SQL rcu_applypatch_original_patch_2022-12-14_11-41-53AM.log
SQL rcu_applypatch_original_patch_2022-12-14_11-43-54AM.log
SQL rcu_applypatch_original_patch_2022-12-14_11-44-25AM.log
…
…
…
MRS-CredstoreMetadata emctl_register_CredstoreMetadata_2022-12-14_11-51-44AM.log
MRS-namedQuery emctl_register_namedQuery_2022-12-14_11-51-48AM.log
Log file location: /u01/app/oracle/product/middleware/cfgtoollogs/omspatcher/34601305/omspatcher_2022-12-14_11-33-12AM_apply.log
OMSPatcher succeeded.
[oracle@oemserver45 34601305]$
命令返回SUCCESS后,我们就可以验证OMS的新版本了
[oracle@oemserver45 34601305]$ $ORACLE_HOME/OPatch/opatch lspatches
34601404;Oracle Enterprise Manager for Cloud Framework 13c Release 5 Plug-in Update 11 (13.5.1.11) for Oracle Management Service
34601397;Oracle Enterprise Manager for Systems Infrastructure 13c Release 5 Plug-in Update 11 (13.5.1.11) for Oracle Management Service
34601379;Oracle Enterprise Manager for Exadata 13c Release 5 Plug-in Update 11 (13.5.1.11) for Oracle Management Service
34601338;Oracle Enterprise Manager for Oracle Database 13c Release 5 Plug-in Update 11 (13.5.1.11) for Oracle Management Service
34601328;Oracle Enterprise Manager for Fusion Middleware 13c Release 5 Plug-in Update 11 (13.5.1.11) for Oracle Management Service
34601316;Oracle Enterprise Manager 13c Release 5 Platform Update 11 (13.5.0.11) for Oracle Management Service
34065178;One-off
34523462;OHS (NATIVE) BUNDLE PATCH 12.2.1.4.220823
33950717;OPSS Bundle Patch 12.2.1.4.220311
34535558;ADF BUNDLE PATCH 12.2.1.4.220825
34653267;WLS PATCH SET UPDATE 12.2.1.4.220929
1221415;Bundle patch for Oracle Coherence Version 12.2.1.4.15
31818221;One-off
30152128;One-off
26626168;One-off
OPatch succeeded.
我们可以看到OMS已经启动并运行了
[oracle@oemserver45 34601305]$ emctl status oms -details
Oracle Enterprise Manager Cloud Control 13c Release 5
Copyright (c) 1996, 2021 Oracle Corporation. All rights reserved.
Console Server Host : oemserver45.corp.sch.ch
HTTP Console Port : 7788
HTTPS Console Port : 7803
HTTP Upload Port : 4889
HTTPS Upload Port : 4903
EM Instance Home : /u01/app/oracle/product/gc_inst/em/EMGC_OMS1
OMS Log Directory Location : /u01/app/oracle/product/gc_inst/em/EMGC_OMS1/sysman/log
OMS is not configured with SLB or virtual hostname
Agent Upload is locked.
OMS Console is locked.
Active CA ID: 1
Console URL: https://oemserver45.corp.sch.ch:7803/em
Upload URL: https://oemserver45.corp.sch.ch:4903/empbs/upload
WLS Domain Information
Domain Name : GCDomain
Admin Server Host : oemserver45.corp.sch.ch
Admin Server HTTPS Port: 7102
Admin Server is RUNNING
Oracle Management Server Information
Managed Server Instance Name: EMGC_OMS1
Oracle Management Server Instance Host: oemserver45.corp.sch.ch
WebTier is Up
Oracle Management Server is Up
JVMD Engine is Up
应用代理补丁 34639857
代理可以手动或通过 GUI 进行修补。在我们的例子中,我们使用命令行手动修补代理。我们在这里描述了一个代理的任务。
正如我们对 omspatcher 所做的那样,我们还安装了最新的 agentpatcher。以下文档可能会有用
13.5:如何升级AgentPatcher到最新版本(文档编号2810322.1)
[oracle@oemserver45 agent_13.5.0.0.0]$ cd AgentPatcher
[oracle@oemserver45 AgentPatcher]$ ./agentpatcher version
AgentPatcher Version: 13.9.5.4.0
OPlan Version: 12.2.0.1.16
OsysModel build: Tue Apr 28 18:16:31 PDT 2020
AgentPatcher succeeded.
一旦 agentpatcher 我们现在可以开始代理的修补
运行分析命令
[oracle@oemserver45 ~]$ cd /u01/app/Downloads/
[oracle@oemserver45 Downloads]$ ls -l
total 8
drwxr-x--- 24 oracle oinstall 4096 Nov 14 08:13 34639857
-rw-rw-r-- 1 oracle oinstall 2372 Nov 21 11:40 PatchSearch.xml
[oracle@oemserver45 Downloads]$ cd 34639857/
[oracle@oemserver45 34639857]$ agentpatcher apply -analyze
AgentPatcher Automation Tool
Copyright (c) 2021, Oracle Corporation. All rights reserved.
AgentPatcher version : 13.9.5.4.0
OUI version : 13.9.4.0.0
Running from : /u01/app/oracle/product/agent/agent_13.5.0.0.0
Log file location : /u01/app/oracle/product/agent/agent_13.5.0.0.0/cfgtoollogs/agentpatcher/opatch2022-12-14_14-28-21PM_1.log
AgentPatcher log file: /u01/app/oracle/product/agent/agent_13.5.0.0.0/cfgtoollogs/agentpatcher/34639857/agentpatcher_2022-12-14_14-28-21PM_analyze.log
Prereq "checkComponents" for patch 34706936 passed.
Prereq "checkComponents" for patch 33869752 passed.
Prereq "checkComponents" for patch 34471145 passed.
Prereq "checkComponents" for patch 34639846 passed.
Prereq "checkComponents" for patch 34706830 passed.
Prereq "checkComponents" for patch 34706883 passed.
Prereq "checkComponents" for patch 34611829 passed.
Prereq "checkComponents" for patch 34611810 passed.
Prereq "checkComponents" for patch 34158793 passed.
Prereq "checkComponents" for patch 34234448 passed.
Prereq "checkComponents" for patch 33737099 passed.
Running apply prerequisite checks for sub-patch(es) "34706830,33737099,34471145,34611810,34158793,33869752,34706883,34611829,34639846,34706936,34234448" and Oracle Home "/u01/app/oracle/product/agent/agent_13.5.0.0.0"...
Sub-patch(es) "34706830,33737099,34471145,34611810,34158793,33869752,34706883,34611829,34639846,34706936,34234448" are successfully analyzed for Oracle Home "/u01/app/oracle/product/agent/agent_13.5.0.0.0"
Complete Summary
================
All log file names referenced below can be accessed from the directory "/u01/app/oracle/product/agent/agent_13.5.0.0.0/cfgtoollogs/agentpatcher/2022-12-14_14-28-21PM_SystemPatch_34639857_1"
Prerequisites analysis summary:
-------------------------------
The following sub-patch(es) are applicable:
Featureset Sub-patches Log file
---------- ----------- --------
oracle.sysman.top.agent 34706830,33737099,34471145,34611810,34158793,33869752,34706883,34611829,34639846,34706936,34234448 34706830,33737099,34471145,34611810,34158793,33869752,34706883,34611829,34639846,34706936,34234448_opatch2022-12-14_14-28-24PM_1.log
The following sub-patches are incompatible with components installed in the Agent system:
34611842,32968787,34471036,33715858,34471072,34541981,34706900,34471095,33586851,34158650,34024065
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
The following patches could not be applied during OPatch execution:
**********************************************************************************
Patch Reason
********* *********
34611842 The Plugin or Core Component "oracle.sysman.am.agent.plugin with version 13.5.1.0.0" for which the patch is intended is not deployed in your Enterprise Manager system.
32968787 The Plugin or Core Component "oracle.sysman.bda.discovery.plugin with version 13.5.1.0.0" for which the patch is intended is not deployed in your Enterprise Manager system.
34471036 The Plugin or Core Component "oracle.sysman.empa.discovery.plugin with version 13.5.1.0.0" for which the patch is intended is not deployed in your Enterprise Manager system.
33715858 The Plugin or Core Component "oracle.sysman.bda.agent.plugin with version 13.5.1.0.0" for which the patch is intended is not deployed in your Enterprise Manager system.
34471072 The Plugin or Core Component "oracle.sysman.empa.agent.plugin with version 13.5.1.0.0" for which the patch is intended is not deployed in your Enterprise Manager system.
34541981 The Plugin or Core Component "oracle.sysman.vt.agent.plugin with version 13.5.1.0.0" for which the patch is intended is not deployed in your Enterprise Manager system.
34706900 The Plugin or Core Component "oracle.sysman.xa.agent.plugin with version 13.5.1.0.0" for which the patch is intended is not deployed in your Enterprise Manager system.
34471095 The Plugin or Core Component "oracle.sysman.vi.agent.plugin with version 13.5.1.0.0" for which the patch is intended is not deployed in your Enterprise Manager system.
33586851 The Plugin or Core Component "oracle.sysman.emfa.discovery.plugin with version 13.5.1.0.0" for which the patch is intended is not deployed in your Enterprise Manager system.
34158650 The Plugin or Core Component "oracle.sysman.emfa.agent.plugin with version 13.5.1.0.0" for which the patch is intended is not deployed in your Enterprise Manager system.
34024065 The Plugin or Core Component "oracle.sysman.vi.discovery.plugin with version 13.5.1.0.0" for which the patch is intended is not deployed in your Enterprise Manager system.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Log file location: /u01/app/oracle/product/agent/agent_13.5.0.0.0/cfgtoollogs/agentpatcher/34639857/agentpatcher_2022-12-14_14-28-21PM_analyze.log
AgentPatcher succeeded.
如果一切都好
停止代理
[oracle@oemserver45 34639857]$ emctl stop agent
Oracle Enterprise Manager Cloud Control 13c Release 5
Copyright (c) 1996, 2021 Oracle Corporation. All rights reserved.
Agent is Not Running
[oracle@oemserver45 34639857]$
应用补丁
[oracle@oemserver45 34639857]$ pwd
/u01/app/Downloads/34639857
[oracle@oemserver45 34639857]$ agentpatcher apply
AgentPatcher Automation Tool
Copyright (c) 2021, Oracle Corporation. All rights reserved.
AgentPatcher version : 13.9.5.4.0
OUI version : 13.9.4.0.0
Running from : /u01/app/oracle/product/agent/agent_13.5.0.0.0
Log file location : /u01/app/oracle/product/agent/agent_13.5.0.0.0/cfgtoollogs/agentpatcher/opatch2022-12-14_14-31-28PM_1.log
AgentPatcher log file: /u01/app/oracle/product/agent/agent_13.5.0.0.0/cfgtoollogs/agentpatcher/34639857/agentpatcher_2022-12-14_14-31-29PM_deploy.log
Prereq "checkComponents" for patch 34706936 passed.
Prereq "checkComponents" for patch 33869752 passed.
Prereq "checkComponents" for patch 34471145 passed.
Prereq "checkComponents" for patch 34639846 passed.
Prereq "checkComponents" for patch 34706830 passed.
Prereq "checkComponents" for patch 34706883 passed.
Prereq "checkComponents" for patch 34611829 passed.
Prereq "checkComponents" for patch 34611810 passed.
Prereq "checkComponents" for patch 34158793 passed.
Prereq "checkComponents" for patch 34234448 passed.
Prereq "checkComponents" for patch 33737099 passed.
Running apply prerequisite checks for sub-patch(es) "34706830,33737099,34471145,34611810,34158793,33869752,34706883,34611829,34639846,34706936,34234448" and Oracle Home "/u01/app/oracle/product/agent/agent_13.5.0.0.0"...
Sub-patch(es) "34706830,33737099,34471145,34611810,34158793,33869752,34706883,34611829,34639846,34706936,34234448" are successfully analyzed for Oracle Home "/u01/app/oracle/product/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) "33737099,33869752,34158793,34234448,34471145,34611810,34611829,34639846,34706830,34706883,34706936"
Please monitor log file: /u01/app/oracle/product/agent/agent_13.5.0.0.0/cfgtoollogs/opatch/opatch2022-12-14_14-31-31PM_1.log
Complete Summary
================
All log file names referenced below can be accessed from the directory "/u01/app/oracle/product/agent/agent_13.5.0.0.0/cfgtoollogs/agentpatcher/2022-12-14_14-31-28PM_SystemPatch_34639857_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 33737099,33869752,34158793,34234448,34471145,34611810,34611829,34639846,34706830,34706883,34706936 33737099,33869752,34158793,34234448,34471145,34611810,34611829,34639846,34706830,34706883,34706936_opatch2022-12-14_14-31-31PM_1.log
The following sub-patches are incompatible with components installed in the Agent system:
34611842,32968787,34471036,33715858,34471072,34541981,34706900,34471095,33586851,34158650,34024065
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
The following patches could not be applied during OPatch execution:
**********************************************************************************
Patch Reason
********* *********
34611842 The Plugin or Core Component "oracle.sysman.am.agent.plugin with version 13.5.1.0.0" for which the patch is intended is not deployed in your Enterprise Manager
…
…
34024065 The Plugin or Core Component "oracle.sysman.vi.discovery.plugin with version 13.5.1.0.0" for which the patch is intended is not deployed in your Enterprise Manager system.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Log file location: /u01/app/oracle/product/agent/agent_13.5.0.0.0/cfgtoollogs/agentpatcher/34639857/agentpatcher_2022-12-14_14-31-29PM_deploy.log
AgentPatcher succeeded.
完成后,我们可以启动代理
[oracle@oemserver45 34639857]$ emctl start agent
Oracle Enterprise Manager Cloud Control 13c Release 5
Copyright (c) 1996, 2021 Oracle Corporation. All rights reserved.
Starting agent ................ started.
我们可以使用 lspatches 命令
[oracle@oemserver45 34639857]$ agentpatcher lspatches
AgentPatcher Automation Tool
Copyright (c) 2021, Oracle Corporation. All rights reserved.
AgentPatcher version : 13.9.5.4.0
OUI version : 13.9.4.0.0
Running from : /u01/app/oracle/product/agent/agent_13.5.0.0.0
Log file location : /u01/app/oracle/product/agent/agent_13.5.0.0.0/cfgtoollogs/agentpatcher/opatch2022-12-14_14-38-22PM_1.log
Component Name/Version Component Type System Patch (Sub)-Patches Patch Description
------------------------ ------------- ------------- -------------- ------------------
oracle.sysman.si.agent.plugin/13.5.1.0.0 Plugin 34639857 34706883 Oracle Enterprise Manager for Systems Infrastructure 13c Release 5 Plug-in Update 11 (13.5.1.11) for Oracle Management Agent
oracle.sysman.si.discovery.plugin/13.5.1 Plugin 34639857 33737099 Oracle Enterprise Manager for Systems Infrastructure 13c Release 5 Plug-in Update 4 (13.5.1.4) for Oracle Management Agent (Discovery)
.0.0
oracle.sysman.agent.ic/13.5.0.0.0 Core 34639857 33869752 Tracking bug to repackage JDBC patch from 32752229 as 13.5 EM Agent patch
N/A 32313251
N/A 32302527
N/A 32574981
oracle.sysman.emas.discovery.plugin/13.5 Plugin 34639857 34611829 Oracle Enterprise Manager for Fusion Middleware 13c Release 5 Plug-in Update 10 (13.5.1.10) for Oracle Management Agent (Discovery)
.1.0.0
oracle.sysman.db.discovery.plugin/13.5.1 Plugin 34639857 34611810 Oracle Enterprise Manager for Oracle Database 13c Release 5 Plug-in Update 10 (13.5.1.10) for Oracle Management Agent (Discovery)
.0.0
oracle.sysman.oh.agent.plugin/13.5.0.0.0 Plugin 34639857 34471145 Oracle Enterprise Manager for Oracle Home 13c Release 5 Plug-in Update 9 (13.5.0.9) for Oracle Management Agent
oracle.sysman.emrep.agent.plugin/13.5.0. Plugin 34639857 34158793 Oracle Enterprise Manager for EMREP 13c Release 5 Plug-in Update 8 (13.5.0.8) for Oracle Management Agent
0.0
oracle.sysman.db.agent.plugin/13.5.1.0.0 Plugin 34639857 34639846 Oracle Enterprise Manager for Oracle Database 13c Release 5 Plug-in Update 11 (13.5.1.11) for Oracle Management Agent
oracle.sysman.xa.discovery.plugin/13.5.1 Plugin 34639857 34706830 Oracle Enterprise Manager for Exadata 13c Release 5 Plug-in Update 11 (13.5.1.11) for Oracle Management Agent (Discovery)
.0.0
oracle.sysman.emas.agent.plugin/13.5.1.0 Plugin 34639857 34234448 Oracle Enterprise Manager for Fusion Middleware 13c Release 5 Plug-in Update 8 (13.5.1.8) for Oracle Management Agent
.0
oracle.sysman.top.agent/13.5.0.0.0 Core 34639857 34706936 Oracle Enterprise Manager 13c Release 5 Platform Update 11 (13.5.0.11) for Oracle Management Agent
NOTE: N/A indicates that the subpatch mentioned in the Subpatches column was applied as a one-off patch and not as part of any system patch.
AgentPatcher has saved inventory details for the above component at below location.
"/u01/app/oracle/product/agent/agent_13.5.0.0.0"
For more details on installed patch(es), Please do "/u01/app/oracle/product/agent/agent_13.5.0.0.0/OPatch/opatch lsinventory -details"
AgentPatcher succeeded.
结论
希望这个博客能有所帮助
原文标题:Applying RU on Enterprise Manager 13c R5
原文作者:Mouhamadou Diaw
原文链接:https://www.dbi-services.com/blog/applying-ru-on-enterprise-manager-13c-r5/




