oemdba – blogs about OEM and more

Oracle Enterprise Manager – SYSMAN is my best friend 😉

Blog-Bild

Category: OEM

  • How to install and patch OEM24ai at the same time

    It’s been quite a while since I last wrote—I’m catching up now.
    Mainly because AutoUpgrade version 26.6 is now available, which lets you download the patches for Oracle Enterprise Manager, see Mike’s blog here: https://mikedietrichde.com/2026/09/30/new-autoupgrade-version-26-6-is-available/
    That’s absolutely amazing!

    So, let’s have a look.

    My environment

    My environment is OEL 8.10.
    I installed a 2-node cluster in Version 23.26.3.0.0:

    [grid@oem24-02 ~]$ crsctl query crs softwareversion -all
    Oracle Clusterware version on node [oem24-02] is [23.0.0.0.0]
    Oracle Clusterware version on node [oem24-03] is [23.0.0.0.0]
    [grid@oem24-02 ~]$ crsctl query crs releasepatch
    Oracle Clusterware release patch level is [2505374838] and the complete list of patches [39578856 39578859 39578862 39578865 39578879 ] have been applied on the local node. The release patch string is [23.26.3.0.0].

    My database for the OEM24ai repository is also 26ai:

    SQL> select banner from v$version;
    
    BANNER
    --------------------------------------------------------------------------------
    Oracle AI Database 26ai Enterprise Edition Release 23.26.3.0.0 - Production

    Later, I want to install an additional OEM24ai with HAProxy and an applicationVIP. But this will be covered in one of my next blogs.

    Download OEM patches with AutoUpgrade

    How to configure AutoUpgrade for download is not explained here. There are some better blogs and pages, which this theme is covered.

    So, I start with the download of OEM24 RU13.

    [oracle@oem24-02 autoupgrade]$ cat download_EM_RU.cfg
    global.global_log_dir=/home/oracle/autoupgrade/log
    global.keystore=/home/oracle/autoupgrade/keystore
    patch1.download_folder=/software
    patch1.patch=OEM:24.1
    patch1.target_version=26
    patch1.platform=LINUX.X64
    
    
    [oracle@oem24-02 autoupgrade]$ java -jar /home/oracle/autoupgrade/autoupgrade.jar -config /home/oracle/autoupgrade/download_EM_RU.cfg -patch -mode download
    AutoUpgrade Patching 26.6.260925 launched with default internal options
    Processing config file ...
    Loading AutoUpgrade Patching keystore
    AutoUpgrade Patching keystore is loaded
    
    ------------------------------
    Downloading files to /software
    ------------------------------
    Oracle Enterprise Manager 24ai Release 1 Update 13 (24.1.0.13) for Oracle Management Service
        File: p39815035_241000_Generic.zip - VALIDATED
    
    Oracle Enterprise Manager 24ai Release 1 Holistic Patch for Oracle Management Service - September 2026
        File: p39984254_241000_Generic.zip - 100%                                                                                                            VALIDATED
    
    Oracle Enterprise Manager 24ai Release 1 Update 13 (24.1.0.13) for Oracle Management Agent
        File: p39815042_241000_Generic.zip - VALIDATED
    
    OMSPatcher patch of version 13.9.24.17.0 for Enterprise Manager 24.1.0.0.0
        File: p19999993_241000_Generic.zip - VALIDATED
    
    AgentPatcher patch of version 13.9.25.3.0 for Enterprise Manager 24.1.0.0.0
        File: p33355570_241000_Generic.zip - VALIDATED
    ------------------------------

    I repeat it: A-M-A-Z-I-N-G-!

    Thanks to Mike and his colleagues!

    Now, I have the patches, but I still need the OEM software binaries, which I get here: https://edelivery.oracle.com. If you can, use wget 😉

    Install OEM24ai and configure later

    After unzipping the files, I follow my own blog post: Are you ready for the installation of OEM24ai?

    The EMPREREQ_KIT tool recognizes that it is a RAC database. I didn’t specify anything other than the SCAN address—nothing else is necessary either.

    I got few warnings and one failure.

    So, I corrected these warnings and the failure and restarted my RAC database.

    After this I installed my OEM24ai with the option “Install software only with plug-ins and Configure Later”

    So, not really anything exciting

    Run root.sh as user root.

    [root@oem24-02 ~]$  /u01/app/oracle/product/mwhome/oms_home/allroot.sh
    
    Starting to execute allroot.sh .........
    
    Starting to execute /u01/app/oracle/product/mwhome/oms_home/root.sh ......
    Check /u01/app/oracle/product/mwhome/oms_home/install/root_oem24-02.media.local_2026-10-06_16-31-33-709477487.log for the output of root script
    
    Finished product-specific root actions.
    /etc exist
    /u01/app/oracle/product/agent/agent_24.1.0.0.0
    Finished execution of  /u01/app/oracle/product/mwhome/oms_home/root.sh ......
    
    
    Starting to execute /u01/app/oracle/product/agent/agent_24.1.0.0.0/root.sh ......
    
    Finished product-specific root actions.
    /etc exist
    /u01/app/oracle/product/agent/agent_24.1.0.0.0
    Finished execution of  /u01/app/oracle/product/agent/agent_24.1.0.0.0/root.sh ......
    

    The last step shows the script, which I have to run after all patching tasks.

    Patching OEM

    There are serveral steps to do, so first I start with OMSPatcher

    OMSPatcher

    Thanks to AutoUpgrade, the latest OMSPatcher has already been downloaded, it is patch p19999993_241000_Generic.zip

    [oracle@oem24-02 ~]$ export ORACLE_HOME=/u01/app/oracle/product/mwhome/oms_home
    [oracle@oem24-02 ~]$ cd $ORACLE_HOME/OMSPatcher
    [oracle@oem24-02 OMSPatcher]$ ./omspatcher version
    OMSPatcher Version: 13.9.24.1.0
    OPlan Version: 12.2.0.1.16
    OsysModel build: Tue Apr 28 18:16:31 PDT 2020
    
    OMSPatcher succeeded.

    I take a backup of the current OMSPatcher

    [oracle@oem24-02 oms_home]$ mv OMSPatcher OMSPatcher_13.9.24.1.0

    I unzip the patch in the OEM OracleHome

    [oracle@oem24-02 oms_home]$ unzip -q /software/p19999993_241000_Generic.zip

    I check the OMSPatcher version

    [oracle@oem24-02 oms_home]$ ./OMSPatcher/omspatcher version
    OMSPatcher Version: 13.9.24.17.0
    OPlan Version: 12.2.0.1.16
    OsysModel build: Tue Apr 28 18:16:31 PDT 2020
    
    OMSPatcher succeeded.

    OPatch

    Normally, you have to stop the OEM, if you want to update OPatch. But I’ve only installed the software so far, I can simply update OPatch.

    OPatch is delivered with the OEM Holictic patch.

    [oracle@oem24-02 software]$ unzip -q p39984254_241000_Generic.zip -x "*/solaris*64/*" "*/windows64/*" "*/aix64/*"
    [oracle@oem24-02 software]$ cd 39984254/tools/opatch/generic
    [oracle@oem24-02 generic]$ unzip -q p28186730_1394224_Generic.zip
    [oracle@oem24-02 6880880]$ pwd
    /software/39984254/tools/opatch/generic/6880880
    [oracle@oem24-02 6880880]$ /u01/app/oracle/product/mwhome/oms_home/oracle_common/jdk/bin/java -jar /software/39984254/tools/opatch/generic/6880880/opatch_generic.jar -silent oracle_home=/u01/app/oracle/product/mwhome/oms_home
    
    [oracle@oem24-02 6880880]$ $ORACLE_HOME/OPatch/opatch version
    OPatch Version: 13.9.4.2.24
    
    OPatch succeeded.
    

    Release Update (RU13)

    Now, OMSPatcher and opatch are updated, I can start with the RU, here it is RU13.

    [oracle@oem24-02 software]$ unzip -q p39815035_241000_Generic.zip

    No Adminserver is running, so I have to patch with the option “bitonly”
    (see MOS: KB282751 – 24ai: How to Apply Release Update on the OMS During the Install/Upgrade)

    [oracle@oem24-02 39815035]$ export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OMSPatcher:$ORACLE_HOME/OPatch:$PATH
    [oracle@oem24-02 39815035]$ omspatcher apply -bitonly
    OMSPatcher Automation Tool
    Copyright (c) 2024, Oracle Corporation.  All rights reserved.
    
    
    OMSPatcher version : 13.9.24.17.0
    OUI version        : 13.9.4.0.0
    Running from       : /u01/app/oracle/product/mwhome/oms_home
    Log file location  : /u01/app/oracle/product/mwhome/oms_home/cfgtoollogs/omspatcher/opatch2026-10-06_16-55-57PM_1.log
    
    OMSPatcher log file: /u01/app/oracle/product/mwhome/oms_home/cfgtoollogs/omspatcher/39815035/omspatcher_2026-10-06_16-56-29PM_apply.log
    
    WARNING: OMSPatcher has been invoked with bitonly option but the System patch provided has deployment metadata.
    Invocation in bitonly mode will prevent OMSPatcher from deploying artifacts.
    
    Do you want to proceed? [y|n]
    y
    User Responded with: Y
    
    
    Prereq "checkComponents" for patch 39807951 passed.
    
    Prereq "checkComponents" for patch 39808046 passed.
    
    Prereq "checkComponents" for patch 39807976 passed.
    
    Prereq "checkComponents" for patch 39808017 passed.
    
    Prereq "checkComponents" for patch 39807963 passed.
    
    Prereq "checkComponents" for patch 39808030 passed.
    
    Prereq "checkComponents" for patch 39808070 passed.
    
    Running apply prerequisite checks for sub-patch(es) "39807951,39808046,39807976,39808017,39807963,39808030" and Oracle Home "/u01/app/oracle/product/mwhome/oms_home"...
    Sub-patch(es) "39807951,39808046,39807976,39808017,39807963,39808030" are successfully analyzed for Oracle Home "/u01/app/oracle/product/mwhome/oms_home"
    
    Running apply prerequisite checks for sub-patch(es) "39808070" and Oracle Home "/u01/app/oracle/product/mwhome/ext_oms_home"...
    Sub-patch(es) "39808070" are successfully analyzed for Oracle Home "/u01/app/oracle/product/mwhome/ext_oms_home"
    
    To continue, OMSPatcher will do the following:
    [Patch and deploy artifacts]   :
    
    
    Do you want to proceed? [y|n]
    y
    User Responded with: Y
    
    Applying sub-patch(es) "39807951,39807963,39807976,39808017,39808030,39808046"
    Properties file /u01/app/oracle/product/mwhome/oms_home/sysman/config/emInstanceMapping.properties not found. Exiting.
    Properties file /u01/app/oracle/product/mwhome/oms_home/sysman/config/emInstanceMapping.properties not found. Exiting.
    Coping /u01/app/oracle/product/mwhome/oms_home/oracle_common/modules/oracle.pki/oraclepki.jar,/u01/app/oracle/product/mwhome/oms_home/oracle_common/modules/oracle.osdt/osdt_core.jar,/u01/app/oracle/product/mwhome/oms_home/oracle_common/modules/oracle.osdt/osdt_cert.jar to /u01/app/oracle/product/mwhome/oms_home/oui/em
    Properties file /u01/app/oracle/product/mwhome/oms_home/sysman/config/emInstanceMapping.properties not found. Exiting.
    mkdir /u01/app/oracle/product/mwhome/oms_home/cfgtoollogs/omspatcher/37691197_opatch_script
    mkdir /u01/app/oracle/product/mwhome/oms_home/cfgtoollogs/omspatcher/37691197_opatch_script/apply_37691197_tmp
    Failed to move file to deployed locationProperties file /u01/app/oracle/product/mwhome/oms_home/sysman/config/emInstanceMapping.properties not found. Exiting.
    mkdir /u01/app/oracle/product/mwhome/oms_home/cfgtoollogs/omspatcher/36930316_opatch_script
    mkdir /u01/app/oracle/product/mwhome/oms_home/cfgtoollogs/omspatcher/36930316_opatch_script/apply_36930316_tmp
    Failed to move file to deployed locationProperties file /u01/app/oracle/product/mwhome/oms_home/sysman/config/emInstanceMapping.properties not found. Exiting.
    Properties file /u01/app/oracle/product/mwhome/oms_home/sysman/config/emInstanceMapping.properties or cumulative mapping files /u01/app/oracle/product/mwhome/oms_home/install/deploy_library_mapping.txt_delta or /u01/app/oracle/product/mwhome/oms_home/install/undeploy_library_mapping.txt_delta not found. Exiting.
    Properties file /u01/app/oracle/product/mwhome/oms_home/sysman/config/emInstanceMapping.properties not found. Exiting.
    Deleted: /u01/app/oracle/product/mwhome/oms_home/inventory/featuresets/resources/modules/thirdParty_log4jLog4j_2.11.1.0.0.jar
    Deleted: /u01/app/oracle/product/mwhome/oms_home/inventory/featuresets/resources/modules/thirdPartyMain_log4jLog4j_2.11.1.0.0.jar
    Deleted: /u01/app/oracle/product/mwhome/ext_oms_home/inventory/featuresets/resources/modules/thirdParty_log4jLog4j_2.11.1.0.0.jar
    Deleted: /u01/app/oracle/product/mwhome/ext_oms_home/inventory/featuresets/resources/modules/thirdPartyMain_log4jLog4j_2.11.1.0.0.jar
    Properties file /u01/app/oracle/product/mwhome/oms_home/sysman/config/emInstanceMapping.properties not found. Exiting.
    mkdir /u01/app/oracle/product/mwhome/oms_home/cfgtoollogs/omspatcher/39490394_opatch_script
    mkdir /u01/app/oracle/product/mwhome/oms_home/cfgtoollogs/omspatcher/39490394_opatch_script/apply_39490394_tmp
    Properties file /u01/app/oracle/product/mwhome/oms_home/sysman/config/emInstanceMapping.properties not found. Exiting.
    Please monitor log file: /u01/app/oracle/product/mwhome/oms_home/cfgtoollogs/opatch/opatch2026-10-06_17-02-33PM_3.log
    
    
    Applying sub-patch(es) "39808070"
    Please monitor log file: /u01/app/oracle/product/mwhome/ext_oms_home/cfgtoollogs/opatch/opatch2026-10-06_17-07-05PM_4.log
    
    
    Complete Summary
    ================
    
    
    All log file names referenced below can be accessed from the directory "/u01/app/oracle/product/mwhome/oms_home/cfgtoollogs/omspatcher/2026-10-06_16-55-57PM_SystemPatch_39815035_1"
    
    Patching summary:
    -----------------
    
    Binaries of the following sub-patch(es) have been applied successfully:
    
                            Featureset                                             Sub-patches                                                                                  Log file
                            ----------                                             -----------                                                                                  --------
      oracle.sysman.top.zdt_24.1.0.0.0                                                39808070                                                39808070_opatch2026-10-06_17-07-05PM_4.log
      oracle.sysman.top.oms_24.1.0.0.0   39807951,39807963,39807976,39808017,39808030,39808046   39807951,39807963,39807976,39808017,39808030,39808046_opatch2026-10-06_17-02-33PM_3.log
    
    
    The following sub-patches are not needed by any component installed in the OMS system:
    39669501,39808023,39669487,39808062,39669543,39808008
    
    
    
    --------------------------------------------------------------------------------
    The following warnings have occurred during OPatch execution:
    1)  OMSPatcher has been invoked with bitonly option but the System patch provided has deployment metadata.
    Invocation in bitonly mode will prevent OMSPatcher from deploying artifacts.
    --------------------------------------------------------------------------------
    Log file location: /u01/app/oracle/product/mwhome/oms_home/cfgtoollogs/omspatcher/39815035/omspatcher_2026-10-06_16-56-29PM_apply.log
    
    OMSPatcher succeeded.
    

    I check the installed patches:

    [oracle@oem24-02 39815035]$ $ORACLE_HOME/OPatch/opatch lspatches -oh $ORACLE_HOME
    39808046;Oracle Enterprise Manager for Cloud Framework 24ai Release 1 Plug-in Update 13 (24.1.1.13) for Oracle Management Service
    39808030;Oracle Enterprise Manager for Systems Infrastructure 24ai Release 1 Plug-in Update 13 (24.1.1.13) for Oracle Management Service
    39808017;Oracle Enterprise Manager for Exadata 24ai Release 1 Plug-in Update 13 (24.1.1.13) for Oracle Management Service
    39807976;Oracle Enterprise Manager for Oracle Database 24ai Release 1 Plug-in Update 13 (24.1.1.13) for Oracle Management Service
    39807963;Oracle Enterprise Manager for Fusion Middleware 24ai Release 1 Plug-in Update 13 (24.1.1.13) for Oracle Management Service
    39807951;Oracle Enterprise Manager 24ai Release 1 Platform Update 13 (24.1.0.13) for Oracle Management Service
    37103277;FMW Thirdparty Bundle Patch 12.2.1.4.240925
    37096063;OSS 19C BUNDLE PATCH 12.2.1.4.241001
    37035947;OWSM BUNDLE PATCH 12.2.1.4.240908
    37028738;ADF BUNDLE PATCH 12.2.1.4.240905
    36964687;WebCenter Core Bundle Patch 12.2.1.4.240819
    36851321;RDA release 24.4-20241015 for OFM 12.2.1.4 SPB
    36789759;FMW PLATFORM BUNDLE PATCH 12.2.1.4.240812
    36316422;OPSS Bundle Patch 12.2.1.4.240220
    34065178;One-off
    30152128;One-off
    26626168;One-off
    1221423;Coherence Cumulative Patch 12.2.1.4.23
    37033394;OHS (NATIVE) DB19C BUNDLE PATCH 12.2.1.4.240906
    36615359;DATABASE RELEASE UPDATE 19.24.0.0.0 FOR FMW DBCLIENT
    34809489;One-off
    37087476;WLS PATCH SET UPDATE 12.2.1.4.240922
    35965629;ADR FOR WEBLOGIC SERVER 12.2.1.4.0 CPU JAN 2024
    
    OPatch succeeded.

    Holistic Patch

    I unzipped the patch earlier because of opatch, so I only have to change the directory and run omspatcher. But please delete the unzipped directory of opatch before starting the patch process.

    [oracle@oem24-02 software]$ cd 39984254
    [oracle@oem24-02 39984254]$ omspatcher apply /software/39984254 -spb_patch
    
    SUCCESS :: The minimum Release Update (RU) check passed for applying the given holistic patch. Minimum OMS RU Version is 24.1.0.13
    
    OMSPatcher analyze log file :: /u01/app/oracle/product/mwhome/oms_home/cfgtoollogs/omspatcher/SPB_PATCH/omspatcher_analyze_Thu_Oct__8_12_59_26_2026.log
    
    Running Command :: /u01/app/oracle/product/mwhome/oms_home/OPatch/opatch lspatches -oh /u01/app/oracle/product/mwhome/oms_home
    
    Running Command :: /u01/app/oracle/product/mwhome/oms_home/OPatch/opatch prereq CheckForNoOpPatches -oh /u01/app/oracle/product/mwhome/oms_home -phbasefile /u01/app/oracle/product/mwhome/oms_home/linux64_patchlist.txt -silent
    
    Running Command :: /u01/app/oracle/product/mwhome/oms_home/OPatch/opatch prereq CheckConflictAgainstOH -oh /u01/app/oracle/product/mwhome/oms_home -phbasefile /u01/app/oracle/product/mwhome/oms_home/linux64_patchlist.txt -silent
    
    
    Running Command :: /u01/app/oracle/product/mwhome/oms_home/OPatch/opatch prereq CheckConflictAgainstOH -oh /u01/app/oracle/product/mwhome/ext_oms_home -phbasefile /u01/app/oracle/product/mwhome/oms_home/linux64_patchlist.txt -silent
    SLF4J: Class path contains multiple SLF4J bindings.
    SLF4J: Found binding in [jar:file:/u01/app/oracle/product/mwhome/ext_oms_home/oui/modules/private/slf4j-jdk14-1.7.28.jar!/org/slf4j/impl/StaticLoggerBinder.class]
    SLF4J: Found binding in [jar:file:/u01/app/oracle/product/mwhome/oms_home/oui/modules/private/slf4j-jdk14-1.7.28.jar!/org/slf4j/impl/StaticLoggerBinder.class]
    SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
    SLF4J: Actual binding is of type [org.slf4j.impl.JDK14LoggerFactory]
    (...)
    Command ran successfully
    
    Running the command :: /u01/app/oracle/product/mwhome/oms_home/OPatch/opatch napply -oh /u01/app/oracle/product/mwhome/ext_oms_home -phbasefile /u01/app/oracle/product/mwhome/oms_home/linux64_patchlist_ext.txt -silent
    
    
    Log file location: /u01/app/oracle/product/mwhome/oms_home/cfgtoollogs/omspatcher/SPB_PATCH/omspatcher_2026-10-08_13-04-40PM_apply.log
    
    OMSPatcher succeeded.

    I check the patches again:

    [oracle@oem24-02 39984254]$ opatch lspatches
    -bash: opatch: command not found
    [oracle@oem24-02 39984254]$ export PATH=$ORACLE_HOME/OPatch:$PATH
    [oracle@oem24-02 39984254]$ opatch lspatches
    39984317;EM Stack Patch Bundle 24.1.0.0.0(ID:260906.1632) (Patch 39984254)
    39979941;OPSS Bundle Patch 12.2.1.4.260904
    39930279;ADF BUNDLE PATCH 12.2.1.4.260825
    39919567;WLS PATCH SET UPDATE 12.2.1.4.260823
    39901894;WebCenter Core Bundle Patch 12.2.1.4.260818
    39896168;OWSM BUNDLE PATCH 12.2.1.4.260818
    39861406;PERL 5.42.2 patch for EM 24.1.0.0.0
    39798204;RDA release 26.3-2026915 for OFM 12.2.1.4 SPB
    39611663;OHS (NATIVE) DB19C BUNDLE PATCH 12.2.1.4.260624
    39574504;FMW Thirdparty Bundle Patch 12.2.1.4.260617
    39567777;OSS 19C BUNDLE PATCH 12.2.1.4.260616
    39487427;JDBC19.31 BUNDLE PATCH 12.2.1.4.260603
    39425385;DB CLIENT 19.31 FOR FMW BUNDLE PATCH 12.2.1.4.260721 (39425385)
    38832179;One-off
    38098858;One-off
    1221432;Coherence Cumulative Patch 12.2.1.4.32
    39808046;Oracle Enterprise Manager for Cloud Framework 24ai Release 1 Plug-in Update 13 (24.1.1.13) for Oracle Management Service
    39808030;Oracle Enterprise Manager for Systems Infrastructure 24ai Release 1 Plug-in Update 13 (24.1.1.13) for Oracle Management Service
    39808017;Oracle Enterprise Manager for Exadata 24ai Release 1 Plug-in Update 13 (24.1.1.13) for Oracle Management Service
    39807976;Oracle Enterprise Manager for Oracle Database 24ai Release 1 Plug-in Update 13 (24.1.1.13) for Oracle Management Service
    39807963;Oracle Enterprise Manager for Fusion Middleware 24ai Release 1 Plug-in Update 13 (24.1.1.13) for Oracle Management Service
    39807951;Oracle Enterprise Manager 24ai Release 1 Platform Update 13 (24.1.0.13) for Oracle Management Service
    36789759;FMW PLATFORM BUNDLE PATCH 12.2.1.4.240812
    34065178;One-off
    30152128;One-off
    34809489;One-off
    35965629;ADR FOR WEBLOGIC SERVER 12.2.1.4.0 CPU JAN 2024
    
    OPatch succeeded.

    Configure OEM24ai

    Now, I can configure OEM24ai:

    [oracle@oem24-02 ~]$ cd /u01/app/oracle/product/mwhome/oms_home/sysman/install/
    [oracle@oem24-02 install]$ ./ConfigureGC.sh
    INFO: oneclick.properties exist .---/u01/app/oracle/product/mwhome/oms_home/oui/em/oneclick.properties
    *************************************

    As I wrote, I have a RAC database.

    You can change the user also after the installation / configuration.

    I ignored the warnings.

    Done – great!

  • I am speaker on DOAGDB26

    Again, I’ll be speaker at the DOAG Database with Cloud Infrastructure (#DOAGDB26).

    This time, I’ll show you how to create a standby database both manually and using OEM.

    And again, sorry, it will be held on German.

    If you’re coming—I look forward to seeing you.

    Info:
    https://datenbank.doag.org/en/home/

    Program:
    https://my.doag.org/events/doag-database/2026/agenda/#eventDay.all

    Tickets:
    https://my.doag.org/events/doag-datenbank/shop/

    Regards

    Birgit

  • No workflow for creating a PDB standby in Oracle 23ai available in OEM24ai 🙁

    In Oracle 23ai there is the new feature “Per-PDB Data Guard Integration Enhancements” (https://docs.oracle.com/en/database/oracle/oracle-database/23/nfcoa/data_guard.html).

    There are some blogs, which describe how you can do this manually. And as I saw, you have to do many things manually to create a standby database per PDB.
    A colleague of mine tested the manual creation of a PDB standby.
    So I wanted to know, if this is also possible with Oracle Enterprise Manager 24ai.

    Before I started, I patched my OEM24ai to the latest RU. In my case RU04. Afterwards I also patched the corresponding agents on my hosts, on which Oracle 23ai is installed.

    I wanted to know, if it is possible to create a PDB standby.

    So, let’s start on the homepage of the CDB and have a look at the menue “Availability”

    Because there is one Data Guard configuration in my CDB, the menue “Data Guard Adminstation” exists.

    What can I do there? Let’s have a look:

    The page is like an Oracle Cloud Infrastructure page and so the actions are to find under the three dots.

    OK. I can do a switchover, failover, apply on and off and I can remove the standby. Nothing else.
    These things were also possible with OEM13c and RDBMS 19c.
    And what I found lacking in the actions was the ability to check the Data Guard configuration, as I can in OEM13c.

    But I originally wanted to create a new PDB standby database, so let’s go back to the homepage and switch to a PDB, which is not in a Data Guard configuration

    Unfortunately there isn’t a menue “Add Standby Databases”, like in OEM13c

    I searched the web, but I did not find anything about creation of a per-PDB standby and OEM24ai.

    So, my conclusion is: It is not possible until now. Unfortunately 🙁
    Hope, this will be a new feature in one of the future Release Updates!

  • I am speaker

    It is both a pleasure and an honor!

    I’ll be giving another presentation at the DOAG Database with Cloud Infrastructure (Hashtag#DOAGDB25)!

    What about? Well, about the OEM, of course!
    But it will be held in German – sorry!

    Curious about the presentation? 😊
    Then come by – join us at Europa-Park Rust.
    Early bird tickets available until April 1st!

    Info:
    https://datenbank.doag.org/en/home/

    Program:
    https://my.doag.org/events/doag-datenbank/2025/agenda/#eventDay.all

    Tickets:
    https://my.doag.org/events/doag-datenbank/shop/


    Hope to see you there!

    Regards

    Birgit

  • Installation of OEM24ai – nothing surprisingly

    As I wrote in my previous blog (https://oemdba.de/are-you-ready-for-the-installation-of-oem24ai), I prepared my lab for the installation of Oracle Enterprise Manager 24ai.

    Additionally I downloaded the plugin for the Oracle Database Appliance, because I wanted to have this during installation.

    So, I started the installation with the following parameters, where -J-Djava.io.tmpdir points to a directory with enouph space and the PLUGIN_LOCATION points to the directory, where the Oracle Database Appliance plugin OPAR-file resides.

    [oracle@oem24ai oem_sw]$ ./em24100_linux64.bin -J-Djava.io.tmpdir=/u03/tmp PLUGIN_LOCATION=/u02/oda_plugin

    After a while the installation started.
    I choosed the “Advanced Install”

    I skipped Software Updates.

    Because I checked the system with the EM Prerequisite Kit, I ignored the warning about ip_local_port_range.

    I filled in the Middleware home, the home of the agent and the hostname.

    Then I got the following warning:

    In my lab, I do not have a full qualified name, so I ignored it.

    Because I started the installer with the parameter PLUGIN_LOCATION, I could choose the Oracle Database Appliance plugin.

    Without the parameter and the OPAR-file, the choice to install the plugin does not appear.

    I just filled in the needed weblogic configuration details

    Then I provided the needed database information. I do not use SSL in my lab, so I leaved all blank

    Then I decided to use the user SYS. You can here provide another username to avoid using SYS for reporitory operations.

    Although I before ran the EM Prerequisite Kit, I got again a warning about the shared_pool_size.
    It should be at least 1024 M, so I changed this in my database.

    SQL> show parameter shared_pool_size
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    shared_pool_size                     big integer 512M
    SQL> alter system set shared_pool_size=1024M;
    
    System altered.
    
    SQL> alter session set container=emrep_pdb;
    
    Session altered.
    
    SQL> show parameter shared_pool_size
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    shared_pool_size                     big integer 512M
    SQL>  alter system set shared_pool_size=1024M;
    
    System altered.

    After changing this parameter in the database, the pre-checks ran fine.

    And again (it happened also with OEM 13.5), Oracle warns about the characterset.
    My database has form the start the needed character set AL32UTF8.

    Why is the character set check not included in the pre-checks? This is unsettling and irritating, because I then checked the character set again in the database anyway.

    SQL> select * from nls_database_parameters where parameter='NLS_CHARACTERSET';
    
    PARAMETER                                          VALUE
    -------------------------------------------------- --------------------------------------------------
    NLS_CHARACTERSET                                   AL32UTF8

    So, everything is fine – but confusing 😉

    Then I provided the needed OEM configuration details

    Path to the Oracle Software Library, remember, if you install two OEMs, this location must be shared on both hosts!

    Then I used the default ports, in this screen you can edit your own ports

    After the port screen, I saw the summary. Do not forget to check it!

    Then the installation started. It took a while…

    As all configuation assistants ran fine, I ran the root-script

    After I confirmed the run of the root-script, the installation was successfully completed

    That’s it!

    I think, in the installation, there were neither a suprise nor something new.
    If all requirements are met, the installation runs fine and without any problem.

    Goog luck!

  • Bug in EM Prerequisite Kit OEM24ai

    Today there was a question in the MOSC about the EM Prerequisite Kit OEM24ai and the errors and warnings that are issued.
    See here: https://community.oracle.com/mosc/discussion/comment/17043737

    The questioner had the problem that the EM Prerequisite Kit was checking the kernel version of the operating system. This is a normal and necessary check. However the Kit found a version 4.x, but the Kit checked for version 5.x.

    Soruce: https://us.v-cdn.net/6032256/uploads/QN1X3LP2NW2Y/image.png

    I tried to help, but could only do so partially.

    My recommendation was to open an SR, because either in the documentation of OEM24ai nor on MOS there was any information about the necessary kernel version.

    In the morning the questioner (thanks to Charles M) had opened an SR at MOS and got the answer, that this is a bug.

    So, if you get the same error, when you use the the EM Prerequisite Kit, you can ignore this error.

    Maybe the same error occurs when you install OEM, because the same checks were made during installation. So, I think you can than ignore that there, too.

    Good luck!

  • Are you ready for the installation of OEM24ai?

    Since OEM24ai is now available, I tried to install in my lab.
    But before I started the whole installation procedure to avoid errors or aborts, I used the EM Prerequisite Kit.
    This tool checks the operation system and also the database, where you want to install the repository.
    EM Prerequisite Kit is very useful to check, if your system is ready to install OEM24ai.

    But how can you use the EM Prerequisite Kit?
    That is easy!
    You only have to have enough space for temp files.
    In the installation guide there is the requirement of 14 GB temp space – that is a lot!
    But don’t panic! You do not need 14 GB as mount point /tmp. You can use a parameter to tell the installer, where to find enough space.

    After you downloaded the installation files from https://edelivery.oracle.com, copied them on the destination server and, please, unzipped all files in the same directory, you can now start the EM Prerequisite Kit.
    In my lab, I installed Oracle Enterrpise Linux 9.4, so please adopt the command properly to your operating system.

    Also in my lab I do not have 14 GB /tmp, so I used the parameter -J-Djava.io.tmpdir.

    If you have used the database template for Enterprise Manager, you can skip the database check, but I recommend that you do it anyway.
    But if you are sure, your database is ready for the installation, you can start the EM Prerequisite Kit with the parameter -componentVariables repository:EXECUTE_CHECKS_NOSEED_DB_FOUND:false

    And by the way, unfortunatly, EM Prerequisite Kit is not supported in silent mode.

    So, let’s start

    [oracle@oem24ai oem_sw]$ ./em24100_linux64.bin -J-Djava.io.tmpdir=/u03/tmp EMPREREQ_KIT=true
    Launcher log file is /u03/tmp/OraInstall2024-12-30_03-38-07PM/launcher2024-12-30_03-38-07PM.log.
    Extracting the installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done
    Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
    Checking swap space: must be greater than 512 MB. Actual 15359 MB Passed
    Checking if this platform requires a 64-bit JVM. Actual 64 Passed (-d64 flag is not required)
    Preparing to launch the Oracle Universal Installer from /u03/tmp/OraInstall2024-12-30_03-38-07PM
    Running EMPREREQ_KIT.

    If you omit the parameter -J-Djava.io.tmpdir and do not have 14 GB or more in /tmp, the installation program aborts or you can then specify a different directory.

    After a while a GUI comes up, so I will show you the screens.

    Because I do not have a running OEM13.5 on my system, I do not get the possibility to choose EM Prerequisite Kit for an upgrade.

    After the first step the operation system is checked.
    On all my OEM installations I saw the following warning – and I always ignored it 😉

    In the next step you have to provide the database information. Remember, if you created the database with the template, you may not need this, and you can involke EM Prerequisite Kit with the parameter
    -componentVariables repository:EXECUTE_CHECKS_NOSEED_DB_FOUND:false

    For example:
    [oracle@oem24ai oem_sw]$ ./em24100_linux64.bin -J-Djava.io.tmpdir=/u03/tmp EMPREREQ_KIT=true -componentVariables repository:EXECUTE_CHECKS_NOSEED_DB_FOUND:false

    Also remember that EM Prerequisite Kit does not correct the warnings and errors. You have to do this manually.

    In the next steps the database is checked, therefor the user SYS is needed. Or you create an SYSMAN_ADMIN user to do the checks (see second option)

    If there are warnings or errors during the database check, please do all the corecction in the CDB and in the PDB.

    I had few warnings – but I forgot to take a screenshot.
    So, I show you now my doings in the database

    SQL> show pdbs
    
        CON_ID CON_NAME                       OPEN MODE  RESTRICTED
    ---------- ------------------------------ ---------- ----------
             2 PDB$SEED                       READ ONLY  NO
             3 EMREP_PDB                      READ WRITE NO
    SQL> show parameter session_cached_cursors
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    session_cached_cursors               integer     50
    
    SQL>  alter system set session_cached_cursors=350 scope=spfile;
    
    System altered.
    
    SQL> show parameter shared_pool_size
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    shared_pool_size                     big integer 0
    
    SQL> alter system set shared_pool_size=512M scope=spfile;
    
    System altered.
    
    SQL> show parameter "_allow_insert_with_update_check"
    SQL> alter system set "_allow_insert_with_update_check"=TRUE scope=spfile;
    
    System altered.
    SQL> alter session set container=emrep_pdb;
    
    Session altered.
    
    SQL> show parameter session_cached_cursors
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    session_cached_cursors               integer     50
    
    SQL>  alter system set session_cached_cursors=350 scope=spfile;
    
    System altered.
    
    SQL> show parameter sga_
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    sga_max_size                         big integer 10G
    sga_min_size                         big integer 0
    sga_target                           big integer 0
    unified_audit_sga_queue_size         integer     1048576
    
    SQL> alter system set sga_target=10G scope=spfile;
    
    System altered.
    
    SQL> show parameter shared_pool_size
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    shared_pool_size                     big integer 0
    
    SQL> alter system set shared_pool_size=512M scope=spfile;
    
    System altered.
    
    SQL>  show parameter "_allow_insert_with_update_check"
    SQL>  alter system set "_allow_insert_with_update_check"=TRUE scope=spfile;
    
    System altered.

    After these changes, I restarted the database and then all checks were successfully

    Although my database has the right character set, EM Prerequisite Kit shows the following information

    If all requirements are met, you can now start the installation.
    Good luck!

  • It’s official – OEM24 is published

    Last week I found by chance the Oracle Enterprise 24ai release 24.1.0.0 for download at edelivery.oracle.com.
    Today OEM24 is also available for download at https://www.oracle.com/enterprise-manager/downloads/

    Here is the official announcement:
    https://community.oracle.com/mosc/discussion/4577713/introducing-oracle-enterprise-manager-24ai

    I’m really looking forward to installing and trying out the new version – I’ll report back!

    Source: https://us.v-cdn.net/6032256/uploads/2N50H6GIIAR6/image.png

  • How to find Weblogic patches for OEM 13.5?

    If you want to patch OEM with the latest release updates, you can find them very easily.
    There are various MOS notes that help you to find the current RU for the OEM.
    The easiest way is to use the MOS note:Enterprise Manager 13.5 Main Release Update List (Includes Plug-ins) (Doc ID 2760230.2)

    But the RU only patches OEM itself, not the agents and not the Weblogic server.
    For the agent there is also the possibility to find the patch on the mentioned note. It is important to patch the agents promptly with the same RU after patching the OEM .

    But where can you quickly and easily find the current PSU for the weblogic server on which OEM is installed?
    There is also a MOS note for this:My Oracle Support Recommended Patches for Oracle WebLogic Server and Oracle Fusion Middleware Products (Doc ID 859115.1)
    It describes how to search for the corresponding PSU.

    Personally, I find that confusing 😉
    In the OEM itself you have the possibility to look for all patches that should still be installed, not only for Weblogic.
    And here I would like to show you how I do this. I find this way easier 😉


    My OEM is in the so-called “offline patching” mode. I download the current catalog (em_catalog.zip) via Setup – Provisioning and Patching – Offline Patching.

    Download the file https://updates.oracle.com/download/em_catalog.zip You should have logged in to MOS beforehand.

    Upload the zip file to the OEM.

    As soon as the associated job (Refresh From My Oracle Support) has run, you can view the recommended patches.

    Find the recommended patches

    In OEM go to “Enterprise – Provisioning and Patching – Patches & Updates”. The page looks very similar to the patch search in MOS. Under the link All Recommendations you will find all patches.

    Depending on which target types are available in the OEM, all recommended patches are listed on the following page, including the one for Weblogic.

    Using the patch number, you can now download and install the corresponding patch from MOS.

    ATTENTION IMPORTANT: Always read the ReadMe

    Good luck!

  • That was the DOAG Conference & Exhibition 2024


    Mughees Minhas from Oracle (linkedin.com/in/mughees-minhas-a3ba30)also gave a presentation there on the OEM “Introducing Enterprise Manager 24c: A Release 3 years in the Making”
    It was interesting to note that 24c is now also 24ai. And this is also what it says on the official Oracle website