Oracle Enterprise Manager 업데이트(OEM 13R4)

이미 OEM InstallationHow to add Targets in OEM에 대한 다른 게시물을 작성했지만 새 프로젝트(coming soon™)를 위해 최소한 Oracle Enterprise Manager 13c 릴리스 4 업데이트 7이 필요했기 때문에 OEM 13R4 업데이트에 대한 게시물을 작성하기로 결정했습니다. .

OEM 업데이트를 수행하기 위해 martinberger.com의 환상적인 가이드를 따랐습니다.
다른 업데이트가 있더라도 프로세스는 매우 유사해야 합니다.

최신 OEM 업데이트 버전을 찾으려면 "Enterprise Manager Cloud Control Updates: List of Available RUs (Release Updates) and PSUs (Patch Set Updates) (Doc ID 1605609.1)"으로 이동하여 최신 OEM 버전을 찾으십시오(월별 업데이트 있음).

이 게시물에서는 "Oracle Management Service(패치)용 Oracle Enterprise Manager 13c 릴리스 4 업데이트 9(13.4.0.9) -- p32198287_134000_Generic.zip"을 사용하고 있지만 이미 최신 버전을 찾을 수 있습니다.

업데이트 설치를 진행하려면 OMSPatcher를 업데이트해야 했습니다. 제 경우에는 Enterprise Manager Cloud Control 13.4.0.0.0(패치)용 버전 13.9.4.4.0의 OMSPatcher 패치(RU6 이상용 -- p19999993_134000_Generic)를 사용하여 OMSPatcher를 업데이트해야 했습니다. zip"및 EM 13c: How To Upgrade Enterprise Manager 13.4 Cloud Control OMSPatcher Utility to Version 13.9.4.4.0/13.9.4.3.0/13.9.4.2.0/13.9.4.1.0 (Doc ID 2646080.1)의 단계
또한 "13.4: How to Upgrade OPatch to 13.9.4.2.5 on the OMS (Doc ID 2728285.1)"에 따라 Opatch를 업데이트했습니다(OPatch 13.9.4.2.5는 패치 28186730 - p28186730_139425_Generic.zip을 통해 사용할 수 있음). 분석 단계에서 "OMSPatcher가 오류 코드 238로 실패했습니다"라는 메시지가 표시되고 로그에서 다음 내용을 좋아했기 때문입니다. 제공:

The OPatch being used has version 13.9.4.2.2 while the following patch(es) require higher versions: 
Patch 31812958 requires OPatch version 13.9.4.2.5.
Patch 32079584 requires OPatch version 13.9.4.2.5.
Patch 32079602 requires OPatch version 13.9.4.2.5.


Opatch를 업데이트하려면 새 OPatch와 함께 제공되는 일부 Java 스크립트를 실행해야 합니다.
제 경우에는 "/u01/stage/6880880"아래에 파일을 다운로드하고 압축을 풉니다.
그런 다음 다음과 같이 Java 명령을 실행하기만 하면 됩니다.

[oracle@oem13 ~]# echo $ORACLE_HOME
/u01/app/oracle/middleware
[oracle@oem13 ~]# $ORACLE_HOME/oracle_common/jdk/bin/java -jar /u01/stage/6880880/opatch_generic.jar -silent oracle_home=$ORACLE_HOME

Launcher log file is /tmp/OraInstall2021-02-26_01-42-59PM/launcher2021-02-26_01-42-59PM.log.
Extracting the installer . . . . Done
Checking if CPU speed is above 300 MHz.   Actual 2925.998 MHz    Passed
Checking swap space: must be greater than 512 MB.   Actual 8063 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 44070 MB    Passed
Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2021-02-26_01-42-59PM
Installation Summary


Disk Space : Required 34 MB, Available 44,029 MB
Feature Sets to Install:
    Next Generation Install Core 13.9.4.0.1
    OPatch 13.9.4.2.5
    OPatch Auto OPlan 13.9.4.2.5
Session log file is /tmp/OraInstall2021-02-26_01-42-59PM/install2021-02-26_01-42-59PM.log
[....]
The install operation completed successfully.

Logs successfully copied to /u01/app/oraInventory/logs.
[oracle@oem13 ~]# 

[oracle@oem13 ~]# $ORACLE_HOME/OPatch/opatch version
OPatch Version: 13.9.4.2.5

OPatch succeeded.
[oracle@oem13 ~]# 


