AutoUpgrade New Features: Download 26ai Release Update Rather Than Gold Image

Starting with Oracle AI Database 26ai, Oracle delivers fully updated gold images in addition to just the Release Update.

This is very convenient because:

  • It significantly shortens the installation time of a new Oracle home because the Release Update has already been applied.
  • It includes an updated OPatch.
  • It includes an updated OCW component.
  • It includes an updated JDK and Perl installation.

AutoUpgrade downloads the gold image automatically and you get to enjoy the much shorter installation time.

But sometimes you want just the Release Update.

Download Release Update Patch File

  • Here’s my AutoUpgrade config file:

    global.global_log_dir=/home/oracle/autoupgrade/logs
    global.keystore=/home/oracle/autoupgrade/keystore
    global.folder=/home/oracle/autoupgrade/patches
    
    patch1.platform=LINUX.X64
    patch1.target_version=26
    patch1.patch=RU
    patch1.gold_image=no
    
    • I set gold_image=no to tell AutoUpgrade to download the Release Update patch instead of the gold image.
  • I start AutoUpgrade in download mode:

    java -jar autoupgrade.jar -patch -config download.cfg -mode download
    
  • AutoUpgrade locates the latest Release Update and starts the download.

    AutoUpgrade Patching 26.4.260701 launched with default internal options
    Processing config file ...
    Loading AutoUpgrade Patching keystore
    AutoUpgrade Patching keystore is loaded
    
    ------------------------------------------------------
    Downloading files to /home/oracle/autoupgrade/patches
    ------------------------------------------------------
    DATABASE RELEASE UPDATE 23.26.3.0.0
        File: p39578879_230000_Linux-x86-64.zip - VALIDATED
    ------------------------------------------------------
    
  • You can distinguish between the Release Update patch and the gold image by their descriptions:

    • Gold image: DATABASE RELEASE UPDATE 23.26.3.0.0(GOLD IMAGE)
    • Patch file: DATABASE RELEASE UPDATE 23.26.3.0.0

That’s It

Gold images are the fastest way to provision a new Oracle home. But when you need the Release Update patch instead, AutoUpgrade lets you choose.

Happy patching!

7 thoughts on “AutoUpgrade New Features: Download 26ai Release Update Rather Than Gold Image”

  1. For 19c it was not necessary to provide patch1.gold_image=no.

    For 26ai AutoUpgrade failed with a very unclear error message “AP_DISK_SPACE_FOR_PATCHING” when missing to provide patch1.gold_image=no

    Created SR 4-0004080476, which also has the according logs/etc., before I found this blog post.

    So maybe AutoUpgrade could be fixed to give a better error message, when it fails because patch1.gold_image=no is missing.

    Like

  2. Hi,

    with this config:

    global.global_log_dir=/home/user/autoupgrade_downloads/aulogs
    global.keystore=/home/user/autoupgrade_downloads/keystore
    global.folder=/home/user/autoupgrade_downloads/autoupgrade_download_23

    patch1.patch=RU:23.26.4,DPBP,OPATCH
    patch1.target_version=26
    patch1.platform=LINUX.X64
    patch1.gold_image=NO

    I get this, when I want to download RU:

    $ jdk-21/bin/java -jar autoupgrade_26.6.260925.jar -patch -config autoupgrade_download_23.conf -mode download
    AutoUpgrade Patching 26.6.260925 launched with default internal options
    Processing config file ...
    Loading AutoUpgrade Patching keystore
    AutoUpgrade Patching keystore is loaded

    Connected to MOS - Searching for specified patches

    There were conditions found preventing AutoUpgrade Patching from successfully running

    *Downloading files
    Download query failed
    Failed to retrieve ARU release ID needed for download Multiple ARU (Automated Release Update) release IDs were returned ([60000000015492002137, 60000000015492012114]) when only one was expected from the Pattern: ^Oracle Database 23.26.4[\d.]+ DBRU$

    The global_log_dir and folder exist and are empty.

    Like

      1. Hi,

        It’s a known problem that we’re working on fixing.

        Removing the Data Pump bundle patch makes it work. I believe you may be able to fetch the Data Pump bundle patch by it’s patch ID rather than alias. You can find the patch numbers in KB160561.

        Regards,
        Daniel

        Like

Leave a Reply