Cluster fault processing method and device and electronic equipment
The invention relates to a cluster fault processing method and device and electronic equipment, and relates to the field of cloud computing. The method comprises the steps: receiving node informationreported by root nodes of a cluster, wherein the root nodes are determined through mutual communicati...
Saved in:
Main Author | |
---|---|
Format | Patent |
Language | Chinese English |
Published |
25.09.2020
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention relates to a cluster fault processing method and device and electronic equipment, and relates to the field of cloud computing. The method comprises the steps: receiving node informationreported by root nodes of a cluster, wherein the root nodes are determined through mutual communication between nodes in the cluster; determining the number of root nodes in the cluster according to the received node information; under the condition that the number of the root nodes is greater than one, determining that a network partition fault occurs in the cluster. According to the method, faults of the database cluster can be automatically discovered under the condition of network partitioning, problems can be discovered in time, and production accidents are avoided.
本发明涉及集群故障的处理方法、装置及电子设备,涉及云计算领域。该方法包括:接收集群的根节点上报的节点信息,其中,根节点通过集群中节点之间的相互通信确定;根据接收的节点信息确定集群中根节点的个数;在根节点的个数大于一个的情况下,确定集群出现网络分区故障。该方法可以在网络分区的情况下自动发现数据库集群的故障,及时发现问题,避免生产事故。 |
---|---|
Bibliography: | Application Number: CN202010477541 |