CN112087336B - Deployment and management method and device of virtual IP service system and electronic equipment - Google Patents
Deployment and management method and device of virtual IP service system and electronic equipment Download PDFInfo
- Publication number
- CN112087336B CN112087336B CN202010954773.9A CN202010954773A CN112087336B CN 112087336 B CN112087336 B CN 112087336B CN 202010954773 A CN202010954773 A CN 202010954773A CN 112087336 B CN112087336 B CN 112087336B
- Authority
- CN
- China
- Prior art keywords
- node
- virtual
- nodes
- arbitration
- address
- 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.)
- Active
Links
- 238000007726 management method Methods 0.000 title claims description 32
- 230000036541 health Effects 0.000 claims abstract description 147
- 238000000034 method Methods 0.000 claims abstract description 78
- 210000004556 brain Anatomy 0.000 claims abstract description 43
- 238000001514 detection method Methods 0.000 claims description 52
- 238000004891 communication Methods 0.000 claims description 19
- 230000015556 catabolic process Effects 0.000 claims description 14
- 238000006731 degradation reaction Methods 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 13
- 230000003993 interaction Effects 0.000 claims description 12
- 238000012216 screening Methods 0.000 claims description 10
- 230000000977 initiatory effect Effects 0.000 claims 2
- 238000012545 processing Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 238000012360 testing method Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000007334 memory performance Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000010187 selection method Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/30—Decision processes by autonomous network management units using voting and bidding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0659—Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
Abstract
The embodiment of the invention relates to the technical field of computers, and provides a deployment method of a virtual IP service system, which is applied to an arbitration node which is selected from a plurality of preset initial nodes for deploying the virtual IP service system and is used for selecting a virtual IP node from the plurality of initial nodes; the method comprises the following steps: acquiring current health values of a plurality of first nodes; selecting a second node to be mounted with the virtual IP address according to the current health value of the arbitration node and the current health values of the plurality of first nodes; sending a mounting instruction about the predetermined virtual IP address to the second node so as to enable the second node to mount the predetermined virtual IP address; and sending a configuration instruction for indicating the configuration of the node to become the working node to the arbitration node and each node except the second node in the plurality of first nodes so that each node configures the node to become the working node. Compared with the prior art, the scheme provided by the embodiment of the invention can reduce the probability of the brain crack fault of the deployed virtual IP service system.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for deploying and managing virtual IP nodes and electronic equipment.
Background
Currently, since a virtual IP (Internet Protocol) service can uniformly transmit an entry, after a user equipment is accessed to a virtual IP node with a virtual IP address, the user equipment is equivalently accessed to a whole working node cluster, so that the task processing capability of a virtual IP service system can be improved, and thus, the virtual IP service is widely applied to various public service systems. Such as ticketing systems and the like.
The virtual IP service system is: a system for providing data processing services comprising a virtual IP node having a virtual IP address attached thereto and at least one worker node.
Specifically, the method comprises the following steps: the virtual IP node is used as a unified proxy entrance and is used for interacting with an external client, acquiring a work task from the external client and distributing the work task to the work node; further, receiving a task result fed back by the working node, and feeding back the task result to the external client; correspondingly, each working node is used for receiving the working task distributed by the virtual IP node, processing the working task, and feeding back a task result of the working task to the virtual IP node after the processing is finished.
In the practical application process, the deployment of the virtual IP service system comprises the following steps: and configuring a virtual IP node with a virtual IP address and a working node responsible for processing a working task.
In the related art, when a virtual IP service system is deployed, a plurality of preset initial nodes for deploying the virtual IP service system may determine whether the initial nodes can serve as virtual IP nodes according to the acquired node performance of the plurality of initial nodes, and mount a virtual IP address when the determination result is yes, thereby configuring the initial nodes as virtual IP nodes.
However, in the above related art, when a virtual IP service system is deployed, due to network failure, program bug, and the like, there are often a plurality of initial nodes that configure themselves as virtual IP nodes, so that a split-brain (split-bridge) failure exists in the deployed virtual IP service system, and further, when an external client sends a work task, a plurality of virtual IP nodes respond to the task at the same time, and work task conflict, data loss, and the like occur. For example, in a ticketing system, when there is a split brain fault, a plurality of ticket booking information for the same user that conflict with each other may be generated at the same time.
Therefore, a deployment method of the virtual IP service system is needed to reduce the probability of the deployed virtual IP service system having a split brain fault.
Disclosure of Invention
The embodiment of the invention aims to provide a deployment and management method and device of a virtual IP node and electronic equipment, so as to reduce the probability of split brain fault of a deployed virtual IP service system. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a deployment method for a virtual IP service system, which is applied to an arbitration node, where the arbitration node is selected from a plurality of preset initial nodes for deploying the virtual IP service system, and is used to select a node of a virtual IP node from the plurality of initial nodes; the method comprises the following steps:
acquiring current health values of a plurality of first nodes; wherein each first node is: a node of the plurality of initial nodes capable of interacting with the arbitration node; the health value of each first node is used for representing the working performance of the node;
selecting a second node to be mounted with a virtual IP address from the arbitration node and the plurality of first nodes according to the current health value of the arbitration node and the current health values of the plurality of first nodes;
sending a mount instruction about a predetermined virtual IP address to the second node to cause the second node to mount the predetermined virtual IP address based on the mount instruction;
and sending a configuration instruction for indicating the configuration of the node to become the working node to the arbitration node and each node except the second node in the plurality of first nodes, so that each node configures itself as the working node based on the configuration instruction.
Optionally, in a specific implementation manner, the method further includes:
when a third node exists in the plurality of initial nodes, sending a fault message about the third node to the second node so that the second node mounted with the preset virtual IP address does not distribute a work task to the third node; wherein the third node is a node which cannot interact with the arbitration node in the plurality of initial nodes.
Optionally, in a specific implementation manner, the step of selecting, according to the current health value of the arbitration node and the current health values of the plurality of first nodes, a second node to be mounted with a virtual IP address from the arbitration node and the plurality of first nodes includes:
determining candidate nodes with current health values meeting a preset screening condition from the arbitration node and the plurality of first nodes; wherein the predetermined screening conditions include: the current health value is maximum, or the current health value is in a specified range;
and determining a second node to mount the virtual IP address from the determined candidate nodes.
Optionally, in a specific implementation manner, the current health value of any initial node is determined by current index values of multiple performance indexes;
when the determined number of candidate nodes is multiple, the step of determining a second node to mount a virtual IP address from the determined candidate nodes includes:
determining a current index value of the specified performance index in the current health value of each candidate node;
and selecting the candidate node with the maximum current index value from the determined candidate nodes as a second node to be mounted with the virtual IP address.
Optionally, in a specific implementation manner, the selecting manner of the arbitration node includes:
each initial node selects a candidate arbitration node from the plurality of initial nodes and sends a selection result to each other initial node which is not the initial node and can carry out interaction;
each initial node counts the times of the initial nodes respectively selected as candidate arbitration nodes based on the received selection results;
the initial node with the largest number of times selected as the candidate arbitration node configures itself as the arbitration node.
Optionally, in a specific implementation manner, the step of selecting, by each initial node, a candidate arbitration node from the initial nodes includes:
each initial node randomly selects a candidate arbitration node from the plurality of initial nodes; or,
and each initial node selects a candidate arbitration node according to the node performance and/or the Media Access Control (MAC) address of the plurality of initial nodes.
In a second aspect, an embodiment of the present invention provides a management method for a virtual IP service system, which is applied to an arbitration node in the virtual IP service system, where the virtual IP service system is deployed based on the deployment method of any virtual IP service system provided in the first aspect; the method comprises the following steps:
detecting whether a preset virtual IP address is hung on the mobile terminal to obtain a first detection result;
acquiring a second detection result of each node except the arbitration node in the virtual IP service system, wherein the second detection result is used for representing whether the preset virtual IP address is hung;
determining whether a plurality of nodes with the preset virtual IP address are hung in the arbitration node and each node based on the first detection result and the acquired second detection results;
and if so, determining that the virtual IP service system has a split brain fault.
Optionally, in a specific implementation manner, the method further includes:
when the virtual IP service system is determined to have a split brain fault, determining a target node serving as a virtual IP node from the plurality of nodes with the preset virtual IP address;
and sending a stopping instruction to each other node except the target node in the plurality of nodes with the preset virtual IP addresses, so that each other node exits the virtual IP service system based on the stopping instruction.
Optionally, in a specific implementation manner, the method further includes:
acquiring the health values of the arbitration node and each node in each preset period according to the preset period duration; the health value of each node is used for representing the working performance of the node;
the step of determining a target node as a virtual IP node from the plurality of nodes on which the predetermined virtual IP address is mounted includes:
and determining a target node which is a virtual IP node from the plurality of nodes with the preset virtual IP address based on the health values of the plurality of nodes with the preset virtual IP address.
Optionally, in a specific implementation manner, the step of determining, from the plurality of nodes mounted with the predetermined virtual IP address, a target node serving as a virtual IP node based on the most recently obtained health values of the plurality of nodes mounted with the predetermined virtual IP address includes:
and determining the node with the highest health value obtained most recently in the plurality of nodes with the preset virtual IP addresses as a target node of the virtual IP node.
Optionally, in a specific implementation manner, the method further includes:
and sending a degradation instruction to each other node so that each other node reduces the current health value of the node based on the degradation instruction.
In a third aspect, an embodiment of the present invention provides a deployment apparatus for a virtual IP service system, which is applied to an arbitration node, where the arbitration node is selected from a plurality of preset initial nodes for deploying the virtual IP service system, and is used to select a node of a virtual IP node from the plurality of initial nodes; the device comprises:
the first health value acquisition module is used for acquiring the current health values of a plurality of first nodes; wherein each first node is: among the plurality of initial nodes, a node capable of interacting with the arbitration node; the health value of each first node is used for representing the working performance of the node;
a node selection module, configured to select, according to the current health value of the arbitration node and the current health values of the plurality of first nodes, a second node to which a virtual IP address is to be mounted from the arbitration node and the plurality of first nodes;
a first instruction sending module, configured to send a mount instruction about a predetermined virtual IP address to the second node, so that the second node mounts the predetermined virtual IP address based on the mount instruction;
and a second instruction sending module, configured to send, to the arbitration node and each node except the second node, a configuration instruction for instructing about configuration as a working node, so that each node configures itself as a working node based on the configuration instruction.
Optionally, in a specific implementation manner, the apparatus further includes:
a message sending module, configured to send a fault message about a third node to the second node when the third node exists in the multiple initial nodes, so that the second node on which the predetermined virtual IP address is mounted does not allocate a work task to the third node; wherein the third node is a node which cannot interact with the arbitration node in the plurality of initial nodes.
Optionally, in a specific implementation manner, the node selection module includes:
the node selection submodule is used for determining candidate nodes of which the current health values meet preset screening conditions from the arbitration node and the plurality of first nodes; wherein the predetermined screening conditions include: the current health value is maximum, or the current health value is in a specified range;
and the node determining submodule is used for determining a second node to be mounted with the virtual IP address from the determined candidate nodes.
Optionally, in a specific implementation manner, the current health value of any initial node is determined by current index values of multiple performance indexes; when the determined number of candidate nodes is multiple, the node determination submodule is specifically configured to:
determining a current index value of the specified performance index in the current health value of each candidate node;
and selecting the candidate node with the maximum current index value from the determined candidate nodes as a second node to be mounted with the virtual IP address.
Optionally, in a specific implementation manner, the apparatus further includes: a node configuration module for selecting an arbitration node, the node configuration module being configured to:
the result determining submodule is used for selecting a candidate arbitration node from the plurality of initial nodes and sending a selection result to each other initial node which is except the initial node and can carry out interaction;
the structure counting submodule is used for counting the times of the plurality of initial nodes which are respectively selected as candidate arbitration nodes based on the received selection results;
and the node configuration submodule is used for configuring the node as the arbitration node when the number of times that the node is selected as the candidate arbitration node is maximum.
Optionally, in a specific implementation manner, the result determining sub-module is specifically configured to:
each initial node randomly selects a candidate arbitration node from the plurality of initial nodes; or,
and each initial node selects a candidate arbitration node according to the node performance and/or the Media Access Control (MAC) address of the plurality of initial nodes.
In a fourth aspect, an embodiment of the present invention provides a management apparatus for a virtual IP service system, where the management apparatus is applied to an arbitration node in the virtual IP service system, and the virtual IP service system is deployed based on the deployment method of any virtual IP service system provided in the first aspect; the device comprises:
the result determining module is used for detecting whether a preset virtual IP address is hung on the result determining module to obtain a first detection result;
a result obtaining module, configured to obtain a second detection result of each node except the arbitration node in the virtual IP service system, where the second detection result is used to indicate whether the predetermined virtual IP address is mounted on the node;
a node detection module, configured to determine, based on the first detection result and the obtained second detection results, whether multiple nodes with the predetermined virtual IP address are mounted in the arbitration node and the nodes; if yes, triggering a fault determining module;
and the fault determining module is used for determining that the virtual IP service system has a split brain fault.
Optionally, in a specific implementation manner, the apparatus further includes:
the node determination module is used for determining a target node serving as a virtual IP node from the plurality of nodes which are hung with the preset virtual IP address when the virtual IP service system is determined to have the split brain fault;
a third instruction sending module, configured to send a stop instruction to each other node except the target node in the plurality of nodes on which the predetermined virtual IP address is mounted, so that each other node exits the virtual IP service system based on the stop instruction.
Optionally, in a specific implementation manner, the apparatus further includes:
the second health value acquisition module is used for acquiring the health values of the arbitration node and each node in each preset period according to the preset period duration; the health value of each node is used for representing the working performance of the node;
the node determination module includes:
and the node determining submodule is used for determining a target node serving as a virtual IP node from the plurality of nodes with the preset virtual IP address based on the health values of the plurality of nodes with the preset virtual IP address.
Optionally, in a specific implementation manner, the node determination submodule is specifically configured to:
and determining the node with the highest health value which is obtained most recently from the plurality of nodes which are hung with the preset virtual IP addresses as a target node which is used as a virtual IP node.
Optionally, in a specific implementation manner, the apparatus further includes:
and the fourth instruction sending module is used for sending a degradation instruction to each other node so that each other node reduces the current health value of the node based on the degradation instruction.
In a fifth aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface complete communication between the processor and the memory through the communication bus;
a memory for storing a computer program;
a processor, configured to implement, when executing the program stored in the memory, the steps of the deployment method of any virtual IP service system provided in the first aspect and/or the steps of the management method of any virtual IP service system provided in the second aspect.
In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and the computer program, when executed by a processor, implements the steps of the deployment method of any virtual IP service system provided in the foregoing first aspect and/or the steps of the management method of any virtual IP service system provided in the foregoing second aspect.
In a seventh aspect, an embodiment of the present invention further provides a computer program product containing instructions, which when run on a computer, causes the computer to perform the steps of the deployment method of any virtual IP service system provided in the first aspect and/or the steps of the management method of any virtual IP service system provided in the second aspect.
The embodiment of the invention has the following beneficial effects:
by applying the deployment method of the virtual IP service system provided by the embodiment of the invention, in the deployment of the virtual IP service system, an arbitration node for configuring the virtual IP node from a plurality of initial nodes can be selected from the plurality of initial nodes which are preset for deploying the virtual IP service system.
Thus, for each first node which can interact with the arbitration node in the arbitration node and the plurality of initial nodes, the arbitration node can select a second node to be mounted with a virtual IP address from the arbitration node and each first node according to the current health values of the arbitration node and each first node, and send a mounting instruction about a preset virtual IP address to the selected second node, so that the second node can mount the preset virtual IP address based on the mounting instruction, and further, the second node is configured to be a virtual IP node; in addition, for the arbitration node and each of the first nodes except for the selected second node, the arbitration node may send a configuration instruction indicating the node as a working node to the node, so that the node may configure itself as the working node based on the configuration instruction. Thus, the virtual IP nodes and the working nodes in the virtual IP service system can be configured, and the deployment of the virtual IP service system is completed.
As can be seen from the above, with the deployment method of the virtual IP service system provided in the embodiment of the present invention, when the virtual IP service system is deployed, the configured virtual IP node is selected by the arbitration node. That is, the arbitration node selected from the plurality of initial nodes has a function of selecting a virtual IP node, so that, based on the function, the arbitration node can select one node for mounting a predetermined virtual IP address from itself and each of the first nodes, that is, the arbitration node can determine one node capable of being a virtual IP node from itself and each of the first nodes.
Based on this, with the deployment method of the virtual IP service system provided in the embodiment of the present invention, since the arbitration node can determine that one node capable of being used as a virtual IP node exists in the deployed virtual IP service system, it is possible to avoid the situation that a plurality of initial nodes determine that the initial nodes can be used as virtual IP nodes in the deployed virtual IP service system and that a plurality of virtual IP nodes exist, thereby reducing the probability that the deployed virtual IP service system has a split-brain fault.
Further, by applying the management method of the virtual IP service system provided in the embodiment of the present invention, when the virtual IP service system obtained by using the deployment method of the virtual IP service system provided in the embodiment of the present invention is managed, since the arbitration node can obtain the first detection result indicating whether it is equipped with the predetermined virtual IP address, and the second detection result indicating whether each of the other nodes in the virtual IP service system is equipped with the predetermined virtual IP address, the arbitration node can determine whether there is a split brain fault in the virtual IP service system by determining whether there are multiple nodes equipped with the predetermined virtual IP address in each node of the virtual IP service system based on the first detection result and each second detection result.
As can be seen from the above, with the management method of the virtual IP service system provided in the embodiment of the present invention, when a split brain fault occurs in the virtual IP service system, the arbitration node can timely determine the split brain fault, and determine a plurality of nodes that cause the split brain fault and mount the predetermined virtual IP addresses, so that the arbitration node can timely solve the split brain fault.
Of course, not all of the advantages described above need to be achieved at the same time in the practice of any one product or method of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a deployment method of a virtual IP service system according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another deployment method of a virtual IP service system according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating an embodiment of S102 in FIG. 1;
FIG. 4 is a flowchart illustrating an embodiment of S102B in FIG. 3;
fig. 5 is a flowchart illustrating a selection manner of an arbitration node according to an embodiment of the present invention;
fig. 6 is a flowchart illustrating a management method of a virtual IP service system according to an embodiment of the present invention;
fig. 7 is a flowchart illustrating another management method for a virtual IP service system according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a deployment apparatus of a virtual IP service system according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a management device of a virtual IP service system according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
In the related art, when a virtual IP service system is deployed, due to network faults, program bugs, and the like, a plurality of initial nodes often configure themselves as virtual IP nodes, so that a split-brain fault exists in the deployed virtual IP service system, and further, when an external client sends a work task, a plurality of virtual IP nodes simultaneously respond to the task, and the phenomena of work task conflict, data loss, and the like occur. Based on this, a deployment method of a virtual IP service system is needed to reduce the probability of a split brain fault existing in the deployed virtual IP service system.
In order to solve the above technical problem, an embodiment of the present invention provides a deployment method for a virtual IP service system. The deployment method is applied to an arbitration node, the arbitration node is selected from a plurality of preset initial nodes for deploying the virtual IP service system, and the arbitration node is used for selecting the virtual IP node from the plurality of initial nodes. For clarity, the selection of the arbitration node will be illustrated later.
It can be understood that, when deploying a virtual IP service system, a plurality of initial nodes for deploying the virtual IP service system need to be preset first. Thus, after determining a plurality of initial nodes for deploying the virtual IP service system, the arbitration node can be selected from the plurality of initial nodes. Then, the arbitration node can use the deployment method of the virtual IP service system provided by the embodiment of the present invention to complete the deployment of the virtual IP service system, and reduce the probability of the deployed virtual IP service system having a split brain fault.
In addition, it should be noted that, in the embodiment of the present invention, the deployed virtual IP service system may be a system for providing any data processing service, for example, a ticketing system, a big data analysis system, or the like; moreover, each preset initial node may be any type of electronic device capable of serving as a virtual IP node or a working node of the virtual IP service system, for example, a desktop computer, a notebook computer, and the like.
Based on this, the embodiment of the present invention does not limit the type of the deployed virtual IP service system and the type of each initial node utilized.
Next, a deployment method of a virtual IP service system provided in an embodiment of the present invention is described.
Fig. 1 is a schematic flowchart of a deployment method of a virtual IP service system according to an embodiment of the present invention, and as shown in fig. 1, the deployment method may include the following steps:
s101: acquiring current health values of a plurality of first nodes;
wherein each first node is: among the plurality of initial nodes, a node capable of interacting with the arbitration node; the health value of each first node is used for representing the working performance of the node;
after the arbitration node is selected, each initial node except the arbitration node in the plurality of initial nodes can be self-checked to detect whether the initial node can interact with the arbitration node.
When the node self-checks that the node can not interact with the arbitration node, the node can automatically quit the virtual IP service system to be deployed and stop working, namely the node can not be configured as a virtual IP node and a working node, and can not process the received working task after the virtual IP service system is deployed.
Correspondingly, for an initial node except the arbitration node, when the node self-tests that the node can interact with the arbitration node, the node can start to interact with the arbitration node, so that the arbitration node can acquire the current health value of the node.
The health value of each first node may be a value representing the working performance of the first node, for example, the first node performs a self-test to obtain a self-test score value; the index value of the plurality of performance indexes may also be included, for example, a software index value for characterizing the software performance of the first node and a hardware index value for characterizing the hardware performance of the first node, or a plurality of hardware index values for characterizing the hardware performance of the first node only, or the like. In this regard, the embodiment of the present invention does not limit the specific expression and content of the health value.
In addition, the health value of each first node may be actively reported to the arbitration node after the first node completes self-checking; or after the arbitration node sends the health value acquisition request to the first node, the first node responds to the health value acquisition request and sends the health value acquisition request to the arbitration node.
Moreover, the health value of each first node may include only the information about the working performance of the first node locally determined and reported by the first node, only the information about the working performance of the first node directly determined by the arbitration node, and also include both the information about the working performance of the first node locally determined and reported by the first node and the information about the working performance of the first node directly determined by the arbitration node. This is all reasonable. In contrast, the embodiment of the present invention does not limit the determination manner of the health value.
Optionally, in a specific implementation manner, for each first node, the health value of the first node may include a software index value and a hardware index value. And, the software metric value may include: the arbitration node scores the task processing capacity of the first node to obtain a service score value and a self-checking score value of the first node; the hardware indicator value may include: network card rate, disk life, disk capacity, and hardware system rating.
Optionally, in a specific implementation manner, for each first node, the health value of the first node may be a factory weight value, a load value, and a network interaction value.
And, before determining the health value of itself, it needs to detect whether the gateway of itself is healthy or not. When the first node self-tests and determines that the network card of the first node has a fault, the health value of the first node is directly reduced to 0, and therefore the first node exits the virtual IP service system to be created.
The factory weight means: when leaving the factory, the first node has a weight for characterizing the device performance of the node, for example, a weight for characterizing the memory performance and the CPU performance of the node. The load value is: after the virtual IP service system is installed in the first node, the service system may calculate a load value according to a load of the node during operation, where the higher the load is, the lower the load value is. The network interaction value is: the first node determines a speed score according to the speed of interaction with other nodes.
In this specific implementation manner, different weights may be assigned to the factory weight, the load value, and the network interaction value, for example, the factory weight is 50%, the load value is 30%, and the network interaction value is 20%. Therefore, the sum of the products of the factory weight, the load value and the network interaction value with the respective weights can be calculated to obtain the first node health value.
In this specific implementation manner, when the first node obtains that the first node can interact with the arbitration node by self-checking, the first node may determine a current self-checking score value and a hardware index value of the first node, and thus, the first node may send the self-checking score value and the hardware index value to the arbitration node. Furthermore, the arbitration node can grade the task processing capability of the first node according to the received self-checking grade value and the hardware index value to obtain the service grade value of the current first node.
Thus, the arbitration node can obtain the current service score value, the current self-checking score value and the current hardware index value of the first node, and therefore the arbitration node can obtain the current health value of the first node.
S102: selecting a second node to be mounted with the virtual IP address from the arbitration node and the plurality of first nodes according to the current health value of the arbitration node and the current health values of the plurality of first nodes;
after the arbitration node is selected, the arbitration node can also determine the current health value of the arbitration node. Therefore, the arbitration node can select the second node to be mounted with the virtual IP address from the arbitration node and the plurality of first nodes according to the current health value of the arbitration node and the obtained current health values of the plurality of first nodes.
It can be understood that the second node to be mounted with the virtual IP address selected by the arbitration node is a node that is selected by the arbitration node from the multiple initial nodes and can be used as a virtual IP node. Therefore, when the second node mounts the predetermined virtual IP address, the second node is configured to become a virtual IP node in the virtual IP service system to be deployed.
Accordingly, the arbitration node and each node of the plurality of first nodes that is not selected as the second node can be used as a working node in the virtual IP service system to be deployed.
The arbitration node may first obtain the current health value of each first node, and then determine the current health value of itself; or the current health value of the node can be determined firstly, and then the current health value of each first node is obtained; and the current health value of the first node can be determined at the same time, and the current health value of each first node can be obtained. This is all reasonable.
In addition, the arbitrating node may perform step S102 in various ways, and for clarity of the text, the arbitrating node performs step S102 in the following description.
S103: sending a mounting instruction about the predetermined virtual IP address to the second node so that the second node mounts the predetermined virtual IP address based on the mounting instruction;
after determining the second node, the arbitration node may send a mount instruction for the predetermined virtual IP address to the second node. In this way, after receiving the mount instruction, the second node may mount the predetermined virtual IP address based on the mount instruction, and thereby configure the second node as a virtual IP node in the virtual IP service system to be deployed.
Optionally, in a specific implementation manner, the predetermined virtual IP address may be stored in the second node in advance. Thus, the mount instruction for the predetermined virtual IP address may be: and instructions for instructing the second node to mount the predetermined virtual IP address, whereby the second node mounts the pre-stored predetermined virtual IP address in response to the mounting instruction.
Optionally, in another specific implementation manner, the predetermined virtual IP address may not be stored in the second node in advance. Therefore, the mounting instruction about the predetermined virtual IP address can carry the predetermined virtual IP address, and instruct the second node to mount the predetermined virtual IP address, so that the second node obtains the predetermined virtual IP address to be mounted after receiving the mounting instruction, and further mounts the predetermined virtual IP address.
S104: and sending a configuration instruction for indicating the configuration of the node to become the working node to the arbitration node and each node except the second node in the plurality of first nodes, so that each node configures the node to become the working node based on the configuration instruction.
It will be appreciated that for each node of the mediation node and the plurality of first nodes that is not selected as a second node, it may act as a working node in the virtual IP service system to be deployed.
Based on this, in order to complete the configuration of the working node in the virtual IP service system to be deployed, the arbitration node may send a configuration instruction about being configured as the working node to itself and each node, which is not selected as the second node, in the plurality of first nodes, and the configuration instruction may be used to instruct the node receiving the instruction to configure itself as the working node in the virtual IP service system to be deployed. Furthermore, after each node which is not selected as the second node receives the configuration instruction, the node can configure itself as a working node in the virtual IP service system to be deployed.
Therefore, after the configuration of the virtual IP nodes and each working node is completed, the deployment of the virtual IP service system can be completed, and the deployed virtual IP service system is obtained.
The arbitration node may first perform the step S103 and then perform the step S104; the step S104 may be executed first, and then the step S103 may be executed; the above steps S103 and S104 may also be performed simultaneously. This is all reasonable.
As can be seen from the above, with the deployment method of the virtual IP service system provided in the embodiment of the present invention, when the virtual IP service system is deployed, the configured virtual IP node is selected by the arbitration node. That is, the arbitration node selected from the plurality of initial nodes has a function of selecting a virtual IP node, so that, based on the function, the arbitration node can select one node for mounting a predetermined virtual IP address from itself and each of the first nodes, that is, the arbitration node can determine one node capable of being a virtual IP node from itself and each of the first nodes.
Based on this, with the deployment method of the virtual IP service system provided in the embodiment of the present invention, since the arbitration node can determine that one node capable of serving as a virtual IP node exists in the deployed virtual IP service system, only one virtual IP node exists in the deployed virtual IP service system, and therefore, a situation that a plurality of virtual IP nodes exist in the deployed virtual IP service system due to the fact that a plurality of initial nodes determine that the initial nodes can serve as virtual IP nodes can be avoided, and thus, the probability that the deployed virtual IP service system has a split brain fault is reduced.
It can be understood that, in order to ensure that processing of each work task sent by an external client can be completed in time, when a virtual IP node in a deployed virtual IP service system allocates the work task to a work node, it is necessary to ensure that the selected work node can work normally.
For each initial node which is obtained by self-checking and can not interact with the arbitration node, various faults exist, such as network faults and the like; therefore, the initial nodes which cannot interact with the arbitration node have a high probability of not working normally, and therefore, the virtual IP node needs to avoid allocating work tasks to the initial nodes which cannot interact with the arbitration node as much as possible.
Based on this, optionally, in a specific implementation manner, as shown in fig. 2, the deployment method of the virtual IP service system provided in the embodiment of the present invention may further include the following steps:
s105: when a third node exists in the plurality of initial nodes, sending a fault message about the third node to the second node so that the second node mounting a preset virtual IP address does not distribute a work task to the third node;
the third node is a node which cannot interact with the arbitration node in the plurality of initial nodes.
Since the node identifiers of all the initial nodes may be stored in the arbitration node, when the arbitration node performs the step S101 to obtain the current health values of the plurality of first nodes, the arbitration node may determine whether there is an initial node that does not obtain the current health value in all the initial nodes by comparing the node identifiers of all the initial nodes with the node identifiers of the plurality of first nodes, that is, whether there is a third node that cannot interact with the arbitration node in the preset plurality of initial nodes.
In this way, when the arbitration node determines that the third node exists in the preset plurality of initial nodes, the arbitration node can send a fault message about the third node to the selected second node. Furthermore, since the fault message can represent that the third node cannot work normally, after receiving the fault message, when the second node mounting the predetermined virtual IP address allocates a work task sent by an external client, the second node may not allocate the work task to the third node, thereby ensuring that the work task is allocated to a work node capable of working normally and is processed in time.
Optionally, the fault message may include a node identifier of the third node.
Next, the manner in which the arbitration node executes the step S102 and selects the second node to be mounted with the virtual IP address from the arbitration node and the plurality of first nodes according to the current health value of the arbitration node and the current health values of the plurality of first nodes is exemplified.
Optionally, in a specific implementation manner, as shown in fig. 3, the step S102 may include the following steps:
S102A: determining candidate nodes with current health values meeting preset screening conditions from the arbitration node and the plurality of first nodes;
wherein the predetermined screening conditions include: the current health value is maximum, or the current health value is in a specified range;
S102B: and determining a second node to mount the virtual IP address from the determined candidate nodes.
In this embodiment, the arbitration node may first determine, from itself and the plurality of first nodes, a candidate node whose current health value meets a predetermined filtering condition.
For example, determining the candidate node with the largest current health value; as another example, candidate nodes having current health values within a specified range are determined, and so forth. This is all reasonable.
Furthermore, after determining the candidate nodes, the arbitration node may determine the second node to mount the virtual IP address from the determined candidate nodes.
It is to be understood that, since the number of the selected second nodes is 1, when the determined number of the candidate nodes is 1 or more, the manner in which the arbitration node performs the step S102B described above may be different.
Optionally, in a specific implementation manner, when the number of the determined candidate nodes is 1, the step S102B may include the following steps:
and determining the determined candidate node as a second node to mount the virtual IP address.
Optionally, in another specific implementation manner, the current health value of any initial node is determined by current index values of a plurality of performance indexes, and further, when the number of the determined candidate nodes is multiple, as shown in fig. 4, the step S102B may include the following steps:
S102B 1: determining a current index value of the specified performance index in the current health value of each candidate node;
S102B 2: and selecting the candidate node with the maximum current index value from the determined candidate nodes as a second node to be mounted with the virtual IP address.
When the number of the determined candidate nodes is multiple, the arbitration node needs to select one candidate node from the multiple candidate nodes as the second node to mount the virtual IP address.
According to different practical application scenarios, the arbitration node may focus on different working performance aspects when selecting the second node. Therefore, when the number of the determined candidate nodes is plural, the arbitration node may select the second node as the virtual IP address to be mounted from the plural candidate nodes according to the index value of the emphasized work performance.
Based on this, when the number of the determined candidate nodes is multiple, and the current health value of any initial node may include the current index values of multiple performance indexes, the arbitration node may determine the current index value of the specified performance index in the current health value of each candidate node.
Furthermore, after a plurality of candidate nodes are determined, the arbitration node can select the candidate node with the maximum current index value from the determined candidate nodes as the second node to be mounted with the virtual IP address.
For example, the current health value for the first initial node includes a current software metric value and a current hardware metric value, and a sum of the current software metric value and the current hardware metric value. And, the current software metric value comprises: a current service rating value and a current self-check rating value; the current hardware index value comprises: current network card rate, current disk life, current disk capacity, and current hardware system score.
In addition, in an actual application scenario, consideration of the current service score values of the candidate nodes is emphasized, so that the arbitration node can determine the current service score value of each candidate node at first, and select the candidate node with the largest determined current service score value as the second node to be mounted with the virtual IP address.
In addition, it can be understood that, when the number of the candidate nodes with the largest current merit value is multiple, the arbitration node needs to further select one candidate node from the multiple candidate nodes with the largest current merit value as the second node to mount the virtual IP address.
Optionally, the arbitration node may randomly select a second node serving as the virtual IP address to be mounted from a plurality of candidate nodes with the largest current index value;
optionally, the arbitration node may determine a current index value of another designated performance index of each candidate node in the plurality of candidate nodes with the largest current index value, so as to select the candidate node with the largest current index value of the another performance index as the second node to be mounted with the virtual IP address.
Next, the selection method of the arbitration node will be described as an example.
Optionally, in a specific implementation manner, fig. 5 is a schematic flowchart of a selection manner of an arbitration node according to an embodiment of the present invention, and as shown in fig. 5, the selection manner may include the following steps:
s501: each initial node selects a candidate arbitration node from the plurality of initial nodes and sends a selection result to each other initial node which is not the initial node and can carry out interaction;
after a plurality of initial nodes for deploying the virtual IP service system are preset, each initial node may store various information of itself and other initial nodes except itself, such as node performance, MAC address, and the like. And, each initial node may interact with at least one of the other respective initial nodes except itself. Further, there may be an initial node that cannot interact with any of the other initial nodes.
Furthermore, when the virtual IP service system starts to be deployed, each initial node may select an initial node from all initial nodes as a candidate arbitration node, and send the candidate result to each other initial node capable of interacting.
For an initial node that cannot interact with any of the other initial nodes, the initial node cannot send a candidate result to each of the other initial nodes, and cannot receive a candidate result sent by each of the other initial nodes, and further, the initial node cannot be configured as an arbitration node, so that the initial node can automatically exit the virtual IP service system to be deployed.
Each initial node may perform the step of selecting a candidate arbitration node from the plurality of initial nodes in step S501 in a plurality of ways, which is not limited in this embodiment of the present invention.
Optionally, in a specific implementation manner, the step S501 may include the following steps:
each initial node randomly selects a candidate arbitration node from the plurality of initial nodes.
In this specific implementation manner, each initial node may randomly select an initial node as a candidate arbitration node from a plurality of initial nodes preset for deploying the virtual IP service system.
Optionally, in another specific implementation manner, the step S501 may include the following steps:
and each initial node selects a candidate arbitration node according to the node performance and/or the Media Access Control (MAC) address of a plurality of initial nodes.
In this specific implementation manner, each initial node may obtain the MAC addresses and/or node performances of the multiple initial nodes, and thus each initial node may select an initial node as a candidate arbitration node according to the node performances and/or MAC addresses of the multiple initial nodes.
The node performance of each initial node is preset and may be set in various ways, for comparison, which is not specifically limited in the embodiments of the present invention.
For example, the node performance of each initial node may be set based on the network performance of the network in which the initial node is located; as another example, the node performance of each initial node may be set based on the interaction speed of the initial node.
Each initial node can select a candidate arbitration node according to the node performance of a plurality of initial nodes; for example, each initial node may select the initial node with the highest node performance as a candidate arbitration node;
or each initial node selects a candidate arbitration node according to the MAC addresses of a plurality of initial nodes; for example, each initial node may select an initial node with the highest numerical value corresponding to the MAC address as a candidate arbitration node;
or each initial node selects a candidate arbitration node according to the node performance and the Media Access Control (MAC) address of a plurality of initial nodes; for example, each initial node may select the initial node with the highest sum of the value corresponding to the node performance and the value corresponding to the MAC address as the candidate arbitration node.
Based on this, the embodiment of the present invention does not perform the above-mentioned specific manner in which each initial node selects a candidate arbitration node according to the node performance and/or the MAC address of multiple initial nodes on the arbitration node.
S502: each initial node counts the times that a plurality of initial nodes are respectively selected as candidate arbitration nodes;
each initial node may receive the selection result sent by each other initial node capable of interacting, so that each initial node may count the number of times that each initial node is selected as a candidate arbitration node in a plurality of preset initial nodes based on each received selection result.
S503: the initial node selected as the candidate arbitration node the largest number of times configures itself as the arbitration node.
After counting the times that the plurality of initial nodes are respectively selected as candidate arbitration nodes, each initial node can determine whether the times that the initial node is selected as the candidate arbitration node is the largest, and then the initial node with the largest times that the initial node is selected as the candidate arbitration node can be configured as the arbitration node, so that the arbitration node is obtained.
After the deployed virtual IP service system is obtained by using the deployment method of the virtual IP service system provided in the embodiment of the present invention, in order to ensure the normal operation of the virtual IP service system, the virtual IP service system needs to be managed.
Based on the above, the embodiment of the invention also provides a management method of the virtual IP service system. The management method is also applied to the arbitration node, and the virtual service system is deployed by using the deployment method of the virtual IP service system provided by the embodiment of the present invention.
Next, a method for managing a virtual IP service system according to an embodiment of the present invention will be described.
Fig. 6 is a schematic flowchart of a management method of a virtual IP service system according to an embodiment of the present invention, and as shown in fig. 6, the management method may include the following steps:
s601: detecting whether a preset virtual IP address is hung on the mobile terminal to obtain a first detection result;
by using the deployment method of the virtual IP service system provided by the embodiment of the present invention, after the deployed virtual IP service system is obtained, the virtual IP service system can start to operate.
Furthermore, in order to ensure the normal operation of the deployed virtual IP service system, it is necessary to detect whether a split brain fault occurs in the virtual IP service system in time. Therefore, the arbitration node can detect whether the arbitration node is mounted with the predetermined virtual IP address or not, and obtain a first detection result.
S602: acquiring a second detection result of each node except the arbitration node in the virtual IP service system, wherein the second detection result is used for representing whether a preset virtual IP address is hung;
furthermore, after the virtual IP service system starts to operate, the arbitration node may further obtain a second detection result of each node in the virtual IP server system except the arbitration node, the second detection result being used for representing whether a predetermined virtual IP address is mounted on the node.
When the arbitration node is a virtual IP node, the arbitration node can acquire a second detection result of each working node for representing whether a preset virtual IP address is hung; when the arbitration node is a working node, the arbitration node may obtain a second detection result of the virtual IP node and each of the other working nodes, which is used for representing whether the predetermined virtual IP address is mounted.
In addition, the second detection result may be automatically reported to the arbitration node by each node except the arbitration node in the virtual IP service system; the arbitration node may first send a detection instruction about mounting the predetermined virtual IP address to each node except the arbitration node in the virtual IP service system, and the detection instruction is used to indicate whether the predetermined virtual IP address is mounted, so that each node can detect whether the predetermined virtual IP address is mounted by itself when receiving the detection instruction, and report a second detection result obtained by the detection to the arbitration node.
It should be noted that, the arbitration node may first execute the step S601 and then execute the step S602; the step S602 may be executed first, and then the step S601 may be executed; the above steps S601 and S602 may also be performed simultaneously. This is all reasonable.
S603: determining whether a plurality of nodes with preset virtual IP addresses are hung in the arbitration node and each node or not based on the first detection result and each acquired second detection result; if yes, go to step S604;
s604: and determining that the virtual IP service system has a split brain fault.
Furthermore, after obtaining the first detection result and each second detection result, the arbitration node may determine whether there are multiple nodes with predetermined virtual IP addresses in the arbitration node and each node according to the first detection result and each second detection result.
Furthermore, since only one virtual IP node with a predetermined virtual IP address is available in a normally operating virtual IP service system, if the determination result in step S603 is yes, it indicates that the virtual IP service system has a split brain fault, and thus cannot operate normally.
Based on this, when the determination result in the step S603 is yes, the arbitration node may determine that there is a split brain fault in the virtual IP service system.
Accordingly, when the determination result in the step S603 is negative, the arbitration node may determine that the virtual IP service system does not have a split brain fault.
In addition, it should be noted that the arbitration node may execute the steps S601 to S604 in real time, or execute the steps S601 to S604 according to a preset period and each preset period duration, which is reasonable.
As can be seen from the above, with the management method of the virtual IP service system provided in the embodiment of the present invention, when a split brain fault occurs in the virtual IP service system, the arbitration node can timely determine the split brain fault, and determine a plurality of nodes that cause the split brain fault and mount the predetermined virtual IP addresses, so that the arbitration node can timely solve the split brain fault.
It can be understood that when a split occurs in the virtual IP service system, the virtual IP service system cannot operate normally, and further, in order to ensure timely processing of each work task sent by an external client, it is desirable to solve the split-brain fault as soon as possible.
Based on this, optionally, in a specific implementation manner, as shown in fig. 7, the method for managing a virtual IP service system according to the foregoing embodiment of the present invention may further include the following steps:
s605: when the virtual IP service system is determined to have a split brain fault, determining a target node serving as a virtual IP node from a plurality of nodes which are hung with preset virtual IP addresses;
when the arbitration node determines that the virtual IP service system has the split brain fault, the arbitration node may determine that a plurality of nodes with predetermined virtual IP addresses are mounted in the virtual IP service system. Furthermore, because only one virtual IP node with a predetermined virtual IP address can exist in a normally operating virtual IP service system, the arbitration node can select a target node from a plurality of nodes with predetermined virtual IP addresses to continuously mount the predetermined virtual IP address, and thus, the selected target node can be continuously used as a virtual IP node in the virtual IP service system.
The arbitration node may execute the step S605 in various ways, and the embodiment of the present invention is not limited in this respect.
Optionally, in a specific implementation manner, the step S605 may include the following steps:
and when the virtual IP service system is determined to have the split brain fault, randomly selecting a target node serving as a virtual IP node from a plurality of nodes with preset virtual IP addresses.
S606: and sending a stopping instruction to each other node except the target node in the plurality of nodes with the preset virtual IP address, so that each other node exits the virtual IP service system based on the stopping instruction.
Furthermore, after the target node is determined, in order to ensure that only one virtual IP node on which a predetermined virtual IP address is mounted exists in the virtual IP service system, each of the other nodes except the selected target node among the plurality of nodes on which the predetermined virtual IP address is mounted needs to exit the virtual IP service system.
Based on this, the arbitration node can send a stop instruction to each of the other nodes except the target node among the plurality of nodes on which the predetermined virtual IP address is mounted. The stop instruction can instruct to exit the virtual IP service system, so that each of the other nodes can actively exit the virtual IP service system after receiving the stop instruction.
Optionally, when the health value of the node is 0, the node stops working and exits from the virtual IP service system, so that when the arbitration node sends a stop instruction to each of the other nodes except the target node among the plurality of nodes on which the predetermined virtual IP address is mounted, the stop instruction may be: an instruction indicating that the health value of each of the other nodes described above is lowered to 0.
Therefore, after the other nodes exit the virtual IP service system, only one virtual IP node with a preset virtual IP address can exist in the virtual IP service system, so that the split brain fault of the virtual IP service system can be solved, and the virtual IP service system can normally operate again.
In this specific implementation manner, when determining that a split brain fault exists in the virtual IP service system, the arbitration node may process the split brain fault in time, so that the virtual IP service system may operate normally again.
In order to ensure that the virtual IP service system after solving the split brain fault has better operating efficiency, the target node selected in step S601 may be a node with better working performance.
Based on this, optionally, in a specific implementation manner, the method for managing a virtual IP service system provided in the foregoing embodiment of the present invention may further include the following steps:
acquiring the health values of arbitration nodes and each node in each preset period according to the preset period duration;
the health value of each node is used for representing the working performance of the node;
in this specific implementation manner, the arbitration node may obtain the health values of the arbitration node and each node in each preset period according to the preset period duration. In the above steps, the health values of the arbitration node and each node obtained by the arbitration node are: the arbitration node and the current health value at the time when each node transmits its own health value.
Optionally, each node may periodically and automatically send its health value to the arbitration node according to a preset period duration;
optionally, the arbitration node may periodically send a health value acquisition request to each node according to a preset period duration, so that each node may send its own health value at the current time to the arbitration node after receiving the health value acquisition request.
Accordingly, in this embodiment, in the step S605, the step of determining the target node as the virtual IP node from the plurality of nodes on which the predetermined virtual IP address is mounted may include the following steps:
step 1: and determining a target node which is a virtual IP node from the plurality of nodes mounted with the preset virtual IP address based on the health values of the plurality of nodes mounted with the preset virtual IP address acquired last time.
In order to enable the determined target node to have better working performance and ensure that the virtual IP service system after solving the split brain fault can have better operating efficiency, the arbitration node can determine the target node serving as the virtual IP node from the plurality of nodes with the preset virtual IP address based on the recently acquired health values of the plurality of nodes with the preset virtual IP address.
It should be noted that, the arbitration node may perform step 1 in various ways, and the embodiment of the present invention is not limited in particular.
Optionally, in a specific implementation manner, the step 1 may include the following steps:
and determining the node with the highest health value obtained most recently from the plurality of nodes with the preset virtual IP addresses as a target node of the virtual IP node.
In this specific implementation manner, the arbitration node may determine, as a target node of the virtual IP node, a node with a highest health value obtained most recently, from among the plurality of nodes on which the predetermined virtual IP address is mounted.
Optionally, in a specific implementation manner, the health values of the arbitration node and the nodes are determined by index values of a plurality of performance indexes, and then the step 1 may include the following steps:
if a plurality of nodes with the preset virtual IP addresses are available in the plurality of nodes with the preset virtual IP addresses, determining an index value of a preset performance index in the health value obtained last time by each node with the preset virtual IP addresses; and determining the node with the preset virtual IP address, which is the maximum index value of the preset new performance index, as a target node of the virtual IP node.
Optionally, in a specific implementation manner, the management method for a virtual IP service system provided in the foregoing embodiment of the present invention may further include the following steps:
and sending a degradation instruction to each other node, so that each other node reduces the current health value of the node based on the degradation instruction.
After determining the target node as the virtual IP node from the plurality of nodes on which the predetermined virtual IP address is mounted, the arbitration node may further send a downgrade instruction to each of the other nodes than the target node from the plurality of nodes on which the predetermined virtual IP address is mounted. Since the degradation instruction can indicate to lower the health value, the current health value of each of the other nodes can be lowered based on the degradation instruction when the other nodes receive the degradation instruction.
Since the lower the health value of the node is, the higher the risk of failure of the node is considered by the arbitration node, so as to enable the target node to take over as a virtual IP node in the virtual IP service system, the arbitration node may first reduce the health value of each of other nodes except the target node, among the plurality of nodes having the predetermined virtual IP address, by sending the degradation instruction.
Further, optionally, the downgrading instruction may indicate that the health value is 0, so that each of the other nodes except the target node in the plurality of nodes on which the predetermined virtual IP address is mounted may directly reduce the health value of itself to 0 when receiving the downgrading instruction.
Optionally, each of the other nodes may reduce the current health value of the node by reducing the self-check score value in the health value;
optionally, the downgrading instruction may carry the service score value of the reduced health value, so that the current health value of each other node is reduced by reducing the service score value of each other node.
Corresponding to the deployment method of the virtual IP service system provided in the embodiment of the present invention, the embodiment of the present invention further provides a deployment apparatus of the virtual IP service system. The deployment device is applied to an arbitration node, wherein the arbitration node is selected from a plurality of preset initial nodes for deploying the virtual IP service system, and is used for selecting a virtual IP node from the plurality of initial nodes.
Fig. 8 is a schematic structural diagram of a deployment apparatus of a virtual IP service system according to an embodiment of the present invention, and as shown in fig. 8, the deployment apparatus may include the following modules:
a first health value obtaining module 810, configured to obtain current health values of a plurality of first nodes; wherein each first node is: among the plurality of initial nodes, a node capable of interacting with the arbitration node; the health value of each first node is used for representing the working performance of the node;
a node selecting module 820, configured to select, according to the current health value of the arbitration node and the current health values of the plurality of first nodes, a second node to be mounted with the virtual IP address from the arbitration node and the plurality of first nodes;
a first instruction sending module 830, configured to send a mount instruction about a predetermined virtual IP address to the second node, so that the second node mounts the predetermined virtual IP address based on the mount instruction;
a second instruction sending module 840, configured to send, to the arbitration node and each node except the second node in the plurality of first nodes, a configuration instruction for indicating that the node is configured to become a working node, so that each node configures itself as a working node based on the configuration instruction.
As can be seen from the above, with the deployment apparatus of the virtual IP service system provided in the embodiment of the present invention, when the virtual IP service system is deployed, the configured virtual IP node is selected by the arbitration node. That is, the mediation node selected from the plurality of initial nodes has a function of selecting a virtual IP node, so that, based on the function, the mediation node can select one node for mounting a predetermined virtual IP address from itself and each of the first nodes, that is, the mediation node can determine one node capable of being a virtual IP node from itself and each of the first nodes.
Based on this, with the deployment device of the virtual IP service system provided in the embodiment of the present invention, since the arbitration node can determine that one node capable of serving as a virtual IP node exists in the deployed virtual IP service system, only one virtual IP node exists in the deployed virtual IP service system, it is possible to avoid a situation that a plurality of virtual IP nodes exist in the deployed virtual IP service system because a plurality of initial nodes determine that the plurality of initial nodes can serve as virtual IP nodes themselves, thereby reducing the probability that the deployed virtual IP service system has a split brain fault.
Optionally, in a specific implementation manner, the apparatus further includes:
a message sending module, configured to send a fault message about a third node to the second node when the third node exists in the multiple initial nodes, so that the second node on which the predetermined virtual IP address is mounted does not allocate a work task to the third node; wherein the third node is a node which cannot interact with the arbitration node in the plurality of initial nodes.
Optionally, in a specific implementation manner, the node selecting module 820 includes:
the node selection submodule is used for determining candidate nodes of which the current health values meet preset screening conditions from the arbitration node and the plurality of first nodes; wherein the predetermined screening conditions include: the current health value is maximum, or the current health value is in a specified range;
and the node determining submodule is used for determining a second node to be mounted with the virtual IP address from the determined candidate nodes.
Optionally, in a specific implementation manner, the current health value of any initial node is determined by current index values of multiple performance indexes; when the determined number of candidate nodes is multiple, the node determination submodule is specifically configured to:
determining a current index value of the specified performance index in the current health value of each candidate node;
and selecting the candidate node with the maximum current index value from the determined candidate nodes as a second node to be mounted with the virtual IP address.
Optionally, in a specific implementation manner, the apparatus further includes: a node configuration module for selecting an arbitration node, the node configuration module being configured to:
the result determining submodule is used for selecting a candidate arbitration node from the plurality of initial nodes and sending a selection result to each other initial node which is except the initial node and can carry out interaction;
the structure counting submodule is used for counting the times of the plurality of initial nodes which are respectively selected as candidate arbitration nodes based on the received selection results;
and the node configuration submodule is used for configuring the node as the arbitration node when the number of times that the node is selected as the candidate arbitration node is maximum.
Optionally, in a specific implementation manner, the result determining sub-module is specifically configured to:
each initial node randomly selects a candidate arbitration node from the plurality of initial nodes; or,
and each initial node selects a candidate arbitration node according to the node performance and/or the Media Access Control (MAC) address of the plurality of initial nodes.
Corresponding to the management method of the virtual IP service system provided in the embodiment of the present invention, the embodiment of the present invention further provides a management device of the virtual IP service system. The management device is applied to an arbitration node in the virtual IP service system, and the virtual IP service system is deployed based on any one of the deployment methods of the virtual IP service system provided by the embodiments of the present invention.
Fig. 9 is a schematic structural diagram of a management device of a virtual IP service system according to an embodiment of the present invention, and as shown in fig. 9, the management device may include the following modules:
a result determining module 910, configured to detect whether a predetermined virtual IP address is mounted on the module itself, so as to obtain a first detection result;
a result obtaining module 920, configured to obtain a second detection result of each node except the arbitration node in the virtual IP service system, where the second detection result is used to indicate whether the predetermined virtual IP address is mounted on the node;
a node detection module 930, configured to determine, based on the first detection result and the obtained second detection results, whether there are multiple nodes, which are mounted with the predetermined virtual IP address, in the arbitration node and the nodes; if so, trigger the failure determination module 940;
the failure determining module 940 is configured to determine that a split brain failure exists in the virtual IP service system.
As can be seen from the above, with the management method of the virtual IP service system provided in the embodiment of the present invention, when a virtual IP service system has a split brain fault, the arbitration node can timely determine the split brain fault, and determine a plurality of nodes that cause the split brain fault and mount a predetermined virtual IP address, so that the arbitration node can timely solve the split brain fault.
Optionally, in a specific implementation manner, the apparatus further includes:
the node determination module is used for determining a target node serving as a virtual IP node from the plurality of nodes which are hung with the preset virtual IP address when the virtual IP service system is determined to have the split brain fault;
a third instruction sending module, configured to send a stop instruction to each other node except the target node in the multiple nodes on which the predetermined virtual IP address is mounted, so that each other node exits the virtual IP service system based on the stop instruction.
Optionally, in a specific implementation manner, the apparatus further includes:
the second health value acquisition module is used for acquiring the health values of the arbitration node and each node in each preset period according to the preset period duration; the health value of each node is used for representing the working performance of the node;
the node determination module includes:
and the node determining submodule is used for determining a target node serving as a virtual IP node from the plurality of nodes with the preset virtual IP address based on the health values of the plurality of nodes with the preset virtual IP address.
Optionally, in a specific implementation manner, the node determination submodule is specifically configured to:
and determining the node with the highest health value which is obtained most recently from the plurality of nodes which are hung with the preset virtual IP addresses as a target node which is used as a virtual IP node.
Optionally, in a specific implementation manner, the apparatus further includes:
and the fourth instruction sending module is used for sending a degradation instruction to each other node so that each other node reduces the current health value of the node based on the degradation instruction.
The embodiment of the invention provides a deployment method of a virtual IP service system and a management method of the virtual IP service system. The embodiment of the present invention further provides an electronic device, as shown in fig. 10, which includes a processor 1001, a communication interface 1002, a memory 1003 and a communication bus 1004, wherein the processor 1001, the communication interface 1002 and the memory 1003 complete mutual communication through the communication bus 1004,
a memory 1003 for storing a computer program;
the processor 1001 is configured to, when executing the program stored in the memory 1003, implement the steps of the deployment method of any virtual IP service system provided in the foregoing embodiment of the present invention and/or the steps of the management method of any virtual IP service system provided in the foregoing embodiment of the present invention.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In another embodiment of the present invention, a computer-readable storage medium is further provided, where a computer program is stored in the computer-readable storage medium, and when executed by a processor, the computer program implements the steps of any deployment method of the virtual IP service system provided in the foregoing embodiment of the present invention and/or the steps of the management method of any virtual IP service system provided in the foregoing embodiment of the present invention.
In another embodiment of the present invention, a computer program product containing instructions is further provided, which when run on a computer, causes the computer to perform the steps of any of the deployment methods of the virtual IP service system provided in the above embodiments of the present invention and/or the steps of any of the management methods of the virtual IP service system provided in the above embodiments of the present invention.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is 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.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, apparatus embodiments, electronic device embodiments, computer-readable storage medium embodiments, and computer program product embodiments are described with relative simplicity as they are substantially similar to method embodiments, where relevant only as described in portions of the method embodiments.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.
Claims (15)
1. A deployment method of a virtual IP service system is characterized in that the deployment method is applied to an arbitration node, wherein the arbitration node is selected from a plurality of preset initial nodes for deploying the virtual IP service system and is used for selecting a node of a virtual IP node from the plurality of initial nodes; the method comprises the following steps:
acquiring current health values of a plurality of first nodes; wherein each first node is: among the plurality of initial nodes, a node capable of interacting with the arbitration node; the health value of each first node is used for representing the working performance of the node;
selecting a second node to be mounted with a virtual IP address from the arbitration node and the plurality of first nodes according to the current health value of the arbitration node and the current health values of the plurality of first nodes;
sending a mounting instruction about a predetermined virtual IP address to the second node to cause the second node to mount the predetermined virtual IP address based on the mounting instruction;
and sending a configuration instruction for indicating the configuration of the node to become a working node to the arbitration node and each node except the second node in the plurality of first nodes, so that each node configures the node to become the working node based on the configuration instruction.
2. The method of claim 1, further comprising:
when a third node exists in the plurality of initial nodes, sending a fault message about the third node to the second node so that the second node mounted with the preset virtual IP address does not distribute a work task to the third node; wherein the third node is a node which cannot interact with the arbitration node in the plurality of initial nodes.
3. The method according to claim 1, wherein said step of selecting a second node from said arbitration node and said plurality of first nodes to mount a virtual IP address according to said current health value of said arbitration node and said current health values of said plurality of first nodes comprises:
determining candidate nodes with current health values meeting a preset screening condition from the arbitration node and the plurality of first nodes; wherein the predetermined screening conditions include: the current health value is maximum, or the current health value is in a specified range;
and determining a second node to mount the virtual IP address from the determined candidate nodes.
4. The method of claim 3, wherein the current health value of any initial node is determined by current index values of a plurality of performance metrics;
when the determined number of candidate nodes is multiple, the step of determining a second node to mount a virtual IP address from the determined candidate nodes includes:
determining a current index value of the specified performance index in the current health value of each candidate node;
and selecting the candidate node with the maximum current index value from the determined candidate nodes as a second node to be mounted with the virtual IP address.
5. The method according to any of claims 1-4, wherein the arbitration node is selected in a manner comprising:
each initial node selects a candidate arbitration node from the plurality of initial nodes and sends a selection result to each other initial node which is not the initial node and can carry out interaction;
each initial node counts the times of the initial nodes respectively selected as candidate arbitration nodes based on the received selection results;
the initial node selected as the candidate arbitration node the largest number of times configures itself as the arbitration node.
6. The method of claim 5, wherein the step of each initiating node selecting a candidate arbitration node from the respective initiating nodes comprises:
each initial node randomly selects a candidate arbitration node from the plurality of initial nodes; or,
and each initial node selects a candidate arbitration node according to the node performance and/or the Media Access Control (MAC) address of the plurality of initial nodes.
7. A management method for a virtual IP service system, which is applied to an arbitration node in the virtual IP service system, wherein the virtual IP service system is deployed based on the method of any one of the preceding claims 1-6; the method comprises the following steps:
detecting whether a preset virtual IP address is hung on the mobile terminal to obtain a first detection result;
acquiring a second detection result of each node except the arbitration node in the virtual IP service system, wherein the second detection result is used for representing whether the preset virtual IP address is hung;
determining whether a plurality of nodes with the preset virtual IP address are hung in the arbitration node and each node based on the first detection result and the acquired second detection results;
and if so, determining that the virtual IP service system has a split brain fault.
8. The method of claim 7, further comprising:
when the virtual IP service system is determined to have a split brain fault, determining a target node serving as a virtual IP node from the plurality of nodes with the preset virtual IP address;
and sending a stopping instruction to each other node except the target node in the plurality of nodes with the preset virtual IP address, so that each other node exits the virtual IP service system based on the stopping instruction.
9. The method of claim 8, further comprising:
acquiring the health values of the arbitration node and each node in each preset period according to the preset period duration; the health value of each node is used for representing the working performance of the node;
the step of determining a target node as a virtual IP node from the plurality of nodes on which the predetermined virtual IP address is mounted includes:
and determining a target node which is a virtual IP node from the plurality of nodes with the preset virtual IP address based on the health values of the plurality of nodes with the preset virtual IP address.
10. The method according to claim 9, wherein the step of determining a target node as a virtual IP node from the plurality of nodes mounted with the predetermined virtual IP address based on the most recently obtained health values of the plurality of nodes mounted with the predetermined virtual IP address comprises:
and determining the node with the highest health value which is obtained most recently from the plurality of nodes which are hung with the preset virtual IP addresses as a target node which is used as a virtual IP node.
11. The method according to claim 9 or 10, characterized in that the method further comprises:
and sending a degradation instruction to each other node so that each other node reduces the current health value of the node based on the degradation instruction.
12. A deployment device of a virtual IP service system is characterized in that the deployment device is applied to an arbitration node, wherein the arbitration node is selected from a plurality of preset initial nodes for deploying the virtual IP service system and is a node for selecting the virtual IP node from the plurality of initial nodes; the device comprises:
the first health value acquisition module is used for acquiring the current health values of a plurality of first nodes; wherein each first node is: among the plurality of initial nodes, a node capable of interacting with the arbitration node; the health value of each first node is used for representing the working performance of the node;
a node selection module, configured to select, according to the current health value of the arbitration node and the current health values of the plurality of first nodes, a second node to which a virtual IP address is to be mounted from the arbitration node and the plurality of first nodes;
a first instruction sending module, configured to send a mount instruction about a predetermined virtual IP address to the second node, so that the second node mounts the predetermined virtual IP address based on the mount instruction;
and a second instruction sending module, configured to send, to the arbitration node and each node except the second node, a configuration instruction for instructing about configuration as a working node, so that each node configures itself as a working node based on the configuration instruction.
13. Management device of a virtual IP service system, applied to an arbitration node in the virtual IP service system, the virtual IP service system being deployed based on the method of any one of the preceding claims 1 to 6; the device comprises:
the result determining module is used for detecting whether a preset virtual IP address is hung on the result determining module to obtain a first detection result;
a result obtaining module, configured to obtain a second detection result of each node except the arbitration node in the virtual IP service system, where the second detection result is used to indicate whether the predetermined virtual IP address is mounted on the node;
a node detection module, configured to determine, based on the first detection result and the obtained second detection results, whether multiple nodes with the predetermined virtual IP address are mounted in the arbitration node and the nodes; if yes, triggering a fault determining module;
and the fault determining module is used for determining that the virtual IP service system has a split brain fault.
14. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for performing the method steps of any of claims 1-6 and/or the method steps of any of claims 7-11 when executing a program stored in a memory.
15. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method steps of any one of claims 1 to 6 and/or the method steps of any one of claims 7 to 11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010954773.9A CN112087336B (en) | 2020-09-11 | 2020-09-11 | Deployment and management method and device of virtual IP service system and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010954773.9A CN112087336B (en) | 2020-09-11 | 2020-09-11 | Deployment and management method and device of virtual IP service system and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112087336A CN112087336A (en) | 2020-12-15 |
CN112087336B true CN112087336B (en) | 2022-09-02 |
Family
ID=73737556
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010954773.9A Active CN112087336B (en) | 2020-09-11 | 2020-09-11 | Deployment and management method and device of virtual IP service system and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112087336B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118413436B (en) * | 2024-06-27 | 2024-09-13 | 苏州元脑智能科技有限公司 | Fault processing method, product, equipment and medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104202409A (en) * | 2014-09-12 | 2014-12-10 | 成都卫士通信息产业股份有限公司 | Balanced load SSL VPN (security socket layer, virtual private network) device cluster system and operating method thereof |
CN109101196A (en) * | 2018-08-14 | 2018-12-28 | 北京奇虎科技有限公司 | Host node switching method, device, electronic equipment and computer storage medium |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9515869B2 (en) * | 2012-01-18 | 2016-12-06 | Dh2I Company | Systems and methods for server cluster application virtualization |
CN102932500A (en) * | 2012-11-07 | 2013-02-13 | 曙光信息产业股份有限公司 | Method and system for taking over fault interface node |
CN106027634B (en) * | 2016-05-16 | 2019-06-04 | 白杨 | Message port Exchange Service system |
CN108075912B (en) * | 2016-11-11 | 2022-09-27 | 中兴通讯股份有限公司 | Method and device for determining network center node and equipment node |
CN107181834B (en) * | 2017-06-13 | 2021-02-12 | 聚好看科技股份有限公司 | Method and device for managing virtual IP address by redis and redis system |
CN107547394A (en) * | 2017-08-14 | 2018-01-05 | 新华三信息安全技术有限公司 | A kind of load-balancing device dispositions method more living and device |
CN110266833B (en) * | 2019-07-16 | 2022-03-29 | 广州虎牙科技有限公司 | IP address management method and edge cluster |
CN110519406B (en) * | 2019-08-16 | 2022-05-17 | 济南浪潮数据技术有限公司 | Virtual address allocation method and device, CTDB cluster and storage medium |
-
2020
- 2020-09-11 CN CN202010954773.9A patent/CN112087336B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104202409A (en) * | 2014-09-12 | 2014-12-10 | 成都卫士通信息产业股份有限公司 | Balanced load SSL VPN (security socket layer, virtual private network) device cluster system and operating method thereof |
CN109101196A (en) * | 2018-08-14 | 2018-12-28 | 北京奇虎科技有限公司 | Host node switching method, device, electronic equipment and computer storage medium |
Non-Patent Citations (1)
Title |
---|
分布式实时系统网络节点管理解决方案;何绪兰等;《铁道通信信号》;20180617(第06期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN112087336A (en) | 2020-12-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102439559B1 (en) | Alarm method and device | |
CN108370341B (en) | Resource allocation method, virtual network function manager and network element management system | |
EP2838228B1 (en) | Alarm correlation analysis method, apparatus, and system | |
CN107819797B (en) | Access request processing method and device | |
US20180176289A1 (en) | Information processing device, information processing system, computer-readable recording medium, and information processing method | |
US20160142262A1 (en) | Monitoring a computing network | |
CN107566214B (en) | Performance test method and device | |
CN109921925B (en) | Dial testing method and device | |
WO2019034095A1 (en) | Software processing method and apparatus, electronic device and computer-readable storage medium | |
CN107122271B (en) | Method, device and system for recovering node event | |
CN110391880A (en) | Access request processing method and equipment based on terminal-server framework | |
CN112087336B (en) | Deployment and management method and device of virtual IP service system and electronic equipment | |
CN108733545B (en) | Pressure testing method and device | |
US20140282581A1 (en) | Method and apparatus for providing a component block architecture | |
CN107666401B (en) | Configuration information acquisition method and terminal | |
CN107426012B (en) | Fault recovery method and device based on super-fusion architecture | |
CN114296909A (en) | Automatic node capacity expansion and reduction method and system according to kubernets event | |
CN110928679B (en) | Resource allocation method and device | |
CN114138522A (en) | Micro-service fault recovery method and device, electronic equipment and medium | |
JP6926646B2 (en) | Inter-operator batch service management device and inter-operator batch service management method | |
US12086643B2 (en) | Critical workload management in container-based computing environment | |
CN108156086B (en) | Policy rule issuing method and device | |
CN114173396B (en) | Method and device for determining terminal networking time, electronic equipment and storage medium | |
CN115580522A (en) | Method and device for monitoring running state of container cloud platform | |
CN110752939B (en) | Service process fault processing method, notification 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 |