Method for Adjusting Storage Configuration, Storage Medium, Electronic Device and Program Product

By monitoring and adjusting the performance data of the storage controller node, generating early warning information and dynamically adjusting configuration operations, the resource competition problem during cache mirroring is solved, and the availability and performance stability of the storage system are improved.

CN119902722BActive Publication Date: 2025-07-04INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510395937.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-31
Publication Date
2025-07-04
Estimated Expiration
2045-03-31

AI Technical Summary

Technical Problem

During the cache image reorganization, the storage configuration operation competes with the front-end storage business, affecting the performance of the storage system.

Method used

By monitoring the business situation of the business system, determining the performance data of the storage controller node, and generating performance warning information when the target performance data does not meet the preset conditions, dynamically adjusting and performing configuration operations to ensure that the performance data meets the conditions.

Benefits of technology

The resource optimization and performance stability balance of the storage system are achieved, performance degradation caused by configuration operations is avoided, and the availability of the storage system is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119902722B_ABST
    Figure CN119902722B_ABST
Patent Text Reader

Abstract

The present application discloses a method for adjusting storage configuration, a storage medium, an electronic device, and a program product, relating to the field of computer technologies. The method includes: monitoring the service situation of a service system, and determining performance data of a storage controller node in a storage system corresponding to the service system based on the service situation; determining target performance data, to-be-executed configuration operations, and multiple execution configuration operations of the storage controller node during cache mirror pair recombination according to the performance data; in the case where it is determined that the target performance data does not meet the performance conditions during preset cache mirror pair recombination, generating a performance warning message for the storage controller node based on the to-be-executed configuration operations and the multiple execution configuration operations; and adjusting the multiple execution configuration operations based on the performance warning message so that the target performance data meets the performance conditions. Compared with related technologies, the availability of the storage system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular, to a method for adjusting storage configuration, a storage medium, an electronic device, and a program product. Background Art

[0002] In a storage array, especially a high-end multi-controller storage array, cache mirror pair recombination is a routine but critical operation for data protection and fault recovery.

[0003] Currently, in the related art, performing storage configuration operations during cache mirror pair recombination will cause resource competition between cache mirror pair recombination and the front-end storage service, thereby affecting the performance of the storage system. Summary of the Invention

[0004] The present application provides a method for adjusting storage configuration, a storage medium, an electronic device, and a program product. Its main purpose is to solve the problem that performing storage configuration operations during cache mirror pair recombination in the related art will cause resource competition between cache mirror pair recombination and the front-end storage service, thereby affecting the performance of the storage system.

[0005] In a first aspect, the present application provides a method for adjusting storage configuration, including:

[0006] Monitoring the business situation of the business system, and determining the performance data of the storage controller node in the storage system corresponding to the business system based on the business situation;

[0007] Determining the target performance data, the to-be-executed configuration operation, and multiple execution configuration operations of the storage controller node during cache mirror pair recombination according to the performance data;

[0008] When it is determined that the target performance data does not meet the performance conditions during preset cache mirror pair recombination, generating a performance warning message for the storage controller node based on the to-be-executed configuration operation and multiple execution configuration operations;

[0009] Adjusting multiple execution configuration operations based on the performance warning message so that the target performance data meets the performance conditions.

[0010] In a second aspect, the present application provides an apparatus for adjusting storage configuration, including:

[0011] A monitoring module, configured to monitor the business situation of the business system, and determine the performance data of the storage controller node in the storage system corresponding to the business system based on the business situation;

[0012] A determining module, configured to determine the target performance data, the to-be-executed configuration operation, and multiple execution configuration operations of the storage controller node during cache mirror pair recombination according to the performance data;

[0013] A generation module, configured to generate performance warning information of a storage controller node based on a to-be-executed configuration operation and a plurality of execution configuration operations when it is determined that target performance data does not meet the performance conditions during cache mirror pair recombination;

[0014] An adjustment module, configured to adjust the plurality of execution configuration operations based on the performance warning information so that the target performance data meets the performance conditions.

[0015] In a third aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method of the first aspect is implemented.

[0016] In a fourth aspect, the present application provides an electronic device, including a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor. When the processor executes the computer program, the method of the first aspect is implemented.

[0017] In a fifth aspect, the present application provides a computer program product, on which a computer program is stored, and when the computer program is executed by a processor, the method of the first aspect is implemented.

[0018] The storage configuration adjustment method, storage medium, electronic device, and program product provided by the present application, wherein the method includes: monitoring the service condition of a service system, and determining the performance data of a storage controller node in a storage system corresponding to the service system based on the service condition; determining target performance data, a to-be-executed configuration operation, and a plurality of execution configuration operations of the storage controller node during cache mirror pair recombination according to the performance data; generating performance warning information of the storage controller node based on the to-be-executed configuration operation and the plurality of execution configuration operations when it is determined that the target performance data does not meet the performance conditions during cache mirror pair recombination; adjusting the plurality of execution configuration operations based on the performance warning information so that the target performance data meets the performance conditions. Compared with the related art, the present application can monitor the service condition of the service system, and if it is determined during cache mirror pair recombination that the target performance data of the storage controller node does not meet the performance conditions, warning information can be generated and the plurality of execution configuration operations can be dynamically adjusted, so that the adjusted performance can meet the performance conditions, thereby achieving a balance between resource optimization and performance stability of the storage system, avoiding the situation that the storage system does not meet the performance conditions due to the plurality of execution configuration operations during cache mirror pair recombination, and further resulting in the storage system being unable to normally undertake services, and further improving the availability of the storage system.

[0019] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present application, nor is it used to limit the scope of the present application. Other features of the present application will become easily understood through the following description. Description of the Drawings

[0020] To more clearly illustrate the embodiments of the present application, the following will briefly introduce the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0021] Figure 1 It shows a schematic flowchart of a method for adjusting a storage configuration provided by an embodiment of the present application;

