System and method for monitoring software application processes

By running instances of software applications on multiple computing nodes and utilizing components such as process monitors and peer monitors to monitor and restart applications in real time, the problem of monitoring and restart delays in the existing technology is solved and improved System availability and efficiency.

CN111352797BActive Publication Date: 2024-09-24THE BOEING CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911204915.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-12-20
Filing Date
2019-11-29
Publication Date
2024-09-24
Estimated Expiration
2039-11-29

AI Technical Summary

Technical Problem

In the existing technology, there is a delay in monitoring and restarting software applications, resulting in increased outage time when services are unavailable, and continuous monitoring by system administrators is expensive and inconvenient.

Method used

A system is designed that includes multiple computing nodes, each running an instance of a software application, and is equipped with a process monitor, a status data analyzer, a process monitor checker, and a peer monitor to generate process status data. Determine the running status of applications, selectively restart applications, handle unfinished tasks in a timely manner, and reduce downtime.

Benefits of technology

It effectively reduces the downtime of software applications, improves system availability and efficiency, and reduces the cost and complexity of administrator monitoring and maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111352797B_ABST
    Figure CN111352797B_ABST
Patent Text Reader

Abstract

A system and method for monitoring a software application process is disclosed. A system for monitoring a process includes a first computing node (102) and a second computing node (104). The first computing node includes a process monitor (140), a state data analyzer (146), a process monitor checker (142), and a peer monitor (150). The process monitor is configured to generate process state data for a first instance (160) of a software application (122). The state data analyzer is configured to selectively restart the first instance of the software application based on determining that an expected process of the first instance of the software application has stopped running. The process monitor checker is configured to restart the process monitor in response to determining that the process monitor has stopped running. The peer monitor is configured to perform an action based on an uncompleted task associated with the second instance of the software application in response to determining that a second instance of the software application has failed at the second computing node.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure generally relates to monitoring the progress of a software application. Background Art

[0002] Compute servers may run software applications to provide services. Software applications may stop for a variety of reasons, such as stack overflow, network or power outages, or other unexpected outages. There may be a delay between when a software application stops and when a system administrator determines that the software application has stopped. There may also be a delay between when a system administrator detects that a software application has stopped and when the system administrator restarts the software application. The delay in restarting the software application increases the downtime during which the service is unavailable. Continuous monitoring of the software application by a system administrator can be inconvenient and expensive. Summary of the invention

[0003] In a specific implementation, a system for monitoring a process includes: a first computing node among a plurality of computing nodes, the plurality of computing nodes being configured to run a plurality of instances of a software application. The system also includes a second computing node among the plurality of computing nodes. The first computing node includes a process monitor, a state data analyzer, a process monitor checker, and a peer monitor. The process monitor is configured to generate process state data for a first instance of a software application running at the first computing node. The state data analyzer is configured to determine, based on the process state data, whether an expected process of the first instance of the software application has stopped running at the first computing node. The state data analyzer is further configured to selectively restart the first instance of the software application based on determining that the expected process has stopped running at the first computing node. The process monitor checker is configured to determine whether the process monitor is running at the first computing node. The process monitor checker is further configured to restart the process monitor in response to determining that the process monitor has stopped running at the first computing node. The peer monitor is configured to determine whether a second instance of the software application has failed at a second computing node among the plurality of computing nodes. The peer monitor is further configured to, in response to determining that the second instance has failed at the second computing node, perform an action based on uncompleted tasks associated with the second instance of the software application.

[0004] In another specific implementation, a method for monitoring a process includes: generating, at a first computing node among a plurality of computing nodes configured to run a plurality of instances of a software application, process state data for a first instance of a software application running at the first computing node. The method also includes determining, based on the process state data, whether an expected process of the first instance of the software application has stopped running at the first computing node. The method also includes selectively restarting the first instance of the software application at the first computing node based on determining that the expected process has stopped running at the first computing node. The method also includes determining whether a second instance of the software application has failed at a second computing node among the plurality of computing nodes. The method also includes, in response to determining that the second instance has failed at the second computing node, performing an action based on an uncompleted task associated with the second instance of the software application.

[0005] In another specific implementation, a computer-readable storage device stores instructions that, when executed by a processor, cause the processor to perform operations including: generating, at a first computing node among a plurality of computing nodes configured to run a plurality of instances of a software application, process state data for a first instance of a software application running at the first computing node. The operations also include determining, based on the process state data, whether an expected process of the first instance of the software application has stopped running at the first computing node. The operations also include selectively restarting the first instance of the software application at the first computing node based on determining that the expected process has stopped running at the first computing node. The operations also include determining whether a second instance of the software application has failed at a second computing node among the plurality of computing nodes. The operations also include, in response to determining that the second instance has failed at the second computing node, performing an action based on an uncompleted task associated with the second instance of the software application.

[0006] The features, functions, and advantages described herein can be achieved independently in various implementations or may be combined in yet other implementations, further details of which may be found with reference to the following description and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] Figure 1 is a block diagram illustrating a system operable to monitor the progress of a software application;

[0008] Figure 2 is a flow chart illustrating an example of a method for monitoring the progress of a software application;

[0009] Figure 3 is a flow chart illustrating an example of a method for monitoring the progress of a software application;

[0010] Figure 4 is a flow chart illustrating an example of a method for monitoring the progress of a software application;

[0011] Figure 5A It is shown Figure 1 A diagram of an example of a state data analyzer and memory of a system;

[0012] Figure 5B It is shown by Figure 1 A flowchart of an example of a method performed by a state data analyzer of a system;

[0013] Figure 6 is a flow chart illustrating an example of a method for monitoring the progress of a software application;

[0014] Figure 7 is a flow chart illustrating an example of a method for monitoring the progress of a software application; and

[0015] Figure 8 is a block diagram depicting a computing environment including a computing device configured to support aspects of computer-implemented methods and computer-executable program instructions (or code) according to the present disclosure. DETAILED DESCRIPTION

[0016] The implementation described herein relates to monitoring the process of a software application. For example, a system includes multiple computing nodes configured to run multiple instances of a software application. For example, a first computing node is configured to run a first instance of a software application, and a second computing node is configured to run a second instance of a software application. Each of the multiple computing nodes includes a service group, which is configured to monitor whether the software application is running as expected at the node. For example, the service group of the first computing node includes a process monitor, a process monitor checker, or both. The process monitor generates process status data, and the process status data indicates the process of the software application running on the first computing node. The process monitor provides the process status data to a status data analyzer of the first computing node. In response to determining that the process monitor has stopped running at the first computing node, the process monitor checker restarts the process monitor.

[0017] One or more components of the service group are configured to monitor one or more other components of the service group. In a specific example, the process monitor and the process monitor checker are configured to monitor each other. For illustration, in response to determining that the process monitor checker is not running (e.g., has stopped running) on ​​the first computing node, the process monitor restarts the process monitor checker, and in response to determining that the process monitor is not running (e.g., has stopped running) on ​​the first computing node, the process monitor checker restarts the process monitor. In this example, either the process monitor or the process monitor checker that is not running (e.g., has stopped running) can be restarted by the other of the process monitor or the process monitor checker. Therefore, the service group provides multi-level checking to achieve robust monitoring of the process of the first computing node.

[0018] The state data analyzer is configured to perform one or more actions based on analyzing the process state data, such as generating a notification, restarting the software application, restarting the process of the software application, prohibiting the restart of the software application, shutting down the service group, updating log data, cleaning temporary files, or a combination thereof. The state data analyzer can access a list of processes to be monitored. For illustration, when the software application is operating normally, the monitored process is expected to be running. In response to determining that the process state data indicates that the expected process has stopped running, the state data analyzer performs one or more actions. In some examples, the state data analyzer performs different actions for different types of expected processes. In a specific example, in response to determining that a first expected process of a first process type is not running (e.g., has stopped running), the state data analyzer restarts the first instance of the software application. As another example, in response to determining that a second expected process of a second process type is not running (e.g., has stopped running), the state data analyzer starts (or restarts) the second expected process. Therefore, the state data analyzer reduces the downtime associated with the first instance of the software application.

[0019] Some of the plurality of computing nodes also include a peer alarm service group, which is configured to monitor whether the software application is running as expected on other nodes. The peer alarm service group includes a peer monitor, a peer monitor checker, or both. The peer monitor accesses cluster process data, which indicates the process of the software application running on the plurality of computing nodes. In one example, the first computing node includes the peer alarm service group, and the peer monitor provides the cluster process data to a state data analyzer of the first computing node. In response to determining that the peer monitor is not running (e.g., has stopped running) on ​​the first computing node, the peer monitor checker restarts the peer monitor.

[0020] One or more components of the peer alarm service group are configured to monitor one or more other components of the peer alarm service group. In a specific example, the peer monitor and the peer monitor checker are configured to monitor each other. For illustration, in response to determining that the peer monitor checker is not running (e.g., has stopped running) at the first computing node, the peer monitor restarts the peer monitor checker, and in response to determining that the peer monitor is not running (e.g., has stopped running) at the first computing node, the peer monitor checker restarts the peer monitor. In this example, any one of the peer monitor or the peer monitor checker that is not running (e.g., has stopped running) can be restarted by the other of the peer monitor or the peer monitor checker. Therefore, the peer alarm service group provides multi-level checking to achieve robust monitoring of processes of multiple computing nodes.

[0021] The peer monitor is configured to notify a cluster management device, one or more other computing nodes, or a combination thereof based on analyzing the cluster process data. For example, in response to determining that the cluster process data indicates that a second instance of a software application has failed at a second computing node, the peer monitor notifies the cluster management device, one or more other computing nodes, or a combination thereof. The peer monitor (or cluster management device) designates a computing node to process any unfinished tasks associated with the second instance of the software application. For example, based on the cluster process data, the peer monitor (or cluster management device) identifies that among a plurality of computing nodes having active (e.g., non-failed) instances of the software application, a first computing node has the fewest number of processes running. In response to identifying that the first computing node has the fewest number of processes running, the peer monitor (or cluster management device) designates the first computing node to process any unfinished tasks associated with the second instance of the software application.

[0022] In response to determining that the first computing node is designated, the peer monitor accesses log data associated with the second node. For example, the system includes a storage device (e.g., a network storage device or other shared storage device) that maintains log data of multiple computing nodes. The peer monitor identifies one or more unfinished tasks based on the log data. The peer monitor performs actions associated with the unfinished tasks. For example, the peer monitor recovers the unfinished tasks (e.g., rolls back an unfinished database update) or completes the unfinished tasks (e.g., commits a database update). Therefore, the peer monitor enables the computing node to reach a valid state of the software application.

[0023] Figure 11 is a block diagram of a system 100 operable to monitor processes of a software application. System 100 includes a plurality of computing nodes. For example, system 100 includes computing node 102, computing node 102 coupled to computing node 104, computing node 106, storage device 108, cluster management device 110, device 112, or a combination thereof via network 190. In a specific aspect, cluster management device 110 includes a physical device, a virtual device, a process running on computing node 102, a process running on computing node 104, a process running on computing node 106, or a combination thereof. In a specific aspect, computing node 102, computing node 104, or computing node 106 includes cluster management device 110. For example, one of computing node 102, computing node 104, or computing node 106 is designated as cluster management device 110.

[0024] It should be understood that the system 100 including three computing nodes is described as an illustrative example. In other examples, the system 100 may include less than three computing nodes or more than three computing nodes. In specific aspects, as various computing nodes enter or leave the coverage area of ​​the network 190, the count of the computing nodes of the system 100 changes dynamically. One or more of the computing nodes 102, 104, 106, and the device 112 include, for example, user devices, mobile devices, fixed-location devices, communication devices, computing devices, servers, desktops, network nodes, virtual devices, or combinations thereof. In specific aspects, the device 112 includes an automated device, a mobile robot, a mobile robot platform, or a combination thereof.

[0025] The network 190 includes a wired network, a wireless network, or both. The storage device 108 includes, for example, a network storage device, a shared storage device, a distributed storage system, a data server, or a combination thereof. The cluster management device 110 includes, for example, a server, a mobile device, a fixed location device, a communication device, a computing device, a desktop, a network node, a virtual device, or a combination thereof. The cluster management device 110 is configured to run a cluster management application. The cluster management application is configured to generate cluster process data 143, which indicates the status of one or more processes running in the computing node 102, the computing node 104, and the computing node 106.

[0026] The computing node 102 includes a memory 132 coupled to a processor 134. The processor 134 includes a single core processor or a multi-core processor. In a specific aspect, the processor 134 includes a plurality of processors. In a specific aspect, the processor 134 is configured to implement multi-threaded program execution. For example, a single core processor is configured to interleave instructions for executing multiple threads to appear to implement multi-threaded program execution. A multi-core processor is configured to execute multiple threads concurrently. In a specific aspect, the processor 134 includes an application server configured to run a first instance 160 of a software application 122.

[0027] The computing node 102 includes a service group that includes a process monitor 140, a process monitor checker 142, or a combination thereof. The process monitor 140 includes a process monitor checker validator 144. The process monitor 140 is configured to generate (e.g., by executing a process status (ps) command) process status data 105, the process status data 105 indicating processes 124 running on the processor 134. In a specific aspect, the process status data 105 indicates a state of a subset of the processes 124 running on the processor 134 that are associated with a first instance 160 of the software application 122. The process monitor checker 142 is configured to determine whether the process monitor 140 is running on the computing node 102. The process monitor checker 142 is configured to start (e.g., restart) the process monitor 140 in response to determining that the process monitor 140 is not running on the computing node 102. In a specific aspect, the process monitor checker 142 is configured to determine whether the process monitor 140 has stopped running on the computing node 102. For example, process monitor checker 142 is configured to determine whether process monitor 140 was previously running on computing node 102 and is no longer running on computing node 102. In this aspect, process monitor checker 142 is configured to restart process monitor 140 in response to determining that process monitor 140 has stopped running on computing node 102.

[0028] The process monitor checker validator 144 is configured to determine whether the process monitor checker 142 is running on the computing node 102. The process monitor checker validator 144 is configured to start (e.g., restart) the process monitor checker 142 in response to determining that the process monitor checker 142 is not running on the computing node 102. In a specific aspect, the process monitor checker validator 144 is configured to determine whether the process monitor checker 142 has stopped running on the computing node 102. For example, the process monitor checker validator 144 is configured to determine whether the process monitor checker 142 was previously running on the computing node 102 and is no longer running on the computing node 102. In this aspect, the process monitor checker validator 144 is configured to restart the process monitor checker 142 in response to determining that the process monitor checker 142 has stopped running on the computing node 102. Therefore, the process monitor checker 142 and the process monitor 140 are configured to monitor each other.

[0029] It should be appreciated that a service group including two levels of inspection (eg, process monitor 140 and process monitor inspector 142) is described as an illustrative example. In other examples, a service group includes more than two levels of inspection, where one or more components of a service group monitor one or more other components of the service group.

[0030] The computing node 102 includes a state data analyzer 146. The state data analyzer 146 is configured to perform one or more actions based on analyzing the process state data 105, such as generating a notification, restarting the first instance 160 of the software application 122, starting a process of the software application 122, prohibiting the first instance 160 of the software application 122 from being restarted, shutting down a service group (e.g., the process monitor 140, the process monitor checker 142, or both), updating the log data 131, or a combination thereof.

[0031] In a specific implementation, the computing node 102 includes a peer alarm service group. The peer alarm service group includes a peer monitor 150, a peer monitor checker 152, or both. The peer monitor 150 includes a peer monitor checker verifier 154. The peer monitor 150 is configured to receive cluster process data 143 from the cluster management device 110. The peer monitor checker 152 is configured to start (e.g., restart) the peer monitor 150 in response to determining that the peer monitor 150 is not running on the computing node 102. The peer monitor checker verifier 154 is configured to start (e.g., restart) the peer monitor checker 152 in response to determining that the peer monitor checker 152 is not running on the computing node 102. In a specific aspect, the peer monitor checker 152 is configured to restart the peer monitor 150 in response to determining that the peer monitor 150 has stopped running on the computing node 102. Peer monitor checker validator 154 is configured to restart peer monitor checker 152 in response to determining that peer monitor checker 152 has stopped running at compute node 102. Thus, peer monitor checker 152 and peer monitor 150 are configured to monitor each other.

[0032] It should be understood that the peer alarm service group including two levels of checking (e.g., peer monitor 150 and peer monitor checker 152) is described as an illustrative example. In other examples, the peer alarm service group includes more than two levels of checking, wherein one or more components of the peer alarm service group monitor one or more other components of the peer alarm service group.

[0033] Peer monitor 150 is configured to determine whether second instance 162 of software application 122 has failed at compute node 104 based on analyzing cluster process data 143. Peer monitor 150 is configured to notify cluster management device 110, one or more other compute nodes, or a combination thereof in response to determining that second instance 162 of software application 122 has failed at compute node 104. In a specific aspect, peer monitor 150 is configured to designate compute node 102 or compute node 106 as cluster management device 110 in response to determining that compute node 104 corresponds to (e.g., includes) cluster management device 110. For example, peer monitor 150 launches an instance of the cluster management application at compute node 102 or sends a request to compute node 106 to launch an instance of the cluster management application. Peer monitor 150 is configured to access log data 141 associated with compute node 104 in response to determining that compute node 102 is designated to process any unfinished tasks of the second instance. Peer monitor 150 is configured to, in response to determining that log data 141 indicates one or more uncompleted tasks 109 associated with second instance 162 of software application 122 , perform actions 128 associated with uncompleted tasks 109 .

[0034] In an active-passive configuration, one computing node is maintained in an idle (e.g., inactive) state as a backup computing node in case another computing node running an instance of software application 122 fails. When a failure of software application 122 is detected, an instance of software application 122 is started on the backup computing node to take over the operation of the failed computing node. In an active-active configuration, resources are used more efficiently by running instances of software application 122 on all available computing nodes. Figure 1 In the embodiment of the present invention, cluster management device 110, computing node 102, computing node 104, computing node 106, or a combination thereof are configured to support an active-active configuration. For example, cluster management device 110 is configured to start an instance of software application 122 on computing node 102, computing node 104, and computing node 106 (e.g., all available computing nodes of system 100). Computing node 102 is configured to process unfinished tasks 109 associated with computing node 104 in response to detecting that software application 122 has failed on computing node 104. Cluster management device 110 is configured to select one of the other computing nodes (e.g., an already active computing node) and update the load balancer in response to detecting that software application 122 has failed on computing node 104 to redirect future traffic for computing node 104 to the selected computing node (e.g., computing node 106). The active-active configuration improves efficiency by making all available computing nodes active, and enables recovery to a valid state by processing unfinished tasks 109.

[0035] Computing node 102 includes display interface 126, network interface 130, or both. Figure 1 In the embodiment, the display interface 126 is coupled to the display 114. The network interface 130 is coupled to the network 190. In particular aspects, the network interface 130 may include a network interface controller, a network interface device, a network card slot, a network interface card, a serial network interface, a wireless interface, or a combination thereof.

[0036] The memory 132 is configured to store expected process data indicating an expected process associated with the software application 122. For example, the data indicates the expected process 107, the expected process 113, or both. The memory 132 is also configured to store the application restart criteria 111. In a specific aspect, the expected process data, the application restart criteria 111, or both are based on user input, default data, configuration settings, or a combination thereof. The memory 132 is configured to store instructions 125. The instructions 125, when executed by the processor 134, perform one or more operations described herein.

[0037] It should be noted that in the following description, Figure 1 Various functions performed by the system 100 are described as being performed by certain components or modules. However, this division of components and modules is for illustration only. In alternative aspects, functions described herein as being performed by a particular component or module are divided among multiple components or modules. In addition, in alternative aspects, Figure 1 Two or more components or modules are integrated into a single component or module. Figure 1 Each component or module shown in the can be implemented using hardware (e.g., field programmable gate array (FPGA) devices, application specific integrated circuits (ASICs), digital signal processors (DSPs), controllers, etc.), software (e.g., instructions executable by a processor), or any combination thereof.

[0038] During operation, the cluster management device 110 activates an instance of the software application 122 and a service group at one or more nodes of the system 100. For example, in response to a user input from a system administrator, the cluster management device 110 activates the instance of the software application 122 and the service group. For illustration, the cluster management device 110 sends a first request to the computing node 102. The first request indicates that an instance of the software application 122 and a corresponding service group are to be activated at the computing node 102. In response to receiving the first request, the state data analyzer 146 activates (e.g., starts) a first instance 160 of the software application 122 at the computing node 102. In response to receiving the first request, the state data analyzer 146 also activates (e.g., starts) a service group (e.g., a process monitor 140, a process monitor checker 142, or both) at the computing node 102. It should be understood that two components of the service group are provided as illustrative examples. In other examples, the service group includes less than two components or more than two components. In some examples, two or more components of the service group are combined into a single component. In some examples, functions described herein as being performed by a particular component of a service group are performed by multiple components of the service group.

[0039] In a specific aspect, cluster management device 110 selects at least one computing node to monitor other computing nodes. For example, cluster management device 110 selects computing node 102 based on cluster process data 143. In a specific implementation, cluster management device 110 receives process status data 105 from computing node 102, receives second process status data from computing node 104, receives process status data 165 from computing node 106, or a combination thereof. For example, in response to sending a first request to computing node 102, sending a second request to computing node 104, and sending request 163 to computing node 106, cluster management device 110 receives process status data 105, second process status data, and process status data 165. Cluster management device 110 generates cluster process data 143 based on process status data 105, second process status data, process status data 165, or a combination thereof. Cluster process data 143 indicates a first count of a subset of processes 124 associated with software application 122 running on computing node 102. In response to determining that the first count of the subset of processes 124 is less than or equal to the second count of processes running on compute node 104, the third count of processes running on compute node 106, or both, cluster management device 110 selects compute node 102. In a specific implementation, cluster management device 110 selects compute node 102 without depending on cluster process data 143. For example, cluster management device 110 selects compute node 102 based on round-robin selection, user input, default data, configuration settings, or a combination thereof.

[0040] Cluster management device 110 sends a second request to computing node 102 (e.g., the selected computing node). In response to receiving the second request, state data analyzer 146 activates (e.g., starts) a peer alarm service group (e.g., peer monitor 150, peer monitor checker 152, or both) at computing node 102.

[0041] In a specific example, the first thread, the second thread, the third thread, the fourth thread, and the fifth thread of the processor 134 correspond to the first instance 160 of the software application 122, the process monitor 140, the process monitor checker 142, the peer monitor 150, and the peer monitor checker 152, respectively. It should be understood that the two components of the service group are provided as illustrative examples. In other examples, the service group includes less than two components or more than two components. In some examples, two or more components of the service group are combined into a single component. In some examples, the functions described herein as being performed by a specific component of the service group are performed by multiple components of the service group.

[0042] The process monitor checker validator 144 determines whether the process monitor checker 142 is running on the computing node 102. For example, the process monitor checker validator 144 executes a first command (e.g., a ps command) to generate first process data, the first process data indicating at least a subset of the processes 124 associated with the process monitor checker 142. In a specific aspect, the first command indicates the process monitor checker 142. In a specific example, an identifier of the process monitor checker 142 is provided as an argument to the first command (e.g., a ps command). In response to determining that the first process data does not indicate any process associated with the process monitor checker 142 or does not indicate a specific expected process associated with the process monitor checker 142, the process monitor checker validator 144 determines that the process monitor checker 142 is not running (e.g., not running in a valid state) on the computing node 102. In response to determining that the process monitor checker 142 is not running on the computing node 102, the process monitor checker validator 144 starts (e.g., restarts) the process monitor checker 142.

[0043] In a specific aspect, the process monitor checker validator 144 is configured to determine whether the process monitor checker 142 has stopped running on the computing node 102. For example, in response to determining that the process monitor checker 142 is not running on the computing node 102, the process monitor checker validator 144 determines whether a previous version of the first process data indicates that the process monitor checker 142 was previously running on the computing node 102. To illustrate, the process monitor checker validator 144 generates a first version of the first process data by executing a first command at a first specific time, and generates a second version of the first process data by executing the first command at a second specific time. In response to determining that the first version of the first process data indicates that the process monitor checker 142 was running at the first specific time and the second version of the first process data indicates that the process monitor checker 142 was not running at the second specific time, the process monitor checker validator 144 determines that the process monitor checker 142 has stopped running on the computing node 102. The process monitor checker validator 144 stores the second version of the first process data in the memory 132. In response to determining that the process monitor checker 142 has stopped running on the computing node 102, the process monitor checker verifier 144 restarts the process monitor checker 142. In a specific aspect, the process monitor checker verifier 144 executes the first command in response to detecting that a timer has expired (e.g., every 5 minutes), receiving user input, receiving a request from the state data analyzer 146, or a combination thereof.

[0044] The process monitor checker 142 determines whether the process monitor 140 is running on the computing node 102. For example, the process monitor checker 142 executes a second command (e.g., a ps command) to generate second process data, the second process data indicating at least a subset of the processes 124 associated with the process monitor 140. In response to determining that the second process data does not indicate any process associated with the process monitor 140 or does not indicate a specific expected process associated with the process monitor 140, the process monitor checker 142 determines that the process monitor 140 is not running (e.g., not running in a valid state) on the computing node 102. In response to determining that the process monitor 140 is not running on the computing node 102, the process monitor checker 142 starts (e.g., restarts) the process monitor 140.

[0045] In a specific aspect, the process monitor checker 142 determines whether the process monitor 140 has stopped running on the computing node 102. For example, in response to determining that the process monitor 140 is not running on the computing node 102, the process monitor checker 142 determines whether a previous version of the second process data indicates that the process monitor 140 was previously running on the computing node 102. To illustrate, the process monitor checker 142 generates a first version of the second process data by executing a second command at a first specific time, and generates a second version of the second process data by executing the second command at a second specific time. In response to determining that the first version of the second process data indicates that the process monitor 140 was running at the first specific time and the second version of the second process data indicates that the process monitor 140 was not running at the second specific time, the process monitor checker 142 determines that the process monitor 140 has stopped running on the computing node 102. The process monitor checker 142 stores the second version of the second process data in the memory 132. In response to determining that the process monitor 140 has stopped running on the computing node 102, the process monitor checker 142 restarts the process monitor 140. In a particular aspect, the process monitor checker 142 executes the second command in response to detecting the expiration of a timer (eg, every 5 minutes), receiving user input, receiving a request from the state data analyzer 146, or a combination thereof.

[0046] The process monitor 140 generates process state data 105 for a first instance 160 of a software application 122. For example, the process monitor 140 executes a third command (e.g., a ps command) to generate the process state data 105, the process state data 105 indicating at least a subset of the process 124 associated with the software application 122. In a specific aspect, the third command indicates the software application 122. In a specific example, an identifier of the software application 122 is provided as an argument to the third command (e.g., a ps command). The process monitor 140 stores the process state data 105 in the memory 132, provides the process state data 105 to the state data analyzer 146, or both. In a specific aspect, the process monitor 140 executes the third command in response to detecting the expiration of a timer (e.g., every 5 minutes), receiving a user input, receiving a request from the state data analyzer 146, or a combination thereof.

[0047] The state data analyzer 146 analyzes the process state data 105 to examine the state of an expected process associated with the software application 122. In a particular aspect, the state data analyzer 146 analyzes the process state data 105 in response to detecting the expiration of a timer (e.g., every 5 minutes), receiving user input, receiving process state data 105 from the process monitor 140, determining that the process state data 105 has been updated in the memory 132, or a combination thereof.

[0048] The state data analyzer 146 determines (e.g., during a first analysis phase of the process state data 105) a process count 127 based on the process state data 105. The process count 127 indicates a count of a subset of the processes 124 that include processes of a particular process type (e.g., level 1 processes, level 2 processes, level 3 processes, or a combination thereof). For example, the expected process data indicates a respective process type for each expected process associated with the software application 122. The state data analyzer 146 determines the process count 127 based on the process state data 105 and the expected process data. For example, the process count 127 indicates a count of a subset of the processes 124 indicated by the process state data 105. The subset includes processes indicated by the expected process data as having a particular process type (e.g., level 3 processes).

[0049] The state data analyzer 146 determines whether the process count 127 satisfies the process count threshold 119. For example, in response to determining that the process count 127 is greater than or equal to a first threshold (e.g., 10) and less than or equal to a second threshold (e.g., 20), the state data analyzer 146 determines that the process count 127 does not satisfy the process count threshold 119. As another example, in response to determining that the process count 127 is greater than or equal to the second threshold (e.g., 20), the state data analyzer determines that the process count 127 does not satisfy the process count threshold 119. In particular aspects, the process count threshold 119 indicates the first threshold, the second threshold, or both.

[0050] In response to determining that the process count 127 does not satisfy the process count threshold 119, the state data analyzer 146 performs one or more actions. For example, the one or more actions include generating a notification 151, a notification 153, an update 155, a notification 157, a notification 159, or a combination thereof. One or more of the notification 151, the notification 153, the update 155, the notification 157, or the notification 159 indicates that the process count 127 of the particular process type (e.g., a level 3 process) does not satisfy the process count threshold. For example, one or more of the notification 151, the notification 153, the update 155, the notification 157, or the notification 159 indicates that the process count 127 of the particular process type (e.g., a level 3 process) is greater than or equal to a first threshold (e.g., 10) and less than or equal to a second threshold (e.g., 20). As another example, one or more of the notification 151, the notification 153, the update 155, the notification 157, or the notification 159 indicates that the process count 127 of the particular process type (e.g., a level 3 process) is greater than a second threshold (e.g., 20).

[0051] The state data analyzer 146 sends a notification 151 to the cluster management device 110, a notification 153 to the device 112, an update 155 to the storage device 108, a notification 157 to the compute node 106, a notification 159 to the compute node 104, or a combination thereof via the network interface 130. In a specific aspect, in response to receiving the notification 151, the cluster management device 110 updates the dashboard data 121 to indicate that the process count 127 of a particular process type (e.g., a level 3 process) of the compute node 102 does not satisfy the process count threshold 119. The cluster management device 110 provides the dashboard data 121 to a display, a compute node 102, a compute node 104, a compute node 106, a device 112, or a combination thereof. In a specific aspect, the compute node 102 generates an output 123 based on the dashboard data 121 and provides the output 123 to the display 114. For example, a user can monitor the operation of the system 100 by viewing the output 123. In particular aspects, dashboard data 121 is associated with a dashboard (eg, a visual information display and management interface).

[0052] In a specific aspect, in response to receiving notification 153, device 112 displays a message (e.g., an email message or an alert) at device 112. In a specific aspect, in response to receiving notification 153, device 112 sends a message to a dashboard (e.g., a visual information display and a management interface), updates a status log file, or both. The message indicates that a process count 127 of a particular process type (e.g., a level 3 process) of compute node 102 does not satisfy process count threshold 119. In a specific aspect, in response to receiving update 155, storage device 108 updates log data 131 to indicate that a process count 127 of a particular process type (e.g., a level 3 process) of compute node 102 does not satisfy process count threshold 119. Log data 131 is associated with compute node 102, software application 122, first instance 160 of software application 122, or a combination thereof. In a particular aspect, in response to receiving notification 157 (or notification 159 ), compute node 106 (or compute node 104 ) updates dashboard data to indicate that process count 127 of a particular process type (eg, level 3 process) of compute node 102 does not satisfy process count threshold 119 .

[0053] State data analyzer 146 determines (e.g., in a second analysis phase of process state data 105) whether one or more of the expected processes indicated by the expected process data are running on computing node 102. For example, state data analyzer 146 determines, based on process state data 105, whether expected process 107 of first instance 160 of software application 122 is running on first computing node 102. To illustrate, in response to determining that process state data 105 indicates that expected process 107 is stopped or that processes 124 indicated by process state data 105 do not include expected process 107, state data analyzer 146 determines that expected process 107 is not running on computing node 102.

[0054] In a specific aspect, state data analyzer 146 determines whether expected process 107 has stopped running on computing node 102. For example, in response to determining that expected process 107 is not running on computing node 102, state data analyzer 146 determines whether a previous version of process state data 105 indicates that expected process 107 was previously running on computing node 102. To illustrate, state data analyzer 146 generates (e.g., by executing a ps command) a first version of process state data 105 at a first specific time, and generates (e.g., by executing a ps command) a second version of process state data 105 at a second specific time. In response to determining that the first version of process state data 105 indicates that expected process 107 was running at the first specific time and the second version of process state data 105 indicates that expected process 107 was not running at the second specific time, state data analyzer 146 determines that expected process 107 has stopped running on computing node 102. State data analyzer 146 stores the second version of process state data 105 in memory 132.

[0055] In response to determining that the expected process 107 is not running (or has stopped running) on ​​the computing node 102, the state data analyzer 146 performs one or more actions. The one or more actions include starting (or restarting) the expected process 107, starting (or restarting) the first instance 160 of the software application 122, generating a notification 151, generating a notification 153, generating an update 155, generating a notification 157, generating a notification 159, shutting down (e.g., stopping) a service group (e.g., the process monitor 140, the process monitor checker 142, or both), shutting down a peer alarm service group (e.g., the peer monitor 150, the peer monitor checker 152, or both), shutting down the first instance 160 of the software application 122, or a combination thereof. For example, the state data analyzer 146 determines that the expected process data indicates that the expected process 107 has a process type 117, and selects one or more actions based on the process type 117.

[0056] In a specific aspect, in response to determining that the process type 117 matches the first process type (eg, a level 1 process), the state data analyzer 146 determines whether the application restart criteria 111 are met, as described in reference to FIG. Figure 5B In response to determining that application restart criteria 111 are met, state data analyzer 146 restarts first instance 160 of software application 122 at first computing node 102. State data analyzer 146 generates notification 151, notification 153, update 155, notification 157, notification 159, or a combination thereof, indicating that a failure of expected process 107 of process type 117 was detected and first instance 160 of software application 122 was restarted at computing node 102.

[0057] Alternatively, in response to determining that application restart criteria 111 are not met, state data analyzer 146 prohibits restarting first instance 160 of software application 122. For example, state data analyzer 146 shuts down (e.g., stops) first instance 160 of software application 122, process monitor 140, process monitor checker 142, peer monitor 150, peer monitor checker 152, or a combination thereof at compute node 102. State data analyzer 146 generates notification 151, notification 153, update 155, notification 157, notification 159, or a combination thereof indicating that a failure of expected process 107 of process type 117 was detected and first instance 160 of software application 122 was shut down at compute node 102. Cluster management device 110 updates dashboard data 121 based on notification 151, device 112 displays a message based on notification 153, storage device 108 updates log data 131 based on update 155, computing node 106 updates dashboard data based on notification 157, computing node 104 updates dashboard data based on notification 159, or a combination thereof to indicate that an expected process 107 failure of process type 117 is detected and software application 122 is restarted (or shut down) on computing node 102.

[0058] In a specific aspect, in response to determining that process type 117 matches a second process type (e.g., a level 2 process), state data analyzer 146 starts (e.g., restarts) expected process 107. State data analyzer 146 generates notification 151, notification 153, update 155, notification 157, notification 159, or a combination thereof, indicating that a failure of expected process 107 of process type 117 was detected and expected process 107 was started (e.g., restarted) at computing node 102. Cluster management device 110 updates dashboard data 121 based on notification 151, device 112 displays a message based on notification 153, storage device 108 updates log data 131 based on update 155, computing node 106 updates dashboard data based on notification 157, computing node 104 updates dashboard data based on notification 159, or a combination thereof, to indicate that a failure of expected process 107 of process type 117 was detected and expected process 107 was started (e.g., restarted) at computing node 102. Thus, the state data analyzer 146 and the service group (e.g., the process monitor 140, the process monitor checker 142, or both) reduce the downtime of the first instance 160 of the software application 122 by selectively restarting the first instance 160, starting an expected process 107 (e.g., a level 2 process) corresponding to a valid state of the software application 122, or both.

[0059] The peer monitor checker validator 154 determines whether the peer monitor checker 152 is running on the computing node 102. For example, the peer monitor checker validator 154 executes a first command (e.g., a ps command) to generate first process data, the first process data indicating at least a subset of processes 124 associated with the peer monitor checker 152. In a specific aspect, the first command indicates the peer monitor checker 152 (e.g., an identifier of the peer monitor checker 152 is provided using the first command). In response to determining that the first process data does not indicate any process associated with the peer monitor checker 152 or does not indicate a specific expected process associated with the peer monitor checker 152, the peer monitor checker validator 154 determines that the peer monitor checker 152 is not running (e.g., not running in a valid state) on the computing node 102. For example, in response to determining that the peer monitor checker 152 is not running on the computing node 102, the peer monitor checker validator 154 starts (e.g., restarts) the peer monitor checker 152.

[0060] In a particular aspect, the peer monitor checker validator 154 is configured to determine whether the peer monitor checker 152 has stopped operating at the computing node 102. For example, in response to determining that the peer monitor checker 152 is not operating at the computing node 102, the peer monitor checker validator 154 determines whether a previous version of the first process data indicates that the peer monitor checker 152 was previously operating at the computing node 102. To illustrate, the peer monitor checker validator 154 generates a first version of the first process data at a first specific time and generates a second version of the first process data at a second specific time. In response to determining that the first version of the first process data indicates that the peer monitor checker 152 was operating at the first specific time and the second version of the first process data indicates that the peer monitor checker 152 was not operating at the second specific time, the peer monitor checker validator 154 determines that the peer monitor checker 152 has stopped operating at the computing node 102. The peer monitor checker validator 154 stores the second version of the first process data in the memory 132. In response to determining that peer monitor checker 152 has stopped running at computing node 102, peer monitor checker validator 154 restarts peer monitor checker 152. In a specific aspect, peer monitor checker validator 154 executes the first command in response to detecting the expiration of a timer (e.g., every 5 minutes), receiving user input, receiving a request from state data analyzer 146, or a combination thereof.

[0061] Peer monitor checker 152 determines whether peer monitor 150 is running on compute node 102. For example, peer monitor checker 152 executes a second command (e.g., a ps command) to generate second process data, the second process data indicating at least a subset of processes 124 associated with peer monitor 150. In response to determining that the second process data does not indicate any process associated with peer monitor 150 or does not indicate a specific expected process associated with peer monitor 150, peer monitor checker 152 determines that peer monitor 150 is not running (or is not running in a valid state) on compute node 102. In response to determining that peer monitor 150 is not running on compute node 102, peer monitor checker 152 starts (or restarts) peer monitor 150.

[0062] In a particular aspect, peer monitor checker 152 is configured to determine whether peer monitor 150 has stopped operating at computing node 102. For example, in response to determining that peer monitor 150 is not operating at computing node 102, peer monitor checker 152 determines whether a previous version of the second process data indicates that peer monitor 150 was previously operating at computing node 102. To illustrate, peer monitor checker 152 generates a first version of the second process data at a first specific time and generates a second version of the second process data at a second specific time. In response to determining that the first version of the second process data indicates that peer monitor 150 was operating at the first specific time and the second version of the second process data indicates that peer monitor 150 was not operating at the second specific time, peer monitor checker 152 determines that peer monitor 150 has stopped operating at computing node 102. Peer monitor checker 152 stores the second version of the second process data in memory 132. In response to determining that peer monitor 150 has stopped running at computing node 102, peer monitor checker 152 restarts peer monitor 150. In a specific aspect, peer monitor checker 152 executes the second command in response to detecting the expiration of a timer (e.g., every 5 minutes), receiving user input, receiving a request from state data analyzer 146, or a combination thereof.

[0063] The peer monitor 150 collects data indicating the status of the expected process associated with the software application 122 on other computing nodes. In a specific implementation, the peer monitor 150 receives the cluster process data 143 from the cluster management device 110. In a specific aspect, the peer monitor 150 sends a request to the cluster management device 110 and receives the cluster process data 143 in response to the request. In an alternative aspect, the cluster management device 110 sends the cluster process data 143 to the peer monitor 150 independently of receiving the request. For example, in response to detecting the expiration of a timer, receiving user input, or both, the cluster management device 110 sends the cluster process data 143 to the peer monitor 150. The peer monitor 150 stores the cluster process data 143 in the memory 132, provides the cluster process data 143 to the status data analyzer 146, or both.

[0064] In a specific implementation, the peer monitor 150 receives the log data 141 from the storage device 108. In a specific aspect, the peer monitor 150 sends a log request 161 to the storage device 108 and receives the log data 141 in response to the log request 161. In an alternative aspect, the storage device 108 sends the log data 141 to the peer monitor 150 independently of receiving the log request 161. For example, in response to detecting the expiration of a timer, receiving a user input, or both, the storage device 108 sends the log data 141 to the peer monitor 150. The peer monitor 150 stores the log data 141 in the memory 132, provides the log data 141 to the state data analyzer 146, or both.

[0065] The peer monitor 150 checks the state of the expected process associated with the software application 122 at the computing node 104. For example, the peer monitor 150 determines whether the second instance 162 of the software application 122 has failed at the computing node 104. In a specific implementation, the peer monitor 150 determines whether the second instance 162 has failed at the computing node 104 based on the cluster process data 143, the log data 141, or both. For example, the peer monitor 150 determines that the cluster process data 143 (or the log data 141) indicates that one or more second processes are running at the computing node 104, one or more third processes are stopped at the computing node 104, or both. In response to determining that the second process does not include the expected process 113, the third process includes the expected process 113, or both, the peer monitor 150 determines that the second instance 162 is not running in a valid state. In a specific aspect, in response to determining that the second instance 162 is not running in a valid state, the peer monitor 150 determines that the second instance 162 of the software application 122 has failed at the computing node 104.

[0066] In a specific aspect, peer monitor 150 determines whether second instance 162 has stopped running in a valid state. For example, in response to determining that second instance 162 is not running in a valid state, peer monitor 150 determines whether a previous version of cluster process data 143 (or a previous version of log data 141) indicates that second instance 162 was previously running in a valid state on compute node 104. To illustrate, peer monitor 150 determines that a first version of cluster process data 143 (or a first version of log data 141) was generated (or received) at a first specific time, and a second version of cluster process data 143 (or a second version of log data 141) was generated (or received) at a second specific time. In response to determining that the first version of cluster process data 143 (or the first version of log data 141) indicates that second instance 162 is running in a valid state at the first specific time and the second version of cluster process data 143 (or the second version of log data 141) indicates that second instance 162 is not running in a valid state at the second specific time, peer monitor 150 determines that second instance 162 has stopped running in a valid state at compute node 104. In response to determining that second instance 162 has stopped running in a valid state at compute node 104, peer monitor 150 determines that second instance 162 has failed at compute node 104. Peer monitor 150 stores the second version of cluster process data 143 (or the second version of log data 141) in memory 132.

[0067] In a specific aspect, in response to determining that cluster process data 143 (or log data 141) indicates that software application 122 is shut down on computing node 104, peer monitor 150 determines that second instance 162 of software application 122 has failed on computing node 104. In a specific aspect, peer monitor 150 analyzes cluster process data 143, log data 141, or both in response to detecting that a timer has expired (e.g., every 5 minutes), receiving user input, receiving cluster process data 143 from peer monitor 150, determining that cluster process data 143 has been updated in memory 132, receiving log data 141 from storage device 108, determining that log data 141 has been updated in memory 132, or a combination thereof.

[0068] In response to determining that the second instance 162 of the software application 122 has failed at the second computing node 104, the peer monitor 150 performs one or more actions. The one or more actions include generating a notification 151, a notification 153, an update 155, a notification 157, a notification 159, designating a cluster management device 110, or a combination thereof, to indicate that the second instance 162 of the software application 122 has been detected to have failed at the computing node 104. For example, in response to determining that the computing node 104 corresponds to (e.g., includes) the cluster management device 110, the peer monitor 150 designates the computing node 102 or the computing node 106 as the cluster management device 110. For illustration, the peer monitor 150 launches an instance of the cluster management application at the computing node 102, or sends a request to the computing node 106 to launch an instance of the cluster management application. In a specific aspect, in response to determining that the second instance 162 of the software application 122 has failed at the second computing node 104, the peer monitor 150 generates process state data 105, sends the process state data 105 to the cluster management device 110, or both.

[0069] In a specific aspect, in response to receiving notification 151 and determining that notification 151 indicates that second instance 162 has failed at computing node 104, cluster management device 110 updates the load balancer to redirect future requests for computing node 104 to another computing node. In a specific aspect, in response to receiving notification 151 and determining that notification 151 indicates that second instance 162 has failed at computing node 104, cluster management device 110 generates (or updates) cluster process data 143, selects a computing node to perform any unfinished tasks associated with second instance 162, or both. For example, in response to receiving notification 151, cluster management device 110 sends request 163 to computing node 106. In response to receiving request 163, computing node 106 sends process state data 165 to cluster management device 110. Cluster management device 110 generates (or updates) cluster process data 143 based on process state data 105, process state data 165, or both.

[0070] Cluster management device 110 determines that process state data 105 indicates a first count of a subset of processes 124 running on compute node 102 that are associated with software application 122. In response to determining that the first count is less than or equal to a second count of processes running on compute node 106, cluster management device 110 selects compute node 102 based on cluster process data 143. For example, the second count indicates a subset of processes running on compute node 106 that are associated with software application 122. Cluster management device 110 sends an assignment 145 to compute node 102 (e.g., the selected compute node) to indicate that compute node 102 is to perform any unfinished tasks associated with second instance 162.

[0071] The peer monitor 150 identifies an uncompleted task 109 associated with the second instance 162 of the software application 122. In a specific implementation, in response to determining that the second instance 162 of the software application 122 failed at the computing node 104, receiving the allocation 145 from the cluster management device 110, or both, the peer monitor 150 sends a log request 161 to the storage device 108. The peer monitor 150 determines whether the log data 141 indicates an uncompleted task 109 associated with the second instance 162 of the software application 122.

[0072] Peer monitor 150 performs one or more actions associated with unfinished task 109. For example, peer monitor 150 performs action 128 associated with unfinished task 115. In a specific aspect, peer monitor 150 performs action 128 to recover unfinished task 115. For example, in response to determining that unfinished task 115 includes a database update, peer monitor 150 performs action 128 to roll back the database update. In an alternative aspect, peer monitor 150 performs action 128 to complete unfinished task 115. For example, in response to determining that unfinished task 115 includes a database update, peer monitor 150 performs action 128 to commit the database update.

[0073] Thus, the system 100 reduces downtime of the software application 122 at the computing node 102 by selectively restarting the first instance 160, starting the expected process 107 (e.g., a level 2 process) corresponding to the valid state of the software application 122, or both. The system 100 can also recover to a valid state by causing the computing node 102 to process the unfinished tasks 109 associated with the failed instance of the software application 122 at the computing node 104.

[0074] Figure 2 An example of a method 200 for monitoring the progress of a software application is shown. In a specific aspect, the method 200 comprises Figure 1 The process may be performed by cluster management device 110 , computing node 102 , computing node 104 , computing node 106 , system 100 , or a combination thereof.

[0075] Method 200 includes, at 202, starting a software application instance of a node. For example, Figure 1 The cluster management device 110 sends a first request to the computing node 102, the computing node 104, the computing node 106, or a combination thereof. In response to receiving the first request from the cluster management device 110, the computing node 102 starts the first instance 160 of the software application 122, as shown in FIG. Figure 1In a specific aspect, in response to receiving the first request, other computing nodes of the system 100 also launch instances of the software application 122. For example, the computing node 104 launches the second instance 162 of the software application 122.

[0076] The method 200 also includes, at 204, starting the service group of the node. For example, Figure 1 The cluster management device 110 sends a second request to the computing node 102, the computing node 104, the computing node 106, or a combination thereof. In response to receiving the second request from the cluster management device 110, the computing node 102 starts a service group associated with the software application 122 (e.g., the process monitor 140, the process monitor checker 142, or both), as shown in FIG. Figure 1 As described. In a specific aspect, in response to receiving the second request, other computing nodes of system 100 also start instances of the service group. In a specific aspect, in response to receiving the first request, computing node 102 starts the first instance 160, and in response to receiving the second request different from the first request, computing node 102 starts the service group. In an alternative aspect, in response to receiving a single request, computing node 102 starts the first instance 160 and the service group (e.g., process monitor 140, process monitor checker 142, or both).

[0077] The method 200 also includes, at 206, starting a peer alert service group. For example, Figure 1 The cluster management device 110 selects at least one computing node to monitor other computing nodes and sends a third request to the selected computing node. For illustration, the cluster management device 110 selects the computing node 104, as shown in FIG. Figure 1 Cluster management device 110 sends a third request to computing node 104 (e.g., the selected computing node). In response to receiving the third request from cluster management device 110, computing node 102 initiates a peer alarm service group (e.g., peer monitor 150, peer monitor checker 152, or both), as described in reference Figure 1 as described.

[0078] Thus, method 200 enables cluster management device 110 to launch instances of software application 122 and corresponding service groups on multiple computing nodes. Method 200 also enables cluster management device 110 to select at least one computing node and launch a peer alert service group at the selected computing node to monitor other computing nodes.

[0079] Figure 3 An example of a method 300 for monitoring the progress of a software application is shown. In a specific aspect, the method 300 comprises Figure 1The system 100 may be executed by the state data analyzer 146, the process monitor 140, the process monitor checker 142, the process monitor checker verifier 144, the computing node 102, the computing node 104, the computing node 106, the cluster management device 110, the system 100, or a combination thereof.

[0080] In a specific aspect, method 300 proceeds from Figure 2 Continuing with 204. For example, cluster management device 110 sends a second request to computing node 102, computing node 104, computing node 106, or a combination thereof to start a service group corresponding to an instance of software application 122. In response to receiving the second request at computing node 102, computing node 104, computing node 106, or a combination thereof, method 300 is executed.

[0081] The method 300 includes, at 302, starting a process monitor checker and a process monitor. For example, Figure 1 The state data analyzer 146 starts the process monitor checker 142, the process monitor 140, or both, as shown in FIG. Figure 1 In a specific aspect, the state data analyzer 146 starts Figure 1 The processor 134 executes a first thread and a second thread corresponding to the process monitor checker 142 and the process monitor 140 respectively.

[0082] The method 300 also includes, at 310, checking the status of the process monitor. For example, Figure 1 The process monitor checker 142 generates first process state data, the first process state data indicating a subset (if any) of the process 124 corresponding to the process monitor 140, as shown in reference Figure 1 as described.

[0083] The method 300 also includes determining, at 312, whether the process monitor has stopped running. For example, Figure 1 The process monitor checker 142 determines whether the process monitor 140 has stopped running based on the first process status data, as shown in FIG. Figure 1 as described.

[0084] Method 300 includes, in response to determining at 312 that the process monitor has not stopped running, returning to 310. For example, in response to determining at the first time that the process monitor 140 is running or the process monitor 140 was not previously running, Figure 1 The process monitor checker 142 generates an updated version of the first process state data at a second time. For illustration, in response to detecting that the timer has expired, the process monitor checker 142 generates the first process state data.

[0085] The method 300 includes, at 314, in response to determining at 312 that the process monitor has stopped running, restarting the process monitor. For example, in response to determining based on the first process status data that the process monitor 140 has stopped running, Figure 1 The process monitor checker 142 restarts the process monitor 140. The method 300 continues to 310.

[0086] The method 300 also includes checking the status of the expected process at 316. For example, Figure 1 The process monitor 140 generates process status data 105, and the process status data 105 indicates the process 124 running on the computing node 102, as shown in FIG. Figure 1 As described,.

[0087] The method 300 also includes determining whether the process count is greater than a threshold at 318. For example, Figure 1 The state data analyzer 146 generates a process count 127 based on the process state data 105, as shown in FIG. Figure 1 The state data analyzer 146 determines whether the process count 127 is greater than the process count threshold 119 .

[0088] The method 300 includes, at 320, in response to determining that the process count is greater than a threshold, performing a process count notification, updating log data, and updating dashboard data. For example, in response to determining that the process count 127 is greater than the process count threshold 119, Figure 1 The state data analyzer 146 generates a notification 151, a notification 153, an update 155, a notification 157, a notification 159, or a combination thereof, to indicate that the process count 127 does not meet the process count threshold 119, as shown in FIG. Figure 1 In a specific example, in response to determining that the process count 127 is greater than the process count threshold 119 , the state data analyzer 146 updates the dashboard data 121 to indicate that the process count 127 does not satisfy the process count threshold 119 .

[0089] The method 300 includes determining, at 322, whether any expected process has stopped running. For example, Figure 1 The state data analyzer 146 determines whether any expected processes associated with the software application 122 have stopped executing at the computing node 102 based on the process state data 105. The method 300 includes continuing to 326 in response to determining at 322 that no expected processes have stopped executing.

[0090] The method 300 includes, at 324, in response to determining at 322 that at least one expected process has stopped running, performing an analysis of the expected process that has stopped running. For example, Figure 1 The state data analyzer 146 performs analysis of the expected process that has stopped running, as shown in FIG. Figure 4 Further described.

[0091] The method 300 also includes checking the status of the process monitor checker at 326. For example, Figure 1 The process monitor checker verifier 144 generates second process status data, the second process status data indicating the corresponding Figure 1 The process monitor inspector 142 of the subset of processes 124 (if any), as referenced Figure 1 as described.

[0092] The method 300 also includes determining, at 328, whether the process monitor checker has stopped running. For example, Figure 1 The process monitor checker verifier 144 determines whether the process monitor checker 142 has stopped running based on the second process status data, as shown in FIG. Figure 1 as described.

[0093] Method 300 includes: in response to determining at 328 that the process monitor checker has stopped running, returning to 316. For example, Figure 1 The process monitor 140 generates a first version of the process state data 105 at a first time. Figure 1 The state data analyzer 146 determines whether any expected process associated with the software application 122 has stopped running based on the first version of the process state data 105, and performs analysis on any expected process that has stopped running. The process monitor checker verifier 144 generates second process state data at a second time after the first time. The process monitor checker verifier 144 determines whether the process monitor checker 142 has stopped running based on the second process state data, and restarts the process monitor checker 142 if the process monitor checker 142 has stopped running. In a specific aspect, the process monitor 140 generates the second version of the process state data 105 at a third time after the second time. In a specific aspect, the state data analyzer 146 sends a request to the process monitor 140 to provide an updated version of the process state data 105. For illustration, the state data analyzer 146 sends the request in response to detecting that a timer has expired.

[0094] The method 300 includes, at 330, in response to determining at 328 that the process monitor checker has stopped running, restarting the process monitor checker. For example, in response to determining that the second process data indicates that the process monitor checker 142 has stopped running, Figure 1 The process monitor checker validator 144 restarts the process monitor checker 142. The method 300 returns to 316.

[0095] Thus, the method 300 enables robust monitoring of intended processes associated with the software application 122 by providing multiple levels of inspection. Figure 3 Two levels of checking provided by process monitor checker 142 and process monitor 140 are shown.

[0096] Figure 4 An example of a method for monitoring the progress of a software application is shown. The method corresponds to Figure 3 In a specific aspect, the method 324 comprises Figure 1 The system 100 may be executed by the state data analyzer 146, the computing node 102, the computing node 104, the computing node 106, the system 100, or a combination thereof.

[0097] The method 324 includes, at 402, determining a process type of a desired process that has stopped running. For example, Figure 1 The state data analyzer 146 determines whether the expected process 107 has a process type 117 based on the expected process data, as shown in FIG. Figure 1 as described.

[0098] Method 324 also includes, at 404, in response to determining at 402 that the process type matches process type 401, determining whether the application restart criteria are met. For example, in response to determining that process type 117 matches process type 401 (e.g., a level 1 process), Figure 1 The state data analyzer 146 determines whether the application restart criteria 111 are met, as shown in FIG. Figure 5B Further described.

[0099] The method 324 includes, at 406, in response to determining at 404 that the application restart criteria are met, increasing the value of the failure counter. For example, in response to determining that the application restart criteria 111 are met, Figure 1 Status data analyzer 146 added Figure 5B The value of the failure counter 517 (e.g., plus 1).

[0100] The method 324 also includes restarting the software application at 408. For example, Figure 1 The state data analyzer 146 restarts the first instance 160 of the software application 122 .

[0101] The method 324 also includes, at 410, executing a process failure restart notification, updating log data, and updating dashboard data. For example, Figure 1 The state data analyzer 146 generates a notification 151, a notification 153, an update 155, a notification 157, a notification 159, or a combination thereof to indicate that the software application 122 is restarted at the computing node 102, as shown in FIG. Figure 1 In a specific aspect, the state data analyzer 146 updates Figure 1 The dashboard data 121 is updated to indicate that the software application is restarted on the computing node 102 . The method 324 returns to 326 .

[0102] The method 324 includes, at 412, shutting down the software application in response to determining at 404 that the application restart criteria are not met. For example, in response to determining that the application restart criteria 111 are not met, the state data analyzer 146 shuts down (eg, stops) the first instance 160 of the software application 122.

[0103] The method 324 also includes, at 414, stopping the service group at the computing node. For example, Figure 1 The state data analyzer 146 stops the service group (eg, the process monitor 140, the process monitor checker 142, or both) on the computing node 102.

[0104] The method 324 also includes, at 416, executing stop process notification, updating log data, and updating dashboard data. For example, Figure 1 The state data analyzer 146 generates a notification 151, a notification 153, an update 155, a notification 157, a notification 159, or a combination thereof to indicate that the software application 122 is shut down at the computing node 102. In a specific aspect, the state data analyzer 146 updates the dashboard data 121 to indicate that the software application 122 is shut down at the computing node 102.

[0105] Method 324 includes, at 418, in response to determining at 402 that the process type matches process type 403, restarting the intended process. For example, in response to determining that process type 117 matches process type 403 (e.g., a level 2 process), Figure 1 The status data analyzer 146 restarts the expected process 107.

[0106] Method 324 includes, at 420, determining whether another expected process is to be analyzed. For example, Figure 1 State data analyzer 146 determines whether there are other expected processes not running on computing node 102 based on process state data 105 .

[0107] Method 324 includes: in response to determining at 420 that another expected process is to be analyzed, returning to 402. For example, in response to determining based on process status data 105 that the second expected process has stopped running and analysis related to the second expected process has not been performed, Figure 1 The state data analyzer 146 performs analysis related to the second expected process. The method 324 includes: in response to determining that there are no more expected processes to analyze, returning to 326. For example, in response to determining that all expected processes that have stopped running have been analyzed, Figure 1 The state data analyzer 146 sends a request to the process monitor 140 to check Figure 1 The status of the process monitor checker 142.

[0108] Thus, the method 324 enables the state data analyzer 146 to analyze Figure 1 105, and performs various operations based on the type of the expected process that has stopped running on the computing node 102. For example, the state data analyzer 146 selectively restarts the first instance 160 of the software application 122 for the expected process 107 having the process type 401. As another example, the state data analyzer 146 restarts the expected process 107 having the process type 403.

[0109] refer to Figure 5A , a diagram generally designated as 500 is shown. Diagram 500 shows the state data analyzer 146 and the memory 132. The memory 132 is configured to store the process state data 105, the start time 511, the stop time 513, the failure count threshold 519, the time threshold 515, the application restart criteria 111, the failure counter 517, or a combination thereof. In a specific aspect, the failure count threshold 519, the time threshold 515, or both are based on user input, default data, configuration settings, or a combination thereof.

[0110] Start time 511 indicates that the expected process 107 was previously Figure 1 104. Stop time 513 indicates the time when it was detected that expected process 107 was not running on computing node 104. For example, stop time 513 indicates the time when it was determined that expected process 107 was not running on computing node 104 (or the time when data indicating that expected process 107 was not running on computing node 104 was generated). In a specific aspect, stop time 513 corresponds to a timestamp of process state data 105 (e.g., indicating a creation time).

[0111] refer to Figure 5B , showing the corresponding Figure 4 In a specific aspect, the method 404 comprises Figure 1 The system 100 may be executed by the state data analyzer 146, the computing node 102, the computing node 104, the computing node 106, the system 100, or a combination thereof.

[0112] The method 404 includes determining whether a difference between a stop time and a start time is greater than or equal to a time threshold at 502. For example, the state data analyzer 146 determines a difference between a start time 511 and a stop time 513. The state data analyzer 146 determines whether the difference between the start time 511 and the stop time 513 satisfies (e.g., is greater than or equal to) a time threshold 515.

[0113] The method 404 includes resetting a failure counter at 504 in response to determining that the difference between the stop time and the start time is greater than or equal to the time threshold at 502. For example, in response to determining that the difference between the stop time 513 and the start time 511 satisfies (e.g., is greater than or equal to) the time threshold 515, the state data analyzer 146 resets the failure counter 517 (e.g., to 0). In a particular aspect, the failure counter 517 indicates a count of consecutive failures of the expected process that occur relatively quickly after the expected process is started.

[0114] Method 404 also includes determining, at 506, whether the current value of the failure counter is less than a failure count threshold. Figure 1 The status data analyzer 146 determines whether the value of the failure counter 517 meets (eg, is less than) the failure count threshold 519 .

[0115] Method 404 includes determining, at 508, that the application restart criteria are met in response to determining at 506 that the value of the failure counter is less than the failure count threshold. For example, in response to determining that the value of the failure counter 517 meets (e.g., is less than) the failure count threshold 519, the state data analyzer 146 determines that the application restart criteria 111 are met.

[0116] Method 404 includes, at 510, determining that the application restart criteria are not met in response to determining that the value of the failure counter is greater than or equal to the failure count threshold at 506. For example, in response to determining that the value of the failure counter 517 does not meet (e.g., is greater than or equal to) the failure count threshold 519, the state data analyzer 146 determines that the application restart criteria 111 are not met. To illustrate, if the count of consecutive failures of the expected process that occur relatively quickly after starting the expected process is greater than or equal to the failure count threshold 519, the state data analyzer 146 prohibits restarting the software application 122 at the computing node 102.

[0117] Thus, state data analyzer 146 enables determining whether application restart criteria 111 are met based on the time between starting an expected process and detecting that the expected process has stopped. For example, in response to detecting that an expected process has stopped relatively soon after starting and that more than a threshold number of failures have been detected, state data analyzer 146 shuts down software application 122 of compute node 102.

[0118] Figure 6 An example of a method 600 for monitoring the progress of a software application is shown. In a specific aspect, the method 600 comprises Figure 1 The process may be performed by peer monitor 150, peer monitor checker 152, peer monitor checker verifier 154, computing node 102, computing node 104, computing node 106, system 100, or a combination thereof.

[0119] In a specific aspect, method 600 proceeds from Figure 2 Continuing with 206 . For example, cluster management device 110 sends a request to computing node 102 (eg, the selected computing node) to start the peer alert service group. In response to receiving the request, method 600 is executed at computing node 102 .

[0120] The method 600 includes, at 602, starting a peer monitor checker and a peer monitor. For example, Figure 1 The state data analyzer 146 of the peer monitor checker 152, the peer monitor 150, or both are activated, as shown in FIG. Figure 1 In a specific aspect, the state data analyzer 146 starts Figure 1 The processor 134 executes a first thread and a second thread corresponding to the peer monitor checker 152 and the peer monitor 150 respectively.

[0121] The method 600 also includes checking the status of the peer monitor at 610. For example, Figure 1 The peer monitor checker 152 generates first process data, which indicates a subset of the processes 124 corresponding to the peer monitor 150.

[0122] The method 600 also includes determining, at 612, whether the peer monitor has stopped running. For example, Figure 1 The peer monitor checker 152 determines whether the peer monitor 150 has stopped running on the computing node 102 based on the first process data, as shown in FIG. Figure 1 as described.

[0123] Method 600 also includes, in response to determining at 612 that the peer monitor has stopped running, returning to 610. For example, in response to determining at the first time that peer monitor 150 is running on computing node 102 or peer monitor 150 was not previously running on computing node 102, Figure 1 The peer monitor checker 152 generates an updated version of the first process data at a second time.

[0124] Method 600 also includes, in response to determining that the peer monitor has stopped operating, restarting the peer monitor at 614. For example, in response to determining that peer monitor 150 has stopped operating at computing node 102, peer monitor checker 152 restarts peer monitor 150.

[0125] The method 600 includes, at 616, checking the status of the service groups of other nodes. For example, Figure 1 The peer monitor 150 collects data indicating the status of the service groups of other computing nodes. For illustration, as shown in FIG. Figure 1As described, peer monitor 150 receives cluster process data 143 from cluster management device 110, log data 141 corresponding to compute node 104 from storage device 108, third log data corresponding to compute node 106 from storage device 108, or a combination thereof.

[0126] The method 600 includes, at 618, determining whether any service group has stopped running. For example, the peer monitor 150 determines whether any service group at other computing nodes has stopped running. To illustrate, the peer monitor 150 determines whether the cluster process data 143 (or log data 141) indicates that a second service group (e.g., a second process monitor, a second process monitor checker, or both) has stopped running at the computing node 104. In a specific aspect, the peer monitor 150 determines whether the cluster process data 143 (or third log data) indicates that a third service group (e.g., a third process monitor, a third process monitor checker, or both) has stopped running at the computing node 106. The method 600 includes: in response to determining at 618 that no service group has stopped running, continuing to 622.

[0127] The method 600 includes, at 620, performing a stop node notification and updating dashboard data in response to determining at least one of the service groups has stopped operating at 618. For example, in response to determining that at least one of the second process monitor or the second process monitor checker has stopped operating at the computing node 104, the peer monitor 150 determines that the second service group has stopped operating. In response to determining that the second service group has stopped operating, the peer monitor 150 generates a notification 151, a notification 153, a notification 157, a notification 159, or a combination thereof to indicate that a software application 122 failure (or shutdown) has been detected at the computing node 104. In a specific aspect, the peer monitor 150 updates the dashboard data 121 to indicate that a software application 122 failure (or shutdown) has been detected at the computing node 104.

[0128] The method 600 also includes checking the status of the peer monitor checker at 622. For example, Figure 1 The peer monitor checker validator 154 generates second process data, which indicates a subset of the process 124 corresponding to the peer monitor checker 152.

[0129] The method 600 also includes determining, at 624, whether the peer monitor checker has stopped running. For example, Figure 1 The peer monitor checker verifier 154 determines whether the peer monitor checker 152 has stopped running based on the second process status data, as shown in FIG. Figure 1 as described.

[0130] Method 600 includes, in response to determining at 624 that the peer monitor checker has stopped running, returning to 616. For example, Figure 1 The peer monitor 150 generates a first version of the cluster process data 143, a first version of the log data (e.g., log data 141, third log data, or both), or a combination thereof at a first time. The peer monitor 150 determines whether the service groups of other computing nodes have stopped running based on the first version of the cluster process data 143, the first version of the log data, or both, and performs a stop node notification for any service group that has stopped running. The peer monitor checker validator 154 generates second process data at a second time after the first time. The peer monitor checker validator 154 determines whether the peer monitor checker 152 has stopped running based on the second process data, and restarts the peer monitor checker 152 if the peer monitor checker 152 has stopped running. The peer monitor 150 generates a second version of the cluster process data 143, a second version of the log data (e.g., log data 141, third log data, or both), or a combination thereof at a third time. In a specific aspect, the third time is after the second time. In a specific aspect, peer monitor 150 sends a first request for an updated version of cluster process data 143 to cluster management device 110, sends a second request for an updated version of log data (eg, log data 141, third log data, or both) to storage device 108, or a combination thereof.

[0131] The method 600 includes restarting the peer monitor checker at 626 in response to determining at 624 that the peer monitor checker has stopped running. For example, in response to determining that the second process data indicates that the peer monitor checker 152 has stopped running, Figure 1 The peer monitor checker validator 154 restarts the peer monitor checker 152. The method 600 returns to 616.

[0132] Thus, method 600 enables robust monitoring of processes of other computing nodes using multiple levels of inspection. Figure 6 Two levels of checking provided by peer monitor checker 152 and peer monitor 150 are shown.

[0133] Figure 7 A flow chart of a method 700 for monitoring the progress of a software application is shown. The method 700 may be performed by Figure 1 The system 100 may be executed by a state data analyzer 146, a process monitor 140, a peer monitor 150, a computing node 102, a computing node 104, a computing node 106, a system 100, or a combination thereof.

[0134] The method 700 includes, at 702, generating, at a first computing node among a plurality of computing nodes configured to run a plurality of instances of a software application, process state data for a first instance of the software application running at the first computing node. Figure 1 Process monitor 140 generates process state data 105 for first instance 160 of software application 122 running on computing node 102. In a specific aspect, computing node 102, computing node 104, and computing node 106 are configured to run first instance 160, second instance 162, and third instance of software application 122, respectively.

[0135] The method 700 also includes determining, based on the process status data, whether the expected process of the first instance of the software application has stopped running on the first computing node at 704. For example, Figure 1 The state data analyzer 146 determines whether the expected process 107 of the first instance 160 of the software application 122 has stopped running on the computing node 102 based on the process state data 105, as shown in FIG. Figure 1 as described.

[0136] Method 700 also includes, at 706, selectively restarting the first instance of the software application at the first computing node based on determining that the expected process has stopped running at the first computing node. For example, based on determining that the expected process 107 has stopped running at computing node 102, Figure 1 The state data analyzer 146 selectively restarts the first instance 160 of the software application 122 on the computing node 102, as shown in FIG. Figure 1 as described.

[0137] The method 700 also includes determining, at 708, whether a second instance of the software application has failed on a second computing node in the plurality of computing nodes. Figure 1 The peer monitor 150 determines whether the second instance 162 of the software application 122 fails on the computing node 104, as shown in FIG. Figure 1 as described.

[0138] The method 700 also includes, at 710, in response to determining that the second instance has failed at the second computing node, performing an action based on the uncompleted tasks associated with the second instance of the software application. For example, in response to determining that the second instance 162 of the software application 122 has failed at the computing node 104, Figure 1 The peer monitor 150 performs the action 128 based on the unfinished task 109 associated with the second instance 162 of the software application 122, as shown in FIG. Figure 1 as described.

[0139] Thus, method 700 reduces downtime of software application 122 at compute node 102 by selectively restarting first instance 160. Method 700 can also recover to a valid state by causing compute node 102 to process unfinished tasks 109 associated with a failed instance of software application 122 at compute node 104.

[0140] Figure 8 A block diagram of a computing environment 800 is shown that includes a computing device 810 that is configured to support various aspects of computer-implemented methods and computer-executable program instructions (or codes) according to the present disclosure. For example, the computing device 810 or a portion thereof is configured to execute instructions to initiate, execute, or control a reference Figures 1 to 7 In particular aspects, computing device 810 corresponds to computing node 102, computing node 104, computing node 106, cluster management device 110, or a combination thereof.

[0141] The computing device 810 includes a transceiver 822. The computing device 810 includes a processor 820. In a specific aspect, the processor 820 corresponds to Figure 1 134. In a specific aspect, the processor 820 includes a process monitor 140, a process monitor checker 142, a state data analyzer 146, a peer monitor 150, a peer monitor checker 152, or a combination thereof. The processor 820 is configured to communicate with a system memory 830, one or more storage devices 840, one or more input / output interfaces 850, one or more communication interfaces 860, or a combination thereof. The system memory 830 includes volatile memory devices (such as random access memory (RAM) devices), non-volatile memory devices (such as read-only memory (ROM) devices, programmable read-only memory, and flash memory), or both. The system memory 830 stores an operating system 832, which may include a basic input / output system for booting the computing device 810 and a complete operating system that enables the computing device 810 to interact with users, other programs, and other devices. The system memory 830 stores system (program) data 836. In a specific aspect, Figure 1 The memory 132 includes system memory 830, one or more storage devices 840, or a combination thereof.

[0142] System memory 830 includes one or more application programs 834 that can be executed by processor 820. As an example, one or more application programs 834 include Figure 1 Instructions 125, which may be executed by processor 820 to initiate, control or execute reference Figures 1 to 7 For illustration, one or more applications 834 include Figure 1 Instructions 125 may be executed by processor 820 to initiate, control or perform one or more operations described with reference to process monitor 140, process monitor checker 142, state data analyzer 146, peer monitor 150, peer monitor checker 152 or a combination thereof.

[0143] The processor 820 is configured to communicate with one or more storage devices 840. For example, one or more storage devices 840 include non-volatile storage devices, such as magnetic disks, optical disks, or flash memory devices. In a specific example, the storage device 840 includes both removable memory devices and non-removable memory devices. The storage device 840 is configured to store an operating system, an image of the operating system, an application program, and program data. In a specific aspect, the system memory 830, the storage device 840, or both include tangible computer-readable media. In a specific aspect, one or more of the storage devices 840 are external to the computing device 810.

[0144] The processor 820 is configured to communicate with one or more input / output interfaces 850, so that the computing device 810 can communicate with one or more input / output devices 870 to facilitate user interaction. The processor 820 is configured to detect interaction events based on user input received through the input / output interface 850. In a specific aspect, the input / output device 870 includes Figure 1 The processor 820 is configured to transmit the signal to the display 114 via the input / output interface 850. Figure 1 In a specific aspect, the input / output device 850 includes Figure 1 The processor 820 is configured to communicate with the device or controller 880 via one or more communication interfaces 860. For example, the one or more communication interfaces 860 include Figure 1 The network interface 130 of the device or controller 880 includes the cluster management device 110, the storage device 108, the computing node 104, the computing node 106, the network 190, or a combination thereof. In the illustrative example, a non-transitory computer-readable storage medium (e.g., system memory 830) includes instructions that, when executed by a processor (e.g., processor 820), cause the processor to initiate, perform, or control operations. These operations include reference Figures 1 to 7 Describes one or more operations.

[0145] Furthermore, the present disclosure includes embodiments according to the following items:

[0146] Item 1. A system (100) for monitoring a process, the system comprising:

[0147] A first computing node (102) of a plurality of computing nodes (102, 104, 106), the plurality of computing nodes (102, 104, 106) being configured to run a plurality of instances (160, 162) of a software application (122), the first computing node (102) comprising:

[0148] a process monitor (140) configured to generate process state data (105) for a first instance (160) of a software application (122) running on a first computing node (102);

[0149] A state data analyzer (146) is configured to:

[0150] Based on the process status data (105), determining whether the intended process (107) of the first instance (160) of the software application (122) has stopped running on the first computing node (102); and

[0151] Based on determining that the expected process (107) has stopped running on the first computing node (102), selectively restarting the first instance (160) of the software application (122); a process monitor checker (142) configured to:

[0152] determining whether the process monitor (140) has stopped running on the first computing node (102); and

[0153] In response to determining that the process monitor (140) has stopped running on the first computing node (102), restarting the process monitor (140); and

[0154] A peer monitor (150) configured to:

[0155] determining whether a second instance (162) of the software application (122) has failed at a second computing node (104) of the plurality of computing nodes (102, 104, 106);

[0156] as well as

[0157] In response to determining that the second instance (162) has failed on the second computing node (104), performing an action (128) based on uncompleted tasks (109) associated with the second instance (162) of the software application (122); and

[0158] A second computing node (104).

[0159] Item 2. The system (100) of Item 1, wherein the process monitor (140) further comprises a process monitor checker validator (144) configured to:

[0160] determining whether a process monitor checker (142) has stopped running on the first computing node (102); and

[0161] In response to determining that the process monitor checker (142) has stopped running on the first computing node (102), the process monitor checker (142) is restarted.

[0162] Item 3. The system (100) of Item 1 or 2, wherein the first computing node (102) further comprises a peer monitor checker (152) configured to:

[0163] determining whether the peer monitor (150) has stopped running on the first computing node (102); and

[0164] In response to determining that the peer monitor (150) has stopped operating on the first computing node (102), the peer monitor (150) is restarted.

[0165] Clause 4. The system (100) of any one of clauses 2-3, wherein the peer monitor (150) further comprises a peer monitor checker verifier (154) configured to:

[0166] determining whether the peer monitor checker (152) has stopped running on the first computing node (102); and

[0167] In response to determining that the peer monitor checker (152) has stopped running on the first computing node (102), the peer monitor checker (152) is restarted.

[0168] Item 5. The system (100) of any one of Items 1-4, wherein the state data analyzer (146) is configured to, in response to determining that the expected process (107) has stopped running on the first computing node (102):

[0169] determining whether application restart criteria are met (111); and

[0170] In response to determining that the application restart criteria (111) are met, a first instance (160) of a software application (122) is restarted at a first computing node (102).

[0171] Item 6. The system (100) of any one of Items 1 to 5, wherein the state data analyzer (146) is configured to:

[0172] Based on the process status data (105), determining that at a first time (513) it is detected that the expected process (107) is not running on the first computing node (102);

[0173] determining whether a difference between a first time (513) and a start time (511) is greater than or equal to a time threshold (515), wherein the start time (511) indicates a time when the intended process (107) was previously started on the first computing node (102);

[0174] In response to determining that the difference is greater than or equal to the time threshold (515), resetting a failure counter (517); and

[0175] Based on the failure counter (517), it is determined whether the application restart criteria (111) are met.

[0176] Item 7. The system (100) of any one of Items 1-6, wherein the state data analyzer (146) is configured to, after determining that the expected process (107) of the first instance (160) of the software application (122) has stopped running on the first computing node (102):

[0177] determining whether the failure counter (517) is greater than or equal to a failure count threshold (519); and

[0178] In response to determining that the failure counter (517) is less than the failure count threshold (519), it is determined that the application restart criteria (111) are met.

[0179] Item 8. A system (100) as described in any of Items 1-7, wherein the state data analyzer (146) is configured to determine that the application restart criteria (111) are not met in response to determining that the failure counter (517) is greater than or equal to the failure count threshold (519).

[0180] Item 9. A system (100) as described in any of Items 1-8, wherein the state data analyzer (146) is configured to prohibit restarting the first instance (160) of the software application (122) on the first computing node (102) in response to determining that the application restart criteria (111) are not met.

[0181] Item 10. The system (100) as described in any one of Items 1-9 further includes: a cluster management device (110) and a storage device (108), wherein the status data analyzer (146) is configured to, in response to determining that the application restart criteria (111) are not met, send a first notification (153) to a user device (112), send a second notification (151) to the cluster management device (110), send a third notification (157) to a third computing node (106) among multiple computing nodes (102, 104, 106), update log data (131) in the storage device (108) to indicate that the software application (122) is shut down on the first computing node (102), or a combination thereof.

[0182] Item 11. A system (100) as described in any of Items 1-10, wherein the state data analyzer (146) is configured to stop the process monitor (140), the process monitor checker (142), and the peer monitor (150) from running on the first computing node (102) in response to determining that the application restart criteria (111) are not met.

[0183] Item 12. A method comprising:

[0184] At a first computing node (102) of a plurality of computing nodes (102, 104, 106) configured to run a plurality of instances (160, 162) of a software application (122), generating process state data (105) for a first instance (160) of the software application (122) running on the first computing node (102);

[0185] Based on the process status data (105), determining whether an intended process (107) of a first instance (160) of a software application (122) has stopped running on the first computing node (102);

[0186] selectively restarting a first instance (160) of a software application (122) on the first computing node (102) based on determining that the expected process (107) has stopped running on the first computing node (102);

[0187] determining whether a second instance (162) of the software application (122) has failed at a second computing node (104) of the plurality of computing nodes (102, 104, 106); and

[0188] In response to determining that the second instance (162) has failed at the second computing node (104), an action (128) is performed based on uncompleted tasks (109) associated with the second instance (162) of the software application (122).

[0189] Item 13. The method according to Item 12, further comprising:

[0190] Receiving, at the first computing node (102), log data (141) associated with the second computing node (104) from the storage device (108); and

[0191] Based on the log data (141), uncompleted tasks (109) are identified.

[0192] Item 14. The method of Item 12 or 13, wherein the performing action (128) comprises resuming an unfinished task (115) or completing an unfinished task (115).

[0193] Item 15. A method as described in any of Items 12-14, wherein the unfinished task (109) includes a database update (115), and wherein the action (128) includes performing a rollback of the database update (115) or committing the database update (115).

[0194] Item 16. The method of any one of Items 12-15, further comprising:

[0195] receiving cluster process data (143) from a cluster management device (110); and

[0196] Based on the cluster process data (143), it is determined that a second instance (162) of the software application (122) has failed on the second computing node (104).

[0197] Item 17. The method as described in any of Items 12-16 also includes: in response to determining that cluster process data (143) indicates that a second expected process (113) of a second instance (162) of a software application (122) has stopped running on a second computing node (104), determining that a second instance (162) of the software application (122) has failed on a second computing node (104).

