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

Virtual IP distribution method and related device

A distribution method and distribution device technology, which are applied to digital transmission systems, electrical components, transmission systems, etc., can solve problems such as limited application scenarios, inability to meet disaster recovery application requirements, and inability to predict which virtual IPs are allocated, so as to improve processing performance effect

Inactive Publication Date: 2019-11-22
北京浪潮数据技术有限公司
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the existing virtual IP allocation method above is random allocation. The virtual IP assigned to each node is random. It is impossible to predict which virtual IP each node will be assigned in advance. After the node restarts and joins the cluster, CTDB randomly selects a certain one or Multiple virtual IPs are assigned to this node, which can meet limited application scenarios, especially the application requirements for disaster recovery

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
  • Virtual IP distribution method and related device
  • Virtual IP distribution method and related device
  • Virtual IP distribution method and related device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The core of this application is to provide a virtual IP allocation method, which can effectively meet the application requirements of disaster recovery, improve cluster load processing performance, stability and high availability; another core of this application is to provide a virtual IP allocation device, Both the device and the computer-readable storage medium have the above-mentioned technical effects.

[0045] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creativ...

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 virtual IP distribution method. The method comprises the following steps: establishing a corresponding relationship between a virtual IP and a node and a corresponding relationship between the node and a virtual IP group; traversing the virtual IP, searching a node corresponding to the virtual IP according to a corresponding relationship between the virtual IP and the node, and judging whether the node is normal or not; if the node is an abnormal node, determining a virtual IP group to which the abnormal node belongs according to a corresponding relationship between the node and the virtual IP group, and judging whether a normal node exists in the virtual IP group or not; if so, allocating the virtual IP to a normal node in a virtual IP group to which the abnormalnode belongs; and if not, allocating the virtual IP to normal nodes in other virtual IP groups. The virtual IP distribution method can effectively meet the application requirements of disaster recovery, and improve the cluster load processing performance, stability and high availability. The invention further discloses a virtual IP distribution device and equipment and a computer readable storagemedium, which all have the above technical effects.

Description

technical field [0001] The present application relates to the technical field of distributed storage, and in particular to a virtual IP allocation method; it also relates to a virtual IP allocation device, device, and computer-readable storage medium. Background technique [0002] CTDB is a high-availability management software for clusters. During the startup process of CTDB, it will read the configured virtual IPs from the virtual IP configuration file and distribute these virtual IPs evenly and randomly to each node of the cluster according to the specified algorithm. When the cluster When one or some of the nodes fails, CTDB will perform failover, release the virtual IP allocated on the original failed node and then drift the virtual IP to other normal nodes, and the corresponding read and write services will also drift to other Normal node; when the faulty node returns to normal and joins the cluster, CTDB will randomly select virtual IPs on other nodes and assign them ...

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/24H04L29/08H04L29/12
CPCH04L41/0654H04L41/0823H04L67/1097H04L61/5007H04L67/1001
Inventor 翟云磊
Owner 北京浪潮数据技术有限公司