Expansion device arbitration device, expansion device arbitration method, failure recovery system device, program, and recording medium

The expansion device arbitration device addresses the issue of all devices becoming unusable on a card by isolating and recovering individual devices using failure detection, disconnection, and recovery determination units, enhancing system availability.

JP7548559B2Active Publication Date: 2024-09-10NEC SOLUTION INNOVATORS LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2020177864
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-10-23
Publication Date
2024-09-10
Estimated Expiration
2040-10-23

AI Technical Summary

Technical Problem

Existing systems fail to differentiate between failed and non-failed expansion devices on a card, causing all devices on the same card to become temporarily unusable when a failure occurs.

Method used

An expansion device arbitration device with failure detection, disconnection, installation, and recovery determination units to isolate and recover individual expansion devices, using thresholds and priorities to manage failures.

Benefits of technology

This approach allows localized recovery of individual expansion devices, reducing system-wide disruptions and improving system availability by isolating and recovering failed devices efficiently.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000017_0000
    Figure 00000017_0000
  • Figure 00000017_0001
    Figure 00000017_0001
  • Figure 00000017_0002
    Figure 00000017_0002
Patent Text Reader

Abstract

To provide an expansion device arbitration apparatus and method, a failure recovery system apparatus, a program, and a recording medium that detect and recover a fault for each expansion device in an expansion card including a plurality of expansion devices.SOLUTION: An arbitration apparatus 10 comprises a fault detection section, an expansion device cut-off section, an expansion device built-in section, and a recovery decision section. The fault detection section detects a fault occurred in multiple expansion devices that an expansion card connected to a main unit comprises. The expansion device cut-off section cuts off from the main unit an expansion device with a fault when a fault in the expansion device is detected. The expansion device built-in section integrates an expansion device after restoration processing after restoration processing of the expansion device with a fault into the main unit. The recovery decision section determines whether the integrated expansion device is recovered. The expansion device cut-off section cuts off the expansion device again in the case where the recovery decision section determines that the integrated expansion device is not recovered.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an expansion device arbitration apparatus, an expansion device arbitration method, a failure recovery system apparatus, a program, and a recording medium. [Background technology]

[0002] Within a computer, various bus or internal interface standards are known that connect a main unit such as a CPU (Central Processing Unit) to an I / O (Input / Output) device, such as AGP (Accelerated Graphics Port), SATA (Serial ATA), PCI (Peripheral Component Interconnect), and PCI-e (Peripheral Component Interconnect-Express).

[0003] There is known a system that detects a failure in an expansion card connected to the internal interface and performs recovery (Patent Documents 1 and 2). [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2011-128795 A [Patent Document 2] JP 2019-159439 A Summary of the Invention [Problem to be solved by the invention]

[0005] In the technologies disclosed in Patent Documents 1 and 2, failure detection and recovery are performed on an expansion card basis. Therefore, when multiple expansion devices are mounted on the expansion card, there is a problem that not only the expansion device where the failure occurred, but all expansion devices on the same card become temporarily unavailable.

[0006] Therefore, an object of the present invention is to provide an expansion device arbitration apparatus, arbitration method, failure recovery system apparatus, program, and recording medium that can detect failures in expansion devices and perform recovery on an expansion device basis in an expansion card equipped with multiple expansion devices. [Means for solving the problem]

[0007] In order to achieve the above object, the expansion device arbitration apparatus of the present invention includes a fault detection unit, an expansion device separation unit, an expansion device integration unit, and a recovery determination unit, The failure detection unit detects failures in a plurality of expansion devices included in an expansion card connected to a main unit, the expansion device disconnection unit disconnects the failed expansion device from the main unit when a failure of the expansion device is detected; the expansion device incorporating unit incorporates the expansion device after the recovery process of the failed expansion device into the main unit; the recovery determination unit determines whether or not the incorporated expansion device has been recovered, The expansion device disconnection unit is an apparatus characterized in that, when the recovery determination unit determines that the incorporated expansion device has not been recovered, the expansion device disconnection unit disconnects the expansion device again.

[0008] The arbitration method of the present invention includes a failure detection step, an expansion device isolation step, an expansion device installation step, and a recovery determination step. The fault detection step detects faults in a plurality of expansion devices provided in an expansion card connected to a main unit, The expansion device disconnecting step disconnects the failed expansion device from the main unit when a failure in the expansion device is detected, the expansion device incorporating step comprises, after recovery processing of the failed expansion device, incorporating the expansion device after the recovery processing into the main unit; The recovery determination step determines whether or not the installed expansion device has been recovered, The expansion device disconnecting step is a method characterized in that, when the recovery determination step determines that the incorporated expansion device has not been recovered, the expansion device is disconnected again.

[0009] The disaster recovery system of the present invention includes a main unit and an expansion card. the main unit includes an arbitration device for expansion devices; the expansion card includes a plurality of expansion devices; the main unit, the expansion card, and the arbitration device for the expansion device are connectable to each other via their respective I / Fs; The expansion device arbitration device is a system device which is the expansion device arbitration device of the present invention.

[0010] The program of the present invention is a program for causing a computer to execute a fault detection procedure, an expansion device disconnection procedure, an expansion device installation procedure, and a recovery determination procedure, The fault detection step includes detecting faults in a plurality of expansion devices included in an expansion card connected to a main unit, The expansion device disconnection procedure includes, when a failure of the expansion device is detected, disconnecting the failed expansion device from the main unit; the expansion device incorporating step comprises, after recovery processing of the failed expansion device, incorporating the expansion device after the recovery processing into the main unit; The recovery determination step determines whether or not the installed expansion device has been recovered, The expansion device disconnection procedure is a program characterized in that, when it is determined by the recovery determination procedure that the incorporated expansion device has not been restored, the expansion device is disconnected again.

[0011] The recording medium of the present invention is a computer-readable recording medium having the program of the present invention recorded thereon. Effect of the Invention

[0012] According to the present invention, in a system having an expansion card with a plurality of expansion devices, it is possible to detect and recover from a failure on an expansion device basis. [Brief description of the drawings]

[0013] [Figure 1] FIG. 1 is a block diagram illustrating a configuration of an example of the arbitration device according to the first embodiment. [Diagram 2] FIG. 2 is a block diagram illustrating an example of a hardware configuration of the reconciliation device according to the first embodiment. [Diagram 3] FIG. 3 is a flowchart illustrating an example of processing in the arbitration device of the first embodiment. [Figure 4] FIG. 4 is a block diagram illustrating a configuration of an example of the arbitration device according to the second embodiment. [Diagram 5] FIG. 5 is a flowchart illustrating an example of processing in the arbitration device of the second embodiment. [Figure 6] FIG. 6 is a flowchart illustrating another example of the process in the arbitration device of the second embodiment. [Figure 7] FIG. 7 is a schematic diagram illustrating a configuration of an example of a failure recovery system device including the arbitration device of the first embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] The expansion device arbitration apparatus of the present invention may be configured such that, for example, the failure detection unit detects a failure in the expansion device by at least one process selected from the group consisting of the following (1) to (3). (1) Receive expansion device failure information from the main unit. (2) The failure detection unit accesses the expansion device and detects a failure. (3) Receive expansion device failure information from the expansion device.

