Using Oracle DBCA Commands for Noninteractive (Silent) Configuration for Oracle RAC

Use createDatabase command to create an Oracle RAC database using Oracle DBCA.

  1. Use the following command syntax to create an Oracle Real Application Clusters (Oracle RAC) database using the general purpose template and AUTOMATIC management policy, placing the data files in an existing Oracle ASM disk group, configuring a TDE wallet, and defining default encryption algorithm during the database creation. It also configures Oracle Machine Learning for Python in the database and sets the SYS, SYSTEM, and DBSNMP passwords to password, which is the password for each account:
    $ORACLE_HOME/bin/dbca -silent -createDatabase -templateName "General_Purpose.dbc" \
    -gdbName gdb_name -sid SID_prefix \
    -storageType ASM -diskGroupName DATA -nodelist node1,node2 -characterset WE8MSWIN1252 \
    -recoveryAreaDestination RECO -databaseType "MULTIPURPOSE" \
    -createAsContainerDatabase true -numberofPDBs 2 -pdbName rracwpdb

    Nodes node1 and node2 are the cluster nodes on which Oracle RAC database instances are created. The disk group name is DATA.

    See Also:

    Oracle Multitenant Administrator's Guide for a complete description of Oracle Database Configuration Assistant (Oracle DBCA) commands and options