Skip Headers
Oracle® Database Installation Guide
10g Release 2 (10.2) for IBM z/OS (OS/390)

Part Number B25390-02
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

A Installing and Configuring Oracle Database Using Response Files

This chapter describes how to install and configure Oracle Database 10g for z/OS noninteractively using response files. It includes information on the following topics:

A.1 Overview

You can install Oracle Database 10g noninteractively 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 the Oracle Universal Installer prompts. If you include responses for all of the Oracle Universal Installer prompts in the response file, then you can run a completely noninteractive installation without seeing the Oracle Universal Installer windows.

To install and configure Oracle products noninteractively, complete the following steps:

  1. Create the oraInst.loc file.

  2. Prepare response files.

  3. Run Oracle Universal Installer noninteractively.

  4. Run configuration assistants noninteractively.

These steps are described in the following sections.

A.2 Creating the oraInst.loc File

If you plan to install Oracle products noninteractively, you must manually create the oraInst.loc file if it does not already exist. This file specifies the location of the oraInventory directory where Oracle Universal Installer creates the inventory of Oracle products installed on the system.

Note:

If Oracle software has been installed previously on the system, then the oraInst.loc file might already exist. If the file does exist, then you do not need to create a new file.

To create the oraInst.loc file, perform the following steps:

  1. Create the /var/opt/oracle directory if it does not exist

    $ mkdir /var/opt/oracle
    
  2. Change directory as follows, depending on your operating system:

    $ cd /var/opt/oracle

  3. Use a text editor to create the oraInst.loc file, containing the following lines:

    inventory_loc=ORACLE_BASE/oraInventory
    inst_group=
    

    In the preceding example, ORACLE_BASE is the path specified in the ORACLE_BASE environment variable.

  4. Enter the following command to set the appropriate owner, group, and permissions on the oraInst.loc file:

    $ chmod 664 oraInst.loc
    

A.3 Preparing Response Files

Oracle Database provides response file templates for each installation category and type, and for each configuration tool. These files are located in the /directory_location/Disk1/stage/Response directory, where directory_location is the location to which you extracted the installation files.

The following table lists and describes the response files included in the /directory_location/Disk1/stage/Response directory.

Response File Name Description
oracle.mvsosdi.server.Complete.rsp Oracle z/OS Database 10g - Complete Install
oracle.mvsosdi.server.Custom.rsp Oracle z/OS Database 10g - Custom Install
oracle.mvsosdi.server.Typical.rsp Oracle z/OS Database 10g - Typical Install
oracle.mvsosdi.client.Complete.rsp Oracle z/OS Client 10g - Complete Install
oracle.mvsosdi.client.Custom.rsp Oracle z/OS Client 10g - Custom Install
oracle.mvsosdi.client.Typical.rsp Oracle z/OS Client 10g - Typical Install
oracle.mvsosdi.config.Typical.rsp Oracle z/OS Database and Subsystem Configuration Utility

To prepare a response file, perform the following steps:

  1. Change directory to the response file directory, using the following command:

    $ cd directory_location/Disk1/stage/Response
    
  2. Copy the response file from the response file directory to a directory on your system, using the following command:

    $ cp oracle.mvsosdi.server.Typical.rsp local_directory
    
  3. Open the response file in a text editor, using the following command:

    $ vi oracle.mvsosdi.server.Typical.rsp
    

    Note:

    Some installation response files allow you to run configuration assistants automatically in silent mode. If you choose to do this, then ensure that you configure the appropriate response files for the configuration assistants before using the installation response file.
  4. Edit the file, following the instructions in the file.

Note:

Oracle Universal Installer or configuration assistant fails if you do not correctly configure the response file. See "Silent-Mode Response File Error Handling" for more information on troubleshooting a failed noninteractive installation.

A.4 Running Oracle Universal Installer Using a Response File

To run Oracle Universal Installer noninteractively, enter a command similar to the following:

Note:

Do not use a relative path to the response file. If you use a relative path, then Oracle Universal Installer fails.
$ /directory_location/runInstaller -silent -responseFile filename

Variables for the previous example are defined as follows: