Restoration control program, restoration control method and information processing system

The recovery control program automates node restarts and confirmation processes in cloud environments, ensuring rapid reincorporation and identifying causes of abnormalities, addressing the need for time-consuming reliability checks.

JP2024134586AInactive Publication Date: 2024-10-04FUJITSU LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023044851
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-22
Publication Date
2024-10-04
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In cloud environments, restarting a node that has stopped due to an abnormality does not guarantee the absence of an underlying issue, necessitating time-consuming checks to ensure reliability before reincorporation into the cluster.

Method used

A recovery control program that automatically restarts a stopped node and performs a confirmation process to verify the absence of abnormalities, followed by reincorporation if none are found, utilizing a serverless function to expedite the process.

Benefits of technology

Enables rapid reincorporation of a healthy node into the cluster, reducing administrative workload and identifying the cause of abnormalities through automated checks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024134586000001_ABST
    Figure 2024134586000001_ABST
Patent Text Reader

Abstract

To re-incorporate a stopped node to a cluster in a short time if no abnormality is found in the node.SOLUTION: A processing unit 11 reboots a node 21, if the node 21 out of nodes 21, 22 belonging to a cluster 20 in each virtual machine, stops due to abnormality occurrence. The processing unit 11 makes the rebooted node 21 execute confirmation processing which confirms presence / absence of abnormality. The processing unit 11 re-incorporates the node 21 to the cluster 20, if the abnormality is not confirmed by the confirmation processing. Thereby, if no abnormality is found in the stopped node 21, the node 21 can be re-incorporated to the cluster 20 in a short time.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a recovery control program, a recovery control method, and an information processing system. [Background technology]

[0002] A cluster system is a system in which multiple nodes belonging to a cluster operate as a single system. For example, in an operational / standby cluster system, one node belonging to the cluster operates as the operational system, and the other node operates as the standby system. If the operational node stops due to an abnormality, the standby node transitions to the operational system and takes over processing, thereby increasing availability.

[0003] The following have been proposed regarding cluster systems. For example, a system has been proposed in which each computer included in a cluster is provided with a service processor that performs recovery processing of a failed part upon detection of a failure. Also, a system has been proposed in which each node included in a cluster is provided with a manager that acquires management information from an agent that manages the node, and management information providing means that displays the acquired management information and operates the manager based on input operations. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Japanese Patent Application Publication No. 9-34852 [Patent Document 2] JP 2004-334534 A Summary of the Invention [Problem to be solved by the invention]

[0005] However, with the development of cloud technologies, existing cluster systems are being migrated to cloud environments, in which each node belonging to a cluster is realized as a virtual machine.

[0006] In a virtualized environment, even if a node stops due to an abnormality, the node may be restored by restarting the node. This is because the allocation of host computers to nodes is often changed when the node is restarted. However, even if the node is restored by restarting, in order to ensure reliability, it is necessary to check whether an abnormality has occurred in the node, and this check process takes time.

[0007] In one aspect, the present invention aims to provide a recovery control program, a recovery control method, and an information processing system that enable a stopped node to be re-integrated into a cluster in a short period of time if there is no abnormality in the node. [Means for solving the problem]

[0008] In one proposal, a recovery control program is provided for a computer that, when a first node of multiple nodes belonging to a cluster, each of which is a virtual machine, stops due to an abnormality, restarts the first node, causes the restarted first node to execute a confirmation process to check for any abnormalities, and if no abnormality is confirmed by the confirmation process, executes a process to re-integrate the first node into the cluster.

[0009] Also, in one proposal, a recovery control method is provided in which a computer executes a process similar to the process based on the above-mentioned recovery control program. Furthermore, in one proposal, an information processing system is provided that executes processing similar to the processing based on the above-mentioned recovery control program. Effect of the Invention

[0010] On the one hand, if a node goes down and is healthy, it can be quickly reintegrated into the cluster. [Brief description of the drawings]

[0011] [Figure 1]1 illustrates a configuration example and a processing example of an information processing system according to a first embodiment; [Diagram 2] FIG. 11 illustrates an example of a configuration of an information processing system according to a second embodiment. [Diagram 3] FIG. 2 illustrates an example of the hardware configuration of a physical machine. [Figure 4] FIG. 1 illustrates an example of a configuration of a cluster system. [Diagram 5] FIG. 4 illustrates an example of an internal configuration of an abnormality confirmation unit; [Figure 6] FIG. 11 is a diagram for explaining a node abnormality confirmation unit. [Figure 7] 13 is a flowchart illustrating an example of a processing procedure of a cluster management unit when an abnormality occurs in a node. [Figure 8] 13 is a first example of a flowchart illustrating a processing procedure of a node abnormality confirmation unit. [Figure 9] 13 is a second example of a flowchart illustrating the processing procedure of a node abnormality confirmation unit. [Figure 10] 13 is a third example of a flowchart illustrating a processing procedure of a node abnormality confirmation unit. [Figure 11] 13 is a fourth example of a flowchart illustrating a processing procedure of a node abnormality confirmation unit. [Figure 12] 13 is a flowchart illustrating an example of a processing procedure of a check flag confirmation unit. [Figure 13] 13 is a flowchart illustrating an example of a processing procedure of a heartbeat confirmation unit. [Figure 14] 13 is an example of a flowchart illustrating a processing procedure of a disk confirmation unit. [Figure 15] 13 is a flowchart illustrating an example of a processing procedure of a network confirmation unit. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. First Embodiment Fig. 1 is a diagram illustrating a configuration example and a processing example of an information processing system according to a first embodiment. The information processing system illustrated in Fig. 1 includes an information processing device 10. The information processing device 10 controls recovery processing of the nodes 21 and 22, with a cluster 20 to which the nodes 21 and 22 belong as a control target.

