Oracle® Database Vault Installation Guide 10g Release 2 (10.2) for Microsoft Windows (32-Bit) Part Number B32384-03 |
|
|
PDF · Mobi · ePub |
This appendix describes how to install Oracle Database Vault using a response file. It includes the following topics:
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 formatsThe 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.Prepare a response file.
Run Oracle Universal Installer in silent mode.
Use the following steps to install Database Vault using a 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:
Copy the response file from the Disk1\response
directory to a directory on your system.
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.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.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:
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 requirementsLog on as a member of the Administrators group.
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:
A silent installation fails in the following conditions:
You do not specify a response file
You specify an incorrect or incomplete response file
Oracle Universal Installer encounters an error, such as insufficient disk space
The Database Vault installation prerequisites have not been met
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.