[0198] Item 18. The method of any one of Items 12-18, further comprising:

[0199] Receiving, at the first computing node (102), log data (141) associated with the second computing node (104) from the storage device (108); and

[0200] In response to determining that the log data (141) indicates that the software application (122) is down on the second computing node (104), it is determined that the second instance (162) of the software application (122) has failed on the second computing node (104).

[0201] Item 19. A computer-readable storage device (132), the computer-readable storage device (132) storing instructions, which when executed by a processor causes the processor to perform an operation, the operation comprising:

[0202] At a first computing node (102) of a plurality of computing nodes (102, 104, 106) configured to run a plurality of instances (160, 162) of a software application (122), generating process state data (105) for a first instance (160) of the software application (122) running on the first computing node (102);

[0203] Based on the process status data (105), determining whether an intended process (107) of a first instance (160) of a software application (122) has stopped running on the first computing node (102);

[0204] selectively restarting a first instance (160) of a software application (122) on the first computing node (102) based on determining that the expected process (107) has stopped running on the first computing node (102);

[0205] determining whether a second instance (162) of the software application (122) has failed at a second computing node (104) of the plurality of computing nodes (102, 104, 106); and

[0206] In response to determining that the second instance (162) has failed at the second computing node (104), an action (128) is performed based on uncompleted tasks (109) associated with the second instance (162) of the software application (122).

[0207] Item 20. The computer-readable storage device (132) of Item 19, wherein the operations further comprise, in response to determining that the second instance (162) has failed on the second computing node (104):

[0208] sending a notification (151) from the first computing node (102) to the cluster management device (110), the notification (151) indicating that the second instance (162) has failed at the second computing node (104); and

[0209] An assignment (145) of an unfinished task (109) is received at a first computing node (102) from a cluster management device (110), wherein an action (128) is performed in response to receiving the assignment (145).

[0210] Item 21. The computer-readable storage device (132) of Item 19 or 20, wherein the operations further comprise:

[0211] In response to receiving the allocation (145) from the cluster management device (110), sending a request (161) to the storage device (108) for log data (141) associated with the second computing node (104); and

[0212] Based on the log data (141), uncompleted tasks (109) are identified.

[0213] Item 22. A computer-readable storage device (132) as described in any of Items 19-21, wherein the operation further includes: in response to determining that the second instance (162) has failed on the second computing node (104), sending process status data (105) of the first computing node (102) to the cluster management device (110), sending a notification (151) to the cluster management device (110) to initiate a request (163) for second process data (165) from the cluster management device (110) to a third computing node (106) among multiple computing nodes (102, 104, 106), wherein the allocation (145) is based on the process status data (105) and the second process status data (165).

[0214] although Figures 1 to 8 One or more figures in the drawings illustrate systems, devices and / or methods according to the teachings of the present disclosure, but the present disclosure is not limited to these illustrated systems, devices and / or methods. Figures 1 to 8 One or more functions or components in any of the Figures 1 to 8 For example, the method may be performed in combination with other operations described herein. Figure 7 Therefore, the single implementation described herein should not be interpreted as limiting, and the embodiments of the present invention may be appropriately combined without departing from the teachings of the present invention. As an example, refer to Figures 1 to 8 One or more of the operations described may be optional, may be performed at least partially concurrently, and / or may be performed in an order different from that shown or described.

[0215] The above examples are illustrative and do not limit the present disclosure. It should be understood that many modifications and variations are possible according to the principles of the present disclosure.

[0216] The description of the examples described herein is intended to provide a general understanding of the structures of various implementations. These descriptions are not intended to be used as a complete description of all elements and features of the devices and systems that utilize the structures or methods described herein. After reviewing this disclosure, many other implementations will be apparent to those skilled in the art. Other implementations may be utilized and derived from the present invention so that structural and logical substitutions and changes may be made without departing from the scope of the present invention. For example, method operations may be performed in an order different from that shown in the figure, or one or more method operations may be omitted. Therefore, this disclosure and the accompanying drawings are considered to be illustrative rather than restrictive.

[0217] In addition, although specific examples have been shown and described herein, it should be understood that any subsequent arrangement designed to achieve the same or similar results can replace the specific implementation shown. This disclosure is intended to cover any and all subsequent adaptations or changes of various implementations. Combinations of the above implementations and other implementations not specifically described herein will be apparent to those skilled in the art upon reading this specification.

[0218] The abstract submitted for the present disclosure should be understood as not being used to interpret or limit the scope or meaning of the claims. In addition, in the foregoing detailed description, various features may be combined together or described in a single implementation for the purpose of simplifying the present disclosure. The above examples illustrate but do not limit the present disclosure. It should also be understood that many modifications and variations are possible according to the principles of the present disclosure. As reflected in the following claims, the subject matter claimed for protection may involve less than all the features of any disclosed example. Therefore, the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A system for monitoring a process, the system comprising: A first computing node of a plurality of computing nodes, the plurality of computing nodes being configured to run a plurality of instances of a software application, the first computing node comprising: a process monitor configured to generate process state data for a first instance of the software application running on the first computing node; The state data analyzer is configured to: determining, based on the process status data, whether an expected process of the first instance of the software application has stopped running on the first computing node; and selectively restarting the first instance of the software application based on determining that the expected process has stopped executing on the first computing node; Process Monitor Checker, configured to: determining whether the process monitor has stopped running on the first computing node; and In response to determining that the process monitor has stopped running on the first computing node, restarting the process monitor; and Peer monitors are configured to: determining whether a second instance of the software application has failed at a second computing node among the plurality of computing nodes; and In response to determining that the second instance has failed on the second computing node, performing an action based on uncompleted tasks associated with the second instance of the software application; the second computing node; and Cluster management devices and storage devices, In response to determining that the second instance fails on the second computing node: sending a notification from the first computing node to the cluster management device, the notification indicating that the second instance has failed on the second computing node; receiving, at the first computing node, an assignment of the unfinished task from the cluster management device, wherein in response to receiving the assignment, performing the action; In response to receiving the assignment from the cluster management device, sending a request to the storage device for log data associated with the second computing node; and Based on the log data, the uncompleted tasks are identified.

2. The system of claim 1, wherein: The process monitor also includes a process monitor checker validator configured to: determining whether the process monitor checker has stopped running on the first computing node; and In response to determining that the process monitor checker has stopped running on the first computing node, restarting the process monitor checker.

3. The system of claim 1 or 2, wherein: The first computing node also includes a peer monitor checker configured to: determining whether the peer monitor has stopped running at the first computing node; and In response to determining that the peer monitor has stopped running on the first computing node, restarting the peer monitor, Wherein, the peer monitor comprises a peer monitor checker verifier configured to: determining whether the peer monitor checker has stopped running on the first computing node; and In response to determining that the peer monitor checker has stopped running on the first computing node, restarting the peer monitor checker.

4. The system of claim 1 or 2, wherein: In response to determining that the expected process has stopped running on the first computing node, the state data analyzer is configured to: Determine whether application restart criteria are met; and In response to determining that the application restart criteria is met, restarting the first instance of the software application at the first computing node; And wherein, the state data analyzer is configured to: Based on the process status data, determining that the expected process is detected not running on the first computing node at a first time; determining whether a difference between the first time and a start time is greater than or equal to a time threshold, wherein the start time indicates a time when the expected process was previously started on the first computing node; in response to determining that the difference is greater than or equal to the time threshold, resetting a failure counter; Based on the failure counter, determining whether the application restart criteria are met; determining whether the failure counter is greater than or equal to a failure count threshold; and In response to determining that the failure counter is less than the failure count threshold, it is determined that the application restart criteria is met.

5. The system of claim 4, wherein: The state data analyzer is configured to determine that the application restart criteria are not met in response to determining that the failure counter is greater than or equal to the failure count threshold.

6. The system of claim 4, wherein: The state data analyzer is configured to, in response to determining that the application restart criteria are not met, perform at least one of the following: prohibit restarting the first instance of the software application on the first computing node and stop the process monitor, the process monitor checker and the peer monitor from running on the first computing node.

7. The system of claim 4, wherein: The state data analyzer is configured to, in response to determining that the application restart criteria are not met, send a first notification to a user device, send a second notification to the cluster management device, send a third notification to a third computing node among the multiple computing nodes, update log data in the storage device to indicate that the software application is shut down at the first computing node, or a combination thereof.

8. A method for monitoring a process, comprising: generating, at a first computing node among a plurality of computing nodes configured to run a plurality of instances of a software application, process state data for a first instance of the software application running at the first computing node; determining, based on the process status data, whether an expected process of the first instance of the software application has stopped running on the first computing node; selectively restarting the first instance of the software application at the first computing node based on determining that the expected process has stopped running at the first computing node; determining whether a second instance of the software application has failed at a second computing node among the plurality of computing nodes; as well as In response to determining that the second instance has failed on the second computing node, performing an action based on uncompleted tasks associated with the second instance of the software application, In response to determining that the second instance fails on the second computing node: sending a notification from the first computing node to a cluster management device, the notification indicating that the second instance has failed on the second computing node; receiving, at the first computing node, an assignment of the unfinished task from the cluster management device, wherein in response to receiving the assignment, performing the action; In response to receiving the assignment from the cluster management device, sending a request to a storage device for log data associated with the second computing node; and Based on the log data, the uncompleted tasks are identified.

9. The method of claim 8, further comprising: receiving, at the first computing node, log data associated with the second computing node from a storage device; as well as Based on the log data, the uncompleted tasks are identified.

10. The method according to claim 8 or 9, wherein: Performing the action includes resuming an unfinished task or completing the unfinished task, and wherein the unfinished task includes a database update, and the action includes performing a rollback of the database update or performing the database update.

11. The method according to claim 8 or 9, further comprising: receiving cluster process data from the cluster management device; determining, based on the cluster process data, that the second instance of the software application has failed on the second computing node, and The method also includes determining that the second instance of the software application has failed on the second computing node in response to determining that the cluster process data indicates that a second intended process of the second instance of the software application has stopped running on the second computing node.

12. The method according to claim 8 or 9, further comprising: receiving, at the first computing node, log data associated with the second computing node from a storage device; as well as In response to determining that the log data indicates that the software application is shut down on the second computing node, it is determined that the second instance of the software application has failed on the second computing node.

13. A computer-readable storage device storing instructions that, when executed by a processor, cause the processor to perform operations comprising: generating, at a first computing node among a plurality of computing nodes configured to run a plurality of instances of a software application, process state data for a first instance of the software application running at the first computing node; determining, based on the process status data, whether an expected process of a first instance of the software application has stopped executing at the first computing node; selectively restarting the first instance of the software application at the first computing node based on determining that the expected process has stopped running at the first computing node; determining whether a second instance of the software application has failed at a second computing node among the plurality of computing nodes; as well as In response to determining that the second instance has failed on the second computing node, performing an action based on uncompleted tasks associated with the second instance of the software application, In response to determining that the second instance fails on the second computing node, the operation further includes: sending a notification from the first computing node to a cluster management device, the notification indicating that the second instance has failed on the second computing node; and Receiving, at the first computing node, an assignment of the unfinished task from the cluster management device, wherein, in response to receiving the assignment, performing the action, and wherein the operation further comprises: In response to receiving the assignment from the cluster management device, sending a request to a storage device for log data associated with the second computing node; and Based on the log data, the uncompleted tasks are identified.

14. The computer readable storage device of claim 13, wherein: In response to determining that the second instance fails on the second computing node, the operation also includes: sending the process status data of the first computing node to a cluster management device, sending the notification to the cluster management device to initiate a request for second process status data from the cluster management device to a third computing node among the multiple computing nodes, wherein the allocation is based on the process status data and the second process status data.