Node working state detection method and device, computer device, and storage medium

By establishing logical storage unit connections in a storage area network between management nodes and compute nodes, node information is generated and configured, and storage content is updated and read periodically. This solves the problem of false detection caused by network connection failures and achieves efficient compute node status detection.

CN119806929BActive Publication Date: 2026-04-14INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
INSPUR SUZHOU INTELLIGENT TECH CO LTD
Filing Date
2024-12-16
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

Traditional methods for detecting the working status of computing nodes can lead to misjudgments due to network connection failures between management nodes and computing nodes, affecting system availability and maintainability.

Method used

By receiving the node connection mapping list sent by the storage system, the system controls each node to establish a connection with the logical storage unit of the storage area network in the storage system, generates and configures node information, manages the node to update the logical storage unit periodically in input/output interface working mode, reads the current storage content, and determines the working status of the computing node.

Benefits of technology

This avoids misjudgments of detection results caused by network connection failures, improves the availability, maintainability, and cluster management flexibility of the system, reduces costs, and improves the accuracy and real-time performance of computing node working status detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119806929B_ABST
    Figure CN119806929B_ABST
Patent Text Reader

Abstract

The application relates to a kind of computing node working state detection method, device, computer equipment and storage medium.The method comprises: in response to receiving the node connection mapping list sent by storage system, according to node connection mapping list, control each node and the logical storage unit of storage area network in corresponding storage system establish connection;In response to the configuration operation to each node, generate the configuration information of node, and configure corresponding node according to node configuration information;In response to the working mode of management node being input / output interface working mode, each node is operated, control each computing node to update corresponding logical storage unit regularly, and control management node to read the current storage content of each logical storage unit;According to the current storage content of each logical storage unit, the working state of corresponding computing node is judged.The method can avoid the detection result misjudgment caused by network connection failure between management node and computing node.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of server detection technology, and in particular to a node working status detection device, computer equipment, and storage medium. Background Technology

[0002] With the rapid development of virtualization technology, more and more customers are choosing to deploy their businesses in cloud environments: by creating virtual machines (VMs) on the cloud, they can quickly deploy and distribute their services, reducing maintenance costs. Cloud environments are typically clusters of multiple physical hosts, managed by cluster management software. This software categorizes physical hosts into management nodes and compute nodes. Management nodes are responsible for adding and removing physical hosts, creating and deleting VMs, etc. Compute nodes are responsible for hosting the specific VM services. In the event of a physical host failure, the management node migrates the VMs to a working physical host to ensure high availability and maintain business continuity.

[0003] However, traditional methods for detecting the working status of computing nodes have problems such as misjudgment of detection results due to network connection failures between management nodes and computing nodes. Summary of the Invention

[0004] Therefore, it is necessary to provide a node working status detection device, computer equipment, and storage medium that can avoid misjudgment of detection results due to network connection failures between management nodes and computing nodes, in order to address the above-mentioned technical problems.

[0005] Firstly, a method for detecting the working status of a computing node is provided, the method being applied to a physical host system, the method comprising:

[0006] In response to receiving a node connection mapping list from the storage system, the system controls each node to establish a connection with the logical storage unit of the corresponding storage area network in the storage system according to the node connection mapping list; the nodes include management nodes and each computing node;

[0007] In response to configuration operations on each node, configuration information for the node is generated, and the corresponding node is configured according to the node configuration information;

[0008] In response to the management node's operating mode being input / output interface mode, the node performs startup operations, controls each computing node to periodically update its corresponding logical storage unit, and controls the management node to read the current storage content of each logical storage unit.

[0009] The working status of the corresponding computing node is determined based on the current storage content of each logical storage unit; the working status includes normal operation or abnormal operation.

[0010] In one embodiment, in response to receiving a node connection mapping list sent by the storage system, the system controls each node to establish a connection with the logical storage unit of the corresponding storage area network in the storage system according to the node connection mapping list, including:

[0011] In response to receiving the node connection mapping list sent by the storage system, the storage node connection mapping list is obtained, and the qualified name of the computer system interface of the storage system is acquired.

