1. 程式人生 > >Oracle靜默安裝檔案 db_install.rsp 詳解

Oracle靜默安裝檔案 db_install.rsp 詳解

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

## Copyright(c) Oracle Corporation1998,2008. Allrightsreserved.           ##

## Specify values for the variables listedbelow tocustomize your installation.   ##

## Each variable is associated with acomment. Thecomment                ##

## can help to populate the variables withtheappropriate values.              ##

## IMPORTANT NOTE: This file contains plaintextpasswords and           ##

## should be secured to have readpermission onlyby oracle user              ##

## or db administrator who ownsthisinstallation.                          ##

## 對整個檔案的說明,該檔案包含引數說明,靜默檔案中密碼資訊的保密 ##

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

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

# Do not change the following systemgeneratedvalue.標註響應檔案版本,這個版本必須和要安裝的資料庫版本相同,安裝檢驗無法通過,不能更改

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

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 setduringthe install. It can be used

# to force the installation to use analternativehostname rather than using the

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

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

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

ORACLE_HOSTNAME=ora11gr2

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

# Specify the Unix group to be set fortheinventory directory. 

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

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

UNIX_GROUP_NAME=oinstall

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

# Specify the location which holds theinventoryfiles.

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

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

INVENTORY_LOCATION=/u01/app/oracle/oraInventory

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

# Specify the languages in which thecomponentswill be installed. 

# en  :English                 ja  :Japanese                 

# fr  :French                  ko  :Korean                   

# ar  :Arabic                  es  : Latin AmericanSpanish   

# bn  :Bengali                 lv  :Latvian                  

# pt_BR: BrazilianPortuguese      lt  :Lithuanian               

# bg  :Bulgarian               ms  :Malay                    

# fr_CA: CanadianFrench         es_MX: MexicanSpanish          

# 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: SimplifiedChinese       

# 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:TraditionalChinese      

# 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 theOracleHome.設定ORALCE_HOME的路徑

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

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

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

# Specify the complete path of theOracleBase.設定ORALCE_BASE的路徑

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

ORACLE_BASE=/u01/app/oracle

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

# Specify the installation edition ofthecomponent.           

# The value should contain only one ofthesechoices.       

#EE    :EnterpriseEdition                               

#SE    :StandardEdition                                 

# SEONE  Standard EditionOne

#PE    :Personal Edition (WINDOWS ONLY)

# 選擇Oracle安裝資料庫軟體的版本(企業版,標準版,標準版1),不同的版本功能不同

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

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

oracle.install.db.InstallEdition=EE

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

# This variable is used to enable ordisable custominstall.

# true : Components mentioned aspart of 'customComponents' property

#are considered for install.

# false : Value for 'customComponents' isnotconsidered.

# 是否自定義Oracle的元件,如果選擇false,則會使用預設的元件

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

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

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

oracle.install.db.isCustomInstall=true

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

# This variable is considered onlyif'IsCustomInstall' is set to true.

# Description: List of Enterprise EditionOptionsyou would like to install.

#             The following choices areavailable. You may specify any

#             combination of thesechoices. The components youchooseshould

#             be specified in theform"internal-component-name:version"

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

#             oracle.rdbms.partitioning:11.2.0.1.0- OraclePartitioning

#             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 ApplicationTesting

#             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 SYSTEMGROUPS                                       

# Provide values for the OS groups to whichOSDBAand OSOPERprivileges      #

# needs to be granted. If the install isbeingperformed as a member ofthe          #

# group "dba", then that will beused unlessspecified otherwisebelow.             #

# 指定擁有OSDBAOSOPER許可權的使用者組,通常會是 dba

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

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

# The DBA_GROUP is the OS group which is tobegranted OSDBA privileges.

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

oracle.install.db.DBA_GROUP=dba

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

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

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

oracle.install.db.OPER_GROUP=oinstall

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

# Specify the cluster node names selectedduringthe installation.

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

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

oracle.install.db.CLUSTER_NODES=

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

# Specify the type of database tocreate.

# 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 GlobalDatabaseName.指定 GlobalName

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

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

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

# Specify the Starter DatabaseSID. 指定SID

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

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

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

# Specify the Starter Databasecharacterset.

# 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 簡體中文庫,建議選擇unicode AL32UTF8 國際字符集

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

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

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

# This variable should be set to true ifAutomaticMemory Management

# in Database is desired.

# If Automatic Memory Management is notdesired,and memory allocation

# is to be done manually, then set ittofalse.

# 11g的新特性自動記憶體管理,也就是 SGA_TARGET PAG_AGGREGATE_TARGET不用設定了,Oracle 會自動調配兩部分大小

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

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

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

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

# at least 256 MB, and should not exceedthe totalphysical 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 loadExampleSchemas 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 bedisabled. 是否啟用安全設定

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

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

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

# Passwords can be supplied for thefollowing fourschemas in the                       #

# starterdatabase:                                                              #

#  SYS                                                                     #

#  SYSTEM                                                                 #

#  SYSMAN (usedby EnterpriseManager)                                        #

#  DBSNMP (usedby EnterpriseManager)                                        #

# Same password can be used for allaccounts (notrecommended)                        #

# or different passwords for each accountcan beprovided (recommended)                 #

# 設定資料庫使用者密碼

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

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

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

# starter database.

# 設定所有資料庫使用者使用同一個密碼,其它資料庫使用者就不用單獨設定了。

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

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

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

# Specify the SYS password for thestarterdatabase.

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

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

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

# Specify the SYSTEM password for thestarterdatabase.

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

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

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

# Specify the SYSMAN password for thestarterdatabase.

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

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

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

# Specify the DBSNMP password for thestarterdatabase.

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

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

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

# Specify the management option to beselected forthe 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 ifGridControl is selected to manage

# the database.GRID_CONTROL需要設定 gridcontrol 的遠端路徑 URL

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

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

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

# This variable indicates whether toreceive emailnotification for critical

# alerts when using DBcontrol. 是否啟用Email 通知啟用後會將告警等資訊傳送到指定郵箱

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

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

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

# Specify the email address to whichthenotifications are to be sent. 設定通知EMAIL 地址

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

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

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

# Specify the SMTP server used foremailnotifications. 設定 EMAIL 郵件伺服器

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

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

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

# SPECIFY BACKUP AND RECOVERYOPTIONS                                    #

# Out-of-box backup and recovery optionsfor thedatabase can bementioned               #

# using the entriesbelow.                                                        #

# 安全及恢復設定(預設值即可)out-of-boxout-of-boxexperience)縮寫為 OOBE

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

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

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

# This variable is to be set to false ifautomatedbackup 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 ischosenfor backup and recovery, if

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

# 2:00 AM to backup the database. This jobwill runas the operating system

# user that is specified in thisvariable. 自動備份會啟動一個job,指定啟動 JOB 的系統使用者ID

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

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

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

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

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

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

# specified by the above entry. Thefollowing entrystores the password for the

# above operating systemuser. 自動備份會開啟一個job,需要指定 OSUser的密碼

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

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

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

# Specify the type of storage to use forthedatabase.

# 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 adirectory for datafiles, control

# files, redologs.        

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

# 使用檔案系統存放資料庫檔案才需要指定資料檔案、控制檔案、Redolog 的存放目錄

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

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

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

# Specify the backup and recoverylocation.

# Applicable onlywhenoracle.install.db.config.starterdb.storage=FILE_SYSTEM

# 使用檔案系統存放資料庫檔案才需要指定備份恢復目錄

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

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

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

# Specify the existing ASM disk groups tobe usedfor storage.

# Applicable onlywhenoracle.install.db.config.starterdb.storage=ASM

# 使用 ASM存放資料庫檔案才需要指定存放的磁碟組

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

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

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

# Specify the password for ASMSNMP user ofthe ASMinstance.                 

# Applicable onlywhenoracle.install.db.config.starterdb.storage=ASM_SYSTEM

# 使用ASM 存放資料庫檔案才需要指定ASM例項密碼

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

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

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

# Specify the My Oracle SupportAccountUsername.

# Example  :MYORACLESUPPORT_USERNAME=metalink

# 指定 metalink賬戶使用者名稱

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

MYORACLESUPPORT_USERNAME=

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

# Specify the My Oracle Support AccountUsernamepassword.

#Example   :MYORACLESUPPORT_PASSWORD=password

#指定 metalink 賬戶密碼

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

MYORACLESUPPORT_PASSWORD=

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

# Specify whether to enable the user to setthepassword for

# My Oracle Support credentials. The valuecan beeither true or false.

# If left blank it will be assumed tobefalse.

#Example   :SECURITY_UPDATES_VIA_MYORACLESUPPORT=true

#使用者是否可以設定 metalink 密碼

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

SECURITY_UPDATES_VIA_MYORACLESUPPORT=

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

# Specify whether user wants to give anyproxydetails for connection.

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

#Example   :DECLINE_SECURITY_UPDATES=false

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

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

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

DECLINE_SECURITY_UPDATES=true

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

# Specify the Proxy server name. Lengthshould begreater than zero.

# 代理伺服器名

#Example   :PROXY_HOST=proxy.domain.com

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

PROXY_HOST=

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

# Specify the proxy port number. Should beNumericand atleast 2 chars.

# 代理伺服器埠

#Example   :PROXY_PORT=25

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

PROXY_PORT=

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

# Specify the proxy user name. LeavePROXY_USER andPROXY_PWD

# blank if your proxy server requiresnoauthentication.

# 代理伺服器使用者名稱

#Example   :PROXY_USER=username

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

PROXY_USER=

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

# Specify the proxy password. LeavePROXY_USER andPROXY_PWD 

# blank if your proxy server requiresnoauthentication.

# 代理伺服器密碼

#Example   :PROXY_PWD=password

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

PROXY_PWD=