Storage System Testing Methods and Apparatus

By simulating different operating conditions in an all-flash storage system, information on the impact of each controller on other controllers and the reliability information of individual controllers are obtained, solving the problem of insufficient accuracy of test results in existing technologies and realizing more comprehensive reliability testing.

CN120126531BActive Publication Date: 2025-11-14ZHONGKE TENGLONG INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411020732.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2025-11-14
Estimated Expiration
2044-07-29

AI Technical Summary

Technical Problem

In existing technologies, the reliability test results of all-flash storage systems have low accuracy, lack system-level coverage, and cannot effectively assess the impact of controller anomalies on other controllers.

Method used

By simulating different operating conditions in the storage system, reliability test information on the impact of each controller on other controllers and individual reliability test information of each controller are obtained. The reliability test results of the storage system are determined by combining this information, taking into account the reliability and anomalies of individual controllers on other controllers.

Benefits of technology

It improves the accuracy of storage system reliability testing, fully considers the impact of controller anomalies on the system, and provides more comprehensive test results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120126531B_ABST
    Figure CN120126531B_ABST
Patent Text Reader

Abstract

This application relates to a storage system testing method and apparatus. The method includes: responding to a storage system reliability test request, acquiring reliability test information on the impact of each controller on other controllers and individual reliability test information for each controller under different operating conditions, while simulating different operating conditions for each controller in the storage system; and determining the reliability test result of the storage system based on the individual reliability test information and the impact reliability test information. When conducting reliability testing on the storage system, not only the reliability and stability of individual controllers are considered, but also the impact of one controller's failure on other controllers, i.e., a more comprehensive consideration of factors affecting the reliability of the storage system. This allows for the determination of the storage system's reliability test result through more comprehensive information, thus improving the accuracy of the test result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of storage system testing technology, and in particular to a storage system testing method and apparatus. Background Technology

[0002] The number of controllers in a storage system can be one or more, and the number of controllers will vary depending on the type of storage system. For example, all-flash storage systems typically employ a dual-controller design, so that if one controller fails or goes offline, the other controller will immediately take over without interrupting existing services.

[0003] In related technologies, when conducting reliability testing on an all-flash storage system, each controller within the all-flash storage system is typically tested individually to ensure the stability and reliability of each controller.

[0004] However, the reliability testing methods for all-flash storage systems in related technologies have a technical problem of low accuracy in test results. Summary of the Invention

[0005] Therefore, it is necessary to provide a storage system testing method and apparatus to address the aforementioned technical problems and improve the accuracy of test results.

[0006] Firstly, this application provides a storage system testing method, including:

[0007] In response to a reliability test request from the storage system, under different operating conditions, the system acquires reliability test information on the impact of each controller on other controllers and individual reliability test information for each controller.

[0008] The reliability test results of the storage system are determined based on the individual reliability test information and the reliability test information that affects it.

[0009] In the storage system testing method provided in this application embodiment, in response to a storage system reliability test request, under different operating conditions, the reliability test information of each controller's impact on other controllers and the individual reliability test information of each controller are obtained. Then, based on the individual reliability test information and the impact reliability test information, the reliability test result of the storage system is determined. In this method, when a reliability test of the storage system is required, by simulating different operating conditions for each controller in the storage system, the reliability test information of each controller's impact on other controllers and the individual reliability test information of each controller can be obtained. By combining the reliability test information of each controller's impact on other controllers, a more accurate reliability test result is obtained. Essentially, when conducting reliability testing on the storage system, not only the reliability and stability of individual controllers are considered, but also the impact of one controller's failure on other controllers is considered. That is, a more comprehensive consideration of the factors affecting the reliability of the storage system is given. Thus, by determining the reliability test result of the storage system with more comprehensive information, the accuracy of the test result is improved.

[0010] In one embodiment, reliability test information on the impact of each controller on other controllers is obtained, including:

[0011] For any target controller in the storage system, under abnormal operating conditions simulation of the target controller and normal operating conditions simulation of other controllers, obtain reliability test information on the impact of the target controller on other controllers.

[0012] The storage system testing method provided in this application involves, for any target controller in the storage system, simulating abnormal operating conditions for the target controller and normal operating conditions for other controllers, obtaining reliability test information on the impact of the target controller on other controllers. This method, by simulating abnormal operating conditions for the target controller and normal operating conditions for other controllers, allows monitoring of the status information of the other controllers. This enables testing whether an abnormality in the target controller affects other controllers, thus obtaining reliability test information on the impact of the target controller on other controllers, providing an optional method for obtaining reliability test information on impact.

[0013] In one embodiment, abnormal operating condition simulation is performed on the target controller, including:

[0014] Obtain the test configuration file of the storage system;

[0015] Based on the test configuration file, abnormal operating conditions of the target controller are simulated by controlling the power on / off state of the target controller and the working mode of the port connected to the target controller.

[0016] The storage system testing method provided in this application obtains a test configuration file of the storage system, and then, based on the test configuration file, controls the power-on / off state of the target controller and the operating mode of the ports connected to the target controller to simulate abnormal operating conditions of the target controller. This method provides an optional approach to quickly simulate abnormal operating conditions of the target controller; by introducing a test configuration file, and based on the operating condition design of each controller and port in the test configuration file, the power-on / off state of each controller and the operating mode of the ports are controlled to simulate abnormal operating conditions of the target controller.

[0017] In one embodiment, control is performed by regulating the power-on / off state of the target controller and the operating mode of the port connected to the target controller, including:

[0018] The target controller is controlled to be in a powered-off state, and the port connected to the target controller is controlled to be in normal operating mode; or;

[0019] The control is set to power-on state for the target controller and to abnormal working mode for the port connected to the target controller.

[0020] In the storage system testing method provided in this application embodiment, the target controller is controlled to be in a powered-off state, and the port connected to the target controller is controlled to be in normal working mode; or, the target controller is controlled to be in a powered-on state, and the port connected to the target controller is controlled to be in an abnormal working mode. This method provides two ways to simulate abnormal operating conditions of the target controller: one is to control the target controller to be abnormal while the port connected to the target controller is normal, and the other is to control the target controller to be normal while the port connected to the target controller is abnormal. By simulating abnormal operating conditions of a single target controller and port, the abnormal operating conditions of the target controller are simulated, while covering both the controller and port links, conducting reliability testing from multiple dimensions, and improving the accuracy of storage system testing.