OMSPatcher를 업데이트하는 단계는 Oracle Database Opatch 업데이트 프로세스와 훨씬 간단하고 유사합니다.
OMSPatcher를 다운로드하고 "OMS_HOME"에 이미 있는 폴더를 대체하여 압축을 풉니다(이 경우 간단하게 ORACLE_HOME을 OMS_HOME 경로로 설정했습니다).
제 경우에는 현재 폴더의 이름을 변경하고 추가 단계를 피하기 위해 올바른 위치에 디렉토리를 생성하도록 압축 해제 명령을 만들었습니다.

[oracle@oem13 ~]# echo $ORACLE_HOME
ORACLE_HOME=/u01/app/oracle/middleware
[oracle@oem13 ~]# $ORACLE_HOME/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@oem13 ~]# 


[oracle@oem13 ~]# cd $ORACLE_HOME
[oracle@oem13 middleware]# pwd
/u01/app/oracle/middleware
[oracle@oem13 middleware]# mv OMSPatcher OMSPatcher.bk

[oracle@oem13 middleware]# unzip /u01/stage/p19999993_134000_Generic.zip -d .
Archive:  /u01/stage/p19999993_134000_Generic.zip
   creating: ./OMSPatcher/
  inflating: ./OMSPatcher/omspatcher.bat  
   creating: ./OMSPatcher/jlib/
[....]      
[oracle@oem13 middleware]# 

[oracle@oem13 middleware]# $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.
[oracle@oem13 middleware]# 


필요한 모든 사전 업데이트 단계를 다루었으므로 업데이트 파일을 추출하고 OMSPatcher를 사용하여 분석해야 합니다.

[oracle@oem13 stage]# unzip p32198287_134000_Generic.zip 
[....]
  inflating: 32198287/automation/apply_automation.xml  
  inflating: 32198287/pluginDep.txt  
  inflating: PatchSearch.xml         
[oracle@oem13 stage]# cd 32198287

[oracle@oem13 32198287]# export ORACLE_HOME=/u01/app/oracle/middleware
[oracle@oem13 32198287]# $ORACLE_HOME/OMSPatcher/omspatcher apply -analyze
OMSPatcher Automation Tool
Copyright (c) 2017, Oracle Corporation.  All rights reserved.


OMSPatcher version : 13.9.4.4.0
OUI version        : 13.9.4.0.0
Running from       : /u01/app/oracle/middleware
Log file location  : /u01/app/oracle/middleware/cfgtoollogs/omspatcher/opatch2021-02-26_13-47-51PM_1.log

OMSPatcher log file: /u01/app/oracle/middleware/cfgtoollogs/omspatcher/32198287/omspatcher_2021-02-26_13-48-01PM_analyze.log

Please enter OMS weblogic admin server URL(t3s://oem13:7102):> 
Please enter OMS weblogic admin server username(weblogic):> 
Please enter OMS weblogic admin server password:> 


WARNING: Could not apply the patch "32079961" 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 "32079850" 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 "31894733" 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 "32080020" 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 "31894749" 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 "32079932" 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 "32079768" 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.
WARNING: Could not apply the patch "31889317" because the "oracle.sysman.csm.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 "31802539" because the "oracle.sysman.smf.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) "32079912,31812958,32079613,32079584,32079602,32079986" and Oracle Home "/u01/app/oracle/middleware"...
Sub-patch(es) "32079912,31812958,32079613,32079584,32079602,32079986" 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-02-26_13-47-51PM_SystemPatch_32198287_1"

Prerequisites analysis summary:
-------------------------------

The following sub-patch(es) are applicable:

             Featureset                                             Sub-patches                                                                                  Log file
             ----------                                             -----------                                                                                  --------
  oracle.sysman.top.oms   32079912,31812958,32079613,32079584,32079602,32079986   32079912,31812958,32079613,32079584,32079602,32079986_opatch2021-02-26_13-47-59PM_1.log


The following sub-patches are incompatible with components installed in the OMS system:
32079961,32079850,31894733,32080020,31894749,32079932,32079768,31889317,31802539



--------------------------------------------------------------------------------
The following warnings have occurred during OPatch execution:
1)  Could not apply the patch "32079961" 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 "32079850" 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 "31894733" 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 "32080020" 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 "31894749" 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 "32079932" 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 "32079768" 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.
8)  Could not apply the patch "31889317" because the "oracle.sysman.csm.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.
9)  Could not apply the patch "31802539" because the "oracle.sysman.smf.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/32198287/omspatcher_2021-02-26_13-48-01PM_analyze.log

OMSPatcher completed with warnings.
[oracle@oem13 32198287]# 



그런데 분석 단계에서 "다음 하위 패치는 OMS 시스템에 설치된 구성 요소와 호환되지 않습니다"라는 메시지가 표시되면 다음 참고 사항을 확인할 수 있습니다.
"EM 13.4: "omspatcher apply -analyze"명령에 하위 패치가 OMS 시스템에 설치된 구성 요소와 호환되지 않음(Doc ID 2744878.1)이 표시되고 플러그인이 활성화되지 않았는지 확인합니다.

