静默安装oracle软件参数文件解析

广大2年前技术文章882

文件位置在oracle软件解压目录下的database/response/db_install.rsp,主要参数解析如下


####################################################################

## Copyright(c) Oracle Corporation 1998,2013. All rights reserved.##

##                                                                ##

## Specify values for the variables listed below to customize     ##

## your installation.                                             ##

##                                                                ##

## Each variable is associated with a comment. The comment        ##

## can help to populate the variables with the appropriate        ##

## values.                ##

##                                                                ##

## IMPORTANT NOTE: This file contains plain text passwords and    ##

## should be secured to have read permission only by oracle user  ##

## or db administrator who owns this installation.                ##

##                                                                ##

####################################################################


#------------------------------------------------------------------------------

# Do not change the following system generated value. 

#------------------------------------------------------------------------------

# 标注响应文件版本(不要修改)

oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0


#------------------------------------------------------------------------------

# Specify the installation option.

# It can be one of the following:

#   - INSTALL_DB_SWONLY

#   - INSTALL_DB_AND_CONFIG

#   - UPGRADE_DB

# 选择安装类型:1.只安装数据库软件;2.安装数据库软件并建库;3.升级数据库

#-------------------------------------------------------------------------------

# 选择安装类型:INSTALL_DB_SWONLY(只安装数据库软件 )

oracle.install.option= INSTALL_DB_SWONLY


#-------------------------------------------------------------------------------

# Specify the hostname of the system as set during the install. It can be used

# to force the installation to use an alternative hostname rather than using the

# first hostname found on the system. (e.g., for systems with multiple hostnames 

# and network interfaces)

#-------------------------------------------------------------------------------

# 指定主机名(安装oracle软件的主机),通过hostname命令获得

ORACLE_HOSTNAME=rac1


#-------------------------------------------------------------------------------

# Specify the Unix group to be set for the inventory directory.  

#-------------------------------------------------------------------------------

#指定oracle inventory目录的所有者,通常会是oinstall或者dba

UNIX_GROUP_NAME=oinstall


#-------------------------------------------------------------------------------

# Specify the location which holds the inventory files.

# This is an optional parameter if installing on

# Windows based Operating System.

#-------------------------------------------------------------------------------

#指定产品清单oracle inventory目录的路径

INVENTORY_LOCATION=/u01/app/oraInventory


#-------------------------------------------------------------------------------

# Specify the languages in which the components will be installed.             

# en   : English                  ja   : Japanese                  

# fr   : French                   ko   : Korean                    

# ar   : Arabic                   es   : Latin American Spanish    

# bn   : Bengali                  lv   : Latvian                   

# pt_BR: Brazilian Portuguese     lt   : Lithuanian                

# bg   : Bulgarian                ms   : Malay                     

# fr_CA: Canadian French          es_MX: Mexican Spanish           

# ca   : Catalan                  no   : Norwegian                 

# hr   : Croatian                 pl   : Polish                    

# cs   : Czech                    pt   : Portuguese                

# da   : Danish                   ro   : Romanian                  

# nl   : Dutch                    ru   : Russian                   

# ar_EG: Egyptian                 zh_CN: Simplified Chinese        

# en_GB: English (Great Britain)  sk   : Slovak                    

# et   : Estonian                 sl   : Slovenian                 

# fi   : Finnish                  es_ES: Spanish                   

# de   : German                   sv   : Swedish                   

# el   : Greek                    th   : Thai                      

# iw   : Hebrew                   zh_TW: Traditional Chinese       

# hu   : Hungarian                tr   : Turkish                   

# is   : Icelandic                uk   : Ukrainian                 

# in   : Indonesian               vi   : Vietnamese                

# it   : Italian                                                   

#

# all_langs   : All languages

#

# Specify value as the following to select any of the languages.

# Example : SELECTED_LANGUAGES=en,fr,ja

#

# Specify value as the following to select all the languages.

# Example : SELECTED_LANGUAGES=all_langs  

#------------------------------------------------------------------------------