[0015] The extended device arbitration apparatus of the present invention further includes, for example, a storage unit, the storage unit stores a recovery threshold for each of the expansion devices, The recovery threshold is the number of times recovery of the expansion device is performed, The expansion device incorporating section does not incorporate into the main unit an expansion device in which a failure has been detected by the failure detection section exceeding the restoration threshold. The above embodiment may be adopted.

[0016] The expansion device arbitration device of the present invention includes, for example, an expansion card removal unit and an expansion card installation unit, the expansion card disconnection unit disconnects the expansion card including the expansion device when the expansion device disconnection unit disconnects all of the expansion devices; the expansion card installation unit installs the expansion card after the recovery process into the main unit after the recovery process of the expansion card; The recovery determination unit determines whether the installed expansion card has been recovered. The above embodiment may be adopted.

[0017] The expansion device arbitration device of the present invention includes, for example, a storage unit, an expansion card removal unit, and an expansion card installation unit, the storage unit stores, for each of the expansion devices, a priority level regarding the disconnection of the expansion card and an expansion card disconnection threshold value; the expansion card disconnection threshold is a threshold for determining whether or not to disconnect an expansion card including an expansion device in which a failure has occurred, the expansion card disconnection unit disconnects an expansion card including the expansion device when the priority of the expansion device determined by the recovery determination unit to have failed in recovery exceeds the expansion card disconnection threshold; the expansion card installation unit installs the expansion card after the recovery process into the main unit after the recovery process of the expansion card; The recovery determination unit determines whether the installed expansion card has been recovered. The above embodiment may be adopted.

[0018] In the arbitration method of the present invention, for example, the failure detection step may detect a failure in the expansion device by at least one process selected from the group consisting of the following (1) to (3). (1) receiving expansion device fault information from the main unit; (2) accessing the expansion device to detect a failure by the failure detection step; (3) Receive expansion device failure information from the expansion device.

[0019] The arbitration method of the present invention uses, for example, a recovery threshold for each expansion device, The recovery threshold is the number of times recovery of the expansion device is performed, The expansion device incorporating step includes not incorporating into the main unit an expansion device in which a failure is detected by the failure detection step that exceeds the restoration threshold. The above embodiment may be adopted.

[0020] The arbitration method of the present invention includes, for example, an expansion card removal step and an expansion card installation step, the expansion card disconnecting step disconnects the expansion card including the expansion device when all of the expansion devices have been disconnected in the expansion device disconnecting step; the expansion card incorporating step comprises, after the expansion card is restored, incorporating the restored expansion card into the main unit; The recovery determination step determines whether the installed expansion card has been recovered. The above embodiment may be adopted.

[0021] The arbitration method of the present invention includes, for example, an expansion card removal step and an expansion card installation step, Using a priority for disconnecting the expansion card and an expansion card disconnection threshold, the expansion card disconnection threshold is a threshold for determining whether or not to disconnect an expansion card including an expansion device in which a failure has occurred, the expansion card disconnecting step disconnects an expansion card including the expansion device when the priority of the expansion device determined to have failed in recovery by the recovery determining step exceeds an expansion card disconnection threshold; the expansion card incorporating step comprises, after the expansion card is restored, incorporating the restored expansion card into the main unit; The recovery determination step determines whether the installed expansion card has been recovered. The above embodiment may be adopted.

[0022] In the program of the present invention, for example, the failure detection step detects a failure in the expansion device by at least one process selected from the group consisting of the following (1) to (3): The above embodiment may be adopted. (1) receiving expansion device fault information from the main unit; (2) accessing the expansion device to detect a failure according to the failure detection procedure; (3) Receive expansion device failure information from the expansion device.

[0023] The program of the present invention uses, for example, a recovery threshold value for each expansion device, The recovery threshold is the number of times recovery of the expansion device is performed, The expansion device incorporating step includes not incorporating into the main unit an expansion device in which a failure is detected by the failure detection step that exceeds the restoration threshold. The above embodiment may be adopted.

[0024] The program of the present invention includes, for example, an expansion card removal procedure and an expansion card installation procedure, the expansion card disconnection step disconnects the expansion card including the expansion device when all of the expansion devices have been disconnected by the expansion device disconnection step; the step of incorporating the expansion card includes, after a recovery process for the expansion card, incorporating the expansion card after the recovery process into the main unit; The recovery determination step determines whether the installed expansion card has been recovered. The above embodiment may be adopted.

