Skip Headers
Oracle® Database Vault Installation Guide
10g Release 2 (10.2) for Microsoft Windows (32-Bit)

Part Number B32384-03
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

B Using Response Files

This appendix describes how to install Oracle Database Vault using a response file. It includes the following topics:

B.1 How Response Files Work

You can automate the installation and configuration of Oracle software by specifying a response file when you start Oracle Universal Installer. Oracle Universal Installer uses the values contained in the response file to provide answers to some or all of Oracle Universal Installer prompts.

Typically, Oracle Universal Installer runs in interactive mode, which means that it prompts you to provide information in graphical user interface (GUI) screens. When you use response files to provide this information, you run Oracle Universal Installer at a command prompt using the silent mode.

During a silent mode installation, Oracle Universal Installer does not display any screens. Instead, it displays progress information in the terminal that you used to start it.

You define the settings for a silent mode installation by entering values for the variables listed in the response file. For instance, to specify the Oracle home, you would supply the appropriate value for the ORACLE_HOME variable, as in the following example:

ORACLE_HOME = "C:\oracle\product\10.2.0\OraDBHome1"

Another way of specifying the response file's variable settings is to pass them as command line arguments when you run Oracle Universal Installer. For example:

SYSTEM_DRIVE:\setup.exe_location> setup -silent "ORACLE_HOME=C:\oracle\product\10.2.0\OraDBHome1" ...

This method is particularly useful if you do not want to embed sensitive information, such as passwords, in the response file. For example:

SYSTEM_DRIVE:\setup.exe_location> setup -silent "s_ownerPasswd=binks342" ...

Ensure that you enclose the variable and its setting in double quotation marks (" ").

See Also:

Oracle Universal Installer and OPatch User's Guide for more information about response file formats

B.1.1 General Procedure for Using Response Files

The following are the general steps to install and configure Oracle products using Oracle Universal Installer in silent mode:

Note:

You must complete all required preinstallation tasks on a system before running Oracle Universal Installer in silent mode.
  1. Prepare a response file.

  2. Run Oracle Universal Installer in silent mode.

B.2 Installing Database Vault Using a Response File

Use the following steps to install Database Vault using a response file:

  1. Prepare the Response File

  2. Run Oracle Universal Installer Using the Response File

B.2.1 Prepare the Response File

Oracle Database Vault comes with a response file template (dv.rsp) that you can edit to customize your installation. You can use this response file for silent mode installations.

The dv.rsp file is located in the response directory on the installation media. Use the following steps to copy and modify the response file:

  1. Copy the response file from the Disk1\response directory to a directory on your system.

  2. Open the response file in a text editor.

    The response file contains variables that store information required by Oracle Universal Installer. You need to set these variable values in the file. For example, you need to specify values for the Oracle home location, Database Vault owner name, and other such information required by Oracle Universal Installer.

    The response file contains two parts. You should edit the variables only in the first part. The second part of the file contains preset variables, which must not be edited. This instruction is also provided in the response file.

    Some of the variables are mandatory while others are optional. The mandatory variables must be supplied for a successful installation. Each variable is explained within the response file. Examples are also provided within the response file.

    The following excerpt from the response file shows instructions related to setting the Oracle home variable:

    #-----------------------------------------------------------------------------
    --
    #Name       : ORACLE_HOME
    #Datatype   : String
    #Description: Complete path of the existing 10.2.0.5.0 database Oracle
    #             Home into which Oracle Database Vault will be installed.
    #
    #Requirement: 1) Must have Oracle Database Enterprise Edition release 
    #                10.2.0.5.0 installed.
    #             2) Must have Oracle Enterprise Manager Console DB version
    #                10.2.0.5.0 installed. 
    #             3) Cannot contain an Automatic Storage Management(ASM) instance.
    #             4) Cannot contain Oracle Database Vault.
    #
    #Example: ORACLE_HOME = "C:\OHOME1"
    #-----------------------------------------------------------------------------
    --
    ORACLE_HOME=<Value Required>
    

    Lines starting with a pound sign (#) are comment entries. If you wish to omit an optional variable, you can comment it by adding a pound sign (#) at the beginning of the line. You cannot comment lines containing mandatory variables, like ORACLE_HOME.

    Remember that you can specify sensitive information, such as passwords, at the command line rather than within the response file. "How Response Files Work" explains this method.

    See Also:

    Oracle Universal Installer and OPatch User's Guide for detailed information on creating response files.
  3. Follow the instructions in the file to edit it. Save and close the file.

    Note:

    Oracle Universal Installer fails if you do not correctly configure the response file. Refer to the "Troubleshooting Silent Mode Installation" section for more information about troubleshooting a failed silent mode installation.

B.2.2 Run Oracle Universal Installer Using the Response File

Now, you are ready to run Oracle Universal Installer at the command line, specifying the response file you created, to perform the installation. The Oracle Universal Installer executable, setup.exe, provides several options. For help information on the full set of these options, run setup.exe with the -help option. For example:

SYSTEM_DRIVE:\setup.exe_location> setup -help

To run Oracle Universal using a response file:

  1. Complete the preinstallation tasks listed in Chapter 2, "Installing Oracle Database Vault".

    See Also:

    Frequently Asked Questions in the Database Vault Release Notes for a checklist of the preinstallation requirements
  2. Log on as a member of the Administrators group.

  3. To start Oracle Universal Installer in silent mode, enter a command similar to the following:

    Note:

    Do not specify a relative path to the response file. If you specify a relative path, Oracle Universal Installer fails.
    • SYSTEM_DRIVE:\setup.exe_location> setup -silent -responseFile responsefilename
      

    In this example:

    • -silent indicates that you want to run Oracle Universal Installer in silent mode.

    • responsefilename is the full path and file name of the installation response file that you configured.

B.3 Troubleshooting Silent Mode Installation

A silent installation fails in the following conditions:

Oracle Universal Installer or configuration assistant validates the response file at run time. If the validation fails, the silent mode installation or configuration process ends. Oracle Universal Installer treats values for parameters that are of the wrong context, format, or type as if no value was specified in the file.