[0021] In one embodiment, obtaining individual reliability test information for each controller includes:

[0022] For any target controller in the storage system, under the condition of simulating normal operation of the target controller, obtain the task completion information when the target controller performs data read and write tasks;

[0023] Based on the task completion information, determine the individual reliability test information for the target controller.

[0024] In the storage system testing method provided in this application, for any target controller in the storage system, under normal operating condition simulation, the task completion information of the target controller when performing data read and write tasks is obtained, and the individual reliability test information of the target controller is determined based on the task completion information. This method provides an optional way to quickly determine individual reliability test information; by simulating normal operating conditions of the target controller, the individual reliability test information of the target controller can be determined based on the completion status of the target controller when performing tasks, providing data support for subsequently determining the reliability test results of the storage system.

[0025] In one embodiment, the method further includes:

[0026] For any target controller in the storage system, under the condition that the target controller recovers from an abnormal operating condition to a normal operating condition, obtain the abnormal recovery test information of the target controller based on the operating status of the target controller.

[0027] In the storage system testing method provided in this application, for any target controller in the storage system, when the target controller recovers from an abnormal operating condition to a normal operating condition, the abnormal recovery test information of the target controller is obtained based on the operating state of the target controller. In this method, by recovering the target controller from an abnormal operating condition to a normal operating condition, the abnormal recovery test information of the target controller can also be determined based on whether the target controller can normally enter the system operating state. This information can further determine the individual reliability test information of the target controller, providing more accurate test results for the storage system.

[0028] In one embodiment, based on the operating state of the target controller, the abnormal recovery test information of the target controller is obtained, including:

[0029] If the target controller is working properly, the status of other controllers is monitored, and the device information of the target controller before and after the abnormal recovery is verified. The verification result is determined as the abnormal recovery test information of the target controller.

[0030] If the target controller is not working properly, the information indicating that the target controller is not working properly is identified as the abnormal recovery test information of the target controller.

[0031] In the storage system testing method provided in this application embodiment, if the target controller is working normally, the status of other controllers is monitored, and the device information of the target controller before and after abnormal recovery is verified. The verification result is determined as the abnormal recovery test information of the target controller. If the target controller is not working normally, the information indicating that the target controller is not working normally is determined as the abnormal recovery test information of the target controller. In this method, if the target controller is working normally, the reliability of the storage system can be determined based on the verification result by verifying the device information of the target controller before and after abnormal recovery. If the target controller is not working normally, the reliability of the storage system can also be determined based on the information indicating that the target controller is not working normally. This provides more dimensions of judgment for determining the reliability test results of the storage system and improves the accuracy of the reliability test results of the storage system.

[0032] In one embodiment, the reliability test results of the storage system are determined based on individual reliability test information and reliability-affecting test information, including:

[0033] Obtain the system logs of the storage system;

[0034] Based on system logs and preset keyword information, determine the list of log anomalies and the list of log normalities;

[0035] Based on the list of log anomalies, the list of log normalities, individual reliability test information, and information affecting reliability tests, the reliability test results of the storage system are determined.

[0036] The storage system testing method provided in this application involves acquiring the system logs of the storage system, and then determining an abnormal log list and a normal log list based on the system logs and preset keyword information. Subsequently, the reliability test result of the storage system is determined based on the abnormal log list, the normal log list, individual reliability test information, and information affecting reliability tests. This method, by introducing the system logs of the storage system to obtain an abnormal log list including abnormal information and a normal log list including normal information, provides additional data support for determining the reliability test result, thereby more accurately determining the reliability test result of the storage system.

[0037] In one embodiment, the reliability test results of the storage system are determined based on the log anomaly list, the log normal list, individual reliability test information, and information affecting reliability tests, including:

[0038] Based on the log anomaly list and the log normal list, each individual reliability test information and each reliability impact test information are verified to obtain the target impact reliability test information of each controller on other controllers and the target individual reliability test information of each controller.

[0039] Based on the reliability test information of each target's impact and the individual reliability test information of each target, the reliability test results of the storage system are determined.

[0040] The storage system testing method provided in this application verifies each individual reliability test information and each reliability impact test information based on a log anomaly list and a log normal list. This yields the target impact reliability test information of each controller on other controllers and the target individual reliability test information of each controller. Based on this target impact reliability test information and the target individual reliability test information, the reliability test result of the storage system is determined. This method, by verifying each individual reliability test information and each reliability impact test information using the log anomaly list and the log normal list, obtains more accurate information. Based on this more accurate information, the reliability test result of the storage system is determined, further improving the accuracy of the reliability test result.

[0041] Secondly, this application also provides a storage system testing apparatus, comprising:

[0042] The information acquisition module is used to respond to the reliability test request of the storage system and, under the condition of simulating different operating conditions of each controller in the storage system, acquire the reliability test information of the impact of each controller on other controllers and the individual reliability test information of each controller.

[0043] The result determination module is used to determine the reliability test results of the storage system based on the individual reliability test information and the reliability test information that affects it.

[0044] Thirdly, embodiments of this application also provide a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps in any of the embodiments of the first aspect described above.

[0045] Fourthly, embodiments of this application also provide a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, implements the steps in any of the embodiments of the first aspect described above.

[0046] Fifthly, embodiments of this application also provide a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the steps in any of the embodiments of the first aspect described above.

[0047] The aforementioned storage system testing method and apparatus, in response to a storage system reliability test request, acquires reliability test information on the impact of each controller on other controllers and individual reliability test information for each controller by simulating different operating conditions for each controller in the storage system. Then, based on the individual reliability test information and the impact reliability test information, the reliability test result of the storage system is determined. In this method, when a reliability test of the storage system is required, by simulating different operating conditions for each controller in the storage system, reliability test information on the impact of each controller on other controllers and individual reliability test information for each controller can be obtained. By combining the reliability test information on the impact of each controller on other controllers, a more accurate reliability test result is obtained. Essentially, when conducting reliability testing on the storage system, not only the reliability and stability of individual controllers are considered, but also the impact of one controller's failure on other controllers is considered, i.e., a more comprehensive consideration of the factors affecting the reliability of the storage system. This more comprehensive information leads to a more accurate determination of the storage system's reliability test result. Attached Figure Description

