Method, apparatus, computer system, and storage medium for improving system availability

By dynamically managing path strategies using theoretical and real performance data, the problem of ineffective link management in virtualization scenarios is solved, thereby improving system availability.

CN116540926BActive Publication Date: 2026-05-29INSPUR SUZHOU INTELLIGENT TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
INSPUR SUZHOU INTELLIGENT TECH CO LTD
Filing Date
2023-03-09
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

In virtualization scenarios, the lack of a unified, scenario-based strategy for managing the mixed virtual and physical links between hosts and storage leads to ineffective path management and impacts system availability.

Method used

By acquiring theoretical performance data and real-time performance data under the preset business model, the path strategy is dynamically managed, including refreshing, alarming, and switching of path strategies, especially when adjustments are not possible, and secondary allocation of virtual link path strategies is performed.

Benefits of technology

Without compromising reliability, optimize the path strategy to ensure smooth service delivery to the front-end host and improve the availability of the entire system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116540926B_ABST
    Figure CN116540926B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of computer, in particular to a method and device for improving system availability, a computer system and a storage medium, which comprises the following steps: obtaining theoretical performance data A of physical links under different path strategies in various preset business models; obtaining real performance data B under a current business model in real time; and managing path strategies based on the theoretical performance data A and the real performance data B. The present application dynamically manages the business backend module, the switching module, the storage frontend module, the CPU module and the storage backend module through a path optimization management module, especially performs path optimization for different business models and communication links in a high-performance mode, ensures optimal cluster path strategies without affecting reliability, allows the frontend host to smoothly issue business, and further improves the availability of the whole system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and in particular to methods, apparatus, computer systems, and storage media for improving system availability. Background Technology

[0002] Currently, multi-controller array storage typically manages the communication links between the host and storage by running multipath plugins on the host side. Common path strategies include round-robin, queue-length, and service-time. However, in many complex scenarios, such as when NPIV is enabled in virtualization, both real physical links and numerous virtual links exist between the host and storage. The lack of unified, scenario-based management for this combination of physical and virtual links can easily lead to ineffective path management for many virtual links. This can cause front-end services, especially under high pressure and abnormal scenarios, to fail to deploy and switch smoothly, thus affecting the availability of the entire system. Summary of the Invention

[0003] In order to solve the technical problems existing in the prior art, the present invention provides a method, apparatus, computer system and storage medium for improving system availability.

[0004] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:

[0005] In a first aspect, in one embodiment of the present invention, a method for improving system availability is provided. This method is applied to a computer system, the computer system including a first performance mode and a second performance mode, and the method includes:

[0006] S10. Obtain theoretical performance data A of physical links under different path strategies under various preset business models;

[0007] S20. Obtain real-time performance data B under the current business model;

[0008] S30. Based on the theoretical performance data A and the actual performance data B, manage the path strategy.

[0009] As a further aspect of the present invention, S30 involves managing the path strategy based on the theoretical performance data A and the actual performance data B, including when the computer system is in a first performance mode.

[0010] If B is detected to be greater than A*C1 within the duration T1, the theoretical performance A is refreshed.

[0011] If B is found to be less than A*D1 within the duration T2, an alarm is triggered and a prompt is issued to switch the path strategy.

[0012] As a further aspect of the present invention, if B is detected to be less than A*D1 within a duration T2, an alarm is initiated and a prompt is issued to switch the path strategy. The method also includes prompting whether to switch to the second performance mode if the path strategy cannot be adjusted.

[0013] As a further aspect of the present invention, in step S30, based on the theoretical performance data A and the actual performance data B, path strategy management is performed, including when the computer system is in the second mode.

[0014] If B is detected to be greater than A*C2 within duration T3, the theoretical performance A is refreshed.

[0015] If B is found to be less than A*D2 within a duration of T4, an alarm is triggered and a prompt is issued to switch the path strategy.

[0016] As a further aspect of the present invention, if B is detected to be less than A*D2 within the duration T4, an alarm is initiated and a prompt to switch the path strategy is issued, which also includes...

[0017] If path policy adjustment is not possible, then a secondary allocation of virtual link path policy will be performed.

[0018] As a further aspect of the present invention, the step of performing a secondary allocation of virtual link path policies if path policy adjustment cannot be performed includes:

[0019] The minimum secondary allocation unit is a virtual link group belonging to a real physical link, and different path strategies are adjusted within this unit.

[0020] As a further aspect of the present invention, if B is detected to be less than A*D2 within a duration T4, an alarm is initiated and a prompt to switch the path strategy is issued; it also includes:

[0021] If B is not less than A*D2 within the duration T5, the alarm is canceled.

[0022] Secondly, in another embodiment provided by the present invention, an apparatus for improving system availability is provided, the system comprising: a data acquisition module, a monitoring module, and a processing module;

[0023] The data acquisition module is used to acquire theoretical performance data A of physical links under different path strategies under various preset business models.

[0024] The monitoring module is used to acquire real-time performance data B under the current business model.

[0025] The processing module is used to manage the path strategy based on the theoretical performance data A and the actual performance data B.

[0026] Thirdly, in yet another embodiment of the present invention, a computer system is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor loads and executes the computer program to implement the steps of a method for improving system availability.

[0027] Fourthly, in another embodiment of the present invention, a storage medium is provided storing a computer program that, when loaded and executed by a processor, implements the steps of the method for improving system availability.

[0028] The technical solution provided by this invention has the following beneficial effects:

[0029] This invention provides a method, apparatus, computer system, and storage medium for improving system availability. The invention acquires theoretical performance data A of physical links under different path strategies for various preset service models; acquires real-time actual performance data B under the current service model; and manages path strategies based on the theoretical performance data A and the actual performance data B. This invention optimizes paths for different service models and communication links, ensuring optimal path strategies without affecting reliability, allowing front-end hosts to smoothly deliver services, thereby improving the availability of the entire system.

[0030] These or other aspects of the invention will become more apparent from the following description of embodiments. It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only, and are not intended to limit the invention. Attached Figure Description

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

[0032] Figure 1 This is a flowchart of a method for improving system availability according to an embodiment of the present invention;

[0033] Figure 2 This is a structural block diagram of a device for improving system availability according to an embodiment of the present invention;

[0034] Figure 3 This is a structural block diagram of a computer system according to an embodiment of the present invention.

[0035] In the diagram: Data acquisition module-100, monitoring module-200, processing module-300. Detailed Implementation

[0036] Various embodiments and / or forms are described below with reference to the accompanying drawings. In the following description, numerous specific details are disclosed for illustrative purposes to provide a general understanding of more than one form. However, those skilled in the art will understand that these forms can be implemented without specific details. Specific examples of more than one form will be described in detail in the following description and drawings. However, these forms are merely illustrative and may utilize a portion of the principles and methods of various forms; the descriptions are intended to encompass all forms and their equivalents. Specifically, the terms "embodiment," "example," "form," "illustration," etc., as used in this specification can be interpreted as meaning that any form or design described may be better or more advantageous than other forms or designs.

[0037] Furthermore, various forms and characteristics can be embodied in systems that include more than one device, terminal, server, equipment, component, and / or module. It should be understood and recognized that various systems may include additional devices, terminals, servers, equipment, components, and / or modules, and / or may not include all of the multiple devices, terminals, servers, equipment, components, and modules shown in the figure.

[0038] The terms "computer program," "component," "module," and "system" used in this specification are used interchangeably, and "computer" refers to related entities, hardware, firmware, software, combinations of software and hardware, or the execution of software. For example, a component can be a process executing on a processor, a processor, an object, a thread of execution, a program, and / or a computer, but is not limited thereto. For example, it can be an application program executing on a computer device and / or all components of the computing device. More than one component can be installed within a processor and / or a thread of execution. A component can be localized within a single computer. A component can also be distributed between two or more computers.

[0039] Furthermore, these components can be executed by various computer-readable media constructed to internally store various data. These components, for example, can communicate locally and / or remotely based on signals having more than one data packet (e.g., data emitted by a component interacting with other components on a local system or a distributed system, and data transmitted to other systems via networks such as the Internet).

[0040] Hereinafter, regardless of the symbols used in the drawings, the same or similar constituent elements will be assigned the same symbols, and repeated descriptions of these elements will be omitted. Furthermore, when describing the embodiments disclosed in this specification, detailed descriptions of well-known technologies will be omitted if it is determined that such detailed descriptions would obscure the essence of the invention. Moreover, the accompanying drawings are only for easier understanding of the embodiments disclosed in this specification, and the technical concepts disclosed in this specification are not limited to the drawings.

[0041] The terminology used in this specification is for illustrative purposes and not for limiting the invention. Unless otherwise specified, the singular includes the plural. The use of “comprises” and / or “comprising” in this specification does not exclude the presence or addition of more than one other constituent element in addition to the mentioned constituent elements.

[0042] The terms "first," "second," etc., can be used to describe various elements or components, but the elements or components are not limited to those terms. The terms are used to distinguish one element or component from others. Therefore, the first element or component mentioned below can also be a second element or component within the technical concept of this invention.

[0043] Unless otherwise defined, all terms used in this specification (including technical and scientific terms) are to be understood in the sense commonly understood by one of ordinary skill in the art to which this invention pertains. Furthermore, terms defined in commonly used dictionaries should not be interpreted ideally or excessively unless specifically defined otherwise.

[0044] Furthermore, the term "or" does not mean exclusive "or" but inclusive "or". That is, unless otherwise specific or contextually ambiguous, "X uses A or B" implies one of the natural connotations. That is, "X uses A or B" can be any of the above when X uses A or B; X uses B or X uses both A and B. And it should be understood that the term "and / or" as used in this specification refers to all possible combinations of more than one of the related items listed.

[0045] In addition, the terms “information” and “data” used in this specification are generally used interchangeably.

[0046] The suffixes “module” and “section” used in the following description of the constituent elements are merely assigned or used interchangeably for the convenience of writing the specification, and they do not have any distinguishing meaning or function in themselves.

[0047] Specifically, the embodiments of the present invention will be further described below with reference to the accompanying drawings.

[0048] Please see Figure 1 , Figure 1 This is a flowchart of a method for improving system availability provided in an embodiment of the present invention, such as... Figure 1 As shown, the method for improving system availability includes steps S10 to S30. The method is applied to a computer system, which includes a first performance mode and a second performance mode.

[0049] S10. Obtain theoretical performance data A of physical links under different path strategies under various preset business models.

[0050] S20. Obtain real-time performance data B under the current business model. Both theoretical performance data A and real performance data B include bandwidth, IOPS, and latency. The business model can be read / write, large / small block, or random / sequential.

[0051] S30. Based on the theoretical performance data A and the actual performance data B, manage the path strategy.

[0052] In an embodiment of the present invention, step S30 involves managing the path strategy based on the theoretical performance data A and the actual performance data B, including when the computer system is in a first performance mode.

[0053] If B is detected to be greater than A*C1 within the duration T1, the theoretical performance A is refreshed.

[0054] If B is found to be less than A*D1 within the duration T2, an alarm is triggered and a prompt is issued to switch the path strategy.

[0055] Specifically, if B is detected to be less than A*D1 within duration T2, the difference between the current actual path strategy and the embedded optimal path strategy is considered.

[0056] If B is detected to be less than A*D1 within a duration T2, an alarm is triggered and a prompt is issued to switch the path strategy. It also includes prompting whether to switch to the second performance mode if the path strategy cannot be adjusted.

[0057] In an embodiment of the present invention, step S30 involves managing the path strategy based on the theoretical performance data A and the actual performance data B, including when the computer system is in a second mode.

[0058] If B is detected to be greater than A*C2 within duration T3, the theoretical performance A is refreshed.

[0059] If B is found to be less than A*D2 within a duration of T4, an alarm is triggered and a prompt is issued to switch the path strategy.

[0060] If B is detected to be less than A*D2 within the duration T4, an alarm is triggered, and a prompt to switch the path strategy is issued. This also includes...

[0061] If path policy adjustment is not possible, then a secondary allocation of virtual link path policy will be performed.

[0062] In an embodiment of the present invention, the step of performing a secondary allocation of virtual link path policies if path policy adjustment cannot be performed includes:

[0063] The minimum secondary allocation unit is a virtual link group belonging to a real physical link. Within this unit, different path strategies (round-robin, queue-length, service-time) are adjusted.

[0064] In an embodiment of the present invention, if B is detected to be less than A*D2 within a duration T4, an alarm is initiated, and a prompt to switch path strategies is issued; it also includes:

[0065] If B is not less than A*D2 within the duration T5, the alarm is canceled.

[0066] Among them, A, C1, C2, D1, D2, T1, T2, T3, T4 and T5 are all preset parameters.

[0067] The first performance mode can be the normal performance mode, and the second performance mode can be the high performance mode.

[0068] For example, in the first performance mode, if B is detected to be greater than A*130% within a 30-minute period, the path optimization management module refreshes the embedded theoretical performance data A under the business model and the path strategy. If B is detected to be less than A*75% within a 20-minute period, the path optimization management module sends an alarm to the cluster and prompts whether to switch the path strategy based on the difference between the current actual path strategy and the embedded optimal path strategy. If the business layer cannot adjust the path strategy, it prompts whether to switch to the second performance mode. In the second performance mode, if B is detected to be greater than A*125% within a 25-minute period, the path optimization management module refreshes the embedded theoretical performance under the business model and the path strategy. If B is detected to be less than A*80% within a 15-minute period, the path optimization management module sends an alarm to the cluster and prompts whether to switch the path strategy based on the difference between the current actual path strategy and the embedded optimal path strategy. If the business layer cannot adjust the path strategy, it performs a secondary allocation of the virtual link path strategy. Specifically, the smallest secondary allocation unit is a virtual link group belonging to a real physical link, within which different path strategies are adjusted. If the path optimization management module satisfies that B is not less than A*80% within 60 minutes, the cluster alarm is canceled.

[0069] This invention optimizes paths for different business models and communication links, ensuring the optimal path strategy without affecting reliability, allowing the front-end host to smoothly deliver services, thereby improving the availability of the entire system.

[0070] It should be understood that although the above description follows a certain order, these steps are not necessarily executed in that order. Unless otherwise expressly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, some steps in this embodiment may include multiple steps or multiple stages, which are not necessarily completed at the same time, but may be executed at different times. The execution order of these steps or stages is not necessarily sequential, but may be performed alternately or in turn with other steps or at least a portion of the steps or stages in other steps.

[0071] In one embodiment, see Figure 2 As shown, an embodiment of the present invention also provides a device for improving system availability, which includes a data acquisition module 100, a monitoring module 200, and a processing module 300.

[0072] The data acquisition module 100 is used to acquire theoretical performance data A of physical links under different path strategies under various preset business models.

[0073] The monitoring module 200 is used to acquire real-time performance data B under the current business model.

[0074] The processing module 300 is used to manage the path strategy based on the theoretical performance data A and the actual performance data B.

[0075] In one embodiment, see Figure 3 As shown, an embodiment of the present invention also provides a computer system, including a path optimization management module, a service backend module, a switching module, a storage frontend module, a CPU module, and a storage backend module.

[0076] The switching module, storage front-end module, CPU module, and storage back-end module are all communicatively connected to the service back-end module.

[0077] The path optimization management module executes the method for improving system availability. When executing instructions, the path optimization management module implements the steps in the above method embodiment:

[0078] S10. Obtain theoretical performance data A of physical links under different path strategies under various preset business models;

[0079] S20. Obtain real-time performance data B under the current business model;

[0080] S30. Based on the theoretical performance data A and the actual performance data B, manage the path strategy.

[0081] In an embodiment of the present invention, step S30 involves managing the path strategy based on the theoretical performance data A and the actual performance data B, including when the computer system is in a first performance mode.

[0082] If B is detected to be greater than A*C1 within the duration T1, the theoretical performance A is refreshed.

[0083] If B is found to be less than A*D1 within the duration T2, an alarm is triggered and a prompt is issued to switch the path strategy.

[0084] Specifically, if B is detected to be less than A*D1 within duration T2, the difference between the current actual path strategy and the embedded optimal path strategy is considered.

[0085] It also includes prompting whether to switch to the second performance mode if the path strategy cannot be adjusted.

[0086] S30. Based on the theoretical performance data A and the actual performance data B, manage the path strategy.

[0087] In an embodiment of the present invention, step S30 involves managing the path strategy based on the theoretical performance data A and the actual performance data B, including when the computer system is in a second mode.

[0088] If B is detected to be greater than A*C2 within duration T3, the theoretical performance A is refreshed.

[0089] If B is found to be less than A*D2 within a duration of T4, an alarm is triggered and a prompt is issued to switch the path strategy.

[0090] It also includes the secondary allocation of virtual link path policies if path policy adjustments cannot be made.

[0091] In an embodiment of the present invention, the step of performing a secondary allocation of virtual link path policies if path policy adjustment cannot be performed includes:

[0092] The minimum secondary allocation unit is a virtual link group belonging to a real physical link. Within this unit, different path strategies (round-robin, queue-length, service-time) are adjusted.

[0093] In an embodiment of the present invention, if B is detected to be less than A*D2 within a duration T4, an alarm is initiated, and a prompt to switch path strategies is issued; it also includes:

[0094] If B is not less than A*D2 within the duration T5, the alarm is canceled.

[0095] Among them, A, C1, C2, D1, D2, T1, T2, T3, T4 and T5 are all preset parameters.

[0096] The computer system also includes an indicator module, a serial port module, and a wireless module.

[0097] The switching module is typically a fiber optic switch or an Ethernet switch, which can support virtualization functions such as NPIV.

[0098] The storage front-end module is typically located on the storage side, such as FC cards, network cards, and other I / O cards; it can support virtualization functions such as NPIV.

[0099] The CPU module is the control module for the array storage, carrying the storage system software. It is managed by the path optimization management module and sends current performance data to it in real time.

[0100] The storage backend module carries the storage backend data, is managed by the path optimization management module, and sends the current performance data to the path optimization management module in real time.

[0101] The indicator module is located on the board and is directly controlled by the serial port module. It indicates the real-time status of the current path optimization management module.

[0102] The wireless module can convert the serial port module signal into a wireless signal such as WIFI, allowing external devices to exchange information with the path optimization management module without the need for a physical serial cable.

[0103] The serial port module allows for information exchange, parameter presets, and the activation of related functions between the external system and the path optimization management module.

[0104] The path optimization management module obtains the current physical and virtual link status of the system through the business backend module, switching module, and storage frontend module, and records the physical affiliation of virtual links. For example, if there are links numbered 1-7, the path optimization management module needs to identify links 5-7 as real physical links and links 1-4 as virtual links belonging to the same physical link. The path optimization management module performs a primary path policy allocation based on the actual physical links (visible to the business), and a secondary path policy allocation within the virtual links (unaware of the business). The path optimization management module embeds the theoretical performance (bandwidth, IOPS, latency) A of physical links under different path policies (round-robin, queue-length, service-time) under various business models (read / write, small / large block, random / sequential), and can obtain the real performance data B under the current business model in real time.

[0105] This invention uses a path optimization management module to dynamically manage the business backend module, switching module, storage frontend module, CPU module, and storage backend module. In particular, in high-performance mode, it optimizes paths for different business models and communication links, ensuring the optimal cluster path strategy without affecting reliability. This allows the frontend host to smoothly deliver services, thereby improving system availability.

[0106] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.

[0107] The communication interface is used for communication between the aforementioned terminal and other devices.

[0108] The memory may include random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.

[0109] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0110] The computer system includes user equipment and network equipment. The user equipment includes, but is not limited to, computers, smartphones, and PDAs. The network equipment includes, but is not limited to, a single network server, a server group consisting of multiple network servers, or a cloud based on cloud computing, which is a type of distributed computing consisting of a super virtual computer composed of a group of loosely coupled computers. The computer system can operate independently to implement the invention, or it can connect to a network and interact with other computer systems within the network to implement the invention. The network in which the computer system operates includes, but is not limited to, the Internet, wide area networks (WANs), metropolitan area networks (MANs), local area networks (LANs), and VPN networks.

[0111] It should also be understood that the term "and / or" as used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0112] In one embodiment of the present invention, a storage medium is also provided, on which a computer program is stored, which, when executed by a processor, implements the steps in the above method embodiments:

[0113] S10. Obtain theoretical performance data A of physical links under different path strategies under various preset business models;

[0114] S20. Obtain real-time performance data B under the current business model;

[0115] S30. Based on the theoretical performance data A and the actual performance data B, manage the path strategy.

[0116] In an embodiment of the present invention, step S30 involves managing the path strategy based on the theoretical performance data A and the actual performance data B, including when the computer system is in a first performance mode.

[0117] If B is detected to be greater than A*C1 within the duration T1, the theoretical performance A is refreshed.

[0118] If B is found to be less than A*D1 within the duration T2, an alarm is triggered and a prompt is issued to switch the path strategy.

[0119] Specifically, if B is detected to be less than A*D1 within duration T2, the difference between the current actual path strategy and the embedded optimal path strategy is considered.

[0120] It also includes prompting whether to switch to the second performance mode if the path strategy cannot be adjusted.

[0121] S30. Based on the theoretical performance data A and the actual performance data B, manage the path strategy.

[0122] In an embodiment of the present invention, step S30 involves managing the path strategy based on the theoretical performance data A and the actual performance data B, including when the computer system is in a second mode.

[0123] If B is detected to be greater than A*C2 within duration T3, the theoretical performance A is refreshed.

[0124] If B is found to be less than A*D2 within a duration of T4, an alarm is triggered and a prompt is issued to switch the path strategy.

[0125] It also includes the secondary allocation of virtual link path policies if path policy adjustments cannot be made.

[0126] In an embodiment of the present invention, the step of performing a secondary allocation of virtual link path policies if path policy adjustment cannot be performed includes:

[0127] The minimum secondary allocation unit is a virtual link group belonging to a real physical link. Within this unit, different path strategies (round-robin, queue-length, service-time) are adjusted.

[0128] In an embodiment of the present invention, if B is detected to be less than A*D2 within a duration T4, an alarm is initiated, and a prompt to switch path strategies is issued; it also includes:

[0129] If B is not less than A*D2 within the duration T5, the alarm is canceled.

[0130] Among them, A, C1, C2, D1, D2, T1, T2, T3, T4 and T5 are all preset parameters.

[0131] This invention optimizes paths for different business models and communication links, ensuring the optimal path strategy without affecting reliability, allowing the front-end host to smoothly deliver services, thereby improving the availability of the entire system.

[0132] Those skilled in the art will understand that all or part of the processes in the methods of 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, and when executed, it can include the processes of the embodiments of the above methods. Furthermore, any references to memory, storage, databases, or other media used in the embodiments provided by this invention can include at least one of non-volatile and volatile memory.

