0    91    1


👉 本文共约1533个字,系统预计阅读时间或需6分钟。




静默安装执行到./runInstaller -silent -responseFile /home/grid/grid_xywj.rsp -ignorePrereq 后有如下输出:


客户询问这里的RESPONSE_FILE= 应该写哪些内容。


C.5 Postinstallation Configuration Using a Response File

Use the following sections to create and run a response file configuration after installing Oracle software.

C.5.1 About the Postinstallation Configuration File

When you run a silent or response file installation, you provide information about your servers in a response file that you otherwise provide manually during a graphical user interface installation. However, the response file does not contain passwords for user accounts that configuration assistants require after software installation is complete. The configuration assistants are started with a script called configToolAllCommands. You can run this script in response file mode by creating and using a password response file. The script uses the passwords to run the configuration tools in succession to complete configuration.

If you keep the password file to use for clone installations, then Oracle strongly recommends that you store it in a secure location. In addition, if you have to stop an installation to fix an error, you can run the configuration assistants using configToolAllCommands and a password response file.

The configToolAllCommands password response file consists of the following syntax options:

internal_component_name is the name of the component that the configuration assistant configures

variable_name is the name of the configuration file variable

value is the desired value to use for configuration

The command syntax is as follows:


For example:


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.

C.5.2 Running Postinstallation Configuration Using a Response File

To run configuration assistants with the configToolAllCommands script:

Create a response file using the syntax For example:

$ touch

Open the file with a text editor, and cut and paste the password template, modifying as needed.

Example C-1 Password response file for Oracle Grid Infrastructure installation for a cluster

Oracle Grid Infrastructure requires passwords for Oracle Automatic Storage Management Configuration Assistant (ASMCA), and for Intelligent Platform Management Interface Configuration Assistant (IPMICA) if you have a BMC card and you want to enable this feature. Provide the following response file:



If you do not have a BMC card, or you do not want to enable IPMI, then leave the S_BMCPASSWORD input field blank.


If you are upgrading Oracle ASM 11g Release 1 or earlier releases, then you only need to provide the input field fororacle.assistants.asm|S_ASMMONITORPASSWORD.

Example C-2 Password response file for Oracle Real Application Clusters

Oracle Database configuration requires the SYS, SYSTEM, and DBSNMP passwords for use with Database Configuration Assistant (DBCA). Providing a string for the S_ASMSNMPPASSWORD variable is necessary only if only if the database is using Oracle ASM for storage. Also, providing a string for the S_PDBADMINPASSWORD variable is necessary only if you create a multitenant container database (CDB) with one or more pluggable databases (PDBs). Also, if you selected to configure Oracle Enterprise Manager Cloud Control, then you must provide the password for the Oracle software installation owner for the S_EMADMINPASSWORD variable, similar to the following example, where the phrase password represents the password string:







If you do not want to enable Oracle Enterprise Manager for Oracle ASM, then leave those password fields blank.

Change permissions to secure the file. For example:

$ ls -al

-rw------- 1 oracle oinstall 0 Apr 30 17:30 cfgrsp

Change directory to $ORACLE_HOME/cfgtoollogs, and run the configuration script using the following syntax:

configToolAllCommands RESPONSE_FILE=/path/

for example:

$ ./configToolAllCommands RESPONSE_FILE=/home/oracle/











您的电子邮箱地址不会被公开。 必填项已用*标注

5 × 2 =


  • 18509239930
  • 个人微信

  • 麦老师QQ聊天
  • 个人邮箱
  • 点击加入QQ群
  • 个人微店

  • 回到顶部