【12c新特性】RAC Cluster Hub Node-Leaf Node

原帖地址:https://www.askmac.cn/archives/12c-rac-cluster-hub-node-leaf-node.html

 

在12c的cluster中引入了很多新特性和新概念,其中重复最多的几个名词除了flex cluster、flux asm之外 还有Hub Node和Leaf Node,这里来介绍Hub Node和Leaf Node.

 

flex cluster arch

 

  • Hub Node官方解释:
    • A node in and Oracle Flex Cluster that is tightly connected with other servers and has direct access to a shared disk.
  • Leaf Node官方解释:
    • Servers that are loosely coupled with Hub Nodes, which may not have direct access to the shared storage.

可以看到主题区别在于 Leaf Node不能直接访问shared storage ,这意味着leaf node不是share disk的。 这里Hub Node与12c之前的普通cluster node无区别, 而Leaf Node是新技术。

 

Leaf Node的特性:

  • 与 Hub Node相比 更松散地与cluster捆绑
  • 在启动时自动发现Hub Node
  • 通过一个Hub Node连接到集群
  • Hub Node或网络失败都会造成相关的Leaf Node被驱逐
  • 不要求直接访问共享存储
  • 与Hub Node在同一网络

 

使用Leaf Node实现Flex Cluster的好处显而易见:

  • hub-and-spoke技术将cluster分化成可管理的节点组
  • 仅仅需要Hub Node直接访问OCR和Votedisk
  • 通过限制HUB node的数量,从而减少对关键clusterware资源的争用,例如ocr和Votedisk 。
  • 在节点间所需要的网络互动更少
  • 更少的管理用网络流量,例如节点间的心跳

 

 

对比下图可以看到,12节点的Flex cluster包含12个交互通路, 而普通集群则需要 [ n * (n-1)]/2共66个交互通路。

对于上1000节点的集群,上述的差异会更明显。假设有40个Hub Node,每一个Hub Node对应24个Leaf Node,则Flex Cluster将包含1740个交互通路。  与之对比,普通Cluster需要499500个交互通路。

 

flex cluster

 

 

在Flex Cluster中集群中被驱逐的节点无需重启,仅仅cluster software需要重启。

 

如果Hub Node 失败

  • 该节点将被集群驱逐 , 且如果可能则服务将被relocate到其他Hub Node
  • 该Hub Node对应的Leaf Node亦被集群驱逐,如果可能服务也将relocate到其他Leaf Node上

如果Leaf Node失败

  • 该节点将被集群驱逐,如果可能服务将被relocate到另一个Leaf Node上

 

Comment

*

沪ICP备14014813号-2

沪公网安备 31010802001379号