Oracle 11g 靜默安裝-db_install.rsp詳解

學習11g靜默安裝文件配置和解釋,大部分的數據是不需要變更的,變更你需要改動的地方,和OUI界面安裝結合起來就容易理解了

附錄A:db_install.rsp詳解

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

## Copyright(c) Oracle Corporation1998,2008. All rights reserved.           ##

## Specify values for the variables listedbelow to customize your installation.    ##

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

## can help to populate the variables withthe appropriate values.               ##

## IMPORTANT NOTE: This file contains plaintext passwords and            ##

## should be secured to have readpermission only by oracle user               ##

## or db administrator who owns thisinstallation.                           ##

##對整個文件的說明,該文件包含參數說明,靜默文件中密碼信息的保密   ##

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

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

# Do not change the following system generatedvalue. 標註響應文件版本,這個版本必須和要#安裝的數據庫版本相同,安裝檢驗無法通過,不能更改

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

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

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

# Specify the installation option.

# It can be one of the following:

# 1. INSTALL_DB_SWONLY

# 2. INSTALL_DB_AND_CONFIG

# 3. UPGRADE_DB

#選擇安裝類型:1.只裝數據庫軟件 2.安裝數據庫軟件並建庫 3.升級數據庫

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

oracle.install.option=INSTALL_DB_SWONLY

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

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

# to force the installation to use analternative hostname rather than using the

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

# and network interfaces)指定操作系統主機名,通過hostname命令獲得

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

ORACLE_HOSTNAME=ora11gr2

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

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

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

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

UNIX_GROUP_NAME=oinstall

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

# Specify the location which holds theinventory files.

#指定產品清單oracle inventory目錄的路徑,如果是Win平臺下可以省略

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

INVENTORY_LOCATION=/u01/app/oracle/oraInventory

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

# Specify the languages in which thecomponents 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                                                  

# Example : SELECTED_LANGUAGES=en,fr,ja

#指定數據庫語言,可以選擇多個,用逗號隔開。選擇en, zh_CN(英文和簡體中文)

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

SELECTED_LANGUAGES=en,zh_CN

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

# Specify the complete path of the OracleHome.設置ORALCE_HOME的路徑

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

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

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

# Specify the complete path of the OracleBase. 設置ORALCE_BASE的路徑

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

ORACLE_BASE=/u01/app/oracle

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

# Specify the installation edition of thecomponent.           

# The value should contain only one ofthese choices.       

# EE    : EnterpriseEdition                               

# SE    : Standard Edition                                 

# SEONE  Standard Edition One

# PE    : Personal Edition (WINDOWS ONLY)

#選擇Oracle安裝數據庫軟件的版本(企業版,標準版,標準版1),不同的版本功能不同

#詳細的版本區別參考附錄D

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

oracle.install.db.InstallEdition=EE

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

# This variable is used to enable ordisable custom install.

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

#are considered for install.

# false : Value for 'customComponents' isnot considered.

#是否自定義Oracle的組件,如果選擇false,則會使用默認的組件

#如果選擇true否則需要自己在下面一條參數將要安裝的組件一一列出。

#安裝相應版權後會安裝所有的組件,後期如果缺乏某個組件,再次安裝會非常的麻煩。

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

oracle.install.db.isCustomInstall=true

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

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

# Description: List of Enterprise EditionOptions you would like to install.

#              The following choices areavailable. You may specify any

#              combination of thesechoices.  The components you chooseshould

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

#              Below is a list of components youmay specify to install.

#              oracle.rdbms.partitioning:11.2.0.1.0- Oracle Partitioning

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

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

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

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

#              oracle.oraolap:11.2.0.1.0- Oracle OLAP

# oracle.install.db.isCustomInstall=true的話必須手工選擇需要安裝組件的話

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

oracle.install.db.customComponents=oracle.server:11.2.0.1.0,oracle.sysman.ccr:10.2.7.0.0,oracle.xdk:11.2.0.1.0,oracle.rdbms.oci:11.2.0.1.0,oracle.network:11.2.0.1.0,oracle.network.listener:11.2.0.1.0,oracle.rdbms:11.2.0.1.0,oracle.options:11.2.0.1.0,oracle.rdbms.partitioning:11.2.0.1.0,oracle.oraolap:11.2.0.1.0,oracle.rdbms.dm:11.2.0.1.0,oracle.rdbms.dv:11.2.0.1.0,orcle.rdbms.lbac:11.2.0.1.0,oracle.rdbms.rat:11.2.0.1.0

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

# PRIVILEGED OPERATING SYSTEM GROUPS                                         

# Provide values for the OS groups to whichOSDBA and OSOPER privileges       #

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

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

#指定擁有OSDBAOSOPER權限的用戶組,通常會是dba

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

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

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

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

oracle.install.db.DBA_GROUP=dba

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

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

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

oracle.install.db.OPER_GROUP=oinstall

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

# Specify the cluster node names selectedduring the installation.

#如果是RAC的安裝,在這裏指定所有的節點

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

oracle.install.db.CLUSTER_NODES=

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

# Specify the type of database to create.

# It can be one of the following:

# - GENERAL_PURPOSE/TRANSACTION_PROCESSING         

# - DATA_WAREHOUSE                               

#選擇數據庫的用途,一般用途/事物處理,數據倉庫

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

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

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

# Specify the Starter Database GlobalDatabase Name. 指定GlobalName

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

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

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

# Specify the Starter Database SID.指定SID

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

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

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

# Specify the Starter Database characterset.

# 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

#選擇字符集。不正確的字符集會給數據顯示和存儲帶來麻煩無數。

#通常中文選擇的有ZHS16GBK簡體中文庫,建議選擇unicodeAL32UTF8國際字符集

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

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

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

# This variable should be set to true ifAutomatic Memory Management

# in Database is desired.

# If Automatic Memory Management is notdesired, and memory allocation

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

#11g的新特性自動內存管理,也就是SGA_TARGETPAG_AGGREGATE_TARGET#不用設置了,Oracle會自動調配兩部分大小

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

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

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

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

# at least 256 MB, and should not exceedthe 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 loadExample Schemas onto the starter

# database or not.是否載入模板示例

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

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

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

# This variable includes enabling auditsettings, configuring password profiles

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

# These settings may also be disabled.   是否啓用安全設置

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

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

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

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

# starter database:                                                               #

#   SYS                                                                     #

#   SYSTEM                                                                  #

#  SYSMAN (used by Enterprise Manager)                                         #

#  DBSNMP (used by Enterprise Manager)                                         #

# Same password can be used for allaccounts (not recommended)                         #

# or different passwords for each accountcan be provided (recommended)                  #

#設置數據庫用戶密碼

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

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

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

# starter database.

#設定所有數據庫用戶使用同一個密碼,其它數據庫用戶就不用單獨設置了。

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

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

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

# Specify the SYS password for the starterdatabase.

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

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

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

# Specify the SYSTEM password for thestarter database.

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

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

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

# Specify the SYSMAN password for thestarter database.

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

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

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

# Specify the DBSNMP password for thestarter database.

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

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

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

# Specify the management option to beselected for the starter database.

# It can be one of the following:

# 1. GRID_CONTROL

# 2. DB_CONTROL

#數據庫本地管理工具DB_CONTROL,遠程集中管理工具GRID_CONTROL

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

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

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

# Specify the Management Service to use ifGrid Control is selected to manage

# the database. GRID_CONTROL需要設定grid control的遠程路徑URL

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

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

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

# This variable indicates whether toreceive email notification for critical

# alerts when using DB control.是否啓用Email通知啓用後會將告警等信息發送到指定郵箱

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

oracle.install.db.config.starterdb.dbcontrol.enableEmailNotification=false

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

# Specify the email address to which thenotifications are to be sent.設置通知EMAIL地址

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

oracle.install.db.config.starterdb.dbcontrol.emailAddress=

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

# Specify the SMTP server used for emailnotifications.設置EMAIL郵件服務器

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

oracle.install.db.config.starterdb.dbcontrol.SMTPServer=

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

# SPECIFY BACKUP AND RECOVERY OPTIONS                                      #

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

# using the entries below.                                                         #

#安全及恢復設置(默認值即可)out-of-boxout-of-box experience)縮寫爲OOBE

#產品給用產品給用戶良好第一印象和使用感受

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

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

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

# this can be set to true.設置自動備份,和OUI裏的自動備份一樣。

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

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

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

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

# automated backups are enabled, a job willbe scheduled to run daily at

# 2:00 AM to backup the database. This jobwill 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 ischosen for backup and recovery, if

# automated backups are enabled, a job willbe scheduled to run daily at

# 2:00 AM to backup the database. This jobwill run as the operating system user

# specified by the above entry. Thefollowing 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 forthe database.

# It can be one of the following:

# - FILE_SYSTEM_STORAGE

# - ASM_STORAGE

#自動備份,要求指定使用的文件系統存放數據庫文件還是ASM

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

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

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

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

# files, redo logs.        

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

#使用文件系統存放數據庫文件才需要指定數據文件、控制文件、Redo log的存放目錄

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

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

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

# Specify the backup and recovery location.

# Applicable only whenoracle.install.db.config.starterdb.storage=FILE_SYSTEM

#使用文件系統存放數據庫文件才需要指定備份恢復目錄

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

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

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

# Specify the existing ASM disk groups tobe used for storage.

# Applicable only whenoracle.install.db.config.starterdb.storage=ASM

#使用ASM存放數據庫文件才需要指定存放的磁盤組

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

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

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

# Specify the password for ASMSNMP user ofthe ASM instance.                 

# Applicable only whenoracle.install.db.config.starterdb.storage=ASM_SYSTEM

#使用ASM存放數據庫文件才需要指定ASM實例密碼

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

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

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

# Specify the My Oracle Support AccountUsername.

# Example   :MYORACLESUPPORT_USERNAME=metalink

#指定metalink賬戶用戶名

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

MYORACLESUPPORT_USERNAME=

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

# Specify the My Oracle Support AccountUsername password.

# Example   : MYORACLESUPPORT_PASSWORD=password

# 指定metalink賬戶密碼

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

MYORACLESUPPORT_PASSWORD=

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

# Specify whether to enable the user to setthe password for

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

# If left blank it will be assumed to befalse.

# Example   : SECURITY_UPDATES_VIA_MYORACLESUPPORT=true

# 用戶是否可以設置metalink密碼

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

SECURITY_UPDATES_VIA_MYORACLESUPPORT=

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

# Specify whether user wants to give anyproxy details for connection.

# The value can be either true or false. Ifleft blank it will be assumed to be false.

# Example   : DECLINE_SECURITY_UPDATES=false

# False表示不需要設置安全更新,注意,在11.2的靜默安裝中疑似有一個BUG

# Response File中必須指定爲true,否則會提示錯誤,不管是否正確填寫了郵件地址

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

DECLINE_SECURITY_UPDATES=true

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

# Specify the Proxy server name. Lengthshould be greater than zero.

#代理服務器名

# Example   : PROXY_HOST=proxy.domain.com

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

PROXY_HOST=

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

# Specify the proxy port number. Should beNumeric and atleast 2 chars.

#代理服務器端口

# Example   : PROXY_PORT=25

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

PROXY_PORT=

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

# Specify the proxy user name. LeavePROXY_USER and PROXY_PWD

# blank if your proxy server requires noauthentication.

#代理服務器用戶名

# Example   : PROXY_USER=username

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

PROXY_USER=

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

# Specify the proxy password. LeavePROXY_USER and PROXY_PWD 

# blank if your proxy server requires noauthentication.

#代理服務器密碼

# Example   : PROXY_PWD=password

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

PROXY_PWD=

發佈了115 篇原創文章 · 獲贊 21 · 訪問量 67萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章