[0022] Figure 2 It shows a schematic flowchart of another method for adjusting a storage configuration provided by an embodiment of the present application;

[0023] Figure 3 It shows a schematic diagram of an example provided by an embodiment of the present application;

[0024] Figure 4 It shows a schematic structural diagram of a device for adjusting a storage configuration provided by an embodiment of the present application. Detailed implementation manners

[0025] The following will clearly and completely describe the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the protection scope of the present application.

[0026] It should be noted that in the description of the present application, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements but also includes other elements not explicitly listed, or further includes elements inherent to such process, method, article or device. The terms "first", "second", etc. in the present application are used to distinguish similar objects and are not used to describe a specific order or sequence.

[0027] In a storage array, especially in a high-end multi-controller storage array, cache mirror pair reorganization is a routine but crucial operation for data protection and fault recovery. However, during the reorganization process, configuration operations such as storage pool and volume configuration may affect the reorganization process due to resource competition and even implicate the performance of the entire system. Especially under high business pressure, resource competition may lead to extended response times and even affect business operations. Currently, there is no independent module with an effective policy mechanism in the related technologies to adjust the configuration operation policy during reorganization according to real-time business pressure, so as to improve reliability, optimize performance and resource utilization. Under the pressure of complex business models with high loads, it is easy to cause problems such as resource competition, resulting in the failure of cache mirror pairs to be reorganized in a timely manner and even affecting the cluster's inability to respond to front-end services in a timely manner, thereby affecting the availability of the entire storage system.

[0028] To address the technical problem that in the related technologies, during the cache mirror pair reorganization, performing storage configuration operations may lead to resource competition between the cache mirror pair reorganization and the front-end storage service, thereby affecting the performance of the storage system. This embodiment provides a method for adjusting storage configuration, as Figure 1 shown, the method includes the following steps:

[0029] Step 101, monitor the business situation of the business system, and determine the performance data of the storage controller nodes in the storage system corresponding to the business system based on the business situation.

[0030] It should be noted that the execution entity of the embodiments of this application can be a storage system, specifically a whole-machine storage system. Optionally, the whole-machine storage system is an enterprise-level storage solution designed to meet the requirements of high capacity, high performance, and high availability. These systems can include various types of storage media (such as HDDs, SSDs), controllers, front-end interfaces (for connecting to hosts), back-end interfaces (for connecting to storage media), and a series of software functions to manage data access, protection, and optimization. In some examples, the key components of a whole-machine storage system can include: Hard Disk Drive (HDD): Provides large-capacity data storage and is suitable for applications that require a large amount of storage space. Solid State Drive (SSD): Provides faster data read and write speeds and is particularly suitable for applications with high performance requirements. Hybrid configuration: Combines the use of HDDs and SSDs, using SSDs as a cache layer to accelerate frequently accessed data. Controller: The controller is one of the core components of the storage system and is responsible for tasks such as managing and allocating storage resources, performing Redundant Array of Independent Disks (RAID) calculations, and handling data transfers. High-end systems may include multiple controllers to improve redundancy and performance. Front-end interface: Provides a standard interface for connecting to hosts or clients, such as Fibre Channel (FC), Internet Small Computer System Interface (iSCSI), Network File System / Common Internet File System (NFS / CIFS), etc. Back-end interface: Used to connect to storage media and supports different types of disk interface technologies. Cache: The internal cache of the storage system can significantly improve read and write performance. Cache policies include prefetching, write-back, write-through, etc., aiming to optimize performance under different types of workloads. Management software: Provides a graphical user interface (GUI) or command-line interface (CLI) to facilitate administrators to configure, monitor, and maintain the storage system. Functions include but are not limited to volume management, snapshot creation, replication, remote mirroring, performance monitoring, etc. Power and cooling systems: A stable and reliable power supply is crucial for ensuring the normal operation of the storage system. The cooling system ensures that all components operate at an appropriate working temperature to prevent failures caused by overheating.

[0031] In the embodiments of this application, the business system can be an upper-layer business pressure system. Specifically, the upper-layer business pressure system can be tools and methods for simulating and testing the performance and stability of application programs or services under high-load conditions. The main purpose of such systems is to ensure that the application can operate normally under the expected user load and identify potential performance bottlenecks and failure points.

[0032] For this embodiment, the business conditions of the business system may include business models (small and large data blocks, sequential / random, read / write, etc.) and business pressure conditions. Among them, the data block size may include small data blocks: such as 4KB, 8KB, etc., which are usually used for database operations or metadata operations of the file system. Large data blocks: such as 64KB, 128KB or even larger, which are suitable for application scenarios that require transmitting a large amount of continuous data, such as video streams and big data processing. The access mode may include sequential access: data is read or written in sequence, which is common in applications such as media playback and backup. Sequential access usually has a high throughput and a low I / O latency. Random access: data is accessed in a non-sequential manner, such as database queries. Random access requires a high number of input / output operations per second (IOPS), but the throughput is relatively low. The read / write ratio may include read-intensive: such as application scenarios of web servers, data analysis, etc., which mainly focus on data reading operations. Write-intensive: such as scenarios of logging, transaction processing, etc., which pay more attention to the write efficiency of data. Mixed read / write: there are a large number of both read operations and write operations in many practical applications, such as online transaction processing (OLTP) systems, etc.

[0033] As an alternative, the business pressure may be the amount of workload that the business system needs to process within a specific time period. This can be measured by but not limited to the following dimensions, including: 1. The number of concurrent users: the number of users accessing the system simultaneously. 2. Request frequency: the number of requests issued per unit time. 3. Peak load: the maximum workload reached in a short period. 4. Duration: the length of time the high-load state lasts, etc.