[0013] The nodes 21 and 22 are both virtual machines created on a virtualization platform. The nodes 21 and 22 operate, for example, as business servers that execute predetermined business processes. The cluster 20 is, for example, an operation-standby type cluster. In this case, one of the nodes 21 and 22 operates as an active system, and the other operates as a standby system. When the active node stops due to an abnormality, the standby node transitions to the active system and takes over the processing of the original active node.

[0014] The information processing device 10 may be a physical machine or a virtual machine. The information processing device 10 may be, for example, a server included in a computing system that provides a serverless environment. The information processing device 10 has a processing unit 11. When the information processing device 10 is a physical machine, the processing unit 11 is, for example, a processor included in the information processing device 10. When the information processing device 10 is a virtual machine, the processing unit 11 is, for example, a processor of a host computer assigned to the virtual machine.

[0015] When one of the nodes belonging to the cluster 20 stops due to an abnormality, the processing unit 11 restores the node by the following procedure. In the following explanation, it is assumed as an example that the node 21 stops due to an abnormality. Note that the following process is executed in response to a request from the node 22, for example, when the node 22 detects the abnormality of the node 21 and stops the operation of the node 21.

[0016] The processing unit 11 restarts the stopped node 21 (step S1). Next, the processing unit 11 causes the restarted node 21 to execute a confirmation process to confirm whether or not there is an abnormality (step S2). If no abnormality is confirmed in the node 21 by this confirmation process, the processing unit 11 reintegrates the node 21 into the cluster 20 (step S3). When the incorporation is completed, the node 21 operates as, for example, a standby node.

[0017] Here, in step S1, the node 21 may be restored by restarting the node 21. This is because in a virtualized environment, the allocation of the host computer to the node 21 is often changed when the node 21 is restarted. However, even if the node 21 is restored by restarting, it is necessary to check whether an abnormality has occurred in the node 21 in order to increase the reliability of the operation of the node 21. Therefore, a series of processes is required, in which the node 21 is restarted, the node 21 is checked for the presence or absence of an abnormality, and the node 21 is reintegrated into the cluster 20 if no abnormality is confirmed.

[0018] In this embodiment, the processing unit 11 of the information processing device 10 automatically executes the above series of processes. This makes it possible to reduce the time it takes for the node 21 to be reintegrated into the cluster 20 after it has been confirmed that there is no abnormality in the node 21.

[0019] Furthermore, the confirmation process executed by the node 21 may include a plurality of types of confirmation processes. This allows the node 21 to notify the information processing device 10 of information indicating the cause of the abnormality when an abnormality is confirmed in the confirmation process. For example, in the confirmation process, a predetermined process determined individually for each virtual resource is executed between the node 21 and a plurality of virtual resources connected to the node 21. When the process is not executed normally, a notification is given that an abnormality has occurred in the corresponding virtual resource. The administrator who recognizes the content of this notification can estimate the cause of the abnormality in the node 21. This increases the possibility of identifying the cause of the abnormality in the node 21, and reduces the workload of the administrator for identifying the cause of the abnormality.

[0020] Second Embodiment Next, an information processing system in which the cluster 20 in FIG. 1 is constructed on a cloud system will be illustrated.

[0021] 2 is a diagram showing an example of the configuration of an information processing system according to the second embodiment. The information processing system shown in FIG. The cloud system 100 is an information processing system owned by a cloud service provider and is installed in, for example, a data center. The cloud system 100 is formed by a plurality of physical machines (for example, server computers) 110, 110a, 110b, . . .

[0022] The cloud system 100 provides an infrastructure as a service (IaaS). By using this IaaS service, a cluster system 200 is constructed in the cloud system 100. The cluster system 200 includes a cluster 201 including nodes 210a and 210b.

[0023] The nodes 210a and 210b are server nodes, one of which operates as an active system and the other as a standby system, and both are realized as virtual servers (virtual machines). The nodes 210a and 210b are connected to each other via a heartbeat network 203, and the nodes 210a and 210b monitor whether the other is operating normally via the heartbeat network 203. For example, when the standby node of the nodes 210a and 210b detects an abnormality in the active node, the standby node transitions to the active node and takes over the processing of the original active node.

[0024] Furthermore, a disk 220a is connected to node 210a, and a disk 220b is connected to node 210b. The disk 220a is a virtual disk assigned to node 210a as local storage. The disk 220b is a virtual disk assigned to node 210b as local storage. Data stored in the disks 220a and 220b is mirrored. That is, data written to one of the disks 220a and 220b is also written to the other.

[0025] The cluster system 200 further includes system disks 202a and 202b. The system disk 202a is a virtual disk connected to the node 210a, and the system disk 202b is a virtual disk connected to the node 210b. The system disks 202a and 202b store management data for managing the cluster system 200. The system disks 202a and 202b may be connected to the nodes 210a and 210b via the management network 101.

[0026] The administrator terminal 50 is a terminal device operated by an administrator of the cluster system 200. The administrator terminal 50 is realized as various types of computer devices such as a personal computer. The administrator terminal 50 and the cluster system 200 are connected via a wide area data communication network such as the Internet.

[0027] The cloud system 100 also includes a Function as a Service (FaaS) system 120, an Application Programming Interface (API) endpoint 130, and a mail system 140. Of these, at least the FaaS system 120 and the API endpoint 130 are connected to nodes 210a and 210b via a management network 101.

[0028] The FaaS system 120 is a subsystem that provides FaaS services to users of the cloud system 100. The FaaS system 120 provides a serverless environment in which users can execute programs without constructing a server. Specifically, the FaaS system 120 accepts programs called "serverless functions" created by users and stores them in a storage device. Then, the FaaS system 120 executes the serverless functions when a predetermined event occurs. The serverless functions are implemented as relatively small-scale programs, and are automatically started in response to the occurrence of a predetermined event and executed for a short period of time.

