bond1 11.11.0.1 11.11.0.0 0.0.0.0 11.11.2.254 30:F7:0D:08:56:D2 1500
3.编辑响应文件。
切换到Grid Infrastructure安装介质目录,找到response目录,编辑grid_install.rsp文件根据提示修改grid_install.rsp文件的内容,下面是对grid_install.rsp文件修改的内容(仅供修改参考,不可直接拷贝使用):
oracle.install.responseFileVersion=/oracle/install/rspfmt_crsinstall_response_schema_v11_2_0
ORACLE_HOSTNAME=
INVENTORY_LOCATION=/u01/app/oraInventory
SELECTED_LANGUAGES=en
oracle.install.option=CRS_CONFIG
ORACLE_BASE=/u01/app/gridbase
ORACLE_HOME=/u01/app/grid/11.2.0
oracle.install.asm.OSDBA=asmdba
oracle.install.asm.OSOPER=asmoper
oracle.install.asm.OSASM=asmadmin
oracle.install.crs.config.gpnp.scanName=wstrac.scan.com
oracle.install.crs.config.gpnp.scanPort=1521
oracle.install.crs.config.clusterName=rac-cluster
oracle.install.crs.config.gpnp.configureGNS=false
oracle.install.crs.config.clusterNodes=rac1:rac1vip,rac2:rac2vip
oracle.install.crs.config.networkInterfaceList=bond0:11.11.2.0:1,bond1:11.11.0.0:2
oracle.install.crs.config.storageOption=ASM_STORAGE
oracle.install.crs.config.useIPMI=false
oracle.install.asm.SYSASMPassword=oracle_Schic1
oracle.install.asm.diskGroup.name=OCRVDISK
oracle.install.asm.diskGroup.redundancy=NORMAL
oracle.install.asm.diskGroup.AUSize=1
oracle.install.asm.diskGroup.disks=/dev/oracleasm/disks/OCRVDISK1,/dev/oracleasm/disks/OCRVDISK2,/dev/oracleasm/disks/OCRVDISK3,/dev/oracleasm/disks/OCRVDISK4
oracle.install.asm.diskGroup.diskDiscoveryString=/dev/oracleasm/disks/*
oracle.install.asm.monitorPassword=oracle_Schic1
oracle.install.asm.upgradeASM=false
本次配置完整的grid_install.rsp响应文件可以到这里
下载grid_install.rsp。
4.静默安装Grid Infrastructure软件。
以grid用户切换到Grid Infrastructure安装介质目录,执行以下的命令开始静默安装Grid Infrastructure软件:
[grid@rac1 grid]$ ./runInstaller -responseFile /u01/soft/grid/response/grid_install.rsp -silent -ignorePrereq -showProgress
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB. Actual 43815 MB Passed
Checking swap space: must be greater than 150 MB. Actual 10236 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-10-24_11-22-31PM. Please wait ...[grid@rac1 grid]$ You can find the log of this install session at:
/u01/app/oraInventory/logs/installActions2012-10-24_11-22-31PM.log
Prepare in progress.
.................................................. 5% Done.
Prepare successful.
Copy files in progress.
.................................................. 10% Done.
.................................................. 16% Done.
.................................................. 21% Done.
.................................................. 26% Done.
Copy files successful.
..........
Link binaries in progress.
Link binaries successful.
.................................................. 34% Done.
Setup files in progress.
Setup files successful.
.................................................. 41% Done.
Perform. remote operations in progress.
.................................................. 48% Done.
Perform. remote operations successful.
The installation of Oracle Grid Infrastructure was successful.
Please check '/u01/app/oraInventory/logs/silentInstall2012-10-24_11-22-31PM.log' for more details.
.................................................. 97% Done.
Execute Root Scripts in progress.
As a root user, execute the following script(s):
1. /u01/app/oraInventory/orainstRoot.sh
2. /u01/app/grid/11.2.0/root.sh
Execute /u01/app/oraInventory/orainstRoot.sh on the following nodes:
[rac1, rac2]
Execute /u01/app/grid/11.2.0/root.sh on the following nodes:
[rac1, rac2]
.................................................. 100% Done.
Execute Root Scripts successful.
As install user, execute the following script. to complete the configuration.
1. /u01/app/grid/11.2.0/cfgtoollogs/configToolAllCommands
Note:
1. This script. must be run on the same system from where installer was run.
2. This script. needs a small password properties file for configuration assistants that require passwords (refer to install guide documentation).
Successfully Setup Software.