Example 13-66 Displaying Oracle Database Home Details
The following output is an example of using the display Oracle Database Home details
command:
# odacli describe-dbhome -i b727bf80-c99e-4846-ac1f-28a81a725df6
DB Home details
----------------------------------------------------------------
ID: b727bf80-c99e-4846-ac1f-28a81a725df6
Name: OraDB12102_home1
Version: 12.1.0.2
Home Location: /u01/app/orauser/product/12.1.0.2/dbhome_1
Created: Jun 2, 2016 10:19:23 AM
odacli create-dbhome
Use the odacli create-dbhome command to create an Oracle Database Home.
File Path
$ORACLE_HOME/opt/oracle/dcs/bin/odacli
Syntax
To create an Oracle Database Home:
odacli create-dbhome -v version [-j] [-h]
Parameters
Parameter Description
-v version number
Defines the database bundle patch number.
--json
,
-j
(Optional) Displays JSON output.
--help
,
-h
(Optional) Displays help for using the command.
Usage Notes
For the version number, you can specify the database version, either 12.2.0.1,
12.1.0.2 or 11.2.0.4, or you can use a 5 digit format to specify a specific patch bundle
version. For example, 12.1.0.2.161018. If you use the database version without
specifying the bundle patch number, then the latest bundle patch is used.
The following values are supported:
• 12.2.0.1
• 12.2.0.1.170814
• 12.1.0.2
• 12.1.0.2.170718
• 12.1.0.2.170418
Chapter 13
odacli DBHome Commands
13-72