[0048] To more clearly illustrate the technical solutions in the embodiments or related technologies of this application, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0049] Figure 1 This is an internal structural diagram of a computer device in one embodiment;

[0050] Figure 2 This is a flowchart illustrating a storage system testing method in one embodiment;

[0051] Figure 3 This is a schematic diagram illustrating the status information of other controllers in one embodiment;

[0052] Figure 4 This is a schematic diagram of the status information of other controllers in another embodiment;

[0053] Figure 5 This is a flowchart illustrating an abnormal operating condition in one embodiment;

[0054] Figure 6 This is a schematic diagram of the process for obtaining a single reliability test information in one embodiment;

[0055] Figure 7 This is a flowchart illustrating the process of obtaining anomaly recovery test information in one embodiment;

[0056] Figure 8 This is a flowchart illustrating the process of determining reliability test results in one embodiment;

[0057] Figure 9 This is a flowchart illustrating the process of determining reliability test results in another embodiment;

[0058] Figure 10 This is a schematic diagram of the structure of a storage system test device in one embodiment. Detailed Implementation

[0059] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0060] The storage system testing method provided in this application can be applied to computer equipment. This computer equipment can be a test auxiliary machine, wherein the test auxiliary machine is connected to each controller in the storage system, and each controller is connected to each hard drive through a port. Taking a dual-controller system as an example, the test auxiliary machine is communicatively connected to both controllers, and each controller is connected to a dual-port hard drive in the storage system through a port. Its internal structure diagram can be as follows: Figure 1 As shown. The computer device includes a processor, memory, input / output interface (I / O), and communication interface. The processor, memory, and I / O interface are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interface. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database stores data. The I / O interface allows the processor to exchange information with external devices. The communication interface allows communication with external terminals via a network connection. When the computer program is executed by the processor, it implements a storage system testing method. Those skilled in the art will understand that... Figure 1 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0061] The number of controllers in a storage system can be one or more, and this number varies depending on the type of storage system. For example, all-flash storage systems support various advanced data backup and disaster recovery methods, ensuring high system reliability. All-flash storage systems typically employ a fully redundant architecture design. This design improves system reliability, with controller redundancy being a key feature. A common design uses two controllers; if one controller fails or goes offline, the other immediately takes over, ensuring uninterrupted service. Therefore, an efficient reliability testing method is essential to ensure the reliable and stable operation of an all-flash storage system.

[0062] In related technologies, reliability testing of all-flash storage systems typically involves performing individual IO and Power Cycle tests on each controller within the system. This approach is relatively simple and while it ensures the stability and reliability of individual controllers, its test coverage is limited, lacking system-level reliability testing. However, in real-world user scenarios, the occurrence of anomalies such as controller freezes or hangs can often have severe consequences.

[0063] Based on this, this application provides a storage system testing method. When reliability testing of a storage system is required, by simulating different operating conditions of each controller in the storage system, reliability test information on the impact of each controller on other controllers and individual reliability test information of each controller can be obtained. By combining the reliability test information on the impact of each controller on other controllers, a more accurate reliability test result is obtained. In other words, when conducting reliability testing on a storage system, not only the reliability and stability of individual controllers are considered, but also the impact of one controller's failure on other controllers is considered. That is, the factors affecting the reliability of the storage system are considered more comprehensively. In this way, the reliability test results of the storage system are determined by more comprehensive information, thus improving the accuracy of the test results.

[0064] It should be noted that the beneficial effects or technical problems solved by the embodiments of this application are not limited to this one, but may also be other implicit or related problems. For details, please refer to the description of the embodiments below.

[0065] The technical solution of this application and how it solves the above-mentioned technical problems will be described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will be described below with reference to the accompanying drawings.

[0066] In one exemplary embodiment, such as Figure 2As shown, a storage system testing method is provided, which is applied to... Figure 1 The following steps, 201 to 202, are used as an example of computer equipment.

[0067] S201, in response to a reliability test request from the storage system, acquires reliability test information on the impact of each controller on other controllers and individual reliability test information for each controller under different operating conditions, while simulating different operating conditions for each controller in the storage system.

[0068] In this context, a storage system reliability test request refers to a request triggered when a computer device's reliability testing application performs reliability testing on the storage system. Naturally, upon receiving this reliability test request, the computer device needs to perform reliability testing on the storage system to obtain the test results.

[0069] In one embodiment, the request is triggered by the user through a computer device interface in a reliability testing application; wherein, the triggering method includes, but is not limited to, clicking on an external input device, voice control, touch screen triggering, etc., and the embodiments of this application do not limit the triggering method.

[0070] In another embodiment, the request is triggered according to a preset automatic program; for example, if the computer device receives system information (such as system identifier) ​​of the storage system, it automatically triggers a reliability test request for the storage system according to a preset program; or, if the application is idle after receiving system information of the storage system, the computer device automatically triggers a new reliability test request for the storage system according to a preset program. This application does not limit the method of triggering the reliability test request for the storage system.

[0071] In this embodiment, different operating conditions refer to the normal or abnormal operating conditions of each controller in the storage system. Taking a storage system with two controllers as an example, the computer device is communicatively connected to both controllers of the storage system. When simulating different operating conditions of each controller in the storage system, different operating modes are possible. For example, if there are controller A and controller B, controller A can be simulated as operating abnormally while controller B is operating normally, or controller B can be simulated as operating abnormally while controller A is operating normally.

[0072] When simulating abnormal operating states of the controller, the abnormal operating state of the controller can be achieved by shutting down the controller, or by disconnecting the port connected to the controller. When the port is abnormal, the controller will also be unable to operate normally.

[0073] It should be noted that, in the embodiments of this application, when simulating different operating conditions for each controller, different controllers will be switched to abnormal operating states multiple times for simulation, that is, abnormal simulation will be performed on two controllers separately.

[0074] In this embodiment, reliability impact information refers to the impact of a faulty controller on other controllers when one controller malfunctions. Individual reliability test information refers to the test information obtained by performing individual tests on each controller.