[0029] In this embodiment, when an abnormality occurs in a node in the cluster system 200, a serverless function for checking a node abnormality, which checks the state of the node and checks the cause of the abnormality, is uploaded to the FaaS system 120. When the FaaS system 120 executes this serverless function, a node abnormality checker 121 is generated in the FaaS system 120. That is, the processing of the node abnormality checker 121 is realized by a processor of a physical machine forming the FaaS system 120 executing the above serverless function (program). In addition, a storage unit 122 is connected to the node abnormality checker 121. The storage unit 122 is a storage area of ​​a storage device connected to the FaaS system 120, and is assigned in association with the above uploaded serverless function.

[0030] The API endpoint 130 provides an API for operating each part of the cloud system 100. The API endpoint 130 can receive API commands from computers external to the cloud system 100, such as the administrator terminal 50, and from internal elements of the cloud system 100, such as the FaaS system 120 and the nodes 210a and 210b. The API endpoint 130 executes processing according to the received command and returns the processing result.

[0031] The mail system 140 provides an e-mail service to users. In this embodiment, a mail account is created for the administrator of the cluster system 200, and e-mails are sent and received using this mail account. This mail account is used to notify the administrator of the processing results of the node abnormality confirmation unit 121. The administrator can receive the e-mail indicating the processing results using, for example, the administrator terminal 50, and view the contents of the e-mail.

[0032] As the cloud system 100, for example, an AWS (Amazon Web Service, registered trademark) system can be used. In this case, the nodes 210a and 210b can be realized as EC2 instances of the Amazon EC2 (Elastic Compute Cloud) service. The FaaS system 120 can be realized as an AWS Lambda computing system, and the serverless function corresponding to the node abnormality checker 121 can be realized as a Lambda function. Furthermore, the API endpoint 130 can be realized as an Amazon API Gateway.

[0033] Fig. 3 is a diagram showing an example of the hardware configuration of a physical machine. The physical machine 110 that constitutes the cloud system 100 is, for example, a computer having a hardware configuration as shown in Fig. 3. The physical machine 110 shown in Fig. 3 includes a processor 111, a random access memory (RAM) 112, a hard disk drive (HDD) 113, a graphics processing unit (GPU) 114, an input interface (I / F) 115, a reader 116, and a network interface (I / F) 117.

[0034] The processor 111 performs overall control of the entire physical machine 110. The processor 111 is, for example, a central processing unit (CPU), a micro processing unit (MPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), or a programmable logic device (PLD). The processor 111 may also be a combination of two or more elements of a CPU, an MPU, a DSP, an ASIC, or a PLD. The processor 111 is an example of the processing unit 11 in FIG. 1.

[0035] The RAM 112 is used as a main storage device of the physical machine 110. The RAM 112 temporarily stores at least a part of an OS (Operating System) program and application programs to be executed by the processor 111. The RAM 112 also stores various data necessary for processing by the processor 111.

[0036] The HDD 113 is used as an auxiliary storage device for the physical machine 110. An OS program, an application program, and various data are stored in the HDD 113. Note that other types of non-volatile storage devices such as SSDs (Solid State Drives) can also be used as the auxiliary storage device.

[0037] A display device 114a is connected to the GPU 114. The GPU 114 displays an image on the display device 114a in accordance with an instruction from the processor 111. As the display device 114a, a liquid crystal display, an organic EL (ElectroLuminescence) display, or the like can be used.

[0038] An input device 115a is connected to the input interface 115. The input interface 115 transmits a signal output from the input device 115a to the processor 111. A keyboard, a pointing device, or the like can be used as the input device 115a. A mouse, a touch panel, a tablet, a touch pad, a trackball, or the like can be used as the pointing device.

[0039] Portable recording medium 116a is detachably attached to reading device 116. Reading device 116 reads data recorded on portable recording medium 116a and transmits it to processor 111. As portable recording medium 116a, an optical disk, a semiconductor memory, or the like can be used.

[0040] A network interface 117 transmits and receives data to and from other devices via a network 117a. The above hardware configuration can realize the processing functions of the physical machine 110. The physical machines 110a, 110b, . . . can also be realized by a hardware configuration similar to that of the physical machine 110.

[0041] FIG. 4 is a diagram illustrating an example of a configuration of a cluster system. In the cluster system 200, the node 210a includes a cluster manager 211a and an abnormality checker 212a. The processing of the cluster manager 211a and the abnormality checker 212a is realized, for example, by a virtual processor included in the node 210a (actually, a processor of the host computer to which the node 210a is assigned) executing a predetermined program. In addition, the node 210b includes a cluster manager 211b and an abnormality checker 212b. The processing of the cluster manager 211b and the abnormality checker 212b is realized, for example, by a virtual processor included in the node 210b (actually, a processor of the host computer to which the node 210b is assigned) executing a predetermined program.

[0042] The cluster management units 211a and 211b monitor the operation of the other node, and if an abnormality occurs in the other node, they stop the node. If the other node where the abnormality occurred is an active node, the cluster management units 211a and 211b transition their own node to an active node and take over the processing that was being executed by the other node.

[0043] In response to a request from the node abnormality confirmation unit 121, the abnormality confirmation units 212a, 212b execute an abnormality confirmation process to confirm whether or not there is an abnormality in the corresponding nodes 210a, 210b, and if an abnormality is confirmed, notify the node abnormality confirmation unit 121 of the confirmed content.

[0044] The disk 220a stores business data 221a. The disk 220b stores business data 221b. In this embodiment, the nodes 210a and 210b operate as business servers that execute predetermined business processes. The business data 221a and 221b are data that are referenced when the nodes 210a and 210b execute business processes.

[0045] The system disk 202a stores cluster management data 231a, disk abnormality confirmation management data 232a, a check flag file 233a, and a confirmation result file 234a. The system disk 202b stores cluster management data 231b, disk abnormality confirmation management data 232b, a check flag file 233b, and a confirmation result file 234b.