[0034] In some examples, the storage controller nodes in a storage system are the core components responsible for managing and processing data storage and retrieval requests. They are the bridges connecting the front-end (such as servers or clients) to the back-end storage devices such as hard disk drives (HDDs), solid-state drives (SSDs), etc., ensuring that data can be stored and accessed efficiently and reliably. Among them, the main functions of the storage controller nodes may include, but are not limited to: 1. Data transfer management: responsible for receiving read and write requests from front-end applications and forwarding these requests to the corresponding storage media. Implement efficient data transfer protocols, such as Fibre Channel (FC), Internet Small Computer System Interface (iSCSI), etc. 2. Cache management: utilize high-speed caches to accelerate frequently accessed data and reduce the number of direct accesses to slow storage media. Implement intelligent cache strategies, such as prefetch algorithms, write-back mechanisms, etc., to improve the overall I / O efficiency. 3. RAID management: support different levels of RAID configurations (such as RAID 0, 1, 5, 6), providing data redundancy and fault tolerance capabilities. Automatically reconstruct damaged disk data to maintain data consistency and integrity. 4. Fault detection and recovery; real-time monitor the hardware status, including the working conditions of key components such as power supplies, fans, disks, etc. Automatically trigger recovery processes in case of failures, such as switching to a standby controller or starting data reconstruction operations. 5. Load balancing: deploy multiple controllers distributively, and share the workload through load balancing technologies to avoid single-point overload. Dynamically adjust the resource allocation strategy to adapt to changing workload requirements.

[0035] For this embodiment, the performance data of the storage controller nodes in the storage system may include, but are not limited to: Input / Output Operations Per Second (IOPS), Throughput, Latency, bandwidth utilization, CPU utilization, memory utilization, queue depth, cache hit rate, error rate, and so on.

[0036] Step 102: Determine the target performance data, configuration operations to be executed, and multiple configuration operations to be executed during the cache mirror pair reorganization based on the performance data.

[0037] In the embodiment of the present application, the cache mirror pair reorganization period may be the period when activities such as fault recovery, maintenance operations, or system expansion occur between the Primary Cache and the Mirror Cache (or Secondary Cache), and the data synchronization relationship between the two is re-established or adjusted.

[0038] In some examples, the target performance data may be the performance data of the storage system during the reorganization of the cache mirror pair; correspondingly, the multiple execution configuration operations may be the configuration operations currently being executed by the storage system, and the to-be-executed configuration operations may be the configuration operations that the storage system needs to execute next.

[0039] Step 103, in the case where it is determined that the target performance data does not meet the performance conditions during the preset cache mirror pair reorganization, generate a performance warning message for the storage controller node based on the to-be-executed configuration operations and the multiple execution configuration operations.

[0040] In the embodiments of the present application, the performance warning message may be an alarm message generated when the performance does not meet the performance conditions.

[0041] Step 104, adjust the multiple execution configuration operations based on the performance warning message so that the target performance data meets the performance conditions.

[0042] In some examples, adjusting the multiple execution configuration operations may be to reduce the operation efficiency level or suspend the execution of the multiple execution configuration operations, etc., so that the target performance data of the storage system can meet the performance conditions during the reorganization of the cache mirror pair.

[0043] Compared with the related art, this embodiment can monitor the business situation of the business system, and if it is determined during the reorganization of the cache mirror pair that the target performance data of the storage controller node does not meet the performance conditions, a warning message can be generated and the multiple execution configuration operations can be dynamically adjusted, so that the adjusted operations can meet the performance conditions, thereby achieving a balance between resource optimization and performance stability of the storage system, avoiding the situation that the storage system does not meet the performance conditions due to multiple execution configuration operations during the reorganization of the cache mirror pair, and further avoiding the situation that the storage system cannot normally undertake the business, and thus improving the availability of the storage system.

[0044] Further, as a refinement and extension of the above embodiment, optionally, this embodiment further provides a method for adjusting storage configuration, as Figure 2 shown, the method includes:

[0045] Step 201, monitor the business situation of the business system, and determine the performance data of the storage controller node in the storage system corresponding to the business system based on the business situation.

[0046] Optionally, step 201 may specifically include: interconnect the business system and the storage system through a high-speed link; monitor the business model and business pressure situation of the business system, and determine the performance data of the storage controller node in the storage system corresponding to the business system based on the business model and business pressure situation.

[0047] In the embodiments of the present application, asFigure 3 As shown, the service module, i.e., the service system in the embodiments of the present application, is generally a user's service server, etc., and is interconnected with the storage array, i.e., the storage system in the embodiments of the present application, through a high-speed data link such as Fibre Channel (FC), Internet Protocol (IP), Remote Direct Memory Access over Converged Ethernet (RoCE), or InfiniBand (IB). The storage system may include a service pressure monitoring and analysis module. Specifically, the service pressure monitoring and analysis module is located on the storage and can obtain the current service model (large / small data blocks, sequential / random, read / write, etc.) and service pressure situation of the service system, and real-time monitor the pressure of the front-end service. The pressure can be comprehensively evaluated through multiple metrics such as the system's IOPS, bandwidth, CPU usage rate, and latency.

[0048] Step 202: Perform data cleaning processing on the performance data to obtain target performance data.

[0049] In the embodiments of the present application, performing data cleaning processing may specifically be to remove the incorrect data in the performance data, thereby obtaining the target performance data.

[0050] Step 203: Determine the service pressure of the storage controller node based on the performance data, and determine the configuration operation to be executed and multiple configuration operations to be executed according to the configuration operation policy corresponding to the service pressure.

[0051] In some examples, when it is determined that the service pressure belongs to the preset low pressure range by using a preset non-linear function, the first policy is determined as the configuration operation policy; when it is determined that the service pressure belongs to the preset high pressure range by using a preset non-linear function, the second policy is determined as the configuration operation policy; and the configuration operation to be executed is determined based on the configuration operation policy and multiple configuration operations to be executed.

