Oracle® Database Installation Guide 10g Release 2 (10.2) for IBM z/OS (OS/390) Part Number B25390-01 |
|
|
View PDF |
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:
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:
Create the oraInst.loc
file.
Prepare response files.
Run Oracle Universal Installer noninteractively.
Run configuration assistants noninteractively.
These steps are described in the following sections.
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 theoraInst.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:
Create the /var/opt/oracle
directory if it does not exist
$ mkdir /var/opt/oracle
Change directory as follows, depending on your operating system:
$ cd /var/opt/oracle
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.
Enter the following command to set the appropriate owner, group, and permissions on the oraInst.loc
file:
$ chmod 664 oraInst.loc
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.
To prepare a response file, perform the following steps:
Change directory to the response file directory, using the following command:
$ cd directory_location/Disk1/stage/Response
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
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.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.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:
directory_location
is the path of the Disk1
directory on the hard drive.
The -silent
parameter specifies a completely noninteractive installation.
filename
is the full path and filename of the installation response file that you configured.