[0046] The cluster management data 231a, 231b includes data indicating resources managed by the cluster 201. These resources include virtual resources connected to the nodes 210a, 210b. For example, the cluster management data 231a, 231b includes, as data indicating such resources, disk names indicating disks connected to the corresponding nodes, interface names indicating network interfaces connected to the corresponding nodes, and network addresses of monitoring target devices connected via the network interfaces. The interface names and the network addresses of the monitoring target devices are registered in a one-to-one correspondence. In addition, the interface names indicating the network interfaces connected to the heartbeat network 203 are also registered as interface names.

[0047] The disk abnormality confirmation management data 232a, 232b are data that are referred to when the abnormality confirmation units 212a, 212b respectively confirm the presence or absence of a disk abnormality. When confirming the presence or absence of a disk abnormality, a predetermined file stored in the disks 220a, 220b is read. In the disk abnormality confirmation management data 232a, 232b, a file name indicating the file to be read is registered.

[0048] The check flag files 233a and 233b are files that are referenced to determine whether the anomaly confirmation process by the anomaly confirmation units 212a and 212b has been performed multiple times within a predetermined number of days. The check flag files 233a and 233b only need to include the date and time of update. As an example, the check flag files 233a and 233b are realized as empty files to which the date and time of update are added as attribute data.

[0049] The confirmation result files 234a and 234b are log files in which the results of the abnormality confirmation processes performed by the abnormality confirming units 212a and 212b, respectively, are registered. 5 is a diagram showing an example of the internal configuration of the abnormality confirmation unit 212a. The abnormality confirmation unit 212a includes a check flag confirmation unit 241, a heartbeat confirmation unit 242, a disk confirmation unit 243, and a network confirmation unit 244.

[0050] The check flag confirmation unit 241 refers to the check flag file 233a and determines whether an abnormality confirmation process has been performed multiple times for the node 210a within a predetermined number of days. The heartbeat confirmation unit 242 confirms whether normal communication with the other node 210b is possible via the heartbeat network 203. The disk confirmation unit 243 confirms whether normal access is possible to the disk 220a. The network confirmation unit 244 confirms, for each network interface provided in the node 210a, whether normal communication is possible via the connected network.

[0051] Although not shown, the abnormality checker 212 b of the node 210 b also has processing functions corresponding to the check flag checker 241 , the heartbeat checker 242 , the disk checker 243 and the network checker 244 .

[0052] FIG. 6 is a diagram for explaining the node abnormality checking unit. As described above, the cluster system 200 is constructed in a cloud environment using the cloud system 100. In a cluster system constructed in an on-premise environment, when an abnormality occurs in a node and the node stops, the administrator can visually identify the location of the abnormality in the node and perform recovery work. However, in the cluster system 200 constructed in a cloud environment, the administrator cannot visually check the hardware, making it difficult to identify the location of the abnormality.

[0053] Furthermore, in a cloud environment, even if a cluster node stops due to an abnormality, the node may be restored by restarting the node. This is because in a cloud environment, the host computer assigned to the node is determined anew when the node is restarted, and the host computer assignment often changes before and after the restart. However, even if the node is restored by restarting, in order to ensure reliability, it is necessary to check whether there is an abnormality in the node before reintegrating the node into the cluster, and this confirmation process takes time.

[0054] In particular, when a node is restored by rebooting, the administrator cannot determine whether the cause of the node's downtime was a hardware or software error. Therefore, even if the node is successfully rebooted, it is necessary to execute software processing to check for the presence of errors in the node, and this execution work takes time.

[0055] In this embodiment, in consideration of such problems, the cloud system 100 is provided with a node abnormality confirmation unit 121. Before a stopped node is restarted, the node is restarted, a process is performed on the node to confirm whether or not there is an abnormality, and if no abnormality is confirmed, the node is reintegrated into the cluster. The node abnormality confirmation unit 121 automatically executes such a series of processes until the node is restarted. This makes it possible to reintegrate a node that has recovered from an abnormality by restarting into the cluster in a short time. Furthermore, if the abnormality has not been recovered even after the restart, the cause of the abnormality can be automatically notified to the administrator. This increases the possibility of identifying the cause of the abnormality and reduces the workload of the administrator for identifying the cause.

[0056] Moreover, the node abnormality check unit 121 is generated by executing a serverless function (program) 121a for checking an abnormality in a node by a processor of a physical node forming the FaaS system 120. By realizing the processing of the node abnormality check unit 121 by the serverless function 121a, the administrator does not need to construct his / her own server to control the abnormality check processing of the node. Moreover, the execution environment of the serverless function 121a is provided by the service provider of the cloud system 100. Therefore, the node abnormality check unit 121 can easily and reliably control the nodes 210a, 210b of the cluster system 200 formed in the same cloud system 100.

[0057] Furthermore, when an abnormality occurs in a node, the FaaS system 120 executes the serverless function 121a in response to a start request from another normal node, and starts the node abnormality checker 121. In this way, it is possible to automatically start the node abnormality checker 121 when an abnormality occurs in a node.

[0058] Furthermore, it is not necessary for a normal node to execute the above series of processes by the node abnormality confirmation unit 121. Therefore, it is possible to automatically execute the above series of processes without increasing the processing load on the normal node.

[0059] The node abnormality confirmation unit 121 identifies the cause of the abnormality by having the abnormality confirmation unit 212a provided in advance in the nodes 210a and 210b execute an abnormality confirmation process. Furthermore, the storage unit 122 connected to the node abnormality confirmation unit 121 stores abnormality confirmation management data 123. Data indicating resources to be managed is registered in the abnormality confirmation management data 123. As such data, for example, a node name indicating a node to be managed, a disk name indicating a disk to be managed, a network interface name indicating a network interface to be managed, and the like are registered in the abnormality confirmation management data 123.

[0060] Next, the process of the cloud system 100 when an abnormality occurs in a node will be described with reference to a flowchart. In the following description, as an example, a case where an abnormality occurs in the node 210a in a state where the node 210a operates as an active node and the node 210b operates as a standby node will be described.

[0061] FIG. 7 is an example of a flowchart showing a processing procedure of the cluster management unit when an abnormality occurs in a node. [Step S11] Based on the result of communication via the heartbeat network 203, the cluster management section 211b of the standby node 210b detects that an abnormality has occurred in the active node 210a.

[0062] [Step S12] The cluster manager 211b forcibly stops the node 210a (abnormal node), and then transitions the node 210b to an active node, taking over the business processes that were being executed by the node 210a.

[0063] [Step S13] The cluster manager 211b instructs the FaaS system 120 to execute the serverless function 121a. In response to this instruction, the serverless function 121a is executed, whereby the node abnormality checker 121 is started.

[0064] [Step S14] The cluster manager 211b notifies the node abnormality checker 121 that the node 210a (abnormal node) has been shut down and service switching has been performed. In this example, a case where an abnormality occurs in node 210a operating as an active node is shown. However, as another example, a case where an abnormality occurs in node 210a operating as a standby node is also considered. In this case, the cluster management unit 211b of node 210b operating as an active node simply forcibly stops node 210a in step S12, and notifies the node abnormality confirmation unit 121 that the standby node 210a has been stopped in step S14.

[0065] 8 to 11 are examples of flowcharts showing the processing procedure of the node abnormality confirmation unit 121. When started up in step S13 of FIG.

[0066] [Step S21] The node abnormality confirmation unit 121 receives a notification from the cluster management unit 211b of the node 210b indicating that the node 210a (abnormal node) has been stopped and service switching has been performed. This notification was sent in step S14 of FIG. 7.

[0067] When an abnormality occurs in the node 210b operating as a standby node, the cluster management unit 211b notifies only that the node 210a has been shut down. [Step S22] The node abnormality confirmation unit 121 transmits a command to start the node 210a (abnormal node) to the API endpoint 130. The API endpoint 130 starts the node 210a based on the received command. Note that in the Amazon EC2 service, a command with the API name "StartInstances" can be used as this command.

[0068] [Step S23] The API endpoint 130 returns the command execution result to the node abnormality checker 121. The node abnormality checker 121 determines whether the command successfully started up the node 210a. If the start-up was successful, the process proceeds to step S25. If the start-up was unsuccessful, the process proceeds to step S24.

[0069] [Step S24] The node abnormality confirmation unit 121 instructs the mail system 140 to send to the administrator an email stating that restarting the node 210a (abnormal node) has failed. This notifies the administrator that restarting the node 210a has failed.

[0070] [Step S25] The node abnormality confirmation unit 121 sends a command to the API endpoint 130 to confirm the state of the node 210a (abnormal node). The API endpoint 130 confirms the state of the node 210a based on the received command, and returns the confirmation result to the node abnormality confirmation unit 121. If the confirmation result indicates a normal state, it indicates that the node 210a started up normally, and if the confirmation result indicates an abnormal state, it indicates that the node 210a did not start up normally. Note that in the Amazon EC2 service, a command with the API name "DescribeInstances" can be used as the above command.

[0071] [Step S26] The node abnormality confirmation unit 121 determines whether the node 210a (abnormal node) has started up normally. If the node 210a has not started up normally, the process proceeds to step S27. If the node 210a has started up normally, the process proceeds to step S31 in FIG. 9.

[0072] [Step S27] The node abnormality confirmation unit 121 instructs the mail system 140 to send to the administrator an email stating that restarting the node 210a (abnormal node) has failed. This notifies the administrator that restarting the node 210a has failed.

[0073] The description will be continued below with reference to Fig. 9. From step S31 in Fig. 9, the state confirmation process of the node 210a using the abnormality confirmation unit 212a of the node 210a is started. [Step S31] The node abnormality checker 121 activates the check flag checker 241 of the node 210a (abnormal node) to check the check flag file 233a corresponding to the node 210a.

[0074] [Step S32] The node abnormality checker 121 determines whether the check flag file 233a has been updated within a predetermined number of days based on the check result from the check flag checker 241. If the check flag file 233a has been updated within the predetermined number of days, the process proceeds to step S33. On the other hand, if the check flag file 233a has not been updated within the predetermined number of days or if there is no corresponding check flag file 233a, the process proceeds to step S34.

[0075] [Step S33] In this case, an abnormality occurs in node 210a twice within a predetermined number of days. In this case, node abnormality confirmation unit 121 instructs mail system 140 to send an email to the administrator stating that an abnormality has occurred again in node 210a. This notifies the administrator that an abnormality has occurred again in node 210a.

[0076] [Step S34] The node abnormality checker 121 activates the heartbeat checker 242 of the node 210a (abnormal node) to check whether communication with the other node via the heartbeat network 203 has been normal.

[0077] [Step S35] The node abnormality checker 121 determines whether communication with the node 210b via the heartbeat network 203 has been normal, based on the check result from the heartbeat checker 242. If communication has been normal, the process proceeds to step S41 in Fig. 10; if communication has not been normal, the process proceeds to step S36.

[0078] [Step S36] The node abnormality confirmation unit 121 instructs the mail system 140 to send to the administrator an email stating that an abnormality has occurred in the heartbeat network 203. This notifies the administrator that the cause of the abnormality in node 210a is presumably an abnormality in the heartbeat network 203.

[0079] The explanation will be continued below with reference to FIG. [Step S41] The node abnormality confirmation unit 121 acquires disk names indicating managed disks associated with node 210a from the cluster management data 231a in the storage unit 122. The managed disks include disk 220a. If there are multiple applicable disks, the disk names corresponding to each disk are acquired. The node abnormality confirmation unit 121 sends a command to the API endpoint 130 to confirm the status of each disk indicated by the acquired disk name. The API endpoint 130 checks the status of each disk based on the received command, and returns the confirmation result to the node abnormality confirmation unit 121. Note that in the Amazon EC2 service, a command with the API name "DescribeVolumes" can be used as this command.

