1、rac心跳的作用:
检测集群节点间的网络健康状态,还可用做缓存同步刷新及全局资源维护。在grid control出现后还传输数据块,其内联数据通信量比较大,通常是千兆网,当然使用万兆更好。

2、rac心跳能否用直连网线?
直连网线限制RAC至两节点,另外直连网线不稳定,由此造成的BUG和技术问题,ORACLE不提供相应的技术支持。
具体看ORACLE官方解释:
RAC: Frequently Asked Questions [ID 220970.1]中描述

Is crossover cable supported as an interconnect with RAC on any platform ?

NO. CROSS OVER CABLES ARE NOT SUPPORTED. The requirement is to use a switch:

Detailed Reasons:

1) cross-cabling limits the expansion of RAC to two nodes

2) cross-cabling is unstable:

a) Some NIC cards do not work properly with it. They are not able to negotiate the DTE/DCE clocking, and will thus not function. These NICS were made cheaper by assuming that the switch was going to have the clock. Unfortunately there is no way to know which NICs do not have that clock.

b) Media sense behaviour on various OS's (most notably Windows) will bring a NIC down when a cable is disconnected. Either of these issues can lead to cluster instability and lead to ORA-29740 errors (node evictions).

Due to the benefits and stability provided by a switch, and their afforability ($200 for a simple 16 port GigE switch), and the expense and time related to dealing with issues when one does not exist, this is the only supported configuration.

From a purely technology point of view Oracle does not care if the customer uses cross over cable or router or switches to deliver a message. However, we know from experience that a lot of adapters misbehave when used in a crossover configuration and cause a lot of problems for RAC. Hence we have stated on certify that we do not support crossover cables to avoid false bugs and finger pointing amongst the various parties: Oracle, Hardware vendors, Os vendors etc...

3、rac心跳的高可用
rac心跳实现高可用,可使用双网口绑定的技术,操作系统层面实现。双网口绑定常见有负载均衡和主备模式。负载均衡可提供两倍的带宽(实际并达不到,只是可快一些),但从可靠性角度来说,建议主备模式。在主备模式下,当一个网络接口失效时(例如主交换机掉电等),不会出现网络中断,系统会按照/etc/rc.d/rc.local里指定的网卡顺序工作,机器仍能对外服务,起到了失效保护的功能。

补充资料:

linux系统下bond mode参数说明:(mode=4 在交换机支持LACP时推荐使用,其能提供更好的性能和稳定性)

0-轮询模式,所绑定的网卡会针对访问以轮询算法进行平分。1-高可用模式,运行时只使用一个网卡,其余网卡作为备份,在负载不超过单块网卡带宽或压力时建议使用。2-基于HASH算法的负载均衡模式,网卡的分流按照xmit_hash_policy的TCP协议层设置来进行HASH计算分流,使各种不同处理来源的访问都尽量在同一个网卡上进行处理。3-广播模式,所有被绑定的网卡都将得到相同的数据,一般用于十分特殊的网络需求,如需要对两个互相没有连接的交换机发送相同的数据。4-802.3ab负载均衡模式,要求交换机也支持802.3ab模式,理论上服务器及交换机都支持此模式时,网卡带宽最高可以翻倍(如从1Gbps翻到2Gbps)5-适配器输出负载均衡模式,输出的数据会通过所有被绑定的网卡输出,接收数据时则只选定其中一块网卡。如果正在用于接收数据的网卡发生故障,则由其他网卡接管,要求所用的网卡及网卡驱动可通过ethtool命令得到speed信息。6-适配器输入/输出负载均衡模式,在”模式5″的基础上,在接收数据的同时实现负载均衡,除要求ethtool命令可得到speed信息外,还要求支持对网卡MAC地址的动态修改功能。

4、rac双心跳的可行性
rac心跳使用双网口绑定后,是一个私有的地址隶属于一个vlan,采用主备模式,两条网线分别连接两个不同的交换机。这是操作系统层面就可实现的。如果rac心跳采用两个私有VLAN,那么心跳就会有两个私有地址。双心跳地址间如何做负载均衡或主备模式,就由ORACLE数据库自己来实现(操作系统层不再做绑定)。oracle在11G R2之后的版本11.2.0.2里支持这种方式,由于这个HAIP新特性刚推出有BUG,建议大家使用11.2.0.4版更稳定。官方的举例是针对多个数据库instance高互连带宽要求的。
官方具体说明请参见http://docs.oracle.com/database/121/RACAD/admin.htm#RACAD7295

文档ID 1210883.1详细介绍了HAIP,其中对HAIP的描述如下:
Redundant Interconnect without any 3rd-party IP failover technology (bond, IPMP or similar) is supported natively by Grid Infrastructure starting from 11.2.0.2.  Multiple private network adapters can be defined either during the installation phase or afterward using the oifcfg.  Oracle Database, CSS, OCR, CRS, CTSS, and EVM components in 11.2.0.2 employ it automatically.

Grid Infrastructure can activate a maximum of four private network adapters at a time even if more are defined. The ora.cluster_interconnect.haip resource will start one to four link local  HAIP on private network adapters for interconnect communication for Oracle RAC, Oracle ASM, and Oracle ACFS etc.

Grid automatically picks free link local addresses from reserved 169.254.*.* subnet for HAIP. According to RFC-3927, link local subnet 169.254.*.* should not be used for any other purpose. With HAIP, by default, interconnect traffic will be load balanced across all active interconnect interfaces, and corresponding HAIP address will be failed over transparently to other adapters if one fails or becomes non-communicative. .

