Target end selection method, distributed cluster system and computer readable medium

A node selection and client technology, applied in the computer field, can solve problems such as unbalanced resource allocation, and achieve the effect of avoiding unbalanced resource allocation and avoiding errors

Pending Publication Date: 2021-06-11
WUXI CHINAC DATA TECH SERVICE
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to disclose a method for selecting a Target terminal, a distributed cluster system and a computer-readable medium to solve the above-mentioned technical problems existing in the distributed cluster system in the prior art, especially for the distributed cluster system When each node is disconnected from the client, the available Target terminal is automatically selected from the distributed cluster system, avoiding the problem of unbalanced resource allocation among the nodes of the entire distributed cluster system after selecting the available Target terminal, and avoiding the use of Errors that may occur in manual selection of Target

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
  • Target end selection method, distributed cluster system and computer readable medium
  • Target end selection method, distributed cluster system and computer readable medium
  • Target end selection method, distributed cluster system and computer readable medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] ginseng Figure 1 to Figure 7 A specific embodiment of a method for selecting a Target terminal disclosed in the present invention. The target selection method disclosed in this embodiment (hereinafter referred to as "selection method") aims to select the most suitable target terminal and the node where the target terminal is deployed from the distributed cluster system.

[0045] When each node in the distributed cluster system is disconnected from the client 100, the reasons that cause the Target end in the current node to be unavailable include network failure or storage failure, or insufficient remaining memory of the current node, etc. Select the most suitable node in the system, to establish a data link with the Initiator end 20 in the client 100 at the Target end configured by the most appropriate node selected, and the Initiator end accesses the distributed cluster system through the VIP (virtual IP address) Each node automatically selects an available Target te...

Embodiment 2

[0089] Based on the technical solution disclosed by the Target terminal selection method disclosed in the first embodiment, this embodiment also discloses a specific implementation manner of a distributed cluster system.

[0090] In this embodiment, a distributed cluster system includes: a plurality of nodes (i.e. nodes 1 to 3), a distributed storage system composed of distributed storage nodes deployed in each node, each node The Target end, the load detection unit, the Zookeeper client and the Zookeeper server 30 running the Target process are deployed in the middle.

[0091] Specifically, node 1 deploys Target end 14, load detection unit 13, Zookeeper client 12, and distributed storage node 11; node 2 deploys Target end 24, load detection unit 23, Zookeeper client 22, and distributed storage node 21; 3 Deploy the Target terminal 34, the load detection unit 33, the Zookeeper client 32 and the distributed storage node 31. The Zookeeper client 12 , the Zookeeper client 22 and...

Embodiment 3

[0096] ginseng Figure 8 As shown, this embodiment discloses a specific implementation manner of a computer readable medium 900 . Computer program instructions 901 are stored in the computer-readable medium 900 , and when the computer program instructions 901 are read and executed by a processor 902 , the steps in the method for selecting the Target terminal as described in the first embodiment are executed.

[0097] The method for selecting the Target terminal disclosed in this embodiment has the same part of the technical solution as that in the first embodiment, please refer to the description in the first embodiment, and will not be repeated here.

[0098] Various illustrative logic blocks or units described in the embodiments of the present invention can be discretely processed by a general-purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a field programmable gate array or other programmable logic devices. Gate or transist...

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 relates to the technical field of computers, and provides a Target end selection method, a distributed cluster system and a computer readable medium. The Target end selection method is used for selecting a Target end running a Target process in a node responding to an access request initiated by a client in the distributed cluster system. The selection method comprises the following steps: monitoring and storing the use state of a node, receiving a configuration strategy issued by an Initiator process from a client, calling the use state of the node, and determining and matching a Target end adapted to an access request initiated from the client according to a node selection strategy. According to the invention, when each node in the distributed cluster system is disconnected from the client, the available Target end can be automatically selected from the distributed cluster system, so that the problem of unbalanced resource allocation among the nodes of the whole distributed cluster system after the available Target end is selected is avoided.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method for selecting a Target terminal, a distributed cluster system and a computer-readable medium. Background technique [0002] The iSCSI (Internet Small Computer System Interface) protocol is a protocol family, which refers to the interface of a small computer system. Data Unit, PDU), the Initiator end communicates with the Target end through the TCP / IP network. The initiator (Initiator side) is an application client connected to a storage device supporting the iSCSI protocol. The Target side is the iSCSI storage device, which includes device servers and queue management, such as iSCSI disk array cabinets, iSCSI tape cabinets, and so on. [0003] The Initiator end is deployed on the client (Client), and the Target end that responds to the Initiator end is deployed in each node (Node) that constitutes the distributed storage system. The initiator side accesses each node...

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): G06F9/50G06F9/48
CPCG06F9/5083G06F9/4881
Inventor 张军方敏
Owner WUXI CHINAC DATA TECH SERVICE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products