




下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Oracle RAC增加一个节点_3节点的实验1、主机名规划:#Public Network - (ethO)192.168.110.11 rac1192.168.110.12 rac2192.168.110.13 rac3#Private Interconnect - (eth1)10.10.10.11 rac1priv10.10.10.12 rac2priv10.10.10.13 rac3priv #Public Virtual IP (VIP) addresses - (eth0)192.168.110.21 rac1vip192.168.110.22 rac2vip192.168.11
2、0.23 rac3vipS SH验证等。2、配置与rac1与rac2 一样的OS环境,包括创建用户,环境变量,3、Install Oracle Clusterware on the new node在第一个节点上操作以下:cd $CRS_HOME/oui/bin./addNode.sh根据提示完成第3个节点的 crs安装,安装完后成,运行以下脚本: /oracle/app/oralnventory/orainstRoot.sh rac3/oracle/app/crs/install/rootaddnode.sh rac1/oracle/app/crs/root.sh rac3详细日志如下:ro
3、otrac3 # /oracle/app/oraInventory/orainstRoot.shChanging permissions of /oracle/app/oraInventory to 770.Changing groupname of /oracle/app/oraInventory to oinstall.The execution of the script. is completerootrac1 # /oracle/app/crs/install/rootaddnode.shclscfg: EXISTING configuration version 3 detecte
4、d.clscfg: version 3 is 10G Release 2.Attempting to add 1 new nodes to the configurationUsing ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.node : vprivate interconnect name node 3: rac3 rac3priv rac3Creating OCR keys for user root, privgrp root.Operation successful./oracle/app/crs/bin/srvctl
5、add nodeapps -n rac3 -A rac3vip/255.255.255.0/eth0 -o /oracle/app/crsrootrac3 # /oracle/app/crs/root.shWARNING: directory /oracle/app is not owned by rootWARNING: directory /oracle is not owned by rootChecking to see if Oracle CRS stack is already configured/etc/oracle does not exist. Creating it no
6、w.OCR LOCATIONS = /dev/raw/raw1OCR backup directory /oracle/app/crs/cdata/crs does not exist. Creating nowSetting the permissions on OCR backup directorySetting up NS directoriesOracle Cluster Registry configuration upgraded successfullyWARNING: directory /oracle/app is not owned by rootWARNING: dir
7、ectory /oracle is not owned by rootclscfg: EXISTING configuration version 3 detected.clscfg: version 3 is 10G Release 2.Successfully accumulated necessary OCR keys.Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.node : vprivate interconnect name node 1: racl raclpriv raclnode 2: rac2 rac2
8、priv rac2clscfg: Arguments check out successfully.NO KEYS WERE WRITTEN. Supply -force parameter to override.-force is destructive and will destroy any previous cluster configuration.Oracle Cluster Registry for cluster has already been initializedStartup will be queued to init within 30 seconds.Addin
9、g daemons to inittabExpecting the CRS daemons to be up within 600 seconds.CSS is active on these nodes.rac1rac2rac3CSS is active on all nodes.Waiting for the Oracle CRSD and EVMD to startWaiting for the Oracle CRSD and EVMD to startWaiting for the Oracle CRSD and EVMD to startWaiting for the Oracle
10、CRSD and EVMD to startWaiting for the Oracle CRSD and EVMD to startWaiting for the Oracle CRSD and EVMD to startWaiting for the Oracle CRSD and EVMD to startWaiting for the Oracle CRSD and EVMD to startWaiting for the Oracle CRSD and EVMD to startOracle CRS stack installed and running under init(1M)
11、Running vipca(silent) for configuring nodeappsCreating VIP application resource on (0) nodes.Creating GSD application resource on (0) nodes.Creating ONS application resource on (0) nodes.Starting VIP application resource on (2) nodes.Starting GSD application resource on (2) nodes.Starting ONS applic
12、ation resource on (2) nodes.Done.4、oraclerac1 $ cat $CRS_HOME/opmn/conf/ons.configlocalport=6113remoteport=6200loglevel=3useocr=onoraclerac1 $ $CRS_HOME/bin/racgons add_config rac3:6200oraclerac3 $ olsnodesrac1rac2rac3操作后,状态如下:oraclerac1 $ crs_stat -tNameTypeTarget State Hostora.SM1.asm applicationO
13、FFLINEOFFLINEora.C1 .l snr applicationONLINEONLINErac1ora.rac1.gsdapplicationONLINEONLINErac1ora.rac1.onsapplicationONLINEONLINErac1ora.rac1.vipapplicationONLINEONLINErac1ora.SM2.asm applicationOFFLINEOFFLINEora.C2 .l snr applicationONLI NEONLINErac2ora.rac2.gsdapplicationONLINEONLINErac2ora.rac2.on
14、sapplicationONLINEONLINErac2ora.rac2.vipapplicationONLINEONLINErac2ora.rac3.gsdapplicationONLINEONLINErac3ora.rac3.onsapplicationONLINEONLINErac3ora.rac3.vip applicationONLINEONLINErac3ora.racdb.db applicationOFFLINEOFFLINEora.b1.inst applicationOFFLINEOFFLINEora.b2.inst applicationOFFLINEOFFLINEora
15、.db_s.cs applicationOFFLINEOFFLINEora.db1.srv applicationOFFLINEOFFLINEora.db2.srv applicationOFFLINEOFFLINE5、Install Oracle RDBMS and ASM Home on the new node在第一个节点上操作以下:cd $ORACLE_HOME/oui/bin./addNode.sh完成后,执行:/oracle/app/product/10.2.0/db_1/root.sh rac36、Configure the Listener on the new NodeThe
16、 following steps need to be done on node3:$ORACLE_HOME/bin/netca只选择rac3进行配置6、Create an ASM Instance on the new node.The following steps need to be done on node1:Login as the Oracle user and set the environment to ASM home.$ORACLE_HOME/bin/dbca先配ASM,再建INSTANCE选择 instance managementadd instance创建完成后,状
17、态如下:oraclerac3 admin$ crs_stat -tNameTypeTarget State Hostora.SM1.asm applicationONLINEONLINErac1ora.C1.1 snr applicationONLINEONLINErac1ora.rac1.gsd applicationONLINEONLINErac1ora.rac1.ons applicationONLINEONLINErac1ora.rac1.vip applicationONLINEONLINErac1ora.SM2.asm applicationONLINEONLINErac2ora.
18、C2 .l snr applicationONLI NEONLINErac2ora.rac2.gsd applicationONLINEONLINErac2ora.rac2.ons applicationONLINEONLINErac2ora.rac2.vip applicationONLINEONLINErac2ora.SM3.asm applicationONLINEONLINErac3ora.C3 .l snr applicationONLI NEONLINErac3ora.rac3.gsd applicationONLINEONLINErac3ora.rac3.ons applicationONLINEONLINErac3ora.rac3.vip applicationONLINEONLINErac3ora.racdb.db applicationON
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 话题讨论:诚信在生活中的作用8篇
- 农业种植区土地管理使用合同书
- 农业生产技术与安全知识考点
- 农村农业机械使用与安全责任协议
- 食品行业食品安全法规与实践练习题
- 机械工程行业实习表现证明(6篇)
- 在课堂上的一次特殊经历记事作文13篇范文
- 英语阅读理解的跨文化交际知识点集萃
- 2025年心理学考试试题及答案
- 2025年医学影像学基础知识考试试卷及答案
- 陕西省专业技术人员继续教育2025公需课《党的二十届三中全会精神解读与高质量发展》20学时题库及答案
- 重庆万州区社区工作者招聘笔试真题2024
- 郴州市2025年中考第二次模考历史试卷
- 酒店项目规划设计方案(模板)
- 2025名著导读《钢铁是怎样炼成的》阅读习题(含答案)
- 2025-2030中国冷热交换器行业市场现状分析及竞争格局与投资发展研究报告
- 美容院和干洗店合同协议
- 前程无忧测评题库
- ICU经口气管插管患者口腔黏膜压力性损伤预防的最佳证据总结 - 学习与临床应用
- 2025急性心梗诊疗指南
- 【闵行区人民法院】上海市闵行区劳动人事争议调解仲裁与审判白皮书(2023-2024年)
评论
0/150
提交评论