[0080] [Step S42] The node abnormality checker 121 determines whether or not there is an abnormality in the disks based on the check result sent by the command. If there is an abnormality in at least one disk, the process proceeds to step S45. If there is no abnormality in the disks, the process proceeds to step S43.

[0081] [Step S43] The node abnormality confirmation unit 121 activates the disk confirmation unit 243 of the node 210a (abnormal node) to confirm whether each disk indicated by the disk name acquired in step S41 can be accessed normally.

[0082] [Step S44] The node abnormality checker 121 determines whether or not there is an abnormality in the disks based on the check result from the disk checker 243. If there is an abnormality in at least one disk, the process proceeds to step S45. If there is no abnormality in the disks, the process proceeds to step S46.

[0083] [Step S45] The node abnormality confirmation unit 121 instructs the mail system 140 to send an email to the administrator stating that a disk abnormality has occurred. This email also describes the disk name of the disk in which the abnormality has occurred. The node abnormality confirmation unit 121 can obtain the disk name of the disk in which the abnormality has occurred from the confirmation result file 234a. As a result, the administrator is notified of the disk name of the disk presumed to be the cause of the abnormality in node 210a.

[0084] [Step S46] The node abnormality confirmation unit 121 obtains the interface name of the network interface connected to the node 210a from the cluster management data 231a in the storage unit 122. If there are multiple applicable network interfaces, the interface name corresponding to each network interface is obtained. However, the interface name of the heartbeat network 203 is excluded.

[0085] The node abnormality confirmation unit 121 sends a command to the API endpoint 130 to confirm the state of each network interface indicated by the acquired interface name. The API endpoint 130 confirms the state of each network interface based on the received command, and returns the confirmation result to the node abnormality confirmation unit 121. Note that in the Amazon EC2 service, a command with the API name "DescribeNetworkInterfaces" can be used as this command.

[0086] [Step S47] The node abnormality checker 121 determines whether or not there is an abnormality in the network interfaces based on the check result sent by the command. If there is an abnormality in at least one network interface, the process proceeds to step S50. If there is no abnormality in the network interfaces, the process proceeds to step S48.

[0087] [Step S48] The node abnormality checker 121 activates the network checker 244 of the node 210a (abnormal node) to check whether normal communication is possible via each network interface indicated by the interface name acquired in step S46.

[0088] [Step S49] The node abnormality checker 121 determines whether or not there is an abnormality in the network interfaces based on the check result by the network checker 244. If there is an abnormality in at least one network interface, the process proceeds to step S50. If there is no abnormality in the network interfaces, the process proceeds to step S51 in FIG.

[0089] [Step S50] The node abnormality confirmation unit 121 instructs the mail system 140 to send an email to the administrator, stating that an abnormality has occurred in the network interface. This email also describes the interface name of the network interface in which the abnormality occurred. This notifies the administrator of the interface name of the network interface presumed to be the cause of the abnormality in node 210a.

[0090] The above process checks for abnormalities in the heartbeat network 203, the disks, and the network interface. The heartbeat network 203, the disks, and the network interface are examples of virtual resources connected to the node 210a.

[0091] The following description will be continued with reference to Fig. 11. It is assumed that the process up to Fig. 10 has confirmed that the node 210a is not abnormal, and that the node 210a has recovered from the abnormality by rebooting. Therefore, the following process is executed to reintegrate the node 210a into the cluster 201.

[0092] [Step S51] The node abnormality checker 121 starts up the cluster manager 211a of the node 210a (restored node). [Step S52] The node abnormality checking unit 121 instructs the started cluster management unit 211a to incorporate the node 210a (restored node) as a standby node into the cluster 201. In response to this instruction, the cluster management unit 211a incorporates the node 210a into the cluster 201 as a standby node.

[0093] [Step S53] The node abnormality confirmation unit 121 instructs the mail system 140 to send to the administrator an e-mail stating that an abnormality has occurred in the node 210a and that the recovered node 210a has been incorporated into the cluster 201 as a standby node. This notifies the administrator of the above-mentioned description.

[0094] Through the above process, the node 210a is restarted, the presence or absence of an abnormality in the node 210a is confirmed, and if no abnormality is confirmed, the node 210a is reintegrated into the cluster 201. This series of processes is automatically executed under the control of the node abnormality confirmation unit 121. Therefore, it is possible to shorten the time until the node 210a is reintegrated into the cluster 201 when it is confirmed that there is no abnormality in the node 210a. Furthermore, if the abnormality has not been resolved even after the restart, the cause of the abnormality can be automatically notified to the administrator. This increases the possibility of identifying the cause of the abnormality, and reduces the workload of the administrator for identifying the cause.

[0095] Next, the process of the abnormality confirmation section 212a of the node 210a will be described. 12 is an example of a flowchart showing a processing procedure of the check flag confirmation unit 241 of the node 210a in step S31 of FIG.

[0096] [Step S61] The check flag checking unit 241 checks whether the check flag file 233a corresponding to the node 210a exists on the system disk 202a. [Step S62] If the check flag file 233a does not exist, the process proceeds to step S63. If the check flag file 233a exists, the process proceeds to step S64.

[0097] [Step S63] The check flag confirmation unit 241 creates a check flag file 233a corresponding to the node 210a, and stores it in the system disk 202a. The created check flag file 233a records the current date and time as the file update date and time.

[0098] [Step S64] The check flag checking unit 241 checks the file update date and time recorded in the corresponding check flag file 233a. [Step S65] The check flag confirmation unit 241 determines whether the file update date is within a predetermined number of days from the current date. If the file update date is within the predetermined number of days, the process proceeds to step S68. If the file update date is earlier than the day that is the predetermined number of days before the current date, the process proceeds to step S66.