[0075] For example, when a computer device simulates different operating conditions for each controller in a storage system, it can use a status monitoring tool to monitor the status information of other controllers. Based on this status information, it can obtain reliability test information about the impact of the current controller on other controllers. For instance, if the computer device simulates controller A as operating abnormally and controller B as operating normally, it can use a status monitoring tool to monitor the status of controller B to obtain reliability test information about the impact of controller A on controller B. Conversely, if the computer device simulates controller B as operating abnormally and controller A as operating normally, it can use a status monitoring tool to monitor the status of controller A to obtain reliability test information about the impact of controller B on controller A.

[0076] Computer equipment can also simulate the normal operation of individual controllers and then obtain individual reliability test information for each controller based on the individual controller's handling of read and write tasks. For example, the computer equipment simulates controller A in normal operation and causes controller A to write data; by obtaining information on controller A's data writing behavior, the individual reliability test information for controller A can be determined. Similarly, simulating controller B in normal operation and causing controller B to write data, by obtaining information on controller B's data writing behavior, the individual reliability test information for controller A can be determined.

[0077] Alternatively, the computer device can obtain individual reliability test information by comparing the device before and after a single controller's abnormal recovery. For example, the computer device simulates controller A in an abnormal operating state, obtains the device information at the time of the abnormality, then restores controller A to a normal operating state and obtains the device information at the normal state. The device information at the time of the abnormality is then compared with the device information at the time of the normal state to determine the individual reliability test information of controller A.

[0078] S202, determine the reliability test results of the storage system based on the individual reliability test information and the reliability test information that affects it.

[0079] In one embodiment, the reliability test information of each controller's impact on other controllers and the individual reliability test information of each controller can determine the reliability test result of the storage system. If there are anomalies in the impact reliability test information or individual reliability test information, the storage system is determined to have poor reliability; if there are no anomalies in the impact reliability test information or individual reliability test information, the storage system is determined to have high reliability.

[0080] For example, if the reliability test information includes instances where controller A malfunctions while controller B operates normally and can process tasks, and also instances where controller B malfunctions while controller A also operates normally and can process tasks, or if a single reliability test message includes instances where both controller A and controller B operate normally without read / write errors, then the storage system's reliability can be determined to be high. Conversely, if the reliability test information includes instances where controller B also malfunctions when controller A malfunctions, or vice versa, then the storage system's reliability is determined to be poor. Similarly, if a single reliability test message includes instances where controller A or controller B experiences read / write errors, then the storage system's reliability is also determined to be poor.

[0081] In the storage system testing method provided in this application embodiment, in response to a storage system reliability test request, under different operating conditions, the reliability test information of each controller's impact on other controllers and the individual reliability test information of each controller are obtained. Then, based on the individual reliability test information and the impact reliability test information, the reliability test result of the storage system is determined. In this method, when a reliability test of the storage system is required, by simulating different operating conditions for each controller in the storage system, the reliability test information of each controller's impact on other controllers and the individual reliability test information of each controller can be obtained. By combining the reliability test information of each controller's impact on other controllers, a more accurate reliability test result is obtained. Essentially, when conducting reliability testing on the storage system, not only the reliability and stability of individual controllers are considered, but also the impact of one controller's failure on other controllers is considered. That is, a more comprehensive consideration of the factors affecting the reliability of the storage system is given. Thus, by determining the reliability test result of the storage system with more comprehensive information, the accuracy of the test result is improved.

[0082] Based on the above embodiments, an embodiment is provided to illustrate the process of obtaining reliability test information on the impact of each controller on other controllers.

[0083] In one exemplary embodiment, reliability test information regarding the impact of each controller on other controllers is obtained, including:

[0084] For any target controller in the storage system, under abnormal operating conditions simulation of the target controller and normal operating conditions simulation of other controllers, obtain reliability test information on the impact of the target controller on other controllers.

[0085] The target controller can be any controller in the storage system. For example, if the storage system includes controller A and controller B, the target controller can be either controller A or controller B.

[0086] When obtaining reliability information about the impact of the target controller on other controllers, it is necessary to perform anomaly simulation on the target controller in order to observe the impact on other controllers when the target controller malfunctions.

[0087] For example, for any target controller in the storage system, the system can control the target controller to be powered off and control other controllers other than the target controller to be powered on and read and write data normally. Then, the status monitoring tool can be used to monitor the status of other controllers other than the target controller to obtain the operating status information of other controllers. Then, based on the operating status information of other controllers, the reliability test information of the impact of the target controller on other controllers can be determined.

[0088] Taking a storage system including controller A and controller B, with controller A as the target controller, under the condition of simulating abnormal operating conditions for controller A and normal operating conditions for controller B, the status monitoring tool is used to monitor the status of controller B and obtain the operating status information of controller B. If, based on the operating status information of controller B, it is determined that controller B does not have an abnormal state, then the reliability information of the influence of controller A on controller B is determined to be that when controller A is abnormal, it has no effect on controller B; if, based on the operating status information of controller B, it is determined that controller B has an abnormal state, then the reliability information of the influence of controller A on controller B is determined to be that when controller A is abnormal, it has an effect on controller B.

[0089] It should be noted that the status monitoring tool used in this application embodiment is a "ms" level high-precision IO stability monitoring tool. Using a higher precision status monitoring tool can improve the accuracy of status monitoring information, thereby improving the accuracy of the reliability test results of the storage system.

[0090] For example, such as Figure 3 The image shows the status information of other controllers collected using a high-precision IO stability monitoring tool with millisecond-level accuracy. The image clearly shows that the rectangle indicates an anomaly in the recovery from a sudden and drastic performance drop; this location clearly indicates an anomaly. And as... Figure 4The figure shows the status information of other controllers collected using a "s" level monitoring tool. As can be seen from this figure, no abnormal IO drop was observed. This comparison demonstrates that collecting status information using a "ms" level high-precision IO stability monitoring tool is more accurate.

[0091] The storage system testing method provided in this application involves, for any target controller in the storage system, simulating abnormal operating conditions for the target controller and normal operating conditions for other controllers, obtaining reliability test information on the impact of the target controller on other controllers. This method, by simulating abnormal operating conditions for the target controller and normal operating conditions for other controllers, allows monitoring of the status information of the other controllers. This enables testing whether an abnormality in the target controller affects other controllers, thus obtaining reliability test information on the impact of the target controller on other controllers, providing an optional method for obtaining reliability test information on impact.