[0052] Among them, the first policy is to sequentially allow the execution of multiple configuration operations to be executed, and the second policy is to sequentially suspend the execution of multiple configuration operations to be executed.

[0053] In the embodiments of the present application, as Figure 3 shown, the storage module further includes a pressure response module. Specifically, the pressure response module is located on the storage and can determine the current configuration operation policy through a non-linear function according to the target performance data transmitted by the service pressure monitoring and analysis module. The non-linear function is designed to gradually allow more configuration operations under low pressure and limit these operations under high pressure to ensure that the cache mirror pair reorganization process is not interfered.

[0054] It should be noted that the non - linear function can be a function preset by the cache mirror pair status management module in the storage system.

[0055] In some examples, the preset low - pressure range can be the pressure range corresponding to the storage module being in the low - pressure mode; correspondingly, the high - pressure range can be the pressure range corresponding to the storage module being in the high - pressure mode. In the embodiments of the present application, the values of the low - pressure range and the high - pressure range can be set according to requirements or system conditions, and no specific limitations are made here.

[0056] Step 204, in the case where it is determined that the target performance data does not meet the performance conditions during the preset cache mirror pair reorganization, generate a performance warning message for the storage controller node based on the to - be - executed configuration operation and multiple execution configuration operations.

[0057] In the embodiments of the present application, as Figure 3 shown, it further includes a cache mirror pair status management module. The cache mirror pair status management module obtains the real - time performance data A (IOPS, bandwidth, CPU utilization rate, latency, etc.) of each storage controller node through the service pressure monitoring and analysis module. The cache mirror pair status management module obtains the current real - time storage configuration actions, that is, multiple execution configuration operations in the embodiments of the present application, and the next requirements, that is, the to - be - executed configuration operation in the embodiments of the present application, through the storage configuration management module.

[0058] Optionally, step 204 may specifically include: determining the execution mode and performance threshold of the storage controller node; comparing the target performance data with the first performance threshold in the normal mode. If it is determined that the target performance data is less than the first performance threshold, generate a performance warning message based on the to - be - executed configuration operation and multiple execution configuration operations.

[0059] Among them, the execution mode includes the normal mode and the high - availability mode, and the performance threshold includes the first performance threshold and the second performance threshold.

[0060] In the embodiments of the present application, according to the configuration and requirements of the system, the storage controller can operate in different modes, mainly divided into the normal mode and the high - availability mode; among them, in the normal mode, the storage system only includes one controller to process all I / O requests. If this controller fails, the entire storage system may become unavailable until the controller is repaired or replaced. Since there is only one controller, there is no built - in redundancy mechanism to prevent service interruptions caused by hardware failures. Data security depends on disk - level redundancy provided by technologies such as RAID, but does not include controller - level protection. Compared with the high - availability mode, the initial investment in the normal mode is lower, which is suitable for environments with limited budgets and higher tolerance for downtime.

[0061] In some examples, in the high-availability mode, the storage system improves the reliability and continuous availability of the system by increasing redundancy and automated recovery mechanisms: Dual-controller architecture: The system is equipped with two independent controllers, one of which acts as the primary controller to handle all I / O requests, and the other acts as the standby controller, automatically taking over its responsibilities when the primary controller fails. Multi-controller architecture: Expanding the concept of dual controllers, more controller nodes are added, further enhancing the system's expansion ability and high availability. Automatic failover: When a primary controller failure is detected, the system can automatically transfer control to the standby controller to ensure service continuity. The failover process is usually transparent, minimizing the impact on end-users. In the dual-controller or multi-controller architecture, data consistency needs to be maintained among the controllers, which is usually achieved through mirror caching, logging, or other synchronization mechanisms. After a failure recovery, the system will automatically perform data synchronization to ensure that the data on all nodes is up-to-date. Provide detailed health checks and status monitoring functions, and administrators can view the system's running status in real-time through a graphical interface or command-line tools. Support setting alarm thresholds, and once the set value is exceeded, a notification will be sent to the administrator.

[0062] For this embodiment, when determining the performance threshold of the storage controller node, it may specifically include: determining the standard performance data, the first performance optimization coefficient, and the second performance optimization coefficient corresponding to the storage controller node executing multiple execution configuration operations; determining the product of the standard performance data and the first performance optimization coefficient as the first performance threshold, and determining the product of the standard performance data and the second performance optimization coefficient as the second performance threshold.

[0063] In some examples, the standard performance data may be the best theoretical performance of each storage controller node under different storage configuration actions during cache mirror pair reorganization under different data models (such as large and small data blocks, sequential / random, read / write, etc.). The first performance optimization coefficient and the second performance optimization coefficient may be pre-configured coefficients. Among them, the first performance optimization coefficient and the second performance optimization coefficient may be the same or different. Regarding the numerical relationship between the first performance optimization coefficient and the second performance optimization coefficient, it is not limited in the embodiments of the present application.

[0064] For this embodiment, when generating a performance warning message based on the to-be-executed configuration operation and multiple execution configuration operations, it may include: determining the first performance requirement corresponding to the multiple execution configuration operations and the second performance requirement corresponding to the to-be-executed configuration operation. When it is determined that the first performance requirement is not lower than the second performance requirement, generating a first performance warning message corresponding to the first warning level; when it is determined that the first performance requirement is lower than the second performance requirement, generating a running mode switching message and a second performance warning message corresponding to the second warning level.

[0065] Among them, the second warning level is higher than the first warning level, and the operation mode switching information is used to request to switch to the highly available mode for operation.

[0066] Optionally, the method of this embodiment further includes: in the highly available mode, comparing the target performance data with the second performance threshold, and generating a first performance warning message when it is determined that the target performance data is less than the second performance threshold.