#指定数据库语言,可以选择多个,用逗号隔开。

SELECTED_LANGUAGES=en,zh_CN


#------------------------------------------------------------------------------

# Specify the complete path of the Oracle Home.

#------------------------------------------------------------------------------

# 设置ORALCE_HOME的路径

ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1


#------------------------------------------------------------------------------

# Specify the complete path of the Oracle Base. 

#------------------------------------------------------------------------------

#  设置ORALCE_BASE的路径

ORACLE_BASE=/u01/app/oracle


#------------------------------------------------------------------------------

# Specify the installation edition of the component.                        

#                                                             

# The value should contain only one of these choices.        

#   - EE     : Enterprise Edition                                

#   - SE     : Standard Edition                                  

#   - SEONE  : Standard Edition One

#   - PE     : Personal Edition (WINDOWS ONLY)

#------------------------------------------------------------------------------

#选择Oracle安装数据库软件的版本(企业版EE,标准版SE,标准版1,个人版PE适用于windows系统)

oracle.install.db.InstallEdition=EE


#------------------------------------------------------------------------------

# This variable is used to enable or disable custom install and is considered

# only if InstallEdition is EE.

#

# true  : Components mentioned as part of 'optionalComponents' property

#         are considered for install.

# false : Value for 'optionalComponents' is not considered.

# 是否自定义Oracle的组件,如果选择false,则会使用默认的组件

# 如果选择true,则需要自己在下面一条参数将要安装的组件一一列出。

#------------------------------------------------------------------------------

# 是否自定义Oracle的组件

oracle.install.db.EEOptionsSelection=false


#------------------------------------------------------------------------------

# This variable is considered only if 'EEOptionsSelection' is set to true. 

#

# Description: List of Enterprise Edition Options you would like to enable.

#

#              The following choices are available. You may specify any

#              combination of these choices.  The components you choose should

#              be specified in the form "internal-component-name:version"

#              Below is a list of components you may specify to enable.

#        

#              oracle.oraolap:11.2.0.4.0 - Oracle OLAP

#              oracle.rdbms.dm:11.2.0.4.0 - Oracle Data Mining

#              oracle.rdbms.dv:11.2.0.4.0 - Oracle Database Vault

#              oracle.rdbms.lbac:11.2.0.4.0 - Oracle Label Security

#              oracle.rdbms.partitioning:11.2.0.4.0 - Oracle Partitioning

#              oracle.rdbms.rat:11.2.0.4.0 - Oracle Real Application Testing

#------------------------------------------------------------------------------

# 要安装的组件列表

oracle.install.db.optionalComponents=oracle.rdbms.partitioning:11.2.0.4.0,oracle.oraolap:11.2.0.4.0,oracle.rdbms.dm:11.2.0.4.0,oracle.rdbms.dv:11.2.0.4.0,oracle.rdbms.lbac:11.2.0.4.0,oracle.rdbms.rat:11.2.0.4.0


###############################################################################

#                                                                             #

# PRIVILEGED OPERATING SYSTEM GROUPS                                          #

# ------------------------------------------                                  #

# Provide values for the OS groups to which OSDBA and OSOPER privileges       #

# needs to be granted. If the install is being performed as a member of the   #   

# group "dba", then that will be used unless specified otherwise below.       #

#                                                                             #

# The value to be specified for OSDBA and OSOPER group is only for UNIX based #

# Operating System.                                                           #

#                                                                             #

###############################################################################


#------------------------------------------------------------------------------

# The DBA_GROUP is the OS group which is to be granted OSDBA privileges.

#------------------------------------------------------------------------------

#指定拥有OSDBA权限的用户组

oracle.install.db.DBA_GROUP=


#------------------------------------------------------------------------------

# The OPER_GROUP is the OS group which is to be granted OSOPER privileges.

# The value to be specified for OSOPER group is optional.

#------------------------------------------------------------------------------

#指定拥有OSOPER权限的用户组

oracle.install.db.OPER_GROUP=oinstall


#------------------------------------------------------------------------------

# Specify the cluster node names selected during the installation.

# Example : oracle.install.db.CLUSTER_NODES=node1,node2

#------------------------------------------------------------------------------

#指定要安装oracle软件的节点:如果是RAC的安装,则指定所有的节点

oracle.install.db.CLUSTER_NODES=rac1,rac2


#------------------------------------------------------------------------------

# This variable is used to enable or disable RAC One Node install.

#

#   - true  : Value of RAC One Node service name is used.

#   - false : Value of RAC One Node service name is not used.

#

# If left blank, it will be assumed to be false

#------------------------------------------------------------------------------

# 是否安装单节点rac,默认为false

oracle.install.db.isRACOneInstall=


#------------------------------------------------------------------------------

# Specify the name for RAC One Node Service. 

#------------------------------------------------------------------------------

oracle.install.db.racOneServiceName=


#------------------------------------------------------------------------------

# Specify the type of database to create.

# It can be one of the following:

#   - GENERAL_PURPOSE/TRANSACTION_PROCESSING             

#   - DATA_WAREHOUSE                                

#------------------------------------------------------------------------------

#选择数据库的用途:1.一般用途/事务处理;2.数据仓库

oracle.install.db.config.starterdb.type=GENERAL_PURPOSE


#------------------------------------------------------------------------------

# Specify the Starter Database Global Database Name. 

#------------------------------------------------------------------------------

# 指定数据库的GlobalName(全局名称)

oracle.install.db.config.starterdb.globalDBName=


#------------------------------------------------------------------------------

# Specify the Starter Database SID.

#------------------------------------------------------------------------------

# 指定数据库的SID

oracle.install.db.config.starterdb.SID=


#------------------------------------------------------------------------------

# Specify the Starter Database character set.

#                                              

# It can be one of the following:

# AL32UTF8, WE8ISO8859P15, WE8MSWIN1252, EE8ISO8859P2,

# EE8MSWIN1250, NE8ISO8859P10, NEE8ISO8859P4, BLT8MSWIN1257,

# BLT8ISO8859P13, CL8ISO8859P5, CL8MSWIN1251, AR8ISO8859P6,

# AR8MSWIN1256, EL8ISO8859P7, EL8MSWIN1253, IW8ISO8859P8,

# IW8MSWIN1255, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE,

# KO16MSWIN949, ZHS16GBK, TH8TISASCII, ZHT32EUC, ZHT16MSWIN950,

# ZHT16HKSCS, WE8ISO8859P9, TR8MSWIN1254, VN8MSWIN1258

#------------------------------------------------------------------------------

#选择字符集

oracle.install.db.config.starterdb.characterSet=


#------------------------------------------------------------------------------

# This variable should be set to true if Automatic Memory Management 

# in Database is desired.

# If Automatic Memory Management is not desired, and memory allocation

# is to be done manually, then set it to false.

#------------------------------------------------------------------------------

#11g的新特性:自动内存管理

oracle.install.db.config.starterdb.memoryOption=true


#------------------------------------------------------------------------------

# Specify the total memory allocation for the database. Value(in MB) should be

# at least 256 MB, and should not exceed the total physical memory available 

# on the system.

# Example: oracle.install.db.config.starterdb.memoryLimit=512

#------------------------------------------------------------------------------

#指定Oracle自动管理内存的大小,最小是256MB

oracle.install.db.config.starterdb.memoryLimit=


#------------------------------------------------------------------------------

# This variable controls whether to load Example Schemas onto

# the starter database or not.

#------------------------------------------------------------------------------

#是否载入模板示例

oracle.install.db.config.starterdb.installExampleSchemas=false


#------------------------------------------------------------------------------

# This variable includes enabling audit settings, configuring password profiles

# and revoking some grants to public. These settings are provided by default. 

# These settings may also be disabled.    

#------------------------------------------------------------------------------

#是否启用安全设置

oracle.install.db.config.starterdb.enableSecuritySettings=true