[0099] [Step S66] The check flag checking unit 241 updates the file update date and time of the check flag file 233a to the current date and time. [Step S67] The case where step S63 is executed is a case where an abnormality occurs in node 210a, causing it to stop, and then node 210a is successfully restarted for the first time. On the other hand, the case where step S66 is executed is a case where a certain amount of time has passed since the above-mentioned event occurred in the past. In either case, since it is determined that the abnormality confirmation process in node 210a can be continued, check flag confirmation unit 241 returns result information indicating that the confirmation result of check flag file 233a is normal to node abnormality confirmation unit 121.

[0100] [Step S68] The check flag checking unit 241 records in the check result file 234a that an abnormality has reoccurred in the node 210a. [Step S69] The check flag checking unit 241 returns to the node abnormality checking unit 121 result information indicating that the check result of the check flag file 233a is abnormal.

[0101] The cases where steps S68 and S69 are executed are those where an abnormality occurs in node 210a, causing it to stop, and then the node 210a is successfully restarted again within a short interval, and this is, for example, a case where node 210a should be withdrawn from the system. After step S69 is executed, the result of step S32 in Fig. 9 is "Yes," and the recovery process of node 210a is interrupted.

[0102] 13 is an example of a flowchart showing the processing procedure of the heartbeat confirmation unit 242 of the node 210a in step S34 of FIG.

[0103] [Step S71] The heartbeat confirmation unit 242 queries the cluster management unit 211a to confirm whether it can communicate normally with the other node 210b via the heartbeat network 203. The cluster management unit 211a communicates with the node 210b via the heartbeat network 203, and returns result information to the heartbeat confirmation unit 242 indicating whether the communication was normal or not.

[0104] [Step S72] Based on the returned result information, the heartbeat confirmation unit 242 determines whether communication was successful via the heartbeat network 203. If communication was successful, the process proceeds to step S73; if communication was not successful, the process proceeds to step S74.

[0105] [Step S73] The heartbeat check unit 242 returns check result information to the node abnormality check unit 121, which indicates that the heartbeat network 203 is normal. [Step S74] The heartbeat confirmation unit 242 records the fact that there is an abnormality in the heartbeat network 203 in the confirmation result file 234a.

[0106] [Step S75] The heartbeat check unit 242 returns check result information to the node abnormality check unit 121, indicating that the heartbeat network 203 is abnormal. Through the above processing, the heartbeat confirmation unit 242 can confirm whether or not communication with the node 210b via the heartbeat network 203 can be normally executed, and can notify the node abnormality confirmation unit 121 of the confirmation result.

[0107] 14 is an example of a flowchart showing the processing procedure of the disk confirmation unit 243. The processing of FIG. 14 is started by starting the disk confirmation unit 243 of the node 210a in step S43 of FIG.

[0108] [Step S81] The disk confirmation unit 243 obtains from the cluster management unit 211a a list of disk names indicating disks to be managed (disks available to the node 210a) and information indicating the mount destination of each disk. This information is obtained from the cluster management data 231a by processing of the cluster management unit 211a.

[0109] [Step S82] The disk check unit 243 executes the lsblk command to obtain a list of disk names indicating the disks currently available to the node 210a, and displays the list.

[0110] [Step S83] The disk confirmation unit 243 compares the disk name acquired in step S81 with the disk name displayed in step S82, and determines whether the former disk name is all displayed in step S82. If all the corresponding disk names are displayed, the process proceeds to step S84. On the other hand, if at least some of the corresponding disk names are not displayed, the process proceeds to step S87.

[0111] [Step S84] The disk check unit 243 uses the dd command to read a specific file for abnormality check from each of the managed disks. The file name of the file to be read is obtained from the disk abnormality check management data 232a.

[0112] [Step S85] The disk check unit 243 determines whether or not the file has been successfully read from all the disks to be managed. If the file has been successfully read from all the disks, the process proceeds to step S86. On the other hand, if the file has not been successfully read from at least some of the disks, the process proceeds to step S87.

[0113] [Step S86] The disk check unit 243 returns check result information to the node abnormality check unit 121, which indicates that the disk is normal. [Step S87] The disk checking unit 243 records information indicating the disk in which the abnormality occurred in the check result file 234a. For example, the disk checking unit 243 records in the check result file 234a the disk names of the disks that were not displayed in step S82 (i.e., the disks that the node 210a could not recognize) and the disk names of the disks for which the file failed to be read in step S84, in a differentiated state.

[0114] [Step S88] The disk checker 243 returns to the node abnormality checker 121 check result information indicating that the disk is abnormal. Through the above process, the disk confirmation unit 243 can determine whether or not an abnormality has occurred for each of the disks that the node 210a should be able to use, and can notify the node abnormality confirmation unit 121 of the disk name of the disk in which the abnormality has occurred via the confirmation result file 234a. Furthermore, the disk confirmation unit 243 can distinguish and identify, as the disk in which the abnormality has occurred, a disk that the node 210a does not recognize, from a disk that the node 210a recognizes but cannot access, and can notify the node abnormality confirmation unit 121 of the identification. This makes it possible to notify information that is useful for identifying the cause of the abnormality in the node 210a.

[0115] 15 is an example of a flowchart showing a processing procedure of the network confirmation unit 244 of the node 210a in step S48 of FIG.

[0116] [Step S91] The network confirmation unit 244 obtains from the cluster management unit 211a a list of interface names indicating network interfaces to be managed (network interfaces connected to the node 210a) and network addresses of devices to be monitored (devices to be connected) via each network interface. This information is obtained from the cluster management data 231a by processing of the cluster management unit 211a.

[0117] [Step S92] The network check unit 244 executes a ping command for each of the monitored devices, and establishes communication with each of the monitored devices. [Step S93] The network check unit 244 determines whether or not there has been a response to the ping command from all of the monitored devices. If there has been a response from all of the monitored devices, the process proceeds to step S95. On the other hand, if there has been no response from at least some of the monitored devices, the process proceeds to step S94.

[0118] [Step S94] The network check unit 244 records information about a network interface that is considered to be abnormal because no response has been received from the monitored device in response to the ping command in the check result file 234a.

