Database Configuration Assistant (DBCA)
Post-Installation
5-3
The following sections contain examples that illustrate the use of silent mode.
DBCA Silent Mode Example 1: Creating a Clone Database
To create a clone database, enter the following into SYS$SCRATCH:DBCA.ARGS:
-silent
-createDatabase
-templateName Transaction_Processing.dbc
-gdbname ora9i
-sid ora9i
-datafileJarLocation /disk$disk1/oracle9i/ora9i/assistants/dbca/templates
-datafileDestination /disk$disk1/oracle9i/ora9i/oradata
-responseFile NO_VALUE
-characterset WE8ISO8859P1
Then, assuming that the ORACLE_HOME environment is set up by executing:
$ @<ORACLE_HOME>orauser
invoke DBCA. Log files are located in the same place as with an interactive install.
In this example:
Disk$disk1:[oracle9i.ora9i.admin.ora9i.create]
Also, check the
<ORACLE_HOME>[.assistants.dbca.logs]
directory.
DBCA Silent Mode Example 2: Creating a Seed Template
To create a seed template, enter the following into SYS$SCRATCH:DBCA.ARGS:
-silent
-createCloneTemplate
-sourceDB ora9i
-sysDBAUserName sys
-sysDBAPassword change_on_install
Note:
Because the DBCA design (in a similar manner to that of the
Oracle Universal Installer) causes GUI classes to be loaded (even in
silent mode), a silent installation still requires an X connection.
Note:
Either VMS-style arguments or UNIX-style arguments may
be used in the arguments that are contained in an argument file.