Installation Oracle11gR2 RAC One Node -----安装配置grid
2016-01-19 10:44
609 查看
第二章 安装grid
在node1上使用grid用户安装gridinfrastructure,grid@node1 grid]$ ./runInstaller Starting Oracle Universal Installer... Checking Temp space: must be greater than 120 MB. Actual 79780 MB Passed Checking swap space: must be greater than 150 MB. Actual 6143 MB Passed Checking monitor: must be configured to display at least 256colors. Actual 16777216 Passed Preparing to launch Oracle UniversalInstaller from /tmp/OraInstall2012-12-29_09-28-08AM. Please wait ...[grid@node1grid]$![](http://s5.51cto.com/wyfs02/M01/79/E2/wKioL1adoC7BJEEaAALFo140bec166.jpg)
skip software updates
![](http://s1.51cto.com/wyfs02/M01/79/E3/wKiom1adoAaiRlxXAAJybRhQgVA832.jpg)
install and configure oracle grid infrastructure for a cluster
![](http://s4.51cto.com/wyfs02/M02/79/E2/wKioL1adoGagBr9cAAJc1tlXu9E841.jpg)
advanced installion
![](http://s5.51cto.com/wyfs02/M00/79/E3/wKiom1adoGGQtSu5AAK-Rt3Dpco421.jpg)
add simplified chinese
![](http://s5.51cto.com/wyfs02/M02/79/E2/wKioL1adoLPiSxiaAALL4UL_lOg310.jpg)
不配置GNS,设置scan name.
![](http://s2.51cto.com/wyfs02/M00/79/E2/wKioL1adoMbBlu4dAAMY-aZ99wU698.jpg)
![](http://s2.51cto.com/wyfs02/M01/79/E2/wKioL1adoODgJrkoAAOrvFQCyd4646.jpg)
添加节点并配置ssh无密码验证。
![](http://s5.51cto.com/wyfs02/M02/79/E2/wKioL1adoQ7hOLxGAALtkQM611E785.jpg)
指定public网卡与private网卡。
![](http://s4.51cto.com/wyfs02/M00/79/E4/wKiom1adoPbx7aGcAAK4ufcqnFY430.jpg)
oracle automatic storage management (oracle asm)
![](http://s3.51cto.com/wyfs02/M00/79/E4/wKiom1adoSKgfaTlAALmr657H8s604.jpg)
设置discorery path,配置oca_vote.
![](http://s1.51cto.com/wyfs02/M01/79/E4/wKiom1adoTzhqa4JAAMJIoAsMZQ722.jpg)
选择ASMOCR磁盘
![](http://s1.51cto.com/wyfs02/M00/79/E2/wKioL1adoZTSHG2-AANAkiR7yWs896.jpg)
设置统一密码
![](http://s5.51cto.com/wyfs02/M01/79/E4/wKiom1adoXfxZvzFAAKKicRE_Q0335.jpg)
do not use intelligent platform management interface(ipm)
![](http://s1.51cto.com/wyfs02/M01/79/E2/wKioL1adodbQh6m7AALrC6Ikzqg817.jpg)
![](http://s5.51cto.com/wyfs02/M00/79/E4/wKiom1adogWzyha0AAMXqXK46do045.jpg)
![](http://s3.51cto.com/wyfs02/M01/79/E4/wKiom1adognDORCZAAMnTC5IQcw235.jpg)
![](http://s4.51cto.com/wyfs02/M00/79/E4/wKiom1adog6y2TlsAANO5hVoCMo780.jpg)
ignore all
![](http://s4.51cto.com/wyfs02/M01/79/E4/wKiom1adojajkEDfAAOhWikNN94113.jpg)
install
![](http://s4.51cto.com/wyfs02/M02/79/E3/wKioL1adopmi3e-BAAPuW2QrYxk211.jpg)
分别在节点1与节点2执行上图所示脚本节点1:node1:/etc # cd /u01/app/oraInventory/node1:/u01/app/oraInventory # ./orainstRoot.sh Changing permissions of /u01/app/oraInventory.Adding read,write permissions for group.Removing read,write,execute permissions for world. Changing groupname of /u01/app/oraInventory to oinstall.The execution of the script is complete. node1:/u01/app/oraInventory # cd /u01/app/11.2.0/grid/node1:/u01/app/11.2.0/grid # ./root.sh Performing root user operation for Oracle 11g The following environment variables are set as: ORACLE_OWNER= grid ORACLE_HOME= /u01/app/11.2.0/grid Enter the full pathname of the local bin directory:[/usr/local/bin]: Copying dbhome to/usr/local/bin ... Copying oraenv to/usr/local/bin ... Copying coraenv to/usr/local/bin ... Creating /etc/oratab file...Entries will be added to the /etc/oratab file as needed byDatabase Configuration Assistant when a database is createdFinished running generic part of root script.Now product-specific root actions will be performed.Using configuration parameter file:/u01/app/11.2.0/grid/crs/install/crsconfig_paramsCreating trace directoryUser ignored Prerequisites during installationInstalling Trace File AnalyzerOLR initialization - successful root wallet root wallet cert root cert export peer wallet profile reader wallet pa wallet peer wallet keys pa wallet keys peer cert request pa cert request peer cert pa cert peer root cert TP profile reader root certTP pa root cert TP peer pa cert TP pa peer cert TP profile reader pa certTP profile reader peer certTP peer user cert pa user certAdding Clusterware entries to inittabCRS-2672: Attempting to start 'ora.mdnsd' on 'node1'CRS-2676: Start of 'ora.mdnsd' on 'node1' succeededCRS-2672: Attempting to start 'ora.gpnpd' on 'node1'CRS-2676: Start of 'ora.gpnpd' on 'node1' succeededCRS-2672: Attempting to start 'ora.cssdmonitor' on 'node1'CRS-2672: Attempting to start 'ora.gipcd' on 'node1'CRS-2676: Start of 'ora.cssdmonitor' on 'node1' succeededCRS-2676: Start of 'ora.gipcd' on 'node1' succeededCRS-2672: Attempting to start 'ora.cssd' on 'node1'CRS-2672: Attempting to start 'ora.diskmon' on 'node1'CRS-2676: Start of 'ora.diskmon' on 'node1' succeededCRS-2676: Start of 'ora.cssd' on 'node1' succeeded ASM created and started successfully. Disk Group OCR_VOTE created successfully. clscfg: -install mode specifiedSuccessfully accumulated necessary OCR keys.Creating OCR keys for user 'root', privgrp 'root'..Operation successful.CRS-4256: Updating the profileSuccessful addition of voting disk 58c51573d8724ff9bf8dde4c401c584b.Successfully replaced voting disk group with +OCR_VOTE.CRS-4256: Updating the profileCRS-4266: Voting file(s) successfully replaced## STATE File Universal Id File Name Disk group-- ----- ----------------- --------- --------- 1. ONLINE 58c51573d8724ff9bf8dde4c401c584b(/dev/asmocr) [OCR_VOTE]Located 1 voting disk(s).CRS-2672: Attempting to start 'ora.asm' on 'node1'CRS-2676: Start of 'ora.asm' on 'node1' succeededCRS-2672: Attempting to start 'ora.OCR_VOTE.dg' on 'node1'CRS-2676: Start of 'ora.OCR_VOTE.dg' on 'node1' succeededConfigure Oracle Grid Infrastructure for a Cluster ... succeedednode1:/u01/app/11.2.0/grid # 节点2:node2:~ # cd /u01/app/oraInventory/node2:/u01/app/oraInventory # ./orainstRoot.sh Changing permissions of /u01/app/oraInventory.Adding read,write permissions for group.Removing read,write,execute permissions for world. Changing groupname of /u01/app/oraInventory to oinstall.The execution of the script is complete.node2:/u01/app/oraInventory # cd /u01/app/11.2.0/grid/node2:/u01/app/11.2.0/grid # ./root.sh Performing root user operation for Oracle 11g The following environment variables are set as: ORACLE_OWNER= grid ORACLE_HOME= /u01/app/11.2.0/grid Enter the full pathname of the local bin directory:[/usr/local/bin]: Copying dbhome to/usr/local/bin ... Copying oraenv to/usr/local/bin ... Copying coraenv to/usr/local/bin ... Creating /etc/oratab file...Entries will be added to the /etc/oratab file as needed byDatabase Configuration Assistant when a database is createdFinished running generic part of root script.Now product-specific root actions will be performed.Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_paramsCreating trace directoryUser ignored Prerequisites during installationInstalling Trace File AnalyzerOLR initialization - successfulAdding Clusterware entries to inittabCRS-4402: The CSS daemon was started in exclusive mode but foundan active CSS daemon on node node1, number 1, and is terminatingAn active cluster was found during exclusive startup, restartingto join the clusterConfigure Oracle Grid Infrastructure for a Cluster ... succeedednode2:/u01/app/11.2.0/grid # 执行结束之后,返回图形节点点击ok
![](http://s1.51cto.com/wyfs02/M01/79/E4/wKiom1adooCAMo5kAAQpBdiSBDI933.jpg)
![](http://s2.51cto.com/wyfs02/M02/79/E3/wKioL1adotSwPo_5AAPpRN9yZPM134.jpg)
忽略( 此处是一个bug,因为未使用DNS解析scanip,可以忽略),点击ok
![](http://s2.51cto.com/wyfs02/M00/79/E4/wKiom1adosbwYUC6AAQqfZ43RF8832.jpg)
![](http://s3.51cto.com/wyfs02/M01/79/E3/wKioL1adowLD4uLSAAIieY6gbzk691.jpg)
至此,grid安装完毕。
相关文章推荐
- Windows系统下Node.js的简单入门教程
- 在Node.js应用中使用Redis的方法简介
- 在Ubuntu系统上安装Ghost博客平台的教程
- Node.js编程中客户端Session的使用详解
- 使用Raygun对Node.js应用进行错误处理的方法
- 在Mac OS下使用Node.js的简单教程
- node.js抓取并分析网页内容有无特殊内容的js文件
- 浅析Node在构建超媒体API中的作用
- 在Node.js中使用HTTP上传文件的方法
- 举例讲解Node.js中的Writable对象
- Node调试工具JSHint的安装及配置教程
- Node.js实现简单聊天服务器
- 解析jQuery的三种bind/One/Live事件绑定使用方法
- RAC cache fusion机制实现原理分析
- 浅析Node.js中使用依赖注入的相关问题及解决方法
- oracle 11g RAC 常用命令整理分享
- node.js开发中使用Node Supervisor实现监测文件修改并自动重启应用
- 浅析node连接数据库(express+mysql)
- 充分发挥Node.js程序性能的一些方法介绍