Database Creation using dbca in Silent Mode Using Response file
Manual Database Creation in Silent Mode using Response File
Reference doc:
Database Configuration Assistant (DBCA) : Creating Databases in Silent Mode
1. Response File
Sample response file (dbca.rsp) can be found under $ORACLE_HOME/assistants/dbca/
cd $ORACLE_HOME/assistants/dbca/
ls -l dbca.rsp
ls -ld $ORACLE_HOME/assistants/dbca/dbca.rsp
#12c1 and prior:
dbca -silent -responseFile ./dbca.rsp
#12c2 and later:
dbca -silent -createDatabase -responseFile ./dbca.rsp
cd /u01/app/oracle/product/12.2.0.1/dbhome_1/bin
./dbca -silent -responseFile /home/oracle/dbca_DEV_12.2.0.1.rsp
cd /u01/app/oracle/product/19.0.0.0/dbhome_1/bin/
./dbca -silent -createDatabase -responseFile /home/oracle/dbca_DEVCDB_19.3.0.0.rsp
#Command Line
Non-CDB:
$./dbca -silent -createDatabase \
-templateName General_Purpose.dbc \
-gdbname TEST -sid TEST -responseFile NO_VALUE \
-characterSet AL32UTF8 \
-sysPassword Mallik123 \
-systemPassword Mallik123 \
-databaseType MULTIPURPOSE \
-memoryMgmtType auto_sga \
-totalMemory 1536 \
-storageType FS \
-datafileDestination “/u01/app/oracle/oradata/” \
-redoLogFileSize 50 \
-emConfiguration NONE \
-ignorePreReqs
CDB:
$./dbca -silent -createDatabase \
-templateName General_Purpose.dbc \
-gdbname TESTCDB -sid TESTCDB -responseFile NO_VALUE \
-characterSet AL32UTF8 \
-sysPassword Mallik123 \
-systemPassword Mallik123 \
-createAsContainerDatabase true \
-numberOfPDBs 1 \
-pdbName PDB1 \
-pdbAdminPassword Mallik123 \
-databaseType MULTIPURPOSE \
-memoryMgmtType auto_sga \
-totalMemory 1536 \
-storageType FS \
-datafileDestination “/u01/app/oracle/oradata/” \
-redoLogFileSize 50 \
-emConfiguration NONE \
-ignorePreReqs
#Oracle Managed Files (OMF) in 18c (-useOMF)
$./dbca -silent -createDatabase \
-templateName General_Purpose.dbc \
-gdbname CDB -sid CDB -responseFile NO_VALUE \
-characterSet AL32UTF8 \
-sysPassword Mallik123 \
-systemPassword Mallik123 \
-createAsContainerDatabase true \
-numberOfPDBs 1 \
-pdbName PDB1 \
-pdbAdminPassword Mallik123 \
-databaseType MULTIPURPOSE \
-memoryMgmtType auto_sga \
-totalMemory 1536 \
-storageType FS \
-datafileDestination “/u01/app/oracle/oradata/” \
-useOMF true \
-redoLogFileSize 50 \
-emConfiguration NONE \
-ignorePreReqs
#19c DEVDB (Non-CDB) create inside ASM diskgroup:
cd /u01/app/oracle/product/19.0.0.0/dbhome_1/bin/
./dbca -silent -createDatabase -responseFile /home/oracle/dbca_DEVDB_ASM.rsp
#19c TESTCDB (CDB) create inside ASM diskgroup:
cd /u01/app/oracle/product/19.0.0.0/dbhome_1/bin/
./dbca -silent -createDatabase -responseFile /home/oracle/dbca_TESTCDB_ASM.rsp
#delete database
$./dbca -silent -deleteDatabase -sourceDB <DB_NAME> -sysDBAUserName sys -sysDBAPassword Mallik123
Logs:
./dbca -silent -responseFile /home/oracle/dbca_DEV_12.2.0.1.rsp
[oracle@oraclelab1 ~]$ cd /u01/app/oracle/product/12.2.0.1/dbhome_1/bin
[oracle@oraclelab1 bin]$ ./dbca -silent -responseFile /home/oracle/dbca_DEV_12.2.0.1.rsp
[INS-04008] Invalid combination of arguments passed from command line. One or more mandatory dependent arguments are not passed for the argument: -silent
Usage: dbca [<flag>] [<command> <option>]
Following are the possible flags:
-help
-contextId <RAC | SI>
-ignorePreReqs – Ignore prerequisite checks for current operation.
-ignorePrereqFailure – Ignore all prerequisites failures.
-silent – This flag allows you to carry on configuration in silent mode.
-<command>
Following are the possible commands:
-addInstance – Command to Add an instance to an admin managed cluster database.
-configureDatabase – Command to Configure a database.
-configurePluggableDatabase – Command to Configure a pluggable database.
-createCloneTemplate – Command to Create a clone template from an existing database.
-createDatabase – Command to Create a database.
-createDuplicateDB – Command to Duplicate a database.
-createPluggableDatabase – Command to Create a pluggable database.
-createTemplateFromDB – Command to Create a template from an existing database.
-deleteDatabase – Command to Delete a database.
-deleteInstance – Command to Delete an instance from an admin managed cluster database.
-deletePluggableDatabase – Command to Delete a pluggable database.
-executePrereqs – Command to execute prerequisite checks.
-generateScripts – Command to Generate scripts which can be used to create database.
-unplugDatabase – Command to Unplug a pluggable database.
[oracle@oraclelab1 bin]$
Oracle Support:
INS-04008 DBCA With Silent And Responsefile Doesn’t Work (Doc ID 2270482.1)
./dbca -silent -createDatabase -responseFile /home/oracle/dbca_DEV_12.2.0.1.rsp
[oracle@oraclelab1 bin]$ ./dbca -silent -createDatabase -responseFile /home/oracle/dbca_DEV_12.2.0.1.rsp
Enter SYS user password:
Enter SYSTEM user password:
Copying database files
1% complete
2% complete
18% complete
33% complete
Creating and starting Oracle instance
35% complete
40% complete
44% complete
49% complete
50% complete
53% complete
55% complete
Completing Database Creation
56% complete
57% complete
58% complete
62% complete
65% complete
66% complete
Executing Post Configuration Actions
100% complete
Look at the log file “/u01/app/oracle/cfgtoollogs/dbca/DEV/DEV.log” for further details.
[oracle@oraclelab1 bin]$
[oracle@oraclelab1 bin]$ cd /u01/app/oracle/product/12.2.0.1/dbhome_1/bin
[oracle@oraclelab1 bin]$ ./dbca -silent -createDatabase \
> -templateName General_Purpose.dbc \
> -gdbname TEST -sid TEST -responseFile NO_VALUE \
> -characterSet AL32UTF8 \
> -sysPassword Mallik123 \
> -systemPassword Mallik123 \
> -databaseType MULTIPURPOSE \
> -memoryMgmtType auto_sga \
> -totalMemory 1536 \
> -storageType FS \
> -datafileDestination “/u01/app/oracle/oradata/” \
> -redoLogFileSize 50 \
> -emConfiguration NONE \
> -ignorePreReqs
Copying database files
1% complete
2% complete
18% complete
33% complete
Creating and starting Oracle instance
35% complete
40% complete
44% complete
49% complete
50% complete
53% complete
55% complete
Completing Database Creation
56% complete
57% complete
58% complete
62% complete
65% complete
66% complete
Executing Post Configuration Actions
100% complete
Look at the log file “/u01/app/oracle/cfgtoollogs/dbca/TEST/TEST.log” for further details.
[oracle@oraclelab1 bin]$
[oracle@oraclelab1 ~]$ cd /u01/app/oracle/product/19.0.0.0/dbhome_1/bin/
[oracle@oraclelab1 bin]$ ./dbca -silent -createDatabase -responseFile /home/oracle/dbca_DEVCDB.rsp
Enter SYS user password:
Enter SYSTEM user password:
Enter PDBADMIN User Password:
Prepare for db operation
8% complete
Copying database files
31% complete
Creating and starting Oracle instance
32% complete
36% complete
40% complete
43% complete
46% complete
Completing Database Creation
51% complete
53% complete
54% complete
Creating Pluggable Databases
58% complete
77% complete
Executing Post Configuration Actions
100% complete
Database creation complete. For details check the logfiles at:
/u01/app/oracle/cfgtoollogs/dbca/DEVCDB.
Database Information:
Global Database Name:DEVCDB
System Identifier(SID):DEVCDB
Look at the log file “/u01/app/oracle/cfgtoollogs/dbca/DEVCDB/DEVCDB.log” for further details.
[oracle@oraclelab1 bin]$
[oracle@oraclelab1 ~]$ cd /u01/app/oracle/product/19.0.0.0/dbhome_1/bin/
[oracle@oraclelab1 ~]$./dbca -silent -createDatabase \
> -templateName General_Purpose.dbc \
> -gdbname TESTCDB -sid TESTCDB -responseFile NO_VALUE \
> -characterSet AL32UTF8 \
> -sysPassword Mallik123 \
> -systemPassword Mallik123 \
> -createAsContainerDatabase true \
> -numberOfPDBs 1 \
> -pdbName PDB1 \
> -pdbAdminPassword Mallik123 \
> -databaseType MULTIPURPOSE \
> -memoryMgmtType auto_sga \
> -totalMemory 1536 \
> -storageType FS \
> -datafileDestination “/u01/app/oracle/oradata/” \
> -redoLogFileSize 50 \
> -emConfiguration NONE \
> -ignorePreReqs
Prepare for db operation
8% complete
Copying database files
31% complete
Creating and starting Oracle instance
32% complete
36% complete
40% complete
43% complete
46% complete
Completing Database Creation
51% complete
53% complete
54% complete
Creating Pluggable Databases
58% complete
77% complete
Executing Post Configuration Actions
100% complete
Database creation complete. For details check the logfiles at:
/u01/app/oracle/cfgtoollogs/dbca/TESTCDB.
Database Information:
Global Database Name:TESTCDB
System Identifier(SID):TESTCDB
Look at the log file “/u01/app/oracle/cfgtoollogs/dbca/TESTCDB/TESTCDB.log” for further details.
[oracle@oraclelab1 bin]$
Output DEV:
[oracle@oraclelab1 ~]$ . oraenv
ORACLE_SID = [TEST] ? DEV
The Oracle base remains unchanged with value /u01/app/oracle
[oracle@oraclelab1 ~]$ sqlplus / as sysdba
SQL*Plus: Release 12.2.0.1.0 Production on Tue Aug 23 02:49:47 2022
Copyright (c) 1982, 2016, Oracle. All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 – 64bit Production
SQL> select name from v$datafile;
NAME
——————————————————————————–
/u01/app/oracle/oradata/DEV/datafile/o1_mf_system_kj7vkr78_.dbf
/u01/app/oracle/oradata/DEV/datafile/o1_mf_sysaux_kj7vm5cp_.dbf
/u01/app/oracle/oradata/DEV/datafile/o1_mf_undotbs1_kj7vmyh2_.dbf
/u01/app/oracle/oradata/DEV/datafile/o1_mf_users_kj7vmzkd_.dbf
SQL> select name from v$controlfile;
NAME
——————————————————————————–
/u01/app/oracle/oradata/DEV/controlfile/o1_mf_kj7vnyh0_.ctl
/u01/app/oracle/fast_recovery_area/DEV/DEV/controlfile/o1_mf_kj7vnyk0_.ctl
SQL> select member from v$logfile;
MEMBER
——————————————————————————–
/u01/app/oracle/oradata/DEV/onlinelog/o1_mf_3_kj7vo0tt_.log
/u01/app/oracle/fast_recovery_area/DEV/DEV/onlinelog/o1_mf_3_kj7vo2c2_.log
/u01/app/oracle/oradata/DEV/onlinelog/o1_mf_2_kj7vo0st_.log
/u01/app/oracle/fast_recovery_area/DEV/DEV/onlinelog/o1_mf_2_kj7vo29r_.log
/u01/app/oracle/oradata/DEV/onlinelog/o1_mf_1_kj7vo0rp_.log
/u01/app/oracle/fast_recovery_area/DEV/DEV/onlinelog/o1_mf_1_kj7vo2b3_.log
6 rows selected.
SQL> exit
Disconnected from Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 – 64bit Production
[oracle@oraclelab1 ~]$
Output TEST:
[oracle@oraclelab1 ~]$ . oraenv
ORACLE_SID = [DEV] ? TEST
The Oracle base remains unchanged with value /u01/app/oracle
[oracle@oraclelab1 ~]$ sqlplus / as sysdba
SQL*Plus: Release 12.2.0.1.0 Production on Tue Aug 23 02:51:13 2022
Copyright (c) 1982, 2016, Oracle. All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 – 64bit Production
SQL> select name from v$datafile;
NAME
——————————————————————————–
/u01/app/oracle/oradata/TEST/system01.dbf
/u01/app/oracle/oradata/TEST/sysaux01.dbf
/u01/app/oracle/oradata/TEST/undotbs01.dbf
/u01/app/oracle/oradata/TEST/users01.dbf
SQL> select name from v$controlfile;
NAME
——————————————————————————–
/u01/app/oracle/oradata/TEST/control01.ctl
/u01/app/oracle/oradata/TEST/control02.ctl
SQL> select member from v$logfile;
MEMBER
——————————————————————————–
/u01/app/oracle/oradata/TEST/redo03.log
/u01/app/oracle/oradata/TEST/redo02.log
/u01/app/oracle/oradata/TEST/redo01.log
SQL> exit
Disconnected from Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 – 64bit Production
[oracle@oraclelab1 ~]$
Output DEVCDB:
[oracle@oraclelab1 ~]$ . oraenv
ORACLE_SID = [oracle] ? DEVCDB
The Oracle base has been set to /u01/app/oracle
[oracle@oraclelab1 ~]$ sqlplus / as sysdba
SQL*Plus: Release 19.0.0.0.0 – Production on Tue Aug 23 03:25:08 2022
Version 19.14.0.0.0
Copyright (c) 1982, 2021, Oracle. All rights reserved.
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 – Production
Version 19.14.0.0.0
SQL> select name from v$database;
NAME
———
DEVCDB
SQL> show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED
———- —————————— ———- ———-
2 PDB$SEED READ ONLY NO
3 DEVPDB READ WRITE NO
SQL> select name from v$datafile;
NAME
——————————————————————————–
/u01/app/oracle/oradata/DEVCDB/datafile/o1_mf_system_kj7xfmsy_.dbf
/u01/app/oracle/oradata/DEVCDB/datafile/o1_mf_sysaux_kj7xh0xq_.dbf
/u01/app/oracle/oradata/DEVCDB/datafile/o1_mf_undotbs1_kj7xht27_.dbf
/u01/app/oracle/oradata/DEVCDB/datafile/o1_mf_system_kj7y0mom_.dbf
/u01/app/oracle/oradata/DEVCDB/datafile/o1_mf_sysaux_kj7y0mop_.dbf
/u01/app/oracle/oradata/DEVCDB/datafile/o1_mf_users_kj7xhv4m_.dbf
/u01/app/oracle/oradata/DEVCDB/datafile/o1_mf_undotbs1_kj7y0mos_.dbf
/u01/app/oracle/oradata/DEVCDB/E6DC77DBFCD86669E053B404260A1B9C/datafile/o1_mf_system_kj7yogtp_.dbf
/u01/app/oracle/oradata/DEVCDB/E6DC77DBFCD86669E053B404260A1B9C/datafile/o1_mf_sysaux_kj7yogtz_.dbf
/u01/app/oracle/oradata/DEVCDB/E6DC77DBFCD86669E053B404260A1B9C/datafile/o1_mf_undotbs1_kj7yogv0_.dbf
/u01/app/oracle/oradata/DEVCDB/E6DC77DBFCD86669E053B404260A1B9C/datafile/o1_mf_users_kj7yosgb_.dbf
11 rows selected.
SQL> select name from v$controlfile;
NAME
——————————————————————————–
/u01/app/oracle/oradata/DEVCDB/controlfile/o1_mf_kj7xjxso_.ctl
/u01/app/oracle/fast_recovery_area/DEVCDB/controlfile/o1_mf_kj7xjxw3_.ctl
SQL> select member from v$logfile;
MEMBER
——————————————————————————–
/u01/app/oracle/oradata/DEVCDB/onlinelog/o1_mf_3_kj7xk06v_.log
/u01/app/oracle/fast_recovery_area/DEVCDB/onlinelog/o1_mf_3_kj7xk162_.log
/u01/app/oracle/oradata/DEVCDB/onlinelog/o1_mf_2_kj7xk05o_.log
/u01/app/oracle/fast_recovery_area/DEVCDB/onlinelog/o1_mf_2_kj7xk15s_.log
/u01/app/oracle/oradata/DEVCDB/onlinelog/o1_mf_1_kj7xk04p_.log
/u01/app/oracle/fast_recovery_area/DEVCDB/onlinelog/o1_mf_1_kj7xk15k_.log
6 rows selected.
SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 – Production
Version 19.14.0.0.0
[oracle@oraclelab1 ~]$
[oracle@oraclelab2 ~]$ cd /u01/app/oracle/product/19.0.0.0/dbhome_1/bin/
[oracle@oraclelab2 bin]$ ./dbca -silent -createDatabase -responseFile /home/oracle/dbca_DEVDB_ASM.rsp
Enter SYS user password:
Enter SYSTEM user password:
Prepare for db operation
10% complete
Registering database with Oracle Restart
14% complete
Copying database files
43% complete
Creating and starting Oracle instance
45% complete
49% complete
53% complete
56% complete
62% complete
Completing Database Creation
68% complete
70% complete
71% complete
Executing Post Configuration Actions
100% complete
Database creation complete. For details check the logfiles at:
/u01/app/oracle/cfgtoollogs/dbca/DEVDB.
Database Information:
Global Database Name:DEVDB
System Identifier(SID):DEVDB
Look at the log file “/u01/app/oracle/cfgtoollogs/dbca/DEVDB/DEVDB.log” for further details.
[oracle@oraclelab2 bin]$ . oraenv
ORACLE_SID = [TESTCDB] ? DEVDB
The Oracle base remains unchanged with value /u01/app/oracle
[oracle@oraclelab2 bin]$ sqlplus / as sysdba
SQL*Plus: Release 19.0.0.0.0 – Production on Wed Aug 24 01:38:10 2022
Version 19.14.0.0.0
Copyright (c) 1982, 2021, Oracle. All rights reserved.
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 – Production
Version 19.14.0.0.0
SQL> select name from v$database;
NAME
———
DEVDB
SQL> show pdbs
SQL> select name from v$datafile;
NAME
——————————————————————————–
+DATA/DEVDB/DATAFILE/system.290.1113528283
+DATA/DEVDB/DATAFILE/sysaux.291.1113528317
+DATA/DEVDB/DATAFILE/undotbs1.292.1113528343
+DATA/DEVDB/DATAFILE/users.293.1113528343
SQL> select name from v$controlfile;
NAME
——————————————————————————–
+DATA/DEVDB/CONTROLFILE/current.294.1113528391
+RECO/DEVDB/CONTROLFILE/current.308.1113528391
SQL> select member from v$logfile;
MEMBER
——————————————————————————–
+DATA/DEVDB/ONLINELOG/group_3.297.1113528393
+RECO/DEVDB/ONLINELOG/group_3.300.1113528395
+DATA/DEVDB/ONLINELOG/group_2.296.1113528393
+RECO/DEVDB/ONLINELOG/group_2.271.1113528395
+DATA/DEVDB/ONLINELOG/group_1.295.1113528393
+RECO/DEVDB/ONLINELOG/group_1.304.1113528395
6 rows selected.
SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 – Production
Version 19.14.0.0.0
[oracle@oraclelab2 bin]$
[oracle@oraclelab2 ~]$ cd /u01/app/oracle/product/19.0.0.0/dbhome_1/bin/
[oracle@oraclelab2 bin]$ ./dbca -silent -createDatabase -responseFile /home/oracle/dbca_TESTCDB.rsp
[FATAL] [DBT-06604] The location specified for ‘Fast Recovery Area Location’ has insufficient free space.
CAUSE: Only (9,156MB) free space is available on the location (+RECO/TESTCDB/).
ACTION: Choose a ‘Fast Recovery Area Location’ that has enough space (minimum of (12,732MB)) or free up space on the specified location.
[oracle@oraclelab2 bin]$
[oracle@oraclelab2 bin]$ ./dbca -silent -createDatabase -responseFile /home/oracle/dbca_TESTCDB_ASM.rsp
Enter SYS user password:
Enter SYSTEM user password:
Enter PDBADMIN User Password:
Prepare for db operation
7% complete
Registering database with Oracle Restart
11% complete
Copying database files
33% complete
Creating and starting Oracle instance
35% complete
38% complete
42% complete
45% complete
48% complete
Completing Database Creation
53% complete
55% complete
56% complete
Creating Pluggable Databases
60% complete
78% complete
Executing Post Configuration Actions
100% complete
Database creation complete. For details check the logfiles at:
/u01/app/oracle/cfgtoollogs/dbca/TESTCDB.
Database Information:
Global Database Name:TESTCDB
System Identifier(SID):TESTCDB
Look at the log file “/u01/app/oracle/cfgtoollogs/dbca/TESTCDB/TESTCDB0.log” for further details.
[oracle@oraclelab2 bin]$
[oracle@oraclelab2 bin]$ . oraenv
ORACLE_SID = [TESTCDB] ?
The Oracle base remains unchanged with value /u01/app/oracle
[oracle@oraclelab2 bin]$ sqlplus / as sysdba
SQL*Plus: Release 19.0.0.0.0 – Production on Wed Aug 24 02:13:23 2022
Version 19.14.0.0.0
Copyright (c) 1982, 2021, Oracle. All rights reserved.
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 – Production
Version 19.14.0.0.0
SQL> select name from v$database;
NAME
———
TESTCDB
SQL> show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED
———- —————————— ———- ———-
2 PDB$SEED READ ONLY NO
3 TESTPDB READ WRITE NO
SQL> select name from v$datafile;
NAME
——————————————————————————–
+DATA/TESTCDB/DATAFILE/system.269.1113529793
+DATA/TESTCDB/DATAFILE/sysaux.260.1113529829
+DATA/TESTCDB/DATAFILE/undotbs1.276.1113529855
+DATA/TESTCDB/86B637B62FE07A65E053F706E80A27CA/DATAFILE/system.278.1113530403
+DATA/TESTCDB/86B637B62FE07A65E053F706E80A27CA/DATAFILE/sysaux.279.1113530403
+DATA/TESTCDB/DATAFILE/users.273.1113529855
+DATA/TESTCDB/86B637B62FE07A65E053F706E80A27CA/DATAFILE/undotbs1.280.1113530403
+DATA/TESTCDB/E6EF9500FCA03E5CE053B304260A9D8F/DATAFILE/system.270.1113531061
+DATA/TESTCDB/E6EF9500FCA03E5CE053B304260A9D8F/DATAFILE/sysaux.272.1113531061
+DATA/TESTCDB/E6EF9500FCA03E5CE053B304260A9D8F/DATAFILE/undotbs1.274.1113531061
+DATA/TESTCDB/E6EF9500FCA03E5CE053B304260A9D8F/DATAFILE/users.267.1113531071
11 rows selected.
SQL> select name from v$controlfile;
NAME
——————————————————————————–
+DATA/TESTCDB/CONTROLFILE/current.268.1113529903
+RECO/TESTCDB/CONTROLFILE/current.313.1113529903
SQL> select member from v$logfile;
MEMBER
——————————————————————————–
+DATA/TESTCDB/ONLINELOG/group_3.262.1113529905
+RECO/TESTCDB/ONLINELOG/group_3.259.1113529905
+DATA/TESTCDB/ONLINELOG/group_2.263.1113529905
+RECO/TESTCDB/ONLINELOG/group_2.256.1113529905
+DATA/TESTCDB/ONLINELOG/group_1.264.1113529905
+RECO/TESTCDB/ONLINELOG/group_1.311.1113529905
6 rows selected.
SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 – Production
Version 19.14.0.0.0
[oracle@oraclelab2 bin]$
[oracle@oraclelab2 ~]$ cd /u01/app/oracle/product/19.0.0.0/dbhome_1/bin/
[oracle@oraclelab2 bin]$ ./dbca -silent -deleteDatabase -sourceDB TESTCDB -sysDBAUserName sys -sysDBAPassword Mallik123
[WARNING] [DBT-19202] The Database Configuration Assistant will delete the Oracle instances and datafiles for your database. All information in the database will be destroyed.
Prepare for db operation
32% complete
Connecting to database
35% complete
39% complete
42% complete
45% complete
48% complete
52% complete
65% complete
Updating network configuration files
68% complete
Deleting instance and datafiles
84% complete
100% complete
Database deletion completed.
Look at the log file “/u01/app/oracle/cfgtoollogs/dbca/TESTCDB/TESTCDB.log” for further details.
[oracle@oraclelab2 bin]$
Output TESTCDB:
[oracle@oraclelab1 bin]$ . oraenv
ORACLE_SID = [TEST] ? TESTCDB
The Oracle base remains unchanged with value /u01/app/oracle
[oracle@oraclelab1 bin]$ sqlplus / as sysdba
SQL*Plus: Release 19.0.0.0.0 – Production on Tue Aug 23 03:47:37 2022
Version 19.14.0.0.0
Copyright (c) 1982, 2021, Oracle. All rights reserved.
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 – Production
Version 19.14.0.0.0
SQL> select name from v$database;
NAME
———
TESTCDB
SQL> show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED
———- —————————— ———- ———-
2 PDB$SEED READ ONLY NO
3 PDB1 READ WRITE NO
SQL> select name from v$datafile;
NAME
——————————————————————————–
/u01/app/oracle/oradata/TESTCDB/system01.dbf
/u01/app/oracle/oradata/TESTCDB/sysaux01.dbf
/u01/app/oracle/oradata/TESTCDB/undotbs01.dbf
/u01/app/oracle/oradata/TESTCDB/pdbseed/system01.dbf
/u01/app/oracle/oradata/TESTCDB/pdbseed/sysaux01.dbf
/u01/app/oracle/oradata/TESTCDB/users01.dbf
/u01/app/oracle/oradata/TESTCDB/pdbseed/undotbs01.dbf
/u01/app/oracle/oradata/TESTCDB/PDB1/system01.dbf
/u01/app/oracle/oradata/TESTCDB/PDB1/sysaux01.dbf
/u01/app/oracle/oradata/TESTCDB/PDB1/undotbs01.dbf
/u01/app/oracle/oradata/TESTCDB/PDB1/users01.dbf
11 rows selected.
SQL> select name from v$controlfile;
NAME
——————————————————————————–
/u01/app/oracle/oradata/TESTCDB/control01.ctl
/u01/app/oracle/oradata/TESTCDB/control02.ctl
SQL> select member from v$logfile;
MEMBER
——————————————————————————–
/u01/app/oracle/oradata/TESTCDB/redo03.log
/u01/app/oracle/oradata/TESTCDB/redo02.log
/u01/app/oracle/oradata/TESTCDB/redo01.log
SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 – Production
Version 19.14.0.0.0
[oracle@oraclelab1 bin]$
#19c DEVDB (Non-CDB) create inside ASM diskgroup:
cd /u01/app/oracle/product/19.0.0.0/dbhome_1/bin/
./dbca -silent -createDatabase -responseFile /home/oracle/dbca_DEVDB_ASM.rsp
#19c TESTCDB (CDB) create inside ASM diskgroup:
cd /u01/app/oracle/product/19.0.0.0/dbhome_1/bin/
./dbca -silent -createDatabase -responseFile /home/oracle/dbca_TESTCDB_ASM.rsp
Sample Response Files:
[oracle@oraclelab1 ~]$ cat /home/oracle/dbca_DEV_12.2.0.1.rsp
##############################################################################
## ##
## DBCA response file ##
## —————— ##
## Copyright(c) Oracle Corporation 1998,2017. All rights reserved. ##
## ##
## Specify values for the variables listed below to customize ##
## your installation. ##
## ##
## Each variable is associated with a comment. The comment ##
## can help to populate the variables with the appropriate ##
## values. ##
## ##
## IMPORTANT NOTE: This file contains plain text passwords and ##
## should be secured to have read permission only by oracle user ##
## or db administrator who owns this installation. ##
##############################################################################
#——————————————————————————-
# Do not change the following system generated value.
#——————————————————————————-
responseFileVersion=/oracle/assistants/rspfmt_dbca_response_schema_v12.2.0
#—————————————————————————–
# Name : gdbName
# Datatype : String
# Description : Global database name of the database
# Valid values : <db_name>.<db_domain> – when database domain isn’t NULL
# <db_name> – when database domain is NULL
# Default value : None
# Mandatory : Yes
#—————————————————————————–
gdbName=DEV
#—————————————————————————–
# Name : sid
# Datatype : String
# Description : System identifier (SID) of the database
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : <db_name> specified in GDBNAME
# Mandatory : No
#—————————————————————————–
sid=DEV
#—————————————————————————–
# Name : databaseConfigType
# Datatype : String
# Description : database conf type as Single Instance, Real Application Cluster or Real Application Cluster One Nodes database
# Valid values : SI\RAC\RACONENODE
# Default value : SI
# Mandatory : No
#—————————————————————————–
databaseConfigType=SI
#—————————————————————————–
# Name : RACOneNodeServiceName
# Datatype : String
# Description : Service is required by application to connect to RAC One
# Node Database
# Valid values : Service Name
# Default value : None
# Mandatory : No [required in case DATABASECONFTYPE is set to RACONENODE ]
#—————————————————————————–
RACOneNodeServiceName=
#—————————————————————————–
# Name : policyManaged
# Datatype : Boolean
# Description : Set to true if Database is policy managed and
# set to false if Database is admin managed
# Valid values : TRUE\FALSE
# Default value : FALSE
# Mandatory : No
#—————————————————————————–
policyManaged=false
#—————————————————————————–
# Name : createServerPool
# Datatype : Boolean
# Description : Set to true if new server pool need to be created for database
# if this option is specified then the newly created database
# will use this newly created serverpool.
# Multiple serverpoolname can not be specified for database
# Valid values : TRUE\FALSE
# Default value : FALSE
# Mandatory : No
#—————————————————————————–
createServerPool=false
#—————————————————————————–
# Name : serverPoolName
# Datatype : String
# Description : Only one serverpool name need to be specified
# if Create Server Pool option is specified.
# Comma-separated list of Serverpool names if db need to use
# multiple Server pool
# Valid values : ServerPool name
# Default value : None
# Mandatory : No [required in case of RAC service centric database]
#—————————————————————————–
serverPoolName=
#—————————————————————————–
# Name : cardinality
# Datatype : Number
# Description : Specify Cardinality for create server pool operation
# Valid values : any positive Integer value
# Default value : Number of qualified nodes on cluster
# Mandatory : No [Required when a new serverpool need to be created]
#—————————————————————————–
cardinality=
#—————————————————————————–
# Name : force
# Datatype : Boolean
# Description : Set to true if new server pool need to be created by force
# if this option is specified then the newly created serverpool
# will be assigned server even if no free servers are available.
# This may affect already running database.
# This flag can be specified for Admin managed as well as policy managed db.
# Valid values : TRUE\FALSE
# Default value : FALSE
# Mandatory : No
#—————————————————————————–
force=false
#—————————————————————————–
# Name : pqPoolName
# Datatype : String
# Description : Only one serverpool name needs to be specified
# if create server pool option is specified.
# Comma-separated list of serverpool names if use
# server pool. This is required to
# create Parallel Query (PQ) database. Applicable to Big Cluster
# Valid values : Parallel Query (PQ) pool name
# Default value : None
# Mandatory : No [required in case of RAC service centric database]
#—————————————————————————–
pqPoolName=
#—————————————————————————–
# Name : pqCardinality
# Datatype : Number
# Description : Specify Cardinality for create server pool operation.
# Applicable to Big Cluster
# Valid values : any positive Integer value
# Default value : Number of qualified nodes on cluster
# Mandatory : No [Required when a new serverpool need to be created]
#—————————————————————————–
pqCardinality=
#—————————————————————————–
# Name : createAsContainerDatabase
# Datatype : boolean
# Description : flag to create database as container database
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : false
# Mandatory : No
#—————————————————————————–
createAsContainerDatabase=false
#—————————————————————————–
# Name : numberOfPDBs
# Datatype : Number
# Description : Specify the number of pdb to be created
# Valid values : 0 to 252
# Default value : 0
# Mandatory : No
#—————————————————————————–
numberOfPDBs=0
#—————————————————————————–
# Name : pdbName
# Datatype : String
# Description : Specify the pdbname/pdbanme prefix if one or more pdb need to be created
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : No
#—————————————————————————–
pdbName=
#—————————————————————————–
# Name : useLocalUndoForPDBs
# Datatype : boolean
# Description : Flag to create local undo tablespace for all PDB’s.
# Valid values : TRUE\FALSE
# Default value : TRUE
# Mandatory : No
#—————————————————————————–
useLocalUndoForPDBs=true
#—————————————————————————–
# Name : pdbAdminPassword
# Datatype : String
# Description : PDB Administrator user password
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : No
#—————————————————————————–
pdbAdminPassword=
#—————————————————————————–
# Name : nodelist
# Datatype : String
# Description : Comma-separated list of cluster nodes
# Valid values : Cluster node names
# Default value : None
# Mandatory : No (Yes for RAC database-centric database )
#—————————————————————————–
nodelist=
#—————————————————————————–
# Name : templateName
# Datatype : String
# Description : Name of the template
# Valid values : Template file name
# Default value : None
# Mandatory : Yes
#—————————————————————————–
templateName=/u01/app/oracle/product/12.2.0.1/dbhome_1/assistants/dbca/templates/General_Purpose.dbc
#—————————————————————————–
# Name : sysPassword
# Datatype : String
# Description : Password for SYS user
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : Yes
#—————————————————————————–
sysPassword=
#—————————————————————————–
# Name : systemPassword
# Datatype : String
# Description : Password for SYSTEM user
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : Yes
#—————————————————————————–
systemPassword=
#—————————————————————————–
# Name : serviceUserPassword
# Datatype : String
# Description : Password for Windows Service user
# Default value : None
# Mandatory : If Oracle home is installed with windows service user
#—————————————————————————–
serviceUserPassword=
#—————————————————————————–
# Name : emConfiguration
# Datatype : String
# Description : Enterprise Manager Configuration Type
# Valid values : CENTRAL|DBEXPRESS|BOTH|NONE
# Default value : NONE
# Mandatory : No
#—————————————————————————–
emConfiguration=
#—————————————————————————–
# Name : emExpressPort
# Datatype : Number
# Description : Enterprise Manager Configuration Type
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : NONE
# Mandatory : No, will be picked up from DBEXPRESS_HTTPS_PORT env variable
# or auto generates a free port between 5500 and 5599
#—————————————————————————–
emExpressPort=0
#—————————————————————————–
# Name : runCVUChecks
# Datatype : Boolean
# Description : Specify whether to run Cluster Verification Utility checks
# periodically in Cluster environment
# Valid values : TRUE\FALSE
# Default value : FALSE
# Mandatory : No
#—————————————————————————–
runCVUChecks=false
#—————————————————————————–
# Name : dbsnmpPassword
# Datatype : String
# Description : Password for DBSNMP user
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : Yes, if emConfiguration is specified or
# the value of runCVUChecks is TRUE
#—————————————————————————–
dbsnmpPassword=
#—————————————————————————–
# Name : omsHost
# Datatype : String
# Description : EM management server host name
# Default value : None
# Mandatory : Yes, if CENTRAL is specified for emConfiguration
#—————————————————————————–
omsHost=
#—————————————————————————–
# Name : omsPort
# Datatype : Number
# Description : EM management server port number
# Default value : None
# Mandatory : Yes, if CENTRAL is specified for emConfiguration
#—————————————————————————–
omsPort=0
#—————————————————————————–
# Name : emUser
# Datatype : String
# Description : EM Admin username to add or modify targets
# Default value : None
# Mandatory : Yes, if CENTRAL is specified for emConfiguration
#—————————————————————————–
emUser=
#—————————————————————————–
# Name : emPassword
# Datatype : String
# Description : EM Admin user password
# Default value : None
# Mandatory : Yes, if CENTRAL is specified for emConfiguration
#—————————————————————————–
emPassword=
#—————————————————————————–
# Name : dvConfiguration
# Datatype : Boolean
# Description : Specify “True” to configure and enable Oracle Database vault
# Valid values : True/False
# Default value : False
# Mandatory : No
#—————————————————————————–
dvConfiguration=false
#—————————————————————————–
# Name : dvUserName
# Datatype : String
# Description : DataVault Owner
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : Yes, if DataVault option is chosen
#—————————————————————————–
dvUserName=
#—————————————————————————–
# Name : dvUserPassword
# Datatype : String
# Description : Password for DataVault Owner
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : Yes, if DataVault option is chosen
#—————————————————————————–
dvUserPassword=
#—————————————————————————–
# Name : dvAccountManagerName
# Datatype : String
# Description : DataVault Account Manager
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : No
#—————————————————————————–
dvAccountManagerName=
#—————————————————————————–
# Name : dvAccountManagerPassword
# Datatype : String
# Description : Password for DataVault Account Manager
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : No
#—————————————————————————–
dvAccountManagerPassword=
#—————————————————————————–
# Name : olsConfiguration
# Datatype : Boolean
# Description : Specify “True” to configure and enable Oracle Label Security
# Valid values : True/False
# Default value : False
# Mandatory : No
#—————————————————————————–
olsConfiguration=false
#—————————————————————————–
# Name : datafileJarLocation
# Datatype : String
# Description : Location of the data file jar
# Valid values : Directory containing compressed datafile jar
# Default value : None
# Mandatory : No
#—————————————————————————–
datafileJarLocation={ORACLE_HOME}/assistants/dbca/templates/
#—————————————————————————–
# Name : datafileDestination
# Datatype : String
# Description : Location of the data file’s
# Valid values : Directory for all the database files
# Default value : $ORACLE_BASE/oradata
# Mandatory : No
#—————————————————————————–
datafileDestination={ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/
#—————————————————————————–
# Name : recoveryAreaDestination
# Datatype : String
# Description : Location of the data file’s
# Valid values : Recovery Area location
# Default value : $ORACLE_BASE/flash_recovery_area
# Mandatory : No
#—————————————————————————–
recoveryAreaDestination={ORACLE_BASE}/fast_recovery_area/{DB_UNIQUE_NAME}
#—————————————————————————–
# Name : storageType
# Datatype : String
# Description : Specifies the storage on which the database is to be created
# Valid values : FS (CFS for RAC), ASM
# Default value : FS
# Mandatory : No
#—————————————————————————–
storageType=FS
#—————————————————————————–
# Name : diskGroupName
# Datatype : String
# Description : Specifies the disk group name for the storage
# Default value : DATA
# Mandatory : No
#—————————————————————————–
diskGroupName=
#—————————————————————————–
# Name : asmsnmpPassword
# Datatype : String
# Description : Password for ASM Monitoring
# Default value : None
# Mandatory : No
#—————————————————————————–
asmsnmpPassword=
#—————————————————————————–
# Name : recoveryGroupName
# Datatype : String
# Description : Specifies the disk group name for the recovery area
# Default value : RECOVERY
# Mandatory : No
#—————————————————————————–
recoveryGroupName=
#—————————————————————————–
# Name : characterSet
# Datatype : String
# Description : Character set of the database
# Valid values : Check Oracle12c National Language Support Guide
# Default value : “US7ASCII”
# Mandatory : NO
#—————————————————————————–
characterSet=AL32UTF8
#—————————————————————————–
# Name : nationalCharacterSet
# Datatype : String
# Description : National Character set of the database
# Valid values : “UTF8” or “AL16UTF16”. For details, check Oracle12c National Language Support Guide
# Default value : “AL16UTF16”
# Mandatory : No
#—————————————————————————–
nationalCharacterSet=
#—————————————————————————–
# Name : registerWithDirService
# Datatype : Boolean
# Description : Specifies whether to register with Directory Service.
# Valid values : TRUE \ FALSE
# Default value : FALSE
# Mandatory : No
#—————————————————————————–
registerWithDirService=false
#—————————————————————————–
# Name : dirServiceUserName
# Datatype : String
# Description : Specifies the name of the directory service user
# Mandatory : YES, if the value of registerWithDirService is TRUE
#—————————————————————————–
dirServiceUserName=
#—————————————————————————–
# Name : dirServicePassword
# Datatype : String
# Description : The password of the directory service user.
# You can also specify the password at the command prompt instead of here.
# Mandatory : YES, if the value of registerWithDirService is TRUE
#—————————————————————————–
dirServicePassword=
#—————————————————————————–
# Name : walletPassword
# Datatype : String
# Description : The password for wallet to created or modified.
# You can also specify the password at the command prompt instead of here.
# Mandatory : YES, if the value of registerWithDirService is TRUE
#—————————————————————————–
walletPassword=
#—————————————————————————–
# Name : listeners
# Datatype : String
# Description : Specifies list of listeners to register the database with.
# By default the database is configured for all the listeners specified in the
# $ORACLE_HOME/network/admin/listener.ora
# Valid values : The list should be comma separated like “listener1,listener2”.
# Mandatory : NO
#—————————————————————————–
listeners=
#—————————————————————————–
# Name : variablesFile
# Datatype : String
# Description : Location of the file containing variable value pair
# Valid values : A valid file-system file. The variable value pair format in this file
# is <variable>=<value>. Each pair should be in a new line.
# Default value : None
# Mandatory : NO
#—————————————————————————–
variablesFile=
#—————————————————————————–
# Name : variables
# Datatype : String
# Description : comma separated list of name=value pairs. Overrides variables defined in variablefile and templates
# Default value : None
# Mandatory : NO
#—————————————————————————–
variables=DB_UNIQUE_NAME=DEV,ORACLE_BASE=/u01/app/oracle,PDB_NAME=,DB_NAME=DEV,ORACLE_HOME=/u01/app/oracle/product/12.2.0.1/dbhome_1,SID=DEV
#—————————————————————————–
# Name : initParams
# Datatype : String
# Description : comma separated list of name=value pairs. Overrides initialization parameters defined in templates
# Default value : None
# Mandatory : NO
#—————————————————————————–
initParams=undo_tablespace=UNDOTBS1,processes=300,db_recovery_file_dest_size=8016MB,pga_aggregate_target=1169MB,sga_target=3507MB,dispatchers=(PROTOCOL=TCP) (SERVICE={SID}XDB),db_recovery_file_dest={ORACLE_BASE}/fast_recovery_area/{DB_UNIQUE_NAME},db_block_size=8KB,diagnostic_dest={ORACLE_BASE},audit_file_dest={ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/adump,db_create_file_dest={ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/,compatible=12.2.0,db_name=DEV,audit_trail=db,remote_login_passwordfile=EXCLUSIVE,open_cursors=300
#—————————————————————————–
# Name : sampleSchema
# Datatype : Boolean
# Description : Specifies whether or not to add the Sample Schemas to your database
# Valid values : TRUE \ FALSE
# Default value : FASLE
# Mandatory : No
#—————————————————————————–
sampleSchema=false
#—————————————————————————–
# Name : memoryPercentage
# Datatype : String
# Description : percentage of physical memory for Oracle
# Default value : None
# Mandatory : NO
#—————————————————————————–
memoryPercentage=40
#—————————————————————————–
# Name : databaseType
# Datatype : String
# Description : used for memory distribution when memoryPercentage specified
# Valid values : MULTIPURPOSE|DATA_WAREHOUSING|OLTP
# Default value : MULTIPURPOSE
# Mandatory : NO
#—————————————————————————–
databaseType=MULTIPURPOSE
#—————————————————————————–
# Name : automaticMemoryManagement
# Datatype : Boolean
# Description : flag to indicate Automatic Memory Management is used
# Valid values : TRUE/FALSE
# Default value : TRUE
# Mandatory : NO
#—————————————————————————–
automaticMemoryManagement=false
#—————————————————————————–
# Name : totalMemory
# Datatype : String
# Description : total memory in MB to allocate to Oracle
# Valid values :
# Default value :
# Mandatory : NO
#—————————————————————————–
totalMemory=0
[oracle@oraclelab1 ~]$
Sample Response File:
[oracle@oraclelab1 ~]$ cat /home/oracle/dbca_DEVCDB.rsp
##############################################################################
## ##
## DBCA response file ##
## —————— ##
## Copyright(c) Oracle Corporation 1998,2019. All rights reserved. ##
## ##
## Specify values for the variables listed below to customize ##
## your installation. ##
## ##
## Each variable is associated with a comment. The comment ##
## can help to populate the variables with the appropriate ##
## values. ##
## ##
## IMPORTANT NOTE: This file contains plain text passwords and ##
## should be secured to have read permission only by oracle user ##
## or db administrator who owns this installation. ##
##############################################################################
#——————————————————————————-
# Do not change the following system generated value.
#——————————————————————————-
responseFileVersion=/oracle/assistants/rspfmt_dbca_response_schema_v12.2.0
#—————————————————————————–
# Name : gdbName
# Datatype : String
# Description : Global database name of the database
# Valid values : <db_name>.<db_domain> – when database domain isn’t NULL
# <db_name> – when database domain is NULL
# Default value : None
# Mandatory : Yes
#—————————————————————————–
gdbName=DEVCDB
#—————————————————————————–
# Name : sid
# Datatype : String
# Description : System identifier (SID) of the database
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : <db_name> specified in GDBNAME
# Mandatory : No
#—————————————————————————–
sid=DEVCDB
#—————————————————————————–
# Name : databaseConfigType
# Datatype : String
# Description : database conf type as Single Instance, Real Application Cluster or Real Application Cluster One Nodes database
# Valid values : SI\RAC\RACONENODE
# Default value : SI
# Mandatory : No
#—————————————————————————–
databaseConfigType=SI
#—————————————————————————–
# Name : RACOneNodeServiceName
# Datatype : String
# Description : Service is required by application to connect to RAC One
# Node Database
# Valid values : Service Name
# Default value : None
# Mandatory : No [required in case DATABASECONFTYPE is set to RACONENODE ]
#—————————————————————————–
RACOneNodeServiceName=
#—————————————————————————–
# Name : policyManaged
# Datatype : Boolean
# Description : Set to true if Database is policy managed and
# set to false if Database is admin managed
# Valid values : TRUE\FALSE
# Default value : FALSE
# Mandatory : No
#—————————————————————————–
policyManaged=false
#—————————————————————————–
# Name : createServerPool
# Datatype : Boolean
# Description : Set to true if new server pool need to be created for database
# if this option is specified then the newly created database
# will use this newly created serverpool.
# Multiple serverpoolname can not be specified for database
# Valid values : TRUE\FALSE
# Default value : FALSE
# Mandatory : No
#—————————————————————————–
createServerPool=false
#—————————————————————————–
# Name : serverPoolName
# Datatype : String
# Description : Only one serverpool name need to be specified
# if Create Server Pool option is specified.
# Comma-separated list of Serverpool names if db need to use
# multiple Server pool
# Valid values : ServerPool name
# Default value : None
# Mandatory : No [required in case of RAC service centric database]
#—————————————————————————–
serverPoolName=
#—————————————————————————–
# Name : cardinality
# Datatype : Number
# Description : Specify Cardinality for create server pool operation
# Valid values : any positive Integer value
# Default value : Number of qualified nodes on cluster
# Mandatory : No [Required when a new serverpool need to be created]
#—————————————————————————–
cardinality=
#—————————————————————————–
# Name : force
# Datatype : Boolean
# Description : Set to true if new server pool need to be created by force
# if this option is specified then the newly created serverpool
# will be assigned server even if no free servers are available.
# This may affect already running database.
# This flag can be specified for Admin managed as well as policy managed db.
# Valid values : TRUE\FALSE
# Default value : FALSE
# Mandatory : No
#—————————————————————————–
force=false
#—————————————————————————–
# Name : pqPoolName
# Datatype : String
# Description : Only one serverpool name needs to be specified
# if create server pool option is specified.
# Comma-separated list of serverpool names if use
# server pool. This is required to
# create Parallel Query (PQ) database. Applicable to Big Cluster
# Valid values : Parallel Query (PQ) pool name
# Default value : None
# Mandatory : No [required in case of RAC service centric database]
#—————————————————————————–
pqPoolName=
#—————————————————————————–
# Name : pqCardinality
# Datatype : Number
# Description : Specify Cardinality for create server pool operation.
# Applicable to Big Cluster
# Valid values : any positive Integer value
# Default value : Number of qualified nodes on cluster
# Mandatory : No [Required when a new serverpool need to be created]
#—————————————————————————–
pqCardinality=
#—————————————————————————–
# Name : createAsContainerDatabase
# Datatype : boolean
# Description : flag to create database as container database
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : false
# Mandatory : No
#—————————————————————————–
createAsContainerDatabase=true
#—————————————————————————–
# Name : numberOfPDBs
# Datatype : Number
# Description : Specify the number of pdb to be created
# Valid values : 0 to 252
# Default value : 0
# Mandatory : No
#—————————————————————————–
numberOfPDBs=1
#—————————————————————————–
# Name : pdbName
# Datatype : String
# Description : Specify the pdbname/pdbanme prefix if one or more pdb need to be created
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : No
#—————————————————————————–
pdbName=DEVPDB
#—————————————————————————–
# Name : useLocalUndoForPDBs
# Datatype : boolean
# Description : Flag to create local undo tablespace for all PDB’s.
# Valid values : TRUE\FALSE
# Default value : TRUE
# Mandatory : No
#—————————————————————————–
useLocalUndoForPDBs=true
#—————————————————————————–
# Name : pdbAdminPassword
# Datatype : String
# Description : PDB Administrator user password
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : No
#—————————————————————————–
pdbAdminPassword=
#—————————————————————————–
# Name : nodelist
# Datatype : String
# Description : Comma-separated list of cluster nodes
# Valid values : Cluster node names
# Default value : None
# Mandatory : No (Yes for RAC database-centric database )
#—————————————————————————–
nodelist=
#—————————————————————————–
# Name : templateName
# Datatype : String
# Description : Name of the template
# Valid values : Template file name
# Default value : None
# Mandatory : Yes
#—————————————————————————–
templateName=/u01/app/oracle/product/19.0.0.0/dbhome_1/assistants/dbca/templates/General_Purpose.dbc
#—————————————————————————–
# Name : sysPassword
# Datatype : String
# Description : Password for SYS user
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : Yes
#—————————————————————————–
sysPassword=
#—————————————————————————–
# Name : systemPassword
# Datatype : String
# Description : Password for SYSTEM user
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : Yes
#—————————————————————————–
systemPassword=
#—————————————————————————–
# Name : serviceUserPassword
# Datatype : String
# Description : Password for Windows Service user
# Default value : None
# Mandatory : If Oracle home is installed with windows service user
#—————————————————————————–
serviceUserPassword=
#—————————————————————————–
# Name : emConfiguration
# Datatype : String
# Description : Enterprise Manager Configuration Type
# Valid values : CENTRAL|DBEXPRESS|BOTH|NONE
# Default value : NONE
# Mandatory : No
#—————————————————————————–
emConfiguration=
#—————————————————————————–
# Name : emExpressPort
# Datatype : Number
# Description : Enterprise Manager Configuration Type
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : NONE
# Mandatory : No, will be picked up from DBEXPRESS_HTTPS_PORT env variable
# or auto generates a free port between 5500 and 5599
#—————————————————————————–
emExpressPort=0
#—————————————————————————–
# Name : runCVUChecks
# Datatype : Boolean
# Description : Specify whether to run Cluster Verification Utility checks
# periodically in Cluster environment
# Valid values : TRUE\FALSE
# Default value : FALSE
# Mandatory : No
#—————————————————————————–
runCVUChecks=FALSE
#—————————————————————————–
# Name : dbsnmpPassword
# Datatype : String
# Description : Password for DBSNMP user
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : Yes, if emConfiguration is specified or
# the value of runCVUChecks is TRUE
#—————————————————————————–
dbsnmpPassword=
#—————————————————————————–
# Name : omsHost
# Datatype : String
# Description : EM management server host name
# Default value : None
# Mandatory : Yes, if CENTRAL is specified for emConfiguration
#—————————————————————————–
omsHost=
#—————————————————————————–
# Name : omsPort
# Datatype : Number
# Description : EM management server port number
# Default value : None
# Mandatory : Yes, if CENTRAL is specified for emConfiguration
#—————————————————————————–
omsPort=0
#—————————————————————————–
# Name : emUser
# Datatype : String
# Description : EM Admin username to add or modify targets
# Default value : None
# Mandatory : Yes, if CENTRAL is specified for emConfiguration
#—————————————————————————–
emUser=
#—————————————————————————–
# Name : emPassword
# Datatype : String
# Description : EM Admin user password
# Default value : None
# Mandatory : Yes, if CENTRAL is specified for emConfiguration
#—————————————————————————–
emPassword=
#—————————————————————————–
# Name : dvConfiguration
# Datatype : Boolean
# Description : Specify “True” to configure and enable Oracle Database vault
# Valid values : True/False
# Default value : False
# Mandatory : No
#—————————————————————————–
dvConfiguration=false
#—————————————————————————–
# Name : dvUserName
# Datatype : String
# Description : DataVault Owner
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : Yes, if DataVault option is chosen
#—————————————————————————–
dvUserName=
#—————————————————————————–
# Name : dvUserPassword
# Datatype : String
# Description : Password for DataVault Owner
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : Yes, if DataVault option is chosen
#—————————————————————————–
dvUserPassword=
#—————————————————————————–
# Name : dvAccountManagerName
# Datatype : String
# Description : DataVault Account Manager
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : No
#—————————————————————————–
dvAccountManagerName=
#—————————————————————————–
# Name : dvAccountManagerPassword
# Datatype : String
# Description : Password for DataVault Account Manager
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : No
#—————————————————————————–
dvAccountManagerPassword=
#—————————————————————————–
# Name : olsConfiguration
# Datatype : Boolean
# Description : Specify “True” to configure and enable Oracle Label Security
# Valid values : True/False
# Default value : False
# Mandatory : No
#—————————————————————————–
olsConfiguration=false
#—————————————————————————–
# Name : datafileJarLocation
# Datatype : String
# Description : Location of the data file jar
# Valid values : Directory containing compressed datafile jar
# Default value : None
# Mandatory : No
#—————————————————————————–
datafileJarLocation={ORACLE_HOME}/assistants/dbca/templates/
#—————————————————————————–
# Name : datafileDestination
# Datatype : String
# Description : Location of the data file’s
# Valid values : Directory for all the database files
# Default value : $ORACLE_BASE/oradata
# Mandatory : No
#—————————————————————————–
datafileDestination={ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/
#—————————————————————————–
# Name : recoveryAreaDestination
# Datatype : String
# Description : Location of the data file’s
# Valid values : Recovery Area location
# Default value : $ORACLE_BASE/flash_recovery_area
# Mandatory : No
#—————————————————————————–
recoveryAreaDestination={ORACLE_BASE}/fast_recovery_area/{DB_UNIQUE_NAME}
#—————————————————————————–
# Name : storageType
# Datatype : String
# Description : Specifies the storage on which the database is to be created
# Valid values : FS (CFS for RAC), ASM
# Default value : FS
# Mandatory : No
#—————————————————————————–
storageType=FS
#—————————————————————————–
# Name : diskGroupName
# Datatype : String
# Description : Specifies the disk group name for the storage
# Default value : DATA
# Mandatory : No
#—————————————————————————–
diskGroupName=
#—————————————————————————–
# Name : asmsnmpPassword
# Datatype : String
# Description : Password for ASM Monitoring
# Default value : None
# Mandatory : No
#—————————————————————————–
asmsnmpPassword=
#—————————————————————————–
# Name : recoveryGroupName
# Datatype : String
# Description : Specifies the disk group name for the recovery area
# Default value : RECOVERY
# Mandatory : No
#—————————————————————————–
recoveryGroupName=
#—————————————————————————–
# Name : characterSet
# Datatype : String
# Description : Character set of the database
# Valid values : Check Oracle12c National Language Support Guide
# Default value : “US7ASCII”
# Mandatory : NO
#—————————————————————————–
characterSet=AL32UTF8
#—————————————————————————–
# Name : nationalCharacterSet
# Datatype : String
# Description : National Character set of the database
# Valid values : “UTF8” or “AL16UTF16”. For details, check Oracle12c National Language Support Guide
# Default value : “AL16UTF16”
# Mandatory : No
#—————————————————————————–
nationalCharacterSet=
#—————————————————————————–
# Name : registerWithDirService
# Datatype : Boolean
# Description : Specifies whether to register with Directory Service.
# Valid values : TRUE \ FALSE
# Default value : FALSE
# Mandatory : No
#—————————————————————————–
registerWithDirService=false
#—————————————————————————–
# Name : dirServiceUserName
# Datatype : String
# Description : Specifies the name of the directory service user
# Mandatory : YES, if the value of registerWithDirService is TRUE
#—————————————————————————–
dirServiceUserName=
#—————————————————————————–
# Name : dirServicePassword
# Datatype : String
# Description : The password of the directory service user.
# You can also specify the password at the command prompt instead of here.
# Mandatory : YES, if the value of registerWithDirService is TRUE
#—————————————————————————–
dirServicePassword=
#—————————————————————————–
# Name : walletPassword
# Datatype : String
# Description : The password for wallet to created or modified.
# You can also specify the password at the command prompt instead of here.
# Mandatory : YES, if the value of registerWithDirService is TRUE
#—————————————————————————–
walletPassword=
#—————————————————————————–
# Name : listeners
# Datatype : String
# Description : Specifies list of listeners to register the database with.
# By default the database is configured for all the listeners specified in the
# $ORACLE_HOME/network/admin/listener.ora
# Valid values : The list should be comma separated like “listener1,listener2”.
# Mandatory : NO
#—————————————————————————–
listeners=
#—————————————————————————–
# Name : variablesFile
# Datatype : String
# Description : Location of the file containing variable value pair
# Valid values : A valid file-system file. The variable value pair format in this file
# is <variable>=<value>. Each pair should be in a new line.
# Default value : None
# Mandatory : NO
#—————————————————————————–
variablesFile=
#—————————————————————————–
# Name : variables
# Datatype : String
# Description : comma separated list of name=value pairs. Overrides variables defined in variablefile and templates
# Default value : None
# Mandatory : NO
#—————————————————————————–
variables=ORACLE_BASE_HOME=/u01/app/oracle/product/19.0.0.0/dbhome_1,DB_UNIQUE_NAME=DEVCDB,ORACLE_BASE=/u01/app/oracle,PDB_NAME=,DB_NAME=DEVCDB,ORACLE_HOME=/u01/app/oracle/product/19.0.0.0/dbhome_1,SID=DEVCDB
#—————————————————————————–
# Name : initParams
# Datatype : String
# Description : comma separated list of name=value pairs. Overrides initialization parameters defined in templates
# Default value : None
# Mandatory : NO
#—————————————————————————–
initParams=undo_tablespace=UNDOTBS1,sga_target=3507MB,db_block_size=8KB,dispatchers=(PROTOCOL=TCP) (SERVICE={SID}XDB),diagnostic_dest={ORACLE_BASE},remote_login_passwordfile=EXCLUSIVE,db_create_file_dest={ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/,audit_file_dest={ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/adump,processes=300,pga_aggregate_target=1169MB,db_recovery_file_dest_size=12732MB,open_cursors=300,compatible=19.0.0,db_name=DEVCDB,db_recovery_file_dest={ORACLE_BASE}/fast_recovery_area/{DB_UNIQUE_NAME},audit_trail=db
#—————————————————————————–
# Name : sampleSchema
# Datatype : Boolean
# Description : Specifies whether or not to add the Sample Schemas to your database
# Valid values : TRUE \ FALSE
# Default value : FASLE
# Mandatory : No
#—————————————————————————–
sampleSchema=false
#—————————————————————————–
# Name : memoryPercentage
# Datatype : String
# Description : percentage of physical memory for Oracle
# Default value : None
# Mandatory : NO
#—————————————————————————–
memoryPercentage=40
#—————————————————————————–
# Name : databaseType
# Datatype : String
# Description : used for memory distribution when memoryPercentage specified
# Valid values : MULTIPURPOSE|DATA_WAREHOUSING|OLTP
# Default value : MULTIPURPOSE
# Mandatory : NO
#—————————————————————————–
databaseType=MULTIPURPOSE
#—————————————————————————–
# Name : automaticMemoryManagement
# Datatype : Boolean
# Description : flag to indicate Automatic Memory Management is used
# Valid values : TRUE/FALSE
# Default value : TRUE
# Mandatory : NO
#—————————————————————————–
automaticMemoryManagement=false
#—————————————————————————–
# Name : totalMemory
# Datatype : String
# Description : total memory in MB to allocate to Oracle
# Valid values :
# Default value :
# Mandatory : NO
#—————————————————————————–
totalMemory=0[oracle@oraclelab1 ~]$
[oracle@oraclelab1 ~]$ cat /home/oracle/dbca_DEVCDB.rsp
##############################################################################
## ##
## DBCA response file ##
## —————— ##
## Copyright(c) Oracle Corporation 1998,2019. All rights reserved. ##
## ##
## Specify values for the variables listed below to customize ##
## your installation. ##
## ##
## Each variable is associated with a comment. The comment ##
## can help to populate the variables with the appropriate ##
## values. ##
## ##
## IMPORTANT NOTE: This file contains plain text passwords and ##
## should be secured to have read permission only by oracle user ##
## or db administrator who owns this installation. ##
##############################################################################
#——————————————————————————-
# Do not change the following system generated value.
#——————————————————————————-
responseFileVersion=/oracle/assistants/rspfmt_dbca_response_schema_v12.2.0
#—————————————————————————–
# Name : gdbName
# Datatype : String
# Description : Global database name of the database
# Valid values : <db_name>.<db_domain> – when database domain isn’t NULL
# <db_name> – when database domain is NULL
# Default value : None
# Mandatory : Yes
#—————————————————————————–
gdbName=DEVCDB
#—————————————————————————–
# Name : sid
# Datatype : String
# Description : System identifier (SID) of the database
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : <db_name> specified in GDBNAME
# Mandatory : No
#—————————————————————————–
sid=DEVCDB
#—————————————————————————–
# Name : databaseConfigType
# Datatype : String
# Description : database conf type as Single Instance, Real Application Cluster or Real Application Cluster One Nodes database
# Valid values : SI\RAC\RACONENODE
# Default value : SI
# Mandatory : No
#—————————————————————————–
databaseConfigType=SI
#—————————————————————————–
# Name : RACOneNodeServiceName
# Datatype : String
# Description : Service is required by application to connect to RAC One
# Node Database
# Valid values : Service Name
# Default value : None
# Mandatory : No [required in case DATABASECONFTYPE is set to RACONENODE ]
#—————————————————————————–
RACOneNodeServiceName=
#—————————————————————————–
# Name : policyManaged
# Datatype : Boolean
# Description : Set to true if Database is policy managed and
# set to false if Database is admin managed
# Valid values : TRUE\FALSE
# Default value : FALSE
# Mandatory : No
#—————————————————————————–
policyManaged=false
#—————————————————————————–
# Name : createServerPool
# Datatype : Boolean
# Description : Set to true if new server pool need to be created for database
# if this option is specified then the newly created database
# will use this newly created serverpool.
# Multiple serverpoolname can not be specified for database
# Valid values : TRUE\FALSE
# Default value : FALSE
# Mandatory : No
#—————————————————————————–
createServerPool=false
#—————————————————————————–
# Name : serverPoolName
# Datatype : String
# Description : Only one serverpool name need to be specified
# if Create Server Pool option is specified.
# Comma-separated list of Serverpool names if db need to use
# multiple Server pool
# Valid values : ServerPool name
# Default value : None
# Mandatory : No [required in case of RAC service centric database]
#—————————————————————————–
serverPoolName=
#—————————————————————————–
# Name : cardinality
# Datatype : Number
# Description : Specify Cardinality for create server pool operation
# Valid values : any positive Integer value
# Default value : Number of qualified nodes on cluster
# Mandatory : No [Required when a new serverpool need to be created]
#—————————————————————————–
cardinality=
#—————————————————————————–
# Name : force
# Datatype : Boolean
# Description : Set to true if new server pool need to be created by force
# if this option is specified then the newly created serverpool
# will be assigned server even if no free servers are available.
# This may affect already running database.
# This flag can be specified for Admin managed as well as policy managed db.
# Valid values : TRUE\FALSE
# Default value : FALSE
# Mandatory : No
#—————————————————————————–
force=false
#—————————————————————————–
# Name : pqPoolName
# Datatype : String
# Description : Only one serverpool name needs to be specified
# if create server pool option is specified.
# Comma-separated list of serverpool names if use
# server pool. This is required to
# create Parallel Query (PQ) database. Applicable to Big Cluster
# Valid values : Parallel Query (PQ) pool name
# Default value : None
# Mandatory : No [required in case of RAC service centric database]
#—————————————————————————–
pqPoolName=
#—————————————————————————–
# Name : pqCardinality
# Datatype : Number
# Description : Specify Cardinality for create server pool operation.
# Applicable to Big Cluster
# Valid values : any positive Integer value
# Default value : Number of qualified nodes on cluster
# Mandatory : No [Required when a new serverpool need to be created]
#—————————————————————————–
pqCardinality=
#—————————————————————————–
# Name : createAsContainerDatabase
# Datatype : boolean
# Description : flag to create database as container database
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : false
# Mandatory : No
#—————————————————————————–
createAsContainerDatabase=true
#—————————————————————————–
# Name : numberOfPDBs
# Datatype : Number
# Description : Specify the number of pdb to be created
# Valid values : 0 to 252
# Default value : 0
# Mandatory : No
#—————————————————————————–
numberOfPDBs=1
#—————————————————————————–
# Name : pdbName
# Datatype : String
# Description : Specify the pdbname/pdbanme prefix if one or more pdb need to be created
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : No
#—————————————————————————–
pdbName=DEVPDB
#—————————————————————————–
# Name : useLocalUndoForPDBs
# Datatype : boolean
# Description : Flag to create local undo tablespace for all PDB’s.
# Valid values : TRUE\FALSE
# Default value : TRUE
# Mandatory : No
#—————————————————————————–
useLocalUndoForPDBs=true
#—————————————————————————–
# Name : pdbAdminPassword
# Datatype : String
# Description : PDB Administrator user password
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : No
#—————————————————————————–
pdbAdminPassword=
#—————————————————————————–
# Name : nodelist
# Datatype : String
# Description : Comma-separated list of cluster nodes
# Valid values : Cluster node names
# Default value : None
# Mandatory : No (Yes for RAC database-centric database )
#—————————————————————————–
nodelist=
#—————————————————————————–
# Name : templateName
# Datatype : String
# Description : Name of the template
# Valid values : Template file name
# Default value : None
# Mandatory : Yes
#—————————————————————————–
templateName=/u01/app/oracle/product/19.0.0.0/dbhome_1/assistants/dbca/templates/General_Purpose.dbc
#—————————————————————————–
# Name : sysPassword
# Datatype : String
# Description : Password for SYS user
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : Yes
#—————————————————————————–
sysPassword=
#—————————————————————————–
# Name : systemPassword
# Datatype : String
# Description : Password for SYSTEM user
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : Yes
#—————————————————————————–
systemPassword=
#—————————————————————————–
# Name : serviceUserPassword
# Datatype : String
# Description : Password for Windows Service user
# Default value : None
# Mandatory : If Oracle home is installed with windows service user
#—————————————————————————–
serviceUserPassword=
#—————————————————————————–
# Name : emConfiguration
# Datatype : String
# Description : Enterprise Manager Configuration Type
# Valid values : CENTRAL|DBEXPRESS|BOTH|NONE
# Default value : NONE
# Mandatory : No
#—————————————————————————–
emConfiguration=
#—————————————————————————–
# Name : emExpressPort
# Datatype : Number
# Description : Enterprise Manager Configuration Type
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : NONE
# Mandatory : No, will be picked up from DBEXPRESS_HTTPS_PORT env variable
# or auto generates a free port between 5500 and 5599
#—————————————————————————–
emExpressPort=0
#—————————————————————————–
# Name : runCVUChecks
# Datatype : Boolean
# Description : Specify whether to run Cluster Verification Utility checks
# periodically in Cluster environment
# Valid values : TRUE\FALSE
# Default value : FALSE
# Mandatory : No
#—————————————————————————–
runCVUChecks=FALSE
#—————————————————————————–
# Name : dbsnmpPassword
# Datatype : String
# Description : Password for DBSNMP user
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : Yes, if emConfiguration is specified or
# the value of runCVUChecks is TRUE
#—————————————————————————–
dbsnmpPassword=
#—————————————————————————–
# Name : omsHost
# Datatype : String
# Description : EM management server host name
# Default value : None
# Mandatory : Yes, if CENTRAL is specified for emConfiguration
#—————————————————————————–
omsHost=
#—————————————————————————–
# Name : omsPort
# Datatype : Number
# Description : EM management server port number
# Default value : None
# Mandatory : Yes, if CENTRAL is specified for emConfiguration
#—————————————————————————–
omsPort=0
#—————————————————————————–
# Name : emUser
# Datatype : String
# Description : EM Admin username to add or modify targets
# Default value : None
# Mandatory : Yes, if CENTRAL is specified for emConfiguration
#—————————————————————————–
emUser=
#—————————————————————————–
# Name : emPassword
# Datatype : String
# Description : EM Admin user password
# Default value : None
# Mandatory : Yes, if CENTRAL is specified for emConfiguration
#—————————————————————————–
emPassword=
#—————————————————————————–
# Name : dvConfiguration
# Datatype : Boolean
# Description : Specify “True” to configure and enable Oracle Database vault
# Valid values : True/False
# Default value : False
# Mandatory : No
#—————————————————————————–
dvConfiguration=false
#—————————————————————————–
# Name : dvUserName
# Datatype : String
# Description : DataVault Owner
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : Yes, if DataVault option is chosen
#—————————————————————————–
dvUserName=
#—————————————————————————–
# Name : dvUserPassword
# Datatype : String
# Description : Password for DataVault Owner
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : Yes, if DataVault option is chosen
#—————————————————————————–
dvUserPassword=
#—————————————————————————–
# Name : dvAccountManagerName
# Datatype : String
# Description : DataVault Account Manager
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : No
#—————————————————————————–
dvAccountManagerName=
#—————————————————————————–
# Name : dvAccountManagerPassword
# Datatype : String
# Description : Password for DataVault Account Manager
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : No
#—————————————————————————–
dvAccountManagerPassword=
#—————————————————————————–
# Name : olsConfiguration
# Datatype : Boolean
# Description : Specify “True” to configure and enable Oracle Label Security
# Valid values : True/False
# Default value : False
# Mandatory : No
#—————————————————————————–
olsConfiguration=false
#—————————————————————————–
# Name : datafileJarLocation
# Datatype : String
# Description : Location of the data file jar
# Valid values : Directory containing compressed datafile jar
# Default value : None
# Mandatory : No
#—————————————————————————–
datafileJarLocation={ORACLE_HOME}/assistants/dbca/templates/
#—————————————————————————–
# Name : datafileDestination
# Datatype : String
# Description : Location of the data file’s
# Valid values : Directory for all the database files
# Default value : $ORACLE_BASE/oradata
# Mandatory : No
#—————————————————————————–
datafileDestination={ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/
#—————————————————————————–
# Name : recoveryAreaDestination
# Datatype : String
# Description : Location of the data file’s
# Valid values : Recovery Area location
# Default value : $ORACLE_BASE/flash_recovery_area
# Mandatory : No
#—————————————————————————–
recoveryAreaDestination={ORACLE_BASE}/fast_recovery_area/{DB_UNIQUE_NAME}
#—————————————————————————–
# Name : storageType
# Datatype : String
# Description : Specifies the storage on which the database is to be created
# Valid values : FS (CFS for RAC), ASM
# Default value : FS
# Mandatory : No
#—————————————————————————–
storageType=FS
#—————————————————————————–
# Name : diskGroupName
# Datatype : String
# Description : Specifies the disk group name for the storage
# Default value : DATA
# Mandatory : No
#—————————————————————————–
diskGroupName=
#—————————————————————————–
# Name : asmsnmpPassword
# Datatype : String
# Description : Password for ASM Monitoring
# Default value : None
# Mandatory : No
#—————————————————————————–
asmsnmpPassword=
#—————————————————————————–
# Name : recoveryGroupName
# Datatype : String
# Description : Specifies the disk group name for the recovery area
# Default value : RECOVERY
# Mandatory : No
#—————————————————————————–
recoveryGroupName=
#—————————————————————————–
# Name : characterSet
# Datatype : String
# Description : Character set of the database
# Valid values : Check Oracle12c National Language Support Guide
# Default value : “US7ASCII”
# Mandatory : NO
#—————————————————————————–
characterSet=AL32UTF8
#—————————————————————————–
# Name : nationalCharacterSet
# Datatype : String
# Description : National Character set of the database
# Valid values : “UTF8” or “AL16UTF16”. For details, check Oracle12c National Language Support Guide
# Default value : “AL16UTF16”
# Mandatory : No
#—————————————————————————–
nationalCharacterSet=
#—————————————————————————–
# Name : registerWithDirService
# Datatype : Boolean
# Description : Specifies whether to register with Directory Service.
# Valid values : TRUE \ FALSE
# Default value : FALSE
# Mandatory : No
#—————————————————————————–
registerWithDirService=false
#—————————————————————————–
# Name : dirServiceUserName
# Datatype : String
# Description : Specifies the name of the directory service user
# Mandatory : YES, if the value of registerWithDirService is TRUE
#—————————————————————————–
dirServiceUserName=
#—————————————————————————–
# Name : dirServicePassword
# Datatype : String
# Description : The password of the directory service user.
# You can also specify the password at the command prompt instead of here.
# Mandatory : YES, if the value of registerWithDirService is TRUE
#—————————————————————————–
dirServicePassword=
#—————————————————————————–
# Name : walletPassword
# Datatype : String
# Description : The password for wallet to created or modified.
# You can also specify the password at the command prompt instead of here.
# Mandatory : YES, if the value of registerWithDirService is TRUE
#—————————————————————————–
walletPassword=
#—————————————————————————–
# Name : listeners
# Datatype : String
# Description : Specifies list of listeners to register the database with.
# By default the database is configured for all the listeners specified in the
# $ORACLE_HOME/network/admin/listener.ora
# Valid values : The list should be comma separated like “listener1,listener2”.
# Mandatory : NO
#—————————————————————————–
listeners=
#—————————————————————————–
# Name : variablesFile
# Datatype : String
# Description : Location of the file containing variable value pair
# Valid values : A valid file-system file. The variable value pair format in this file
# is <variable>=<value>. Each pair should be in a new line.
# Default value : None
# Mandatory : NO
#—————————————————————————–
variablesFile=
#—————————————————————————–
# Name : variables
# Datatype : String
# Description : comma separated list of name=value pairs. Overrides variables defined in variablefile and templates
# Default value : None
# Mandatory : NO
#—————————————————————————–
variables=ORACLE_BASE_HOME=/u01/app/oracle/product/19.0.0.0/dbhome_1,DB_UNIQUE_NAME=DEVCDB,ORACLE_BASE=/u01/app/oracle,PDB_NAME=,DB_NAME=DEVCDB,ORACLE_HOME=/u01/app/oracle/product/19.0.0.0/dbhome_1,SID=DEVCDB
#—————————————————————————–
# Name : initParams
# Datatype : String
# Description : comma separated list of name=value pairs. Overrides initialization parameters defined in templates
# Default value : None
# Mandatory : NO
#—————————————————————————–
initParams=undo_tablespace=UNDOTBS1,sga_target=3507MB,db_block_size=8KB,dispatchers=(PROTOCOL=TCP) (SERVICE={SID}XDB),diagnostic_dest={ORACLE_BASE},remote_login_passwordfile=EXCLUSIVE,db_create_file_dest={ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/,audit_file_dest={ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/adump,processes=300,pga_aggregate_target=1169MB,db_recovery_file_dest_size=12732MB,open_cursors=300,compatible=19.0.0,db_name=DEVCDB,db_recovery_file_dest={ORACLE_BASE}/fast_recovery_area/{DB_UNIQUE_NAME},audit_trail=db
#—————————————————————————–
# Name : sampleSchema
# Datatype : Boolean
# Description : Specifies whether or not to add the Sample Schemas to your database
# Valid values : TRUE \ FALSE
# Default value : FASLE
# Mandatory : No
#—————————————————————————–
sampleSchema=false
#—————————————————————————–
# Name : memoryPercentage
# Datatype : String
# Description : percentage of physical memory for Oracle
# Default value : None
# Mandatory : NO
#—————————————————————————–
memoryPercentage=40
#—————————————————————————–
# Name : databaseType
# Datatype : String
# Description : used for memory distribution when memoryPercentage specified
# Valid values : MULTIPURPOSE|DATA_WAREHOUSING|OLTP
# Default value : MULTIPURPOSE
# Mandatory : NO
#—————————————————————————–
databaseType=MULTIPURPOSE
#—————————————————————————–
# Name : automaticMemoryManagement
# Datatype : Boolean
# Description : flag to indicate Automatic Memory Management is used
# Valid values : TRUE/FALSE
# Default value : TRUE
# Mandatory : NO
#—————————————————————————–
automaticMemoryManagement=false
#—————————————————————————–
# Name : totalMemory
# Datatype : String
# Description : total memory in MB to allocate to Oracle
# Valid values :
# Default value :
# Mandatory : NO
#—————————————————————————–
totalMemory=0
[oracle@oraclelab1 ~]$
Sample Response File:
[oracle@oraclelab2 ~]$ cat /home/oracle/dbca_DEVDB_ASM.rsp
##############################################################################
## ##
## DBCA response file ##
## —————— ##
## Copyright(c) Oracle Corporation 1998,2021. All rights reserved. ##
## ##
## Specify values for the variables listed below to customize ##
## your installation. ##
## ##
## Each variable is associated with a comment. The comment ##
## can help to populate the variables with the appropriate ##
## values. ##
## ##
## IMPORTANT NOTE: This file contains plain text passwords and ##
## should be secured to have read permission only by oracle user ##
## or db administrator who owns this installation. ##
##############################################################################
#——————————————————————————-
# Do not change the following system generated value.
#——————————————————————————-
responseFileVersion=/oracle/assistants/rspfmt_dbca_response_schema_v12.2.0
#—————————————————————————–
# Name : gdbName
# Datatype : String
# Description : Global database name of the database
# Valid values : <db_name>.<db_domain> – when database domain isn’t NULL
# <db_name> – when database domain is NULL
# Default value : None
# Mandatory : Yes
#—————————————————————————–
gdbName=DEVDB
#—————————————————————————–
# Name : sid
# Datatype : String
# Description : System identifier (SID) of the database
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : <db_name> specified in GDBNAME
# Mandatory : No
#—————————————————————————–
sid=DEVDB
#—————————————————————————–
# Name : databaseConfigType
# Datatype : String
# Description : database conf type as Single Instance, Real Application Cluster or Real Application Cluster One Nodes database
# Valid values : SI\RAC\RACONENODE
# Default value : SI
# Mandatory : No
#—————————————————————————–
databaseConfigType=SI
#—————————————————————————–
# Name : RACOneNodeServiceName
# Datatype : String
# Description : Service is required by application to connect to RAC One
# Node Database
# Valid values : Service Name
# Default value : None
# Mandatory : No [required in case DATABASECONFTYPE is set to RACONENODE ]
#—————————————————————————–
RACOneNodeServiceName=
#—————————————————————————–
# Name : policyManaged
# Datatype : Boolean
# Description : Set to true if Database is policy managed and
# set to false if Database is admin managed
# Valid values : TRUE\FALSE
# Default value : FALSE
# Mandatory : No
#—————————————————————————–
policyManaged=false
#—————————————————————————–
# Name : createServerPool
# Datatype : Boolean
# Description : Set to true if new server pool need to be created for database
# if this option is specified then the newly created database
# will use this newly created serverpool.
# Multiple serverpoolname can not be specified for database
# Valid values : TRUE\FALSE
# Default value : FALSE
# Mandatory : No
#—————————————————————————–
createServerPool=false
#—————————————————————————–
# Name : serverPoolName
# Datatype : String
# Description : Only one serverpool name need to be specified
# if Create Server Pool option is specified.
# Comma-separated list of Serverpool names if db need to use
# multiple Server pool
# Valid values : ServerPool name
# Default value : None
# Mandatory : No [required in case of RAC service centric database]
#—————————————————————————–
serverPoolName=
#—————————————————————————–
# Name : cardinality
# Datatype : Number
# Description : Specify Cardinality for create server pool operation
# Valid values : any positive Integer value
# Default value : Number of qualified nodes on cluster
# Mandatory : No [Required when a new serverpool need to be created]
#—————————————————————————–
cardinality=
#—————————————————————————–
# Name : force
# Datatype : Boolean
# Description : Set to true if new server pool need to be created by force
# if this option is specified then the newly created serverpool
# will be assigned server even if no free servers are available.
# This may affect already running database.
# This flag can be specified for Admin managed as well as policy managed db.
# Valid values : TRUE\FALSE
# Default value : FALSE
# Mandatory : No
#—————————————————————————–
force=false
#—————————————————————————–
# Name : pqPoolName
# Datatype : String
# Description : Only one serverpool name needs to be specified
# if create server pool option is specified.
# Comma-separated list of serverpool names if use
# server pool. This is required to
# create Parallel Query (PQ) database. Applicable to Big Cluster
# Valid values : Parallel Query (PQ) pool name
# Default value : None
# Mandatory : No [required in case of RAC service centric database]
#—————————————————————————–
pqPoolName=
#—————————————————————————–
# Name : pqCardinality
# Datatype : Number
# Description : Specify Cardinality for create server pool operation.
# Applicable to Big Cluster
# Valid values : any positive Integer value
# Default value : Number of qualified nodes on cluster
# Mandatory : No [Required when a new serverpool need to be created]
#—————————————————————————–
pqCardinality=
#—————————————————————————–
# Name : createAsContainerDatabase
# Datatype : boolean
# Description : flag to create database as container database
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : false
# Mandatory : No
#—————————————————————————–
createAsContainerDatabase=false
#—————————————————————————–
# Name : numberOfPDBs
# Datatype : Number
# Description : Specify the number of pdb to be created
# Valid values : 0 to 252
# Default value : 0
# Mandatory : No
#—————————————————————————–
numberOfPDBs=0
#—————————————————————————–
# Name : pdbName
# Datatype : String
# Description : Specify the pdbname/pdbanme prefix if one or more pdb need to be created
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : No
#—————————————————————————–
pdbName=
#—————————————————————————–
# Name : useLocalUndoForPDBs
# Datatype : boolean
# Description : Flag to create local undo tablespace for all PDB’s.
# Valid values : TRUE\FALSE
# Default value : TRUE
# Mandatory : No
#—————————————————————————–
useLocalUndoForPDBs=true
#—————————————————————————–
# Name : pdbAdminPassword
# Datatype : String
# Description : PDB Administrator user password
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : No
#—————————————————————————–
pdbAdminPassword=
#—————————————————————————–
# Name : nodelist
# Datatype : String
# Description : Comma-separated list of cluster nodes
# Valid values : Cluster node names
# Default value : None
# Mandatory : No (Yes for RAC database-centric database )
#—————————————————————————–
nodelist=
#—————————————————————————–
# Name : templateName
# Datatype : String
# Description : Name of the template
# Valid values : Template file name
# Default value : None
# Mandatory : Yes
#—————————————————————————–
templateName=/u01/app/oracle/product/19.0.0.0/dbhome_1/assistants/dbca/templates/General_Purpose.dbc
#—————————————————————————–
# Name : sysPassword
# Datatype : String
# Description : Password for SYS user
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : Yes
#—————————————————————————–
sysPassword=
#—————————————————————————–
# Name : systemPassword
# Datatype : String
# Description : Password for SYSTEM user
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : Yes
#—————————————————————————–
systemPassword=
#—————————————————————————–
# Name : serviceUserPassword
# Datatype : String
# Description : Password for Windows Service user
# Default value : None
# Mandatory : If Oracle home is installed with windows service user
#—————————————————————————–
serviceUserPassword=
#—————————————————————————–
# Name : emConfiguration
# Datatype : String
# Description : Enterprise Manager Configuration Type
# Valid values : CENTRAL|DBEXPRESS|BOTH|NONE
# Default value : NONE
# Mandatory : No
#—————————————————————————–
emConfiguration=
#—————————————————————————–
# Name : emExpressPort
# Datatype : Number
# Description : Enterprise Manager Configuration Type
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : NONE
# Mandatory : No, will be picked up from DBEXPRESS_HTTPS_PORT env variable
# or auto generates a free port between 5500 and 5599
#—————————————————————————–
emExpressPort=5500
#—————————————————————————–
# Name : runCVUChecks
# Datatype : Boolean
# Description : Specify whether to run Cluster Verification Utility checks
# periodically in Cluster environment
# Valid values : TRUE\FALSE
# Default value : FALSE
# Mandatory : No
#—————————————————————————–
runCVUChecks=FALSE
#—————————————————————————–
# Name : dbsnmpPassword
# Datatype : String
# Description : Password for DBSNMP user
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : Yes, if emConfiguration is specified or
# the value of runCVUChecks is TRUE
#—————————————————————————–
dbsnmpPassword=
#—————————————————————————–
# Name : omsHost
# Datatype : String
# Description : EM management server host name
# Default value : None
# Mandatory : Yes, if CENTRAL is specified for emConfiguration
#—————————————————————————–
omsHost=
#—————————————————————————–
# Name : omsPort
# Datatype : Number
# Description : EM management server port number
# Default value : None
# Mandatory : Yes, if CENTRAL is specified for emConfiguration
#—————————————————————————–
omsPort=0
#—————————————————————————–
# Name : emUser
# Datatype : String
# Description : EM Admin username to add or modify targets
# Default value : None
# Mandatory : Yes, if CENTRAL is specified for emConfiguration
#—————————————————————————–
emUser=
#—————————————————————————–
# Name : emPassword
# Datatype : String
# Description : EM Admin user password
# Default value : None
# Mandatory : Yes, if CENTRAL is specified for emConfiguration
#—————————————————————————–
emPassword=
#—————————————————————————–
# Name : dvConfiguration
# Datatype : Boolean
# Description : Specify “True” to configure and enable Oracle Database vault
# Valid values : True/False
# Default value : False
# Mandatory : No
#—————————————————————————–
dvConfiguration=false
#—————————————————————————–
# Name : dvUserName
# Datatype : String
# Description : DataVault Owner
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : Yes, if DataVault option is chosen
#—————————————————————————–
dvUserName=
#—————————————————————————–
# Name : dvUserPassword
# Datatype : String
# Description : Password for DataVault Owner
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : Yes, if DataVault option is chosen
#—————————————————————————–
dvUserPassword=
#—————————————————————————–
# Name : dvAccountManagerName
# Datatype : String
# Description : DataVault Account Manager
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : No
#—————————————————————————–
dvAccountManagerName=
#—————————————————————————–
# Name : dvAccountManagerPassword
# Datatype : String
# Description : Password for DataVault Account Manager
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : No
#—————————————————————————–
dvAccountManagerPassword=
#—————————————————————————–
# Name : olsConfiguration
# Datatype : Boolean
# Description : Specify “True” to configure and enable Oracle Label Security
# Valid values : True/False
# Default value : False
# Mandatory : No
#—————————————————————————–
olsConfiguration=false
#—————————————————————————–
# Name : datafileJarLocation
# Datatype : String
# Description : Location of the data file jar
# Valid values : Directory containing compressed datafile jar
# Default value : None
# Mandatory : No
#—————————————————————————–
datafileJarLocation={ORACLE_HOME}/assistants/dbca/templates/
#—————————————————————————–
# Name : datafileDestination
# Datatype : String
# Description : Location of the data file’s
# Valid values : Directory for all the database files
# Default value : $ORACLE_BASE/oradata
# Mandatory : No
#—————————————————————————–
datafileDestination=+DATA/{DB_UNIQUE_NAME}/
#—————————————————————————–
# Name : recoveryAreaDestination
# Datatype : String
# Description : Location of the data file’s
# Valid values : Recovery Area location
# Default value : $ORACLE_BASE/flash_recovery_area
# Mandatory : No
#—————————————————————————–
recoveryAreaDestination=+RECO
#—————————————————————————–
# Name : storageType
# Datatype : String
# Description : Specifies the storage on which the database is to be created
# Valid values : FS (CFS for RAC), ASM
# Default value : FS
# Mandatory : No
#—————————————————————————–
storageType=ASM
#—————————————————————————–
# Name : diskGroupName
# Datatype : String
# Description : Specifies the disk group name for the storage
# Default value : DATA
# Mandatory : No
#—————————————————————————–
diskGroupName=+DATA/{DB_UNIQUE_NAME}/
#—————————————————————————–
# Name : asmsnmpPassword
# Datatype : String
# Description : Password for ASM Monitoring
# Default value : None
# Mandatory : No
#—————————————————————————–
asmsnmpPassword=
#—————————————————————————–
# Name : recoveryGroupName
# Datatype : String
# Description : Specifies the disk group name for the recovery area
# Default value : RECOVERY
# Mandatory : No
#—————————————————————————–
recoveryGroupName=+RECO
#—————————————————————————–
# Name : characterSet
# Datatype : String
# Description : Character set of the database
# Valid values : Check Oracle12c National Language Support Guide
# Default value : “US7ASCII”
# Mandatory : NO
#—————————————————————————–
characterSet=AL32UTF8
#—————————————————————————–
# Name : nationalCharacterSet
# Datatype : String
# Description : National Character set of the database
# Valid values : “UTF8” or “AL16UTF16”. For details, check Oracle12c National Language Support Guide
# Default value : “AL16UTF16”
# Mandatory : No
#—————————————————————————–
nationalCharacterSet=AL16UTF16
#—————————————————————————–
# Name : registerWithDirService
# Datatype : Boolean
# Description : Specifies whether to register with Directory Service.
# Valid values : TRUE \ FALSE
# Default value : FALSE
# Mandatory : No
#—————————————————————————–
registerWithDirService=false
#—————————————————————————–
# Name : dirServiceUserName
# Datatype : String
# Description : Specifies the name of the directory service user
# Mandatory : YES, if the value of registerWithDirService is TRUE
#—————————————————————————–
dirServiceUserName=
#—————————————————————————–
# Name : dirServicePassword
# Datatype : String
# Description : The password of the directory service user.
# You can also specify the password at the command prompt instead of here.
# Mandatory : YES, if the value of registerWithDirService is TRUE
#—————————————————————————–
dirServicePassword=
#—————————————————————————–
# Name : walletPassword
# Datatype : String
# Description : The password for wallet to created or modified.
# You can also specify the password at the command prompt instead of here.
# Mandatory : YES, if the value of registerWithDirService is TRUE
#—————————————————————————–
walletPassword=
#—————————————————————————–
# Name : listeners
# Datatype : String
# Description : Specifies list of listeners to register the database with.
# By default the database is configured for all the listeners specified in the
# $ORACLE_HOME/network/admin/listener.ora
# Valid values : The list should be comma separated like “listener1,listener2”.
# Mandatory : NO
#—————————————————————————–
listeners=
#—————————————————————————–
# Name : skipListenerRegistration
# Datatype : Boolean
# Description : FALSE if no listener chosen for registration, else true.
# Valid values : TRUE/FALSE
# Mandatory : NO
#—————————————————————————–
skipListenerRegistration=true
#—————————————————————————–
# Name : variablesFile
# Datatype : String
# Description : Location of the file containing variable value pair
# Valid values : A valid file-system file. The variable value pair format in this file
# is <variable>=<value>. Each pair should be in a new line.
# Default value : None
# Mandatory : NO
#—————————————————————————–
variablesFile=
#—————————————————————————–
# Name : variables
# Datatype : String
# Description : comma separated list of name=value pairs. Overrides variables defined in variablefile and templates
# Default value : None
# Mandatory : NO
#—————————————————————————–
variables=ORACLE_BASE_HOME=/u01/app/oracle/product/19.0.0.0/dbhome_1,DB_UNIQUE_NAME=DEVDB,ORACLE_BASE=/u01/app/oracle,PDB_NAME=,DB_NAME=DEVDB,ORACLE_HOME=/u01/app/oracle/product/19.0.0.0/dbhome_1,SID=DEVDB
#—————————————————————————–
# Name : initParams
# Datatype : String
# Description : comma separated list of name=value pairs. Overrides initialization parameters defined in templates
# Default value : None
# Mandatory : NO
#—————————————————————————–
initParams=undo_tablespace=UNDOTBS1,sga_target=3522MB,db_block_size=8192BYTES,nls_language=AMERICAN,dispatchers=(PROTOCOL=TCP) (SERVICE=DEVDBXDB),diagnostic_dest={ORACLE_BASE},remote_login_passwordfile=EXCLUSIVE,db_create_file_dest=+DATA/{DB_UNIQUE_NAME}/,audit_file_dest={ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/adump,processes=300,pga_aggregate_target=1174MB,nls_territory=AMERICA,db_recovery_file_dest_size=8256MB,open_cursors=300,compatible=19.0.0,db_name=DEVDB,db_recovery_file_dest=+RECO,audit_trail=db
#—————————————————————————–
# Name : sampleSchema
# Datatype : Boolean
# Description : Specifies whether or not to add the Sample Schemas to your database
# Valid values : TRUE \ FALSE
# Default value : FASLE
# Mandatory : No
#—————————————————————————–
sampleSchema=false
#—————————————————————————–
# Name : memoryPercentage
# Datatype : String
# Description : percentage of physical memory for Oracle
# Default value : None
# Mandatory : NO
#—————————————————————————–
memoryPercentage=40
#—————————————————————————–
# Name : databaseType
# Datatype : String
# Description : used for memory distribution when memoryPercentage specified
# Valid values : MULTIPURPOSE|DATA_WAREHOUSING|OLTP
# Default value : MULTIPURPOSE
# Mandatory : NO
#—————————————————————————–
databaseType=MULTIPURPOSE
#—————————————————————————–
# Name : automaticMemoryManagement
# Datatype : Boolean
# Description : flag to indicate Automatic Memory Management is used
# Valid values : TRUE/FALSE
# Default value : TRUE
# Mandatory : NO
#—————————————————————————–
automaticMemoryManagement=false
#—————————————————————————–
# Name : totalMemory
# Datatype : String
# Description : total memory in MB to allocate to Oracle
# Valid values :
# Default value :
# Mandatory : NO
#—————————————————————————–
totalMemory=0
[oracle@oraclelab2 ~]$
Sample Response File:
[oracle@oraclelab2 ~]$ cat /home/oracle/dbca_TESTCDB_ASM.rsp
##############################################################################
## ##
## DBCA response file ##
## —————— ##
## Copyright(c) Oracle Corporation 1998,2019. All rights reserved. ##
## ##
## Specify values for the variables listed below to customize ##
## your installation. ##
## ##
## Each variable is associated with a comment. The comment ##
## can help to populate the variables with the appropriate ##
## values. ##
## ##
## IMPORTANT NOTE: This file contains plain text passwords and ##
## should be secured to have read permission only by oracle user ##
## or db administrator who owns this installation. ##
##############################################################################
#——————————————————————————-
# Do not change the following system generated value.
#——————————————————————————-
responseFileVersion=/oracle/assistants/rspfmt_dbca_response_schema_v12.2.0
#—————————————————————————–
# Name : gdbName
# Datatype : String
# Description : Global database name of the database
# Valid values : <db_name>.<db_domain> – when database domain isn’t NULL
# <db_name> – when database domain is NULL
# Default value : None
# Mandatory : Yes
#—————————————————————————–
gdbName=TESTCDB
#—————————————————————————–
# Name : sid
# Datatype : String
# Description : System identifier (SID) of the database
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : <db_name> specified in GDBNAME
# Mandatory : No
#—————————————————————————–
sid=TESTCDB
#—————————————————————————–
# Name : databaseConfigType
# Datatype : String
# Description : database conf type as Single Instance, Real Application Cluster or Real Application Cluster One Nodes database
# Valid values : SI\RAC\RACONENODE
# Default value : SI
# Mandatory : No
#—————————————————————————–
databaseConfigType=SI
#—————————————————————————–
# Name : RACOneNodeServiceName
# Datatype : String
# Description : Service is required by application to connect to RAC One
# Node Database
# Valid values : Service Name
# Default value : None
# Mandatory : No [required in case DATABASECONFTYPE is set to RACONENODE ]
#—————————————————————————–
RACOneNodeServiceName=
#—————————————————————————–
# Name : policyManaged
# Datatype : Boolean
# Description : Set to true if Database is policy managed and
# set to false if Database is admin managed
# Valid values : TRUE\FALSE
# Default value : FALSE
# Mandatory : No
#—————————————————————————–
policyManaged=false
#—————————————————————————–
# Name : createServerPool
# Datatype : Boolean
# Description : Set to true if new server pool need to be created for database
# if this option is specified then the newly created database
# will use this newly created serverpool.
# Multiple serverpoolname can not be specified for database
# Valid values : TRUE\FALSE
# Default value : FALSE
# Mandatory : No
#—————————————————————————–
createServerPool=false
#—————————————————————————–
# Name : serverPoolName
# Datatype : String
# Description : Only one serverpool name need to be specified
# if Create Server Pool option is specified.
# Comma-separated list of Serverpool names if db need to use
# multiple Server pool
# Valid values : ServerPool name
# Default value : None
# Mandatory : No [required in case of RAC service centric database]
#—————————————————————————–
serverPoolName=
#—————————————————————————–
# Name : cardinality
# Datatype : Number
# Description : Specify Cardinality for create server pool operation
# Valid values : any positive Integer value
# Default value : Number of qualified nodes on cluster
# Mandatory : No [Required when a new serverpool need to be created]
#—————————————————————————–
cardinality=
#—————————————————————————–
# Name : force
# Datatype : Boolean
# Description : Set to true if new server pool need to be created by force
# if this option is specified then the newly created serverpool
# will be assigned server even if no free servers are available.
# This may affect already running database.
# This flag can be specified for Admin managed as well as policy managed db.
# Valid values : TRUE\FALSE
# Default value : FALSE
# Mandatory : No
#—————————————————————————–
force=false
#—————————————————————————–
# Name : pqPoolName
# Datatype : String
# Description : Only one serverpool name needs to be specified
# if create server pool option is specified.
# Comma-separated list of serverpool names if use
# server pool. This is required to
# create Parallel Query (PQ) database. Applicable to Big Cluster
# Valid values : Parallel Query (PQ) pool name
# Default value : None
# Mandatory : No [required in case of RAC service centric database]
#—————————————————————————–
pqPoolName=
#—————————————————————————–
# Name : pqCardinality
# Datatype : Number
# Description : Specify Cardinality for create server pool operation.
# Applicable to Big Cluster
# Valid values : any positive Integer value
# Default value : Number of qualified nodes on cluster
# Mandatory : No [Required when a new serverpool need to be created]
#—————————————————————————–
pqCardinality=
#—————————————————————————–
# Name : createAsContainerDatabase
# Datatype : boolean
# Description : flag to create database as container database
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : false
# Mandatory : No
#—————————————————————————–
createAsContainerDatabase=true
#—————————————————————————–
# Name : numberOfPDBs
# Datatype : Number
# Description : Specify the number of pdb to be created
# Valid values : 0 to 252
# Default value : 0
# Mandatory : No
#—————————————————————————–
numberOfPDBs=1
#—————————————————————————–
# Name : pdbName
# Datatype : String
# Description : Specify the pdbname/pdbanme prefix if one or more pdb need to be created
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : No
#—————————————————————————–
pdbName=TESTPDB
#—————————————————————————–
# Name : useLocalUndoForPDBs
# Datatype : boolean
# Description : Flag to create local undo tablespace for all PDB’s.
# Valid values : TRUE\FALSE
# Default value : TRUE
# Mandatory : No
#—————————————————————————–
useLocalUndoForPDBs=true
#—————————————————————————–
# Name : pdbAdminPassword
# Datatype : String
# Description : PDB Administrator user password
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : No
#—————————————————————————–
pdbAdminPassword=
#—————————————————————————–
# Name : nodelist
# Datatype : String
# Description : Comma-separated list of cluster nodes
# Valid values : Cluster node names
# Default value : None
# Mandatory : No (Yes for RAC database-centric database )
#—————————————————————————–
nodelist=
#—————————————————————————–
# Name : templateName
# Datatype : String
# Description : Name of the template
# Valid values : Template file name
# Default value : None
# Mandatory : Yes
#—————————————————————————–
templateName=/u01/app/oracle/product/19.0.0.0/dbhome_1/assistants/dbca/templates/General_Purpose.dbc
#—————————————————————————–
# Name : sysPassword
# Datatype : String
# Description : Password for SYS user
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : Yes
#—————————————————————————–
sysPassword=
#—————————————————————————–
# Name : systemPassword
# Datatype : String
# Description : Password for SYSTEM user
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : Yes
#—————————————————————————–
systemPassword=
#—————————————————————————–
# Name : serviceUserPassword
# Datatype : String
# Description : Password for Windows Service user
# Default value : None
# Mandatory : If Oracle home is installed with windows service user
#—————————————————————————–
serviceUserPassword=
#—————————————————————————–
# Name : emConfiguration
# Datatype : String
# Description : Enterprise Manager Configuration Type
# Valid values : CENTRAL|DBEXPRESS|BOTH|NONE
# Default value : NONE
# Mandatory : No
#—————————————————————————–
emConfiguration=
#—————————————————————————–
# Name : emExpressPort
# Datatype : Number
# Description : Enterprise Manager Configuration Type
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : NONE
# Mandatory : No, will be picked up from DBEXPRESS_HTTPS_PORT env variable
# or auto generates a free port between 5500 and 5599
#—————————————————————————–
emExpressPort=0
#—————————————————————————–
# Name : runCVUChecks
# Datatype : Boolean
# Description : Specify whether to run Cluster Verification Utility checks
# periodically in Cluster environment
# Valid values : TRUE\FALSE
# Default value : FALSE
# Mandatory : No
#—————————————————————————–
runCVUChecks=FALSE
#—————————————————————————–
# Name : dbsnmpPassword
# Datatype : String
# Description : Password for DBSNMP user
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : Yes, if emConfiguration is specified or
# the value of runCVUChecks is TRUE
#—————————————————————————–
dbsnmpPassword=
#—————————————————————————–
# Name : omsHost
# Datatype : String
# Description : EM management server host name
# Default value : None
# Mandatory : Yes, if CENTRAL is specified for emConfiguration
#—————————————————————————–
omsHost=
#—————————————————————————–
# Name : omsPort
# Datatype : Number
# Description : EM management server port number
# Default value : None
# Mandatory : Yes, if CENTRAL is specified for emConfiguration
#—————————————————————————–
omsPort=0
#—————————————————————————–
# Name : emUser
# Datatype : String
# Description : EM Admin username to add or modify targets
# Default value : None
# Mandatory : Yes, if CENTRAL is specified for emConfiguration
#—————————————————————————–
emUser=
#—————————————————————————–
# Name : emPassword
# Datatype : String
# Description : EM Admin user password
# Default value : None
# Mandatory : Yes, if CENTRAL is specified for emConfiguration
#—————————————————————————–
emPassword=
#—————————————————————————–
# Name : dvConfiguration
# Datatype : Boolean
# Description : Specify “True” to configure and enable Oracle Database vault
# Valid values : True/False
# Default value : False
# Mandatory : No
#—————————————————————————–
dvConfiguration=false
#—————————————————————————–
# Name : dvUserName
# Datatype : String
# Description : DataVault Owner
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : Yes, if DataVault option is chosen
#—————————————————————————–
dvUserName=
#—————————————————————————–
# Name : dvUserPassword
# Datatype : String
# Description : Password for DataVault Owner
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : Yes, if DataVault option is chosen
#—————————————————————————–
dvUserPassword=
#—————————————————————————–
# Name : dvAccountManagerName
# Datatype : String
# Description : DataVault Account Manager
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : No
#—————————————————————————–
dvAccountManagerName=
#—————————————————————————–
# Name : dvAccountManagerPassword
# Datatype : String
# Description : Password for DataVault Account Manager
# Valid values : Check Oracle12c Administrator’s Guide
# Default value : None
# Mandatory : No
#—————————————————————————–
dvAccountManagerPassword=
#—————————————————————————–
# Name : olsConfiguration
# Datatype : Boolean
# Description : Specify “True” to configure and enable Oracle Label Security
# Valid values : True/False
# Default value : False
# Mandatory : No
#—————————————————————————–
olsConfiguration=false
#—————————————————————————–
# Name : datafileJarLocation
# Datatype : String
# Description : Location of the data file jar
# Valid values : Directory containing compressed datafile jar
# Default value : None
# Mandatory : No
#—————————————————————————–
datafileJarLocation={ORACLE_HOME}/assistants/dbca/templates/
#—————————————————————————–
# Name : datafileDestination
# Datatype : String
# Description : Location of the data file’s
# Valid values : Directory for all the database files
# Default value : $ORACLE_BASE/oradata
# Mandatory : No
#—————————————————————————–
datafileDestination=+DATA/{DB_UNIQUE_NAME}/
#—————————————————————————–
# Name : recoveryAreaDestination
# Datatype : String
# Description : Location of the data file’s
# Valid values : Recovery Area location
# Default value : $ORACLE_BASE/flash_recovery_area
# Mandatory : No
#—————————————————————————–
recoveryAreaDestination=+RECO
#—————————————————————————–
# Name : storageType
# Datatype : String
# Description : Specifies the storage on which the database is to be created
# Valid values : FS (CFS for RAC), ASM
# Default value : FS
# Mandatory : No
#—————————————————————————–
storageType=ASM
#—————————————————————————–
# Name : diskGroupName
# Datatype : String
# Description : Specifies the disk group name for the storage
# Default value : DATA
# Mandatory : No
#—————————————————————————–
diskGroupName=+DATA/{DB_UNIQUE_NAME}/
#—————————————————————————–
# Name : asmsnmpPassword
# Datatype : String
# Description : Password for ASM Monitoring
# Default value : None
# Mandatory : No
#—————————————————————————–
asmsnmpPassword=
#—————————————————————————–
# Name : recoveryGroupName
# Datatype : String
# Description : Specifies the disk group name for the recovery area
# Default value : RECOVERY
# Mandatory : No
#—————————————————————————–
recoveryGroupName=+RECO
#—————————————————————————–
# Name : characterSet
# Datatype : String
# Description : Character set of the database
# Valid values : Check Oracle12c National Language Support Guide
# Default value : “US7ASCII”
# Mandatory : NO
#—————————————————————————–
characterSet=AL32UTF8
#—————————————————————————–
# Name : nationalCharacterSet
# Datatype : String
# Description : National Character set of the database
# Valid values : “UTF8” or “AL16UTF16”. For details, check Oracle12c National Language Support Guide
# Default value : “AL16UTF16”
# Mandatory : No
#—————————————————————————–
nationalCharacterSet=
#—————————————————————————–
# Name : registerWithDirService
# Datatype : Boolean
# Description : Specifies whether to register with Directory Service.
# Valid values : TRUE \ FALSE
# Default value : FALSE
# Mandatory : No
#—————————————————————————–
registerWithDirService=false
#—————————————————————————–
# Name : dirServiceUserName
# Datatype : String
# Description : Specifies the name of the directory service user
# Mandatory : YES, if the value of registerWithDirService is TRUE
#—————————————————————————–
dirServiceUserName=
#—————————————————————————–
# Name : dirServicePassword
# Datatype : String
# Description : The password of the directory service user.
# You can also specify the password at the command prompt instead of here.
# Mandatory : YES, if the value of registerWithDirService is TRUE
#—————————————————————————–
dirServicePassword=
#—————————————————————————–
# Name : walletPassword
# Datatype : String
# Description : The password for wallet to created or modified.
# You can also specify the password at the command prompt instead of here.
# Mandatory : YES, if the value of registerWithDirService is TRUE
#—————————————————————————–
walletPassword=
#—————————————————————————–
# Name : listeners
# Datatype : String
# Description : Specifies list of listeners to register the database with.
# By default the database is configured for all the listeners specified in the
# $ORACLE_HOME/network/admin/listener.ora
# Valid values : The list should be comma separated like “listener1,listener2”.
# Mandatory : NO
#—————————————————————————–
listeners=LISTENER
#—————————————————————————–
# Name : variablesFile
# Datatype : String
# Description : Location of the file containing variable value pair
# Valid values : A valid file-system file. The variable value pair format in this file
# is <variable>=<value>. Each pair should be in a new line.
# Default value : None
# Mandatory : NO
#—————————————————————————–
variablesFile=
#—————————————————————————–
# Name : variables
# Datatype : String
# Description : comma separated list of name=value pairs. Overrides variables defined in variablefile and templates
# Default value : None
# Mandatory : NO
#—————————————————————————–
variables=ORACLE_BASE_HOME=/u01/app/oracle/product/19.0.0.0/dbhome_1,DB_UNIQUE_NAME=TESTCDB,ORACLE_BASE=/u01/app/oracle,PDB_NAME=,DB_NAME=TESTCDB,ORACLE_HOME=/u01/app/oracle/product/19.0.0.0/dbhome_1,SID=TESTCDB
#—————————————————————————–
# Name : initParams
# Datatype : String
# Description : comma separated list of name=value pairs. Overrides initialization parameters defined in templates
# Default value : None
# Mandatory : NO
#—————————————————————————–
initParams=undo_tablespace=UNDOTBS1,sga_target=3522MB,db_block_size=8KB,dispatchers=(PROTOCOL=TCP) (SERVICE={SID}XDB),diagnostic_dest={ORACLE_BASE},remote_login_passwordfile=EXCLUSIVE,db_create_file_dest=+DATA/{DB_UNIQUE_NAME}/,audit_file_dest={ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/adump,processes=300,pga_aggregate_target=1174MB,local_listener=LISTENER_TESTCDB,db_recovery_file_dest_size=12732MB,open_cursors=300,compatible=19.0.0,db_name=TESTCDB,db_recovery_file_dest=+RECO,audit_trail=db
#—————————————————————————–
# Name : sampleSchema
# Datatype : Boolean
# Description : Specifies whether or not to add the Sample Schemas to your database
# Valid values : TRUE \ FALSE
# Default value : FASLE
# Mandatory : No
#—————————————————————————–
sampleSchema=false
#—————————————————————————–
# Name : memoryPercentage
# Datatype : String
# Description : percentage of physical memory for Oracle
# Default value : None
# Mandatory : NO
#—————————————————————————–
memoryPercentage=40
#—————————————————————————–
# Name : databaseType
# Datatype : String
# Description : used for memory distribution when memoryPercentage specified
# Valid values : MULTIPURPOSE|DATA_WAREHOUSING|OLTP
# Default value : MULTIPURPOSE
# Mandatory : NO
#—————————————————————————–
databaseType=MULTIPURPOSE
#—————————————————————————–
# Name : automaticMemoryManagement
# Datatype : Boolean
# Description : flag to indicate Automatic Memory Management is used
# Valid values : TRUE/FALSE
# Default value : TRUE
# Mandatory : NO
#—————————————————————————–
automaticMemoryManagement=false
#—————————————————————————–
# Name : totalMemory
# Datatype : String
# Description : total memory in MB to allocate to Oracle
# Valid values :
# Default value :
# Mandatory : NO
#—————————————————————————–
totalMemory=0
[oracle@oraclelab2 ~]$
Regards,
Mallik