ORACLE11G RAC增加节点操作
参考资料:
http://www.5ienet.com/note/html/sracnode/index.shtml
http://www.askmaclean.com/archives/add-node-to-11-2-0-2-grid-infrastructure.html
1.添加 rac节点:
使用GRID用户:
在当前RAC环境中任意节点的$ORA_CRS_HOME,执行oui/bin/addNode.sh脚本
[grid@rac1 bin]$ ./addNode.sh -pre CLUSTER_NEW_NODES={rac3} CLUSTER_NEW_VIRTUAL_HOSTNAMES={rac3-vip}
执行 添加节点 的预检查
"file-max" 的 内核参数 检查失败
在以下节点上检查失败:
rac3
"ip_local_port_range" 的 内核参数 检查已通过
"rmem_default" 的 内核参数 检查失败
在以下节点上检查失败:
rac3
"rmem_max" 的 内核参数 检查失败
在以下节点上检查失败:
rac3
"wmem_default" 的 内核参数 检查失败
在以下节点上检查失败:
rac3
"wmem_max" 的 内核参数 检查失败
在以下节点上检查失败:
rac3
"aio-max-nr" 的 内核参数 检查失败
在以下节点上检查失败:
rac3
修改为:看到很多的配置是6815744,但一直不通过,一猛心,后面加个0.
fs.file-max = 68157440
net.ipv4.ip_local_port_range = 1024 65535
net.core.rmem_default = 4194304
net.core.wmem_default = 262144
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
fs.aio-max-nr = 1048576
kernel.sem = 250 32000 100 128
PRVF-5636 : 在以下节点上, 无法访问的节点的 DNS 响应时间超过 "15000" 毫秒: rac1,rac3
使用命令,与RAC1进行数据同步
ntpdate -u rac1
PRVF-5436 : 在一个或多个节点上运行的 NTP 守护程序缺少快速定向选项 "-x"
修改了:vi /etc/sysconfig/ntpd
# Drop root to id 'ntp:ntp' by default.
OPTIONS=" -u ntp:ntp -x -p /var/run/ntpd.pid"
./addNode.sh CLUSTER_NEW_NODES={rac3} CLUSTER_NEW_VIRTUAL_HOSTNAMES={rac3-vip} > add_node.log 2>&1
完成后执行:
root@rac3 ~]# /opt/app/grid/root.sh
Performing root user operation for Oracle 11g
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /opt/app/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 by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /opt/app/grid/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
OLR initialization - successful
Adding Clusterware entries to inittab
CRS-2672: Attempting to start 'ora.mdnsd' on 'rac3'
CRS-2676: Start of 'ora.mdnsd' on 'rac3' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'rac3'
CRS-2676: Start of 'ora.gpnpd' on 'rac3' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac3'
CRS-2672: Attempting to start 'ora.gipcd' on 'rac3'
CRS-2676: Start of 'ora.cssdmonitor' on 'rac3' succeeded
CRS-2676: Start of 'ora.gipcd' on 'rac3' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rac3'
CRS-2672: Attempting to start 'ora.diskmon' on 'rac3'
CRS-2676: Start of 'ora.diskmon' on 'rac3' succeeded
CRS-2676: Start of 'ora.cssd' on 'rac3' succeeded
未能创建磁盘组CRS, 返回消息如下:
ORA-15018: diskgroup cannot be created
ORA-15072: command requires at least 2 regular failure groups, discovered only 0
ORA-15080: synchronous I/O operation to a disk failed
Configuration of ASM ... failed
see asmca logs at /opt/app/oracle/cfgtoollogs/asmca for details
Did not succssfully configure and start ASM at /opt/app/grid/crs/install/crsconfig_lib.pm line 6763.
/opt/app/grid/perl/bin/perl -I/opt/app/grid/perl/lib -I/opt/app/grid/crs/install /opt/app/grid/crs/install/rootcrs.pl execution failed
还是出这个错误,和安装时第二个节点运行:/opt/app/grid/root.sh
时的是一样的。
解决方法:
1. Modify the /etc/sysconfig/oracleasm with:
ORACLEASM_SCANORDER="dm"
ORACLEASM_SCANEXCLUDE="sd"
2. restart the asmlib by :
# /etc/init.d/oracleasm restart
3. Run root.sh on the 2nd node
二、添加安装新节点数据库软件:
完成新节点添加后,用oracle用户在个$ORACLE_HOME/oui/bin路径下,执行如下命令:
./addNode.sh CLUSTER_NEW_NODES={m3} CLUSTER_NEW_VIRTUAL_HOSTNAMES={m3-vip}
该命令执行完成后,数据库软件在新节点上安装完成。
(执行时出现: 新添加节点m3不可访问,
用ssh m3 date
ssh m3-private date 再测试了一次SSH 对等访问后,问题解决。
)
三、为新节点添加数据库实例:
RAC集群中的其中一个节点,用oracle用户,运行dbca,选择RAC database
Instance Management
Add an Instance
ORACLE11G RAC增加节点操作相关推荐
- oracle rac添加监听,【学习笔记】Oracle 10G RAC增加节点时手动注册监听服务的案例步骤...
[学习笔记]Oracle 10G RAC增加节点时手动注册监听服务的案例步骤 时间:2016-10-22 22:53 来源:Oracle研究中心 作者:HTZ 点击: 次 天萃荷净 Ora ...
- Oracle11g RAC在一个节点宕掉的情况下添加一个新的节点:
目录: 1.验证新节点配置是否合规: 2.将原RAC变为单节点集群: 3.向RAC集群中添加新节点: 4.在新节点执行root.sh脚本: 5.在新节点部署Oracle软件: 6.在新节点执行root ...
- ORACLE RAC如何增加节点
ORACLE RAC系统是一个可以横向进行扩展的系统,当一个RAC系统计算能力不满足客户的需求时候,增加节点能够快速增加整个系统的计算能力,使得客户系统计算能力得到一定的提升,以满足客户不断增长的计算 ...
- oracle 11g r1 RAC增加新节点
在一套两节点的rac上增加一个新的节点,详细的操作记录如下: 已有节点RAC1,RAC2 一,环境及版本: 公司环境:Vmware Esxi 5.5 操作系统:Redhat 5.8 x86_64 数 ...
- oracle重启root,案例:Oracle报错ORA-15025 ORA-27041 root用户操作rac导致节点宕机
天萃荷净 运维DBA反映Oracle RAC环境中节点宕机,alert发现报错ORA-15025 ORA-27041,分析原因为使用root用户操作rac导致节点宕机 接到同事请求,说客户的linux ...
- (超详细)Oracle 10g RAC 添加节点实验操作总结
Oracle 10g RAC 添加节点实验操作总结 目 录 RAC物理结构...3 一. 安装前准备及OS安装配置... 4 1.安装并配置新节点的虚拟机...4 2.节点三(dbi)的网络配置 ...
- JavaScript的节点操作 —— 增加节点
目录 JavaScript中的节点操作分为:增.删.改.查(获取),四大类型. 我们直接利用案例来学习: HTML布局代码: JavaScript代码实现: 第一步:获取所有要用到的元素对象(可以利用 ...
- RAC 增加SCAN IP
RAC 增加SCAN IP 对新配置的oracle RAC环境增配2个SCAN IP地址,192.168.59.175以及192.168.59.176. 1.1.1.1 配置前信息 默认情况下 ...
- 第四章 DOM节点操作
1.什么是DOM: DOM(document object model)文档对象模型,把每一个元素看做是一个 节点,然后对节点进行增删改查的操作 2.DOM的分类: (1)Core Dom:可以对ht ...
最新文章
- Mybatis 批量更新
- 高级计算机职称考试题,高级职称计算机考试试题
- 客户提的功能(需求),不能随口一说就当做,要分析其实质价值,多思考。
- python 输入正方形_Python打印正方形
- 二维数组:随机生产,遍历,判断两个数组一维二维长度,和内容是否一致
- datepicker动态初始化
- JavaScript 真正的工作原理,你知道吗?
- MyCat的安装及基本使用(MySQL分库分表)
- 学习笔记_2011-10-02
- hdu5652:India and China Origins(并查集)
- 从单张图重建三维人体模型综述(五)
- 在线matlab,亲测好用
- flask学习笔记代码篇-10
- 关于xss盲打关于xss盲打
- android 动画 最顶层_【尼康影像学院】使用SnapBridge连接照相机与智能手机(Android安卓系统)...
- ceph更换硬盘操作步骤
- Bootstrap3 缩略图( thumbnail )
- SE2431L-R射频放大器
- 常见 Web 攻击介绍
- 营收净利同比上涨,甲骨文回“血”了吗??