[0133] It should be understood that, as used herein, the singular form "a" is intended to include the plural form as well, unless the context clearly supports an exception. It should also be understood that, as used herein, "and / or" refers to any and all possible combinations of one or more of the associatedly listed items. The embodiment numbers disclosed above are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0134] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of the invention (including the claims) is limited to these examples. Within the framework of the invention, technical features of the above embodiments or different embodiments can be combined, and many other variations of different aspects of the invention exist, which are not provided in the details for the sake of brevity. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the invention should be included within the protection scope of the invention.

Claims

1. A method for improving system availability, characterized in that, This method is applied to a computer system, which includes a first performance mode and a second performance mode, and the method includes: S10. Obtain theoretical performance data A of physical links under different path strategies under various preset business models, wherein the path strategy is for overall management of the communication links between the host and storage; S20. Obtain real-time performance data B under the current business model; S30. Based on the theoretical performance data A and the actual performance data B, manage the path strategy, including switching the path strategy. The path switching strategy includes: if a path switching strategy cannot be performed, a secondary allocation of virtual link path strategies is performed; the secondary allocation of virtual link path strategies includes: taking a group of virtual links belonging to a real physical link as the smallest secondary allocation unit, and switching between different path strategies within this unit.

2. The method for improving system availability as described in claim 1, characterized in that, S30, based on the theoretical performance data A and the actual performance data B, manages the path strategy, including when the computer system is in the first performance mode. If B is detected to be greater than A*C1 within the duration T1, the theoretical performance A is refreshed. If B is found to be less than A*D1 within the duration T2, an alarm is triggered and a prompt is issued to switch the path strategy; C1 and D1 are preset parameters.

3. The method for improving system availability as described in claim 2, characterized in that, If B is found to be less than A*D1 within a duration T2, an alarm is triggered and a prompt is issued to switch the path strategy. If the path strategy cannot be switched, a prompt is issued to indicate whether to switch to the second performance mode.

4. The method for improving system availability as described in claim 1, characterized in that, S30, based on the theoretical performance data A and the actual performance data B, manages the path strategy, including when the computer system is in the second mode. If B is detected to be greater than A*C2 within duration T3, the theoretical performance A is refreshed. If B is found to be less than A*D2 within a duration of T4, an alarm is triggered and a prompt is issued to switch the path strategy. C2 and D2 are preset parameters.

5. The method for improving system availability as described in claim 1, characterized in that, If B is found to be less than A*D2 within duration T4, an alarm is triggered, and a prompt to switch the path strategy is issued; This also includes: If B is not less than A*D2 within the duration T5, the alarm is canceled. D2 is a preset parameter.

6. A device for improving system availability, characterized in that, The system includes: a data acquisition module, a monitoring module, and a processing module; The data acquisition module is used to acquire theoretical performance data A of physical links under different path strategies under various preset business models. The path strategy is to manage the communication links between the host and the storage as a whole. The monitoring module is used to acquire real-time performance data B under the current business model; The processing module is used to manage the path strategy based on the theoretical performance data A and the actual performance data B, and the management includes switching the path strategy. The path switching strategy includes: if a path switching strategy cannot be performed, a secondary allocation of virtual link path strategies is performed; the secondary allocation of virtual link path strategies includes: taking a group of virtual links belonging to a real physical link as the smallest secondary allocation unit, and switching between different path strategies within this unit.

7. A computer system comprising a path optimization management module, a service backend module, a switching module, a storage frontend module, a CPU module, and a storage backend module, wherein the switching module, the storage frontend module, the CPU module, and the storage backend module are all communicatively connected to the service backend module, and the path optimization management module implements the steps of the method for improving system availability as described in any one of claims 1-5 when loading and executing a computer program.

8. A storage medium storing a computer program that, when loaded and executed by a processor, implements the steps of the method for improving system availability as described in any one of claims 1-5.