Oracle静默安装响应文件configToolAllCommands内容

0    269    1

Tags:

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

现象

客户在静默安装RAC 12.1.0.2的时候有如下的输出:

不知道怎么回事,小麦苗多次静默安装RAC并没有这个输出,所以这个响应文件的内容还真不知道是什么,于是去官网搜索了一下,现记录如下。

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

官方文档

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

在Oracle的官方文档中搜索到如下的内容:http://docs.oracle.com/database/121/CWLIN/app_nonint.htm#CWLIN379

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:

internal_component_name|variable_name=value

For example:

oracle.assistants.asm|S_ASMPASSWORD=welcome

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 filename.properties. For example:

$ touch cfgrsp.properties

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

本人提供Oracle(OCP、OCM)、MySQL(OCP)、PostgreSQL(PGCA、PGCE、PGCM)等数据库的培训和考证业务,私聊QQ646634621或微信dbaup66,谢谢!
AiDBA后续精彩内容已被站长无情隐藏,请输入验证码解锁本文!
验证码:
获取验证码: 请先关注本站微信公众号,然后回复“验证码”,获取验证码。在微信里搜索“AiDBA”或者“dbaup6”或者微信扫描右侧二维码都可以关注本站微信公众号。

标签:

Avatar photo

小麦苗

学习或考证,均可联系麦老师,请加微信db_bao或QQ646634621

您可能还喜欢...

发表回复