[0012] Log in to the storage system using the qualified name provided by the computer system interface;

[0013] In response to successful login to the storage system, the system controls each node to establish a connection with the corresponding logical storage unit based on the node connection mapping list, and displays each logical storage unit in the storage area network.

[0014] In one embodiment, before controlling each node to establish a connection with the logical storage unit of the corresponding storage area network in the storage system according to the node connection mapping list in response to receiving the node connection mapping list, the method further includes:

[0015] Send storage unit creation instructions to the storage system so that the storage system can create each logical storage unit according to the storage unit creation instructions, and generate and send a node connection mapping list to the physical host system.

[0016] In one embodiment, in response to configuring each node, configuration information for the node is generated, and the corresponding node is configured according to the node configuration information, including:

[0017] In response to configuration operations on the management node, the system generates the first absolute path information of the logical storage unit corresponding to the management node, the computing node information of each computing node, the logical storage unit read interval time of the management node, the logical storage unit write interval time of the management node, and the working mode. The computing node information includes the corresponding computing node's Internet Protocol address, node identification number, and node name. The working mode is an input / output interface working mode. The node configuration information corresponding to the management node includes the first absolute path information, the computing node information, the logical storage unit read interval time, the logical storage unit write interval time, and the working mode.

[0018] Configure the corresponding management node according to the node configuration information of the management node.

[0019] In one embodiment, in response to performing a configuration operation on each node, generating configuration information for the node, and configuring the corresponding node according to the node configuration information, the method further includes: in response to performing a configuration operation on each computing node, generating second absolute path information of the logical storage unit corresponding to the corresponding computing node, a node identification number of the corresponding computing node, and a node name of the corresponding computing node; wherein, the configuration information corresponding to the computing node includes the corresponding second absolute path information, the computing node information of the corresponding computing node, and the node name of the corresponding computing node; and configuring the corresponding computing node according to the node configuration information corresponding to each computing node.

[0020] In one embodiment, in response to the management node's operating mode being an input / output interface operating mode, each node is started, and each computing node is controlled to periodically update its corresponding logical storage unit. The management node is also controlled to read the current storage content of each logical storage unit. This includes: in response to the management node's operating mode being an input / output interface operating mode, starting each node; controlling each computing node to periodically update its corresponding logical storage unit according to the logical storage unit write interval, and recording the standard update write time of each computing node; controlling the management node to read the current storage content of each corresponding logical storage unit according to the logical storage unit read interval; wherein the current storage content includes the node identification number of the corresponding computing node, the node name of the corresponding computing node, the updated content of the corresponding computing node, and the content update timestamp of the corresponding computing node.

[0021] In one embodiment, the working status of the corresponding computing node is determined based on the current storage content of each logical storage unit, including: determining whether the content update timestamp of the corresponding computing node in each current storage content is the same as the standard update write time of the corresponding computing node; if they are the same, the working status of the corresponding computing node is determined to be normal; if they are not the same, the working status of the corresponding computing node is determined to be abnormal.

[0022] Secondly, a computing node working status detection device is provided, characterized in that the device is applied to a physical host system, and the device includes a node connection module, a node configuration module, a storage content update module, and a working status judgment module.

[0023] The system includes the following modules: a node connection module, a node configuration module, and a work status module. The node connection module receives a node connection mapping list from the storage system and controls each node to establish a connection with the logical storage unit of the corresponding storage area network in the storage system. The nodes include management nodes and compute nodes. The node configuration module performs configuration operations on each node, generates node configuration information, and configures the corresponding node according to the configuration information. The storage content update module starts each node when the management node is in input / output interface mode, controls each compute node to periodically update the corresponding logical storage unit, and controls the management node to read the current storage content of each logical storage unit. The work status judgment module determines the work status of the corresponding compute node based on the current storage content of each logical storage unit. The work status includes normal operation or abnormal operation.

[0024] Thirdly, a computer device is provided, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the steps of any of the methods described in the above method embodiments.

[0025] Fourthly, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the steps of any of the methods described in the above method embodiments.

[0026] The aforementioned method, apparatus, computer equipment, and storage medium for detecting the working status of computing nodes, in response to receiving a node connection mapping list sent by the storage system, control each node to establish a connection with the logical storage unit of the corresponding storage area network in the storage system according to the node connection mapping list; the nodes include a management node and each computing node; then, in response to performing configuration operations on each node, generating node configuration information, and configuring the corresponding node according to the node configuration information; next, in response to the management node's working mode being input / output interface working mode, starting each node, controlling each computing node to periodically update the corresponding logical storage unit, and controlling the management node to read the current storage content of each logical storage unit; finally, judging the working status of the corresponding computing node based on the current storage content of each logical storage unit, thereby avoiding misjudgment of detection results due to network connection failures between the management node and computing nodes, reducing system complexity, improving system availability, maintainability, and cluster management flexibility, reducing costs, and improving the accuracy and real-time performance of computing node working status detection. Attached Figure Description

[0027] Figure 1 This is an application environment diagram of a computing node working status detection method in one embodiment;

[0028] Figure 2 This is a schematic diagram of the first process of a computing node working status detection method in one embodiment;

[0029] Figure 3 This is a schematic diagram of the second process of a computing node working state detection method in one embodiment;

[0030] Figure 4 This is a schematic diagram of a process in one embodiment of generating configuration information for each node in response to configuration operations on each node, and configuring the corresponding node according to the node configuration information.

[0031] Figure 5 This is a flowchart illustrating the process of responding to the management node's working mode as an input / output interface working mode, starting each node, controlling each computing node to periodically update the corresponding logical storage unit, and controlling the management node to read the current storage content of each logical storage unit in one embodiment.

[0032] Figure 6 This is a flowchart illustrating how the working state of a corresponding computing node is determined based on the current storage content of each logical storage unit in one embodiment.

[0033] Figure 7 This is a structural block diagram of a computing node working status detection device in one embodiment;

[0034] Figure 8 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0035] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0036] To facilitate understanding of this application, a more complete description will be provided below with reference to the accompanying drawings, which illustrate embodiments of the present application. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that the disclosure of this application will be thorough and complete.

[0037] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.

[0038] It is understood that the terms "first," "second," etc., used herein may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, without departing from the scope of this application, a first resistor may be referred to as a second resistor, and similarly, a second resistor may be referred to as a first resistor. Both the first resistor and the second resistor are resistors, but they are not the same resistor.

[0039] It is understood that the term "connection" in the following embodiments should be understood as "electrical connection," "communication connection," etc., if the connected circuits, modules, units, etc., have electrical signal or data transmission with each other.

[0040] When used herein, the singular forms of “a,” “an,” and “the” may also include the plural forms unless the context clearly indicates otherwise. It should also be understood that the terms “comprising,” “including,” or “having,” etc., specify the presence of the stated feature, whole, step, operation, component, part, or combination thereof, but do not preclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts, or combinations thereof.

[0041] The computing node working status detection method provided in this application can be applied to, for example... Figure 1 In the application environment shown, the physical host system 102 communicates with the storage system 104 via a network or input / output ports. The physical host system 102 and the storage system 104 can be implemented using independent servers or a server cluster consisting of multiple servers.

[0042] In one embodiment, such as Figure 2 As shown, a method for detecting the working state of a computing node is provided, which can be applied to... Figure 1 The following steps are used as an example of physical host system 102, including steps 201 to 204.

[0043] Step 201: In response to receiving the node connection mapping list sent by the storage system, control each node to establish a connection with the logical storage unit of the corresponding storage area network in the storage system according to the node connection mapping list.

[0044] The nodes include management nodes and compute nodes. The node connection mapping list is used to represent the mapping relationship between each node and the logical storage unit of the corresponding storage area network in the storage system.

[0045] Specifically, when the physical host system 102 recognizes the node connection mapping list sent by the storage system, it controls each node to establish a connection with the logical storage unit of the corresponding storage area network in the storage system according to the node connection mapping list.

[0046] In one embodiment, such as Figure 3 As shown, in response to receiving the node connection mapping list sent by the storage system, before controlling each node to establish a connection with the logical storage unit of the corresponding storage area network in the storage system according to the node connection mapping list, step 301 is also included.

[0047] Step 301: Send a storage unit creation instruction to the storage system so that the storage system can create each logical storage unit according to the storage unit creation instruction and generate and send a node connection mapping list to the physical host system.

[0048] Specifically, the physical host system 102 sends a storage unit creation instruction to the storage system, so that the storage system can create each logical storage unit according to the storage unit creation instruction, generate and send a node connection mapping list to the physical host system, thereby improving the efficiency and convenience of obtaining the node connection mapping list.

[0049] In a specific example, in the input / output interface mode, a Storage Area Network (SAN) provides logical unit numbers (LUNs) for management and compute nodes. All nodes in the server cluster can access the same LUN provided by the SAN, with a minimum LUN capacity of 1 MiB. The LUN is divided into 2048 blocks of 512B each, and each node in the server cluster corresponds to one block on the LUN. Therefore, cluster management supports a minimum of 2048 nodes. Each node in the cluster is assigned a unique identity document (ID) and a unique node name. The node ID ranges from 0 to 2047. A node with an ID value of i can only access the i-th block on the LUN. This is just a specific example; in actual applications, it can be flexibly configured according to user needs, and no restrictions are imposed here.

[0050] In this embodiment, a storage unit creation instruction is issued to the storage system, so that the storage system can create each logical storage unit according to the storage unit creation instruction, generate and send a node connection mapping list to the physical host system, thereby improving the efficiency and convenience of obtaining the node connection mapping list.

[0051] Step 202: In response to the configuration operation for each node, generate the configuration information of the node, and configure the corresponding node according to the node configuration information.

[0052] Specifically, when the physical host system 102 detects that a configuration operation is being performed on each node, it generates configuration information for the node and configures the corresponding node according to the node configuration information.

[0053] In one embodiment, such as Figure 4 As shown, in response to the configuration operation of each node, configuration information of the node is generated, and the corresponding node is configured according to the node configuration information, including steps 401 and 402.

[0054] Step 401: In response to the configuration operation of the management node, generate the first absolute path information of the logical storage unit corresponding to the management node, the computing node information of each computing node, the logical storage unit read interval of the management node, the logical storage unit write interval of the management node, and the working mode.

[0055] Step 402: Configure the corresponding management node according to the node configuration information of the management node.

[0056] The compute node information includes the corresponding Internet Protocol Address (IP), node identification number, and node name; the operating mode is input / output interface operating mode; the node configuration information for the management node includes the first absolute path information, information for each compute node, logical storage unit read interval time, logical storage unit write interval time, and operating mode. Furthermore, the operating mode can also be set to network mode.

[0057] Specifically, when the physical host system 102 detects a configuration operation on the management node, it generates the first absolute path information of the logical storage unit corresponding to the management node, the computing node information of each computing node, the logical storage unit read interval time of the management node, the logical storage unit write interval time and working mode of the management node; then, it configures the corresponding management node according to the node configuration information of the management node, thereby improving the efficiency and convenience of the management node configuration.

[0058] In this embodiment, in response to the configuration operation of the management node, the first absolute path information of the logical storage unit corresponding to the management node, the computing node information of each computing node, the logical storage unit read interval time of the management node, the logical storage unit write interval time and working mode of the management node are generated; then, the corresponding management node is configured according to the node configuration information of the management node, which improves the efficiency and convenience of the management node configuration.

[0059] In one embodiment, such as Figure 4 As shown, in response to the configuration operation of each node, the configuration information of the node is generated, and the corresponding node is configured according to the node configuration information, and steps 403 and 404 are also included.

[0060] Step 403: In response to the configuration operation of each computing node, the second absolute path information of the logical storage unit corresponding to the computing node, the node identification number of the corresponding computing node, and the node name of the corresponding computing node are generated.

[0061] Step 404: Configure the corresponding computing nodes according to the node configuration information of each computing node.

[0062] The configuration information for each computing node includes the corresponding second absolute path information, the computing node information, and the node name. Specifically, when the physical host system 102 detects a configuration operation on each computing node, it generates the second absolute path information of the logical storage unit corresponding to the computing node, the node identification number of the computing node, and the node name of the computing node. Then, it configures the corresponding computing node according to the node configuration information, thereby improving the efficiency and convenience of computing node configuration.

[0063] In this embodiment, in response to the configuration operation of each computing node, the second absolute path information of the logical storage unit corresponding to the corresponding computing node, the node identification number of the corresponding computing node, and the node name of the corresponding computing node are generated; then, the corresponding computing node is configured according to the node configuration information of each computing node, which improves the efficiency and convenience of computing node configuration.

[0064] Step 203: In response to the management node's working mode being input / output interface working mode, start-up operations are performed on each node, controlling each computing node to periodically update the corresponding logical storage unit, and controlling the management node to read the current storage content of each logical storage unit.

[0065] Specifically, when the physical host system 102 detects that the management node is in input / output interface mode, it starts each node, controls each computing node to update the corresponding logical storage unit at regular intervals, and controls the management node to read the current storage content of each logical storage unit.

[0066] In one embodiment, such as Figure 5 As shown, in response to the management node's working mode being the input / output interface working mode, the node is started, each computing node is controlled to update its corresponding logical storage unit periodically, and the management node is controlled to read the current storage content of each logical storage unit, including steps 501 to 502.

[0067] Step 501: In response to the management node's working mode being input / output interface working mode, start-up operation is performed on each node. Based on the logical storage unit write interval, each computing node is controlled to periodically update the corresponding logical storage unit, and the standard update write time of each computing node is recorded.

[0068] Step 502: Control the management node to read the current storage content of each corresponding logical storage unit according to the logical storage unit reading interval.

[0069] The current stored content includes the node identification number of the corresponding computing node, the node name of the corresponding computing node, the updated content of the corresponding computing node, and the content update timestamp of the corresponding computing node.

[0070] Specifically, when the physical host system 102 identifies that the management node is in input / output interface mode, it starts each node and controls each computing node to update its corresponding logical storage unit periodically according to the logical storage unit write interval, and records the standard update write time of each computing node; then, it controls the management node to read the current storage content of each corresponding logical storage unit according to the logical storage unit read interval, thereby improving the efficiency and accuracy of obtaining the current storage content of each corresponding logical storage unit.

[0071] In this embodiment, in response to the management node's working mode being the input / output interface working mode, each node is started. Based on the logical storage unit write interval, each computing node is controlled to periodically update the corresponding logical storage unit, and the standard update write time of each computing node is recorded. Then, based on the logical storage unit read interval, the management node is controlled to read the current storage content of each corresponding logical storage unit, thereby improving the efficiency and accuracy of obtaining the current storage content of each corresponding logical storage unit.

[0072] Step 204: Determine the working status of the corresponding computing node based on the current storage content of each logical storage unit.

[0073] The working status includes normal operation or abnormal operation. Specifically, the physical host system 102 determines the working status of the corresponding computing node based on the current storage content of each logical storage unit, thereby avoiding misjudgment of detection results due to network connection failures between the management node and the computing node, reducing system complexity, improving system availability, maintainability and cluster management flexibility, reducing costs, and improving the accuracy and real-time performance of computing node working status detection.

[0074] Based on this, the aforementioned compute node working status detection method, in response to receiving a node connection mapping list sent by the storage system, controls each node to establish a connection with the logical storage unit of the corresponding storage area network in the storage system according to the node connection mapping list; the nodes include management nodes and each compute node; then, in response to performing configuration operations on each node, generating node configuration information, and configuring the corresponding node according to the node configuration information; next, in response to the management node's working mode being input / output interface working mode, starting each node, controlling each compute node to periodically update the corresponding logical storage unit, and controlling the management node to read the current storage content of each logical storage unit; finally, judging the working status of the corresponding compute node based on the current storage content of each logical storage unit, thereby avoiding misjudgment of detection results due to network connection failure between the management node and compute nodes, reducing system complexity, improving system availability, maintainability and cluster management flexibility, reducing costs, and improving the accuracy and real-time performance of compute node working status detection.

[0075] In one embodiment, such as Figure 6 As shown, the working status of the corresponding computing node is determined based on the current storage content of each logical storage unit, including steps 601 to 603.

[0076] Step 601: Determine whether the content update timestamp of the corresponding compute node in each current storage content is the same as the standard update write time of the corresponding compute node;

[0077] Step 602: If they are the same, then determine that the working status of the corresponding computing node is normal.

[0078] Step 603: If they are not the same, then determine that the working status of the corresponding computing node is abnormal.

[0079] Specifically, the physical host system 102 determines whether the content update timestamp of the corresponding computing node in each current storage content is the same as the standard update write time of the corresponding computing node; then, if they are the same, the working status of the corresponding computing node is determined to be normal; then, if they are not the same, the working status of the corresponding computing node is determined to be abnormal, thereby improving the efficiency and accuracy of judging the working status of computing nodes.

[0080] In this embodiment, it is determined whether the content update timestamp of the corresponding computing node in each current storage content is the same as the standard update write time of the corresponding computing node; then, if they are the same, the working status of the corresponding computing node is determined to be normal; then, if they are not the same, the working status of the corresponding computing node is determined to be abnormal, thereby improving the efficiency and accuracy of judging the working status of computing nodes.

[0081] In one embodiment, the method further includes:

[0082] If the name of the first target node is the same as the name of the second target node and the identification number of the first target node is the same as the identification number of the second target node, it is determined that there is no abnormal mapping relationship between the target nodes;

[0083] Wherein, the first target node name is the node name in the current storage content of the logical storage unit corresponding to the target computing node; the second target node name is the node name in the computing node information of the target computing node corresponding to the node configuration information of the management node; the first target node identification number is the node identification number in the current storage content of the logical storage unit corresponding to the target computing node; the second target node identification number is the node identification number in the computing node information of the target computing node corresponding to the node configuration information of the management node; the target computing node is any computing node among all computing nodes;

[0084] If the name of the first target node is different from the name of the second target node, or if the identification number of the first target node is different from the identification number of the second target node, it is determined that there is an abnormal mapping relationship between the target nodes, and an abnormal target node prompt message is output; the abnormal target node prompt message is used to indicate that there is an abnormal mapping relationship between the target nodes.

[0085] In this embodiment, by comparing the first target node name with the second target node name, and by comparing the first target node identification number with the second target node identification number, abnormal mapping relationships of target nodes can be detected in a timely manner, which facilitates the management of computing nodes.

[0086] It should be understood that, although Figure 2-6 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figure 2-6 At least some of the steps in the process may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.

[0087] Secondly, such as Figure 7 As shown, a computing node working status detection device is provided, characterized in that the method is applied to a physical host system, and the device includes a node connection module 710, a node configuration module 720, a storage content update module 730, and a working status judgment module 740.

[0088] The node connection module 710 is used to respond to receiving a node connection mapping list sent by the storage system, and control each node to establish a connection with the logical storage unit of the corresponding storage area network in the storage system according to the node connection mapping list; the nodes include management nodes and each computing node; the node configuration module 720 is used to respond to configuration operations on each node, generate node configuration information, and configure the corresponding node according to the node configuration information; the storage content update module 730 is used to respond to the management node's working mode being input / output interface working mode, start each node, control each computing node to update the corresponding logical storage unit periodically, and control the management node to read the current storage content of each logical storage unit; the working status judgment module 740 is used to judge the working status of the corresponding computing node according to the current storage content of each logical storage unit; wherein, the working status includes working normally or working abnormally.

[0089] In one embodiment, the node connection module 710 includes a node connection unit.

[0090] The node connection unit is used to respond to receiving the node connection mapping list sent by the storage system, store the node connection mapping list, and obtain the qualified name of the computer system interface of the storage system; the node connection unit is used to log in to the storage system according to the qualified name of the computer system interface; the node connection unit is used to respond to successful login to the storage system, control each node to establish a connection with the corresponding logical storage unit according to the node connection mapping list, and display each logical storage unit in the storage area network.

[0091] In one embodiment, the node connection unit is also used to issue a storage unit creation instruction to the storage system, so that the storage system creates each logical storage unit according to the storage unit creation instruction, generates and sends a node connection mapping list to the physical host system.

