OraDb11204_home3). The number at the end of the name is incremented by one
for each new home created with the same version number.
•
On Oracle Database Appliance hardware models, the minimum supported Oracle
Database release is 11.2.0.4. Oracle Database 11.2.0.3.x is not supported.
•
When you upgrade the database, infrastructure, and Oracle Grid Infrastructure,
you must specify an existing home to create a new database.
•
If you try to create a database using the option -version version before
downloading and unpacking the specific version database clone files, then the
command will fail.
•
You can create configuration files with the oakcli create db_config_params
command.
•
The prompt "Do you want to keep the data files on FLASH storage: [ Y | N ] " is
only shown if you choose the OLTP database type and if there is some free space
available on flash storage.
•
Beginning with Oracle Database 12c release 1 (12.1.0.2), you can create an
Oracle Database in Oracle ASM. Oracle ASM is the default storage.
Examples
This section shows different scenarios for using the command oakcli create
database.
Example 14-2
Creating a New Database Showing Prompts
When you run the command oakcli create database, you are prompted for several
inputs.
The following command creates a database named mydb using an existing Oracle
home named OraDb12102_home1:
# oakcli create database -db DBPROD
INFO: 2017-07-25 19:21:16: Please check the logfile
'/opt/oracle/oak/log/ODADBI1/tools/12.2.1.1.0/createdb_DBPROD_29285.log'
for more details
INFO: 2017-07-25 19:21:24: Database parameter file is not provided.
Will be using default parameters for DB creation
Please enter the 'SYSASM' password:
Please re-enter the 'SYSASM' password:
INFO: 2017-07-25 19:21:35: Installing a new Home : OraDb12102_home2 at
/u01/app/oracle/product/12.1.0.2/dbhome_2
Please select one of the following for Database type [1 .. 3] :
1
=> OLTP
2
=> DSS
3
=> In-Memory
1
The selected value is : OLTP
1 => EE : Enterprise Edition
2 => RACONE
Chapter 14
oakcli create commands
14-16