[0067] As an optional method, if the target performance data A is always less than the first performance threshold (the best theoretical performance B × the first performance optimization coefficient K1) within the cache mirror pair reorganization time period T1 in the normal mode, the cache mirror pair status management module will report a first-level cache mirror pair status warning, that is, the first performance warning message in the embodiment of the present application. If the next storage configuration requirement obtained by the cache mirror pair status management module at this time is higher than the current moment, the cache mirror pair status management module will upgrade the first-level cache mirror pair status warning to a second-level cache mirror pair status warning, that is, the second performance warning message in the embodiment of the present application, and report whether to switch to the highly available mode at the same time. In the highly available mode, if the target performance data A is always less than (the best theoretical performance B × the second performance optimization coefficient K2) within the time period T2, the cache mirror pair status management module will report a first-level cache mirror pair status warning.

[0068] Step 205: Adjust multiple execution configuration operations based on the performance warning message to make the target performance data meet the performance conditions.

[0069] Optionally, step 205 may specifically include: in the highly available mode, allocate corresponding execution weights and execution efficiency levels to multiple execution configuration operations according to the performance impact degree on the cache mirror pair reorganization; adjust the execution efficiency levels of multiple execution configuration operations based on the performance warning message and the execution weights.

[0070] In some examples, the cache mirror pair status management module can also divide execution weights, such as L1, L2, L3... Ln (the sum is 1) and execution efficiency levels, such as Q1, Q2, Q3... Qn (from small to large, Qn is full-speed execution) for all configuration actions in the highly available mode. The division basis is mainly the impact of the configuration action on the system performance during the cache mirror pair reorganization. The greater the impact, the greater the weight.

[0071] In an embodiment of the present application, when adjusting the execution efficiency levels of multiple execution configuration operations based on performance warning information and execution weights, it may include: in the case of generating the first performance warning information, if it is determined that the business pressure of the storage controller node is less than the predetermined business pressure threshold, the execution efficiency of multiple to-be-executed configuration operations is sequentially reduced by the first preset number of levels from large to small until it is determined that the target performance data is greater than or equal to the second performance threshold; if it is determined that the business pressure is greater than or equal to the predetermined business pressure threshold, the execution efficiency of multiple to-be-executed configuration operations is sequentially reduced by the second preset number of levels from large to small until it is determined that the target performance data is greater than or equal to the second performance threshold.

[0072] Exemplarily, reducing the first preset number of levels may be reducing by one level or two levels, and reducing the second preset number of levels may be reducing by two levels or three levels. It should be noted that the values of the first preset number of levels and the second preset number of levels can be set according to requirements or system conditions and are not limited herein.

[0073] As an alternative, the cache mirror pair status management module may also, under the first-level cache mirror pair status alarm, when the business pressure is less than the predetermined business pressure threshold C1, according to the current configuration action weight value, preferentially adjust the execution efficiency gear -N1 of the high-weight configuration actions, that is, reducing the first preset number of levels in the embodiment of the present application, until the target performance data A is not less than (optimal theoretical performance B × second performance optimization coefficient K2) within the cache mirror pair reorganization time period T2.

[0074] Under the first-level CPS alarm, the cache mirror pair status management module will, when the business pressure is not less than the predetermined business pressure threshold C1, according to the current configuration action weight value, preferentially adjust the execution efficiency gear -N2 of the high-weight configuration actions, that is, reducing the second preset number of levels in the embodiment of the present application, until the target performance data A is not less than (optimal theoretical performance B × second performance optimization coefficient K2) within the cache mirror pair reorganization time period T2.

[0075] Optionally, the embodiment of the present application further includes: in the case where the execution efficiency levels of multiple to-be-executed configuration operations are all reduced to the lowest level, if the target performance data is less than the second performance threshold, generate the second performance warning information and sequentially pause multiple to-be-executed configuration operations from large to small according to the execution weight value until it is determined that the target performance data is greater than or equal to the second performance threshold.

[0076] As an alternative, when the execution efficiency level of all configuration actions by the cache mirror pair status management module is at the lowest level Q1, and the target performance data A is always less than (the best theoretical performance B × the second performance optimization coefficient K2) within the cache mirror pair reorganization time period T2, the cache mirror pair status reporting secondary cache mirror pair status warning is issued, and the configuration actions with high weights are paused in sequence until the target performance data A is not less than (the best theoretical performance B × the second performance optimization coefficient K2) within the cache mirror pair reorganization time period T2.

[0077] Exemplarily, in the normal mode, if the target performance data A is always less than the best theoretical performance B × 75% (i.e., the first performance optimization coefficient K1 in the embodiments of the present application) within the cache mirror pair reorganization time period of 2 minutes (i.e., the cache mirror pair reorganization time period T1 in the embodiments of the present application), the cache mirror pair status management module will report a primary cache mirror pair status warning. If the next storage configuration requirement obtained by the cache mirror pair status management module at this time is higher than the current moment, the cache mirror pair status management module will upgrade the primary cache mirror pair status warning to a secondary cache mirror pair status warning and report whether to switch to the high-availability mode. In the high-availability mode, if the target performance data A is always less than the best theoretical performance B × 85% (i.e., the first performance optimization coefficient K2 in the embodiments of the present application) within the time period of 1 minute (i.e., the cache mirror pair reorganization time period T2 in the embodiments of the present application), the cache mirror pair status management module will report a primary cache mirror pair status warning.

