CN110673799A - Cluster partnership establishment method, system, equipment and computer medium - Google Patents

Cluster partnership establishment method, system, equipment and computer medium Download PDF

Info

Publication number
CN110673799A
CN110673799A CN201910919211.8A CN201910919211A CN110673799A CN 110673799 A CN110673799 A CN 110673799A CN 201910919211 A CN201910919211 A CN 201910919211A CN 110673799 A CN110673799 A CN 110673799A
Authority
CN
China
Prior art keywords
cluster
node
target
partner
address information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910919211.8A
Other languages
Chinese (zh)
Other versions
CN110673799B (en
Inventor
王淑童
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Wave Intelligent Technology Co Ltd
Original Assignee
Suzhou Wave Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Wave Intelligent Technology Co Ltd filed Critical Suzhou Wave Intelligent Technology Co Ltd
Priority to CN201910919211.8A priority Critical patent/CN110673799B/en
Publication of CN110673799A publication Critical patent/CN110673799A/en
Application granted granted Critical
Publication of CN110673799B publication Critical patent/CN110673799B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • G06F3/0619Improving the reliability of storage systems in relation to data integrity, e.g. data losses, bit errors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 
    • H04L67/1046Joining mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Abstract

The application discloses a cluster partnership establishing method, a system, equipment and a computer medium, which are applied to a target cluster and used for screening out a first main node and a first redundant node from the target cluster; receiving first communication address information issued by a partner cluster, wherein the first communication address information comprises a partner cluster identifier of the partner cluster and communication address information of a target node set; the target node set comprises a second main node and a second redundant node; judging whether the partner cluster identifier is consistent with the identifier stored by the partner cluster identifier, if so, establishing a first communication link between a first main node and the target node set through first communication address information, and establishing a second communication link between a first redundant node and the target node set; and communicating the first communication link, judging whether the first communication link is in a communicated state, and if not, communicating one communication link in the second communication link. The data stability of the target cluster is improved, and the storage performance of the target cluster is improved.

Description

Cluster partnership establishment method, system, equipment and computer medium
Technical Field
The present application relates to the field of storage technologies, and in particular, to a method, a system, a device, and a computer medium for establishing a group partnership.
Background
With the development of computer technology and the expansion of data, the data storage pressure of a storage system is not increased, and in order to improve the storage capacity of the storage system, one existing method is to store data by clusters.
However, in the existing method for storing data by using a cluster, when a data error occurs in the cluster, such as data loss, the data cannot be recovered, so that the storage performance of the cluster is low.
In summary, how to improve the storage performance of a cluster is a problem to be solved urgently by those skilled in the art.
Disclosure of Invention
The application aims to provide a cluster partnership establishing method which can solve the technical problem of improving the storage performance of a cluster to a certain extent. The application also provides a cluster partnership establishment system, equipment and a computer readable storage medium.
In order to achieve the above purpose, the present application provides the following technical solutions:
a cluster partnership establishment method is applied to a target cluster and comprises the following steps:
screening out a first main node and a first redundant node from the target cluster;
receiving first communication address information issued by a partner cluster, wherein the first communication address information comprises a partner cluster identifier of the partner cluster and communication address information of a target node set in the partner cluster; the target node set comprises a second main node and a second redundant node;
judging whether the partner cluster identifier is consistent with the identifier stored by the partner cluster identifier, if so, establishing a first communication link between the first main node and the target node set through the first communication address information, and establishing a second communication link between the first redundant node and the target node set;
and communicating the first communication link, judging whether the first communication link is in a communication state, and if not, communicating one communication link in the second communication link.
Preferably, the establishing a first communication link between the first master node and the set of target nodes includes:
establishing the first communication link between the first main node and the second main node and between the first main node and the second redundant node;
said simultaneously establishing a second communication link between said first redundant node and said set of target nodes comprises:
and simultaneously establishing the second communication links between the first redundant node and the second main node and between the first redundant node and the second redundant node.
Preferably, after receiving the first communication address information issued by the partner cluster, before determining whether the partner cluster identifier is consistent with the identifier stored in the partner cluster, the method further includes:
sending first response information of the received first communication address information to the partner cluster, and entering a connection waiting state;
sending second communication address information generated by the partner cluster to the partner cluster, wherein the second communication address information comprises a target cluster identifier and communication address information of the first main node and the first redundant node;
and judging whether second response information sent by the partner cluster is received or not, if so, executing the step of judging whether the partner cluster identifier is consistent with the identifier stored by the partner cluster identifier.
Preferably, the establishing a first communication link between the first master node and the set of target nodes includes:
establishing, by a target switch, the first communication link between the first master node and the set of target nodes.
Preferably, the establishing a first communication link between the first master node and the set of target nodes includes:
establishing the first communication link between the first master node and the target node set through the first switch of the target cluster and the second switch of the partner cluster.
Preferably, the receiving communication address information issued by a partner cluster, where the communication address information includes a partner cluster identifier of the partner cluster and communication address information of a target node set in the partner cluster, includes:
and receiving IP address information issued by the partner cluster, wherein the IP address information comprises the partner cluster identification and the IP address information of the target node set.
Preferably, the receiving communication address information issued by a partner cluster, where the communication address information includes a partner cluster identifier of the partner cluster and communication address information of a target node set in the partner cluster, includes:
and receiving FC address information issued by the partner cluster, wherein the FC address information comprises the partner cluster identification and the FC address information of the target node set.
A cluster partnership establishment system applied to a target cluster comprises:
the first screening module is used for screening out a first main node and a first redundant node from the target cluster;
a first receiving module, configured to receive first communication address information issued by a partner cluster, where the first communication address information includes a partner cluster identifier of the partner cluster and communication address information of a target node set in the partner cluster; the target node set comprises a second main node and a second redundant node;
a first judging module, configured to judge whether the partner cluster identifier is consistent with an identifier stored in the partner cluster identifier, if so, establish a first communication link between the first main node and the target node set through the first communication address information, and establish a second communication link between the first redundant node and the target node set at the same time;
and the first communication module is used for communicating the first communication link and judging whether the first communication link is in a communication state, and if not, communicating one of the second communication links.
A cluster partnership establishment device applied to a target cluster, comprising:
a memory for storing a computer program;
a processor configured to implement the method for establishing a cluster partnership as described in any one of the above when the computer program is executed.
A computer-readable storage medium applied to a target cluster, the computer-readable storage medium having stored therein a computer program, which when executed by a processor, implements a cluster partnership establishment method as described in any one of the above.
The method for establishing the cluster partnership is applied to a target cluster, and a first main node and a first redundant node are screened out from the target cluster; receiving first communication address information issued by a partner cluster, wherein the first communication address information comprises a partner cluster identifier of the partner cluster and communication address information of a target node set in the partner cluster; the target node set comprises a second main node and a second redundant node; judging whether the partner cluster identifier is consistent with the identifier stored by the partner cluster identifier, if so, establishing a first communication link between a first main node and a target node set through first communication address information, and establishing a second communication link between a first redundant node and the target node set; and communicating the first communication link, judging whether the first communication link is in a communicated state, and if not, communicating one communication link in the second communication link. According to the method for establishing the cluster partnership, the target cluster is connected with the partner cluster, so that the partner cluster can back up information in the target cluster, the data stability of the target cluster is protected, when the target cluster is connected with the partner cluster, connection between the first main node and the target node set is established, and connection between the first redundant node and the target node set is established, so that when the connection between the first main node and the target node set is disconnected, communication connection between the first redundant node and the target node set can be started quickly, the influence of the disconnection of the communication connection between the first main node and the target node set on the target cluster is reduced, and the storage performance of the target cluster is improved. The system, the device and the computer readable storage medium for establishing the cluster partnership also solve the corresponding technical problems.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a first flowchart of a cluster partnership establishment method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a first connection between a target cluster and a partner cluster;
FIG. 3 is a schematic diagram of a second connection between the target cluster and the partner cluster;
fig. 4 is a schematic structural diagram of a cluster partnership establishment system according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a cluster partnership establishing device according to an embodiment of the present application;
fig. 6 is another schematic structural diagram of a cluster partnership establishing device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a first flowchart of a cluster partnership establishment method according to an embodiment of the present application.
The method for establishing the cluster partnership provided by the embodiment of the application is applied to a target cluster and can comprise the following steps:
step S101: and screening out a first main node and a first redundant node in the target cluster.
In practical application, a target cluster may screen a first main node and a first redundant node in its own cluster, where the first main node refers to a main node screened in the target cluster, and the first redundant node refers to a redundant node screened in the target cluster. The manner of screening the first master node and the first redundant node by the target cluster may be determined according to a specific application scenario, and the present application is not limited herein.
Step S102: receiving first communication address information issued by a partner cluster, wherein the first communication address information comprises a partner cluster identifier of the partner cluster and communication address information of a target node set in the partner cluster; the target node set comprises a second main node and a second redundant node.
In practical application, after the first master node and the first redundant node are screened out by the target cluster, the target cluster can be in a state of receiving first communication address information issued by a partner cluster, and the partner cluster in the application refers to a cluster establishing a partner relationship with the target cluster. In a specific application scenario, the partner cluster may first screen out the second master node and the second redundant node, and the second master node and the second redundant node are used as a target node set connected to the target cluster, where the second master node refers to a master node in the partner cluster, and the second redundant node refers to a redundant node in the partner cluster, and after the partner cluster screens out the second master node and the second redundant node, the partner cluster identifier of the partner cluster and the communication addresses of the second master node and the second redundant node may be integrated into the first communication address information, and the first communication address information is transmitted to the target cluster.
Step S103: and judging whether the partner cluster identifier is consistent with the identifier stored by the partner cluster identifier, if so, executing the step S104.
Step S104: and establishing a first communication link between the first main node and the target node set and simultaneously establishing a second communication link between the first redundant node and the target node set through the first communication address information.
In practical application, after receiving the first communication address information, the target cluster may first determine whether the partner cluster identifier is consistent with the identifier stored in the target cluster, and if so, establish a first communication link between the first main node and the target node set and simultaneously establish a second communication link between the first redundant node and the target node set through communication addresses of a second main node and a second redundant node in the first communication address information; it should be noted that, in this process, the establishment manners of the communication links between the first host node, the first redundant node, and the target node set may be flexible and variable, for example, the first host node may only establish the first communication connection with the second redundant node, and the second redundant node only establishes the second communication connection with the second redundant node, or the first host node may also establish the first communication connection with the second host node and the second redundant node, and the first redundant node may also establish the communication connection with the second host node and the second redundant node, and the like. It is to be understood that the partner cluster identification ensures that the partner cluster to which the target cluster is connected is a preset cluster. In addition, when a communication link between the nodes is established, the communication link may be established through login information, for example, the login information of the first host node logging in the second host node is sent to the second host node, so that the second host node determines whether to establish the communication link according to the login information; correspondingly, the second host node may send login information for logging in the first host node to the first host node, so that the first host node determines whether to establish a communication link or not according to the received login information.
Step S105: and communicating the first communication link and judging whether the first communication link is in a communicated state, if not, executing the step S106.
Step S106: one of the second communication links is communicated.
In practical application, after the target block link node establishes the first communication link and the second communication link, the first communication link may be communicated, so that the target cluster and the partner cluster may perform information transmission through the first communication link, and may determine whether the first communication link is in a communicated state, if not, one of the second communication links is communicated, so that the second communication link replaces the first communication link to perform information transmission between the target cluster and the partner cluster. It should be noted that the present application does not limit the number of nodes in the first master node, the first redundant node, the second master node, and the second redundant node, for example, the first master node may be one master node, or may be three master nodes.
In a specific application scenario, the target cluster may determine whether the first communication link is in a connected state in real time, or may determine whether the first communication link is in a connected state according to a preset time interval, or the like; furthermore, the number of second communication links is influenced by the number of redundant nodes, since one redundant node in the target cluster can establish a communication connection with only one redundant node in the partner cluster.
The method for establishing the cluster partnership is applied to a target cluster, and a first main node and a first redundant node are screened out from the target cluster; receiving first communication address information issued by a partner cluster, wherein the first communication address information comprises a partner cluster identifier of the partner cluster and communication address information of a target node set in the partner cluster; the target node set comprises a second main node and a second redundant node; judging whether the partner cluster identifier is consistent with the identifier stored by the partner cluster identifier, if so, establishing a first communication link between a first main node and a target node set through first communication address information, and establishing a second communication link between a first redundant node and the target node set; and communicating the first communication link, judging whether the first communication link is in a communicated state, and if not, communicating one communication link in the second communication link. According to the method for establishing the cluster partnership, the target cluster is connected with the partner cluster, so that the partner cluster can back up information in the target cluster, the data stability of the target cluster is protected, when the target cluster is connected with the partner cluster, connection between the first main node and the target node set is established, and connection between the first redundant node and the target node set is established, so that when the connection between the first main node and the target node set is disconnected, communication connection between the first redundant node and the target node set can be started quickly, the influence of the disconnection of the communication connection between the first main node and the target node set on the target cluster is reduced, and the storage performance of the target cluster is improved.
The method for establishing the cluster partnership provided by the embodiment of the application is applied to a target cluster, and is used for improving the stability of communication connection established between the target cluster and a partner cluster, the target cluster can establish communication connection with the partner cluster through twice connection, so that after receiving first communication address information issued by the partner cluster, the target cluster can also send first response information of the received first communication address information to the partner cluster and enter a waiting connection state before judging whether a partner cluster identifier is consistent with an identifier stored by the target cluster; sending second communication address information generated by the self to a partner cluster, wherein the second communication address information comprises a target cluster identifier and communication address information of a first main node and a first redundant node; and judging whether second response information sent by the partner cluster is received or not, if so, executing a step of judging whether the partner cluster identifier is consistent with the identifier stored by the partner cluster identifier.
Referring to fig. 2, fig. 2 is a schematic diagram illustrating a first connection between a target cluster and a partner cluster.
The method for establishing the cluster partnership provided by the embodiment of the application is applied to a target cluster, and when the target cluster and a partner cluster are in the same local area network and a first communication link between a first main node and a target node set is established by the target cluster, the first communication link between the first main node and the target node set can be established through a target switch.
Referring to fig. 3, fig. 3 is a diagram illustrating a second connection between a target cluster and a partner cluster.
The method for establishing the cluster partnership provided by the embodiment of the application is applied to a target cluster, and when the target cluster and a partner cluster are in different regions and the target cluster establishes a first communication link between a first main node and a target node set, the first communication link between the first main node and the target node set can be established through a first switch of the target cluster and a second switch of the partner cluster.
The method for establishing a cluster partnership provided by the embodiment of the application is applied to a target cluster, and is used for facilitating establishment of a first communication link and a second communication link between the target cluster and a partner cluster, the communication link can be established by means of an Internet Protocol (IP) address, so that the target cluster receives communication address information issued by the partner cluster, and when the communication address information includes a partner cluster identifier of the partner cluster and communication address information of a second main node and a second redundant node in the partner cluster, the communication address information can receive the IP address information issued by the partner cluster, and the IP address information includes the partner cluster identifier, the second main node and the IP address information of the second redundant node.
In a specific application scenario, in order to facilitate establishment of a first communication link and a second communication link between a target cluster and a partner cluster, and also establish a communication link by means of an FC (Fiber Channel) address, the target cluster receives communication address information issued by the partner cluster, and when the communication address information includes a partner cluster identifier of the partner cluster and communication address information of a second master node and a second redundant node in the partner cluster, the FC address information may be received, and the FC address information includes the partner cluster identifier and FC address information of the second master node and the second redundant node.
The method for establishing the cluster partnership provided by the embodiment of the application is applied to a target cluster, and can screen out a first main node and a first redundant node according to the communication capacity of each node in the target cluster when the first main node and the first redundant node are screened out from the target cluster in order to ensure the communication capacity between the target cluster and a partner cluster. Specifically, the node with the strongest communication capability may be used as the first master node, and the node with the second strongest communication capability may be used as the first redundant node, and so on.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a cluster partnership establishment system according to an embodiment of the present application.
The cluster partnership establishment system provided in the embodiment of the present application is applied to a target cluster, and may include:
the first screening module 101 is configured to screen out a first main node and a first redundant node in a target cluster;
a first receiving module 102, configured to receive first communication address information issued by a partner cluster, where the first communication address information includes a partner cluster identifier of the partner cluster and communication address information of a target node set in the partner cluster; the target node set comprises a second main node and a second redundant node;
a first determining module 103, configured to determine whether the partner cluster identifier is consistent with an identifier stored in the partner cluster identifier, if so, establish a first communication link between the first main node and the target node set through the first communication address information, and establish a second communication link between the first redundant node and the target node set at the same time;
the first communication module 104 is configured to communicate the first communication link, and determine whether the first communication link is in a communication state, and if not, communicate one of the second communication links.
The cluster partnership establishment system provided in the embodiment of the present application is applied to a target cluster, and the first determining module may include:
the first establishing submodule is used for establishing the first communication link between the first main node and the second main node and between the first main node and the second redundant node; and simultaneously establishing the second communication links between the first redundant node and the second main node and between the first redundant node and the second redundant node.
The cluster partnership establishment system provided in the embodiment of the present application is applied to a target cluster, and may further include:
the first sending module is used for sending first response information of the received first communication address information to the partner cluster and entering a waiting connection state after the first receiving module receives the first communication address information issued by the partner cluster and before the first judging module judges whether the partner cluster identifier is consistent with the identifier stored by the first judging module;
the second sending module is used for sending second communication address information generated by the second sending module to the partner cluster, wherein the second communication address information comprises a target cluster identifier and communication address information of the first main node and the first redundant node;
and the second judgment module is used for judging whether second response information sent by the partner cluster is received or not, and if so, executing a step of judging whether the partner cluster identifier is consistent with the identifier stored by the partner cluster identifier.
The cluster partnership establishment system provided in the embodiment of the present application is applied to a target cluster, and the first determining module may include:
the first establishing unit is used for establishing a first communication link between the first main node and the target node set through the target switch.
The cluster partnership establishment system provided in the embodiment of the present application is applied to a target cluster, and the first determining module may include:
and the second establishing unit is used for establishing a first communication link between the first main node and the target node set through the first switch of the target cluster and the second switch of the partner cluster.
The cluster partnership establishment system provided in the embodiment of the present application is applied to a target cluster, and the first receiving module may include:
the first receiving unit is used for receiving the IP address information issued by the partner cluster, and the IP address information comprises a partner cluster identifier and the IP address information of the target node set.
The cluster partnership establishment system provided in the embodiment of the present application is applied to a target cluster, and the first receiving module may include:
and the second receiving unit is used for receiving FC address information issued by the partner cluster, wherein the FC address information comprises a partner cluster identifier and FC address information of the target node set.
The cluster partnership establishment system provided in the embodiment of the present application is applied to a target cluster, and the first screening module may include:
and the first screening unit is used for screening out the first main node and the first redundant node according to the communication capacity of each node in the target cluster.
The application also provides a cluster partnership establishing device and a computer readable storage medium, which both have the corresponding effects of the cluster partnership establishing method provided by the embodiment of the application. Referring to fig. 5, fig. 5 is a schematic structural diagram of a cluster partnership establishment apparatus according to an embodiment of the present application.
The cluster partnership establishment device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 implements the following steps when executing the computer program:
screening out a first main node and a first redundant node from the target cluster;
receiving first communication address information issued by a partner cluster, wherein the first communication address information comprises a partner cluster identifier of the partner cluster and communication address information of a target node set in the partner cluster; the target node set comprises a second main node and a second redundant node;
judging whether the partner cluster identifier is consistent with the identifier stored by the partner cluster identifier, if so, establishing a first communication link between the first main node and the target node set through the first communication address information, and establishing a second communication link between the first redundant node and the target node set;
and communicating the first communication link, judging whether the first communication link is in a communication state, and if not, communicating one communication link in the second communication link.
The cluster partnership establishment device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 implements the following steps when executing the computer program: establishing the first communication link between the first main node and the second main node and between the first main node and the second redundant node; and simultaneously establishing the second communication links between the first redundant node and the second main node and between the first redundant node and the second redundant node.
The cluster partnership establishment device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 implements the following steps when executing the computer program: after receiving first communication address information issued by a partner cluster, sending first response information of the received first communication address information to the partner cluster before judging whether a partner cluster identifier is consistent with an identifier stored by the partner cluster, and entering a waiting connection state; sending second communication address information generated by the self to a partner cluster, wherein the second communication address information comprises a target cluster identifier and communication address information of a first main node and a first redundant node; and judging whether second response information sent by the partner cluster is received or not, if so, executing a step of judging whether the partner cluster identifier is consistent with the identifier stored by the partner cluster identifier.
The cluster partnership establishment device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 implements the following steps when executing the computer program: a first communication link between the first master node and the set of target nodes is established through the target switch.
The cluster partnership establishment device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 implements the following steps when executing the computer program: a first communication link between the first main node and the target node set is established through the first switch of the target cluster and the second switch of the partner cluster.
The cluster partnership establishment device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 implements the following steps when executing the computer program: and receiving IP address information issued by the partner cluster, wherein the IP address information comprises a partner cluster identifier and the IP address information of the target node set.
The cluster partnership establishment device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 implements the following steps when executing the computer program: and receiving FC address information issued by the partner cluster, wherein the FC address information comprises a partner cluster identifier and FC address information of the target node set.
The cluster partnership establishment device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 implements the following steps when executing the computer program: and screening out the first main node and the first redundant node according to the communication capacity of each node in the target cluster.
Referring to fig. 6, another cluster partnership establishment apparatus provided in the embodiment of the present application may further include: an input port 203 connected to the processor 202, for transmitting externally input commands to the processor 202; a display unit 204 connected to the processor 202, for displaying the processing result of the processor 202 to the outside; and a communication module 205 connected to the processor 202, configured to implement communication between the cluster partnership establishing device and the outside world. The display unit 204 may be a display panel, a laser scanning display, or the like; the communication method adopted by the communication module 205 includes, but is not limited to, mobile high definition link technology (HML), Universal Serial Bus (USB), High Definition Multimedia Interface (HDMI), and wireless connection: wireless fidelity technology (WiFi), bluetooth communication technology, bluetooth low energy communication technology, ieee802.11s based communication technology.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps:
screening out a first main node and a first redundant node from the target cluster;
receiving first communication address information issued by a partner cluster, wherein the first communication address information comprises a partner cluster identifier of the partner cluster and communication address information of a target node set in the partner cluster; the target node set comprises a second main node and a second redundant node;
judging whether the partner cluster identifier is consistent with the identifier stored by the partner cluster identifier, if so, establishing a first communication link between the first main node and the target node set through the first communication address information, and establishing a second communication link between the first redundant node and the target node set;
and communicating the first communication link, judging whether the first communication link is in a communication state, and if not, communicating one communication link in the second communication link.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: establishing the first communication link between the first main node and the second main node and between the first main node and the second redundant node; and simultaneously establishing the second communication links between the first redundant node and the second main node and between the first redundant node and the second redundant node.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: after receiving first communication address information issued by a partner cluster, sending first response information of the received first communication address information to the partner cluster before judging whether a partner cluster identifier is consistent with an identifier stored by the partner cluster, and entering a waiting connection state; sending second communication address information generated by the self to a partner cluster, wherein the second communication address information comprises a target cluster identifier and communication address information of a first main node and a first redundant node; and judging whether second response information sent by the partner cluster is received or not, if so, executing a step of judging whether the partner cluster identifier is consistent with the identifier stored by the partner cluster identifier.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: a first communication link between the first master node and the set of target nodes is established through the target switch.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: a first communication link between the first main node and the target node set is established through the first switch of the target cluster and the second switch of the partner cluster.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: and receiving IP address information issued by the partner cluster, wherein the IP address information comprises a partner cluster identifier and the IP address information of the target node set.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: and receiving FC address information issued by the partner cluster, wherein the FC address information comprises a partner cluster identifier and FC address information of the target node set.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: and screening out the first main node and the first redundant node according to the communication capacity of each node in the target cluster.
The computer-readable storage media to which this application relates include Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage media known in the art.
For a description of a relevant part in the cluster partnership establishment system, the device and the computer readable storage medium provided in the embodiments of the present application, reference is made to detailed descriptions of a corresponding part in the cluster partnership establishment method provided in the embodiments of the present application, and details are not repeated herein. In addition, parts of the above technical solutions provided in the embodiments of the present application, which are consistent with the implementation principles of corresponding technical solutions in the prior art, are not described in detail so as to avoid redundant description.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A cluster partnership establishment method applied to a target cluster comprises the following steps:
screening out a first main node and a first redundant node from the target cluster;
receiving first communication address information issued by a partner cluster, wherein the first communication address information comprises a partner cluster identifier of the partner cluster and communication address information of a target node set in the partner cluster; the target node set comprises a second main node and a second redundant node;
judging whether the partner cluster identifier is consistent with the identifier stored by the partner cluster identifier, if so, establishing a first communication link between the first main node and the target node set through the first communication address information, and establishing a second communication link between the first redundant node and the target node set;
and communicating the first communication link, judging whether the first communication link is in a communication state, and if not, communicating one communication link in the second communication link.
2. The method of claim 1, wherein establishing the first communication link between the first master node and the set of target nodes comprises:
establishing the first communication link between the first main node and the second main node and between the first main node and the second redundant node;
said simultaneously establishing a second communication link between said first redundant node and said set of target nodes comprises:
and simultaneously establishing the second communication links between the first redundant node and the second main node and between the first redundant node and the second redundant node.
3. The method of claim 2, wherein after receiving the first communication address information issued by the partner cluster, and before determining whether the partner cluster identifier is consistent with the identifier stored in the partner cluster, the method further comprises:
sending first response information of the received first communication address information to the partner cluster, and entering a connection waiting state;
sending second communication address information generated by the partner cluster to the partner cluster, wherein the second communication address information comprises a target cluster identifier and communication address information of the first main node and the first redundant node;
and judging whether second response information sent by the partner cluster is received or not, if so, executing the step of judging whether the partner cluster identifier is consistent with the identifier stored by the partner cluster identifier.
4. The method of claim 2, wherein establishing the first communication link between the first master node and the set of target nodes comprises:
establishing, by a target switch, the first communication link between the first master node and the set of target nodes.
5. The method of claim 2, wherein establishing the first communication link between the first master node and the set of target nodes comprises:
establishing the first communication link between the first master node and the target node set through the first switch of the target cluster and the second switch of the partner cluster.
6. The method of claim 2, wherein the receiving communication address information published by a partner cluster, the communication address information including a partner cluster identifier of the partner cluster and communication address information of a target node set in the partner cluster, comprises:
and receiving IP address information issued by the partner cluster, wherein the IP address information comprises the partner cluster identification and the IP address information of the target node set.
7. The method according to any one of claims 1 to 6, wherein the receiving communication address information published by a partner cluster, the communication address information including a partner cluster identifier of the partner cluster and communication address information of a target node set in the partner cluster, comprises:
and receiving FC address information issued by the partner cluster, wherein the FC address information comprises the partner cluster identification and the FC address information of the target node set.
8. A cluster partnership establishment system, for application to a target cluster, comprising:
the first screening module is used for screening out a first main node and a first redundant node from the target cluster;
a first receiving module, configured to receive first communication address information issued by a partner cluster, where the first communication address information includes a partner cluster identifier of the partner cluster and communication address information of a target node set in the partner cluster; the target node set comprises a second main node and a second redundant node;
a first judging module, configured to judge whether the partner cluster identifier is consistent with an identifier stored in the partner cluster identifier, if so, establish a first communication link between the first main node and the target node set through the first communication address information, and establish a second communication link between the first redundant node and the target node set at the same time;
and the first communication module is used for communicating the first communication link and judging whether the first communication link is in a communication state, and if not, communicating one of the second communication links.
9. A cluster partnership establishment apparatus, for application to a target cluster, comprising:
a memory for storing a computer program;
a processor for implementing the cluster partnership establishment method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, for application to a target cluster, in which a computer program is stored, which computer program, when being executed by a processor, implements the cluster partnership establishment method according to any one of claims 1 to 7.
CN201910919211.8A 2019-09-26 2019-09-26 Cluster partnership establishment method, system, equipment and computer medium Active CN110673799B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910919211.8A CN110673799B (en) 2019-09-26 2019-09-26 Cluster partnership establishment method, system, equipment and computer medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910919211.8A CN110673799B (en) 2019-09-26 2019-09-26 Cluster partnership establishment method, system, equipment and computer medium

Publications (2)

Publication Number Publication Date
CN110673799A true CN110673799A (en) 2020-01-10
CN110673799B CN110673799B (en) 2023-01-10

Family

ID=69079333

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910919211.8A Active CN110673799B (en) 2019-09-26 2019-09-26 Cluster partnership establishment method, system, equipment and computer medium

Country Status (1)

Country Link
CN (1) CN110673799B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117675535A (en) * 2023-12-14 2024-03-08 北京国科天迅科技股份有限公司 Dual-redundancy communication method and device based on port routing management and computer equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453120A (en) * 2015-08-05 2017-02-22 北京网御星云信息技术有限公司 Dynamic clustering method and dynamic clustering system
CN107707620A (en) * 2017-08-30 2018-02-16 华为技术有限公司 Handle the method and device of I/O request
CN109067865A (en) * 2018-07-26 2018-12-21 郑州云海信息技术有限公司 Establish the method and device of storage system partnership

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453120A (en) * 2015-08-05 2017-02-22 北京网御星云信息技术有限公司 Dynamic clustering method and dynamic clustering system
CN107707620A (en) * 2017-08-30 2018-02-16 华为技术有限公司 Handle the method and device of I/O request
CN109067865A (en) * 2018-07-26 2018-12-21 郑州云海信息技术有限公司 Establish the method and device of storage system partnership

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117675535A (en) * 2023-12-14 2024-03-08 北京国科天迅科技股份有限公司 Dual-redundancy communication method and device based on port routing management and computer equipment

Also Published As

Publication number Publication date
CN110673799B (en) 2023-01-10

Similar Documents

Publication Publication Date Title
CN103281752A (en) WIFI (wireless fidelity) network access method and device, electronic equipment and communication system
CN108737275B (en) Plug-and-play satellite-borne network management method based on SpaceFibre
JP5551805B2 (en) Method and apparatus for accessing the Internet
CN104936258A (en) Network access method, terminal and system
CN104812021A (en) Method and device for accessing AC (access controller) by AP (access point)
CN113098722A (en) Multi-network card management method, device and computer readable storage medium
JP2018510538A (en) Network sharing method and apparatus
CN101909007B (en) Production method, device and network equipment of binding table
CN110673799B (en) Cluster partnership establishment method, system, equipment and computer medium
CN102820986A (en) Self-adaptation method, device and network equipment for working mode of fiber channel interface
US20070155422A1 (en) Method for controlling mobile data connection through USB Ethernet management of mobile station
CN105451367A (en) Wireless network connection method, device and system
US9825901B2 (en) Method, device, and system for acquiring internet protocol address
CN103051484A (en) Method and system for processing session service and session border controller
CN103442160A (en) Network switching method and intelligent television
CN107547692B (en) Method and device for configuring IP address and port number between dual systems
CN102984811A (en) Drive-free network processing method and drive-free network processing device
WO2022160864A1 (en) Network access method and apparatus for intelligent device, and intelligent device
CN103067053B (en) Method and device for Bluetooth node processing
CN113626139B (en) High-availability virtual machine storage method and device
CN110224950B (en) Stack system detection system, method, device and computer readable storage medium
CN111884921A (en) Communication method, system, equipment and computer readable storage medium
CN108307542B (en) Method and device for realizing reconnection of Bluetooth peripheral equipment by intelligent television during Bluetooth adapter replacement
CN106686645B (en) Method and system for improving throughput of multi-hop transmission link
WO2019196465A1 (en) Networking method, device and system for air conditioning system, and signal transmission method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant