WO2024146366A1 - 一种前后端负载管理方法、系统、设备及计算机存储介质 - Google Patents

一种前后端负载管理方法、系统、设备及计算机存储介质 Download PDF

Info

Publication number
WO2024146366A1
WO2024146366A1 PCT/CN2023/139601 CN2023139601W WO2024146366A1 WO 2024146366 A1 WO2024146366 A1 WO 2024146366A1 CN 2023139601 W CN2023139601 W CN 2023139601W WO 2024146366 A1 WO2024146366 A1 WO 2024146366A1
Authority
WO
WIPO (PCT)
Prior art keywords
site
real
target
time
link quality
Prior art date
Application number
PCT/CN2023/139601
Other languages
English (en)
French (fr)
Inventor
李凯
王志浩
Original Assignee
苏州元脑智能科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 苏州元脑智能科技有限公司 filed Critical 苏州元脑智能科技有限公司
Publication of WO2024146366A1 publication Critical patent/WO2024146366A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • H04L43/55Testing of service level quality, e.g. simulating service usage
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2425Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA

Definitions

  • the present application relates to the field of array storage technology, and more specifically, to a front-end and back-end load management method, system, device, and computer non-volatile readable storage medium.
  • Current array storage especially high-end multi-controller storage, generally adopts the method of deploying active-active sites in the same city for disaster recovery protection in services that require high reliability, such as communications.
  • the other site can immediately start the service, ensuring the continuous availability of the front-end service.
  • the stability of this cross-frame remote link connection is easily disturbed by a variety of internal and external factors, such as changes in the link physical layer and changes in business pressure.
  • this interference cannot be managed at present. Once there is a slight abnormality in the site or link, it is easy to cause the business data to fail to be sent at the normal speed or frequent site switching, which in turn affects the availability of the array storage system.
  • a front-end and back-end load management method includes: obtaining a real-time front-end and back-end business model, a real-time load pressure, and a real-time inter-frame link quality of a target master site in a target array storage; obtaining a real-time front-end and back-end business model, a real-time load pressure, and a real-time inter-frame link quality of a target slave site in a target array storage; adjusting the availability of the target master site and the target slave site based on the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site; adjusting the availability of the target master site and the target slave site based on the real-time front-end and back-end business model of the target master site, the real-time load pressure of the target master site, the real-time front-end and back-end business model of the target slave site, and the real-time load pressure of the target slave site.
  • the availability of the target master site and the target slave site is adjusted, including: obtaining the working mode of the target master site and the target slave site; based on the working mode, the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site, the availability of the target master site and the target slave site is adjusted; wherein the working mode includes a high-availability working mode and a normal working mode, and the link quality division granularity of the high-availability working mode is higher than the link quality division granularity of the normal working mode.
  • the availability of the target master site and the target slave site is adjusted, including: if the working mode is the normal working mode, then determining whether the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site are consistent; if the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site are consistent, then determining whether the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site have the worst link quality under the normal working mode; if the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site have the worst link quality under the normal working mode, then reporting a first-level business warning, and at the same time reporting whether the working mode is switched to a high-availability
  • the availability of the target master site and the target slave site is adjusted, including: if the working mode is a high-availability working mode, then determining whether the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site are consistent; if the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site are consistent, then determining whether the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site have the worst link quality in the high-availability working mode; if the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site have the worst link quality in the high-availability working mode, then reporting a third-level business warning.
  • the third-level business warning after reporting the third-level business warning, it also includes: taking the site with the worst link quality in the high-availability working mode among the target main site or the target slave site as the site to be tested; performing a simulated stress test on the site to be tested to obtain a simulated stress test result; if the simulated stress test result is the same as the preset optimal load pressure result, canceling the third-level business warning.
  • performing a simulated stress test on the site to be tested includes: when the front-end business pressure of the site to be tested is less than a preset value, performing a simulated stress test on the site to be tested with a time period of a first preset time length.
  • a simulated stress test is performed on the site to be tested, including: a simulated stress test is performed on the site to be tested under a large block sequential write and/or small block sequential write and/or large block random write and/or small block random model.
  • determining whether the real-time inter-frame link quality of the target master site is consistent with the real-time inter-frame link quality of the target slave site includes: determining whether the gear value of the real-time inter-frame link quality of the target master site is consistent with the gear value of the real-time inter-frame link quality of the target slave site; if the gear value of the real-time inter-frame link quality of the target master site is inconsistent with the gear value of the real-time inter-frame link quality of the target slave site, then determining that the real-time inter-frame link quality of the target master site is inconsistent with the real-time inter-frame link quality of the target slave site.
  • the availability of the target master site and the target slave site is adjusted, including: determining the optimal load pressure of the target site under the real-time inter-frame link quality based on the real-time front-end and back-end business model of the target site, the target site including the target master site and the target slave site; adjusting the availability of the target site based on the real-time load pressure of the target site and the optimal load pressure of the target site.
  • the availability of the target site is adjusted based on the real-time load pressure of the target site and the optimal load pressure of the target site, including: obtaining the working mode of the target site; adjusting the availability of the target site based on the working mode, the real-time load pressure of the target site and the optimal load pressure of the target site; wherein the working mode includes a high-availability working mode and a normal working mode, and the link quality division granularity of the high-availability working mode is higher than the link quality division granularity of the normal working mode.
  • the availability of the target site is adjusted based on the working mode, the real-time load pressure of the target site and the optimal load pressure of the target site, including: if the working mode is the normal working mode, calculating the first preset percentage value of the optimal load pressure of the target site; judging whether the real-time load pressure of the target site is less than the first preset percentage value; if the real-time load pressure of the target site is less than the first preset percentage value, reporting a secondary business warning and reporting whether to switch the working mode to a high-availability working mode.
  • the availability of the target site is adjusted based on the working mode, the real-time load pressure of the target site and the optimal load pressure of the target site, including: if the working mode is a high-availability working mode, calculating a second preset percentage value of the optimal load pressure of the target site; determining whether the real-time load pressure of the target site is less than the second preset percentage value; if the real-time load pressure of the target site is less than the second preset percentage value, reporting a level 4 business warning.
  • determining whether the real-time load pressure of the target site is less than a second preset percentage value includes: determining whether the real-time load pressure of the target site is less than a second preset percentage value within a third preset time period.
  • a front-end and back-end load management method is applied to a target master site in a target array storage, comprising: obtaining its own real-time front-end and back-end business model, real-time load pressure and real-time inter-frame link quality; obtaining the real-time front-end and back-end business model, real-time load pressure and real-time inter-frame link quality of a target slave site in the target array storage; adjusting the availability of the target master site based on the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site; adjusting the availability of the target master site based on the real-time front-end and back-end business model of the target master site, the real-time load pressure of the target master site, the real-time front-end and back-end business model of the target slave site and the real-time load pressure of the target slave site.
  • a front-end and back-end load management method is applied to a target slave site in a target array storage, comprising: obtaining its own real-time front-end and back-end business model, real-time load pressure and real-time inter-frame link quality; obtaining the real-time front-end and back-end business model, real-time load pressure and real-time inter-frame link quality of a target master site in the target array storage; adjusting the availability of the target slave site based on the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site; adjusting the availability of the target slave site based on the real-time front-end and back-end business model of the target master site, the real-time load pressure of the target master site, the real-time front-end and back-end business model of the target slave site and the real-time load pressure of the target slave site.
  • a front-end and back-end load management system includes: a first acquisition module, configured to acquire the real-time front-end and back-end business model, real-time load pressure and real-time inter-frame link quality of a target master site in a target array storage; a second acquisition module, configured to acquire the real-time front-end and back-end business model, real-time load pressure and real-time inter-frame link quality of a target slave site in the target array storage; a first adjustment module, configured to adjust the availability of the target master site and the target slave site based on the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site; and a second adjustment module, configured to adjust the availability of the target master site and the target slave site based on the real-time front-end and back-end business model of the target master site, the real-time load pressure of the target master site, the real-time front-end and back-end business model of the target slave site and the real-time load pressure of the target slave site.
  • a front-end and back-end load management device comprises: a memory configured to store a computer program; and a processor configured to implement the steps of any of the above front-end and back-end load management methods when executing the computer program.
  • a computer non-volatile readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any of the front-end and back-end load management methods described above are implemented.
  • the present application provides a front-end and back-end load management method, which obtains the real-time front-end and back-end business model, real-time load pressure and real-time inter-frame link quality of a target master site in a target array storage; obtains the real-time front-end and back-end business model, real-time load pressure and real-time inter-frame link quality of a target slave site in a target array storage; adjusts the availability of the target master site and the target slave site based on the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site; adjusts the availability of the target master site and the target slave site based on the real-time front-end and back-end business model of the target master site, the real-time load pressure of the target master site, the real-time front-end and back-end business model of the target slave site, and the real-time load pressure of the target slave site.
  • the availability of the target master site and the target slave site can be adjusted based on the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site.
  • the availability of the target master site and the target slave site can be adjusted based on the real-time front-end and back-end business model of the target master site, the real-time load pressure of the target master site, the real-time front-end and back-end business model of the target slave site, and the real-time load pressure of the target slave site, so as to dynamically adjust the availability of the target array storage according to the working conditions of the site and improve the availability of the array storage.
  • the front-end and back-end load management system, device, and computer non-volatile readable storage medium provided by the present application also solve the corresponding technical problems.
  • FIG1 is a first flow chart of a front-end and back-end load management method provided by an embodiment of the present application
  • FIG2 is a second flow chart of a front-end and back-end load management method provided in an embodiment of the present application
  • FIG3 is a third flow chart of a front-end and back-end load management method provided in an embodiment of the present application.
  • FIG4 is a schematic diagram of the structure of a front-end and back-end load management system provided in an embodiment of the present application.
  • the present application provides a front-end and back-end load management method, which obtains the real-time front-end and back-end business model, real-time load pressure and real-time inter-frame link quality of the target master site in the target array storage; obtains the real-time load pressure and real-time inter-frame link quality of the target slave ...
  • Step S204 Based on the working mode, the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site, the availability of the target master site and the target slave site is adjusted; wherein the working mode includes a high-availability working mode and a normal working mode, and the link quality division granularity of the high-availability working mode is higher than the link quality division granularity of the normal working mode.
  • Step S303 Based on the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site, the availability of the target master site and the target slave site is adjusted.
  • the following steps can also be performed: if the real-time inter-frame link quality of the target master site is different from the real-time inter-frame link quality of the target slave site, the site with the worst link quality among the target master site or the target slave site is used as the site to be debugged; determine the target inter-frame link quality that is one level worse than the real-time inter-frame link quality of the site to be debugged; determine the optimal load pressure corresponding to the target inter-frame link quality; adjust the front-end load pressure of the site to be debugged to the optimal load pressure corresponding to the target inter-frame link quality.
  • the inter-frame link quality of the target master site is in the X gear
  • the inter-frame link quality of the target slave site is in the Y gear
  • X ⁇ Y then adjust the upper limit of the front-end load of the target slave site to the load pressure value corresponding to Y+1, etc.
  • the availability of the target master site is adjusted.
  • the availability of the target slave site is adjusted.
  • FIG. 4 is a schematic diagram of the structure of a front-end and back-end load management system provided in an embodiment of the present application.
  • the first acquisition module 101 is configured to acquire the real-time front-end and back-end business model, real-time load pressure and real-time inter-frame link quality of the target primary site in the target array storage;
  • the second acquisition module 102 is configured to acquire the real-time front-end and back-end business model, real-time load pressure and real-time inter-frame link quality of the target slave site in the target array storage;
  • a first adjustment module 103 is configured to adjust the availability of the target master site and the target slave site based on the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site;
  • the second adjustment module 104 is configured to adjust the availability of the target master site and the target slave site based on the real-time front-end and back-end business model of the target master site, the real-time load pressure of the target master site, the real-time front-end and back-end business model of the target slave site, and the real-time load pressure of the target slave site.
  • a first acquisition unit is configured to acquire the working modes of the target master site and the target slave site;
  • the first adjustment unit can be configured as follows: if the working mode is the normal working mode, then determine whether the real-time inter-frame link quality of the target master site is consistent with the real-time inter-frame link quality of the target slave site; if the real-time inter-frame link quality of the target master site is consistent with the real-time inter-frame link quality of the target slave site, then determine whether the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site has the worst link quality under the normal working mode; if the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site has the worst link quality under the normal working mode, then report a first-level business warning, and at the same time report whether the working mode is switched to the high-availability working mode.
  • the first adjustment unit can be configured to: if the working mode is a high-availability working mode, determine whether the real-time inter-frame link quality of the target master site is consistent with the real-time inter-frame link quality of the target slave site; if the real-time inter-frame link quality of the target master site is consistent with the real-time inter-frame link quality of the target slave site, determine whether there is the worst link quality in the high-availability working mode between the real-time inter-frame link quality of the target master site and ... If the real-time inter-chassis link quality of the slave site has the worst link quality in the high availability working mode, a third-level service warning is reported.
  • the first determination unit is configured to, after the first adjustment unit reports the third-level service warning, select a site with the worst link quality in the high-availability working mode among the target primary site or the target secondary site as a site to be tested;
  • the first testing unit is configured to perform a simulated stress test on the site to be tested and obtain a simulated stress test result
  • the first canceling unit is configured to cancel the third-level business warning if the simulation stress test result is the same as the preset optimal load stress result.
  • the first test unit can be configured to: when the front-end business pressure of the site to be tested is less than a preset value, perform a simulated stress test on the site to be tested with a time period of a first preset duration.
  • An embodiment of the present application provides a front-end and back-end load management system, in which the first test unit can be configured to perform a simulated stress test on the site to be tested under large block sequential write and/or small block sequential write and/or large block random write and/or small block random models.
  • the first adjustment unit can be configured to: determine whether the gear value of the real-time inter-frame link quality of the target main site is consistent with the gear value of the real-time inter-frame link quality of the target slave site; if the gear value of the real-time inter-frame link quality of the target main site is inconsistent with the gear value of the real-time inter-frame link quality of the target slave site, then determine that the real-time inter-frame link quality of the target main site is inconsistent with the real-time inter-frame link quality of the target slave site.
  • the second adjustment module may include:
  • a second determination unit is configured to determine an optimal load pressure of the target site under the real-time inter-frame link quality based on a real-time front-end and back-end business model of the target site, the target site including a target master site and a target slave site;
  • the second adjustment unit can be configured as follows: if the working mode is the normal working mode, then calculating the first preset percentage value of the optimal load pressure of the target site; judging whether the real-time load pressure of the target site is less than the first preset percentage value; if the real-time load pressure of the target site is less than the first preset percentage value, then reporting a secondary business warning, and at the same time reporting whether to switch the working mode to the high-availability working mode.
  • the second adjustment unit can be configured to: determine whether the real-time load pressure of the target site is less than a first preset percentage value within a second preset time period.
  • the second adjustment unit can be configured as follows: if the working mode is a high-availability working mode, then calculating a second preset percentage value of the optimal load pressure of the target site; determining whether the real-time load pressure of the target site is less than the second preset percentage value; if the real-time load pressure of the target site is less than the second preset percentage value, then reporting a level 4 business warning.
  • the second adjustment unit can be configured to: determine whether the real-time load pressure of the target site is less than a second preset percentage value within a third preset time period.
  • the third determining unit is configured to, after the second adjusting unit reports the fourth-level service warning, if the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site are different, use the site with the worst link quality among the target master site or the target slave site as the site to be debugged;
  • a fourth determining unit is configured to determine a target inter-frame link quality that is one level lower than the real-time inter-frame link quality of the site to be debugged;
  • a fifth determining unit is configured to determine an optimal load pressure corresponding to the target inter-frame link quality
  • the third adjustment unit is configured to adjust the front-end load pressure of the site to be debugged to the optimal load pressure corresponding to the target inter-frame link quality.
  • a front-end and back-end load management system provided in an embodiment of the present application is applied to a target primary site in a target array storage, and may include:
  • the third acquisition module is configured to acquire its own real-time front-end and back-end business models, real-time load pressure, and real-time inter-frame link quality;
  • a fourth acquisition module is configured to acquire a real-time front-end and back-end business model, a real-time load pressure, and a real-time inter-frame link quality of a target slave site in a target array storage;
  • a third adjustment unit configured to adjust the availability of the target master site based on the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site;
  • the fourth adjustment unit is configured to adjust the availability of the target master site based on the real-time front-end and back-end business model of the target master site, the real-time load pressure of the target master site, the real-time front-end and back-end business model of the target slave site, and the real-time load pressure of the target slave site.
  • a front-end and back-end load management system provided in an embodiment of the present application is applied to a target slave site in a target array storage, and may include:
  • a fifth acquisition module is configured to acquire its own real-time front-end and back-end business models, real-time load pressure, and real-time inter-frame link quality;
  • a sixth acquisition module is configured to acquire a real-time front-end and back-end business model, a real-time load pressure, and a real-time inter-frame link quality of a target primary site in a target array storage;
  • a fifth adjustment module configured to adjust the availability of the target slave site based on the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site;
  • the sixth adjustment module is configured to adjust the availability of the target slave site based on the real-time front-end and back-end business models of the target master site, the real-time load pressure of the target master site, the real-time front-end and back-end business models of the target slave site, and the real-time load pressure of the target slave site.
  • the structure of the front-end and back-end load management system provided by the present application can be flexibly adjusted according to actual needs.
  • the front-end and back-end load management system provided by the present application can be as shown in Figure 5, and is composed of a FBL (Front-end and Back-end Load Linkage) system.
  • FBL Front-end and Back-end Load Linkage
  • This FBL system can be installed on the board of the array storage, and can apply programmable logic devices such as ARM (Advanced RISC Machine).
  • the FBL system can be subdivided into a master site FBL system and a slave site FBL system, and both the master site and the slave site include a front-end load module, a CPU module, an inter-frame link module, an indication module, a serial port module and a wireless module, wherein the front-end load module is located outside the storage, and is generally a pressure device such as a server, and is generally connected to the storage through a high-speed switching device such as an optical fiber switch and a Roce (Remote Direct Memory Access over Converged Ethernet, a technology for implementing remote direct memory access on Ethernet) switch; the CPU module is located in the storage, and the module is a control module for the array storage, carrying the storage system software; the inter-frame link module: located in the storage, managed by the FBL, and can use Roce ⁇ FC (Fibre Channel, Fibre Channel) ⁇ IB (InfiniBand, InfiniBand) and other high-speed SerDes (SERializer/DESerializer,
  • Roce ⁇ FC
  • the present application also provides a front-end and back-end load management device and a computer non-volatile readable storage medium, both of which have the corresponding effects of a front-end and back-end load management method provided in the embodiment of the present application.
  • Figure 6 is a structural diagram of a front-end and back-end load management device provided in the embodiment of the present application.
  • the embodiment of the present application provides a front-end and back-end load management device, including a memory 201 and a processor 202.
  • the memory 201 stores a computer program.
  • the processor 202 executes the computer program, the following steps are implemented:
  • the availability of the target master site and the target slave site is adjusted;
  • the availability of the target master site and the target slave site is adjusted.
  • a front-end and back-end load management device includes a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 implements the following steps when executing the computer program: obtaining the working mode of the target master site and the target slave site; adjusting the availability of the target master site and the target slave site based on the working mode, the real-time inter-frame link quality of the target master site, and the real-time inter-frame link quality of the target slave site; wherein the working mode includes a high-availability working mode and a normal working mode, and the link quality division granularity of the high-availability working mode is higher than the link quality division granularity of the normal working mode.
  • a front-end and back-end load management device includes a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 implements the following steps when executing the computer program: if the working mode is the normal working mode, then determine whether the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site are consistent; if the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site are consistent, then determine whether the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site have the worst link quality under the normal working mode; if the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site have the worst link quality under the normal working mode, then report a first-level business warning, and at the same time report whether the working mode is switched to the high-ava
  • a front-end and back-end load management device includes a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 implements the following steps when executing the computer program: if the working mode is a high-availability working mode, then determine whether the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site are consistent; if the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site are consistent, then determine whether the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site have the worst link quality in the high-availability working mode; if the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site have the worst link quality in the high-availability working mode, then report a third-level business warning.
  • a front-end and back-end load management device provided in an embodiment of the present application includes a memory 201 and a processor 202.
  • a computer program is stored in the memory 201.
  • the processor 202 executes the computer program, the following steps are implemented: after reporting a third-level business warning, the site with the worst link quality in a high-availability working mode among the target master site or the target slave site is used as a site to be tested; a simulated stress test is performed on the site to be tested to obtain a simulated stress test result; if the simulated stress test result is the same as a preset optimal load pressure result, the third-level business warning is canceled.
  • a front-end and back-end load management device provided in an embodiment of the present application includes a memory 201 and a processor 202.
  • a computer program is stored in the memory 201.
  • the processor 202 executes the computer program, the following steps are implemented: when the front-end business pressure of the site to be tested is less than a preset value, a simulated stress test with a time period of a first preset time period is performed on the site to be tested.
  • the front-end and back-end load management device includes a memory 201 and a processor 202.
  • the memory 201 stores a computer program.
  • the processor 202 executes the computer program, the following steps are implemented: Perform simulated stress tests under large block sequential write and/or small block sequential write and/or large block random write and/or small block random models.
  • a front-end and back-end load management device provided in an embodiment of the present application includes a memory 201 and a processor 202.
  • a computer program is stored in the memory 201.
  • the processor 202 executes the computer program, the following steps are implemented: determining whether the gear value of the real-time inter-frame link quality of the target master site is consistent with the gear value of the real-time inter-frame link quality of the target slave site; if the gear value of the real-time inter-frame link quality of the target master site is inconsistent with the gear value of the real-time inter-frame link quality of the target slave site, then determining that the real-time inter-frame link quality of the target master site is inconsistent with the real-time inter-frame link quality of the target slave site.
  • a front-end and back-end load management device includes a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 implements the following steps when executing the computer program: based on the real-time front-end and back-end business model of the target site, determining the optimal load pressure of the target site under the real-time inter-frame link quality, the target site including a target master site and a target slave site; based on the real-time load pressure of the target site and the optimal load pressure of the target site, adjusting the availability of the target site.
  • a front-end and back-end load management device includes a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 implements the following steps when executing the computer program: obtaining the working mode of the target site; adjusting the availability of the target site based on the working mode, the real-time load pressure of the target site, and the optimal load pressure of the target site; wherein the working mode includes a high-availability working mode and a normal working mode, and the link quality division granularity of the high-availability working mode is higher than the link quality division granularity of the normal working mode.
  • a front-end and back-end load management device provided in an embodiment of the present application includes a memory 201 and a processor 202.
  • a computer program is stored in the memory 201.
  • the processor 202 executes the computer program, the following steps are implemented: if the working mode is the normal working mode, a first preset percentage value of the optimal load pressure of the target site is calculated; it is determined whether the real-time load pressure of the target site is less than the first preset percentage value; if the real-time load pressure of the target site is less than the first preset percentage value, a secondary business warning is reported, and at the same time, whether the working mode is switched to a high-availability working mode is reported.
  • a front-end and back-end load management device provided in an embodiment of the present application includes a memory 201 and a processor 202.
  • a computer program is stored in the memory 201.
  • the processor 202 executes the computer program, the following steps are implemented: within a second preset time period, determine whether the real-time load pressure of the target site is less than a first preset percentage value.
  • a front-end and back-end load management device provided in an embodiment of the present application includes a memory 201 and a processor 202.
  • a computer program is stored in the memory 201.
  • the processor 202 executes the computer program, the following steps are implemented: if the working mode is a high-availability working mode, a second preset percentage value of the optimal load pressure of the target site is calculated; whether the real-time load pressure of the target site is less than the second preset percentage value is determined; if the real-time load pressure of the target site is less than the second preset percentage value, a fourth-level business warning is reported.
  • a front-end and back-end load management device provided in an embodiment of the present application includes a memory 201 and a processor 202.
  • a computer program is stored in the memory 201.
  • the processor 202 executes the computer program, the following steps are implemented: within a third preset time period, determine whether the real-time load pressure of the target site is less than a second preset percentage value.
  • a front-end and back-end load management device includes a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 implements the following steps when executing the computer program: after reporting a level 4 service warning, if the real-time inter-frame link quality of the target master site is different from the real-time inter-frame link quality of the target slave site, the site with the worst link quality among the target master site or the target slave site is used as the site to be debugged; a target inter-frame link quality that is one level worse than the real-time inter-frame link quality of the site to be debugged is determined; an optimal load pressure corresponding to the target inter-frame link quality is determined; and the front-end load pressure of the site to be debugged is adjusted to the optimal load pressure corresponding to the target inter-frame link quality.
  • a front-end and back-end load management device includes a memory 201 and a processor 202.
  • the memory 201 stores a computer program.
  • the processor 202 executes the computer program, the following steps are implemented: obtaining its own real-time front-end and back-end business model, real-time load pressure, and real-time inter-frame link quality; obtaining the real-time front-end and back-end business model, real-time load pressure, and real-time inter-frame link quality of a target slave site in a target array storage; adjusting the availability of the target master site based on the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site; and adjusting the availability of the target master site based on the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site.
  • a front-end and back-end load management device includes a memory 201 and a processor 202.
  • a computer program is stored in the memory 201.
  • the processor 202 executes the computer program, the following steps are implemented: obtaining its own real-time front-end and back-end business model, real-time load pressure and real-time inter-frame link quality; obtaining the real-time front-end and back-end business model, real-time load pressure and real-time inter-frame link quality of the target master site in the target array storage; adjusting the availability of the target slave site based on the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site; adjusting the availability of the target slave site based on the real-time front-end and back-end business model of the target master site, the real-time load pressure of the target master site, the real-time front-end and back-end business model of the target slave site, and the real-time load pressure of the target slave site.
  • FIG. 7 Another front-end and back-end load management device provided in an embodiment of the present application may also include: an input port 203 connected to the processor 202, configured to transmit external input commands to the processor 202; a display unit 204 connected to the processor 202, configured to display the processing results of the processor 202 to the outside world; a communication module 205 connected to the processor 202, configured to realize communication between the front-end and back-end load management device and the outside world.
  • the display unit 204 can be a display panel, a laser scanning display, etc.; the communication method adopted by the communication module 205 includes but is not limited to mobile high-definition link technology (Mobile High-Definition Link, MHL), universal serial bus (Universal Serial Bus, USB), high-definition multimedia interface (High-Definition Multimedia Interface, HDMI), wireless connection: wireless fidelity technology (Wireless Fidelity, WiFi), Bluetooth communication technology, low-power Bluetooth communication technology, and communication technology based on IEEE (Institute of Electrical and Electronics Engineers) 802.11s (a standard for wireless network communication defined by IEEE).
  • MHL Mobile High-Definition Link
  • USB Universal Serial Bus
  • HDMI High-Definition Multimedia Interface
  • wireless connection wireless fidelity technology (Wireless Fidelity, WiFi), Bluetooth communication technology, low-power Bluetooth communication technology, and communication technology based on IEEE (Institute of Electrical and Electronics Engineers) 802.11s (a standard for wireless network communication defined by IEEE).
  • the availability of the target master site and the target slave site is adjusted;
  • the availability of the target master site and the target slave site is adjusted.
  • An embodiment of the present application provides a computer non-volatile readable storage medium, in which a computer program is stored.
  • the computer program is executed by a processor, the following steps are implemented: obtaining the working mode of the target master site and the target slave site; adjusting the availability of the target master site and the target slave site based on the working mode, the real-time inter-frame link quality of the target master site, and the real-time inter-frame link quality of the target slave site; wherein the working mode includes a high-availability working mode and a normal working mode, and the link quality division granularity of the high-availability working mode is higher than the link quality division granularity of the normal working mode.
  • An embodiment of the present application provides a computer non-volatile readable storage medium, in which a computer program is stored.
  • the computer program is executed by a processor, the following steps are implemented: if the working mode is the normal working mode, then determine whether the real-time inter-frame link quality of the target master site is consistent with the real-time inter-frame link quality of the target slave site; if the real-time inter-frame link quality of the target master site is consistent with the real-time inter-frame link quality of the target slave site, then determine whether the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site has the worst link quality under the normal working mode; if the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site has the worst link quality under the normal working mode, then report a first-level business warning, and at the same time report whether the working mode is switched to the high-availability working mode.
  • the embodiment of the present application provides a computer non-volatile readable storage medium, in which a computer program is stored.
  • the computer program is executed by a processor, the following steps are implemented: if the working mode is high If the real-time inter-frame link quality of the target master site is consistent with that of the target slave site, determine whether the real-time inter-frame link quality of the target master site is consistent with that of the target slave site; if the real-time inter-frame link quality of the target master site is consistent with that of the target slave site, determine whether the real-time inter-frame link quality of the target master site and that of the target slave site have the worst link quality in the high-availability working mode; if the real-time inter-frame link quality of the target master site and that of the target slave site have the worst link quality in the high-availability working mode, report a third-level business warning.
  • An embodiment of the present application provides a computer non-volatile readable storage medium, in which a computer program is stored.
  • the computer program is executed by a processor, the following steps are implemented: after reporting a third-level business warning, the site with the worst link quality in a high-availability working mode among the target master site or the target slave site is used as a site to be tested; a simulated stress test is performed on the site to be tested to obtain a simulated stress test result; if the simulated stress test result is the same as a preset optimal load pressure result, the third-level business warning is canceled.
  • An embodiment of the present application provides a computer non-volatile readable storage medium, in which a computer program is stored.
  • the computer program is executed by a processor, the following steps are implemented: when the front-end business pressure of the site to be tested is less than a preset value, a simulated stress test with a time period of a first preset time period is performed on the site to be tested.
  • An embodiment of the present application provides a computer non-volatile readable storage medium, in which a computer program is stored.
  • a computer program is stored.
  • the following steps are implemented: a simulated stress test is performed on a site to be tested under large block sequential write and/or small block sequential write and/or large block random write and/or small block random models.
  • An embodiment of the present application provides a computer non-volatile readable storage medium, in which a computer program is stored.
  • the computer program is executed by a processor, the following steps are implemented: determining whether the gear value of the real-time inter-frame link quality of the target master site is consistent with the gear value of the real-time inter-frame link quality of the target slave site; if the gear value of the real-time inter-frame link quality of the target master site is inconsistent with the gear value of the real-time inter-frame link quality of the target slave site, then determining that the real-time inter-frame link quality of the target master site is inconsistent with the real-time inter-frame link quality of the target slave site.
  • An embodiment of the present application provides a computer non-volatile readable storage medium, in which a computer program is stored.
  • the computer program is executed by a processor, the following steps are implemented: based on the real-time front-end and back-end business models of the target site, the optimal load pressure of the target site under the real-time inter-frame link quality is determined, and the target site includes a target master site and a target slave site; based on the real-time load pressure of the target site and the optimal load pressure of the target site, the availability of the target site is adjusted.
  • An embodiment of the present application provides a computer non-volatile readable storage medium, in which a computer program is stored.
  • the computer program is executed by a processor, the following steps are implemented: obtaining the working mode of the target site; adjusting the availability of the target site based on the working mode, the real-time load pressure of the target site, and the optimal load pressure of the target site; wherein the working mode includes a high-availability working mode and a normal working mode, and the link quality division granularity of the high-availability working mode is higher than the link quality division granularity of the normal working mode.
  • An embodiment of the present application provides a computer non-volatile readable storage medium, in which a computer program is stored.
  • the computer program is executed by a processor, the following steps are implemented: within a second preset time period, determine whether the real-time load pressure of the target site is less than a first preset percentage value.
  • An embodiment of the present application provides a computer non-volatile readable storage medium, in which a computer program is stored.
  • the computer program is executed by a processor, the following steps are implemented: if the working mode is a high-availability working mode, a second preset percentage value of the optimal load pressure of the target site is calculated; whether the real-time load pressure of the target site is less than the second preset percentage value is determined; if the real-time load pressure of the target site is less than the second preset percentage value, a fourth-level business warning is reported.
  • An embodiment of the present application provides a computer non-volatile readable storage medium, in which a computer program is stored.
  • the computer program is executed by a processor, the following steps are implemented: within a third preset time period, determine whether the real-time load pressure of the target site is less than a second preset percentage value.
  • An embodiment of the present application provides a computer non-volatile readable storage medium, in which a computer program is stored.
  • the computer program When the computer program is executed by a processor, the following steps are implemented: obtaining its own real-time front-end and back-end business models, real-time load pressure, and real-time inter-frame link quality; obtaining the real-time front-end and back-end business models, real-time load pressure, and real-time inter-frame link quality of a target slave site in a target array storage; adjusting the availability of the target master site based on the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site; adjusting the availability of the target master site based on the real-time front-end and back-end business models of the target master site, the real-time load pressure of the target master site, the real-time front-end and back-end business models of the target slave site, and the real-time load pressure of the target slave site.
  • An embodiment of the present application provides a computer non-volatile readable storage medium, in which a computer program is stored.
  • the computer program When the computer program is executed by a processor, the following steps are implemented: obtaining its own real-time front-end and back-end business models, real-time load pressure, and real-time inter-frame link quality; obtaining the real-time front-end and back-end business models, real-time load pressure, and real-time inter-frame link quality of a target master site in a target array storage; adjusting the availability of the target slave site based on the real-time inter-frame link quality of the target master site and the real-time inter-frame link quality of the target slave site; adjusting the availability of the target slave site based on the real-time front-end and back-end business models of the target master site, the real-time load pressure of the target master site, the real-time front-end and back-end business models of the target slave site, and the real-time load pressure of the target slave site.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本申请公开了一种前后端负载管理方法、系统、设备及计算机非易失性可读存储介质,获取目标阵列存储中目标主站点的实时前后端业务模型、实时负载压力和实时框间链路质量;获取目标阵列存储中目标从站点的实时前后端业务模型、实时负载压力和实时框间链路质量;基于目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点和目标从站点的可用性进行调整;基于目标主站点的实时前后端业务模型、目标主站点的实时负载压力、目标从站点的实时前后端业务模型、目标从站点的实时负载压力,对目标主站点和目标从站点的可用性进行调整。本申请实现了动态根据站点的工作情况调整目标阵列存储的可用性,提高了阵列存储的可用性。

Description

一种前后端负载管理方法、系统、设备及计算机存储介质
相关申请的交叉引用
本申请要求于2023年01月04日提交中国专利局,申请号为202310005681.X,申请名称为“一种前后端负载管理方法、系统、设备及计算机存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及阵列存储技术领域,更具体地说,涉及一种前后端负载管理方法、系统、设备及计算机非易失性可读存储介质。
背景技术
当前阵列存储,特别是高端多控存储在类似通信等要求高可靠的业务下一般采用部署同城双活站点的方式进行容灾保护,在一个站点故障后另一个站点可以立刻将业务拉起,保证了前端业务的持续可用。但是这种跨机框的远程链路连接的稳定性容易受到多种内外部因素的干扰,比如容易受到链路物理层变化、业务压力变化等的干扰,而且当前无法对这种干扰情况进行管理,一旦站点或者链路出现些许异常便容易导致业务数据无法正常速度下发或者出现频繁的站点切换,进而影响了阵列存储整机系统的可用性。
综上,如何提高阵列存储的可用性是目前本领域技术人员亟待解决的问题。
发明内容
本申请的目的是提供一种前后端负载管理方法,其能在一定程度上解决如何提高阵列存储的可用性的技术问题。本申请还提供了一种前后端负载管理系统、设备及计算机非易失性可读存储介质。
为了实现上述目的,本申请提供如下技术方案:
一种前后端负载管理方法,包括:获取目标阵列存储中目标主站点的实时前后端业务模型、实时负载压力和实时框间链路质量;获取目标阵列存储中目标从站点的实时前后端业务模型、实时负载压力和实时框间链路质量;基于目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点和目标从站点的可用性进行调整;基于目标主站点的实时前后端业务模型、目标主站点的实时负载压力、目标从站点的实时前后端业务模型、目标从站点的实时负载压力,对目标主站点和目标从站点的可用性进行调整。
可选的,基于目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点和目标从站点的可用性进行调整,包括:获取目标主站点和目标从站点的工作模式;基于工作模式、目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点和目标从站点的可用性进行调整;其中,工作模式包括高可用工作模式和普通工作模式,且高可用工作模式的链路质量划分粒度高于普通工作模式的链路质量划分粒度。
可选的,基于工作模式、目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点和目标从站点的可用性进行调整,包括:若工作模式为普通工作模式,则判断目标主站点的实时框间链路质量和目标从站点的实时框间链路质量是否一致;若目标主站点的实时框间链路质量和目标从站点的实时框间链路质量一致,则判断目标主站点的实时框间链路质量和目标从站点的实时框间链路质量中是否存在普通工作模式下的最差链路质量;若目标主站点的实时框间链路质量和目标从站点的实时框间链路质量中存在普通工作模式下的最差链路质量,则上报一级业务预警,同时上报是否将工作模式切换为高可用工作模式。
可选的,基于工作模式、目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点和目标从站点的可用性进行调整,包括:若工作模式为高可用工作模式,则判断目标主站点的实时框间链路质量和目标从站点的实时框间链路质量是否一致;若目标主站点的实时框间链路质量和目标从站点的实时框间链路质量一致,则判断目标主站点的实时框间链路质量和目标从站点的实时框间链路质量中是否存在高可用工作模式下的最差链路质量;若目标主站点的实时框间链路质量和目标从站点的实时框间链路质量中存在高可用工作模式下的最差链路质量,则上报三级业务预警。
可选的,上报三级业务预警之后,还包括:将目标主站点或目标从站点中存在高可用工作模式下的最差链路质量的站点作为待测试站点;对待测试站点进行模拟压力测试,得到模拟压力测试结果;若模拟压力测试结果与预设的最优负载压力结果相同,则取消三级业务预警。
可选的,对待测试站点进行模拟压力测试,包括:在待测试站点的前端业务压力小于预设值时,对待测试站点进行时间周期为第一预设时长的模拟压力测试。
可选的,对待测试站点进行模拟压力测试,包括:对待测试站点进行大块顺序写和/或小块顺序写和/或大块随机写和/或小块随机模型下的模拟压力测试。
可选的,判断目标主站点的实时框间链路质量和目标从站点的实时框间链路质量是否一致,包括:判断目标主站点的实时框间链路质量的挡位值和目标从站点的实时框间链路质量的挡位值是否一致;若目标主站点的实时框间链路质量的挡位值和目标从站点的实时框间链路质量的挡位值不一致,则判定目标主站点的实时框间链路质量和目标从站点的实时框间链路质量不一致。
可选的,基于目标主站点的实时前后端业务模型、目标主站点的实时负载压力、目标从站点的实时前后端业务模型、目标从站点的实时负载压力,对目标主站点和目标从站点的可用性进行调整,包括:基于目标站点的实时前后端业务模型,确定目标站点在实时框间链路质量下的最优负载压力,目标站点包括目标主站点、目标从站点;基于目标站点的实时负载压力及目标站点的最优负载压力,对目标站点的可用性进行调整。
可选的,基于目标站点的实时负载压力及目标站点的最优负载压力,对目标站点的可用性进行调整,包括:获取目标站点的工作模式;基于工作模式、目标站点的实时负载压力及目标站点的最优负载压力,对目标站点的可用性进行调整;其中,工作模式包括高可用工作模式和普通工作模式,且高可用工作模式的链路质量划分粒度高于普通工作模式的链路质量划分粒度。
可选的,基于工作模式、目标站点的实时负载压力及目标站点的最优负载压力,对目标站点的可用性进行调整,包括:若工作模式为普通工作模式,则计算目标站点的最优负载压力的第一预设百分比值;判断目标站点的实时负载压力是否小于第一预设百分比值;若目标站点的实时负载压力小于第一预设百分比值,则上报二级业务预警,同时上报是否将工作模式切换为高可用工作模式。
可选的,判断目标站点的实时负载压力是否小于第一预设百分比值,包括:在第二预设时长内,判断目标站点的实时负载压力是否小于第一预设百分比值。
可选的,基于工作模式、目标站点的实时负载压力及目标站点的最优负载压力,对目标站点的可用性进行调整,包括:若工作模式为高可用工作模式,则计算目标站点的最优负载压力的第二预设百分比值;判断目标站点的实时负载压力是否小于第二预设百分比值;若目标站点的实时负载压力小于第二预设百分比值,则上报四级业务预警。
可选的,判断目标站点的实时负载压力是否小于第二预设百分比值,包括:在第三预设时长内,判断目标站点的实时负载压力是否小于第二预设百分比值。
可选的,上报四级业务预警之后,还包括:若目标主站点的实时框间链路质量和目标从站点的实时框间链路质量不同,则将目标主站点或目标从站点中链路质量最差的站点作为待调试站点;确定比待调试站点的实时框间链路质量差一级的目标框间链路质 量;确定目标框间链路质量对应的最优负载压力;将待调试站点的前端负载压力调整为目标框间链路质量对应的最优负载压力。
一种前后端负载管理方法,应用于目标阵列存储中的目标主站点,包括:获取自身的实时前后端业务模型、实时负载压力和实时框间链路质量;获取目标阵列存储中目标从站点的实时前后端业务模型、实时负载压力和实时框间链路质量;基于目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点的可用性进行调整;基于目标主站点的实时前后端业务模型、目标主站点的实时负载压力、目标从站点的实时前后端业务模型、目标从站点的实时负载压力,对目标主站点的可用性进行调整。
一种前后端负载管理方法,应用于目标阵列存储中的目标从站点,包括:获取自身的实时前后端业务模型、实时负载压力和实时框间链路质量;获取目标阵列存储中目标主站点的实时前后端业务模型、实时负载压力和实时框间链路质量;基于目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标从站点的可用性进行调整;基于目标主站点的实时前后端业务模型、目标主站点的实时负载压力、目标从站点的实时前后端业务模型、目标从站点的实时负载压力,对目标从站点的可用性进行调整。
一种前后端负载管理系统,包括:第一获取模块,被配置为获取目标阵列存储中目标主站点的实时前后端业务模型、实时负载压力和实时框间链路质量;第二获取模块,被配置为获取目标阵列存储中目标从站点的实时前后端业务模型、实时负载压力和实时框间链路质量;第一调整模块,被配置为基于目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点和目标从站点的可用性进行调整;第二调整模块,被配置为基于目标主站点的实时前后端业务模型、目标主站点的实时负载压力、目标从站点的实时前后端业务模型、目标从站点的实时负载压力,对目标主站点和目标从站点的可用性进行调整。
一种前后端负载管理设备,包括:存储器,被配置为存储计算机程序;处理器,被配置为执行计算机程序时实现如上任一前后端负载管理方法的步骤。
一种计算机非易失性可读存储介质,计算机非易失性可读存储介质中存储有计算机程序,计算机程序被处理器执行时实现如上任一项前后端负载管理方法的步骤。
本申请提供的一种前后端负载管理方法,获取目标阵列存储中目标主站点的实时前后端业务模型、实时负载压力和实时框间链路质量;获取目标阵列存储中目标从站点的实时前后端业务模型、实时负载压力和实时框间链路质量;基于目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点和目标从站点的可用性进行调整;基于目标主站点的实时前后端业务模型、目标主站点的实时负载压力、目标从站点的实时前后端业务模型、目标从站点的实时负载压力,对目标主站点和目标从站点的可用性进行调整。本申请中,可以基于目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点和目标从站点的可用性进行调整,可以基于目标主站点的实时前后端业务模型、目标主站点的实时负载压力、目标从站点的实时前后端业务模型、目标从站点的实时负载压力,对目标主站点和目标从站点的可用性进行调整,实现了动态根据站点的工作情况调整目标阵列存储的可用性,提高了阵列存储的可用性。本申请提供的一种前后端负载管理系统、设备及计算机非易失性可读存储介质也解决了相应技术问题。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。
图1为本申请实施例提供的一种前后端负载管理方法的第一流程图;
图2为本申请实施例提供的一种前后端负载管理方法的第二流程图;
图3为本申请实施例提供的一种前后端负载管理方法的第三流程图;
图4为本申请实施例提供的一种前后端负载管理系统的结构示意图;
图5为一种可选实施例示例的阵列存储示意图;
图6为本申请实施例提供的一种前后端负载管理设备的结构示意图;
图7为本申请实施例提供的一种前后端负载管理设备的另一结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
请参阅图1,图1为本申请实施例提供的一种前后端负载管理方法的第一流程图。
本申请实施例提供的一种前后端负载管理方法,可以包括以下步骤:
步骤S101:获取目标阵列存储中目标主站点的实时前后端业务模型、实时负载压力和实时框间链路质量。
实际应用中,可以先获取目标阵列存储中目标主站点的实时前后端业务模型、实时负载压力和实时框间链路质量。需要说明的是,目标主站点的实时前后端业务模型可以包括大小块、随机/顺序、读/写等,目标主站点的实时负载压力可以包括IOPS(Input/Output Operations Per Second,每秒输入/输出操作次数)、带宽、时延等,本申请在此不做具体限定。
步骤S102:获取目标阵列存储中目标从站点的实时前后端业务模型、实时负载压力和实时框间链路质量。
实际应用中,在获取目标阵列存储中目标主站点的实时前后端业务模型、实时负载压力和实时框间链路质量之后,便可以获取目标阵列存储中目标从站点的实时前后端业务模型、实时负载压力和实时框间链路质量。需要说明的是,目标从站点的实时前后端业务模型也可以包括大小块、随机/顺序、读/写等,目标从站点的实时负载压力也可以包括IOPS、带宽、时延等,本申请在此不做具体限定。
步骤S103:基于目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点和目标从站点的可用性进行调整。
实际应用中,在获取目标阵列存储中目标从站点的实时前后端业务模型、实时负载压力和实时框间链路质量之后,便可以基于目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点和目标从站点的可用性进行调整,以便根据目标主站点和目标从站点间的框间链路质量差异来相应调整目标主站点和目标从站点的可用性,以从目标主站点和目标从站点的整体上来保证目标阵列存储的可用性。
步骤S104:基于目标主站点的实时前后端业务模型、目标主站点的实时负载压力、目标从站点的实时前后端业务模型、目标从站点的实时负载压力,对目标主站点和目标从站点的可用性进行调整。
实际应用中,在基于目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点和目标从站点的可用性进行调整,还可以基于目标主站点的实时前后端业务模型、目标主站点的实时负载压力、目标从站点的实时前后端业务模型、目标从站点的实时负载压力,对目标主站点和目标从站点的可用性进行调整,以便基于目标主站点或目标从站点自身的实时前后端业务模型、实时负载压力对目标主站点或目标从站点自身的可用性进行调整。
本申请提供的一种前后端负载管理方法,获取目标阵列存储中目标主站点的实时前后端业务模型、实时负载压力和实时框间链路质量;获取目标阵列存储中目标从站点的 实时前后端业务模型、实时负载压力和实时框间链路质量;基于目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点和目标从站点的可用性进行调整;基于目标主站点的实时前后端业务模型、目标主站点的实时负载压力、目标从站点的实时前后端业务模型、目标从站点的实时负载压力,对目标主站点和目标从站点的可用性进行调整。本申请中,可以基于目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点和目标从站点的可用性进行调整,可以基于目标主站点的实时前后端业务模型、目标主站点的实时负载压力、目标从站点的实时前后端业务模型、目标从站点的实时负载压力,对目标主站点和目标从站点的可用性进行调整,实现了动态根据站点的工作情况调整目标阵列存储的可用性,提高了阵列存储的可用性。
请参阅图2,图2为本申请实施例提供的一种前后端负载管理方法的第二流程图。
本申请实施例提供的一种前后端负载管理方法,可以包括以下步骤:
步骤S201:获取目标阵列存储中目标主站点的实时前后端业务模型、实时负载压力和实时框间链路质量。
步骤S202:获取目标阵列存储中目标从站点的实时前后端业务模型、实时负载压力和实时框间链路质量。
步骤S203:获取目标主站点和目标从站点的工作模式。
步骤S204:基于工作模式、目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点和目标从站点的可用性进行调整;其中,工作模式包括高可用工作模式和普通工作模式,且高可用工作模式的链路质量划分粒度高于普通工作模式的链路质量划分粒度。
实际应用中,为了便于用户管理目标主站点和目标从站点的工作情况,用户会为目标主站点和目标从站点设置不同的工作模式,不难理解,不同工作模式下目标主站点和目标从站点的工作性能不同,所以为了准确调整目标主站点和目标从站点的可用性,在基于目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点和目标从站点的可用性进行调整的过程中,可以获取目标主站点和目标从站点的工作模式;基于工作模式、目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点和目标从站点的可用性进行调整;需要说明的是,工作模式可以根据实际需要确定,比如工作模式可以包括高可用工作模式和普通工作模式,且高可用工作模式的链路质量划分粒度高于普通工作模式的链路质量划分粒度,比如普通工作模式下,框间链路质量被分为1-5个档位,而高可用工作模式下,框间链路质量被分为1-10个档位等。
实际应用中,在基于工作模式、目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点和目标从站点的可用性进行调整的过程中,若工作模式为普通工作模式,则可以判断目标主站点的实时框间链路质量和目标从站点的实时框间链路质量是否一致;若目标主站点的实时框间链路质量和目标从站点的实时框间链路质量一致,则判断目标主站点的实时框间链路质量和目标从站点的实时框间链路质量中是否存在普通工作模式下的最差链路质量;若目标主站点的实时框间链路质量和目标从站点的实时框间链路质量中存在普通工作模式下的最差链路质量,则上报一级业务预警,同时上报是否将工作模式切换为高可用工作模式。需要说明的是,一级业务预警的内容可以根据实际需要确定,比如可以直接上报目标主站点的实时框间链路质量和目标从站点的实时框间链路质量中存在普通工作模式下的最差链路质量等,且在上报一级业务预警之后,还可以接收用户输入的操作指令并按照该操作指令对目标主站点或目标从站点的可用性进行调整,比如可以调整目标主站点或目标从站点中前端负载模块、CPU(Central Processing Unit,中央处理器)模块、框间链路模块等的工作性能等,还需说明的是,若接收到将工作模式切换为高可用工作模式的指令,则可以将目标主站点或目标从站点的工作模式调整为高可用模式等,本申请在此不做具体限定。
实际应用中,在基于工作模式、目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点和目标从站点的可用性进行调整的过程中,若工作模式为高可用工作模式,则可以判断目标主站点的实时框间链路质量和目标从站点的实时框间链路质量是否一致;若目标主站点的实时框间链路质量和目标从站点的实时框间链路质量一致,则判断目标主站点的实时框间链路质量和目标从站点的实时框间链路质量中是否存在高可用工作模式下的最差链路质量;若目标主站点的实时框间链路质量和目标从站点的实时框间链路质量中存在高可用工作模式下的最差链路质量,则可以上报三级业务预警。
可选的应用场景中,在上报三级业务预警之后,为了避免上报错误,还可以将目标主站点或目标从站点中存在高可用工作模式下的最差链路质量的站点作为待测试站点;对待测试站点进行模拟压力测试,得到模拟压力测试结果;若模拟压力测试结果与预设的最优负载压力结果相同,则取消三级业务预警。
可选的应用场景中,在对待测试站点进行模拟压力测试的过程中,可以在待测试站点的前端业务压力小于预设值时,对待测试站点进行时间周期为第一预设时长的模拟压力测试。比如在待测试站点的前端业务压力小于20%时,对待测试站点进行时间周期为60min(minute,分钟)等的模拟压力测试等。
可选的应用场景中,在对待测试站点进行模拟压力测试的过程中,可以对待测试站点进行大块顺序写和/或小块顺序写和/或大块随机写和/或小块随机等模型下的模拟压力测试。
实际应用中,在判断目标主站点的实时框间链路质量和目标从站点的实时框间链路质量是否一致的过程中,可以判断目标主站点的实时框间链路质量的挡位值和目标从站点的实时框间链路质量的挡位值是否一致;若目标主站点的实时框间链路质量的挡位值和目标从站点的实时框间链路质量的挡位值不一致,则判定目标主站点的实时框间链路质量和目标从站点的实时框间链路质量不一致。
步骤S205:基于目标主站点的实时前后端业务模型、目标主站点的实时负载压力、目标从站点的实时前后端业务模型、目标从站点的实时负载压力,对目标主站点和目标从站点的可用性进行调整。
请参阅图3,图3为本申请实施例提供的一种前后端负载管理方法的第三流程图。
本申请实施例提供的一种前后端负载管理方法,可以包括以下步骤:
步骤S301:获取目标阵列存储中目标主站点的实时前后端业务模型、实时负载压力和实时框间链路质量。
步骤S302:获取目标阵列存储中目标从站点的实时前后端业务模型、实时负载压力和实时框间链路质量。
步骤S303:基于目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点和目标从站点的可用性进行调整。
步骤S304:基于目标站点的实时前后端业务模型,确定目标站点在实时框间链路质量下的最优负载压力,目标站点包括目标主站点、目标从站点。
步骤S305:基于目标站点的实时负载压力及目标站点的最优负载压力,对目标站点的可用性进行调整。
实际应用中,在基于目标主站点的实时前后端业务模型、目标主站点的实时负载压力、目标从站点的实时前后端业务模型、目标从站点的实时负载压力,对目标主站点和目标从站点的可用性进行调整的过程中,可以基于目标站点的实时前后端业务模型,确定目标站点在实时框间链路质量下的最优负载压力,比如可以基于预设的前后端业务模型、框间链路质量与最优负载压力间的对应关系,来基于目标站点的实时前后端业务模型,确定目标站点在实时框间链路质量下的最优负载压力等,目标站点包括目标主站点、目标从站点;基于目标站点的实时负载压力及目标站点的最优负载压力,对目标站 点的可用性进行调整。
可选的应用场景中,基于目标站点的实时负载压力及目标站点的最优负载压力,对目标站点的可用性进行调整的过程中,可以获取目标站点的工作模式;基于工作模式、目标站点的实时负载压力及目标站点的最优负载压力,对目标站点的可用性进行调整;其中,工作模式包括高可用工作模式和普通工作模式,且高可用工作模式的链路质量划分粒度高于普通工作模式的链路质量划分粒度。
可选的应用场景中,在基于工作模式、目标站点的实时负载压力及目标站点的最优负载压力,对目标站点的可用性进行调整的过程中,若工作模式为普通工作模式,则可以计算目标站点的最优负载压力的第一预设百分比值,比如计算目标站点的最优负载压力的75%值;判断目标站点的实时负载压力是否小于第一预设百分比值;若目标站点的实时负载压力小于第一预设百分比值,则上报二级业务预警,同时上报是否将工作模式切换为高可用工作模式。需要说明的是,二级业务预警的内容可以根据实际需要确定,比如可以直接上报目标站点的实时负载压力小于最优负载压力的第一预设百分比值等,且在上报二级业务预警之后,还可以接收用户输入的操作指令并按照该操作指令对目标站点的可用性进行调整,比如可以调整目标站点中前端负载模块、CPU模块、框间链路模块等的工作性能等,还需说明的是,若接收到将工作模式切换为高可用工作模式的指令,则可以将目标站点的工作模式调整为高可用模式等,本申请在此不做具体限定
可选的应用场景中,在判断目标站点的实时负载压力是否小于第一预设百分比值的过程中,可以在第二预设时长内,比如在30min等内,判断目标站点的实时负载压力是否小于第一预设百分比值。
可选的应用场景中,在基于工作模式、目标站点的实时负载压力及目标站点的最优负载压力,对目标站点的可用性进行调整的过程中,若工作模式为高可用工作模式,则计算目标站点的最优负载压力的第二预设百分比值,比如计算目标站点的最优负载压力的80%值等;判断目标站点的实时负载压力是否小于第二预设百分比值;若目标站点的实时负载压力小于第二预设百分比值,则可以上报四级业务预警。需要说明的是,四级业务预警的内容可以根据实际需要确定,比如可以直接上报目标站点的实时负载压力小于最优负载压力的第二预设百分比值等,且在上报四级业务预警之后,还可以接收用户输入的操作指令并按照该操作指令对目标站点的可用性进行调整,比如可以调整目标站点中前端负载模块、CPU模块、框间链路模块等的工作性能等。
可选的应用场景中,在判断目标站点的实时负载压力是否小于第二预设百分比值的过程中,可以在第三预设时长内,比如在20min等内,判断目标站点的实时负载压力是否小于第二预设百分比值。
可选的应用场景中,在上报四级业务预警之后,还可以执行以下步骤:若目标主站点的实时框间链路质量和目标从站点的实时框间链路质量不同,则将目标主站点或目标从站点中链路质量最差的站点作为待调试站点;确定比待调试站点的实时框间链路质量差一级的目标框间链路质量;确定目标框间链路质量对应的最优负载压力;将待调试站点的前端负载压力调整为目标框间链路质量对应的最优负载压力。比如目标主站点的框间链路质量为X挡位,目标从站点的框间链路质量为Y挡位,X<Y,此时调整目标从站点前端负载上限为Y+1对应的负载压力值等。
本申请实施例提供的一种前后端负载管理方法,应用于目标阵列存储中的目标主站点,可以包括以下步骤:
获取自身的实时前后端业务模型、实时负载压力和实时框间链路质量;
获取目标阵列存储中目标从站点的实时前后端业务模型、实时负载压力和实时框间链路质量;
基于目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点的可用性进行调整;
基于目标主站点的实时前后端业务模型、目标主站点的实时负载压力、目标从站点的实时前后端业务模型、目标从站点的实时负载压力,对目标主站点的可用性进行调整。
本申请实施例提供的应用于目标阵列存储中的目标主站点的前后端负载管理方法中相应步骤的描述可以参阅上述实施例,在此不再赘述。
本申请实施例提供的一种前后端负载管理方法,应用于目标阵列存储中的目标从站点,可以包括以下步骤:
获取自身的实时前后端业务模型、实时负载压力和实时框间链路质量;
获取目标阵列存储中目标主站点的实时前后端业务模型、实时负载压力和实时框间链路质量;
基于目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标从站点的可用性进行调整;
基于目标主站点的实时前后端业务模型、目标主站点的实时负载压力、目标从站点的实时前后端业务模型、目标从站点的实时负载压力,对目标从站点的可用性进行调整。
本申请实施例提供的应用于目标阵列存储中的目标从站点的前后端负载管理方法中相应步骤的描述可以参阅上述实施例,在此不再赘述。
请参阅图4,图4为本申请实施例提供的一种前后端负载管理系统的结构示意图。
本申请实施例提供的一种前后端负载管理系统,可以包括:
第一获取模块101,被配置为获取目标阵列存储中目标主站点的实时前后端业务模型、实时负载压力和实时框间链路质量;
第二获取模块102,被配置为获取目标阵列存储中目标从站点的实时前后端业务模型、实时负载压力和实时框间链路质量;
第一调整模块103,被配置为基于目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点和目标从站点的可用性进行调整;
第二调整模块104,被配置为基于目标主站点的实时前后端业务模型、目标主站点的实时负载压力、目标从站点的实时前后端业务模型、目标从站点的实时负载压力,对目标主站点和目标从站点的可用性进行调整。
本申请实施例提供的一种前后端负载管理系统,第一调整模块可以包括:
第一获取单元,被配置为获取目标主站点和目标从站点的工作模式;
第一调整单元,被配置为基于工作模式、目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点和目标从站点的可用性进行调整;
其中,工作模式包括高可用工作模式和普通工作模式,且高可用工作模式的链路质量划分粒度高于普通工作模式的链路质量划分粒度。
本申请实施例提供的一种前后端负载管理系统,第一调整单元可以被配置为:若工作模式为普通工作模式,则判断目标主站点的实时框间链路质量和目标从站点的实时框间链路质量是否一致;若目标主站点的实时框间链路质量和目标从站点的实时框间链路质量一致,则判断目标主站点的实时框间链路质量和目标从站点的实时框间链路质量中是否存在普通工作模式下的最差链路质量;若目标主站点的实时框间链路质量和目标从站点的实时框间链路质量中存在普通工作模式下的最差链路质量,则上报一级业务预警,同时上报是否将工作模式切换为高可用工作模式。
本申请实施例提供的一种前后端负载管理系统,第一调整单元可以被配置为:若工作模式为高可用工作模式,则判断目标主站点的实时框间链路质量和目标从站点的实时框间链路质量是否一致;若目标主站点的实时框间链路质量和目标从站点的实时框间链路质量一致,则判断目标主站点的实时框间链路质量和目标从站点的实时框间链路质量中是否存在高可用工作模式下的最差链路质量;若目标主站点的实时框间链路质量和目 标从站点的实时框间链路质量中存在高可用工作模式下的最差链路质量,则上报三级业务预警。
本申请实施例提供的一种前后端负载管理系统,还可以包括:
第一确定单元,被配置为第一调整单元上报三级业务预警之后,将目标主站点或目标从站点中存在高可用工作模式下的最差链路质量的站点作为待测试站点;
第一测试单元,被配置为对待测试站点进行模拟压力测试,得到模拟压力测试结果;
第一取消单元,被配置为若模拟压力测试结果与预设的最优负载压力结果相同,则取消三级业务预警。
本申请实施例提供的一种前后端负载管理系统,第一测试单元可以被配置为:在待测试站点的前端业务压力小于预设值时,对待测试站点进行时间周期为第一预设时长的模拟压力测试。
本申请实施例提供的一种前后端负载管理系统,第一测试单元可以被配置为:对待测试站点进行大块顺序写和/或小块顺序写和/或大块随机写和/或小块随机模型下的模拟压力测试。
本申请实施例提供的一种前后端负载管理系统,第一调整单元可以被配置为:判断目标主站点的实时框间链路质量的挡位值和目标从站点的实时框间链路质量的挡位值是否一致;若目标主站点的实时框间链路质量的挡位值和目标从站点的实时框间链路质量的挡位值不一致,则判定目标主站点的实时框间链路质量和目标从站点的实时框间链路质量不一致。
本申请实施例提供的一种前后端负载管理系统,第二调整模块可以包括:
第二确定单元,被配置为基于目标站点的实时前后端业务模型,确定目标站点在实时框间链路质量下的最优负载压力,目标站点包括目标主站点、目标从站点;
第二调整单元,被配置为基于目标站点的实时负载压力及目标站点的最优负载压力,对目标站点的可用性进行调整。
本申请实施例提供的一种前后端负载管理系统,第二调整单元可以被配置为:获取目标站点的工作模式;基于工作模式、目标站点的实时负载压力及目标站点的最优负载压力,对目标站点的可用性进行调整;其中,工作模式包括高可用工作模式和普通工作模式,且高可用工作模式的链路质量划分粒度高于普通工作模式的链路质量划分粒度。
本申请实施例提供的一种前后端负载管理系统,第二调整单元可以被配置为:若工作模式为普通工作模式,则计算目标站点的最优负载压力的第一预设百分比值;判断目标站点的实时负载压力是否小于第一预设百分比值;若目标站点的实时负载压力小于第一预设百分比值,则上报二级业务预警,同时上报是否将工作模式切换为高可用工作模式。
本申请实施例提供的一种前后端负载管理系统,第二调整单元可以被配置为:在第二预设时长内,判断目标站点的实时负载压力是否小于第一预设百分比值。
本申请实施例提供的一种前后端负载管理系统,第二调整单元可以被配置为:若工作模式为高可用工作模式,则计算目标站点的最优负载压力的第二预设百分比值;判断目标站点的实时负载压力是否小于第二预设百分比值;若目标站点的实时负载压力小于第二预设百分比值,则上报四级业务预警。
本申请实施例提供的一种前后端负载管理系统,第二调整单元可以被配置为:在第三预设时长内,判断目标站点的实时负载压力是否小于第二预设百分比值。
本申请实施例提供的一种前后端负载管理系统,还可以包括:
第三确定单元,被配置为第二调整单元上报四级业务预警之后,若目标主站点的实时框间链路质量和目标从站点的实时框间链路质量不同,则将目标主站点或目标从站点中链路质量最差的站点作为待调试站点;
第四确定单元,被配置为确定比待调试站点的实时框间链路质量差一级的目标框间链路质量;
第五确定单元,被配置为确定目标框间链路质量对应的最优负载压力;
第三调整单元,被配置为将待调试站点的前端负载压力调整为目标框间链路质量对应的最优负载压力。
本申请实施例提供的一种前后端负载管理系统,应用于目标阵列存储中的目标主站点,可以包括:
第三获取模块,被配置为获取自身的实时前后端业务模型、实时负载压力和实时框间链路质量;
第四获取模块,被配置为获取目标阵列存储中目标从站点的实时前后端业务模型、实时负载压力和实时框间链路质量;
第三调整单元,被配置为基于目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点的可用性进行调整;
第四调整单元,被配置为基于目标主站点的实时前后端业务模型、目标主站点的实时负载压力、目标从站点的实时前后端业务模型、目标从站点的实时负载压力,对目标主站点的可用性进行调整。
本申请实施例提供的一种前后端负载管理系统,应用于目标阵列存储中的目标从站点,可以包括:
第五获取模块,被配置为获取自身的实时前后端业务模型、实时负载压力和实时框间链路质量;
第六获取模块,被配置为获取目标阵列存储中目标主站点的实时前后端业务模型、实时负载压力和实时框间链路质量;
第五调整模块,被配置为基于目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标从站点的可用性进行调整;
第六调整模块,被配置为基于目标主站点的实时前后端业务模型、目标主站点的实时负载压力、目标从站点的实时前后端业务模型、目标从站点的实时负载压力,对目标从站点的可用性进行调整。
需要说明的是,本申请提供的前后端负载管理系统的结构可以根据实际需要灵活调整,比如在一可选实施例中,本申请提供的前后端负载管理系统可以如图5所示,由FBL(Front-end and Back-end Load Linkage,前后端负载联动)系统来构成,此FBL系统可以安装于阵列存储的板卡上,且可以应用例如ARM(Advanced RISC Machine)等可编程逻辑器件。此外,在此实施例中,FBL系统可以细分为主站点FBL系统和从站点FBL系统,且主站点和从站点均包括前端负载模块、CPU模块、框间链路模块、指示模块、串口模块和无线模块,其中前端负载模块位于存储外,一般为服务器等压力设备,一般通过光纤交换机、Roce(Remote Direct Memory Access over Converged Ethernet,一种在以太网上实现远程直接内存访问的技术)交换机等高速交换设备与存储连接;CPU模块位于存储内,该模块为阵列存储的控制模块,承载存储系统软件;框间链路模块:位于存储内,受FBL管理,可以采用Roce\FC(Fibre Channel,光纤通道)\IB(InfiniBand,无限带宽)等高速SerDes(SERializer/DESerializer,一种时分多路复用、点对点的串行通信技术)链路进行多站点框间互联;指示模块位于板卡上,受串口模块的直接控制,对外指示当前FBL管理模块的实时状态;无线模块可将串口模块信号转换成WIFI(Wireless Fidelity,无线保真/无线保真技术)等无线信号,外界不用实体串口线就可与FBL管理模块进行信息交互;串口模块被配置为进行外界与FBL管理模块的信息交互、参数预设和相关功能的开启。还需说明的是,主站点FBL和从站点FBL可以通过共享框间链路模块进行互联,也可以通过单独的高速SerDes链路互联等,本申请在此不做具体限定。
本申请还提供了一种前后端负载管理设备及计算机非易失性可读存储介质,其均具有本申请实施例提供的一种前后端负载管理方法具有的对应效果。请参阅图6,图6为本申请实施例提供的一种前后端负载管理设备的结构示意图。
本申请实施例提供的一种前后端负载管理设备,包括存储器201和处理器202,存储器201中存储有计算机程序,处理器202执行计算机程序时实现如下步骤:
获取目标阵列存储中目标主站点的实时前后端业务模型、实时负载压力和实时框间链路质量;
获取目标阵列存储中目标从站点的实时前后端业务模型、实时负载压力和实时框间链路质量;
基于目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点和目标从站点的可用性进行调整;
基于目标主站点的实时前后端业务模型、目标主站点的实时负载压力、目标从站点的实时前后端业务模型、目标从站点的实时负载压力,对目标主站点和目标从站点的可用性进行调整。
本申请实施例提供的一种前后端负载管理设备,包括存储器201和处理器202,存储器201中存储有计算机程序,处理器202执行计算机程序时实现如下步骤:获取目标主站点和目标从站点的工作模式;基于工作模式、目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点和目标从站点的可用性进行调整;其中,工作模式包括高可用工作模式和普通工作模式,且高可用工作模式的链路质量划分粒度高于普通工作模式的链路质量划分粒度。
本申请实施例提供的一种前后端负载管理设备,包括存储器201和处理器202,存储器201中存储有计算机程序,处理器202执行计算机程序时实现如下步骤:若工作模式为普通工作模式,则判断目标主站点的实时框间链路质量和目标从站点的实时框间链路质量是否一致;若目标主站点的实时框间链路质量和目标从站点的实时框间链路质量一致,则判断目标主站点的实时框间链路质量和目标从站点的实时框间链路质量中是否存在普通工作模式下的最差链路质量;若目标主站点的实时框间链路质量和目标从站点的实时框间链路质量中存在普通工作模式下的最差链路质量,则上报一级业务预警,同时上报是否将工作模式切换为高可用工作模式。
本申请实施例提供的一种前后端负载管理设备,包括存储器201和处理器202,存储器201中存储有计算机程序,处理器202执行计算机程序时实现如下步骤:若工作模式为高可用工作模式,则判断目标主站点的实时框间链路质量和目标从站点的实时框间链路质量是否一致;若目标主站点的实时框间链路质量和目标从站点的实时框间链路质量一致,则判断目标主站点的实时框间链路质量和目标从站点的实时框间链路质量中是否存在高可用工作模式下的最差链路质量;若目标主站点的实时框间链路质量和目标从站点的实时框间链路质量中存在高可用工作模式下的最差链路质量,则上报三级业务预警。
本申请实施例提供的一种前后端负载管理设备,包括存储器201和处理器202,存储器201中存储有计算机程序,处理器202执行计算机程序时实现如下步骤:上报三级业务预警之后,将目标主站点或目标从站点中存在高可用工作模式下的最差链路质量的站点作为待测试站点;对待测试站点进行模拟压力测试,得到模拟压力测试结果;若模拟压力测试结果与预设的最优负载压力结果相同,则取消三级业务预警。
本申请实施例提供的一种前后端负载管理设备,包括存储器201和处理器202,存储器201中存储有计算机程序,处理器202执行计算机程序时实现如下步骤:在待测试站点的前端业务压力小于预设值时,对待测试站点进行时间周期为第一预设时长的模拟压力测试。
本申请实施例提供的一种前后端负载管理设备,包括存储器201和处理器202,存储器201中存储有计算机程序,处理器202执行计算机程序时实现如下步骤:对待测试站点 进行大块顺序写和/或小块顺序写和/或大块随机写和/或小块随机模型下的模拟压力测试。
本申请实施例提供的一种前后端负载管理设备,包括存储器201和处理器202,存储器201中存储有计算机程序,处理器202执行计算机程序时实现如下步骤:判断目标主站点的实时框间链路质量的挡位值和目标从站点的实时框间链路质量的挡位值是否一致;若目标主站点的实时框间链路质量的挡位值和目标从站点的实时框间链路质量的挡位值不一致,则判定目标主站点的实时框间链路质量和目标从站点的实时框间链路质量不一致。
本申请实施例提供的一种前后端负载管理设备,包括存储器201和处理器202,存储器201中存储有计算机程序,处理器202执行计算机程序时实现如下步骤:基于目标站点的实时前后端业务模型,确定目标站点在实时框间链路质量下的最优负载压力,目标站点包括目标主站点、目标从站点;基于目标站点的实时负载压力及目标站点的最优负载压力,对目标站点的可用性进行调整。
本申请实施例提供的一种前后端负载管理设备,包括存储器201和处理器202,存储器201中存储有计算机程序,处理器202执行计算机程序时实现如下步骤:获取目标站点的工作模式;基于工作模式、目标站点的实时负载压力及目标站点的最优负载压力,对目标站点的可用性进行调整;其中,工作模式包括高可用工作模式和普通工作模式,且高可用工作模式的链路质量划分粒度高于普通工作模式的链路质量划分粒度。
本申请实施例提供的一种前后端负载管理设备,包括存储器201和处理器202,存储器201中存储有计算机程序,处理器202执行计算机程序时实现如下步骤:若工作模式为普通工作模式,则计算目标站点的最优负载压力的第一预设百分比值;判断目标站点的实时负载压力是否小于第一预设百分比值;若目标站点的实时负载压力小于第一预设百分比值,则上报二级业务预警,同时上报是否将工作模式切换为高可用工作模式。
本申请实施例提供的一种前后端负载管理设备,包括存储器201和处理器202,存储器201中存储有计算机程序,处理器202执行计算机程序时实现如下步骤:在第二预设时长内,判断目标站点的实时负载压力是否小于第一预设百分比值。
本申请实施例提供的一种前后端负载管理设备,包括存储器201和处理器202,存储器201中存储有计算机程序,处理器202执行计算机程序时实现如下步骤:若工作模式为高可用工作模式,则计算目标站点的最优负载压力的第二预设百分比值;判断目标站点的实时负载压力是否小于第二预设百分比值;若目标站点的实时负载压力小于第二预设百分比值,则上报四级业务预警。
本申请实施例提供的一种前后端负载管理设备,包括存储器201和处理器202,存储器201中存储有计算机程序,处理器202执行计算机程序时实现如下步骤:在第三预设时长内,判断目标站点的实时负载压力是否小于第二预设百分比值。
本申请实施例提供的一种前后端负载管理设备,包括存储器201和处理器202,存储器201中存储有计算机程序,处理器202执行计算机程序时实现如下步骤:上报四级业务预警之后,若目标主站点的实时框间链路质量和目标从站点的实时框间链路质量不同,则将目标主站点或目标从站点中链路质量最差的站点作为待调试站点;确定比待调试站点的实时框间链路质量差一级的目标框间链路质量;确定目标框间链路质量对应的最优负载压力;将待调试站点的前端负载压力调整为目标框间链路质量对应的最优负载压力。
本申请实施例提供的一种前后端负载管理设备,包括存储器201和处理器202,存储器201中存储有计算机程序,处理器202执行计算机程序时实现如下步骤:获取自身的实时前后端业务模型、实时负载压力和实时框间链路质量;获取目标阵列存储中目标从站点的实时前后端业务模型、实时负载压力和实时框间链路质量;基于目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点的可用性进行调整;基 于目标主站点的实时前后端业务模型、目标主站点的实时负载压力、目标从站点的实时前后端业务模型、目标从站点的实时负载压力,对目标主站点的可用性进行调整。
本申请实施例提供的一种前后端负载管理设备,包括存储器201和处理器202,存储器201中存储有计算机程序,处理器202执行计算机程序时实现如下步骤:获取自身的实时前后端业务模型、实时负载压力和实时框间链路质量;获取目标阵列存储中目标主站点的实时前后端业务模型、实时负载压力和实时框间链路质量;基于目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标从站点的可用性进行调整;基于目标主站点的实时前后端业务模型、目标主站点的实时负载压力、目标从站点的实时前后端业务模型、目标从站点的实时负载压力,对目标从站点的可用性进行调整。
请参阅图7,本申请实施例提供的另一种前后端负载管理设备中还可以包括:与处理器202连接的输入端口203,被配置为传输外界输入的命令至处理器202;与处理器202连接的显示单元204,被配置为显示处理器202的处理结果至外界;与处理器202连接的通信模块205,被配置为实现前后端负载管理设备与外界的通信。显示单元204可以为显示面板、激光扫描使显示器等;通信模块205所采用的通信方式包括但不局限于移动高清链接技术(Mobile High-Definition Link,MHL)、通用串行总线(Universal Serial Bus,USB)、高清多媒体接口(High-Definition Multimedia Interface,HDMI)、无线连接:无线保真技术(Wireless Fidelity,WiFi)、蓝牙通信技术、低功耗蓝牙通信技术、基于IEEE(Institute of Electrical and Electronics Engineers,电气和电子工程师学会)802.11s(由IEEE定义的无线网络通信的标准)的通信技术。
本申请实施例提供的一种计算机非易失性可读存储介质,计算机非易失性可读存储介质中存储有计算机程序,计算机程序被处理器执行时实现如下步骤:
获取目标阵列存储中目标主站点的实时前后端业务模型、实时负载压力和实时框间链路质量;
获取目标阵列存储中目标从站点的实时前后端业务模型、实时负载压力和实时框间链路质量;
基于目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点和目标从站点的可用性进行调整;
基于目标主站点的实时前后端业务模型、目标主站点的实时负载压力、目标从站点的实时前后端业务模型、目标从站点的实时负载压力,对目标主站点和目标从站点的可用性进行调整。
本申请实施例提供的一种计算机非易失性可读存储介质,计算机非易失性可读存储介质中存储有计算机程序,计算机程序被处理器执行时实现如下步骤:获取目标主站点和目标从站点的工作模式;基于工作模式、目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点和目标从站点的可用性进行调整;其中,工作模式包括高可用工作模式和普通工作模式,且高可用工作模式的链路质量划分粒度高于普通工作模式的链路质量划分粒度。
本申请实施例提供的一种计算机非易失性可读存储介质,计算机非易失性可读存储介质中存储有计算机程序,计算机程序被处理器执行时实现如下步骤:若工作模式为普通工作模式,则判断目标主站点的实时框间链路质量和目标从站点的实时框间链路质量是否一致;若目标主站点的实时框间链路质量和目标从站点的实时框间链路质量一致,则判断目标主站点的实时框间链路质量和目标从站点的实时框间链路质量中是否存在普通工作模式下的最差链路质量;若目标主站点的实时框间链路质量和目标从站点的实时框间链路质量中存在普通工作模式下的最差链路质量,则上报一级业务预警,同时上报是否将工作模式切换为高可用工作模式。
本申请实施例提供的一种计算机非易失性可读存储介质,计算机非易失性可读存储介质中存储有计算机程序,计算机程序被处理器执行时实现如下步骤:若工作模式为高 可用工作模式,则判断目标主站点的实时框间链路质量和目标从站点的实时框间链路质量是否一致;若目标主站点的实时框间链路质量和目标从站点的实时框间链路质量一致,则判断目标主站点的实时框间链路质量和目标从站点的实时框间链路质量中是否存在高可用工作模式下的最差链路质量;若目标主站点的实时框间链路质量和目标从站点的实时框间链路质量中存在高可用工作模式下的最差链路质量,则上报三级业务预警。
本申请实施例提供的一种计算机非易失性可读存储介质,计算机非易失性可读存储介质中存储有计算机程序,计算机程序被处理器执行时实现如下步骤:上报三级业务预警之后,将目标主站点或目标从站点中存在高可用工作模式下的最差链路质量的站点作为待测试站点;对待测试站点进行模拟压力测试,得到模拟压力测试结果;若模拟压力测试结果与预设的最优负载压力结果相同,则取消三级业务预警。
本申请实施例提供的一种计算机非易失性可读存储介质,计算机非易失性可读存储介质中存储有计算机程序,计算机程序被处理器执行时实现如下步骤:在待测试站点的前端业务压力小于预设值时,对待测试站点进行时间周期为第一预设时长的模拟压力测试。
本申请实施例提供的一种计算机非易失性可读存储介质,计算机非易失性可读存储介质中存储有计算机程序,计算机程序被处理器执行时实现如下步骤:对待测试站点进行大块顺序写和/或小块顺序写和/或大块随机写和/或小块随机模型下的模拟压力测试。
本申请实施例提供的一种计算机非易失性可读存储介质,计算机非易失性可读存储介质中存储有计算机程序,计算机程序被处理器执行时实现如下步骤:判断目标主站点的实时框间链路质量的挡位值和目标从站点的实时框间链路质量的挡位值是否一致;若目标主站点的实时框间链路质量的挡位值和目标从站点的实时框间链路质量的挡位值不一致,则判定目标主站点的实时框间链路质量和目标从站点的实时框间链路质量不一致。
本申请实施例提供的一种计算机非易失性可读存储介质,计算机非易失性可读存储介质中存储有计算机程序,计算机程序被处理器执行时实现如下步骤:基于目标站点的实时前后端业务模型,确定目标站点在实时框间链路质量下的最优负载压力,目标站点包括目标主站点、目标从站点;基于目标站点的实时负载压力及目标站点的最优负载压力,对目标站点的可用性进行调整。
本申请实施例提供的一种计算机非易失性可读存储介质,计算机非易失性可读存储介质中存储有计算机程序,计算机程序被处理器执行时实现如下步骤:获取目标站点的工作模式;基于工作模式、目标站点的实时负载压力及目标站点的最优负载压力,对目标站点的可用性进行调整;其中,工作模式包括高可用工作模式和普通工作模式,且高可用工作模式的链路质量划分粒度高于普通工作模式的链路质量划分粒度。
本申请实施例提供的一种计算机非易失性可读存储介质,计算机非易失性可读存储介质中存储有计算机程序,计算机程序被处理器执行时实现如下步骤:若工作模式为普通工作模式,则计算目标站点的最优负载压力的第一预设百分比值;判断目标站点的实时负载压力是否小于第一预设百分比值;若目标站点的实时负载压力小于第一预设百分比值,则上报二级业务预警,同时上报是否将工作模式切换为高可用工作模式。
本申请实施例提供的一种计算机非易失性可读存储介质,计算机非易失性可读存储介质中存储有计算机程序,计算机程序被处理器执行时实现如下步骤:在第二预设时长内,判断目标站点的实时负载压力是否小于第一预设百分比值。
本申请实施例提供的一种计算机非易失性可读存储介质,计算机非易失性可读存储介质中存储有计算机程序,计算机程序被处理器执行时实现如下步骤:若工作模式为高可用工作模式,则计算目标站点的最优负载压力的第二预设百分比值;判断目标站点的实时负载压力是否小于第二预设百分比值;若目标站点的实时负载压力小于第二预设百分比值,则上报四级业务预警。
本申请实施例提供的一种计算机非易失性可读存储介质,计算机非易失性可读存储介质中存储有计算机程序,计算机程序被处理器执行时实现如下步骤:在第三预设时长内,判断目标站点的实时负载压力是否小于第二预设百分比值。
本申请实施例提供的一种计算机非易失性可读存储介质,计算机非易失性可读存储介质中存储有计算机程序,计算机程序被处理器执行时实现如下步骤:上报四级业务预警之后,若目标主站点的实时框间链路质量和目标从站点的实时框间链路质量不同,则将目标主站点或目标从站点中链路质量最差的站点作为待调试站点;确定比待调试站点的实时框间链路质量差一级的目标框间链路质量;确定目标框间链路质量对应的最优负载压力;将待调试站点的前端负载压力调整为目标框间链路质量对应的最优负载压力。
本申请实施例提供的一种计算机非易失性可读存储介质,计算机非易失性可读存储介质中存储有计算机程序,计算机程序被处理器执行时实现如下步骤:获取自身的实时前后端业务模型、实时负载压力和实时框间链路质量;获取目标阵列存储中目标从站点的实时前后端业务模型、实时负载压力和实时框间链路质量;基于目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标主站点的可用性进行调整;基于目标主站点的实时前后端业务模型、目标主站点的实时负载压力、目标从站点的实时前后端业务模型、目标从站点的实时负载压力,对目标主站点的可用性进行调整。
本申请实施例提供的一种计算机非易失性可读存储介质,计算机非易失性可读存储介质中存储有计算机程序,计算机程序被处理器执行时实现如下步骤:获取自身的实时前后端业务模型、实时负载压力和实时框间链路质量;获取目标阵列存储中目标主站点的实时前后端业务模型、实时负载压力和实时框间链路质量;基于目标主站点的实时框间链路质量和目标从站点的实时框间链路质量,对目标从站点的可用性进行调整;基于目标主站点的实时前后端业务模型、目标主站点的实时负载压力、目标从站点的实时前后端业务模型、目标从站点的实时负载压力,对目标从站点的可用性进行调整。
本申请所涉及的计算机非易失性可读存储介质包括随机存储器(Random Access Memory,RAM)、内存、只读存储器(Read-Only Memory,ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM(Compact Disc Read-Only Memory,只读光盘)、或技术领域内所公知的任意其它形式的非易失性可读存储介质。
本申请实施例提供的前后端负载管理系统、设备及计算机非易失性可读存储介质中相关部分的说明请参见本申请实施例提供的前后端负载管理方法中对应部分的详细说明,在此不再赘述。另外,本申请实施例提供的上述技术方案中与现有技术中对应技术方案实现原理一致的部分并未详细说明,以免过多赘述。
还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个......”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
对所公开的实施例的上述说明,使本领域技术人员能够实现或使用本申请。对这些实施例的多种修改对本领域技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。

Claims (20)

  1. 一种前后端负载管理方法,其特征在于,包括:
    获取目标阵列存储中目标主站点的实时前后端业务模型、实时负载压力和实时框间链路质量;
    获取所述目标阵列存储中目标从站点的实时前后端业务模型、实时负载压力和实时框间链路质量;
    基于所述目标主站点的所述实时框间链路质量和所述目标从站点的所述实时框间链路质量,对所述目标主站点和所述目标从站点的可用性进行调整;
    基于所述目标主站点的所述实时前后端业务模型、所述目标主站点的所述实时负载压力、所述目标从站点的所述实时前后端业务模型、所述目标从站点的所述实时负载压力,对所述目标主站点和所述目标从站点的可用性进行调整。
  2. 根据权利要求1所述的方法,其特征在于,所述基于所述目标主站点的所述实时框间链路质量和所述目标从站点的所述实时框间链路质量,对所述目标主站点和所述目标从站点的可用性进行调整,包括:
    获取所述目标主站点和所述目标从站点的工作模式;
    基于所述工作模式、所述目标主站点的所述实时框间链路质量和所述目标从站点的所述实时框间链路质量,对所述目标主站点和所述目标从站点的可用性进行调整;
    其中,所述工作模式包括高可用工作模式和普通工作模式,且所述高可用工作模式的链路质量划分粒度高于所述普通工作模式的链路质量划分粒度。
  3. 根据权利要求2所述的方法,其特征在于,所述基于所述工作模式、所述目标主站点的所述实时框间链路质量和所述目标从站点的所述实时框间链路质量,对所述目标主站点和所述目标从站点的可用性进行调整,包括:
    若所述工作模式为所述普通工作模式,则判断所述目标主站点的所述实时框间链路质量和所述目标从站点的所述实时框间链路质量是否一致;
    若所述目标主站点的所述实时框间链路质量和所述目标从站点的所述实时框间链路质量一致,则判断所述目标主站点的所述实时框间链路质量和所述目标从站点的所述实时框间链路质量中是否存在所述普通工作模式下的最差链路质量;
    若所述目标主站点的所述实时框间链路质量和所述目标从站点的所述实时框间链路质量中存在所述普通工作模式下的所述最差链路质量,则上报一级业务预警,同时上报是否将所述工作模式切换为所述高可用工作模式。
  4. 根据权利要求2所述的方法,其特征在于,所述基于所述工作模式、所述目标主站点的所述实时框间链路质量和所述目标从站点的所述实时框间链路质量,对所述目标主站点和所述目标从站点的可用性进行调整,包括:
    若所述工作模式为所述高可用工作模式,则判断所述目标主站点的所述实时框间链路质量和所述目标从站点的所述实时框间链路质量是否一致;
    若所述目标主站点的所述实时框间链路质量和所述目标从站点的所述实时框间链路质量一致,则判断所述目标主站点的所述实时框间链路质量和所述目标从站点的所述实时框间链路质量中是否存在所述高可用工作模式下的最差链路质量;
    若所述目标主站点的所述实时框间链路质量和所述目标从站点的所述实时框间链路质量中存在所述高可用工作模式下的所述最差链路质量,则上报三级业务预警。
  5. 根据权利要求4所述的方法,其特征在于,所述上报三级业务预警之后,还包括:
    将所述目标主站点或所述目标从站点中存在所述高可用工作模式下的所述最差链路质量的站点作为待测试站点;
    对所述待测试站点进行模拟压力测试,得到模拟压力测试结果;
    若所述模拟压力测试结果与预设的最优负载压力结果相同,则取消所述三级业务预警。
  6. 根据权利要求5所述的方法,其特征在于,所述对所述待测试站点进行模拟压力测试,包括:
    在所述待测试站点的前端业务压力小于预设值时,对所述待测试站点进行时间周期为第一预设时长的模拟压力测试。
  7. 根据权利要求5所述的方法,其特征在于,所述对所述待测试站点进行模拟压力测试,包括:
    对所述待测试站点进行大块顺序写和/或小块顺序写和/或大块随机写和/或小块随机模型下的模拟压力测试。
  8. 根据权利要求3或4所述的方法,其特征在于,所述判断所述目标主站点的所述实时框间链路质量和所述目标从站点的所述实时框间链路质量是否一致,包括:
    判断所述目标主站点的所述实时框间链路质量的挡位值和所述目标从站点的所述实时框间链路质量的挡位值是否一致;
    若所述目标主站点的所述实时框间链路质量的挡位值和所述目标从站点的所述实时框间链路质量的挡位值不一致,则判定所述目标主站点的所述实时框间链路质量和所述目标从站点的所述实时框间链路质量不一致。
  9. 根据权利要求1所述的方法,其特征在于,所述基于所述目标主站点的所述实时前后端业务模型、所述目标主站点的所述实时负载压力、所述目标从站点的所述实时前后端业务模型、所述目标从站点的所述实时负载压力,对所述目标主站点和所述目标从站点的可用性进行调整,包括:
    基于目标站点的所述实时前后端业务模型,确定所述目标站点在所述实时框间链路质量下的最优负载压力,所述目标站点包括所述目标主站点、所述目标从站点;
    基于所述目标站点的所述实时负载压力及所述目标站点的所述最优负载压力,对所述目标站点的可用性进行调整。
  10. 根据权利要求9所述的方法,其特征在于,所述基于所述目标站点的所述实时负载压力及所述目标站点的所述最优负载压力,对所述目标站点的可用性进行调整,包括:
    获取所述目标站点的工作模式;
    基于所述工作模式、所述目标站点的所述实时负载压力及所述目标站点的所述最优负载压力,对所述目标站点的可用性进行调整;
    其中,所述工作模式包括高可用工作模式和普通工作模式,且所述高可用工作模式的链路质量划分粒度高于所述普通工作模式的链路质量划分粒度。
  11. 根据权利要求10所述的方法,其特征在于,所述基于所述工作模式、所述目标站点的所述实时负载压力及所述目标站点的所述最优负载压力,对所述目标站点的可用性进行调整,包括:
    若所述工作模式为所述普通工作模式,则计算所述目标站点的所述最优负载压力的第一预设百分比值;
    判断所述目标站点的所述实时负载压力是否小于所述第一预设百分比值;
    若所述目标站点的所述实时负载压力小于所述第一预设百分比值,则上报二级业务预警,同时上报是否将所述工作模式切换为所述高可用工作模式。
  12. 根据权利要求11所述的方法,其特征在于,所述判断所述目标站点的所述实时负载压力是否小于所述第一预设百分比值,包括:
    在第二预设时长内,判断所述目标站点的所述实时负载压力是否小于所述第一预设百分比值。
  13. 根据权利要求10所述的方法,其特征在于,所述基于所述工作模式、所述目标 站点的所述实时负载压力及所述目标站点的所述最优负载压力,对所述目标站点的可用性进行调整,包括:
    若所述工作模式为所述高可用工作模式,则计算所述目标站点的所述最优负载压力的第二预设百分比值;
    判断所述目标站点的所述实时负载压力是否小于所述第二预设百分比值;
    若所述目标站点的所述实时负载压力小于所述第二预设百分比值,则上报四级业务预警。
  14. 根据权利要求13所述的方法,其特征在于,所述判断所述目标站点的所述实时负载压力是否小于所述第二预设百分比值,包括:
    在第三预设时长内,判断所述目标站点的所述实时负载压力是否小于所述第二预设百分比值。
  15. 根据权利要求13所述的方法,其特征在于,所述上报四级业务预警之后,还包括:
    若所述目标主站点的所述实时框间链路质量和所述目标从站点的所述实时框间链路质量不同,则将所述目标主站点或所述目标从站点中链路质量最差的站点作为待调试站点;
    确定比所述待调试站点的所述实时框间链路质量差一级的目标框间链路质量;
    确定所述目标框间链路质量对应的最优负载压力;
    将所述待调试站点的前端负载压力调整为所述目标框间链路质量对应的最优负载压力。
  16. 一种前后端负载管理方法,其特征在于,应用于目标阵列存储中的目标主站点,包括:
    获取自身的实时前后端业务模型、实时负载压力和实时框间链路质量;
    获取所述目标阵列存储中目标从站点的实时前后端业务模型、实时负载压力和实时框间链路质量;
    基于所述目标主站点的所述实时框间链路质量和所述目标从站点的所述实时框间链路质量,对所述目标主站点的可用性进行调整;
    基于所述目标主站点的所述实时前后端业务模型、所述目标主站点的所述实时负载压力、所述目标从站点的所述实时前后端业务模型、所述目标从站点的所述实时负载压力,对所述目标主站点的可用性进行调整。
  17. 一种前后端负载管理方法,其特征在于,应用于目标阵列存储中的目标从站点,包括:
    获取自身的实时前后端业务模型、实时负载压力和实时框间链路质量;
    获取所述目标阵列存储中目标主站点的实时前后端业务模型、实时负载压力和实时框间链路质量;
    基于所述目标主站点的所述实时框间链路质量和所述目标从站点的所述实时框间链路质量,对所述目标从站点的可用性进行调整;
    基于所述目标主站点的所述实时前后端业务模型、所述目标主站点的所述实时负载压力、所述目标从站点的所述实时前后端业务模型、所述目标从站点的所述实时负载压力,对所述目标从站点的可用性进行调整。
  18. 一种前后端负载管理系统,其特征在于,包括:
    第一获取模块,被配置为获取目标阵列存储中目标主站点的实时前后端业务模型、实时负载压力和实时框间链路质量;
    第二获取模块,被配置为获取所述目标阵列存储中目标从站点的实时前后端业务模型、实时负载压力和实时框间链路质量;
    第一调整模块,被配置为基于所述目标主站点的所述实时框间链路质量和所述目标 从站点的所述实时框间链路质量,对所述目标主站点和所述目标从站点的可用性进行调整;
    第二调整模块,被配置为基于所述目标主站点的所述实时前后端业务模型、所述目标主站点的所述实时负载压力、所述目标从站点的所述实时前后端业务模型、所述目标从站点的所述实时负载压力,对所述目标主站点和所述目标从站点的可用性进行调整。
  19. 一种前后端负载管理设备,其特征在于,包括:
    存储器,被配置为存储计算机程序;
    处理器,被配置为执行所述计算机程序时实现如权利要求1至17任一项所述前后端负载管理方法的步骤。
  20. 一种计算机非易失性可读存储介质,其特征在于,所述计算机非易失性可读存储介质中存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至17任一项所述前后端负载管理方法的步骤。
PCT/CN2023/139601 2023-01-04 2023-12-18 一种前后端负载管理方法、系统、设备及计算机存储介质 WO2024146366A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202310005681.XA CN115695320B (zh) 2023-01-04 2023-01-04 一种前后端负载管理方法、系统、设备及计算机存储介质
CN202310005681.X 2023-01-04

Publications (1)

Publication Number Publication Date
WO2024146366A1 true WO2024146366A1 (zh) 2024-07-11

Family

ID=85057202

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/139601 WO2024146366A1 (zh) 2023-01-04 2023-12-18 一种前后端负载管理方法、系统、设备及计算机存储介质

Country Status (2)

Country Link
CN (1) CN115695320B (zh)
WO (1) WO2024146366A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115695320B (zh) * 2023-01-04 2023-03-31 苏州浪潮智能科技有限公司 一种前后端负载管理方法、系统、设备及计算机存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103812675A (zh) * 2012-11-08 2014-05-21 中兴通讯股份有限公司 一种实现业务交付平台异地容灾切换的方法和系统
US20170090787A1 (en) * 2015-09-29 2017-03-30 International Business Machines Corporation Storage site selection in a multi-target environment using weights
CN111884921A (zh) * 2020-07-16 2020-11-03 济南浪潮数据技术有限公司 一种通信方法、系统、设备及计算机可读存储介质
CN114423065A (zh) * 2020-10-28 2022-04-29 华为技术有限公司 一种计算服务发现方法及通信装置
CN115695320A (zh) * 2023-01-04 2023-02-03 苏州浪潮智能科技有限公司 一种前后端负载管理方法、系统、设备及计算机存储介质

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108540876A (zh) * 2018-03-12 2018-09-14 上海欣诺通信技术股份有限公司 业务路径选取方法、sdn控制器、存储介质及电子设备
CN110597459B (zh) * 2019-08-08 2023-04-11 上海隔镜信息科技有限公司 存储方法、主、副节点及包含其的系统
CN111641522A (zh) * 2020-05-25 2020-09-08 杭州安恒信息技术股份有限公司 节点切换的方法、系统和计算机设备
WO2022165818A1 (zh) * 2021-02-07 2022-08-11 Oppo广东移动通信有限公司 无线通信的方法、站点设备和接入点设备
CN114338363A (zh) * 2021-12-17 2022-04-12 浪潮(北京)电子信息产业有限公司 一种持续集成方法、装置、设备及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103812675A (zh) * 2012-11-08 2014-05-21 中兴通讯股份有限公司 一种实现业务交付平台异地容灾切换的方法和系统
US20170090787A1 (en) * 2015-09-29 2017-03-30 International Business Machines Corporation Storage site selection in a multi-target environment using weights
CN111884921A (zh) * 2020-07-16 2020-11-03 济南浪潮数据技术有限公司 一种通信方法、系统、设备及计算机可读存储介质
CN114423065A (zh) * 2020-10-28 2022-04-29 华为技术有限公司 一种计算服务发现方法及通信装置
CN115695320A (zh) * 2023-01-04 2023-02-03 苏州浪潮智能科技有限公司 一种前后端负载管理方法、系统、设备及计算机存储介质

Also Published As

Publication number Publication date
CN115695320A (zh) 2023-02-03
CN115695320B (zh) 2023-03-31

Similar Documents

Publication Publication Date Title
WO2024146366A1 (zh) 一种前后端负载管理方法、系统、设备及计算机存储介质
CN103812726A (zh) 一种数据通信设备的自动化测试方法及装置
CN104483959A (zh) 故障模拟与测试系统
CN107566214B (zh) 一种性能测试方法和装置
CN105426298A (zh) 一种基于adb的软件测试方法和系统
CN102193056A (zh) 测试装置及测试方法
US20090036115A1 (en) System and method for testing gsm modules
CN104348673A (zh) 一种调测的方法、主控板和业务板
CN112559267B (zh) 集成电路间总线i2c从机以及i2c控制器测试方法
CN107290654A (zh) 一种fpga逻辑测试结构及方法
CN114997102A (zh) 一种物理层验证方法、装置、设备及存储介质
CN109542481A (zh) 一种多模式多功能测试仪器自动配置装置和方法
WO2024131133A1 (zh) 电子设备数据处理方法、装置、电子设备和存储介质
CN110008165B (zh) 一种ntb链路管理方法、系统及相关装置
CN105530110A (zh) 一种网络故障检测方法以及相关网元
CN113533941B (zh) 芯片接口的测试方法、装置、计算机设备和存储介质
CN116319320A (zh) 一种网络性能优化方法、系统、电子设备及介质
CN115695241A (zh) 通讯压力测试方法及电子设备
CN113035267B (zh) 一种半导体测试装置、数据处理方法、设备及存储介质
CN106372019A (zh) 一种系统总线设备响应超时的处理方法及超时处理装置
CN115081366A (zh) 寄存器突发访问的建模方法
CN112559258B (zh) 一种容灾处理方法、装置、系统、设备及介质
US20220377591A1 (en) Quality of service measurement method and device, and user plane function entity
CN113835946A (zh) 数据交换的压力测试方法
JP2021036425A (ja) テスト機能を持つ装置およびそのテストの方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23914500

Country of ref document: EP

Kind code of ref document: A1