[0078] Correspondingly, the storage configuration management module divides the execution weights of all configuration actions into 0.5, 0.3, and 0.2 (the sum is 1) and the execution efficiency levels 1, 2, 3... 16 (from small to large, 16 is full-speed execution) in the high-availability mode. The division basis is mainly the impact of the configuration action on the system performance during the reorganization of the cache mirror pair. The greater the impact, the greater the weight. Under the warning of the first-level cache mirror pair status, when the service pressure is less than 35% (i.e., the predetermined service pressure threshold C1 in the embodiment of the present application), the cache mirror pair status management module will, according to the current configuration action weight value, preferentially adjust the execution efficiency level of the configuration action with a high weight to -1 (i.e., reduce the first preset quantity level in the embodiment of the present application) until the target performance data A is not less than 85% of B within the time period of 1 minute (i.e., the cache mirror pair reorganization time period T2 in the embodiment of the present application). Under the warning of the first-level cache mirror pair status, when the service pressure is not less than 35%, the cache mirror pair status management module will, according to the current configuration action weight value, preferentially adjust the execution efficiency level of the configuration action with a high weight to -3 (i.e., reduce the second preset quantity level in the embodiment of the present application) until the target performance data A is not less than 85% of the best theoretical performance B (i.e., the first performance optimization coefficient K2 in the embodiment of the present application) within the time period of 1 minute (i.e., the cache mirror pair reorganization time period T2 in the embodiment of the present application).

[0079] Optionally, if the execution efficiency levels of all configuration actions are 1 (i.e., the lowest level in the embodiment of the present application) at this time, and the target performance data A is always less than 85% of the best theoretical performance B (i.e., the first performance optimization coefficient K2 in the embodiment of the present application) within the time period of 1 minute (i.e., the cache mirror pair reorganization time period T2 in the embodiment of the present application), the cache mirror pair status management module will report the warning of the second-level cache mirror pair status and pause the configuration actions with high weights in sequence until the target performance data A is not less than 85% of the best theoretical performance B (i.e., the first performance optimization coefficient K2 in the embodiment of the present application) within the time period of 1 minute (i.e., the cache mirror pair reorganization time period T2 in the embodiment of the present application).

[0080] It should be noted that the first performance optimization coefficient K1, the second performance optimization coefficient K2, the cache mirror pair recombination time period T1, the cache mirror pair recombination time period T2, the execution weights L1, L2, L3... Ln, the execution efficiency levels Q1, Q2, Q3... Qn, the predetermined service pressure threshold C1, the first preset quantity level N1, the second preset quantity level N2, etc. are all system preset parameters, which can be adjusted under the system or through parameter modules, etc. At the same time, in the high-availability mode, an AI algorithm is integrated in the cache mirror pair status management module to predict service pressure trends, models, etc. based on historical service data and adjust corresponding strategies in advance. For example, optimize threshold parameters based on historical data (i.e., the first performance optimization coefficient K1 and the second performance optimization coefficient K2 in the embodiments of the present application), dynamically allocate execution weights, etc., avoiding mechanical gear adjustment and further improving response accuracy. The cache mirror pair status management module intelligently processes storage configuration operations during mirror pair recombination. By real-time monitoring of the front-end service pressure, the embodiments of the present application adjust the execution strategy of the storage configuration task according to the pressure level, achieving a balance between system resource optimization and performance stability. Especially in the high-availability mode, multiple cache mirror pair status strategy processing is performed, avoiding abnormal situations such as the cluster being unable to normally undertake front-end services caused by cache mirror pair recombination in complex service model pressure coupling failure scenarios under high load in extreme scenarios, thereby improving the availability of the entire machine system.

[0081] Optionally, the embodiments of the present application further include: in response to configuring a target function, adjusting multiple execution configuration operations based on the target function.

[0082] As Figure 3 shown, the storage module of the embodiments of the present application may further include a parameter module. Specifically, through the parameter module, information interaction, parameter presetting, and enabling of related functions between the outside world and the multiple cache mirror pair status management module can be performed.

[0083] Compared with the related art, the present embodiment can monitor the business conditions of the business system, and if it is determined that the target performance data of the storage controller node does not meet the performance conditions during the cache mirror pair recombination, a warning message can be generated and multiple execution configuration operations can be dynamically adjusted so that the adjusted operations can meet the performance conditions, thereby achieving a balance between resource optimization and performance stability of the storage system, avoiding the situation that the storage system does not meet the performance conditions due to multiple execution configuration operations during the cache mirror pair recombination, and further avoiding the situation that the storage system cannot normally undertake the business, thereby improving the availability of the storage system.

[0084] The embodiments of the present application also provide an adjustment device for storage configuration, as Figure 1 shown in the specific implementation of the method, as Figure 4As shown in the figure, the device includes: a monitoring module 31, a determination module 32, a generation module 33, and an adjustment module 34.

[0085] The monitoring module 31 is configured to monitor the service status of the service system and determine the performance data of the storage controller nodes in the storage system corresponding to the service system based on the service status;

[0086] The determination module 32 is configured to determine the target performance data, the configuration operation to be executed, and multiple configuration operations to be executed during the cache mirror pair reorganization based on the performance data;

[0087] The generation module 33 is configured to generate a performance warning message for the storage controller node based on the configuration operation to be executed and multiple configuration operations to be executed when it is determined that the target performance data does not meet the performance conditions during the preset cache mirror pair reorganization;

[0088] The adjustment module 34 is configured to adjust multiple configuration operations to be executed based on the performance warning message so that the target performance data meets the performance conditions.

[0089] In some examples of this embodiment, the determination module 32 is specifically configured to perform data cleaning processing on the performance data to obtain the target performance data; determine the business pressure of the storage controller node based on the performance data, and determine the configuration operation to be executed and multiple configuration operations to be executed according to the configuration operation strategy corresponding to the business pressure.

[0090] In some examples of this embodiment, the determination module 32 is further specifically configured to use a preset non-linear function to determine the first strategy as the configuration operation strategy when it is determined that the business pressure belongs to the preset low pressure range, where the first strategy is to sequentially allow multiple configuration operations to be executed; use a preset non-linear function to determine the second strategy as the configuration operation strategy when it is determined that the business pressure belongs to the preset high pressure range, where the second strategy is to sequentially suspend the execution of multiple configuration operations; determine the configuration operation to be executed based on the configuration operation strategy and multiple configuration operations to be executed.

