A method and system for iscsi-based distributed block storage service link management
A link management and block storage technology, applied in the field of distributed block storage service link management, can solve problems such as poor user experience and low efficiency, and achieve the effect of improving processing efficiency, improving reliability, and improving user experience satisfaction
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0060] Such as Figure 1-Figure 2 As shown, the present invention provides a method for link management of distributed block storage services based on iSCSI, including:
[0061] S1, setting the service IP and unique virtual IP of the distributed cluster, the virtual IP is used for the client to log in to the first node in the distributed cluster; the service IP is used for the client to connect to the second node in the distributed cluster;
[0062] S2, record the mapping relationship between the client and the node in memory and persistent storage through map;
[0063] S3, traverse the nodes in the memory map through the bubbling algorithm, obtain the node with the least pressure as the first node, assign the client to the first node of the distributed cluster, and use the virtual IP for the client to log in to the first node in the distributed cluster node;
[0064] S4, the client uses the bubbling algorithm to traverse other nodes in the memory map except the first node i...
Embodiment 2
[0107] Such as Figure 6 , figure 2 As shown, the technical solution of the present invention also provides a method for iSCSI-based distributed block storage service link management, including:
[0108] S1, setting the service IP and unique virtual IP of the distributed cluster, the virtual IP is used for the client to log in to the first node in the distributed cluster; the service IP is used for the client to connect to the second node in the distributed cluster;
[0109] S2, record the mapping relationship between the client and the node in memory and persistent storage through map;
[0110] S3, traverse the nodes in the memory map through the bubbling algorithm, obtain the node with the least pressure as the first node, assign the client to the first node of the distributed cluster, and use the virtual IP for the client to log in to the first node in the distributed cluster node;
[0111] S4, the client uses the bubbling algorithm to traverse other nodes in the memory...
Embodiment 3
[0123] Such as Figure 9 As shown, the technical solution of the present invention also provides a system for link management of distributed block storage services based on iSCSI, including:
[0124] The setting module 101 is used to set the service IP and unique virtual IP of the distributed cluster, and the virtual IP is used for the client to log in to the first node in the distributed cluster; the service IP is used for the client to connect to the second node in the distributed cluster. node;
[0125] The recording module 102 records the mapping relationship between the client and the node respectively in memory and persistent storage through map;
[0126] The first node login module 103 traverses the nodes in the memory map through the bubbling algorithm, obtains the node with the least pressure as the first node, and assigns the client to the first node of the distributed cluster for the client to log in to the distributed cluster through a virtual IP. the first node ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


