oracle 11g grid安装指南_第1页
oracle 11g grid安装指南_第2页
oracle 11g grid安装指南_第3页
oracle 11g grid安装指南_第4页
oracle 11g grid安装指南_第5页
已阅读5页,还剩28页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

oracle11ggrid安装指南软件环境l操作系统:Redhat linux 6.2l数据库和集群件版本:ORACLE 11204l用户组和文件系统配置用户组和文件系统配置软件组件用户主组辅助组主目录软件目录Grid Infragridoinstalldba/oracle/grid/oracle/grid检查必要的软件包binutils-2.20.51.0.2-5.11.el6 (x86_64)compat-libstdc+-33-3.2.3-69.el6 (x86_64)glibc-2.12-1.7.el6 (x86_64)ksh-*.el6 (x86_64) authorized_keysnode2:grid node2$ ssh-keygen -t rsa/一路回车grid node2$ ssh-keygen -t dsanode1:gridnode1 .ssh$ scp authorized_keys node2:/home/grid/.ssh/选yes输入busrac2 grid用户密码node2:grid node2$ cd .sshgridnode2 .ssh$ cat *.pub authorized_keysgridnode2 .ssh$ scp authorized_keys node1:/home/grid/.ssh/验证ssh用户等效性node1:第一次选择yesgrid node1 $ ssh node1 dategrid node1 $ ssh node2 dategrid node1 $ ssh node1-priv dategrid node1 $ ssh node2-priv date切换至node 2执行grid node2 $ ssh node1 dategrid node2 $ ssh node2 dategrid node2 $ ssh node1-priv dategrid node2 $ ssh node2-priv date/如果不需要输入密码,则配置成功环境变量设置node1grid用户:export ORACLE_BASE=/oracle/baseexport ORACLE_HOME=/oracle/gridexport ORACLE_SID=+ASM1export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATHnode2grid用户:export ORACLE_BASE=/oracle/baseexport ORACLE_HOME=/oracle/gridexport ORACLE_SID=+ASM2export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATH创建软件安装目录# mkdir -p /oracle# chown -R oracle:oinstall /oracle# chmod -R 775 /oracle安装Grid Infrastructurep13390677_112040_Linux-x86-64_3of7.zipunzip p13390677_112040_Linux-x86-64_3of7.zipsugrid设置DISPLAY环境变量$ export LANG=en_US$ ./runInstaller安装截图出来下面安装界面,选择最下面的Skip software updates,然后选next选择第一个安装和配置集群环境,next选择第二个高级安装,next选上添加简体中文,next此处集群名自己取,SCAN名需要和/etc/hosts中的scan ip别名一致,端口默认,不选GNS,next添加busrac2节点,并进行ssh测试,next配置网络接口:选对网卡类型,next存储选择:选择ASM,next建立OCRVOTE盘,选择3块2G的盘next设置密码:next安装路径指定:选择ORACLE_BASE和ORACLE_HOME,根据自己设置来,建议ORACLE_BASE不和RDBMS软件ORACLE_BASE不是同一个,方便管理检测结果: 查看检测结果,如果fixable为yes则可以通过按fix&check again,执行脚本来修复(不保证一定可以修复),如果不能,则只能手工修复,经检查,可以忽略,选择ignore all继续安装以root身份执行脚本:root用户执行两个脚本,一个节点执行完后再执行第二个节点执行脚本。注意:lroot脚本在所有节点一定要成功完成l如果root.sh执行失败切换到root,在失败的节点执行$GRID_HOME/crs/install/rootcrs.pl -verbose -deconfig -force.注意不能是最后一个节点如果是deconfig整个集群,那么在执行完第一步后,在最后一个节点运行$GRID_HOME/crs/install/rootcrs.pl -verbose -deconfig -force -lastnode.这个命令会清空OCR VOTE安装完成:rootnode1 etc#/oracle/oraInventory/orainstRoot.shChanging permissions of /oracle/oraInventory.Adding read,write permissions for group.Removing read,write,execute permissions for world.Changing groupname of /oracle/oraInventory to oinstall.The execution of the script is complete.rootnode1 etc# /oracle/grid/root.shPerforming root user operation for Oracle 11gThe following environment variables are set as:ORACLE_OWNER= gridORACLE_HOME=/oracle/gridEnter 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: /oracle/grid/crs/install/crsconfig_paramsCreating trace directoryUser ignored Prerequisites during installationInstalling Trace File AnalyzerOLR initialization - successfulroot walletroot wallet certroot cert exportpeer walletprofile reader walletpa walletpeer wallet keyspa wallet keyspeer cert requestpa cert requestpeer certpa certpeer root cert TPprofile reader root cert TPpa root cert TPpeer pa cert TPpa peer cert TPprofile reader pa cert TPprofile reader peer cert TPpeer user certpa user certAdding Clusterware entries to upstartCRS-2672: Attempting to start ora.mdnsd on node1CRS-2676: Start of ora.mdnsd on node1 succeededCRS-2672: Attempting to start ora.gpnpd on node1CRS-2676: Start of ora.gpnpd on node1 succeededCRS-2672: Attempting to start ora.cssdmonitor on node1CRS-2672: Attempting to start ora.gipcd on node1CRS-2676: Start of ora.gipcd on node1 succeededCRS-2676: Start of ora.cssdmonitor on node1 succeededCRS-2672: Attempting to start ora.cssd on node1CRS-2672: Attempting to start ora.diskmon on node1CRS-2676: Start of ora.diskmon on node1 succeededCRS-2676: Start of ora.cssd on node1 succeededASM created and started successfully.Disk Group OCRVOTE 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 540fb05eb3844feabfe3959578c282f1.Successful addition of voting disk 5608478ff1cd4f1cbf70f9d01ea120a2.Successful addition of voting disk 108c03b12f8f4f43bf047c41c61e360c.Successfully replaced voting disk group with +OCRVOTE.CRS-4256: Updating the profileCRS-4266: Voting file(s) successfully replaced#STATEFile Universal IdFile Name Disk group- -1. ONLINE540fb05eb3844feabfe3959578c282f1 (/dev/asm-diskb) OCRVOTE2. ONLINE5608478ff1cd4f1cbf70f9d01ea120a2 (/dev/asm-diskc) OCRVOTE3. ONLINE108c03b12f8f4f43bf047c41c61e360c (/dev/asm-diskd) OCRVOTELocated 3 voting disk(s).CRS-2672: Attempting to start ora.asm on node1CRS-2676: Start of ora.asm on node1 succeededCRS-2672: Attempting to start ora.OCRVOTE.dg on node1CRS-2676: Start of ora.OCRVOTE.dg on node1 succeededConfigure Oracle Grid Infrastructure for a Cluster . succeededrootnode2 etc# /oracle/oraInventory/orainstRoot.shChanging permissions of /oracle/oraInventory.Adding read,write permissions for group.Removing read,write,execute permissions for world.Changing groupname of /oracle/oraInventory to oinstall.The execution of the script is complete.rootnode2 etc# /oracle/grid/root.shPerforming root user operation for Oracle 11gThe following environment variables are set as:ORACLE_OWNER= gridORACLE_HOME=/oracle/gridEnter 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 Con

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论