[0025] The program of the present invention includes, for example, an expansion card removal procedure and an expansion card installation procedure, using a priority for disconnection of the expansion card for each expansion device and an expansion card disconnection threshold; the expansion card disconnection threshold is a threshold for determining whether or not to disconnect an expansion card including an expansion device in which a failure has occurred, the expansion card disconnection step disconnects an expansion card including the expansion device when the priority of the expansion device determined to have failed to be restored by the restoration determination step exceeds an expansion card disconnection threshold; the step of incorporating the expansion card includes, after a recovery process for the expansion card, incorporating the expansion card after the recovery process into the main unit; The recovery determination step determines whether the installed expansion card has been recovered. The above embodiment may be adopted.

[0026] In the present invention, an expansion card is, for example, a component that is bus-connected to a main unit and expands the functions of the main unit. The connection standard is not particularly limited, and examples include AGP, SATA, PCI, PCIe, etc. Also, in the present invention, an expansion device is a device that is placed on the expansion card and controls functions. When the connection standard is, for example, PCI or PCIe, the expansion card is also called a PCI card or PCIe card, and the expansion device is also called a PCI device, PCIe device, or endpoint.

[0027] The embodiments of the present invention will be described with reference to the drawings. The present invention is not limited to the following embodiments. In each of the drawings, the same parts are given the same reference numerals. In addition, the explanations of each embodiment can be mutually incorporated unless otherwise specified, and the configurations of each embodiment can be combined unless otherwise specified.

[0028] [Embodiment 1] Fig. 1 is a block diagram showing an example of the configuration of an arbitration device 10 (hereinafter, also referred to as the present device 10) of this embodiment. As shown in Fig. 1, the present device 10 includes a failure detection unit 11, an expansion device separation unit 12, an expansion device installation unit 13, and a recovery determination unit 14. The present device 10 may also include, for example, a storage unit (not shown) as an optional component.

[0029] The device 10 may be, for example, a single device including each of the above-mentioned units, or a device to which each of the above-mentioned units can be connected via a communication line network. The device 10 may also be connected to an external device, which will be described later, via the communication line network. The communication line network is not particularly limited, and any known network may be used, for example, wired or wireless. Examples of the communication line network include an Internet line, a WWW (World Wide Web), a telephone line, a LAN (Local Area Network), a SAN (Storage Area Network), and a DTN (Delay Tolerant Networking). Examples of wireless communication include WiFi (Wireless Fidelity) and Bluetooth (registered trademark). The wireless communication may be either a form in which each device directly communicates (Ad Hoc communication) or an indirect communication via an access point. The device 10 may be incorporated into a server as a system, for example.

[0030] 2 illustrates an example block diagram of the hardware configuration of the present device 10. The present device 10 includes, for example, a central processing unit (CPU, GPU, etc.) 101, a memory 102, a bus 103, an input device 104, a display device 105, a communication device 106, and a storage unit 107. Each unit in the hardware configuration of the present device 10 is connected to each other via the bus 103 by its respective interface (I / F).

[0031] A central processing unit (Central Processing Unit) 101 is responsible for overall control of the device 10. In the device 10, the central processing unit 101 executes, for example, the program of the present invention and other programs, and also reads and writes various types of information. Specifically, for example, the central processing unit 101 functions as a fault detection unit 11, an expansion device separation unit 12, an expansion device installation unit 13, and a recovery determination unit 14.

[0032] The device 10 can be connected to a main unit and an expansion card, for example, via a bus 103. The main unit and the expansion card will be described later. The bus 103 can also be connected to an external device, for example. Examples of the external device include an external database and a printer. The device 10 can be connected to the communication network, for example, via a communication device 106 connected to the bus 103, and can also be connected to an external device via the communication network. In addition, for example, when a disaster recovery system device of the present invention, which will be described later, includes multiple arbitration devices 10, the device 10 may be able to communicate with the other arbitration devices 10, for example, via the communication device 106.

[0033] An example of the memory 102 is a main memory (primary storage device). When the central processing unit 101 performs processing, the memory 102 reads various operation programs, such as the program of the present invention, stored in the storage unit 107 described below, and the central processing unit 101 receives data from the memory 102 and executes the program. The main memory is, for example, a RAM (random access memory). The memory 102 may also be, for example, a ROM (read only memory).

[0034] The storage unit 107 is also called an auxiliary storage device, for example, in contrast to the main memory (primary storage device). As described above, the storage unit 107 stores an operation program including the program of the present invention. The storage unit 107 may be, for example, a combination of a recording medium and a drive for reading and writing from and to the recording medium. The recording medium is not particularly limited, and may be, for example, an internal or external type, such as a HD (hard disk), a CD-ROM, a CD-R, a CD-RW, an MO, a DVD, a flash memory, or a memory card. The storage unit 107 may be, for example, a hard disk drive (HDD) in which a recording medium and a drive are integrated, or a solid state drive (SSD). In addition, when the device 10 includes the storage unit, for example, the storage unit 107 functions as the storage unit. In this case, the storage unit 107 may store a recovery threshold. The recovery threshold is, for example, the number of times recovery of the expansion device is performed. The recovery threshold may be, for example, a different number of times for each expansion device. In this case, the recovery threshold can be appropriately set, for example, according to the priority of the expansion device. Specifically, for example, the recovery threshold can be set higher for a device that is relatively more important.

[0035] In the present device 10, the memory 102 and storage unit 107 can also store access information and log information from an administrator, as well as information acquired from an external database (not shown).