[0091] In some examples of this embodiment, the generation module 33 is specifically configured to determine the execution mode and performance threshold of the storage controller node. The execution mode includes a normal mode and a high availability mode, and the performance threshold includes a first performance threshold and a second performance threshold; compare the target performance data with the first performance threshold in the normal mode. If it is determined that the target performance data is less than the first performance threshold, generate a performance warning message based on the configuration operation to be executed and multiple configuration operations to be executed.

[0092] In some examples of this embodiment, the generating module 33 is further specifically configured to determine the standard performance data, the first performance optimization coefficient, and the second performance optimization coefficient corresponding to the storage controller node executing multiple execution configuration operations; determine the product of the standard performance data and the first performance optimization coefficient as the first performance threshold, and determine the product of the standard performance data and the second performance optimization coefficient as the second performance threshold.

[0093] In some examples of this embodiment, the generating module 33 is further specifically configured to determine the first performance requirement corresponding to multiple execution configuration operations and the second performance requirement corresponding to the to-be-executed configuration operation. When it is determined that the first performance requirement is not lower than the second performance requirement, generate the first performance warning information corresponding to the first warning level; when it is determined that the first performance requirement is lower than the second performance requirement, generate the operation mode switching information and the second performance warning information corresponding to the second warning level, where the second warning level is higher than the first warning level, and the operation mode switching information is used to request to switch to the highly available mode for operation.

[0094] In some examples of this embodiment, the generating module 33 is further specifically configured to, in the highly available mode, compare the target performance data with the second performance threshold. When it is determined that the target performance data is less than the second performance threshold, generate the first performance warning information.

[0095] In some examples of this embodiment, the adjustment module 34 is specifically configured to, in the highly available mode, allocate corresponding execution weights and execution efficiency levels to multiple execution configuration operations according to the performance impact degree on the reorganization of the cache mirror pair; adjust the execution efficiency levels of multiple execution configuration operations based on the performance warning information and the execution weights.

[0096] In some examples of this embodiment, the adjustment module 34 is further specifically configured to, when the first performance warning information is generated, if it is determined that the business pressure of the storage controller node is less than the predetermined business pressure threshold, sequentially reduce the execution efficiency of multiple to-be-executed configuration operations by the first preset number of levels in descending order of the execution weights until it is determined that the target performance data is greater than or equal to the second performance threshold; if it is determined that the business pressure is greater than or equal to the predetermined business pressure threshold, sequentially reduce the execution efficiency of multiple to-be-executed configuration operations by the second preset number of levels in descending order of the execution weight values until it is determined that the target performance data is greater than or equal to the second performance threshold.

[0097] In some examples of this embodiment, the adjustment module 34 is further configured to, when the execution efficiency levels of multiple configuration operations to be executed are all reduced to the lowest level, if the target performance data is less than the second performance threshold, generate a second performance warning message and pause the multiple configuration operations to be executed in descending order of the execution weight values until it is determined that the target performance data is greater than or equal to the second performance threshold.

[0098] In some examples of this embodiment, the monitoring module 31 is specifically configured to interconnect the service system and the storage system through a high-speed link; monitor the service model and service pressure conditions of the service system, and determine the performance data of the storage controller nodes in the storage system corresponding to the service system based on the service model and service pressure conditions.

[0099] In some examples of this embodiment, the adjustment module 34 is further configured to, in response to the configured target function, adjust multiple execution configuration operations based on the target function.

[0100] It should be noted that for other corresponding descriptions of each functional unit involved in the storage configuration adjustment device provided in this embodiment, reference can be made to Figure 1 the corresponding description in, which will not be elaborated here.

[0101] Based on the method as described above Figure 1 shown, correspondingly, this embodiment further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method as described above Figure 1 shown is implemented.

[0102] Based on the method as described above Figure 1 shown, correspondingly, this embodiment further provides a computer program product, on which a computer program is stored, and when the computer program is executed by a processor, the method as described above Figure 1 shown is implemented.

[0103] Based on such an understanding, the technical solution of this application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods in various implementation scenarios of this application.

[0104] Based on the method as described above Figure 1 shown, and Figure 4The virtual device embodiment shown. To achieve the above object, an embodiment of the present application further provides an electronic device, such as a personal computer or a server, which includes a storage medium and a processor; the storage medium is used to store a computer program; the processor is used to execute the computer program to implement the above as Figure 1 the method shown.

[0105] In some embodiments, the above entity device may further include a user interface, a network interface, a camera, a radio frequency (RF) circuit, sensors, an audio circuit, a WI-FI module, and so on. The user interface may include a display screen (Display), an input unit such as a keyboard (Keyboard), etc. Optionally, the user interface may further include a USB interface, a card reader interface, etc. The network interface may include a standard wired interface, a wireless interface (such as a WI-FI interface), etc. in some embodiments.

[0106] Those skilled in the art can understand that the above entity device structure provided by this embodiment does not constitute a limitation on the entity device, and may include more or fewer components, or combine certain components, or arrange different components.

[0107] The storage medium may further include an operating system and a network communication module. The operating system is a program for managing the hardware and software resources of the above entity device, and supports the operation of information processing programs and other software and / or programs. The network communication module is used to implement communication between components inside the storage medium, and communication between other hardware and software in the information processing entity device.

[0108] Through the description of the above embodiments, those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform, or can also be implemented by hardware. By applying the solution of this embodiment, compared with the related art, this embodiment can monitor the business situation of the business system, and if it is determined that the target performance data of the storage controller node does not meet the performance conditions during the cache mirror pair reorganization, a warning message can be generated and multiple execution configuration operations can be dynamically adjusted so that the performance conditions can be met after adjustment, thereby achieving a balance between resource optimization and performance stability of the storage system, avoiding the situation that the storage system does not meet the performance conditions due to multiple execution configuration operations during the cache mirror pair reorganization, and then resulting in the storage system being unable to normally undertake the business, thereby improving the availability of the storage system.