###############################################################################

#                                                                             #

# Passwords can be supplied for the following four schemas in the       #

# starter database:                       #

#   SYS                                                                       #

#   SYSTEM                                                                    #

#   SYSMAN (used by Enterprise Manager)                                       #

#   DBSNMP (used by Enterprise Manager)                                       #

#                                                                             #

# Same password can be used for all accounts (not recommended)          #

# or different passwords for each account can be provided (recommended)       #

#                                                                             #

###############################################################################


#------------------------------------------------------------------------------

# This variable holds the password that is to be used for all schemas in the

# starter database.

#-------------------------------------------------------------------------------

#设置数据库用户密码

#设定所有数据库用户使用同一个密码,其它数据库用户就不用单独设置了。

oracle.install.db.config.starterdb.password.ALL=oracle


#-------------------------------------------------------------------------------

# Specify the SYS password for the starter database.

#-------------------------------------------------------------------------------

#设定SYS用户的密码

oracle.install.db.config.starterdb.password.SYS=


#-------------------------------------------------------------------------------

# Specify the SYSTEM password for the starter database.

#-------------------------------------------------------------------------------

#设定SYSTEM用户的密码

oracle.install.db.config.starterdb.password.SYSTEM=


#-------------------------------------------------------------------------------

# Specify the SYSMAN password for the starter database.

#-------------------------------------------------------------------------------

#设定SYSMAN用户的密码

oracle.install.db.config.starterdb.password.SYSMAN=


#-------------------------------------------------------------------------------

# Specify the DBSNMP password for the starter database.

#-------------------------------------------------------------------------------

#设定DBSNMP用户的密码

oracle.install.db.config.starterdb.password.DBSNMP=


#-------------------------------------------------------------------------------

# Specify the management option to be selected for the starter database. 

# It can be one of the following:

#   - GRID_CONTROL

#   - DB_CONTROL

#-------------------------------------------------------------------------------

#1.数据库本地管理工具DB_CONTROL;2.远程集中管理工具GRID_CONTROL

oracle.install.db.config.starterdb.control=DB_CONTROL


#-------------------------------------------------------------------------------

# Specify the Management Service to use if Grid Control is selected to manage 

# the database.      

#-------------------------------------------------------------------------------

#当上一个选项设置为GRID_CONTROL时,需要设定grid control的远程路径URL

oracle.install.db.config.starterdb.gridcontrol.gridControlServiceURL=


###############################################################################

#                                                                             #

# SPECIFY BACKUP AND RECOVERY OPTIONS                                         #

# ------------------------------------                                  #

# Out-of-box backup and recovery options for the database can be mentioned    #

# using the entries below.                  # 

#                                                                             #

###############################################################################


#------------------------------------------------------------------------------

# This variable is to be set to false if automated backup is not required. Else 

# this can be set to true.

#------------------------------------------------------------------------------

# 设置自动备份

oracle.install.db.config.starterdb.automatedBackup.enable=false


#------------------------------------------------------------------------------

# Regardless of the type of storage that is chosen for backup and recovery, if 

# automated backups are enabled, a job will be scheduled to run daily to backup 

# the database. This job will run as the operating system user that is 

# specified in this variable.

#------------------------------------------------------------------------------

#自动备份会启动一个job,指定启动JOB的系统用户ID

oracle.install.db.config.starterdb.automatedBackup.osuid=


#-------------------------------------------------------------------------------

# Regardless of the type of storage that is chosen for backup and recovery, if 

# automated backups are enabled, a job will be scheduled to run daily to backup 

# the database. This job will run as the operating system user specified by the 

# above entry. The following entry stores the password for the above operating 

# system user.

#-------------------------------------------------------------------------------

#自动备份会开启一个job,需要指定OSUser的密码

oracle.install.db.config.starterdb.automatedBackup.ospwd=


#-------------------------------------------------------------------------------

# Specify the type of storage to use for the database.

# It can be one of the following:

#   - FILE_SYSTEM_STORAGE