[0119] [Step S95] The network check unit 244 sends a command to check the status of the node 210a (its own node) to the API endpoint 130. The API endpoint 130 checks the status of the node 210a based on the received command, and returns the check result to the network check unit 244. Note that in the Amazon EC2 service, a command with the API name "DescribeInstances" can be used as the above command.

[0120] [Step S96] The network check unit 244 determines whether the above command has acquired information indicating the state of the node 210a (its own node). If the information indicating the state has been acquired, the process proceeds to step S97. On the other hand, if the information indicating the state has not been acquired (for example, if a timeout has occurred in response to the transmission of the above command), the process proceeds to step S98.

[0121] [Step S97] The network check unit 244 returns check result information to the node abnormality check unit 121, indicating that the network check result is normal. [Step S98] The network check unit 244 records information indicating that an abnormality has occurred in the status check of the node 210a (that is, communication with the node 210a from the outside is impossible) in the check result file 234a.

[0122] [Step S99] The network confirmation unit 244 returns confirmation result information indicating that the network confirmation result is abnormal to the node abnormality confirmation unit 121. The network confirmation unit 244 can obtain, from the confirmation result file 234a, the interface name of the network interface determined to be abnormal in step S94 and information indicating that communication from outside with node 210a was impossible as a result of the status confirmation in step S95.

[0123] Through the above processing, the network confirmation unit 244 can determine whether or not an abnormality has occurred for each of the network interfaces connected to the node 210a. Then, the network confirmation unit 244 can notify the node abnormality confirmation unit 121 of the interface name of the network interface in which an abnormality has occurred (i.e., communication is impossible) via the confirmation result file 234a. In addition, the network confirmation unit 244 can determine whether communication with the node 210a from the outside is possible, and notify the node abnormality confirmation unit 121 of the determination result via the confirmation result file 234a. This makes it possible to notify information that is useful for identifying the cause of the abnormality in the node 210a.

[0124] The processing functions of the components (e.g., the information processing device 10, the FaaS system 120, and the nodes 210a and 210b) shown in each of the above embodiments can be realized by a computer. In this case, a program describing the processing contents of the functions that each device should have is provided, and the above processing functions are realized on the computer by executing the program on a computer. The program describing the processing contents can be recorded on a computer-readable recording medium. Examples of computer-readable recording media include magnetic storage devices, optical disks, and semiconductor memories. Examples of magnetic storage devices include hard disk drives (HDDs) and magnetic tapes. Examples of optical disks include CDs (Compact Discs), DVDs (Digital Versatile Discs), and Blu-ray Discs (BD, registered trademark).

[0125] When distributing a program, for example, the program is recorded on a portable recording medium such as a DVD or CD and then sold. The program can also be stored in a storage device of a server computer and transferred from the server computer to other computers via a network.

[0126] A computer that executes a program stores, for example, a program recorded on a portable recording medium or a program transferred from a server computer in its own storage device. The computer then reads the program from its own storage device and executes processing according to the program. The computer can also read the program directly from a portable recording medium and execute processing according to the program. The computer can also execute processing according to the received program each time a program is transferred from a server computer connected via a network. [Explanation of symbols]

[0127] 10. Information processing device 11 Processing section 20 Clusters 21,22 nodes S1~S3 steps

Claims

1. On the computer, When a first node among a plurality of nodes belonging to a cluster, each of which is a virtual machine, stops due to an abnormality, the first node is restarted; having the restarted first node execute a confirmation process to confirm whether or not there is an abnormality; If no abnormality is confirmed by the confirmation process, the first node is reintegrated into the cluster. A recovery control program that executes the process.

2. If an abnormality is confirmed by the confirmation process, information indicating the details of the confirmed abnormality is output.

2. The recovery control program according to claim 1, which causes the computer to execute a process.

3. the confirmation process includes a process of confirming whether a predetermined process individually determined for each of a plurality of virtual resources connected to the first node can be normally executed between the first node and the plurality of virtual resources, The recovery control program according to claim 1.

4. when an abnormality occurs in processing with a first virtual resource among the plurality of virtual resources, outputting information indicating that an abnormality has occurred in the first virtual resource.

4. The recovery control program according to claim 3, which causes the computer to execute a process.

5. a second node among the plurality of nodes detects an abnormality in the first node, takes over the processing of the first node, and restarts the first node when the first node is stopped; The recovery control program according to claim 1.

6. If no abnormality is confirmed by the confirmation process, the first node is incorporated into the cluster as a standby node corresponding to the second node. The recovery control program according to claim 5.

7. The computer a recovery control process in which, when a first node among a plurality of nodes belonging to a cluster, each of which is a virtual machine, stops due to the occurrence of an abnormality, the first node is restarted, the restarted first node is caused to execute a confirmation process for confirming whether or not there is an abnormality, and if no abnormality is confirmed by the confirmation process, the first node is reintegrated into the cluster; A recovery control method for performing the above.

8. The recovery control process is started by the computer executing a serverless function program. The recovery control method according to claim 7.

9. When a second node among the plurality of nodes detects an abnormality in the first node, the second node takes over the processing of the first node, stops the first node, and executes the serverless function program. The recovery control method according to claim 8.

10. When a first node among a plurality of nodes belonging to a cluster, each of which is a virtual machine, stops due to an abnormality, the first node is restarted; having the restarted first node execute a confirmation process to confirm whether or not there is an abnormality; a processing unit that reintegrates the first node into the cluster when no abnormality is confirmed by the confirmation process; An information processing system having the above configuration.

11. The plurality of nodes are each constructed as a virtual machine on a cloud system; The processing unit is provided in a subsystem that provides a serverless environment and is included in the cloud system.

11. The information processing system according to claim 10.

Citation Information

Patent Citations

  • Cluster system

    JP1997034852A

  • Cluster system managing system, method, and program and cluster system

    JP2004334534A