--安装后目录:
[oracle@prdb19 u01]$ ls -lrt
total 12
drwxrwxr-x. 6 oracle oinstall 66 Sep 28 2020 app
drwxrwxr-x. 3 oracle oinstall 30 Apr 20 10:41 agentapp --oem agent目录
drwxr-x---. 4 oracle oinstall 37 Apr 20 12:18 gc_inst --gc实例目录
drwxrwxr-x. 69 oracle oinstall 4096 Apr 20 12:22 oemapp --oemapp目录
drwxrwxr-x. 75 oracle oinstall 4096 Apr 20 12:51 swlib --存放软件介质目录
drwxrwxr-x. 5 oracle oinstall 4096 Apr 20 12:51 software --软件目录
[oracle@prdb19 u01]$ pwd
/u01
[oracle@prdb19 u01]$
--设置环境变量:
--oracle 变量:用户默认
--oms app 变量
export ORACLE_HOME=/u01/oemapp
export PATH=$PATH:$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$ORACLE_HOME/OMSPatcher
[oracle@prdb19 oemapp]$ OPatch/opatch lspatches
32458315;ADF BUNDLE PATCH 12.2.1.4.210203
32412974;One-off
31818221;One-off
31808404;OHS (NATIVE) BUNDLE PATCH 12.2.1.4.200826
31708760;One-off
31666198;OPSS Bundle Patch 12.2.1.4.200724
30152128;One-off
26626168;One-off
122146;Bundle patch for Oracle Coherence Version 12.2.1.4.6
32253037;WLS PATCH SET UPDATE 12.2.1.4.201209
OPatch succeeded.
[oracle@prdb19 oemapp]$
oracle123
--需要升级
[oracle@prdb19 OMSPatcher]$ ./omspatcher version
OMSPatcher Version: 13.9.4.4.0 ****需要升级
OPlan Version: 12.2.0.1.16
OsysModel build: Tue Apr 28 18:16:31 PDT 2020
OMSPatcher succeeded.
[oracle@prdb19 OMSPatcher]$
解压
[oracle@prdb19 software]$ unzip p19999993_135000_Generic.zip -d /u01/oemapp/
[oracle@prdb19 software]$ /u01/oemapp/OMSPatcher/omspatcher version
OMSPatcher Version: 13.9.5.19.0 ***** 升级完成
OPlan Version: 12.2.0.1.16
OsysModel build: Tue Apr 28 18:16:31 PDT 2020
OMSPatcher succeeded.
--升级 必须包
Apply the 12.2.1.4.0 version of below JDBC Patches on all the OMSes before proceeding with Enterprise Manager 13c Release 5 Update 19 patch 35861059 or later
MLR Patch 35430934 (or its superset) which includes 32720458 and 33607709
Patch 34153238
Patch 31657681
--升级日志:
625 export ORACLE_HOME=/u01/oemapp
626 ll /u01/oemapp
627 $ORACLE_HOME/OPatch/opatch lspatches
628 $ORACLE_HOME/OPatch/opatch apply
629 cd ..
630 ls -lrt
631 unzip p34153238_122140_Generic.zip
632 cd 34153238
633 $ORACLE_HOME/OPatch/opatch apply
634 cd ..
635 ll
636 ls -lrt
637 unzip p31657681_191000_Generic.zip
638 cd 31657681
639 $ORACLE_HOME/OPatch/opatch apply
640 $ORACLE_HOME/bin/emctl start oms
升级前:
[oracle@prdb19 35430934]$ $ORACLE_HOME/OPatch/opatch lspatches
32458315;ADF BUNDLE PATCH 12.2.1.4.210203
32412974;One-off
31818221;One-off
31808404;OHS (NATIVE) BUNDLE PATCH 12.2.1.4.200826
31708760;One-off
31666198;OPSS Bundle Patch 12.2.1.4.200724
30152128;One-off
26626168;One-off
122146;Bundle patch for Oracle Coherence Version 12.2.1.4.6
32253037;WLS PATCH SET UPDATE 12.2.1.4.201209
OPatch succeeded.
[oracle@prdb19 35430934]$
升级后:
[oracle@prdb19 OMSPatcher]$ $ORACLE_HOME/OPatch/opatch lspatches
31657681;One-off
34153238;One-off
35430934;One-off
32458315;ADF BUNDLE PATCH 12.2.1.4.210203
32412974;One-off
31818221;One-off
31808404;OHS (NATIVE) BUNDLE PATCH 12.2.1.4.200826
31708760;One-off
31666198;OPSS Bundle Patch 12.2.1.4.200724
30152128;One-off
26626168;One-off
122146;Bundle patch for Oracle Coherence Version 12.2.1.4.6
32253037;WLS PATCH SET UPDATE 12.2.1.4.201209
OPatch succeeded.
[oracle@prdb19 OMSPatcher]$
--分析RU:
[oracle@prdb19 35861059]$ $ORACLE_HOME/OMSPatcher/omspatcher apply -analyze OMSPatcher.OMS_DISABLE_HOST_CHECK=true
OMSPatcher Automation Tool
Copyright (c) 2017, Oracle Corporation. All rights reserved.
OMSPatcher version : 13.9.5.19.0
OUI version : 13.9.4.0.0
Running from : /u01/oemapp
Log file location : /u01/oemapp/cfgtoollogs/omspatcher/opatch2024-04-20_14-36-44PM_1.log
OMSPatcher log file: /u01/oemapp/cfgtoollogs/omspatcher/35861059/omspatcher_2024-04-20_14-37-06PM_analyze.log
Please enter OMS weblogic admin server URL(t3s://prdb19:7102):>
Please enter OMS weblogic admin server username(weblogic):> 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 35854862 passed.
Prereq "checkComponents" for patch 35855029 passed.
Prereq "checkComponents" for patch 35855005 passed.
Prereq "checkComponents" for patch 35854878 passed.
Prereq "checkComponents" for patch 35854889 passed.
Prereq "checkComponents" for patch 35854965 passed.
Configuration Validation: Success
Running apply prerequisite checks for sub-patch(es) "35854862,35854878,35855005,35855029,35854965,35854889" and Oracle Home "/u01/oemapp"...
Sub-patch(es) "35854862,35854878,35855005,35855029,35854965,35854889" are successfully analyzed for Oracle Home "/u01/oemapp"
Complete Summary
================
All log file names referenced below can be accessed from the directory "/u01/oemapp/cfgtoollogs/omspatcher/2024-04-20_14-36-44PM_SystemPatch_35861059_1"
Prerequisites analysis summary:
-------------------------------
The following sub-patch(es) are applicable:
Featureset Sub-patches Log file
---------- ----------- --------
oracle.sysman.top.oms 35854862,35854878,35855005,35855029,35854965,35854889 35854862,35854878,35855005,35855029,35854965,35854889_opatch2024-04-20_14-37-42PM_1.log
The following sub-patches are incompatible with components installed in the OMS system:
35582217,34430509,34706773,35854904,35854914,35854930,35582170,35854975,35855020
Log file location: /u01/oemapp/cfgtoollogs/omspatcher/35861059/omspatcher_2024-04-20_14-37-06PM_analyze.log
标签:1.4,135,prdb19,升级,12.2,oem,oracle,--,u01 From: https://www.cnblogs.com/notonlydba/p/18147745