[0092] Based on the above embodiments, an embodiment of the process of simulating abnormal operating conditions of the target controller is provided for illustration.

[0093] In one exemplary embodiment, such as Figure 5 As shown, the target controller undergoes abnormal operating condition simulation, including:

[0094] S301, Obtain the test configuration file of the storage system.

[0095] In this embodiment, the test configuration file is a file that records test configuration information when testing the storage system. This includes machine information for each controller in the storage system, the IO service model design, different operating conditions, and the corresponding number of exception trigger cycles. The machine information for each controller may include the controller identifier and the port information connected to the controller. The IO service model design refers to the configured controller task processing mode, such as random data writing, sequential data writing, and data reading.

[0096] In one embodiment, the test configuration file can be uploaded to a database by the user and retrieved from the database by the computer device. For example, before testing the storage system, the user has already prepared a test configuration file and uploaded it to the computer device, which then stores it in the database. When the computer device needs to retrieve the test configuration file of the storage system, it can filter the database for test configuration files that match the storage system's identification information, thus obtaining the test configuration file.

[0097] In another embodiment, the test configuration file can be generated after the user fills in test configuration information on the computer device interface. For example, when it is necessary to obtain the test configuration file of the storage system, the computer device displays a test configuration information filling interface, and the user fills in the test configuration information on the interface and clicks OK. Then, the computer device generates the test configuration file based on the test configuration information filled in by the user.

[0098] S302, based on the test configuration file, simulates abnormal operating conditions of the target controller by controlling the power-on / off state of the target controller and the working mode of the port connected to the target controller.

[0099] After obtaining the test configuration file, the computer equipment controls the power-on / off state of the target controller and the working mode of the port connected to the target controller according to the different operating conditions designed in the test configuration file, so as to simulate the abnormal operating conditions of the target controller.

[0100] For example, taking a storage system including controller A and controller B as an example, if the test configuration file is designed with different operating conditions as controller A malfunctioning, controller B functioning normally, port A functioning normally, and port B functioning normally, then the computer device can control controller A to be in a powered-off state, control controller B to be in a powered-on state, and control port A and port B to be in normal working mode. Here, port A is the port in the dual-port hard drive that connects to controller A, and port B is the port in the dual-port hard drive that connects to controller B.

[0101] The storage system testing method provided in this application obtains a test configuration file of the storage system, and then, based on the test configuration file, controls the power-on / off state of the target controller and the operating mode of the ports connected to the target controller to simulate abnormal operating conditions of the target controller. This method provides an optional approach to quickly simulate abnormal operating conditions of the target controller; by introducing a test configuration file, and based on the operating condition design of each controller and port in the test configuration file, the power-on / off state of each controller and the operating mode of the ports are controlled to simulate abnormal operating conditions of the target controller.

[0102] Based on the above embodiments, an embodiment of the process of controlling the power-on / off state of the target controller and the operating mode of the port connected to the target controller will be provided for description.

[0103] In one exemplary embodiment, controlling the power-on / off state of the target controller and the operating mode of the port connected to the target controller includes:

[0104] The target controller is controlled to be in a powered-off state, and the port connected to the target controller is controlled to be in normal working mode; or, the target controller is controlled to be in a powered-on state, and the port connected to the target controller is controlled to be in abnormal working mode.

[0105] In this application embodiment, there are two ways to simulate the target controller as being in an abnormal operating condition: one is to control the target controller to be abnormal, and the other is to control the port connected to the target controller to be abnormal.

[0106] In one embodiment, the target controller malfunctions, but the port connected to it is functioning normally; that is, the target controller is powered off, and the port connected to it is in normal operating mode. At this time, other controllers are powered on, and their ports are in normal operating mode.

[0107] For example, taking controller A and controller B as an example, controller A is the target controller. Controller A is in the off state and port A is in normal working mode, while controller B is in the on state and port B is in normal working mode.

[0108] In another embodiment, the port connected to the target controller is abnormal, meaning the target controller is powered on and the port connected to it is in an abnormal operating mode. Meanwhile, other controllers are powered on and their ports are in normal operating mode.

[0109] For example, taking controller A and controller B as examples, controller A is the target controller. Controller A is powered on and port A is in abnormal working mode, while controller B is powered on and port B is in normal working mode.

[0110] In the storage system testing method provided in this application embodiment, the target controller is controlled to be in a powered-off state, and the port connected to the target controller is controlled to be in normal working mode; or, the target controller is controlled to be in a powered-on state, and the port connected to the target controller is controlled to be in an abnormal working mode. This method provides two ways to simulate abnormal operating conditions of the target controller: one is to control the target controller to be abnormal while the port connected to the target controller is normal, and the other is to control the target controller to be normal while the port connected to the target controller is abnormal. By simulating abnormal operating conditions of a single target controller and port, the abnormal operating conditions of the target controller are simulated, while covering both the controller and port links, conducting reliability testing from multiple dimensions, and improving the accuracy of storage system testing.

[0111] Based on any of the above embodiments, an embodiment is provided to illustrate the process of obtaining individual reliability test information for each controller.

[0112] In one exemplary embodiment, such as Figure 6 As shown, individual reliability test information for each controller is obtained, including:

[0113] S401, for any target controller in the storage system, under the condition of simulating normal operating conditions of the target controller, obtains the task completion information when the target controller performs data read and write tasks.

[0114] In this embodiment of the application, for any target controller in the storage system, the computer device simulates the normal operating conditions of the target controller in order to obtain individual reliability test information of the target controller through the task completion status of the target controller.

[0115] For example, for any target controller in the storage system, the computer device can control the target controller to be powered on and the port connected to the target controller to be in normal working mode, so as to simulate the normal working condition of the target controller. At the same time, read and write tasks are set for the target controller, so that the target controller can read and write data. After the target controller completes the read and write tasks, the task completion information is obtained.

[0116] For example, a data write request is sent to the target controller, carrying the target data to be written and the target write address. Upon receiving the data write request, the target controller writes the target data to the target write address based on the information carried in the request. After the target controller completes the write operation, the data written by the target controller and the write address are retrieved and used as task completion information.