[oracle@oem13 ~]# $ORACLE_HOME/bin/emcli login -username=sysman
Enter password : 

Login successful
[oracle@oem13 ~]# $ORACLE_HOME/bin/emcli sync
Synchronized successfully
[oracle@oem13 ~]# $ORACLE_HOME/bin/emcli list_plugins_on_server
OMS name is oem13: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               

[oracle@oem13 ~]#


먼저 OMS를 중지하는 업데이트를 적용해 보겠습니다.


[oracle@oem13 32198287]# $ORACLE_HOME/bin/emctl stop 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

[oracle@oem13 32198287]# $ORACLE_HOME/OMSPatcher/omspatcher apply
OMSPatcher Automation Tool
Copyright (c) 2017, Oracle Corporation.  All rights reserved.


OMSPatcher version : 13.9.4.4.0
OUI version        : 13.9.4.0.0
Running from       : /u01/app/oracle/middleware
Log file location  : /u01/app/oracle/middleware/cfgtoollogs/omspatcher/opatch2021-02-26_13-56-17PM_1.log

[....]

Running apply prerequisite checks for sub-patch(es) "32079912,31812958,32079613,32079584,32079602,32079986" and Oracle Home "/u01/app/oracle/middleware"...
Sub-patch(es) "32079912,31812958,32079613,32079584,32079602,32079986" 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 32079584 32079602 32079613 32079912 32079986 ]
                                 Apply RCU artifact with patch "/u01/app/oracle/middleware/.omspatcher_storage/32079584_Dec_13_2020_03_55_05/original_patch";
                                 Apply RCU artifact with patch "/u01/app/oracle/middleware/.omspatcher_storage/32079602_Dec_13_2020_05_10_07/original_patch";
                                 Apply RCU artifact with patch "/u01/app/oracle/middleware/.omspatcher_storage/32079912_Dec_13_2020_05_10_21/original_patch";
                                 Apply RCU artifact with patch "/u01/app/oracle/middleware/.omspatcher_storage/32079986_Dec_13_2020_05_10_54/original_patch";
                                 Apply RCU artifact with patch "/u01/app/oracle/middleware/.omspatcher_storage/32079613_Dec_13_2020_05_12_15/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"


Do you want to proceed? [y|n]
y
User Responded with: Y

Applying sub-patch(es) "31812958,32079584,32079602,32079613,32079912,32079986"

[....]

8)  Could not apply the patch "31889317" because the "oracle.sysman.csm.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.
9)  Could not apply the patch "31802539" because the "oracle.sysman.smf.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/32198287/omspatcher_2021-02-26_13-56-27PM_deploy.log

OMSPatcher completed with warnings.
[oracle@oem13 32198287]# 


OEM 설치를 수행하는 동안 이미 발생한 것처럼 업데이트를 완료하는 데 시간이 좀 걸렸지만 이것이 무엇보다 내 시스템 리소스와 더 관련이 있다고 가정해야 합니다.

그러나 적어도 벌금을 완료했습니다.

[oracle@oem13 32198287]#  $ORACLE_HOME/OPatch/opatch lsinventory | grep Platform
Patch description:  "Oracle Enterprise Manager 13c Release 4 Platform Update 9 (13.4.0.9) for Oracle Management Service"
[oracle@oem13 32198287]# 
[oracle@oem13 32198287]# ~/scripts/start_all.sh 
The Oracle base remains unchanged with value /u01/app/oracle

LSNRCTL for Linux: Version 19.0.0.0.0 - Production on 26-FEB-2021 14:52:50

Copyright (c) 1991, 2019, Oracle.  All rights reserved.

TNS-01106: Listener using listener name LISTENER has already been started
Processing Database instance "emcdb": log file /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/log/startup.log
Oracle Enterprise Manager Cloud Control 13c Release 4  
Copyright (c) 1996, 2020 Oracle Corporation.  All rights reserved.
Starting Oracle Management Server...
WebTier Successfully Started
Oracle Management Server Successfully Started
Oracle Management Server is Up
JVMD Engine is Up
Starting BI Publisher Server ...
BI Publisher Server Already Started
BI Publisher Server is Up
Oracle Enterprise Manager Cloud Control 13c Release 4  
Copyright (c) 1996, 2020 Oracle Corporation.  All rights reserved.
Agent is already running
ALL DONE!
[oracle@oem13 32198287]# 





좋은 웹페이지 즐겨찾기