The Easiest Way to Download Enterprise Manager Patches

Using AutoUpgrade, you can download patches for Oracle Enterprise Manager (OEM). It’s fast and convenient.

Get Those Patches

  1. I use the latest version of AutoUpgrade.

    wget https://download.oracle.com/otn-pub/otn_software/autoupgrade.jar
    
  2. I’ve already stored my MOS credentials in the AutoUpgrade keystore.

  3. I create an AutoUpgrade config file:

    global.global_log_dir=/home/oracle/autoupgrade/logs
    global.keystore=/home/oracle/autoupgrade/keystore
    global.download_folder=/home/oracle/patch-repo
    
    patch1.patch=OEM:24.1
    patch1.target_version=19
    
    patch2.patch=OEM:13.5
    patch2.target_version=19
    
    • I use the OEM keyword to download patches for Oracle Enterprise Manager.
    • I want to get patches for versions 24.1 and 13.5.
  4. I start AutoUpgrade in download mode:

    java -jar autoupgrade.jar -patch \
       -config get-patches.cfg \
       -mode download
    
  5. AutoUpgrade now downloads the patches:

    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 /Users/doverbyh/Downloads/patches
    ------------------------------------------------------
    Oracle Enterprise Manager 24ai Release 1 Update 13 (24.1.0.13) for Oracle Management Service
        File: p39815035_241000_Generic.zip - LOCATED
    
    Oracle Enterprise Manager 24ai Release 1 Holistic Patch for Oracle Management Service - September 2026
        File: p39984254_241000_Generic.zip - LOCATED
    
    Oracle Enterprise Manager 24ai Release 1 Update 13 (24.1.0.13) for Oracle Management Agent
        File: p39815042_241000_Generic.zip - LOCATED
    
    OMSPatcher patch of version 13.9.24.17.0 for Enterprise Manager 24.1.0.0.0
        File: p19999993_241000_Generic.zip - LOCATED
    
    AgentPatcher patch of version 13.9.25.3.0 for Enterprise Manager 24.1.0.0.0
        File: p33355570_241000_Generic.zip - LOCATED
    ------------------------------------------------------
    
    
    ------------------------------------------------------
    Downloading files to /Users/doverbyh/Downloads/patches
    ------------------------------------------------------
    Oracle Enterprise Manager 13c Release 5 Update 34 (13.5.0.34) for Oracle Management Service
        File: p39820104_135000_Generic.zip - LOCATED
    
    Oracle Enterprise Manager 13c Release 5 Holistic Patch for Oracle Management Service - September 2026
        File: p39984261_135000_Generic.zip - LOCATED
    
    Oracle Enterprise Manager 13c Release 5 Update 34 (13.5.0.34) for Oracle Management Agent
        File: p39820108_135000_Generic.zip - LOCATED
    
    OMSPatcher patch of version 13.9.5.27.0 for Enterprise Manager Cloud Control 13.5.0.0.0
        File: p19999993_135000_Generic.zip - LOCATED
    
    AgentPatcher release of version 13.9.5.10.0 for Enterprise Manager Cloud Control Agent 13.5.0.0.0
        File: p33355570_135000_Generic.zip - LOCATED
    ------------------------------------------------------	
    
  6. That’s it. Now I can take those patches and patch OEM. AutoUpgrade can’t help me with that part.

Notes

  • AutoUpgrade downloads the following patches:
    • Oracle Management Service Release Update
    • Oracle Management Service Holistic Patch
    • Oracle Management Agent Release Update
    • OMSPatcher
    • AgentPatcher
  • OEM patches are generic, so there’s no need to specify a platform in the config file.
  • You must also specify target_version in the config file, although AutoUpgrade doesn’t use it for OEM patches.That requirement will be removed in a later version of AutoUpgrade.
  • AutoUpgrade supports OEM versions 13.5 and 24.1. There will be no support for older releases.
  • The patches are quite large. Have at least 15 GB per set of patches.

That’s It

Once again AutoUpgrade proves itself as the trusted aid of the DBA.

This enhancement came directly from customer feedback. What should we add next?

Happy patching!

AutoUpgrade New Features: Update Enterprise Manager Configuration

With the latest version, 24.8, AutoUpgrade can interact with Oracle Enterprise Manager:

  • Blackout the database
  • Modify target configuration

Details

  • AutoUpgrade interacts with Enterprise Manager through the command line interface, EM CLI.
  • In the DRAIN phase, AutoUpgrade creates a blackout of the target. It will also remove the blackout again after the job.
  • The blackout is named blackout_<SID>.
  • AutoUpgrade updates the target configuration in Enterprise Manager to reflect the new Oracle home if the job succeeds.
  • If you restore the job (returning to the pre-upgrade state with Flashback Database), AutoUpgrade restores the original target configuration.

How To

  • Install and configure EM CLI on the database host.

  • Persist the credentials on the database host using the autologin feature.

  • Get the latest version of AutoUpgrade:

    wget https://download.oracle.com/otn-pub/otn_software/autoupgrade.jar
    
  • Specify the path to EM CLI in the AutoUpgrade config file:

    upg1.emcli_path=/u01/app/oracle/oem
    
  • Specify the target name from Enterprise Manager:

    upg1.em_target_name=ORCL_myhost.domain.int
    

Happy Upgrading

You can use the functionality when you patch and upgrade your Oracle Database.

If you use Oracle Enterprise Manager, AutoUpgrade can handle even more tasks in your runbook.

What are the next tasks that AutoUpgrade should do for you? Leave a comment, and we’ll consider it.