[0109] It should be noted that in this document, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprising", "including" or any other variation thereof are intended to cover non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the phrase "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or device comprising the element.

[0110] The above are only specific embodiments of the present application, enabling those skilled in the art to understand or implement the present application. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to these embodiments herein, but rather to the broadest scope consistent with the principles and novel features claimed herein.

Claims

1. A method for adjusting a storage configuration, characterized in that, Including: Monitoring the business situation of the business system, and determining the performance data of the storage controller nodes in the storage system corresponding to the business system based on the business situation; Determining the target performance data, the to-be-executed configuration operations, and multiple execution configuration operations of the storage controller nodes during the cache mirror pair reorganization based on the performance data; In the case where it is determined that the target performance data does not meet the performance conditions during the preset cache mirror pair reorganization, generating performance warning information for the storage controller nodes based on the to-be-executed configuration operations and the multiple execution configuration operations, including: determining the execution mode of the storage controller nodes, where the execution mode includes a normal mode and a high-availability mode; determining the standard performance data, the first performance optimization coefficient, and the second performance optimization coefficient corresponding to the storage controller nodes executing the multiple execution configuration operations; determining the product of the standard performance data and the first performance optimization coefficient as the first performance threshold, and determining the product of the standard performance data and the second performance optimization coefficient as the second performance threshold; comparing the target performance data with the first performance threshold in the normal mode, if it is determined that the target performance data is less than the first performance threshold, determining the first performance requirements corresponding to the multiple execution configuration operations and the second performance requirements corresponding to the to-be-executed configuration operations, and generating the first performance warning information corresponding to the first warning level in the case where it is determined that the first performance requirements are not lower than the second performance requirements; generating operation mode switching information and the second performance warning information corresponding to the second warning level in the case where it is determined that the first performance requirements are lower than the second performance requirements, where the second warning level is higher than the first warning level, and the operation mode switching information is used to request to switch to the high-availability mode for operation; Adjusting the multiple execution configuration operations based on the performance warning information to make the target performance data meet the performance conditions.

2. The method according to claim 1, wherein Determining the target performance data, the to-be-executed configuration operations, and multiple execution configuration operations of the storage controller nodes within the cache mirror pair reorganization time period based on the performance data, including: Performing data cleaning processing on the performance data to obtain the target performance data; Determining the business pressure of the storage controller nodes based on the performance data, and determining the to-be-executed configuration operations and the multiple execution configuration operations according to the configuration operation strategy corresponding to the business pressure.

3. The method according to claim 2, characterized in that Determining the to-be-executed configuration operations and the multiple execution configuration operations according to the configuration operation strategy corresponding to the business pressure, including: Using a preset non-linear function, in the case where it is determined that the business pressure belongs to the preset low pressure range, determining the first strategy as the configuration operation strategy, where the first strategy is to sequentially allow the execution of the multiple execution configuration operations; Using a preset non-linear function, in the case where it is determined that the business pressure belongs to the preset high pressure range, determining the second strategy as the configuration operation strategy, where the second strategy is to sequentially suspend the execution of the multiple execution configuration operations; Determine the to-be-executed configuration operations based on the configured operation policies and the multiple execution configuration operations.

4. The method according to claim 1, characterized in that, The method further includes: In the high-availability mode, compare the target performance data with the second performance threshold, and generate the first performance warning information when it is determined that the target performance data is less than the second performance threshold.

5. The method according to claim 4, characterized in that, Adjusting the multiple execution configuration operations based on the performance warning information includes: In the high-availability mode, allocate corresponding execution weights and execution efficiency levels to the multiple execution configuration operations according to the performance impact degree on the reorganization of cache mirror pairs; Adjust the execution efficiency levels of the multiple execution configuration operations based on the performance warning information and the execution weights.

6. The method according to claim 5, wherein Adjusting the execution efficiency levels of the multiple execution configuration operations based on the performance warning information and the execution weights includes: When the first performance warning information is generated, if it is determined that the business pressure of the storage controller node is less than the predetermined business pressure threshold, sequentially reduce the execution efficiency of the multiple to-be-executed configuration operations by the first preset number of levels in descending order of execution weights until it is determined that the target performance data is greater than or equal to the second performance threshold; If it is determined that the business pressure is greater than or equal to the predetermined business pressure threshold, sequentially reduce the execution efficiency of the multiple to-be-executed configuration operations by the second preset number of levels in descending order of execution weight values until it is determined that the target performance data is greater than or equal to the second performance threshold.

7. The method according to claim 6, characterized in that, The method further includes: When the execution efficiency levels of the multiple to-be-executed configuration operations are all reduced to the lowest level, if the target performance data is less than the second performance threshold, generate the second performance warning information and sequentially suspend the multiple to-be-executed configuration operations in descending order of execution weight values until it is determined that the target performance data is greater than or equal to the second performance threshold.

8. The method according to claim 1, characterized in that, Monitoring the business situation of the business system and determining the performance data of the storage controller node in the storage system corresponding to the business system based on the business situation includes: Interconnect the business system and the storage system through a high-speed link; Monitor the business model and business pressure situation of the business system, and determine the performance data of the storage controller node in the storage system corresponding to the business system based on the business model and the business pressure situation.

9. The method according to claim 1, characterized in that The method further includes: In response to configuring the target function, adjust the multiple execution configuration operations based on the target function.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method according to any one of claims 1 to 9.

11. An electronic device, comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein, When the processor executes the computer program, it implements the method according to any one of claims 1 to 9.

12. A computer program product having a computer program stored thereon, characterized in that, When the computer program product is executed by a processor, it implements the method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Control method and device for computing resource allocation, storage medium and electronic equipment

    CN118377427A