![zookeeper集群自动维护方法及装置](/CN/2018/1/319/images/201811598490.jpg)
基本信息:
- 专利标题: zookeeper集群自动维护方法及装置
- 专利标题(英):Automatic maintaining method and device of zookeeper cluster
- 申请号:CN201811598490.4 申请日:2018-12-26
- 公开(公告)号:CN109412875A 公开(公告)日:2019-03-01
- 发明人: 陈浩
- 申请人: 杭州云英网络科技有限公司
- 申请人地址: 浙江省杭州市滨江区江南大道3588号恒生大厦11楼
- 专利权人: 杭州云英网络科技有限公司
- 当前专利权人: 杭州云毅网络科技有限公司
- 当前专利权人地址: 浙江省杭州市滨江区江南大道3588号恒生大厦11楼
- 代理机构: 北京集佳知识产权代理有限公司
- 代理人: 侯珊; 王宝筠
- 主分类号: H04L12/24
- IPC分类号: H04L12/24 ; H04L29/08
The invention discloses an automatic maintaining method and device of a zookeeper cluster. Cluster server nodes contained by the zookeeper cluster are divided into a master sub-group and a slave sub-group, and master nodes are selected from the master sub-group; and whether the number of the surviving nodes in the master sub-group exceeds half of the total number of the cluster server nodes contained by the master sub-group is further judged when the master nodes survive and the number of surviving nodes in the zookeeper cluster is not more than half, if yes, the zookeeper cluster adopts a single-machine-room mode to provide services outwards, and if not, the zookeeper cluster stops providing the services outwards. On the basis of the above method and device, the zookeeper cluster in multi-machine-room deployment can still provide the services outwards as long as the surviving nodes in the master sub-group are more than half when the number of the surviving nodes cannot exceed the half.
公开/授权文献:
- CN109412875B zookeeper集群自动维护方法及装置 公开/授权日:2021-06-25