The number of HAIP addresses is decided by how many private network adapters are active when Grid comes up on the first node in the cluster .  If there's only one active private network, Grid will create one; if two, Grid will create two; and if more than two, Grid will create four HAIPs. The number of HAIPs won't change even if more private network adapters are activated later, a restart of clusterware on all nodes is required for the number to change, however, the newly activated adapters can be used for fail over purpose.

5、每一套业务系统数据库的RAC心跳是否需要做vlan隔离?
oracle官方没有明确说明,出于安全的特定要求,自己可以做VLAN隔离,小的VLAN比较多则会增加一些管理和配置成本。

关于ORACLE RAC心跳问题的释疑相关推荐

  1. Oracle RAC心跳机制

    1.网络心跳(Network HeartBeat,NHB) 首先是确定集群节点之间的连通性,以便节点之间能够了解彼此的状态,而对于Oracle集群,这是通过节点间的网络心跳来实现的.对于Oracle集 ...

  2. 关于oracle RAC心跳线采用直连 还是交换机连接的建议

    首先说说心跳线的作用: oracle RAC不得不提的概念:健忘 和 脑裂 健忘=>OCR 脑裂=>VOTE 下面谈谈直连的方式: 在oracle9i rac的时侯采用直连的要比走交换机的 ...

  3. ORACLE RAC心跳网络

    1. RAC默认心跳时间         版本 misscount disktimeout reboottime 10.2.0.1 60s \ \ 10.2.0.1+p4896338/10.2.0.2 ...

  4. oracle rac 心跳参数 misscount disktimeout

    os: centos 7.6 db: oracle 19.3 OCSSD 进程是 Clusterware 最关键的进程,如果这个进程出现异常,会导致系统重启,这个进程提供CSS(Cluster Syn ...

  5. oracle rac对心跳要求_关于心跳网络引起的Oracle RAC的节点驱逐(不是实例驱逐)...

    关于心跳网络引起的Oracle RAC的节点驱逐(不是实例驱逐) 问: 假设如下场景:4个节点rac,心跳线走的是千m网络交换机,若是该千M网络交换机断电,我想知道crs的驱逐节点的算法是怎么样的? ...

  6. Oracle RAC集群三种心跳机制

    Oracle 集群心跳机制:        Oracle集群如何维护集群的一致性,所谓的集群一致性就是指集群中每个成员能够了解其他成员的状态,而且每个成员获得的集群中其他节点的状态和集群中节点成员列表 ...

  7. 【云和恩墨大讲堂】Oracle RAC精讲之心跳机制

    世界上最遥远的距离,不是生与死,而是我们是集群的两个节点,你却听不到我的心跳. 自从云和恩墨大讲堂推出Oracle12.2体系架构图的系列课程,受到广大技术朋友们的关注和支持.本周是系列第四讲,主题: ...

  8. linux 7 oracle 双心跳配置完成后,rac 只能启动一个节点。

    linux 7 默认使用严格的反向路径过滤,为了防止ddos攻击造成ip欺骗.但是在Oracle RAC集群的专用互连上启用严格模式可能导致互连通信中断.建议将rp_filer从严格模式设置为松散,放 ...

  9. Step-By-Step在AIX上安装Oracle RAC

    最近遇到一个项目,是在AIX5.3上安装ORACLE 9i RAC,说实话,ORACLE俺压根就没有接触过,我也是临危受命.感觉如同当年实施AS400的XSM项目一般.无奈,下载了N多本REDBOOK ...

最新文章

  1. 在校生如何快速提升竞争力
  2. 数据中心水环热泵余热回收系统分析与应用
  3. java重新执行_(转载)java线程 - 线程唤醒后并被执行时,是在上次阻塞的代码行重新往下执行,而不是从头开始执行...
  4. catia测量工具小尺子在哪_小区垃圾桶旁捡来旧茶几,老爸巧手改成沙发,邻居一个劲问哪买的...
  5. php怎么查询数据库,php怎么查询数据库
  6. Django 设置中文和中国时区
  7. LinuxC网络编程
  8. 矿大开学计算机考试,矿大计算机基础考试题库.pdf
  9. 计算机科学 贺楠,计算机学部-黑龙江东方学院.DOC
  10. 使用QT速成C++简单图形界面
  11. 完整的微信登陆 接收消息流程
  12. 算数运算,逻辑运算,算术右移,逻辑右移
  13. ELS3120代替品MPCS-341 3A 光电耦合器 用于IGBT/MOSFET隔离栅极驱动芯片
  14. 这个传奇大佬,自杀了!
  15. 官宣:传智播客品牌全新升级为「传智教育」
  16. 年度个人职业规划秘笈
  17. python3+selenium实现自动进熊猫直播间发弹幕的脚本
  18. 基于机智云平台的温湿度和光照强度获取
  19. Revit2016中文版64位注册机
  20. Arduino Nano 卡在上传,无法烧录

热门文章

  1. 芯片巨人也要搞医疗?
  2. 3页论文被引用17915次!88岁物理学泰斗温伯格去世,霍金《时间简史》受他启发...
  3. 搞技术的OpenAI现在要做投资了,成立1亿美元创业基金,网友:融资花不完了?...
  4. 报名开启 | 李开复等AI大咖齐聚量子位MEET大会,邀你共探新形势下智能产业发展之路...
  5. 脑机接口创造“第六感”:激活特定神经元,大鼠训练出新感官,逃出水迷宫,像用视觉一样轻松...
  6. 揭秘华为麒麟990 5G:提前3年布局,百亿晶体管把7nm用到了极致
  7. OpenStack部署
  8. 设置CentOS 6.6系统默认的语言为中文
  9. handlebars.js 用 br替换掉 内容的换行符
  10. 给批量用户设磁盘配额