Program, information processing method and cluster system
The cluster system uses heartbeat interruptions and tag commands to differentiate between zone failures and temporary abnormalities, ensuring safe data handling and system availability by confirming zone failures before switching nodes.
Patent Information
- Application Number
- JP2023061289
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-05
- Publication Date
- 2024-10-18
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In cloud systems, identifying the occurrence of a zone failure in active nodes to prevent simultaneous access to storage from both active and standby nodes, which can lead to data destruction, is challenging due to temporary abnormalities that may not require a full zone failure.
A cluster system with active and standby nodes in different zones uses heartbeat interruptions to forcibly stop the active node, issues commands to add tags, and analyzes the execution results to determine if a zone failure has occurred, ensuring safe data handling.
The system effectively identifies zone failures, preventing data destruction by ensuring safe switching to the standby node only when a true zone failure is confirmed, maintaining data integrity and system availability.
Smart Images

Figure 2024148281000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a program, an information processing method, and a cluster system. [Background technology]
[0002] In recent years, instead of users owning their own information processing environment in which application programs are executed, users are increasingly using information processing environments owned by service providers via a network. Information processing systems that allow users to use information processing environments via a network are sometimes called cloud systems. Cloud systems lend unit computing resources such as physical machines and virtual machines to users, and execute application programs created by the users on the unit computing resources. The processing entities realized by the physical machines and virtual machines may be called nodes.
[0003] For example, a cloud system executes various services that can be used by a user's application program. A user's application program uses a service by calling an API (Application Programming Interface) provided by the service. For example, a cloud system may enable an application program to call an API provided by a back-end service by specifying an identifier called an API endpoint.
[0004] By the way, in information processing systems, there are cases where the availability is improved. For example, a cluster system has been proposed in which an application is processed on an active server, and if an abnormality occurs in the application, the abnormal application is processed on a standby server. In the proposed cluster system, the standby server detects an abnormality in the application of the active server by heartbeats between the standby server and the active server.
[0005] There has also been proposed a cluster system in which a standby server accesses a service provided by an active server via the same network as that used for access by client devices, and monitors the provision of the service by the active server.
[0006] Additionally, a system has been proposed that provides a cross-datacenter communication infrastructure for application instances running in different locations. The proposed system monitors, manages, and debugs applications spread across multiple clouds. [Prior art documents] [Patent documents]
[0007] [Patent Document 1] JP 2010-103695 A [Patent Document 2] International Publication No. 2019 / 049433 [Patent Document 3] International Publication No. 2012 / 162171 Summary of the Invention [Problem to be solved by the invention]
[0008] In a cloud system, one or more data centers may be managed as one zone. The zone is a logical management unit that consolidates one or more pieces of data. In this case, it is conceivable that the operational and standby nodes that are elements of the cluster are operated in different zones. This can improve the availability of applications provided by the cluster against a zone-based failure that affects the entire zone (zone failure), such as a disaster or a malfunction of the zone management software.
[0009] On the other hand, the standby node may detect an abnormality in the alive monitoring of the operational node by heartbeat for reasons other than a zone failure. If the alive monitoring of the operational node becomes abnormal for reasons other than a zone failure, the abnormality may be temporary and may be restored in a relatively short time. In other words, even if the standby node detects a loss of heartbeat with the operational node, the application of the operational node may still be running.
[0010] Therefore, if the application is simply started on the standby node in response to a heartbeat interruption, the application may be running on both the active and standby nodes, which could result in risks such as data corruption due to simultaneous access to storage from both nodes.
[0011] In this case, a problem arises as to how the standby node determines whether a zone failure has occurred on the active node side in order to switch from the active node to the standby node. In one aspect, the present invention aims to make it possible to identify the occurrence of a zone fault. [Means for solving the problem]
[0012] In one embodiment, a program is provided, which causes a computer operating as a standby node in a cluster system including an active node operating in a first zone having one or more first data centers and a standby node operating in a second zone having one or more second data centers to execute a process of forcibly stopping the active node when a heartbeat with the active node is interrupted, and, if the forcible stopping of the active node fails, issuing a command to assign a tag to each of the active node and the standby node, and identifying the occurrence of a failure in the first zone based on a result of the execution of the command.
[0013] In one embodiment, an information processing method is provided.In one embodiment, a cluster system is provided. Effect of the Invention
[0014] In one aspect, it allows the occurrence of a zone failure to be identified. [Brief description of the drawings]
[0015] [Figure 1] FIG. 1 illustrates a cluster system according to a first embodiment. [Diagram 2] 13 is a flowchart illustrating an example of processing by a standby node. [Diagram 3] 13 is a flowchart showing the processing example (continuation) of the standby node. [Figure 4] FIG. 11 illustrates an example of an information processing system according to a second embodiment. [Diagram 5] FIG. 2 illustrates an example of hardware of a physical machine. [Figure 6] FIG. 13 is a diagram illustrating an example of AZ. [Figure 7] FIG. 2 is a diagram illustrating an example of functions of the information processing system. [Figure 8] FIG. 11 is a diagram illustrating an example of data held by a standby node. [Figure 9] FIG. 13 illustrates an example of processing of a standby instance. [Figure 10] 13 is a flowchart illustrating an example of an active system forced stop process. [Figure 11] 13 is a flowchart illustrating an example of a network status confirmation process. [Figure 12] 13 is a flowchart illustrating an example of an operational system status confirmation process. [Figure 13] 13 is a flowchart illustrating an example of a standby system status confirmation process. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0016] The present embodiment will be described below with reference to the drawings. [First embodiment] A first embodiment will be described.
[0017] FIG. 1 is a diagram illustrating a cluster system according to a first embodiment. The cluster system 1 is operated as a subsystem in an information processing system such as a cloud system. The cluster system 1 has an operational node 10 and a standby node 20. The operational node 10 and the standby node 20 may be physical computers (physical machines) or virtual computers (virtual machines) that operate using the hardware resources of a physical machine. The operational node 10 is a node used to execute an application. The standby node 20 is a standby node for the operational node 10. The standby node 20 is provided to execute the application in place of the operational node 10 when an abnormality occurs in the operational node 10.
[0018] The operational node 10 operates in a first zone Z1. The standby node 20 operates in a second zone Z2. The first zone Z1 has one or more first data centers. The second zone Z2 has one or more second data centers. A data center is a facility that houses and operates a large number of physical machines, network devices, storage devices, etc. The first zone Z1 and the second zone Z2 may be referred to as AZs (Availability Zones). Note that the data centers are not shown in FIG. 1.
[0019] The active node 10 has a storage unit 11 and a processing unit 12. The standby node 20 has a storage unit 21 and a processing unit 22. The storage units 11 and 21 may be volatile semiconductor memories such as RAM (Random Access Memory) or non-volatile storage such as HDD (Hard Disk Drive) or flash memory. The storage units 11 and 21 store data used for processing by the processing units 12 and 22, respectively.
[0020] The processing units 12 and 22 are, for example, processors such as a central processing unit (CPU), a graphics processing unit (GPU), or a digital signal processor (DSP). However, the processing units 12 and 22 may include electronic circuits for specific purposes such as an application specific integrated circuit (ASIC) or a field programmable gate array (FPGA). The processor executes a program stored in a memory such as a RAM (which may be the storage units 11 and 21). A set of multiple processors may be called a "multiprocessor" or simply a "processor." When the active node 10 and the standby node 20 are realized by virtual machines, part of the hardware resources such as the CPU and RAM of the physical machine that runs the virtual machine is assigned to the virtual machine.
[0021] The active node 10 and the standby node 20 are connected to a first network N1 and a second network N2. The first network N1 is a management network of an information processing system to which the cluster system 1 belongs. An API management node 30 is connected to the first network N1. The API management node 30 functions as an API end point that accepts API calls by the active node 10 and the standby node 20. In response to an API call, the API management node 30 executes a service provided in the back end, and returns the result to the active node 10 or the standby node 20 that made the call. There may be multiple API management nodes 30 depending on the API. The API management node 30 is realized by a physical machine or a virtual machine. The API management node 30 may be called an API host.
[0022] Here, examples of processes that can be executed in response to an API call include the following. The first process is to forcefully stop a node. The second process is to check the node status. The third process is to tag a node. A tag is metadata that consists of a key (tag key) defined by the user and a value (tag value). A tag may also be called a label.
[0023] The second network N2 is a network for heartbeats between the active node 10 and the standby node 20. The second network N2 may be called an interconnect network. The heartbeat is a periodic communication for the active node 10 and the standby node 20 to monitor each other's alive status, or a signal transmitted and received in the communication.
[0024] Furthermore, the active node 10 and the standby node 20 are connected to a storage 40 via a predetermined network. The storage 40 stores data used in the processing of applications executed on the active node 10 and the standby node 20. The storage 40 is realized by a HDD, a flash memory, or the like. For example, when the standby node 20 executes an application in place of the active node 10, the standby node 20 can access the storage 40 to take over data generated by the processing of the application on the active node 10.
[0025] When the standby node 20 detects a cutoff in the heartbeat with the operational node 10, it identifies a failure in the first zone Z1 as follows: A failure in the first zone Z1 is a failure that affects the entire first zone Z1, such as a disaster or a problem with the zone management software, which makes the entire first zone Z1 unavailable.
[0026] When the heartbeat with the operational node 10 is cut off, the processing unit 22 forcibly stops the operational node 10. Specifically, the processing unit 22 issues an API command for forcibly stopping the operational node 10 to the API management node 30 via the first network N1.
[0027] When the API management node 30 receives the forced stop command, it attempts to forcibly stop the active node 10. The API management node 30 responds to the standby node 20 about the success or failure of the forced stop.
[0028] The processing unit 22 receives a response indicating the success or failure of the forced stop from the API management node 30. If the forced stop of the operational node 10 is successful, the API management node 30 is able to normally communicate with the operational node 10. Therefore, in this case, the processing unit 22 determines that the interruption of the heartbeat is not a failure in the first zone Z1. Note that if the processing unit 22 is successful in the forced stop of the operational node 10, it may start the application to be taken over in the standby node 20 and take over the processing of the application.
[0029] On the other hand, if the forced stop of the operational node 10 fails, it means that the API management node 30 was unable to normally communicate with the operational node 10. For this reason, the processing unit 22 performs the following process. The processing unit 22 issues commands to assign tags to each of the operational node 10 and the standby node 20. Specifically, the processing unit 22 issues an API command to assign a tag to the operational node 10 and an API command to assign a tag to the standby node 20 to the API management node 30 via the first network N1.
[0030] When the API management node 30 receives a command to assign a tag to the operational node 10, it attempts to assign the tag to the operational node 10. The API management node 30 responds to the standby node 20 with the execution result of the command to assign a tag to the operational node 10. In addition, when the API management node 30 receives a command to assign a tag to the standby node 20, it attempts to assign a tag to the standby node 20. The API management node 30 responds to the standby node 20 with the execution result of the command to assign a tag to the standby node 20.
[0031] The processing unit 22 identifies that a failure has occurred in the first zone Z1 based on the execution result of the command to assign a tag to each of the active node 10 and the standby node 20. Specifically, the processing unit 22 determines whether or not a tag can be normally assigned to the active node 10, and whether or not a tag can be normally assigned to the standby node 20. Then, when the processing unit 22 cannot normally assign a tag to the active node 10 and can normally assign a tag to the standby node 20, it identifies that a failure has occurred in the first zone Z1.
[0032] When the processing unit 22 can normally assign a tag to the operational node 10, it determines that no failure has occurred in the first zone Z1, regardless of the execution result of tag assignment to the standby node 20. Furthermore, when the processing unit 22 cannot normally assign a tag to the operational node 10 and cannot normally assign a tag to the standby node 20, it determines that a failure has occurred in the API endpoint provided by the API management node 30.
[0033] When the processor 22 determines that a failure has occurred in the first zone Z1, the processor 22 may start an application to be taken over in the standby node 20 and take over the processing of the application.
[0034] As described above, according to the standby node 20 of the first embodiment, when the heartbeat with the active node 10 is cut off, the active node 10 is forcibly stopped. If the forcible stopping of the active node 10 fails, a command is issued to each of the active node 10 and the standby node 20 to assign a tag. Based on the execution result of the command, it is identified that a failure has occurred in the first zone Z1. This enables the standby node 20 to identify the occurrence of a zone failure on the active node 10 side.
[0035] For example, if a tag can be normally assigned to the standby node 20, the API endpoint provided by the API management node 30 is normal. Therefore, in this case, if a tag cannot be normally assigned to the operational node 10, the processing unit 22 can narrow down the cause to a failure in the first zone Z1.
[0036] Furthermore, if the tag can be normally assigned to the operational node 10, it means that the API management node 30 has normally communicated with the operational node 10. Therefore, in this case, the processing unit 22 can determine that no failure has occurred in the first zone Z1, regardless of the result of the tag assignment to the standby node 20.
[0037] Furthermore, if the tag cannot be properly assigned to the operational node 10 and the tag cannot be properly assigned to the standby node 20, the processing unit 12 determines that a failure has occurred in the API endpoint provided by the API management node 30.
[0038] Next, an example of a processing procedure of the standby node 20 will be described. FIG. 2 is a flowchart illustrating an example of processing by the standby node. (S10) The processing unit 22 detects a loss of heartbeat with the active node 10.
[0039] (S11) The processing unit 22 forcibly stops the operational node 10. As described above, the forcible stopping of the operational node 10 is performed via the API management node 30. (S12) The processing unit 22 determines whether or not the forced shutdown of the operational node 10 was successful. If the forced shutdown was successful, the process proceeds to step S13. If the forced shutdown was unsuccessful, the process proceeds to step S14. If the forced shutdown of the operational node 10 was successful, data access to the storage 40 from the operational node 10 in which the abnormality occurred is prevented, and the data stored in the storage 40 is protected.
[0040] (S13) The processing unit 22 determines that the failure is in the second network N2 for heartbeats. In this case, since the API management node 30 and the operational node 10 are able to communicate, the processing unit 22 determines that the failure is not in the first zone Z1. Then, the processing of the standby node 20 ends. In this case, the processing unit 22 switches to the standby node 20 and continues the operation of the application.
[0041] (S14) The processing unit 22 performs a communication check to the management network to which the operational node 10 belongs. The management network to which the operational node 10 belongs is a network that exists in the first zone Z1. For example, the processing unit 22 can perform the communication check by issuing a ping to an IP (Internet Protocol) address that exists in the management network to which the operational node 10 belongs. The communication check is performed, for example, via the first network N1.
[0042] (S15) The processing unit 22 judges whether or not there is a response to the communication check in step S14. If there is a response, the process proceeds to step S16. If there is no response, the process proceeds to step S17.
[0043] (S16) The processing unit 22 determines that the cause is a failure of the API end point provided by the API management node 30. In this case, since the management network on the operational node 10 side is operational, the processing unit 22 determines that the cause is not a failure of the first zone Z1. Then, the processing of the standby node 20 ends. Note that in step S16, the processing unit 22 may determine that the cause of the heartbeat interruption is a failure of the second network N2.
[0044] (S17) Processing unit 22 determines whether or not the standby node 20 can access the outside (for example, the Internet). If the standby node 20 can access the outside, the process proceeds to step S19 in Fig. 3. If the standby node 20 cannot access the outside, the process proceeds to step S18. For example, processing unit 22 can determine whether or not the outside can be accessed based on whether or not a specific website on the Internet can be accessed.
[0045] (S18) The processing unit 22 determines that a network failure has occurred on the standby system side. The network failure on the standby system side is a failure in a network such as a management network or a VPC (Virtual Private Cloud) to which the standby node 20 belongs. Then, the processing of the standby node 20 ends.
[0046] FIG. 3 is a flowchart showing the processing example (continuation) of the standby node. (S19) The processing unit 22 executes an API for assigning a tag to the operational node 10. As described above, the API is executed via the API management node 30. Information on the tag assigned to the operational node 10 is managed by, for example, the API management node 30.
[0047] (S20) The processing unit 22 determines whether or not the tagging of the operational node 10 has been completed successfully. If the tagging of the operational node 10 has been completed successfully, the process proceeds to step S21. If the tagging of the operational node 10 has not been completed successfully, the process proceeds to step S22. For example, the processing unit 22 can obtain the tagging result from the API management node 30 by issuing an API command to check the status of the operational node 10, and determine whether or not the tagging of the operational node 10 has been completed successfully based on the tagging result.
[0048] (S21) The processing unit 22 determines that the failure is not a zone failure in the first zone Z1 because the API management node 30 and the operational node 10 are now able to communicate with each other. Then, the processing of the standby node 20 ends.
[0049] (S22) The processing unit 22 executes an API for assigning a tag to the standby node 20. As described above, the API is executed via the API management node 30. Information on the tag assigned to the standby node 20 is managed by, for example, the API management node 30.
[0050] (S23) The processing unit 22 determines whether or not the tagging of the standby node 20 has been completed successfully. If the tagging of the standby node 20 has not been completed successfully, the process proceeds to step S24. If the tagging of the standby node 20 has been completed successfully, the process proceeds to step S25. For example, the processing unit 22 can obtain the tagging result from the API management node 30 by issuing an API command to check the status of the standby node 20, and determine whether or not the tagging has been completed successfully based on the tagging result.
[0051] (S24) The processing unit 22 determines that the failure is in the API end point provided by the API management node 30. Then, the processing of the standby node 20 ends. (S25) The processing unit 22 determines that the failure is a zone failure on the active node 10 side, that is, a failure in the first zone Z1. Then, the processing of the standby node 20 ends.
[0052] If the above procedure identifies that a failure has occurred in the first zone Z1, the processing unit 22 can start an application on the standby node 20 and execute the application on the operational node 10 instead.
[0053] When the above procedure ends at step S18 or step S24, the processing unit 22 may determine that no failure has occurred in the first zone Z1. In this case, the processing unit 22 does not switch the operation of the application to the standby node 20.
[0054] Alternatively, when the above procedure ends at step S18 or step S24, the processing unit 22 may determine that there remains a possibility that a failure has occurred in the first zone Z1, and may notify the user, for example, that there is a possibility that a failure has occurred in the first zone Z1. In response to the notification, the user can check whether or not there is a failure in the first zone Z1 from information published by a business that provides the information processing system to which the cluster system 1 belongs, and switch to the standby node 20. Furthermore, when the above procedure ends at step S18 or step S24, the processing unit 22 may identify that a failure has occurred in the first zone Z1 by performing another determination process.
[0055] In this way, the standby node 20 can quickly identify the cause of the failure in the active node 10. For example, the standby node 20 can quickly identify that the active node 10 has definitely stopped due to a failure in the first zone Z1. Furthermore, the standby node 20 can be controlled not to switch an application from the active node 10 to the standby node 20 unless it is confirmed that the active node 10 has definitely stopped. This allows the standby node 20 to safely switch from the active node 10 to the standby node 20 while reducing the risk of data corruption in the storage 40.
[0056] In addition, since the above procedure is a process executed by the standby node 20, it can be executed regardless of the state of the operational node 10 and the first zone Z1 in which the operational node 10 exists. Furthermore, the standby node 20 can automatically identify the occurrence of an AZ failure. Therefore, even if the cluster system 1 adopts the synchronous forced stop method, it is possible to continue the operation of the application when an AZ failure occurs. Here, the synchronous forced stop method is a method of switching the node after confirming that the node in which the error occurred has been stopped reliably. By using the synchronous forced stop method, it is possible to guarantee that the data in the storage 40 can be accessed only from the operational system. Therefore, it is advantageous in terms of data protection and also in that a wide range of operation forms are possible, such as a three-node cluster configuration.
[0057] [Second embodiment] Next, a second embodiment will be described. FIG. 4 illustrates an example of an information processing system according to the second embodiment.
[0058] The information processing system 2 provides a cloud service. The information processing system 2 may be called a cloud system. An example of a cloud service is AWS (Amazon Web Services). AWS is a registered trademark. Amazon is a registered trademark. However, the information processing system 2 may provide other cloud services. The information processing system 2 has physical machines 100, 100a, .... The physical machines 100, 100a, ... are server computers having computing resources provided to users. Although not shown in the figure, the information processing system 2 further includes a large number of hardware such as network devices and storage devices. The information processing system 2 lends resources such as the physical machines 100, 100a, ..., network devices, and storage devices to users and makes them available to the users.
[0059] An information processing system 2 is connected to the Internet 3. A terminal device 4 is also connected to the Internet 3. The terminal device 4 is a client computer operated by a user. The user can operate the terminal device 4 to use the services of the information processing system 2.
[0060] FIG. 5 illustrates an example of hardware of a physical machine. The physical machine 100 has a processor 101, a RAM 102, a HDD 103, a GPU 104, an input interface 105, a media reader 106, and a communication interface 107. These units of the physical machine 100 are connected to a bus inside the physical machine 100. The processor 101 corresponds to the processing unit 12 of the first embodiment. The RAM 102 or the HDD 103 corresponds to the storage unit 11 of the first embodiment.
[0061] The processor 101 is an arithmetic device that executes program instructions. The processor 101 is, for example, a CPU. The processor 101 loads at least a part of the program and data stored in the HDD 103 into the RAM 102 and executes the program. The processor 101 may include multiple processor cores. The physical machine 100 may have multiple processors. The processing described below may be executed in parallel using multiple processors or processor cores. A set of multiple processors may also be called a "multiprocessor" or simply a "processor."
[0062] The RAM 102 is a volatile semiconductor memory that temporarily stores programs executed by the processor 101 and data used in calculations by the processor 101. Note that the physical machine 100 may include a type of memory other than a RAM, and may include multiple memories.
[0063] The HDD 103 is a non-volatile storage device that stores software programs such as an OS (Operating System), middleware, and application software, as well as data. Note that the physical machine 100 may also include other types of storage devices, such as a flash memory or an SSD (Solid State Drive), and may also include multiple non-volatile storage devices.
[0064] The GPU 104 outputs an image to a display 111 connected to the physical machine 100 in accordance with an instruction from the processor 101. As the display 111, any type of display can be used, such as a CRT (Cathode Ray Tube) display, a liquid crystal display (LCD: Liquid Crystal Display), a plasma display, or an organic EL (OEL: Organic Electro-Luminescence) display.
[0065] The input interface 105 acquires an input signal from an input device 112 connected to the physical machine 100, and outputs the signal to the processor 101. The input device 112 may be a pointing device such as a mouse, a touch panel, a touch pad, or a trackball, a keyboard, a remote controller, or a button switch. In addition, a plurality of types of input devices may be connected to the physical machine 100.
[0066] The medium reader 106 is a reading device that reads programs and data recorded on a recording medium 113. For example, a magnetic disk, an optical disk, a magneto-optical disk (MO: Magneto-Optical disk), a semiconductor memory, etc. can be used as the recording medium 113. Magnetic disks include flexible disks (FD: Flexible Disks) and HDDs. Optical disks include compact discs (CDs) and digital versatile discs (DVDs).
[0067] The medium reader 106 copies, for example, the program or data read from the recording medium 113 to another recording medium such as the RAM 102 or the HDD 103. The read program is executed, for example, by the processor 101. Note that the recording medium 113 may be a portable recording medium, and may be used for distributing the program or data. Also, the recording medium 113 and the HDD 103 may be referred to as computer-readable recording media.
[0068] The communication interface 107 is connected to a network 114 and communicates with other information processing devices via the network 114. The communication interface 107 may be a wired communication interface connected to a wired communication device such as a switch or a router, or may be a wireless communication interface. The network 114 is an internal network of the information processing system 2.
[0069] The other physical machines including the physical machine 100a and the terminal device 4 are also implemented by hardware similar to that of the physical machine 100. The information processing system 2 can operate a plurality of virtual machines using the hardware resources of the physical machines 100, 100a, . . .
[0070] FIG. 6 is a diagram showing an example of AZ. The information processing system 2 has a region 2a and AZs 2a1, 2a2. The region 2a is a management unit of a network corresponding to a certain area. The AZs 2a1, 2a2 are management units that group together one or more data centers located in the region 2a. The AZs 2a1, 2a2 are located in geographically separate locations. For example, the AZ 2a1 has data centers 50, 51, .... The AZ 2a2 has data centers 60, 61, ....
[0071] The data center 50 has physical machines 100, 100a, .... Although not shown, the data center 50 includes a large number of pieces of hardware such as network devices and storage devices. Similar to the data center 50, the other data centers including the data centers 51, 60, and 61 also have a large number of pieces of hardware such as physical machines, network devices, and storage devices.
[0072] Furthermore, although not shown, a network system higher than AZs 2a1 and 2a2 also exists in region 2a. This network system also includes a plurality of physical machines, network devices, storage devices, and the like.
[0073] FIG. 7 is a diagram illustrating an example of functions of the information processing system. The information processing system 2 includes an active instance 200 , a standby instance 300 , storages 400 and 500 , and an API endpoint 600 .
[0074] The production instance 200 is a virtual machine that runs on a subnet sn1 in AZ2a1. The standby instance 300 is a virtual machine that runs on a subnet sn2 in AZ2a2. The subnets sn1 and sn2 are networks in a VPC of a user who uses the production instance 200 and the standby instance 300. Here, the VPC is a management unit of a network assigned to a user in the region 2a.
[0075] The operational instance 200 and the standby instance 300 form a cluster system, improving the availability of an application executed by the operational instance 200. The standby instance 300 does not execute the application when the operational instance 200 is running. The standby instance 300 starts the application in response to an abnormality in the operational instance 200, and executes the processing of the application in place of the operational instance 200. The operational instance 200 may be referred to as an operational machine. The standby instance 300 may be referred to as a standby machine. The application executed by the operational instance 200 may be used by a user operating the terminal device 4.
[0076] The active instance 200, the standby instance 300, and the API endpoint 600 are connected to a management network N11. The management network N11 is a higher-level network than the networks of AZ2a1 and 2a2 in the region 2a. The active instance 200 and the standby instance 300 can call an API provided by the API endpoint 600 via the management network N11. An API is called by specifying an identifier such as a URI (Uniform Resource Identifier) of the API endpoint 600 corresponding to the API. The URI is sometimes called an "API endpoint." The API endpoint 600 is realized by a physical machine or a virtual machine that executes the API. A node such as a physical machine or a virtual machine that functions as the API endpoint 600 may be called an API host. The API endpoint 600 can assign a tag to each instance and retains information on the tag assigned to each instance.
[0077] The operational instance 200 has a storage unit 210 and a cluster monitoring unit 220. The storage unit 210 uses a storage area of a RAM or HDD of a physical machine that runs the operational instance 200. The storage unit 210 stores data used for processing by the cluster monitoring unit 220. The cluster monitoring unit 220 is realized by a processor of the physical machine that runs the operational instance 200 executing a program stored in the RAM of the physical machine.
[0078] The standby instance 300 has a storage unit 310 and a cluster monitoring unit 320. The storage unit 310 uses a storage area of the RAM or HDD of the physical machine that runs the standby instance 300. The storage unit 310 stores data used for processing by the cluster monitoring unit 320. The cluster monitoring unit 320 is realized by a processor of the physical machine that runs the standby instance 300 executing a program stored in the RAM of the physical machine.
[0079] The storage 400 is connected to the subnet sn1. The storage 400 stores data used in the processing of the production instance 200. The storage 500 is connected to the subnet sn2. The storage 500 stores data used in the processing of the standby instance 300.
[0080] Here, the data in the storage 400 is updated in response to the execution of an application in the production instance 200. The updated data in the storage 400 is also synchronized with the storage 500. For example, the information processing system 2 provides a disk mirroring service that reflects data updates in the storage 400 in the storage 500 as well.
[0081] The cluster monitors 220 and 320 monitor the status of each resource, such as applications and disks, in the operational instance 200 and the standby instance 300, and when an abnormality occurs, stop the relevant instance or switch the application execution subject. The cluster monitors 220 and 320 monitor the alive status of the other instance by regular heartbeat communication via the interconnect network N12. The interconnect network N12 is a network that connects AZs 2a1 and 2a2 in the information processing system 2.
[0082] When the cluster monitor 320 detects a heartbeat interruption, it narrows down the cause of the abnormality and determines that an AZ failure has occurred in AZ 2a1. When the cluster monitor 320 determines that an AZ failure has occurred in AZ 2a1, it starts the application that was running in the production instance 200 on the standby instance 300 and takes over the processing of the application.
[0083] Here, when a heartbeat interruption occurs, the cluster monitoring unit 320 isolates the cause of the failure to the following failures in order. The first is an AZ failure. As described above, an AZ failure is a failure in which the entire data center in the relevant AZ becomes unavailable due to a disaster or a malfunction of the AZ management software. The second is a failure of the guest OS or the host physical machine of the production instance 200, that is, an instance failure. The third is a network failure in the subnets sn1 and sn2. The fourth is a failure in the interconnect network N12.
[0084] When the cluster monitor 320 detects a heartbeat interruption, it isolates the cause of the failure, generates data indicating the results of isolating the cause of the failure, and stores the data in the storage unit 310 . FIG. 8 illustrates an example of data held by a standby node.
[0085] The check result log 311 and the flag file 312 are generated by the cluster monitor 320 and stored in the storage unit 310 . The check result log 311 is a log file that records the results of fault isolation performed by the cluster monitoring unit 320. The check result log 311 is used by the user to identify the cause of an abnormality.
[0086] The flag file 312 is a file that is created when the cluster monitoring unit 320 identifies the contents of a failure, and is used to control the failure isolation process by the cluster monitoring unit 320. The failure isolation process is controlled based on the determination of the presence or absence of the flag file 312. For this reason, the contents of the flag file 312 may be empty, or may contain any information.
[0087] Next, the processing procedure of the standby instance 300 will be described. FIG. 9 illustrates an example of processing of a standby instance. (S30) The cluster monitor 320 detects a loss of heartbeat with the active instance 200.
[0088] (S31) The cluster monitor unit 320 deletes the flag file 312 stored in the storage unit 310. (S32) The cluster monitor 320 performs a process of forcibly stopping the active system. The process of forcibly stopping the active system will be described later in detail.
[0089] (S33) The cluster monitoring unit 320 judges whether or not the flag file 312 exists in the storage unit 310. If the flag file 312 exists, the cluster monitoring unit 320 ends the process. If the flag file 312 does not exist, the process proceeds to step S34.
[0090] (S34) The cluster monitor 320 performs a network status check process. The network status check process will be described in detail later. (S35) The cluster monitoring unit 320 determines whether or not the flag file 312 exists in the storage unit 310. If the flag file 312 exists, the cluster monitoring unit 320 ends the process. If the flag file 312 does not exist, the process proceeds to step S36.
[0091] (S36) The cluster monitor 320 performs an operational system status check process. The operational system status check process will be described in detail later. (S37) The cluster monitoring unit 320 determines whether or not the flag file 312 exists in the storage unit 310. If the flag file 312 exists, the cluster monitoring unit 320 ends the process. If the flag file 312 does not exist, the process proceeds to step S38.
[0092] (S38) The cluster monitor 320 performs standby system status check processing. The standby system status check processing will be described in detail later. (S39) The cluster monitoring unit 320 determines whether or not the flag file 312 exists in the storage unit 310. If the flag file 312 exists, the cluster monitoring unit 320 ends the process. If the flag file 312 does not exist, the process proceeds to step S40.
[0093] (S40) The cluster monitor 320 determines that an AZ failure has occurred on the active system side. That is, the cluster monitor 320 determines that a failure has occurred in AZ 2a1 of the active system instance 200.
[0094] (S41) The cluster monitor 320 outputs to the check result log 311 that it has determined that an AZ failure has occurred on the production side. In this case, the cluster monitor 320 may start the application to be taken over by the standby instance 300 and execute the processing of the application instead of the production instance 200. In other words, switching to the standby instance 300 is possible.
[0095] (S42) The cluster monitoring unit 320 creates the flag file 312 and stores it in the storage unit 310. Then, the cluster monitoring unit 320 ends the process. When the cluster monitoring unit 320 terminates the above process due to the existence of the flag file 312 or after step S42, the cluster monitoring unit 320 may notify the terminal device 4 of the fault details written in the check result log 311 and provide the fault details to the user.
[0096] FIG. 10 is a flowchart showing an example of the process of forcibly stopping the active system. The process of forcibly stopping the active system corresponds to step S32. (S50) The cluster monitoring unit 320 executes an API to forcibly stop the production instance 200. For example, in a service called Amazon EC2 (Amazon Elastic Compute Cloud), the cluster monitoring unit 320 can forcibly stop the production instance 200 via the API endpoint 600 by issuing an API “StopInstances” command.
[0097] (S51) The cluster monitoring unit 320 obtains a response indicating whether the forced stop of the active instance 200 was successful from the API endpoint 600, and determines whether the forced stop was successful. If the forced stop of the active instance 200 was successful, the process proceeds to step S52. If the forced stop of the active instance 200 was not successful, the active instance forced stop process ends.
[0098] (S52) The cluster monitor 320 determines that a failure has occurred in the interconnect network N12. In this case, the cluster monitor 320 may start the application to be taken over by the standby instance 300 and execute the processing of the application instead of the operational instance 200. In other words, switching to the standby instance 300 is possible.
[0099] (S53) The cluster monitor unit 320 outputs to the check result log 311 the fact that it has been determined that there is a fault in the interconnect network N12. (S54) The cluster monitor unit 320 creates a flag file 312 and stores it in the storage unit 310. Then, the active system forced shutdown process ends.
[0100] FIG. 11 is a flowchart showing an example of a network status confirmation process. The network status confirmation process corresponds to step S34. (S60) The cluster monitoring unit 320 executes a ping from the standby management network to the operational management network. Here, the standby management network is a network (e.g., subnet sn2) that exists in AZ2a2 and to which the standby instance 300 belongs. The operational management network is a network (e.g., subnet sn1) that exists in AZ2a1 and to which the operational instance 200 belongs. An ICMP (Internet Control Message Protocol) packet sent from the standby management network by executing the ping reaches the operational management network via, for example, management network N11.
[0101] (S61) The cluster monitor 320 determines whether or not there is a response to the ping. If there is a response to the ping, the process proceeds to step S62. If there is no response to the ping, the process proceeds to step S65.
[0102] (S62) The cluster monitor 320 determines that a fault has occurred in the API endpoint 600, that is, an API endpoint fault. (S63) The cluster monitor unit 320 outputs to the check result log 311 the fact that it has been determined that there is an API endpoint failure.
[0103] (S64) The cluster monitor unit 320 creates a flag file 312 and stores it in the storage unit 310. Then, the network status confirmation process ends. (S65) The cluster monitoring unit 320 accesses an external network service from the standby management network. The access to the external network service is performed, for example, by specifying a uniform resource locator (URL) of a service provided on the Internet (for example, the URL of a specific website).
[0104] (S66) The cluster monitor 320 determines whether or not access to the external network service was successful. If successful, the network status confirmation process ends. If not successful, the process proceeds to step S67.
[0105] (S67) The cluster monitor 320 determines that a network failure has occurred on the standby system side. (S68) The cluster monitor unit 320 outputs to the check result log 311 the fact that it has been determined that a network failure has occurred on the standby system side.
[0106] (S69) The cluster monitor unit 320 creates a flag file 312 and stores it in the storage unit 310. Then, the network status confirmation process ends. FIG. 12 is a flowchart illustrating an example of an active system status confirmation process.
[0107] The active system status confirmation process corresponds to step S36. (S70) The cluster monitoring unit 320 executes an API to check the status of the production instance 200. For example, in Amazon EC2, the cluster monitoring unit 320 can check the status of the production instance 200 via the API endpoint 600 by issuing an API “DescribeInstances” command.
[0108] (S71) The cluster monitor 320 acquires the result of the status check of the active instance 200 by the API endpoint 600, and determines whether or not the status of the active instance 200 can be acquired by the API based on the result of the status check. If the status of the active instance 200 can be acquired, the process proceeds to step S72. If the status of the active instance 200 cannot be acquired, the active instance status check process ends. Here, if the status check of the active instance 200 is successfully performed, the result of the status check includes information (tag key and tag value) of the tag that has been assigned to the active instance 200. The tag key of the tag is, for example, "AZFailureTest". The tag value is a timestamp of the previous tag assignment to the active instance 200. Here, the API endpoint 600 may respond to the API "DescribeInstances" command with the cached status of the active instance 200 (including information of tags that have been assigned in the past) even if the active instance 200 has stopped.
[0109] (S72) The cluster monitoring unit 320 executes an API to tag the operational instance 200. For example, in Amazon EC2, the cluster monitoring unit 320 can tag the operational instance 200 via the API endpoint 600 by issuing an API command "CreateTags." Here, when tagging, the cluster monitoring unit 320 sets the tag key to "AZFailureTest," for example, and the tag value to the current timestamp. If the operational instance 200 is stopped due to an AZ failure, the operational instance 200 cannot be tagged, and the tag information from the previous time when the tag was assigned is not updated.
[0110] (S73) The cluster monitoring unit 320 executes an API to check the status of the production instance 200. For example, the cluster monitoring unit 320 can check the status of the production instance 200 via the API endpoint 600 by issuing the above-mentioned API “DescribeInstances” command.
[0111] (S74) Cluster monitoring unit 320 determines whether the status of operational instance 200 can be acquired by the API and whether tagging of operational instance 200 has been successfully performed by the API. If the status of operational instance 200 can be acquired by the API and tagging of operational instance 200 has been successfully performed by the API, processing proceeds to step S75. If the status of operational instance 200 cannot be acquired by the API, or if the status of operational instance 200 can be acquired by the API but tagging has not been successfully performed, the operational system status confirmation processing ends.
[0112] Here, the cluster monitoring unit 320 judges whether tagging has been performed normally or not by comparing the timestamp t1 of the tag obtained as a result of the state check in step S70 with the timestamp t2 of the tag obtained as a result of the state check in step S73. That is, if the timestamp t2 has been updated relative to the timestamp t1, the cluster monitoring unit 320 judges that tagging has been performed normally. On the other hand, if the timestamp t2 has not been updated relative to the timestamp t1, the cluster monitoring unit 320 judges that tagging has not been performed normally.
[0113] (S75) The cluster monitor 320 determines that a failure has occurred in the active instance 200 (instance failure). (S76) The cluster monitor unit 320 outputs to the check result log 311 the fact that it has determined that the operational instance 200 has failed.
[0114] (S77) The cluster monitor 320 creates the flag file 312 and stores it in the storage unit 310. Then, the active system status confirmation process ends. FIG. 13 is a flowchart showing an example of a standby system status confirmation process.
[0115] The standby system state confirmation process corresponds to step S38. (S80) The cluster monitor 320 executes an API to check the status of the standby instance 300. For example, the cluster monitor 320 can check the status of the standby instance 300 via the API endpoint 600 by issuing the above-mentioned API “DescribeInstances” command.
[0116] (S81) The cluster monitor 320 obtains the result of the status check of the standby instance 300 by the API endpoint 600, and determines whether or not the status of the standby instance 300 can be obtained by the API based on the result of the status check. If the status of the standby instance 300 can be obtained, the process proceeds to step S82. If the status of the standby instance 300 cannot be obtained, the process proceeds to step S85. Here, if the status check of the standby instance 300 was successful, the result of the status check includes information about the tag (tag key and tag value) that has been assigned to the standby instance 300. The tag key of the tag is, for example, "AZFailureTest". The tag value is the timestamp of the previous time a tag was assigned to the standby instance 300.
[0117] (S82) The cluster monitoring unit 320 executes an API to tag the standby instance 300. For example, the cluster monitoring unit 320 issues the above-mentioned API command "CreateTags" to tag the standby instance 300 via the API endpoint 600. Here, when tagging, the cluster monitoring unit 320 sets the tag key to "AZFailureTest", for example, and the tag value to the current timestamp.
[0118] (S83) The cluster monitoring unit 320 executes an API to check the status of the standby instance 300. For example, the cluster monitoring unit 320 can check the status of the standby instance 300 via the API endpoint 600 by issuing the above-mentioned API command “DescribeInstances.”
[0119] (S84) The cluster monitor 320 determines whether the status of the standby instance 300 can be obtained by the API and whether the standby instance 300 has been successfully tagged by the API. If the status of the standby instance 300 can be obtained by the API and whether the standby instance 300 has been successfully tagged by the API, the process proceeds to step S85. If the status of the standby instance 300 cannot be obtained by the API, or if the status of the standby instance 300 can be obtained by the API but tagging was not successfully performed, the standby instance status confirmation process ends.
[0120] Here, the cluster monitoring unit 320 judges whether tagging has been performed normally or not by comparing the timestamp t3 of the tag obtained as a result of the state check in step S80 with the timestamp t4 of the tag obtained as a result of the state check in step S83. That is, if the timestamp t4 has been updated relative to the timestamp t3, the cluster monitoring unit 320 judges that tagging has been performed normally. On the other hand, if the timestamp t4 has not been updated relative to the timestamp t3, the cluster monitoring unit 320 judges that tagging has not been performed normally.
[0121] (S85) The cluster monitor 320 determines that an API endpoint failure has occurred. (S86) The cluster monitor unit 320 outputs to the check result log 311 the fact that it has been determined that there is an API endpoint failure.
[0122] (S87) The cluster monitor unit 320 creates a flag file 312 and stores it in the storage unit 310. Then, the standby system status confirmation process ends. In this way, the standby instance 300 can quickly identify the cause of the failure in the operational instance 200. For example, the standby instance 300 can quickly identify that the operational instance 200 has definitely stopped due to a failure in AZ2a1. Furthermore, the standby instance 300 can be controlled not to switch an application from the operational instance 200 to the standby instance 300 unless it is confirmed that the operational instance 200 has definitely stopped. This allows the standby instance 300 to safely switch from the operational instance 200 to the standby instance 300 while reducing the risk of data corruption in the storages 400 and 500.
[0123] In addition, the above procedure can be executed regardless of the state of the production instance 200 and AZ 2a1 because it is a process executed by the standby instance 300. Furthermore, the standby instance 300 can automatically identify the occurrence of an AZ failure.
[0124] Here, as a first comparative example of a method for identifying AZ failures, it is possible for a user to periodically check official information on cloud services to identify AZ failures. However, in the method of the first comparative example, the time until the official information is released must be taken into consideration, and it is not always possible to respond immediately after the occurrence of a failure. Furthermore, in this case, business recovery must be performed manually by the user. Therefore, this is not realistic for mission-critical systems. In addition, it is time-consuming for the user to periodically access and check the official information.
[0125] On the other hand, the standby instance 300 can automatically detect an AZ failure, which saves the user the trouble of identifying the AZ failure by checking official information of the cloud service. In this way, the standby instance 300 can reduce the burden on the user and can immediately detect an AZ failure.
[0126] As a second comparative example, a method is also conceivable in which alive monitoring between two nodes in a cluster configuration is performed using heartbeats, and an abnormality is detected only by the interruption of the heartbeat, and then switching to the standby system is performed. However, heartbeat interruptions occur not only due to AZ failures, but also due to OS failures and network failures, so it may be difficult to distinguish between these events and AZ failures. Furthermore, in the case of an AZ failure, communication with the API is cut off, so a forced stop by power cut cannot be performed, and the instance status of the system with the abnormality cannot be confirmed. For this reason, if an application is executed on the standby system, there is a risk of data destruction due to data access from both the operational system and the standby system, and switching to the standby system cannot be performed.
[0127] On the other hand, the standby instance 300 can detect the occurrence of an abnormality due to an AZ failure even if the state of the production instance 200 cannot be confirmed by API. Therefore, the standby instance 300 can safely switch to the standby instance 300 even if it cannot be confirmed that the production instance 200 has been powered off due to an AZ failure or in the case of a synchronous forced stop method.
[0128] As described above, the standby instance 300 executes the following processes. The processes performed by the cluster monitor 320 can be said to be processes executed by a processor functioning as the cluster monitor 320.
[0129] When the heartbeat with the operational instance 200 is cut off, the cluster monitor 320 forcibly stops the operational instance 200. When the cluster monitor 320 fails to forcibly stop the operational instance 200, it issues a command to assign tags to each of the operational instance 200 and the standby instance 300. The cluster monitor 320 identifies that a failure has occurred in AZ2a1 based on the execution result of the command. This enables the standby instance 300 to quickly identify the occurrence of an AZ failure on the operational side, that is, a zone failure. Here, the operational instance 200 is an example of an operational node 10. The standby instance 300 is an example of a standby node 20. AZ2a1 is an example of a first zone Z1.
[0130] Specifically, the cluster monitor 320 determines whether or not a tag cannot be normally assigned to the production instance 200 and whether or not a tag can be normally assigned to the standby instance 300. If the result of the determination is true, the cluster monitor 320 determines that a failure has occurred in AZ2a1, which enables the standby instance 300 to appropriately identify the occurrence of an AZ failure on the production side.
[0131] Furthermore, if the cluster monitor 320 can normally assign a tag to the operational instance 200, it determines that a failure has occurred not in AZ 2a1 but in the operational instance 200 alone, i.e., an instance failure. This allows the standby instance 300 to distinguish between an AZ failure on the operational side and an instance failure in the operational instance 200.
[0132] Furthermore, when the cluster monitor 320 fails to forcibly stop the active instance 200, it may check communication, such as by pinging, with the network in AZ 2a1 to which the active instance 200 belongs before issuing a tagging command. The cluster monitor 320 may determine whether or not there is a response to the communication check, and may determine that no failure has occurred in AZ 2a1 if there is a response to the communication check. This allows the standby instance 300 to appropriately identify that no AZ failure has occurred on the active side.
[0133] Furthermore, when there is a response to the above-mentioned communication check, the cluster monitor 320 may determine that a failure has occurred in the API endpoint 600 that accepts an instruction to execute a forced stop of the production instance 200. This enables the cluster monitor 320 to identify the failure in the API endpoint 600.
[0134] Furthermore, if there is no response to the above-mentioned communication confirmation, the cluster monitoring unit 320 judges whether or not a specific external network service can be accessed. If the external network service cannot be accessed, the cluster monitoring unit 320 judges that a failure has occurred in the network in AZ2a2 to which the standby instance 300 belongs. This enables the standby instance 300 to identify the failure in the standby network. Here, AZ2a2 is an example of the second zone Z2.
[0135] Furthermore, when the cluster monitor 320 can access the external network service, it may issue a command to assign tags to each of the operational instance 200 and the standby instance 300. When the cluster monitor 320 is unable to properly assign a tag to the operational instance 200 and is unable to properly assign a tag to the standby instance 300, it may determine that a failure has occurred in the API endpoint 600 that accepts the command. This enables the standby instance 300 to identify the failure in the API endpoint 600.
[0136] Furthermore, if the forced stop of the active instance 200 is successful, the cluster monitor 320 determines that no failure has occurred in AZ2a1. This allows the standby instance 300 to properly identify that no AZ failure has occurred on the active side. For example, if the forced stop of the active instance 200 is successful, the cluster monitor 320 may determine that a failure has occurred in the interconnect network N12, which is a network for heartbeats. This allows the cluster monitor 320 to properly isolate the cause of the heartbeat interruption.
[0137] Furthermore, the cluster monitoring unit 320 may output information indicating the identified cause of the failure. For example, the cluster monitoring unit 320 may transmit information indicating the identified cause of the failure to the terminal device 4 and present the information to the user. This allows the standby instance 300 to assist the user in quickly grasping the cause of the failure.
[0138] Furthermore, when the cluster monitor 320 identifies an AZ failure in AZ2a1, since the production instance 200 is stopped, the cluster monitor 320 may take over the execution of the application in the production instance 200. This allows the standby instance 300 to improve the availability of the operation of the application.
[0139] The information processing of the first embodiment can be realized by causing the processing unit 12 to execute a program. The information processing of the second embodiment can be realized by causing the processor 101 to execute a program. The program can be recorded in a computer-readable recording medium 113.
[0140] For example, the program can be distributed by distributing recording medium 113 on which the program is recorded. Alternatively, the program may be stored in another computer and distributed via a network. The computer may store (install) the program recorded in recording medium 113 or a program received from another computer in a storage device such as RAM 102 or HDD 103, and read and execute the program from the storage device. [Explanation of symbols]
[0141] 1 Cluster System 10 Operational node 11,21 Storage section 12,22 Processing section 20 Standby node 30 API management nodes 40 Storage N1 Network 1 N2 Second Network Z1 1st Zone Z2 Second Zone
Claims
1. A computer that operates as a standby node in a cluster system including an operational node that operates in a first zone having one or more first data centers and a standby node that operates in a second zone having one or more second data centers, if the heartbeat with the operational node is interrupted, the operational node is forcibly stopped, and if the forcible stopping of the operational node fails, a command is issued to attach a tag to each of the operational node and the standby node; Identifying that a failure has occurred in the first zone based on a result of the execution of the command. A program that executes a process.
2. In the identification, it is determined whether or not the tagging of the operational node cannot be normally performed and whether or not the tagging of the standby node can be normally performed, and if the result of the determination is true, it is determined that a failure has occurred in the first zone. The program according to claim 1, which causes the computer to execute a process.
3. In the identification, if the tag can be normally assigned to the operational node, it is determined that a failure has occurred in the operational node alone, not in the first zone. The program according to claim 2, which causes the computer to execute a process.
4. if the forced shutdown of the operational node fails, before issuing the command, a communication check is performed on the network to which the operational node belongs in the first zone, and it is determined whether or not there is a response to the communication check, and if there is a response to the communication check, it is determined that no failure has occurred in the first zone. The program according to claim 1, which causes the computer to execute a process.
5. If there is a response to the communication confirmation, it is determined that a failure has occurred in an API (Application Programming Interface) endpoint that accepts an instruction to execute a forced shutdown of the operational node.
5. The program according to claim 4, which causes the computer to execute a process.
6. if there is no response to the connectivity check, determine whether or not a predetermined external network service can be accessed, and if the external network service cannot be accessed, determine that a failure has occurred in the network to which the standby node belongs in the second zone.
5. The program according to claim 4, which causes the computer to execute a process.
7. issuing the command if the external network service is accessible; In the identification, if the tag cannot be normally assigned to the operational node and the tag cannot be normally assigned to the standby node, it is determined that a failure has occurred in an API endpoint that accepts the command.
7. The program according to claim 6, which causes the computer to execute a process.
8. If the forced shutdown of the operational node is successful, it is determined that no failure has occurred in the first zone. The program according to claim 1, which causes the computer to execute a process.
9. A cluster system including an operational node operating in a first zone having one or more first data centers and a standby node operating in a second zone having one or more second data centers, if the heartbeat with the operational node is interrupted, the operational node is forcibly stopped, and if the forcible stopping of the operational node fails, a command is issued to attach a tag to each of the operational node and the standby node; Identifying that a failure has occurred in the first zone based on a result of the execution of the command. Information processing methods.
10. A system having an operational node operating in a first zone having one or more first data centers and a standby node operating in a second zone having one or more second data centers, when the heartbeat with the operational node is cut off, the standby node forcibly stops the operational node, and when the forcible stopping of the operational node fails, issues a command to assign a tag to each of the operational node and the standby node, and identifies that a failure has occurred in the first zone based on the execution result of the command. Cluster system.
Citation Information
Patent Citations
Cluster system, cluster server and cluster control method
JP2010103695A
Cross-cloud management and troubleshooting
WO2012162171A2
Cluster system, cluster system control method, server device, control method, and non-transitory computer-readable medium having program stored therein
WO2019049433A1
