![Oracle Database Appliance X6-2-HA Deployment And User'S Manual Download Page 394](http://html1.mh-extra.com/html/oracle/database-appliance-x6-2-ha/database-appliance-x6-2-ha_deployment-and-users-manual_1646047394.webp)
oakcli upgrade
Use the
oakcli upgrade
command to upgrade the Oracle Database software on
Oracle Database Appliance.
For patching Oracle Database Appliance itself, use the
oakcli update
command.
Syntax
oakcli upgrade database [-db db_names | -from source_home] -to destination_home
Parameters
Parameter
Description
-db db_names
Specifies the name or names (in a comma-delimited list) of the
database or databases you want to upgrade
-from source_home
Specifies the current Oracle Database home of the databases
you are upgrading
-to destination_home
Specifies the Oracle Database home containing the version to
which you want to upgrade the databases
-h
(Optional) Display help for using the command.
Usage Notes
•
You must include either a
-db
parameter or a
-from
parameter.
•
Running the command with a
-db
parameter upgrades only the named databases,
regardless of their current Oracle Database homes. If you include a
-from
parameter in addition to a
-db
parameter, then the command ignores the
-from
parameter. That is, the command upgrades named databases from other homes
and ignores the databases in the named home if they are not listed in the
-db
parameter.
•
Running the command without a
-db
parameter will upgrade all of the databases
in the named Oracle Database home.
•
You must always provide a
-to
parameter that names an existing Oracle
Database home.
Example
Upgrade an Oracle 11.2.0.3.1 database named
tpcc
from Oracle Database 11.2.0.3.1
to Oracle Database 12.1.0.2 using the Oracle Database home directory
OraDb12102_home1
:
oakcli upgrade database -db tpcc -to OraDb12102_home1
Chapter 14
oakcli upgrade
14-59
Summary of Contents for Database Appliance X6-2-HA
Page 15: ...Index xv...