Unlock instant, AI-driven research and patent intelligence for your innovation.

CTDB virtual IP distribution method and device and distributed storage equipment

A technology of distributed storage and allocation method, which is applied in the field of distribution of distributed storage devices and computer-readable storage media, CTDB virtual IP, and can solve the problem of indiscrimination

Active Publication Date: 2020-07-14
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the existing technology, when the CTDB master node allocates virtual IP, it does not distinguish between IPV4 and IPV6, that is, one IPV4 is equivalent to one IPV6 in the process of virtual IP allocation, and when the virtual IP is configured with both IPV4 and IPV6, it may cause some normal nodes to IPV4 is distributed on the network, and IPV6 is distributed on other normal nodes.

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
  • CTDB virtual IP distribution method and device and distributed storage equipment
  • CTDB virtual IP distribution method and device and distributed storage equipment
  • CTDB virtual IP distribution method and device and distributed storage equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0063] Please refer to figure 1 , figure 1 It is a flowchart of a CTDB virtual IP allocation method provided by the embodiment of the present invention. This method is applied to a distributed storage cluster and may include:

[0064] Step 101: The CTDB master node acquires IPV4 known virtual IP parameters, IPV6 known virtual IP parameters...

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 invention discloses a CTDB virtual IP distribution method and device, distributed storage equipment and a computer readable storage medium. The method is applied to a distributed storage cluster.The method comprises the following steps: respectively calculating an IPV4 distribution result and an IPV6 distribution result by acquiring an IPV4 known virtual IP parameter and an IPV4 available virtual IP parameter corresponding to a virtual IP of an IPV4 and an IPV6 known virtual IP parameter and an IPV6 available virtual IP parameter corresponding to a virtual IP of an IPV6; using the IPV4 distribution result and the IPV6 distribution result to carry out virtual IP distribution on each normal node, wherein the isolated distribution of the virtual IPs of the IPV4 and the IPV6 can be realized. The relative balance of the number of the IPV4 and the IPV6 distributed by each normal node is ensured, the use requirements of some specific scenes are met, and the user experience is improved.

Description

technical field [0001] The present invention relates to the technical field of distributed storage, in particular to a CTDB virtual IP distribution method, device, distributed storage device and computer-readable storage medium. Background technique [0002] CTDB is a set of high-availability management software for clusters. During the startup process of CTDB, the master node of CTDB will read the configured virtual IPs from the virtual IP configuration file and distribute these virtual IPs evenly and randomly according to the specified virtual IP allocation algorithm. On each normal node of the cluster, when some nodes in the cluster fail, CTDB will perform failover, release the virtual IP allocated on the original faulty node and then drift the IP to other normal nodes, and the corresponding read and write services will also It will drift to other normal nodes; when the node resumes to join the cluster normally, CTDB will randomly select the virtual IP on other normal nod...

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): H04L29/12H04L29/08H04L12/24
CPCH04L67/1097H04L41/0893H04L67/30H04L61/5007G06F16/27H04L2101/659H04L2101/686
Inventor 翟云磊张端
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD