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

By receiving the node connection mapping list, establishing node connections, generating configuration information, and managing nodes into input and output interface working mode in the calculation node working state detection, the problem of misjudgment caused by network failures is solved, and a more accurate and real-time detection effect is achieved.

CN119806929AActive Publication Date: 2025-04-11INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411850039.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-16
Publication Date
2025-04-11
Estimated Expiration
2044-12-16

AI Technical Summary

Technical Problem

The traditional computing node working state detection method has major problems due to misjudgment of detection results due to network connection failure between the management node and the computing node.

Method used

By receiving the node connection mapping list sent by the storage system, each node is controlled to establish a connection with the logical storage unit of the storage area network in the storage system, generate node configuration information and configure nodes, manage nodes to enter the input and output interface working mode, update the logical storage unit regularly and read the current storage content to judge the working status of the computing node.

Benefits of technology

It effectively avoids misjudgment of detection results caused by network connection failure, reduces system complexity, improves system availability, maintainability and cluster management flexibility, reduces costs, and improves the accuracy and real-time detection of the working status of the computing node.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119806929A_ABST
    Figure CN119806929A_ABST
Patent Text Reader

Abstract

The invention relates to a computing node working state detection method and device, computer equipment and a storage medium. The method comprises the following steps: in response to a received node connection mapping list sent by a storage system, controlling each node to establish connection with a logic storage unit of a storage area network in the corresponding storage system according to the node connection mapping list; in response to configuration operation on each node, generating configuration information of the node, and configuring the corresponding node according to the node configuration information; in response to the fact that the working mode of the management node is an input and output interface working mode, starting operation is conducted on all the nodes, all the computing nodes are controlled to update the corresponding logic storage units regularly, and the management node is controlled to read the current storage content of all the logic storage units; and judging the working state of the corresponding computing node according to the current storage content of each logic storage unit. By adopting the method, the misjudgment of the detection result caused by the network connection fault between the management node and the computing node can be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of server detection, and in particular to a node working status detection device, computer equipment and storage medium. Background Art

[0002] With the rapid development of virtualization technology, more and more customers choose to deploy their services in the cloud environment: by creating virtual machines in the cloud environment to deploy services, the rapid deployment and distribution of services can be achieved, reducing the maintenance costs of users. The cloud environment is usually a cluster consisting of multiple physical hosts, and cluster management software is used to manage the physical hosts. The cluster management software divides the roles of physical hosts into two types: management nodes and computing nodes. The management node is responsible for managing the addition and removal of physical hosts, the creation and deletion of virtual machines, etc. The computing node is responsible for carrying specific virtual machine services. When a physical host fails, the management node will migrate the virtual machine to a normal physical host to achieve high availability of the virtual machine and ensure the continuity of customer services.

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

[0004] Based on this, 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 failure between management nodes and computing nodes in response to the above technical problems.

[0005] In a first aspect, a method for detecting a 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 sent by the storage system, controlling each node to establish a connection with a logical storage unit of a storage area network in the corresponding storage system according to the node connection mapping list; the node includes a management node and each computing node;

[0007] In response to performing configuration operations on each node, generating configuration information of the node, and configuring the corresponding node according to the node configuration information;

[0008] In response to the working mode of the management node being the input / output interface working mode, starting operations 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;

[0009] The working state of the corresponding computing node is determined according to the current storage content of each logical storage unit; wherein the working state includes normal working or abnormal working.

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

[0011] In response to receiving the node connection mapping list sent by the storage system, storing the node connection mapping list, and acquiring a computer system interface qualified name of the storage system;

[0012] Log into the storage system according to the qualified name of the computer system interface;

[0013] In response to the storage system logging in successfully, each node is controlled to establish a connection with the corresponding logical storage unit according to the node connection mapping list, and each logical storage unit in the storage area network is displayed.

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

[0015] A storage unit creation instruction is issued 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.

[0016] In one embodiment, in response to performing a configuration operation on each node, generating configuration information of the node, and configuring the corresponding node according to the node configuration information, includes:

[0017] In response to the configuration operation on 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 of the management node, the logical storage unit write interval of the management node, and the working mode are generated; wherein the computing node information includes the Internet Protocol address, node identification number and node name of the corresponding computing node; the working mode is the input and output interface working mode; the node configuration information corresponding to the management node includes the first absolute path information, each computing node information, the logical storage unit read interval, the logical storage unit write interval and the working mode;

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

[0019] In one of the embodiments, in response to performing configuration operations on each node, generating configuration information of the node, and configuring the corresponding node according to the node configuration information, further includes: in response to performing configuration operations 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 of the embodiments, in response to the working mode of the management node being the input / output interface working mode, each node is started, each computing node is controlled to periodically update the corresponding logical storage unit, and the management node is controlled to read the current storage content of each logical storage unit, including: in response to the working mode of the management node being the input / output interface working mode, each node is started, each computing node is controlled to periodically update the corresponding logical storage unit according to the write interval of the logical storage unit, and the standard update write time of each computing node is recorded; according to the read interval of the logical storage unit, the management node is controlled to read the current storage content of each corresponding logical storage unit; wherein the current storage content includes the node identity identification number of the corresponding computing node, the node name of the corresponding computing node, the update content of the corresponding computing node, and the content update timestamp of the corresponding computing node.

[0021] In one of the embodiments, the working status of the corresponding computing node is determined according to 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, determining that the working status of the corresponding computing node is normal; if they are not the same, determining that the working status of the corresponding computing node is abnormal.

[0022] In a second aspect, 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] Among them, the node connection module is used to respond to the node connection mapping list sent by the storage system, and control each node to establish a connection with the logical storage unit of the storage area network in the corresponding storage system according to the node connection mapping list; the node includes a management node and each computing node; the node configuration module is used to respond to the configuration operation of each node, generate the configuration information of the node, and configure the corresponding node according to the node configuration information; the storage content update module is used to respond to the working mode of the management node being the input and output interface working mode, start the operation on each node, control each computing node to update the corresponding logical storage unit regularly, and control the management node to read the current storage content of each logical storage unit; the working status judgment module 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 normal operation or abnormal operation.

[0024] In a third aspect, a computer device is provided. The computer device includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the steps of any method in the above method embodiments are implemented.

[0025] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of any method in the above method embodiments are implemented.

[0026] The above-mentioned computing node working status detection method, device, computer equipment and storage medium, in response to receiving a node connection mapping list sent by a storage system, controls each node to establish a connection with a logical storage unit of a storage area network in the corresponding storage system according to the node connection mapping list; the node includes a management node and each computing node; then, in response to performing a configuration operation on each node, generates node configuration information, and configures the corresponding node according to the node configuration information; then, in response to the working mode of the management node being an input / output interface working mode, starts 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; finally, judges the working status of the corresponding computing node according to the current storage content of each logical storage unit, thereby avoiding misjudgment of the detection result due to a network connection failure between the management node and the computing node, reducing the complexity of the system, improving the availability, maintainability and flexibility of cluster management of the system, and reducing costs, while improving the detection accuracy and real-time performance of the computing node working status. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 An application environment diagram of a method for detecting working status of a computing node in an embodiment;

[0028] Figure 2 A schematic diagram of a first flow chart of a method for detecting a working state of a computing node in an embodiment;

[0029] Figure 3 A second flow chart of a method for detecting a computing node working state in one embodiment;

[0030] Figure 4 A schematic diagram of a process of generating node configuration information in response to a configuration operation on each node and configuring the corresponding node according to the node configuration information in an embodiment;

[0031] Figure 5 A flowchart of an embodiment of the present invention is to start each node in response to the working mode of the management node being the input / output interface working mode, control each computing node to update the corresponding logical storage unit at regular intervals, and control the management node to read the current storage content of each logical storage unit;

[0032] Figure 6 It is a schematic diagram of a flow chart of determining the working status of the corresponding computing node according to the current storage content of each logical storage unit in one embodiment;

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

[0034] Figure 8 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0035] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0036] In order to facilitate understanding of the present application, the present application will be described more fully below with reference to the relevant drawings. Embodiments of the present application are provided in the drawings. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present application more thorough and comprehensive.

[0037] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.

[0038] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. 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 can be understood that the “connection” in the following embodiments should be understood as “electrical connection”, “communication connection”, etc. if the connected circuits, modules, units, etc. have electrical signals or data transmission between each other.

[0040] When used herein, the singular forms "a", "an", and "said / the" may also include plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "include / comprise" or "have" etc. specify the presence of stated features, wholes, steps, operations, components, parts or combinations thereof, but do not exclude 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 Figure 1 In the application environment shown, the physical host system 102 communicates with the storage system 104 through a network or an input / output port. 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, Figure 2 As shown, a method for detecting the working status of a computing node is provided. Figure 1 The physical host system 102 in the example is used for description, including the following steps 201 to 204.

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

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

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

[0046] In one embodiment, if 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 a logical storage unit of a storage area network in the corresponding 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 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.

[0048] Specifically, the physical host system 102 issues 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, thereby improving the efficiency and convenience of obtaining the node connection mapping list.

[0049] In a specific example, in the input and output interface mode, a logical storage unit (LUN) is provided for management nodes and computing nodes through a storage area network (SAN). All nodes in the server cluster can access the same LUN provided by the SAN, and the minimum LUN capacity is 1M i B. The LUN is divided into 2048 blocks according to 512B, and each node in the server cluster corresponds to a block on the LUN, so the cluster management supports a minimum of 2048 nodes. A unique identification document (ID) and a unique node name are assigned to each node in the cluster. The node ID ranges from 0 to 2047. The node with ID value i can only access the i-th block on the LUN. The above is only a specific example. In actual applications, it is flexibly set according to user needs and is not limited here.

[0050] In this embodiment, a storage unit creation instruction is issued 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, thereby improving the efficiency and convenience of obtaining the node connection mapping list.

[0051] Step 202: In response to performing configuration operations on each node, generating node configuration information, and configuring the corresponding node according to the node configuration information.

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

[0053] In one embodiment, if Figure 4 As shown, in response to performing configuration operations on each node, node configuration information is generated, and the corresponding node is configured according to the node configuration information, including step 401 and step 402.

[0054] Step 401, in response to a configuration operation on a management node, generates the first absolute path information of the logical storage unit corresponding to the management node, computing node information of each computing node, the reading interval time of the logical storage unit of the management node, the writing interval time of the logical storage unit of the management node, and the working mode.

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

[0056] The computing node information includes the Internet Protocol address (IP), node identification number and node name of the corresponding computing node; the working mode is the input and output interface working mode; the node configuration information corresponding to the management node includes the first absolute path information, each computing node information, logical storage unit read interval time, logical storage unit write interval time and working mode. In addition, the working mode can also be set to network mode.

[0057] Specifically, when the physical host system 102 recognizes that a configuration operation is being performed on a 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 reading interval of the logical storage unit of the management node, the writing interval of the logical storage unit of the management node, and the working mode; then, it configures the corresponding management node according to the node configuration information corresponding to the management node, thereby improving the efficiency and convenience of the management node configuration.

[0058] In this embodiment, in response to a configuration operation on a 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 reading interval of the logical storage unit of the management node, the writing interval of the logical storage unit of the management node, and the working mode are generated; then, the corresponding management node is configured according to the node configuration information corresponding to the management node, thereby improving the efficiency and convenience of the management node configuration.

[0059] In one embodiment, if Figure 4 As shown, in response to performing configuration operations on each node, node configuration information is generated, and the corresponding node is configured according to the node configuration information, and also includes steps 403 and 404.

[0060] Step 403 , in response to performing configuration operations on each computing node, generating second absolute path information of a 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.

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

[0062] 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. Specifically, when the physical host system 102 recognizes that a configuration operation is to be performed on each computing node, it generates 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; then, the corresponding computing node is configured according to the node configuration information corresponding to each computing node, thereby improving the efficiency and convenience of computing node configuration.

[0063] In this embodiment, in response to the configuration operation on each computing node, the second absolute path information of the logical storage unit corresponding to the corresponding computing node, the node identity 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 corresponding to each computing node, thereby improving the efficiency and convenience of the computing node configuration.

[0064] Step 203, in response to the management node operating mode being the input / output interface operating mode, start each node, control each computing node to periodically update the corresponding logical storage unit, and control the management node to read the current storage content of each logical storage unit.

[0065] Specifically, when the physical host system 102 recognizes that the working mode of the management node is the input / output interface working mode, it starts 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.

[0066] In one embodiment, if Figure 5 As shown, in response to the management node's working mode being the input / output interface working mode, each node is started, each computing node is controlled to periodically update the corresponding logical storage unit, 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 operating mode being the input / output interface operating mode, each node is started, each computing node is controlled to periodically update the corresponding logical storage unit according to the logical storage unit write interval, 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 currently stored content includes a node identification number of the corresponding computing node, a node name of the corresponding computing node, an updated content of the corresponding computing node, and a content update timestamp of the corresponding computing node.

[0070] Specifically, when the physical host system 102 recognizes that the working mode of the management node is the input / output interface working mode, it starts the operation on each node, controls each computing node to periodically update the corresponding logical storage unit according to the write interval of the logical storage unit, 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 read interval of the logical storage unit, 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 working mode of the management node being the input / output interface working mode, each node is started, and each computing node is controlled to periodically update the corresponding logical storage unit according to the write interval of the logical storage unit, and the standard update write time of each computing node is recorded; then, the management node is controlled to read the current storage content of each corresponding logical storage unit according to the read interval of the 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 according to the current storage content of each logical storage unit.

[0073] The working state includes working normally or working abnormally. Specifically, the physical host system 102 determines the working state of the corresponding computing node according to the current storage content of each logical storage unit, thereby avoiding misjudgment of the detection result due to a network connection failure between the management node and the computing node, reducing the complexity of the system, improving the availability, maintainability and flexibility of the system cluster management, reducing costs, and improving the detection accuracy and real-time performance of the computing node working state.

[0074] Based on this, the above-mentioned computing node working status detection method, in response to receiving the node connection mapping list sent by the storage system, controls each node to establish a connection with the logical storage unit of the storage area network in the corresponding storage system according to the node connection mapping list; the node includes a management node and each computing node; then, in response to the configuration operation of each node, generates the configuration information of the node, and configures the corresponding node according to the node configuration information; then, in response to the working mode of the management node being the input and output interface working mode, starts each node, controls each computing node to update the corresponding logical storage unit periodically, and controls the management node to read the current storage content of each logical storage unit; finally, judges the working status of the corresponding computing node according to the current storage content of each logical storage unit, thereby avoiding misjudgment of the detection result due to the network connection failure between the management node and the computing node, reducing the complexity of the system, improving the availability, maintainability and flexibility of cluster management of the system, and reducing the cost, while improving the detection accuracy and real-time performance of the working status of the computing node.

[0075] In one embodiment, if Figure 6 As shown, judging the working status of the corresponding computing node according to the current storage content of each logical storage unit includes steps 601 to 603.

[0076] Step 601, determining whether the content update timestamp of the corresponding computing node in each currently stored content is the same as the standard update write time of the corresponding computing node;

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

[0078] Step 603: If they are not the same, it is determined that the working state 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 currently stored content is the same as the standard update write time of the corresponding computing node; then, if they are the same, it determines that the working status of the corresponding computing node is normal; then, if they are not the same, it determines that the working status of the corresponding computing node is abnormal, thereby improving the efficiency and accuracy of judging the working status of the computing node.

[0080] In this embodiment, it is determined whether the content update timestamp of the corresponding computing node in each currently stored content is the same as the standard update write time of the corresponding computing node; then, if they are the same, it is determined that the working status of the corresponding computing node is normal; then, if they are not the same, it is determined that the working status of the corresponding computing node is abnormal, which improves the efficiency and accuracy of judging the working status of the computing node.

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

[0082] If the first target node name is the same as the second target node name and the first target node identity identification number is the same as the second target node identity identification number, it is determined that there is no mapping relationship abnormality in the target node; 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 of the computing node information of the corresponding target computing node in the node configuration information of the management node; the first target node identity identification number is the node identity identification number in the current storage content of the logical storage unit corresponding to the target computing node; the second target node identity identification number is the node identity identification number of the computing node information of the corresponding target computing node in the node configuration information of the management node; the target computing node is any computing node among all computing nodes;

[0083] If the name of the first target node is different from the name of the second target node or the first target node identity identification number is different from the second target node identity identification number, it is determined that there is a mapping relationship abnormality in the target node, and target node abnormality prompt information is output; the target node abnormality prompt information is used to characterize that there is a mapping relationship abnormality in the target node.

[0084] In this embodiment, by comparing the first target node name with the second target node name, and comparing the first target node identity identification number with the second target node identity identification number, it is possible to promptly discover mapping relationship anomalies in the target nodes, thereby facilitating management of the computing nodes.

[0085] It should be understood that although Figure 2-6 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-6 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed 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 part of the sub-steps or stages of other steps.

[0086] Second, 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.

[0087] Among them, the node connection module 710 is used to respond to the node connection mapping list sent by the storage system, and control each node to establish a connection with the logical storage unit of the storage area network in the corresponding storage system according to the node connection mapping list; the node includes a management node and each computing node; the node configuration module 720 is used to respond to the configuration operation of each node, generate the configuration information of the node, and configure the corresponding node according to the node configuration information; the storage content update module 730 is used to respond to the working mode of the management node being the input and output interface working mode, start the operation on 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 normal operation or abnormal operation.

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

[0089] Among them, 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 storage system login, 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.

[0090] In one of the embodiments, the node connection unit is further 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.

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

[0092] Among them, the node configuration unit is used to 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 time of the management node, the logical storage unit write interval time of the management node and the working mode in response to the configuration operation of the management node; wherein the computing node information includes the Internet Protocol address, node identification number and node name of the corresponding computing node; the working mode is the input and output interface working mode; the node configuration information corresponding to the management node includes the first absolute path information, each computing node information, 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.

[0093] In one of the embodiments, the node configuration unit is used to generate 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 in response to a configuration operation on each 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.

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

[0095] Among them, the storage content update unit is used to respond to the working mode of the management node being the input and output interface working mode, to start the operation of each node, to control each computing node to periodically update the corresponding logical storage unit according to the write interval time of the logical storage unit, and to record 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 read interval time of the logical storage unit; wherein the current storage content includes the node identity identification number of the corresponding computing node, the node name of the corresponding computing node, the update content of the corresponding computing node and the content update timestamp of the corresponding computing node.

[0096] In one embodiment, the working state determination module 740 includes a working state determination unit.

[0097] Among them, the working status judgment unit is used to judge 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; the working status judgment unit is used to determine that the working status of the corresponding computing node is normal if they are the same; the working status judgment unit is used to determine that the working status of the corresponding computing node is abnormal if they are not the same.

[0098] For the specific definition of the computing node working status detection device, please refer to the definition of the computing node working status detection method above, which will not be repeated here. Each module in the above computing node working status detection device can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0099] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 8As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store a node connection mapping list. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for detecting the working status of a computing node is implemented.

[0100] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0101] In a third aspect, a computer device is provided. The computer device includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the steps of any method in the above method embodiments are implemented.

[0102] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of any method in the above method embodiments are implemented.

[0103] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing related hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may 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 many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct RAMbus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.

[0104] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, 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.

[0105] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached 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, controlling each node to establish a connection with a corresponding logical storage unit of a storage area network in the storage system according to the node connection mapping list; the node includes a management node and each computing node; In response to performing a configuration operation on each of the nodes, generating configuration information of the node, and configuring the corresponding node according to the node configuration information; In response to the working mode of the management node being the input / output interface working mode, starting operations are performed on each of the nodes, controlling each of the computing nodes to periodically update the corresponding logical storage unit, and controlling the management node to read the current storage content of each of the logical storage units; The working state of the corresponding computing node is determined according to the current storage content of each logical storage unit; wherein the working state includes normal working or abnormal working.

2. The method according to claim 1, characterized in that In response to receiving the node connection mapping list sent by the storage system, controlling each node to establish a connection with a corresponding logical storage unit of a 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, storing the node connection mapping list, and acquiring the qualified name of the computer system interface of the storage system; Logging into the storage system according to the computer system interface qualified name; In response to the storage system logging in successfully, each of the nodes is controlled to establish a connection with the corresponding logical storage unit according to the node connection mapping list, and each of the logical storage units in the storage area network is displayed.

3. The method according to claim 2, characterized in that In response to receiving the node connection mapping list sent by the storage system, before controlling each node to establish a connection with a corresponding logical storage unit of a storage area network in the storage system according to the node connection mapping list, the method 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: In response to performing a configuration operation on each of the nodes, generating configuration information of the node, and configuring the corresponding node according to the node configuration information, includes: In response to the configuration operation on 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 of the management node, the logical storage unit write interval of the management node, and the working mode are generated; wherein the computing node information includes the Internet Protocol address, node identification number and node name corresponding to the computing node; the working mode is the input-output interface working mode; the node configuration information corresponding to the management node includes the first absolute path information, the computing node information of each computing node, the logical storage unit read interval, the logical storage unit write interval and the working mode; The corresponding management node is configured according to the node configuration information corresponding to the management node.

5. The method according to claim 4, characterized in that In response to performing a configuration operation on each of the nodes, generating configuration information of the node, and configuring the corresponding node according to the node configuration information, further includes: In response to performing a configuration operation on each of the computing nodes, generating 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 corresponding computing nodes are configured according to the node configuration information corresponding to each computing node.

6. The method according to claim 4, characterized in that In response to the working mode of the management node being the input / output interface working mode, starting operations on each of the nodes, controlling each of the computing nodes to periodically update the corresponding logical storage unit, and controlling the management node to read the current storage content of each of the logical storage units, including: In response to the working mode of the management node being the input / output interface working mode, starting operations are performed on each of the nodes, controlling each of the computing nodes to periodically update the corresponding logical storage unit according to the write interval of the logical storage unit, and recording the standard update write time of each of the computing nodes; According to the reading interval of the logical storage unit, the management node is controlled to read the current storage content of each corresponding logical storage unit; wherein the current storage content includes the node identification number of the corresponding computing node, the node name of the corresponding computing node, the update 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 determining the working state of the corresponding computing node according to the current storage content of each of the logical storage units includes: Determine whether the content update timestamp of the computing node corresponding to each of the currently stored contents is the same as the standard update write time of the computing node corresponding to the content; If they are the same, determining that the working state of the corresponding computing node is working normally; If they are not the same, it is determined that the working state of the corresponding computing node is the working abnormality.

8. A computing node working status detection device, characterized in that: The device is applied to a physical host system, and the device comprises: A node connection module, configured to control each node to establish a connection with a corresponding logical storage unit of a storage area network in the storage system according to the node connection mapping list in response to receiving the node connection mapping list sent by the storage system; the nodes include a management node and each computing node; A node configuration module, configured to generate configuration information of the node in response to a configuration operation performed on each of the nodes, and configure the corresponding node according to the node configuration information; A storage content update module, configured to, in response to the working mode of the management node being the input / output interface working mode, start each of the nodes, control each of the computing nodes to periodically update the corresponding logical storage unit, and control the management node to read the current storage content of each of the logical storage units; A working status judgment module 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 normal operation or abnormal operation.

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, the steps of the method according to any one of claims 1 to 7 are implemented.

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

Citation Information

Patent Citations

  • Resource management system and method for containerized application

    CN106776005A

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

    CN110515557A

  • Multi-control storage system IO path management method and device, electronic equipment and medium

    CN112114957A

  • Abnormal data management method, memory storage device, and memory control circuit unit

    US11442657B1