[0117] S402, based on the task completion information, determines the individual reliability test information for the target controller.

[0118] Computer equipment can compare task completion information with task requirement information to determine individual reliability test information for the target controller.

[0119] For example, taking the target data writing example again, the data and write address written by the target controller are compared with the target data and target write address carried in the data write request. If the data written by the target controller is consistent with the target data and the write address is consistent with the target write address, then the single reliability test information of the target controller is determined to be that the reliability of the target controller is high; otherwise, if the data written by the target controller is inconsistent with the target data, or the write address is inconsistent with the target write address, then the single reliability test information of the target controller is determined to be that the reliability of the target controller is low.

[0120] In the storage system testing method provided in this application, for any target controller in the storage system, under normal operating condition simulation, the task completion information of the target controller when performing data read and write tasks is obtained, and the individual reliability test information of the target controller is determined based on the task completion information. This method provides an optional way to quickly determine individual reliability test information; by simulating normal operating conditions of the target controller, the individual reliability test information of the target controller can be determined based on the completion status of the target controller when performing tasks, providing data support for subsequently determining the reliability test results of the storage system.

[0121] After restoring the target controller to normal operation, the abnormal recovery test information of the target controller can be determined based on whether the target controller can normally enter the system working state. Based on this, the following embodiment describes the method for obtaining the abnormal recovery test information of the target controller.

[0122] In one exemplary embodiment, the method further includes:

[0123] For any target controller in the storage system, under the condition that the target controller recovers from an abnormal operating condition to a normal operating condition, obtain the abnormal recovery test information of the target controller based on the operating status of the target controller.

[0124] In this embodiment, for any target controller in the storage system, the target controller is controlled to recover from an abnormal operating condition to a normal operating condition. Then, based on the current operating state of the target controller, the abnormal recovery test information of the target controller is obtained. If the target controller can enter the system and work normally after recovering to a normal operating condition, the abnormal recovery test information of the target controller indicates that the target controller can work normally after abnormal recovery; if the target controller cannot enter the system and work normally after recovering to a normal operating condition, the abnormal recovery test information of the target controller indicates that the target controller cannot work normally after abnormal recovery.

[0125] When the target controller recovers from an abnormal operating condition to a normal operating condition, the recovery process needs to be based on the pattern of the abnormal operating condition.

[0126] For example, if the target controller is in an abnormal operating condition mode where it is powered off and the port connected to it is in normal operating mode, then when the target controller is restored to normal operating condition, the target controller is powered on and the port connected to it is in normal operating mode.

[0127] If the target controller is in an abnormal operating condition mode, with the target controller in the power-on state and the port connected to the target controller in an abnormal operating mode, then when the target controller is restored to normal operating condition, the target controller will be powered on and the port connected to the target controller will be in normal operating mode.

[0128] In the storage system testing method provided in this application, for any target controller in the storage system, when the target controller recovers from an abnormal operating condition to a normal operating condition, the abnormal recovery test information of the target controller is obtained based on the operating state of the target controller. In this method, by recovering the target controller from an abnormal operating condition to a normal operating condition, the abnormal recovery test information of the target controller can also be determined based on whether the target controller can normally enter the system operating state. This information can further determine the individual reliability test information of the target controller, providing more accurate test results for the storage system.

[0129] Based on the above embodiments, an embodiment is provided to illustrate the process of obtaining abnormal recovery test information of the target controller according to the working state of the target controller.

[0130] In one exemplary embodiment, such as Figure 7 As shown, based on the working status of the target controller, the abnormal recovery test information of the target controller is obtained, including:

[0131] S501, if the target controller can work normally, then the status of other controllers is monitored, and the device information of the target controller before and after the abnormal recovery is verified. The verification result is determined as the abnormal recovery test information of the target controller.

[0132] In this embodiment, if the target controller can enter the system and work normally, the status of other controllers is monitored, and the device information of the target controller before and after the anomaly recovery is verified. The verification result is then determined as the anomaly recovery test information of the target controller. If the device information of the target controller before and after the anomaly recovery is consistent, the target controller is determined to have high reliability. If the device information of the target controller before and after the anomaly recovery is inconsistent, the test is stopped, and the test environment is preserved to facilitate engineers in locating and resolving problems later.

[0133] It should be noted that, after the target controller recovers from its malfunction, the monitoring data for other controllers can also be used as a basis for determining the subsequent test results of the storage system. If, at this time, the status of other controllers is abnormal, it can also be determined that the reliability of the storage system is poor.

[0134] S502, if the target controller is not working properly, the information that the target controller is not working properly is identified as the abnormal recovery test information of the target controller.

[0135] If the target controller cannot enter the system to work normally, the information that the target controller cannot work normally is identified as the abnormal recovery test information of the target controller. That is, it is determined that the target controller is abnormal and cannot be recovered, and the test is stopped. The test environment is preserved to facilitate engineers to locate and solve the problem later.

[0136] In the storage system testing method provided in this application embodiment, if the target controller is working normally, the status of other controllers is monitored, and the device information of the target controller before and after abnormal recovery is verified. The verification result is determined as the abnormal recovery test information of the target controller. If the target controller is not working normally, the information indicating that the target controller is not working normally is determined as the abnormal recovery test information of the target controller. In this method, if the target controller is working normally, the reliability of the storage system can be determined based on the verification result by verifying the device information of the target controller before and after abnormal recovery. If the target controller is not working normally, the reliability of the storage system can also be determined based on the information indicating that the target controller is not working normally. This provides more dimensions of judgment for determining the reliability test results of the storage system and improves the accuracy of the reliability test results of the storage system.

[0137] Based on any of the above embodiments, an embodiment is provided to illustrate the process of determining the reliability test results of the storage system based on each individual reliability test information and the reliability test information affecting it.

[0138] In one exemplary embodiment, such as Figure 8 As shown, based on individual reliability test information and information affecting reliability tests, the reliability test results of the storage system are determined, including:

[0139] S601, retrieve the system logs of the storage system.

[0140] Among them, the system log of the storage system is the operating system log information recorded throughout the entire process of testing the storage system.

