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=noto tell AutoUpgrade to download the Release Update patch instead of the gold image.
- I set
-
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
- Gold image:
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!
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.
LikeLike
Thanks for creating the SR and letting us know. We’ll take a look.
Regards,
Daniel
LikeLiked by 1 person
Hi,
with this config:
global.global_log_dir=/home/user/autoupgrade_downloads/aulogsglobal.keystore=/home/user/autoupgrade_downloads/keystore
global.folder=/home/user/autoupgrade_downloads/autoupgrade_download_23
patch1.patch=RU:23.26.4,DPBP,OPATCHpatch1.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 downloadAutoUpgrade 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 patchesThere were conditions found preventing AutoUpgrade Patching from successfully running*Downloading filesDownload 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.
LikeLike
hm, when I remove DPBP from the patch1.patch line, than it works…
LikeLike
with RU 23.26.3 (patch1.patch=RU:23.26.3,DPBP,OPATCH) it works when I have DPBP in the patch1.patch line…
LikeLike
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
LikeLike
will try, thanks :-)
LikeLike