oracle rac应急_Oracle RAC集群脑裂split-brain概述及解决办法

本文介绍了Oracle RAC集群中的'脑裂'split-brain现象,即节点间心跳故障导致的数据损坏问题。文章阐述了脑裂的含义,并提出通过选举算法、Quorum Device、IO隔离等方法来解决此问题,确保集群稳定性。
摘要由CSDN通过智能技术生成

一、脑裂概述

# What does "split-brain" mean?

"Split brain" is a condition whereby two or more computers or groups of computers lose contact with one another but still act as if the cluster were intact. This is like having two governments trying to rule the same country. If multiple computers are allowed to write to the same file system without knowledge of what the other nodes are doing, it will quickly lead to data corruption and other serious problems.

脑裂就是集群内各节点间的心跳出现故障,但各节点还处于active状态,多个节点分别接管服务并且写入共享文件资源导致数据损坏或者其它问题。

二、解决办法

小提一下冗余心跳,但是该方式治标不治本,只能减少脑裂发生的概率。

1、踢出集群

(1)Quorum Algorithm

QuorumAlgorithm(选举算法):集群内各节点通过心跳收集彼此的健康状况,收集到一个心跳就获得一票,假设集群内3个节点(A、B、C),节点A获得B和自己一票,节点B获得自己和A一票,而节点C只有自己,则节点C被踢出集群。

(2)Quorum Device

Quorum Algorithm有个缺陷:集群内如果只有2个节点,那就悲剧了。因此ÿ

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值