[0092] In one embodiment, the node configuration module 720 includes a node configuration unit.

[0093] The node configuration unit is used to respond to configuration operations on the management node by generating the first absolute path information of the logical storage unit corresponding to the management node, the computing node information of each computing node, the logical storage unit read interval time of the management node, the logical storage unit write interval time of the management node, and the working mode. The computing node information includes the corresponding computing node's Internet Protocol address, node identification number, and node name. The working mode is an input / output interface working mode. The node configuration information corresponding to the management node includes the first absolute path information, the information of each computing node, the logical storage unit read interval time, the logical storage unit write interval time, and the working mode. The node configuration unit is used to configure the corresponding management node according to the node configuration information corresponding to the management node.

[0094] In one embodiment, the node configuration unit is used to generate, in response to the configuration operation of each computing node, the second absolute path information of the logical storage unit corresponding to the corresponding computing node, the node identification number of the corresponding computing node, and the node name of the corresponding computing node; wherein, the configuration information corresponding to the computing node includes the corresponding second absolute path information, the computing node information of the corresponding computing node, and the node name of the corresponding computing node; the node configuration unit is used to configure the corresponding computing node according to the node configuration information corresponding to each computing node.

[0095] In one embodiment, the storage content update module 730 includes a storage content update unit.

[0096] The storage content update unit is used to start each node in response to the management node's input / output interface working mode. It controls each computing node to update its corresponding logical storage unit periodically according to the logical storage unit write interval and records the standard update write time of each computing node. The storage content update unit is used to control the management node to read the current storage content of each corresponding logical storage unit according to the logical storage unit read interval. The current storage content includes the node identification number of the corresponding computing node, the node name of the corresponding computing node, the updated content of the corresponding computing node, and the content update timestamp of the corresponding computing node.

[0097] In one embodiment, the working status determination module 740 includes a working status determination unit.

[0098] The working status judgment unit is used to determine whether the content update timestamp of the corresponding computing node in each current storage content is the same as the standard update write time of the corresponding computing node; if they are the same, the working status of the corresponding computing node is determined to be normal; if they are not the same, the working status of the corresponding computing node is determined to be abnormal.

[0099] Specific limitations regarding the computing node operational status detection device can be found in the limitations of the computing node operational status detection method described above, and will not be repeated here. Each module in the aforementioned computing node operational status detection device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in the computer device in hardware form, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0100] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 8 As shown, the computer device includes a processor, memory, network interface, and database connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and the database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores a list of node connection maps. The network interface communicates with external terminals via a network connection. When executed by the processor, the computer program implements a method for detecting the working status of a computing node.

[0101] Those skilled in the art will understand that Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0102] Thirdly, a computer device is provided, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the steps of any of the methods described in the above method embodiments.

[0103] Fourthly, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the steps of any of the methods described in the above method embodiments.

[0104] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0105] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0106] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

Claims

1. A method for detecting the working status of a computing node, the method being applied to a physical host system, the method comprising: In response to receiving a node connection mapping list sent by the storage system, the system controls each node to establish a connection with the corresponding logical storage unit of the storage area network in the storage system according to the node connection mapping list; the nodes include management nodes and computing nodes. In response to the configuration operation performed on each of the nodes, configuration information for the nodes is generated, and the corresponding nodes are configured according to the node configuration information; In response to the management node's working mode being input / output interface working mode, the management node performs a startup operation on each node, controls each computing node to periodically update the corresponding logical storage unit, and controls the management node to read the current storage content of each logical storage unit. The working status of the corresponding computing node is determined based on the current storage content of each logical storage unit; wherein, the working status includes working normally or working abnormally. The node configuration information corresponding to the management node includes the first absolute path information of the logical storage unit, the computing node information of each computing node, the logical storage unit read interval of the management node, the logical storage unit write interval of the management node, and the working mode; the working mode is the input / output interface working mode; the computing node information includes the Internet Protocol address, node identification number, and node name corresponding to the computing node; The configuration information corresponding to the computing node includes the second absolute path information of the corresponding logical storage unit and the computing node information of the corresponding computing node.