[0036] The device 10 further includes, for example, an input device 104 and a display device 105. The input device 104 is, for example, a touch panel, a keyboard, a mouse, etc. The display device 105 is, for example, an LED display, a liquid crystal display, etc.

[0037] FIG. 7 shows an example of a configuration of a disaster recovery system device including the arbitration device 10 of the present embodiment. FIG. 7 is a schematic diagram showing an example of a configuration of a disaster recovery system device 20 of the present embodiment. As shown in FIG. 7, the disaster recovery system device 20 of the present embodiment includes a main unit 21, a bus 22, and a PCI card 23 as an expansion card. The main unit 21 and the PCI card 23 are connected through the bus 22 via their respective I / Fs, and can communicate with each other. Note that in FIG. 7, the main unit 21 includes the arbitration device 10, but the arbitration device 10 may be connected to the bus 22 as a member independent of the main unit. In this case, the arbitration device 10 can also communicate with the main unit 21 and the PCI card 23 through the bus 22 via its I / F. Note that in FIG. 7, the system device 20 includes a PCI card as the expansion card, and PCI devices A and B as the expansion devices, but in the system device of the present invention, the expansion cards and the expansion devices are not limited to those of the PCI standard, as described above.

[0038] The main unit 21 is a unit that mainly controls the system device 20, and includes an OS / bus driver, an I / F, the arbitration device 10 of the present invention, and the like.

[0039] The PCI card (expansion card) 23 is connected to the main unit 21 via the bus 22. The PCI card 23 includes, for example, a PCI switch 231, a PCI device 232A, and a PCI device 232B. The PCI switch 231 is, for example, a device for increasing the number of PCI devices that can be connected on the PCI card 23. The PCI devices 232A and 232B are, for example, connected to the PCI switch 231 via their respective I / Fs on the PCI card 23, and are connected to the main unit 21 via the PCI switch 231. Note that, although the number of PCI devices 232 included in the PCI card 23 in FIG. 7 is two, this is not limiting and there may be more than two.

[0040] Next, an example of the arbitration method of the present invention will be described with reference to the flowchart of Fig. 3. The arbitration method of this embodiment is implemented as follows, for example, using the system device 20 of Fig. 7 that includes the arbitration device 10 of Figs. 1 and 2. Note that the arbitration method of this embodiment is not limited to use of the system device 20 of Fig. 7 that includes the arbitration device 10 of Figs. 1 and 2.

[0041] First, the fault detection unit 11 detects faults in a plurality of expansion devices equipped in an expansion card connected to the main unit (S11, fault detection step). The fault can be detected, for example, by at least one process selected from the group consisting of the following (1) to (3). The selection and combination of the following processes (1) to (3) is not particularly limited, and an appropriate one can be selected, for example, depending on the requirements and implementation method of a computer system equipped with the arbitration device of the present invention. Note that the fault detection method by the fault detection unit 11 is not limited to the following processes (1) to (3), and for example, a known fault detection method can be appropriately adopted, depending on the requirements and implementation method of a computer system equipped with the arbitration device of the present invention. (1) Receive expansion device failure information from the main unit. (2) The failure detection unit accesses the expansion device and detects a failure. (3) Receive expansion device failure information from the expansion device.

[0042] The process (1) is, for example, a process in which the main unit detects a path failure to the expansion device via the expansion device I / F of the main unit. If the connection standard of the expansion device is PCI or PCIe, the process (1) can employ, for example, a detection method conforming to the PCI(e)Spec. When the main unit detects a path failure to the expansion device, the main unit transmits the expansion device failure information to the failure detection unit 11 of the arbitration device 10 of the present invention, and the failure detection unit 11 of the arbitration device 10 detects the failure in the expansion device by receiving the expansion device failure information. The expansion device failure information is, for example, information that means that a failure has occurred in the expansion device.

[0043] The process of (2) above is, for example, a process in which the failure detection unit 11 periodically performs read access to the expansion device via the I / F of the expansion device to a degree that does not affect the performance of the expansion device, and detects read failures. In the process of (2) above, the failure detection unit 11 determines that the device in which the read failure was detected is the expansion device in which a failure has occurred.

[0044] In the process of (3), for example, a driver for the expansion device performs a fault detection process specific to the expansion device and a recovery process, and if the recovery process fails, the driver transmits the expansion device fault information to the fault detection unit 11 of the arbitration device 10, and the fault detection unit 11 detects a fault in the expansion device by receiving the expansion device fault information. It is preferable to employ the process of (3) when the driver for the expansion device can be changed, for example.

[0045] Next, if a failure in the expansion device is detected, the expansion device disconnection unit 12 disconnects the failed expansion device from the main unit (S12, expansion device disconnection step). The "disconnecting an expansion device" refers to, for example, removing the driver for the device from the main unit and disabling the access path to the expansion device, thereby making the expansion device inaccessible.

[0046] Then, recovery processing is performed on the separated expansion device using a known recovery processing means. The recovery processing may, for example, be processing to initialize or restart the expansion device in response to an instruction from the main unit. Also, for example, if the expansion device itself is an expansion device equipped with a recovery processing function, the recovery processing may be performed by the expansion device itself.

[0047] Next, after recovering the failed expansion device, the expansion device installation unit 13 installs the recovered expansion device into the main unit (S13, expansion device installation step). The term "installing an expansion device" refers to, for example, installing the driver for the removed expansion device into the main unit and enabling an access path to the expansion device, thereby making it possible to access the expansion device.

