AutoUpgrade : Download and Install Oracle Database Software
This article describes how to download and install Oracle software using AutoUpgrade, including software patches.
oracle miscconfigurationintermediate
by OracleDba
14 views
This article describes how to download and install Oracle software using AutoUpgrade, including software patches.
1
# dnf install -y java-11-openjdk12345678910111213141516171819202122232425262728293031323334353637
mkdir -p /u01/autoupgrade
cd /u01/autoupgrade
wget https://download.oracle.com/otn-pub/otn_software/autoupgrade.jar
mkdir keystore
cat > keystore.cfg <<EOF
global.global_log_dir=/u01/autoupgrade/logs
global.keystore=/u01/autoupgrade/keystore
EOF
$ java -jar ./autoupgrade.jar -config ./keystore.cfg -patch -load_password
Processing config file ...
Starting AutoUpgrade Patching Password Loader - Type help for available options
Creating new AutoUpgrade Patching keystore - Password required
Enter password:
Enter password again:
AutoUpgrade Patching keystore was successfully created
MOS>
MOS> add -user [email protected]
Enter your secret/Password:
Re-enter your secret/Password:
MOS>
MOS> exit
Save the AutoUpgrade Patching keystore before exiting [YES|NO] ? YES
Convert the AutoUpgrade Patching keystore to auto-login [YES|NO] ? YES
AutoUpgrade Patching Password Loader finished - Exiting AutoUpgrade Patching
$
$ ls keystore
cwallet.sso cwallet.sso.lck ewallet.p12 ewallet.p12.lck
$12345678910111213141516171819202122232425262728293031323334353637383940414243444546
mkdir -p /u01/software
mkdir -p /u01/app/oracle/product/26.0.0/db_home1
global.global_log_dir=/u01/autoupgrade/logs
global.keystore=/u01/autoupgrade/keystore
install1.patch=RU,OPATCH,DPBP
install1.folder=/u01/software
install1.target_home=/u01/app/oracle/product/26.0.0/db_home1
install1.home_settings.oracle_base=/u01/app/oracle
install1.home_settings.edition=EE
install1.home_settings.inventory_location=/u01/app/oraInventory
install1.target_version=26
install1.download=yes
$ java -jar autoupgrade.jar -config oracle26.cfg -patch -mode download
AutoUpgrade Patching 26.2.260205 launched with default internal options
Processing config file ...
Loading AutoUpgrade Patching keystore
AutoUpgrade Patching keystore is loaded
Connected to MOS - Searching for specified patches
----------------------------------
Downloading files to /u01/software
----------------------------------
DATABASE RELEASE UPDATE 23.26.1.0.0 (GOLD IMAGE)
File: p38743961_230000_Linux-x86-64.zip - VALIDATED
OPatch 12.2.0.1.49 for DB 23.0.0.0.0 (Jan 2026)
File: p6880880_230000_Linux-x86-64.zip - VALIDATED
DATAPUMP BUNDLE PATCH 23.26.1.0.0
File: p38842609_2326100DBRU_Generic.zip - VALIDATED
----------------------------------
$
$ ls -al /u01/software
total 2376512
drwxr-xr-x. 2 oracle oinstall 153 Feb 11 08:50 .
drwxr-xr-x. 5 oracle oinstall 52 Feb 11 08:20 ..
-rw-r--r--. 1 oracle oinstall 2406029980 Feb 11 08:27 p38743961_230000_Linux-x86-64.zip
-rw-r--r--. 1 oracle oinstall 2247142 Feb 11 08:27 p38842609_2326100DBRU_Generic.zip
-rw-r--r--. 1 oracle oinstall 25263282 Feb 11 08:27 p6880880_230000_Linux-x86-64.zip
-rw-r--r--. 1 oracle oinstall 1421 Feb 11 08:27 patches_info.json
$12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
$ java -jar autoupgrade.jar -config oracle26.cfg -patch -mode create_home
AutoUpgrade Patching 26.2.260205 launched with default internal options
Processing config file ...
Loading AutoUpgrade Patching keystore
AutoUpgrade Patching keystore is loaded
+-----------------------------------------+
| Starting AutoUpgrade Patching execution |
+-----------------------------------------+
Type 'help' to list console commands
patch> Job 100 completed
------------------- Final Summary --------------------
Number of databases [ 1 ]
Jobs finished [1]
Jobs failed [0]
Jobs restored [0]
Jobs pending [0]
# Run the root.sh script as root for the following jobs:
For create_home_1 -> /u01/app/oracle/product/26.0.0/db_home1/root.sh
Please check the summary report at:
/u01/autoupgrade/logs/cfgtoollogs/patch/auto/status/status.html
/u01/autoupgrade/logs/cfgtoollogs/patch/auto/status/status.log
$
# /u01/app/oracle/product/26.0.0/db_home1/root.sh
==========================================
AutoUpgrade Patching Summary Report
==========================================
[Date] Wed Feb 11 08:51:19 UTC 2026
[Number of Jobs] 1
==========================================
[Job ID] 100
==========================================
[DB Name] create_home_1
[Version Before AutoUpgrade Patching] 23.0.0.0.0
[Version After AutoUpgrade Patching] 23.26.1.0.0
------------------------------------------
[Stage Name] PENDING
[Status] SUCCESS
[Start Time] 2026-02-11 08:48:58
[Duration] 0:00:00
[Log Directory] /u01/autoupgrade/logs/create_home_1/100/pending
------------------------------------------
[Stage Name] PREACTIONS
[Status] SUCCESS
[Start Time] 2026-02-11 08:48:58
[Duration] 0:00:00
[Log Directory] /u01/autoupgrade/logs/create_home_1/100/preaction
------------------------------------------
[Stage Name] EXTRACT
[Status] SUCCESS
[Start Time] 2026-02-11 08:48:58
[Duration] 0:00:32
[Log Directory] /u01/autoupgrade/logs/create_home_1/100/extract
------------------------------------------
[Stage Name] DBTOOLS
[Status] SUCCESS
[Start Time] 2026-02-11 08:49:31
[Duration] 0:00:00
[Log Directory] /u01/autoupgrade/logs/create_home_1/100/dbtools
------------------------------------------
[Stage Name] INSTALL
[Status] SUCCESS
[Start Time] 2026-02-11 08:49:31
[Duration] 0:01:28
[Log Directory] /u01/autoupgrade/logs/create_home_1/100/install
------------------------------------------
[Stage Name] OH_PATCHING
[Status] SUCCESS
[Start Time] 2026-02-11 08:50:59
[Duration] 0:00:19
[Log Directory] /u01/autoupgrade/logs/create_home_1/100/opatch
------------------------------------------
[Stage Name] OPTIONS
[Status] SUCCESS
[Start Time] 2026-02-11 08:51:19
[Duration] 0:00:00
[Log Directory] /u01/autoupgrade/logs/create_home_1/100/options
------------------------------------------
[Stage Name] ROOTSH
[Status] SUCCESS
[Start Time] 2026-02-11 08:51:19
[Duration] 0:00:00
[Log Directory] /u01/autoupgrade/logs/create_home_1/100/rootsh
------------------------------------------
[Stage Name] POSTACTIONS
[Status] SUCCESS
[Start Time] 2026-02-11 08:51:19
[Duration] 0:00:00
[Log Directory] /u01/autoupgrade/logs/create_home_1/100/postaction
------------------------------------------Please to add comments
No comments yet. Be the first to comment!