[0141] For example, a computer device can retrieve the system logs of a storage system from a log database. During reliability testing of the storage system, all log files recorded by the system are stored in the log database. When it is necessary to retrieve the system logs of the storage system, the computer device can filter out the log files that match the identification information from multiple log files in the log database based on the system log identification information, and then identify the filtered log files as the system logs of the storage system.

[0142] S602 determines the log anomaly list and the log normal list based on system logs and preset keyword information.

[0143] The log anomaly list refers to a list of controller-related data containing abnormal / error information. The log normal list refers to a list of controller-related data containing normal information.

[0144] The preset keyword information can include information indicating abnormality such as bad and error, and information indicating normality such as ok and succeeded.

[0145] For example, a computer device can filter data corresponding to information indicating anomalies from the system log based on preset keyword information to obtain a log anomaly list, and filter data corresponding to information indicating normality from the system log to obtain a log normal list.

[0146] S603 determines the reliability test results of the storage system based on the log anomaly list, the log normal list, individual reliability test information, and information affecting reliability tests.

[0147] After obtaining the log anomaly list and the log normal list, the computer device can remove erroneous information from each individual reliability test message and each message affecting reliability test based on the log anomaly list and the log normal list. Then, based on the remaining correct information, the reliability test result of the storage system is determined.

[0148] The storage system testing method provided in this application involves acquiring the system logs of the storage system, and then determining an abnormal log list and a normal log list based on the system logs and preset keyword information. Subsequently, the reliability test result of the storage system is determined based on the abnormal log list, the normal log list, individual reliability test information, and information affecting reliability tests. This method, by introducing the system logs of the storage system to obtain an abnormal log list including abnormal information and a normal log list including normal information, provides additional data support for determining the reliability test result, thereby more accurately determining the reliability test result of the storage system.

[0149] Based on the above embodiments, an embodiment is provided to illustrate the process of determining the reliability test results of the storage system according to the log anomaly list, the log normal list, each individual reliability test information, and each reliability test information affecting the reliability.

[0150] In one exemplary embodiment, such as Figure 9 As shown, based on the log anomaly list, the log normal list, individual reliability test information, and information affecting reliability tests, the reliability test results of the storage system are determined, including:

[0151] S701 verifies each individual reliability test information and each reliability impact test information based on the log anomaly list and the log normal list, to obtain the target impact reliability test information of each controller on other controllers and the target individual reliability test information of each controller.

[0152] In this embodiment, the computer device can compare the log anomaly list and the log normal list with each individual reliability test information and each reliability impact test information, and then determine the target reliability impact test information of each controller on other controllers and the target individual reliability test information of each controller based on the comparison results.

[0153] If any information in the reliability impact test information is inconsistent with the log anomaly list and the log normal list, then the inconsistent information in the reliability impact test information will be removed, and the remaining information in the reliability impact test information will be determined as the target reliability impact test information of each controller on other controllers.

[0154] If any individual reliability test information contains information that is inconsistent with the log anomaly list and the log normal list, then the inconsistent information in each individual reliability test information will be removed, and the remaining information in each individual reliability test information will be determined as the target individual reliability test information for each controller.

[0155] S702 determines the reliability test results of the storage system based on the reliability test information of each target's impact and the individual reliability test information of each target.

[0156] The computer equipment, after obtaining reliability test information on the impact of each target and individual reliability test information, determines the reliability test result of the storage system based on this information. If no abnormal information is found in either the impact or individual reliability test information, the storage system is determined to have high reliability. Conversely, if abnormal information is found in either the impact or individual reliability test information, the storage system is determined to have low reliability.

[0157] The storage system testing method provided in this application verifies each individual reliability test information and each reliability impact test information based on a log anomaly list and a log normal list. This yields the target impact reliability test information of each controller on other controllers and the target individual reliability test information of each controller. Based on this target impact reliability test information and the target individual reliability test information, the reliability test result of the storage system is determined. This method, by verifying each individual reliability test information and each reliability impact test information using the log anomaly list and the log normal list, obtains more accurate information. Based on this more accurate information, the reliability test result of the storage system is determined, further improving the accuracy of the reliability test result.

[0158] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0159] Based on the same inventive concept, this application also provides a storage system testing apparatus for implementing the storage system testing method described above. The solution provided by this apparatus is similar to the implementation described in the above method; therefore, the specific limitations in one or more storage system testing apparatus embodiments provided below can be found in the limitations of the storage system testing method described above, and will not be repeated here.

[0160] In one exemplary embodiment, such as Figure 10 As shown, a storage system testing device 1 is provided, comprising: an information acquisition module 10 and a result determination module 20, wherein:

[0161] The information acquisition module 10 is used to respond to the reliability test request of the storage system and, under the condition of simulating different operating conditions of each controller in the storage system, acquire the reliability test information of the impact of each controller on other controllers and the individual reliability test information of each controller.

[0162] The result determination module 20 is used to determine the reliability test results of the storage system based on the individual reliability test information and the reliability test information that affects it.

[0163] In one embodiment, the information acquisition module 10 is further configured to:

[0164] For any target controller in the storage system, under abnormal operating conditions simulation of the target controller and normal operating conditions simulation of other controllers, obtain reliability test information on the impact of the target controller on other controllers.

[0165] In one embodiment, the information acquisition module 10 is further configured to:

[0166] Obtain the test configuration file of the storage system; based on the test configuration file, simulate abnormal operating conditions of the target controller by controlling the power on / off state of the target controller and the working mode of the port connected to the target controller.

[0167] In one embodiment, the information acquisition module 10 is further configured to:

[0168] The target controller is controlled to be in a powered-off state, and the port connected to the target controller is controlled to be in normal working mode; or, the target controller is controlled to be in a powered-on state, and the port connected to the target controller is controlled to be in abnormal working mode.

[0169] In one embodiment, the information acquisition module 10 is further configured to:

[0170] For any target controller in the storage system, under normal operating condition simulation, obtain the task completion information when the target controller performs data read and write tasks; based on the task completion information, determine the individual reliability test information of the target controller.

[0171] In one embodiment, the storage system testing apparatus 1 further includes:

[0172] The anomaly recovery information acquisition module is used to acquire the anomaly recovery test information of any target controller in the storage system, based on the target controller's working status, when the target controller recovers from an abnormal operating condition to a normal operating condition.

