Usage Notes
You have the following options for defining the databases to upgrade:
•
When you define a single database ID, only the database of the source database
home is upgraded.
•
When you define more than one database ID, only those databases of the source
database home are upgraded.
•
When you do not define a database ID, all of the databases under the source
database home are upgraded.
You can upgrade databases of the following releases:
•
Oracle Database 12.2 to 18c
•
Oracle Database 12.1 to 18c
•
Oracle Database 11c to 18c
•
Oracle Database 12.1 to 12.2
•
Oracle Database 11c to 12.2
•
Oracle Database 11c to 12.1
Example 13-63
Upgrading an Oracle Database
In this example, a single database is upgraded. Use the command odacli list-
databases to display the database ID, then use the command odacli upgrade-
databases to upgrade the 11.2.0.4 database. After the upgrade is complete, you can
run the command odacli list-databases again to verify the upgrade.
# odacli list-databases
ID
------------------------------------
ad6c7326-e460-411e-94df-230dedbef743
fb4d02f3-2413-47ca-8584-a768e23ec2e7
(Continued)
Class
Shape
Storage Status
------ ------- -------- ----------
OLTP
odb1
ACFS
IMDB
odb1
ASM
# odacli upgrade-database -i ad6c7326-e460-411e-94df-230dedbef743 -from fa4321f5-0543-477d-
bb54-a429dcc8ee8d -to d752df28-ecdd-4af4-9454-38085ea17f8b
{
"jobId" : "1bbe8boe-acb0-4296--9c8b-473b69da0c18",
"status" : "Created",
"message" : null,
"reports" : [ ],
"createTimestamp" : "October 24, 2017 03:54:03 AM EDT",
"description" : "Database service upgrade with db ids: [ad6c7326-
e460-411e-94df-230dedbef743]",
"updatedTime" : "October 24, 2017 03:54:03 AM EDT"
}
# odacli list-databases
ID
------------------------------------
ad6c7326-e460-411e-94df-230dedbef743
DB Name
DB Version CDB
---------- ---------- ----
rdb121a
11.2.0.4
ee12db
12.1.0.2
Configured
Configured
DB Name
DB Version CDB
---------- ---------- ----
rdb121a
12.1.0.2
Chapter 13
odacli Database Commands
true
false
true
13-68
Need help?
Do you have a question about the X6-2-HA and is the answer not in the manual?