#   - ASM_STORAGE

#------------------------------------------------------------------------------

#指定存储类型:1.文件系统;2.ASM

oracle.install.db.config.starterdb.storageType=ASM_STORAGE


#-------------------------------------------------------------------------------

# Specify the database file location which is a directory for datafiles, control

# files, redo logs.         

#

# Applicable only when oracle.install.db.config.starterdb.storage=FILE_SYSTEM_STORAGE 

#-------------------------------------------------------------------------------

# 使用文件系统时指定数据文件、控制文件、Redo log的存放目录

oracle.install.db.config.starterdb.fileSystemStorage.dataLocation=


#-------------------------------------------------------------------------------

# Specify the backup and recovery location.

#

# Applicable only when oracle.install.db.config.starterdb.storage=FILE_SYSTEM_STORAGE 

#-------------------------------------------------------------------------------

# 使用文件系统时指定备份恢复目录

oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation=


#-------------------------------------------------------------------------------

# Specify the existing ASM disk groups to be used for storage.

#

# Applicable only when oracle.install.db.config.starterdb.storage=ASM_STORAGE

#-------------------------------------------------------------------------------

#指定ASM的磁盘组

oracle.install.db.config.asm.diskGroup=DATA


#-------------------------------------------------------------------------------

# Specify the password for ASMSNMP user of the ASM instance.                  

#

# Applicable only when oracle.install.db.config.starterdb.storage=ASM_STORAGE 

#-------------------------------------------------------------------------------

#指定ASM实例密码

oracle.install.db.config.asm.ASMSNMPPassword=oracle


#------------------------------------------------------------------------------

# Specify the My Oracle Support Account Username.

#

#  Example   : MYORACLESUPPORT_USERNAME=abc@oracle.com

#------------------------------------------------------------------------------

#指定metalink账户用户名,一般不设置这个

MYORACLESUPPORT_USERNAME=


#------------------------------------------------------------------------------

# Specify the My Oracle Support Account Username password.

#

# Example    : MYORACLESUPPORT_PASSWORD=password

#------------------------------------------------------------------------------

# 指定metalink账户密码,一般不设置这个

MYORACLESUPPORT_PASSWORD=


#------------------------------------------------------------------------------

# Specify whether to enable the user to set the password for

# My Oracle Support credentials. The value can be either true or false.

# If left blank it will be assumed to be false.

#

# Example    : SECURITY_UPDATES_VIA_MYORACLESUPPORT=true

#------------------------------------------------------------------------------

# 用户是否可以设置metalink密码,一般不设置这个

SECURITY_UPDATES_VIA_MYORACLESUPPORT=


#------------------------------------------------------------------------------

# Specify whether user doesn't want to configure Security Updates.

# The value for this variable should be true if you don't want to configure

# Security Updates, false otherwise. 

#

# The value can be either true or false. If left blank it will be assumed

# to be false.

#

# Example    : DECLINE_SECURITY_UPDATES=false

#------------------------------------------------------------------------------

# 是否设置安全更新

# False表示不需要设置安全更新,在11.2的静默安装中必须指定为true,否则会提示错误

DECLINE_SECURITY_UPDATES=true


#------------------------------------------------------------------------------

# Specify the Proxy server name. Length should be greater than zero.

#

# Example    : PROXY_HOST=proxy.domain.com 

#------------------------------------------------------------------------------

# 设置代理服务器的名称——不使用代理服务器,不用设置

PROXY_HOST=


#------------------------------------------------------------------------------

# Specify the proxy port number. Should be Numeric and at least 2 chars.

#

# Example    : PROXY_PORT=25 

#------------------------------------------------------------------------------

# 设置代理服务器的端口号——不使用代理服务器,不用设置

PROXY_PORT=


#------------------------------------------------------------------------------

# Specify the proxy user name. Leave PROXY_USER and PROXY_PWD 

# blank if your proxy server requires no authentication.

#

# Example    : PROXY_USER=username 

#------------------------------------------------------------------------------