[0173] In one embodiment, the above-mentioned anomaly recovery information acquisition module is further configured to:

[0174] If the target controller is working properly, the status of other controllers is monitored, and the device information of the target controller before and after the abnormal recovery is verified. The verification result is determined as the abnormal recovery test information of the target controller. If the target controller is not working properly, the information of the target controller not working properly is determined as the abnormal recovery test information of the target controller.

[0175] In one embodiment, the result determination module 20 is further configured to:

[0176] Obtain the system logs of the storage system; determine the log anomaly list and the log normal list based on the system logs and preset keyword information; determine the reliability test results of the storage system based on the log anomaly list, the log normal list, individual reliability test information, and information affecting reliability tests.

[0177] In one embodiment, the result determination module 20 is further configured to:

[0178] Based on the log anomaly list and the log normal list, each individual reliability test information and each impact reliability test information are verified to obtain the target impact reliability test information of each controller on other controllers and the target individual reliability test information of each controller; based on the target impact reliability test information and the target individual reliability test information, the reliability test results of the storage system are determined.

[0179] Each module in the aforementioned storage system testing device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0180] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0181] In response to a reliability test request from the storage system, under different operating conditions, the system acquires reliability test information on the impact of each controller on other controllers and individual reliability test information for each controller.

[0182] The reliability test results of the storage system are determined based on the individual reliability test information and the reliability test information that affects it.

[0183] The implementation principles and technical effects of each step in the processor embodiment of this application are similar to those of the above-described storage system testing method, and will not be repeated here.

[0184] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0185] In response to a reliability test request from the storage system, under different operating conditions, the system acquires reliability test information on the impact of each controller on other controllers and individual reliability test information for each controller.

[0186] The reliability test results of the storage system are determined based on the individual reliability test information and the reliability test information that affects it.

[0187] The implementation principles and technical effects of each step of the computer program executed by the processor in this embodiment are similar to those of the above-described storage system testing method, and will not be repeated here.

[0188] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0189] In response to a reliability test request from the storage system, under different operating conditions, the system acquires reliability test information on the impact of each controller on other controllers and individual reliability test information for each controller.

[0190] The reliability test results of the storage system are determined based on the individual reliability test information and the reliability test information that affects it.

[0191] The implementation principles and technical effects of each step of the computer program executed by the processor in this embodiment are similar to those of the above-described storage system testing method, and will not be repeated here.

[0192] It should be noted that the personnel information (including but not limited to personnel and equipment information, personnel personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the personnel or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0193] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0194] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0195] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for testing a storage system, characterized in that, The method includes: In response to a reliability test request from the storage system, under different operating conditions, reliability test information on the impact of each controller on other controllers and individual reliability test information for each controller are obtained; the different operating conditions include normal operating conditions or abnormal operating conditions. The reliability test results of the storage system are determined based on each of the individual reliability test information and each of the reliability impact test information.

2. The method according to claim 1, characterized in that, The process of obtaining reliability test information on the impact of each controller on other controllers includes: For any target controller in the storage system, under the condition of performing abnormal operating condition simulation on the target controller and normal operating condition simulation on other controllers other than the target controller, obtain reliability test information on the impact of the target controller on the other controllers.

3. The method according to claim 2, characterized in that, The abnormal operating condition simulation of the target controller includes: Obtain the test configuration file of the storage system; According to the test configuration file, abnormal operating conditions of the target controller are simulated by controlling the power-on / off state of the target controller and the working mode of the port connected to the target controller.

4. The method according to claim 3, characterized in that, The control of the power-on / off state of the target controller and the operating mode of the port connected to the target controller includes: Controlling the target controller to a power-off state and controlling the port connected to the target controller to a normal operating mode; or; The target controller is powered on, and the port connected to the target controller is in an abnormal working mode.

5. The method according to any one of claims 1-4, characterized in that, The step of obtaining individual reliability test information for each of the controllers includes: For any target controller in the storage system, under the condition of simulating normal operation of the target controller, obtain the task completion information when the target controller performs data read and write tasks; Based on the task completion information, determine the individual reliability test information of the target controller.

6. The method according to any one of claims 1-4, characterized in that, The method further includes: For any target controller in the storage system, when controlling the target controller to recover from an abnormal operating condition to a normal operating condition, the abnormal recovery test information of the target controller is obtained according to the working state of the target controller.

7. The method according to claim 6, characterized in that, The step of obtaining the abnormal recovery test information of the target controller based on the working status of the target controller includes: If the target controller can work normally, the status of other controllers is monitored, and the device information of the target controller before and after the abnormal recovery is verified. The verification result is determined as the abnormal recovery test information of the target controller. If the target controller is not working properly, the information indicating that the target controller is not working properly is identified as the abnormal recovery test information of the target controller.

8. The method according to any one of claims 1-4, characterized in that, The step of determining the reliability test results of the storage system based on each of the individual reliability test information and each of the reliability impact test information includes: Obtain the system logs of the storage system; Based on the system logs and preset keyword information, determine the log anomaly list and the log normal list; The reliability test results of the storage system are determined based on the log anomaly list, the log normal list, each individual reliability test information, and each reliability impact test information.

9. The method according to claim 8, characterized in that, The step of determining the reliability test results of the storage system based on the log anomaly list, the log normal list, each of the individual reliability test information, and each of the reliability impact test information includes: Based on the log anomaly list and the log normal list, each individual reliability test information and each impact reliability test information are verified to obtain the target impact reliability test information of each controller on the other controllers and the target individual reliability test information of each controller. The reliability test results of the storage system are determined based on the reliability test information of each target and the individual reliability test information of each target.

10. A storage system testing apparatus, characterized in that, The device includes: The information acquisition module is used to respond to the reliability test request of the storage system, and acquire the reliability test information of the impact of each controller on other controllers and the individual reliability test information of each controller under different operating conditions when simulating different operating conditions for each controller in the storage system; the different operating conditions include normal operating conditions or abnormal operating conditions. The result determination module is used to determine the reliability test results of the storage system based on each of the individual reliability test information and each of the reliability impact test information.

Citation Information

Patent Citations

  • Storage device controller, and method for testing whether storage device controller is faulty

    KR1020170001818A

  • Apparatus and method for an on-chip reliability controller

    US20170177434A1