Using dbca response files – Oracle Audio Technologies ORACLE9I B10508-01 User Manual

Page 80

Advertising
background image

Database Configuration Assistant (DBCA)

5-4

Oracle9i Installation Guide Release 2 (9.2.0.2) for HP Alpha OpenVMS

-templateName copy_of_ora9i

-datafileJarLocation /disk$disk1/oracle9i/ora9i/assistants/dbca/templates

Then, assuming that the ORACLE_HOME environment is set up by executing the
orauser script, invoke DBCA. Log files for creating a seed template are located in
the <ORACLE_HOME>[.assistants.dbca.logs] directory.

Using DBCA Response Files

An alternative to creating an argument file to pass command line options to DBCA
is to use a response file. A sample response file (dbca.rsp) is provided in the
<ORACLE_HOME>[.assistants.dbca]

directory. Make a copy of this file and

customize it as necessary. Follow the instructions that are contained in comments.
The value that is specified for the CREATE_TYPE field determines which of the
other sections are applicable. Each field has a comment header block with the
following entries: Name, Datatype, Description, Valid values, Default value, and
Mandatory (Yes/No) descriptions.

For example:

#-----------------------------------------------------------------------------

# Name : CREATE_TYPE

# Datatype : String

# Description : Type of database creation

# Valid values : "createDatabase" \ "createTemplateFromDB" \

# "createCloneTemplate"

# Default value : None

# Mandatory : Yes

#-----------------------------------------------------------------------------

CREATE_TYPE = "createDatabase"

All mandatory values must be provided, but only for the applicable sections as
indicated by the CREATE_TYPE value. After customizing the response file, invoke
DBCA, passing the name of the response file on the command line, as follows:

$ dbca –silent –responseFile <full_response_file_name>

Note:

Either VMS-style arguments or UNIX-style arguments may

be used in fields that are contained within a response file, but the
response file argument that is passed to the DBCA.COM script on
the command line with the –responseFile keyword must be in
VMS-style syntax.

Advertising