Postinstallation Configuration Using Response File Created During Installation
Use response files to configure Oracle software after installation. You can use the same response file created during installation to also complete postinstallation configuration.
Using the Installation Response File for Postinstallation Configuration
You can use the response file created during installation to also complete postinstallation configuration.
Run the installer with the -executeConfigTools option to configure configuration assistants after installing Oracle Grid Infrastructure or Oracle AI Database. You can use the response file located at $ORACLE_HOME/install/response/product_timestamp.rsp to obtain the passwords required to run the configuration tools. You must update the response file with the required passwords before running the -executeConfigTools command.
Oracle strongly recommends that you maintain security with a password response file:
- Permissions on the response file should be set to 600.
- The owner of the response file should be the installation owner user, with the group set to the central inventory (
oraInventory) group.
Example: Response File Passwords for Oracle Grid Infrastructure (grid user)
bmcPassword=password
sysasmPassword=password
asmsnmpPassword=password
emadminPassword=password
If you do not have a BMC card, or you do not want to enable IPMI, then leave the ipmi.bmcPassword input field blank.
If you do not want to enable Oracle Enterprise Manager for management, then leave the emAdminPassword password field blank.
Example: Response File Passwords for Oracle Grid Infrastructure for a Standalone Server (oracle user)
sysasmPassword=password
asmsnmpPassword=password
emadminPassword=password
If you do not want to enable Oracle Enterprise Manager for management, then leave the emAdminPassword password field blank.
Example: Response File Passwords for Oracle AI Database (oracle user)
This example illustrates the passwords to specify for use with the database configuration assistants.
sysPassword=password
systemPassword=password
dbsnmpPassword=password
pdbadminPassword=password
emAdminPassword=password
asmsnmpPassword=password
You can also specify allPassword=password to use the same password for all database users.
The database configuration assistants require the SYS, SYSTEM, PDBADMIN, and DBSNMP passwords for use with Oracle DBCA. You must specify the following passwords, depending on your system configuration:
- If the database uses Oracle Automatic Storage Management (Oracle ASM) for storage, then you must specify a password for the
ASMSNMPPasswordvariable. If you are not using Oracle ASM, then leave the value for this password variable blank.
Running Postinstallation Configuration Using Response File
You can use a response file to complete postinstallation tasks on one or more servers simultaneously.
Complete this procedure to run configuration assistants with the executeConfigTools command and a response file.
- Edit the response file and specify the required passwords for your configuration. You can use the response file created during installation, located at
$ORACLE_HOME/install/response/product_timestamp.rsp. Change directory to the Oracle home containing the installation software. For example:
For Oracle Grid Infrastructure:
cd Grid_homeWhere, Grid_home is the path to the Oracle Grid Infrastructure home directory
/u01/app/23.0.0/gridFor Oracle AI Database:
cd $ORACLE_HOMERun the configuration script using the following syntax:
For Oracle Grid Infrastructure:
$ ./gridSetup.sh -executeConfigTools -responseFile Grid_home/install/response/product_timestamp.rspFor Oracle AI Database:
$ ./runInstaller -executeConfigTools -responseFile $ORACLE_HOME/install/response/product_timestamp.rspFor Oracle AI Database, you can also run the response file located in the directory
$ORACLE_HOME/install/response/:$ ./runInstaller -executeConfigTools -responseFile $ORACLE_HOME/install/response/db_install.rspThe postinstallation configuration tool runs the installer in the graphical user interface mode, displaying the progress of the postinstallation configuration. Specify the
[-silent]option to run the postinstallation configuration in the silent mode.For example, for Oracle Grid Infrastructure:
$ ./gridSetup.sh -executeConfigTools -responseFile /u01/app/23.0.0/grid/install/response/grid_2022-01-09_01-03-36PM.rsp [-silent]For Oracle AI Database:
$ ./runInstaller -executeConfigTools -responseFile /u01/app/oracle/product/23.0.0/dbhome_1/response/db_2022-01-09_01-03-36PM.rsp [-silent]