2. The method according to claim 1, characterized in that, The step of responding to receiving a node connection mapping list sent by the storage system and controlling each node to establish a connection with the corresponding logical storage unit of the storage area network in the storage system according to the node connection mapping list includes: In response to receiving the node connection mapping list sent by the storage system, the node connection mapping list is stored, and the qualified name of the computer system interface of the storage system is obtained; Log in to the storage system using the qualified name provided by the computer system interface; In response to successful login to the storage system, the system controls each node to establish a connection with the corresponding logical storage unit according to the node connection mapping list, and displays each logical storage unit in the storage area network.

3. The method according to claim 2, characterized in that, Before the step of responding to receiving a node connection mapping list sent by the storage system and controlling each node to establish a connection with the corresponding logical storage unit of the storage area network in the storage system according to the node connection mapping list, the step further includes: A storage unit creation instruction is issued to the storage system, so that the storage system creates each of the logical storage units according to the storage unit creation instruction, and generates and sends the node connection mapping list to the physical host system.

4. The method according to claim 1, characterized in that, The step of responding to the configuration operation on each of the nodes, generating configuration information for the nodes, and configuring the corresponding nodes according to the node configuration information includes: In response to the configuration operation of the management node, the following are generated: the first absolute path information of the logical storage unit corresponding to the management node, the computing node information of each computing node, the logical storage unit read interval of the management node, the logical storage unit write interval of the management node, and the working mode. Configure the corresponding management node according to the node configuration information of the management node.

5. The method according to claim 4, characterized in that, The step of responding to the configuration operation on each of the nodes, generating configuration information for the nodes, and configuring the corresponding nodes according to the node configuration information, further includes: In response to the configuration operation of each computing node, the second absolute path information of the logical storage unit corresponding to the computing node, the node identification number of the computing node, and the node name of the computing node are generated. Configure the corresponding computing nodes according to the node configuration information of each computing node.

6. The method according to claim 4, characterized in that, The response to the management node's operating mode being an input / output interface operating mode includes: starting each node, controlling each computing node to periodically update its corresponding logical storage unit, and controlling the management node to read the current storage content of each logical storage unit, including: In response to the management node's working mode being input / output interface working mode, a startup operation is performed on each of the nodes. Based on the logical storage unit write interval, each computing node is controlled to periodically update the corresponding logical storage unit, and the standard update write time of each computing node is recorded. The management node is controlled to read the current storage content of each corresponding logical storage unit according to the logical storage unit read interval time; wherein, the current storage content includes the node identification number of the corresponding computing node, the node name of the corresponding computing node, the updated content of the corresponding computing node, and the content update timestamp of the corresponding computing node.

7. The method according to claim 6, characterized in that, The step of determining the working state of the corresponding computing node based on the current storage content of each logical storage unit includes: Determine whether the content update timestamp of the corresponding computing node in each of the current stored contents is the same as the standard update write time of the corresponding computing node; If they are the same, then the working status of the corresponding computing node is determined to be normal. If they are different, then the working state of the corresponding computing node is determined to be the working abnormality.

8. A computing node operating status detection device for implementing the method as described in any one of claims 1-7, characterized in that, The device is applied to a physical host system, and the device includes: A node connection module is used to respond to receiving a node connection mapping list sent by the storage system, and control each node to establish a connection with the corresponding logical storage unit of the storage area network in the storage system according to the node connection mapping list; the nodes include management nodes and computing nodes; A node configuration module is used to generate configuration information for each node in response to configuration operations on each node, and to configure the corresponding node according to the node configuration information; The storage content update module is used to respond to the management node's working mode being input / output interface working mode, to start each node, control each computing node to update the corresponding logical storage unit periodically, and control the management node to read the current storage content of each logical storage unit; The working status determination module is used to determine the working status of the corresponding computing node based on the current storage content of each logical storage unit; wherein, the working status includes working normally or working abnormally.

9. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Resource management system and method for containerized application

    CN106776005A

  • Cluster management method, device, equipment and readable storage medium

    CN110515557A