[0048] Next, the recovery determination unit 14 determines whether the incorporated expansion device has been restored (S14, recovery determination step). The recovery determination can be determined, for example, based on whether read access is possible for the incorporated expansion device (success or failure of read access) and whether the driver installation has been successful (success or failure of driver installation). Specifically, the recovery determination unit 14 first attempts a read access to the incorporated expansion device. If the read access fails, the recovery determination unit 14 determines that the incorporated expansion device has failed to be restored. If the read access is successful, the recovery determination unit 14 then determines whether the driver installation has been successful. If the driver installation has failed, the recovery determination unit 14 determines that the expansion device has failed to be restored, and if the driver installation has been successful, the recovery determination unit 14 determines that the expansion device has been successfully restored. If the recovery determination unit 14 determines that the driver installation has been successful, it may further check the normality of the expansion device, for example. In this case, the recovery determination unit 14 determines that the expansion device has been successfully recovered if, in addition to the success of the read access and the success of the driver installation, the normality of the expansion device is confirmed. Note that in the case of a driver that does not check the normality of the expansion device when the driver is installed, and if the failure detected in the failure detection process is of a type that cannot be determined whether the expansion device has been recovered by checking the normality of the expansion device when the driver is installed, for example, the normality of the expansion device is not checked, and the recovery of the expansion device may be determined by judging whether the read access was successful and whether the driver was successfully installed.

[0049] If it is determined in the recovery judgment step that the incorporated expansion device has not been recovered (S14, No), the expansion device is again detached by the expansion device detachment unit 12, and steps S12 to S14 are repeated. At this time, if the recovery threshold is stored in the memory unit of this apparatus 10, the expansion device incorporation step may not be performed for an expansion device in which a failure was detected in the failure detection step beyond the recovery threshold, i.e., for an expansion device in which the recovery threshold was exceeded and the processing of steps S12 to S14 was repeated, the processing may be terminated. On the other hand, if it is determined in the recovery judgment step that the expansion device has been recovered (S14, Yes), the processing is terminated (END).

[0050] The expansion device arbitration method of this embodiment makes it possible to detect and recover from failures on an expansion device basis in a system equipped with an expansion card that has multiple expansion devices. Therefore, according to this invention, for example, the impact of a failure in an expansion device on the entire system can be more localized, thereby improving system availability.

[0051] [Embodiment 2] The arbitration device of this embodiment is similar to that of the first embodiment, except that it further includes an expansion card removal unit and an expansion card installation unit.

[0052] Fig. 4 is a block diagram showing an example of the configuration of the arbitration device 10A of this embodiment. As shown in Fig. 4, the arbitration device 10A further includes an expansion card detachment unit 15 and an expansion card insertion unit 16 in addition to the components of the arbitration device 10 of the embodiment. The hardware configuration of the arbitration device 10A is similar to that of the arbitration device 10 of Fig. 2, except that the central processing unit 101 further functions as the expansion card detachment unit 15 and the expansion card insertion unit 16 in addition to the components of the arbitration device 10 of Fig. 2.

[0053] Next, the arbitration method of the second embodiment will be described with reference to the flowchart of Fig. 5. The arbitration method of the second embodiment can be implemented, for example, by using the arbitration device 10A of the second embodiment shown in Fig. 4. Note that the arbitration method of the second embodiment is not limited to the use of the arbitration device 10A.

[0054] First, steps S11 to S13 are carried out in the same manner as steps S11 to S13 in the arbitration method of the first embodiment.

