Preparing Response Files
Review this information to prepare response files for use during silent mode or response file mode installations.
Editing a Response File Template
Oracle provides response file templates for each product and each configuration tool.
About Response File Templates
For Oracle AI Database, the response file templates are located in the $ORACLE_HOME/install/response directory. For Oracle Grid Infrastructure, the response file templates are located in the Grid_home/install/response directory. For Oracle Database Client, response files are located in the $ORACLE_HOME/response directory.
Note:
If you copied the software to a hard disk, then the response files are located in the $ORACLE_HOME/install/response directory.
All response file templates contain comment entries, sample formats, examples, and other useful instructions. Read the response file instructions to understand how to specify values for the response file variables, so that you can customize your installation.
The following table lists the response files provided with this software:
Table: Response Files for Oracle AI Database and Oracle Grid Infrastructure
| Response File | Description |
|---|---|
db_install.rsp | Silent installation of Oracle AI Database. |
dbca.rsp | Silent creation and configuration of Oracle AI Database using Oracle DBCA. |
netca.rsp | Silent configuration of Oracle Net using Oracle NETCA. |
gridsetup.rsp | Silent configuration of Oracle Grid Infrastructure installations. |
client_install.rsp | Silent installation of Oracle Database Client |
Caution:
When you modify a response file template and save a file for use, the response file may contain plain text passwords. Ownership of the response file should be given to the Oracle software installation owner only, and permissions on the response file should be changed to 600. Oracle strongly recommends that database administrators or other administrators delete or secure response files when they are not in use.
To copy and modify a response file:
Copy the response file from the response file directory to a directory on your system:
For example, for Oracle AI Database:
$ cp $ORACLE_HOME/install/response/db_install.rsp local_directoryOpen the response file in a text editor:
$ vi /local_directory/db_install.rspFollow the instructions in the file to edit it.
Note:
The installer or configuration assistant fails if you do not correctly configure the response file. Also, ensure that your response file name has the
.rspsuffix.Secure the response file by changing the permissions on the file to 600:
$ chmod 600 /local_dir/db_install.rspEnsure that only the Oracle software owner user can view or modify response files or consider deleting them after the installation succeeds.
Note:
A fully-specified response file for an Oracle AI Database installation contains the passwords for database administrative accounts and for a user who is a member of the OSDBA group (required for automated backups).
Recording Response Files
You can use OUI in interactive mode to record response files, which you can then edit and use to complete silent mode or response file mode installations.
Recording response files is useful for Advanced or software-only installations. You can save all the installation steps into a response file during installation by clicking Save Response File on the Summary page. You can use the generated response file for a silent installation later. When you record the response file, you can either complete the installation, or you can exit from the installer on the Summary page, before OUI starts to set up the software to the system.
If you use record mode during a response file mode installation, then the installer records the variable values that were specified in the original source response file into the new response file.
Note:
OUI does not save passwords while recording the response file.
- Complete preinstallation tasks as for a standard installation.
When you run the installer to record a response file, it checks the system to verify that it meets the requirements to install the software. For this reason, Oracle recommends that you complete all of the required preinstallation tasks and record the response file while completing an installation.
- Ensure that the Oracle software owner user (typically
oracle) has permissions to create or write to the Oracle home path that you specify when you run the installer. - On each installation screen, specify the required information.
When the installer displays the Summary screen, perform the following steps:
- Click Save Response File. In the window, specify a file name and location for the new response file. Click Save to write the responses you entered to the response file.
Click Finish to continue with the installation. Click Cancel if you do not want to continue with the installation. The installation stops, but the recorded response file is retained.
Note:
Ensure that your response file name has the
.rspsuffix.
- Before you use the saved response file on another system, edit the file and make any required changes. Use the instructions in the file as a guide when editing it.