# 设置代理服务器的用户名——不使用代理服务器,不用设置

PROXY_USER=


#------------------------------------------------------------------------------

# Specify the proxy password. Leave PROXY_USER and PROXY_PWD  

# blank if your proxy server requires no authentication.

#

# Example    : PROXY_PWD=password 

#------------------------------------------------------------------------------

# 设置代理服务器的服务器密码——不使用代理服务器,不用设置

PROXY_PWD=


#------------------------------------------------------------------------------

# Specify the proxy realm. This value is used if auto-updates option is selected.

#

# Example    : PROXY_REALM=metalink 

#------------------------------------------------------------------------------


PROXY_REALM=


#------------------------------------------------------------------------------

# Specify the Oracle Support Hub URL. 

# Example    : COLLECTOR_SUPPORTHUB_URL=https://orasupporthub.company.com:8080/

#------------------------------------------------------------------------------

COLLECTOR_SUPPORTHUB_URL=


#------------------------------------------------------------------------------

# Specify the auto-updates option. It can be one of the following:

#   - MYORACLESUPPORT_DOWNLOAD

#   - OFFLINE_UPDATES

#   - SKIP_UPDATES

#------------------------------------------------------------------------------

#自动更新:跳过自动更新

oracle.installer.autoupdates.option=SKIP_UPDATES

#------------------------------------------------------------------------------

# In case MYORACLESUPPORT_DOWNLOAD option is chosen, specify the location where

# the updates are to be downloaded.

# In case OFFLINE_UPDATES option is chosen, specify the location where the updates 

# are present.

#------------------------------------------------------------------------------

#自动更新下载目录

oracle.installer.autoupdates.downloadUpdatesLoc=

#------------------------------------------------------------------------------

# Specify the My Oracle Support Account Username which has the patches download privileges  

# to be used for software updates.

#  Example   : AUTOUPDATES_MYORACLESUPPORT_USERNAME=abc@oracle.com

#------------------------------------------------------------------------------

#自动更新的用户名

AUTOUPDATES_MYORACLESUPPORT_USERNAME=


#------------------------------------------------------------------------------

# Specify the My Oracle Support Account Username password which has the patches download privileges  

# to be used for software updates.

#

# Example    : AUTOUPDATES_MYORACLESUPPORT_PASSWORD=password

#------------------------------------------------------------------------------

#自动更新的密码

AUTOUPDATES_MYORACLESUPPORT_PASSWORD=



相关文章

MongoDB的索引(二)

四、Case Insesitive索引1、语法db.collection.createIndex(  { "key" : 1 }, { collation: {locale : <local...

分布式存储-GlusterFS

分布式存储-GlusterFS

一、分布式存储介绍我们知道NAS是远程通过网络共享目录, SAN是远程通过网络共享块设备。那么分布式存储你可以看作拥有多台存储服务器连接起来的存储输出端。把这多台存储服务器的存储合起来做成一个整体再通...

数据湖技术之iceberg(四)iceberg的数据类型

1  Iceberg数据类型类型描述笔记boolean布尔类型,true或者falseint32 位有符号整数可以转换成long类型long64 位有符号整数float单精度浮点型可以转换成...

Scheduler调度器

一、论 Pod 调度在 kubernetes 中,无论是 Deployment、Statefulset 等多种控制器,它最终都是创建 Pod,在 Pod 创建是需要被调度到 Kubernetes 集群...

 MySQL 两阶段提交

MySQL 两阶段提交

说明MySQL 开启 Binlog 后,所有的事务都会产生 Binlog Event,这些 Event 也是事务数据的一部分。本篇文章介绍 MySQL 如何保证事务 Binlog Event 和 In...

Debezium部署以及同步之DB2数据到Kafka的同步

Debezium部署以及同步之DB2数据到Kafka的同步

因为Debezium依赖于kafka之上,所以我们先部署kafka和zookeeper(忽略)。1 环境介绍Debezium1.9版本 Db2 11.5版本  附官网:http...

发表评论    

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。