Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Cluster expansion method and device

A cluster and unified technology, applied in the computer field, can solve problems such as the ratio cannot reach the preset ratio, the number of master nodes is too large, and the slave nodes cannot be upgraded, so as to achieve the effect of ensuring availability

Active Publication Date: 2018-03-09
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD +1
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, when the cluster is expanded horizontally, if the system upgrades the binary execution file or the master node goes down unexpectedly, some slave nodes need to be upgraded to master nodes. The number of nodes is too large, so that the ratio of the number of master nodes in the cluster to the total number of master nodes in the cluster does not exceed the above preset ratio except for the master node in the physical machine at this time, if the physical machine fails and causes other If all the master nodes on the network are down, the ratio of the number of master nodes working normally in the current cluster to the total number of master nodes in the current cluster cannot reach the above preset ratio after the fault occurs, so that the slave nodes corresponding to the down master nodes cannot Then upgrade to the master node, which leads to the unavailability of the entire cluster

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Cluster expansion method and device
  • Cluster expansion method and device
  • Cluster expansion method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0062] Below, first briefly introduce the technical terms involved in this application document.

[0063] Cluster: A cluster is a group of independent computers interconnected by a high-speed network that form a group and are managed as a single system. When a client interacts with the cluster, the cluster is like an independent server, providing unified services externally.

[0064] It should be emphasized that the cluster involved in this application is a cluste...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a cluster expansion method and device. The method comprises the steps of obtaining the target node group number of nodes in a cluster after transverse expansion is carried out; determining the maximum group number of the nodes contained in the same physical machine after the transverse expansion is carried out, according to the target node group number anda preset proportion; determining the physical machine of which group number of the currently contained nodes is smaller than the maximum group number as a target physical machine; determining the first node group number of currently to-be-allocated nodes based on the first group number of the nodes contained in a first physical machine and the maximum group number; allocating the nodes containedin the node groups of the first node group number within the target physical machine until the transverse expansion of the cluster is finished, otherwise, returning to perform the step of determiningthe physical machine of which group number of the currently contained nodes is smaller than the maximum group number as the target physical machine. Through application of the scheme, it is ensured that after the transverse expansion of the cluster is carried out, when all nodes contained in any physical machine crash due to a fault occurring in the physical machine of the cluster, the whole cluster still can work normally.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a cluster expansion method and device. Background technique [0002] Cluster expansion methods include vertical expansion and horizontal expansion. Vertical expansion refers to increasing the capacity of some existing master nodes in the cluster; horizontal expansion refers to adding new master nodes to increase the capacity of the entire cluster. For redis (an open source Key-Value database) clusters and other non-central node clusters, in order to ensure high availability of data, a master-slave mode is set, that is, each master node is a slave node for the application, so when expanding horizontally, adding a new master node at the same time , it is also necessary to establish a corresponding slave node for the newly added master node. In the prior art, when a cloud computing management platform such as openstack (an open source cloud computing management platform project) ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/24
CPCH04L41/0668
Inventor 申航
Owner BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products