[0055] Next, the recovery determination unit 14 determines whether the incorporated expansion device has been recovered (S114). If the incorporated expansion device has been recovered (S14, Yes), the process ends (END). On the other hand, if the incorporated expansion device has not been recovered (S14, No), the expansion device disconnection unit 12 disconnects the expansion device again (S12', expansion device disconnection step).

[0056] Next, the expansion card disconnection unit 15 determines whether all of the expansion devices equipped in the expansion card have been disconnected (S15A), and if there are any expansion devices that have not been disconnected (S15A, No), the process of S11 to S14 is repeated. On the other hand, if all of the expansion devices equipped in the expansion card have been disconnected (S15A, Yes), the expansion card disconnection unit 15 disconnects the expansion card (S15B, expansion card disconnection step).

[0057] Then, a recovery process is performed on the separated expansion card by a known recovery process means. The recovery process may be, for example, a process of initializing or restarting the expansion card in response to an instruction from the main unit. Also, for example, if the expansion card itself has a recovery process function, the expansion card itself may perform the recovery process.

[0058] Next, after the expansion card recovery process, the expansion card installation unit 16 installs the expansion card after the recovery process into the main unit (S16, expansion card installation step). The term "installing the expansion card" refers to, for example, installing the driver of the removed expansion card into the main unit and enabling an access path to the expansion card, thereby making it possible to access the expansion card.

[0059] Next, the recovery determination unit 14 determines whether the incorporated expansion card has been restored (S17, recovery determination step). The recovery determination is, for example, based on whether the expansion device included in the expansion card has been restored. Specifically, for example, in S17, the determination of whether the expansion card has been restored may be performed when it is determined that all expansion devices included in the expansion card have been restored, or when it is determined that at least one of the expansion devices included in the expansion card has been restored. The former is preferable. In the latter case, when a priority and a disconnection threshold described later are set for each expansion device, for example, when it is determined that a device whose priority exceeds the disconnection threshold has been restored, the expansion card may be determined to have been restored. In S17, the determination of whether each expansion device has been restored may be performed in the same manner as in S14.

[0060] If it is determined in the recovery determination step that the installed expansion card has not been recovered (S17, No), the expansion card is again disconnected by the expansion card disconnector 15, and steps S15B to S17 are repeated. At this time, as in step S14, if a recovery threshold is stored for each expansion card in the memory unit of the device 10, the process may be terminated without performing the expansion card installation process for an expansion card that has exceeded the recovery threshold and has repeated the processes of steps S15B to S17. On the other hand, if it is determined in the recovery determination step that the expansion card has been recovered (S17, Yes), the process is terminated (END).

[0061] According to the expansion device arbitration method of this embodiment, in a system equipped with an expansion card equipped with multiple expansion devices, it is possible to detect and recover from failures on an expansion device basis. Then, when it is impossible to recover all of the expansion devices equipped on an expansion card, recovery processing can be performed on an expansion card basis. Therefore, according to the arbitration method of this embodiment, for example, the system recovery processing due to the occurrence of a failure in an expansion device can be multi-staged, thereby reducing the impact on the entire system and improving the availability of the system.

[0062] [Variations] The processes performed by the expansion card disconnection unit 15 and the expansion card insertion unit 16 are not limited to the above examples, and may be performed according to the priority of the expansion device in which a failure has been detected, for example.

[0063] The arbitration method of the modified example will be described with reference to the flowchart of Fig. 6. The arbitration method of the modified example can be implemented, for example, by using the arbitration device 10A of the second embodiment shown in Fig. 4. Note that the arbitration method of the modified example is not limited to use of the arbitration device 10A.

[0064] First, steps S11 to S13 are carried out in the same manner as steps S11 to S13 in the arbitration method of the first embodiment.

[0065] Next, the recovery determination unit 14 determines whether the built-in expansion device has been recovered (S114). If the built-in expansion device has been recovered (S14, Yes), the process ends (END). On the other hand, if the built-in expansion device has not been recovered (S14, No), the expansion card disconnection unit 15 determines whether the priority set for the expansion device determined to have failed to be recovered exceeds an expansion card disconnection threshold (S15A'). The priority is, for example, a value indicating the importance of a plurality of expansion devices included in the expansion card. The priority may be defined as high or low for each expansion device, or an arbitrary value set for each expansion device may be stored as the priority in the storage unit of the present device 10A. The expansion card disconnection threshold is a threshold for determining whether the expansion card including the expansion device in which the failure has occurred should be disconnected, and can be set appropriately according to, for example, the functions of the expansion devices included in each expansion card. If the priority set for the expansion device that has failed to be restored does not exceed the expansion card disconnection threshold (S15A', No), the restoration process of S12 to S14 is repeated. On the other hand, if the priority set for the expansion device that has failed to be restored exceeds the expansion card disconnection threshold (S15A', YES), the expansion card disconnection unit 15 disconnects the expansion card comprising the expansion device (S15B, expansion card disconnection step).

[0066] Thereafter, steps S16 to S17 are carried out in the same manner as in the second embodiment, and the process ends (END).

[0067] According to the modified arbitration method, for example, recovery processing can be switched to for each expansion card depending on the priority of the expansion device on the expansion card where the failure occurred, so that if a failure occurs in an expansion device with an important function, recovery processing can be performed quickly on an expansion card basis.

[0068] [Embodiment 3] The program of the present embodiment is a program for causing a computer to execute each step of the method of each of the above-mentioned embodiments as a procedure. In the present invention, the "procedure" may be read as "processing". The program of the present embodiment may be recorded, for example, in a computer-readable recording medium. The recording medium is, for example, a non-transitory computer-readable storage medium. The recording medium is not particularly limited, and examples thereof include a hard disk (HD), a CD-ROM, a CD-R, a CD-RW, an MO, a DVD, a floppy disk (FD), a flash memory, and a memory card.

[0069] Although the present invention has been described above with reference to the embodiment, the present invention is not limited to the above embodiment. Various modifications that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention.

[0070] <Additional Notes> A part or all of the above-described embodiments can be described as follows, but is not limited to the following. (Appendix 1) a failure detection unit, an expansion device separation unit, an expansion device integration unit, and a recovery determination unit; The failure detection unit detects failures in a plurality of expansion devices included in an expansion card connected to a main unit, the expansion device disconnection unit disconnects the failed expansion device from the main unit when a failure of the expansion device is detected; the expansion device incorporating unit incorporates the expansion device after the recovery process for the failed expansion device into the main unit; the recovery determination unit determines whether or not the incorporated expansion device has been recovered, 20. An expansion device arbitration apparatus comprising: an expansion device disconnection unit that disconnects the expansion device again when the recovery determination unit determines that the incorporated expansion device has not been recovered. (Appendix 2) 2. The expansion device arbitration apparatus according to claim 1, wherein the failure detection unit detects a failure in the expansion device by at least one process selected from the group consisting of the following (1) to (3): (1) receiving expansion device fault information from the main unit; (2) the failure detection unit accesses the expansion device and detects a failure; (3) Receive expansion device failure information from the expansion device. (Appendix 3) Further, the device includes a storage unit, the storage unit stores a recovery threshold for each of the expansion devices, The recovery threshold is the number of times recovery of the expansion device is performed, 3. The expansion device arbitration apparatus according to claim 1, wherein the expansion device incorporating unit does not incorporate into the main unit an expansion device in which the failure detection unit detects a failure exceeding the restoration threshold. (Appendix 4) An expansion card removal section and an expansion card insertion section are included, the expansion card disconnection unit disconnects the expansion card including the expansion device when the expansion device disconnection unit disconnects all of the expansion devices; the expansion card installation unit installs the expansion card after the recovery process into the main unit after the recovery process of the expansion card; 4. The expansion device arbitration device according to claim 1, wherein the recovery determination unit determines whether or not the installed expansion card has been recovered. (Appendix 5) A storage unit, an expansion card removal unit, and an expansion card insertion unit are included, the storage unit stores, for each of the expansion devices, a priority level regarding the disconnection of the expansion card and an expansion card disconnection threshold value; the expansion card disconnection threshold is a threshold for determining whether or not to disconnect an expansion card including an expansion device in which a failure has occurred, the expansion card disconnection unit disconnects an expansion card including the expansion device when the priority of the expansion device determined by the recovery determination unit to have failed in recovery exceeds the expansion card disconnection threshold; the expansion card installation unit installs the expansion card after the recovery process into the main unit after the recovery process of the expansion card; 5. The expansion device arbitration device according to claim 1, wherein the recovery determination unit determines whether or not the installed expansion card has been recovered. (Appendix 6) A main unit and an expansion card are included. the main unit includes an arbitration device for expansion devices; the expansion card includes a plurality of expansion devices; the main unit, the expansion card, and the arbitration device for the expansion device are connectable to each other via their respective I / Fs; The expansion device arbitration device is a disaster recovery system device that is an expansion device arbitration device described in any one of appendixes 1 to 5. (Appendix 7) The method includes a fault detection step, an expansion device isolation step, an expansion device integration step, and a recovery determination step, The fault detection step detects faults in a plurality of expansion devices provided in an expansion card connected to a main unit, The expansion device disconnecting step disconnects the failed expansion device from the main unit when a failure in the expansion device is detected, the expansion device incorporating step comprises, after recovery processing of the failed expansion device, incorporating the expansion device after the recovery processing into the main unit; The recovery determination step determines whether or not the installed expansion device has been recovered, The expansion device arbitration method is characterized in that the expansion device disconnection step disconnects the expansion device again when the recovery determination step determines that the incorporated expansion device has not recovered. (Appendix 8) 8. The expansion device arbitration method according to claim 7, wherein the failure detection step detects a failure in the expansion device by at least one process selected from the group consisting of the following (1) to (3): (1) receiving expansion device fault information from the main unit; (2) accessing the expansion device to detect a failure by the failure detection step; (3) Receive expansion device failure information from the expansion device. (Appendix 9) Use a recovery threshold for each expansion device, The recovery threshold is the number of times recovery of the expansion device is performed, 9. The expansion device arbitration method according to claim 7, wherein the expansion device incorporating step does not incorporate into the main unit an expansion device in which a failure has been detected in the failure detection step that exceeds the restoration threshold. (Appendix 10) The method includes a process of removing an expansion card and a process of installing an expansion card, the expansion card disconnecting step disconnects the expansion card including the expansion device when all of the expansion devices have been disconnected in the expansion device disconnecting step; the expansion card incorporating step comprises, after the expansion card is restored, incorporating the restored expansion card into the main unit; 10. The expansion device arbitration method according to claim 7, wherein the recovery determination step determines whether or not the installed expansion card has been restored. (Appendix 11) The method includes a process of removing an expansion card and a process of installing an expansion card, Using a priority for disconnecting the expansion card and an expansion card disconnection threshold, the expansion card disconnection threshold is a threshold for determining whether or not to disconnect an expansion card including an expansion device in which a failure has occurred, the expansion card disconnecting step disconnects an expansion card including the expansion device when the priority of the expansion device determined to have failed in recovery by the recovery determining step exceeds an expansion card disconnection threshold; the expansion card incorporating step comprises, after the expansion card is restored, incorporating the restored expansion card into the main unit; 10. The expansion device arbitration method according to claim 7, wherein the recovery determination step determines whether or not the installed expansion card has been restored. (Appendix 12) A program for causing a computer to execute a fault detection procedure, an expansion device disconnection procedure, an expansion device installation procedure, and a recovery determination procedure, The fault detection step includes detecting faults in a plurality of expansion devices included in an expansion card connected to a main unit, The expansion device disconnection procedure includes, when a failure of the expansion device is detected, disconnecting the failed expansion device from the main unit; the expansion device incorporating step comprises, after recovery processing of the failed expansion device, incorporating the expansion device after the recovery processing into the main unit; The recovery determination step determines whether or not the installed expansion device has been recovered, The expansion device disconnection step disconnects the expansion device again when it is determined in the recovery determination step that the incorporated expansion device has not been recovered. (Appendix 13) 13. The program of claim 12, wherein the failure detection step detects a failure in the expansion device by at least one process selected from the group consisting of the following (1) to (3): (1) receiving expansion device fault information from the main unit; (2) accessing the expansion device to detect a failure according to the failure detection procedure; (3) Receive expansion device failure information from the expansion device. (Appendix 14) Use a recovery threshold for each expansion device, The recovery threshold is the number of times recovery of the expansion device is performed, 14. The program according to claim 12 or 13, wherein the expansion device incorporating procedure does not incorporate into the main unit an expansion device in which a failure is detected by the failure detection procedure that exceeds the recovery threshold. (Appendix 15) Includes an expansion card removal procedure and an expansion card installation procedure, the expansion card disconnection step disconnects the expansion card including the expansion device when all of the expansion devices have been disconnected by the expansion device disconnection step; the step of incorporating the expansion card includes, after a recovery process for the expansion card, incorporating the expansion card after the recovery process into the main unit; The program according to any one of appendices 12 to 14, wherein the recovery determination procedure determines whether or not an installed expansion card has been recovered. (Appendix 16) Includes an expansion card removal procedure and an expansion card installation procedure, using a priority for disconnection of the expansion card for each expansion device and an expansion card disconnection threshold; the expansion card disconnection threshold is a threshold for determining whether or not to disconnect an expansion card including an expansion device in which a failure has occurred, the expansion card disconnection step disconnects an expansion card including the expansion device when the priority of the expansion device determined to have failed to be restored by the restoration determination step exceeds an expansion card disconnection threshold; the step of incorporating the expansion card includes, after a recovery process for the expansion card, incorporating the expansion card after the recovery process into the main unit; 16. The program according to any one of appendices 12 to 15, wherein the recovery determination procedure determines whether or not an installed expansion card has been recovered. (Appendix 17) A computer-readable recording medium having recorded thereon a program according to any one of appendixes 12 to 16. [Industrial Applicability]

[0071] According to the present invention, in a system equipped with an expansion card equipped with multiple expansion devices, it is possible to detect and recover from failures on an expansion device basis. Therefore, according to the present invention, for example, the impact of a failure in an expansion device on the entire system can be more localized, thereby improving system availability. Therefore, the present invention can be suitably used in a wide range of fields related to computer systems, for example. [Explanation of symbols]

[0072] 10, 10A arbitration device 11 Fault detection unit 12 Expansion device disconnection section 13 Expansion device built-in section 14 Recovery Judgment Unit 15 Expansion card release section 16 Expansion card insertion section 20 Disaster recovery system equipment 21 Main Unit 22 Bus 23 Expansion card (PCI card) 101 Central Processing Unit (CPU) 102 Memory 103 Bus 104 Input Devices 105 Display device 106 Communication Devices 107 Storage device (storage unit)

Claims

1. a failure detection unit, an expansion device separation unit, an expansion device integration unit, and a recovery determination unit; The failure detection unit detects failures in a plurality of expansion devices included in an expansion card connected to a main unit, the expansion device disconnection unit disconnects the failed expansion device from the main unit when a failure of the expansion device is detected; the expansion device incorporating unit incorporates the expansion device after the recovery process of the failed expansion device into the main unit; the recovery determination unit determines whether or not the incorporated expansion device has been recovered, 20. An expansion device arbitration apparatus comprising: an expansion device disconnection unit that disconnects the expansion device again when the recovery determination unit determines that the incorporated expansion device has not been recovered.

2. 2. The expansion device arbitration apparatus according to claim 1, wherein the failure detection unit detects a failure in the expansion device by at least one process selected from the group consisting of the following (1) to (3): (1) receiving expansion device failure information from the main unit; (2) the failure detection unit accesses the expansion device and detects a failure; (3) Receive expansion device failure information from the expansion device.

3. Further, the device includes a storage unit, the storage unit stores a recovery threshold for each of the expansion devices, The recovery threshold is the number of times recovery of the expansion device is performed, 3. The expansion device arbitration apparatus according to claim 1, wherein said expansion device incorporating section does not incorporate into the main unit an expansion device in which said failure detection section detects a failure exceeding said restoration threshold.

4. An expansion card removal section and an expansion card insertion section are included, the expansion card disconnection unit disconnects the expansion card including the expansion device when the expansion device disconnection unit disconnects all of the expansion devices; the expansion card installation unit installs the expansion card after the recovery process into the main unit after the recovery process of the expansion card; 4. The expansion device arbitration apparatus according to claim 1, wherein the recovery determination unit determines whether or not a built-in expansion card has been recovered.

5. A storage unit, an expansion card removal unit, and an expansion card insertion unit are included, the storage unit stores, for each of the expansion devices, a priority level regarding the disconnection of the expansion card and an expansion card disconnection threshold value; the expansion card disconnection threshold is a threshold for determining whether or not to disconnect an expansion card including an expansion device in which a failure has occurred, the expansion card disconnection unit disconnects an expansion card including the expansion device when the priority of the expansion device determined by the recovery determination unit to have failed in recovery exceeds the expansion card disconnection threshold; the expansion card installation unit installs the expansion card after the recovery process into the main unit after the recovery process of the expansion card; 5. The expansion device arbitration apparatus according to claim 1, wherein the recovery determination unit determines whether or not a built-in expansion card has been recovered.

6. A main unit and an expansion card are included. the main unit includes an arbitration device for expansion devices; the expansion card includes a plurality of expansion devices; the main unit, the expansion card, and the arbitration device for the expansion device are connectable to each other via their respective I / Fs; 6. A failure recovery system apparatus, wherein the expansion device arbitration device is an expansion device arbitration device according to claim 1.

7. The method includes a fault detection step, an expansion device isolation step, an expansion device integration step, and a recovery determination step, The fault detection step detects faults in a plurality of expansion devices provided in an expansion card connected to a main unit, The expansion device disconnecting step disconnects the failed expansion device from the main unit when a failure in the expansion device is detected, the expansion device incorporating step comprises, after recovery processing of the failed expansion device, incorporating the expansion device after the recovery processing into the main unit; The recovery determination step determines whether or not the installed expansion device has been recovered, and a recovery determination step of recovering the expansion device from the recovery state when the recovery determination step determines that the expansion device has not been recovered.

8. 8. The expansion device arbitration method according to claim 7, wherein the failure detection step detects a failure in the expansion device by at least one process selected from the group consisting of the following (1) to (3): (1) receiving expansion device failure information from the main unit; (2) accessing the expansion device by the failure detection step to detect a failure; (3) Receive expansion device failure information from the expansion device.

9. A program for causing a computer to execute a fault detection procedure, an expansion device disconnection procedure, an expansion device installation procedure, and a recovery determination procedure, The fault detection step includes detecting faults in a plurality of expansion devices included in an expansion card connected to a main unit, The expansion device disconnection procedure includes, when a failure of the expansion device is detected, disconnecting the failed expansion device from the main unit; the expansion device incorporating step comprises, after recovery processing of the failed expansion device, incorporating the expansion device after the recovery processing into the main unit; The recovery determination step determines whether or not the installed expansion device has been recovered, The expansion device disconnection step disconnects the expansion device again when it is determined in the recovery determination step that the incorporated expansion device has not been recovered.

10. A computer-readable recording medium having the program according to claim 9 recorded thereon.

Citation Information

Patent Citations

  • Bus fault processing system

    JP1996194628A

  • Method and program for recovering from PCI bus fault

    JP2009116642A

  • Information processor, and recovery method for information processor

    JP2011128795A

  • Transmission equipment and control unit

    JP2015153075A

  • Computer system

    JP2019159439A