Load balancing service method and system based on SAN (Storage Area Network) storage

By implementing the load balancing service method in the SAN storage network, the problem of unbalanced utilization of storage resources is solved, efficient and flexible storage resource management is realized, and the stable performance and data security of the storage system under high load is ensured.

CN120010769AActive Publication Date: 2025-05-16SHENZHEN SAIR TECHNOLOGY CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202510074344.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-17
Publication Date
2025-05-16
Estimated Expiration
2045-01-17

AI Technical Summary

Technical Problem

In modern enterprises, traditional direct-connected storage cannot meet the needs of large-scale and high-performance data storage, especially in data storage environments that require high availability, high throughput and low latency. The construction of SAN storage networks is complex and error-prone, resulting in unbalanced utilization of storage resources.

Method used

Provide load balancing service methods based on SAN storage, including determining business needs, building SAN storage network, analyzing business loads, formulating load balancing strategies, selecting appropriate load balancing algorithms, configuring load balancing devices, creating virtual IPs, and monitoring the health status of load balancing devices and nodes in real time to adjust load balancing strategies.

Benefits of technology

By realizing the sharing and centralized management of storage resources, the utilization rate and flexibility of storage resources are improved, ensuring that the storage system maintains stable performance under high load, and can promptly discover and solve potential problems, improving the fault tolerance of the storage system and data integrity and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120010769A_ABST
    Figure CN120010769A_ABST
Patent Text Reader

Abstract

The invention discloses a load balancing service method and system based on SAN storage, and relates to the technical field of load balancing, and the method comprises the steps: determining the required SAN storage capacity and performance requirements; selecting a fiber channel storage area network as an SAN storage environment; setting an access mode and a data read-write frequency of the service system; selecting a polling algorithm, a minimum connection number algorithm or a weight-based distribution algorithm as a load balancing algorithm of SAN storage; creating a virtual IP (Internet Protocol) on the load balancing equipment; configuring a node pool, and adding storage nodes in the SAN network into the node pool of the load balancing equipment; and the load condition and the node health condition of the load balancing equipment are monitored in real time. The storage environment construction module, the load balancing algorithm module and the algorithm stability detection module are arranged to construct the SAN storage network, sharing and centralized management of storage resources are achieved, and the utilization rate and flexibility of the storage resources are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of load balancing, and in particular to a load balancing service method and system based on SAN storage. Background Art

[0002] In modern enterprises, with the continuous growth of business volume and the sharp increase in data volume, traditional direct-attached storage can no longer meet the needs of large-scale, high-performance data storage. As a centralized data storage management solution, storage area network (SAN) can provide efficient and reliable data access and sharing services, and has gradually become the preferred solution for enterprises. In particular, in data storage environments that require high availability, high throughput and low latency, such as database servers, online transaction processing systems and big data analysis platforms, SAN architecture is widely used.

[0003] The construction of SAN storage network involves the configuration of multiple hardware devices and software, such as Fibre Channel switches, disk arrays, SAN sharing software, etc. The construction process is complex and prone to errors. During the business operation process, the access mode and data read and write frequency of different business systems may vary greatly, resulting in uneven use of storage resources. Summary of the invention

[0004] In order to solve the above technical problems, a load balancing service method based on SAN storage is provided. This technical solution solves the problems raised in the above background technology.

[0005] In order to achieve the above purpose, the technical solution adopted by the present invention is:

[0006] The load balancing service method based on SAN storage includes:

[0007] Determine the required SAN storage capacity and performance requirements based on business needs;

[0008] Select Fibre Channel Storage Area Network as the SAN storage environment, and configure SAN sharing software, node servers, fiber switches and disk array devices to build a SAN storage network;

[0009] Analyze business load, set the access mode and data reading and writing frequency of the business system, and formulate corresponding load balancing strategies;

[0010] Based on the characteristics of business load, select polling algorithm, least connection number algorithm or weight-based allocation algorithm as the load balancing algorithm for SAN storage;

[0011] Run the corresponding SAN storage load balancing algorithm;

[0012] Configure a load balancing device in the SAN network and create a virtual IP on the load balancing device, using the IP as the entry point for the client to access the SAN storage;

[0013] Configure a node pool and add storage nodes in the SAN network to the node pool of the load balancing device. The load balancer processes client requests by scheduling the storage nodes.

[0014] Create a virtual service on the load balancing device, associate the virtual IP with the storage node pool, and configure virtual service parameters, including the port number and protocol type;

[0015] Ensure that the load balancing device is correctly configured and the load balancing service is started;

[0016] Monitor the load status and node health of load balancing devices in real time, and adjust the load balancing strategy in real time based on the monitoring results and changes in business needs.

[0017] Preferably, analyzing the business load, setting the access mode and data reading and writing frequency of the business system, and formulating a corresponding load balancing strategy specifically include:

[0018] Monitor the operation data of business systems;

[0019] Process and analyze the collected operational data to identify peak and trough periods of business load and change trends;

[0020] Based on the characteristics and requirements of the business system, set the sequential access mode as the access mode;

[0021] Based on sequential access scenarios, optimize disk layout and file system structure to reduce head movement and data transmission delays;

[0022] Analyze the characteristics and rules of data reading and writing frequency, and formulate data reading and writing strategies based on the results of reading and writing demand analysis;

[0023] Monitor the read and write performance of the storage system in real time, and make adjustments and optimizations based on actual conditions;

[0024] A load balancing strategy is obtained, where the load balancing strategy includes a round-robin algorithm, a least connection number algorithm, or a weight-based allocation algorithm.

[0025] Preferably, the selection of a polling algorithm, a minimum number of connections algorithm or a weight-based allocation algorithm as a load balancing algorithm for SAN storage based on business load characteristics specifically includes:

[0026] Preset the load difference thresholds for peak and trough periods of business load and the variance thresholds for the read and write speeds of each node server in the SAN storage network;

[0027] Determine whether the load difference between the peak period and the trough period of the business load is greater than the preset load difference threshold. If so, select the weight-based allocation algorithm as the load balancing algorithm for SAN storage. If not, no output is made.

[0028] Determine whether the variance of the read and write speeds of each node server in the SAN storage network is greater than a preset variance threshold. If so, select the least connection number algorithm as the load balancing algorithm for SAN storage. If not, select the polling algorithm as the load balancing algorithm for SAN storage.

[0029] Preferably, the running of the corresponding SAN storage load balancing algorithm specifically includes:

[0030] The load balancer receives data read and write requests from the client;

[0031] Get the preset load balancing algorithm;

[0032] In the polling algorithm, the load balancer obtains a list of node servers and traverses the list of node servers in sequence according to a preset order;

[0033] For each received data read and write request, the load balancer distributes it to the node server currently traversed;

[0034] After traversing to the last node server in the list, the load balancer will start traversing again from the first node server in the node server list;

[0035] In the least connection number algorithm, the load balancer obtains the current number of connections of each node server;

[0036] The load balancer selects the node server with the least number of current connections to process new data read and write requests;

[0037] Distribute data read and write requests to the selected node server and update the number of connections of the node server;

[0038] In the weight-based allocation algorithm, the administrator sets a weight value for each node server based on the storage capacity and performance requirements of the node server;

[0039] The load balancer calculates the proportion of requests received by each node server based on the preset weight value;

[0040] The load balancer selects the node server that receives the current data read and write request based on the calculated proportion of received requests;

[0041] Distribute data read and write requests to the selected node servers, and update the weight value and request ratio of each node server.

[0042] Preferably, configuring a load balancing device in the SAN network, creating a virtual IP on the load balancing device, and using the IP as an entry point for the client to access the SAN storage specifically includes:

[0043] Obtain login credentials for the load balancing device, the login credentials including a user name and a password;

[0044] Use the login credentials to log in to the command line interface of the load balancing device through a remote login tool;

[0045] Configure the network interface on the load balancing device to enable data communication with other devices in the SAN network;

[0046] On the load balancing device, create a virtual IP address, which serves as an entry point for the client to access the SAN storage;

[0047] Set the subnet mask and gateway properties of the virtual IP to enable data communication with other devices in the SAN network;

[0048] Use client devices to access SAN storage through virtual IP addresses and test the effectiveness of the load balancing configuration;

[0049] Determine whether the client's request can be correctly distributed to each node server and whether the returned data is accurate. If so, no output is made. If not, check the load balancing algorithm process of the SAN storage.

[0050] Preferably, configuring a node pool and adding storage nodes in the SAN network to the node pool of a load balancing device, wherein the load balancer processes the client's request by scheduling the storage nodes, specifically includes:

[0051] Scan the devices in the SAN network and obtain their IP addresses and port numbers;

[0052] Enter the IP address and port number information of the storage node in the node pool configuration interface;

[0053] The load balancer receives the client's request through its virtual IP address;

[0054] After receiving the request, the storage node processes the request and returns the result to the load balancer, which then forwards the result to the client.

[0055] Preferably, the real-time monitoring of the load condition and node health status of the load balancing device and adjusting the load balancing strategy in real time based on the monitoring results and changes in business requirements specifically includes:

[0056] In the node pool configuration interface, set the check frequency and response time threshold parameters, and select HTTP request as the check method;

[0057] The load balancing device periodically sends health check requests to the storage nodes based on the check frequency;

[0058] Determine the health status of the storage node based on the response result;

[0059] Determine whether the storage node is unable to respond to the health check request or the response time exceeds the threshold. If so, mark the storage node as unhealthy, remove it from the load balancing algorithm, and perform maintenance. If not, mark the storage node as healthy.

[0060] Furthermore, a load balancing service system based on SAN storage is proposed, which is used to implement the load balancing service method based on SAN storage as described above, including:

[0061] A storage environment building module, wherein the storage environment building module is used to determine the required SAN storage capacity and performance requirements based on business needs, select a Fibre Channel storage area network as the SAN storage environment, and configure SAN sharing software, node servers, fiber switches and disk array devices to build a SAN storage network;

[0062] A load balancing algorithm module, which is used to analyze the service load, set the access mode and data read and write frequency of the service system, formulate a corresponding load balancing strategy, select a polling algorithm, a minimum number of connections algorithm or a weight-based allocation algorithm as a load balancing algorithm for SAN storage based on the characteristics of the service load, and run the corresponding SAN storage load balancing algorithm;

[0063] An algorithm stability detection module is used to configure a load balancing device in a SAN network, create a virtual IP on the load balancing device, use the IP as an entry point for clients to access SAN storage, configure a node pool, and add storage nodes in the SAN network to the node pool of the load balancing device. The load balancer processes client requests by scheduling the storage nodes, creates a virtual service on the load balancing device, associates the virtual IP with the storage node pool, configures virtual service parameters, ensures that the load balancing device is correctly configured and starts the load balancing service, monitors the load status and node health of the load balancing device in real time, and adjusts the load balancing strategy in real time based on monitoring results and changes in business needs.

[0064] Compared with the prior art, the present invention has the following beneficial effects:

[0065] By setting up storage environment construction modules, load balancing algorithm modules and algorithm stability detection modules to build a SAN storage network, storage resources can be shared and centrally managed, which improves the utilization and flexibility of storage resources, ensures that the storage system can maintain stable performance under high load, can respond to different business scenarios and needs more flexibly, can promptly discover and resolve potential problems, ensure the stable operation of the storage system, improve the fault tolerance of the storage system, and be able to respond to various emergencies and failures to ensure the integrity and security of data. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] Figure 1 It is a flow chart of the load balancing service method based on SAN storage of the present invention;

[0067] Figure 2 A flow chart of the method for analyzing business load, setting the access mode of the business system and the data reading and writing frequency of the present invention;

[0068] Figure 3 A flow chart of a load balancing algorithm method for selecting SAN storage according to the present invention;

[0069] Figure 4 A flow chart of the SAN storage load balancing algorithm method corresponding to the operation of the present invention;

[0070] Figure 5 A flow chart of a method for configuring a load balancing device in a SAN network and creating a virtual IP on the load balancing device according to the present invention;

[0071] Figure 6 This is a flow chart of the node pool configuration method of the present invention;

[0072] Figure 7 A flow chart of a method for real-time monitoring of the load status and node health status of a load balancing device. DETAILED DESCRIPTION

[0073] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and those skilled in the art may think of other obvious variations.

[0074] Reference Figure 1 As shown, the load balancing service method based on SAN storage includes:

[0075] Determine the required SAN storage capacity and performance requirements based on business needs;

[0076] Select Fibre Channel Storage Area Network as the SAN storage environment, and configure SAN sharing software, node servers, fiber switches and disk array devices to build a SAN storage network;

[0077] Analyze business load, set the access mode and data reading and writing frequency of the business system, and formulate corresponding load balancing strategies;

[0078] Based on the characteristics of business load, select polling algorithm, least connection number algorithm or weight-based allocation algorithm as the load balancing algorithm for SAN storage;

[0079] Run the corresponding SAN storage load balancing algorithm;

[0080] Configure a load balancing device in the SAN network and create a virtual IP on the load balancing device, using the IP as the entry point for the client to access the SAN storage;

[0081] Configure a node pool and add storage nodes in the SAN network to the node pool of the load balancing device. The load balancer processes client requests by scheduling the storage nodes.

[0082] Create a virtual service on the load balancing device, associate the virtual IP with the storage node pool, and configure virtual service parameters, including the port number and protocol type;

[0083] Ensure that the load balancing device is correctly configured and the load balancing service is started;

[0084] Monitor the load status and node health of load balancing devices in real time, and adjust the load balancing strategy in real time based on the monitoring results and changes in business needs.

[0085] Reference Figure 2 As shown, analyze the business load, set the access mode and data read and write frequency of the business system, and formulate corresponding load balancing strategies, including:

[0086] Monitor the operation data of business systems;

[0087] Process and analyze the collected operational data to identify peak and trough periods of business load and change trends;

[0088] Based on the characteristics and requirements of the business system, set the sequential access mode as the access mode;

[0089] Based on sequential access scenarios, optimize disk layout and file system structure to reduce head movement and data transmission delays;

[0090] Analyze the characteristics and rules of data reading and writing frequency, and formulate data reading and writing strategies based on the results of reading and writing demand analysis;

[0091] Monitor the read and write performance of the storage system in real time, and make adjustments and optimizations based on actual conditions;

[0092] A load balancing strategy is obtained, where the load balancing strategy includes a round-robin algorithm, a least connection number algorithm, or a weight-based allocation algorithm.

[0093] Clean and preprocess the collected operating data to remove outliers and invalid data; use data analysis tools to conduct in-depth analysis of the preprocessed data to identify peak and trough periods and changing trends of business load; visualize the analysis results through charts such as line charts, bar charts, and pie charts to facilitate intuitive understanding of business load conditions.

[0094] Reference Figure 3 As shown in the figure, based on the business load characteristics, the polling algorithm, the least connection number algorithm or the weight-based allocation algorithm are selected as the load balancing algorithm of SAN storage. Specifically, the following are included:

[0095] Preset the load difference thresholds for peak and trough periods of business load and the variance thresholds for the read and write speeds of each node server in the SAN storage network;

[0096] Determine whether the load difference between the peak period and the trough period of the business load is greater than the preset load difference threshold. If so, select the weight-based allocation algorithm as the load balancing algorithm for SAN storage. If not, no output is made.

[0097] Determine whether the variance of the read and write speeds of each node server in the SAN storage network is greater than a preset variance threshold. If so, select the least connection number algorithm as the load balancing algorithm for SAN storage. If not, select the polling algorithm as the load balancing algorithm for SAN storage.

[0098] Based on historical business load data, a load difference threshold between the peak and trough periods of business load is preset. This threshold is used to determine whether the fluctuation of business load is significant. A variance threshold of the read and write speed of each node server in the SAN storage network is preset. This threshold is used to evaluate whether the performance difference between node servers is significant.

[0099] Reference Figure 4 As shown, running the corresponding SAN storage load balancing algorithm specifically includes:

[0100] The load balancer receives data read and write requests from the client;

[0101] Get the preset load balancing algorithm;

[0102] In the polling algorithm, the load balancer obtains a list of node servers and traverses the list of node servers in sequence according to a preset order;

[0103] For each received data read and write request, the load balancer distributes it to the node server currently traversed;

[0104] After traversing to the last node server in the list, the load balancer will start traversing again from the first node server in the node server list;

[0105] In the least connection number algorithm, the load balancer obtains the current number of connections of each node server;

[0106] The load balancer selects the node server with the least number of current connections to process new data read and write requests;

[0107] Distribute data read and write requests to the selected node server and update the number of connections of the node server;

[0108] In the weight-based allocation algorithm, the administrator sets a weight value for each node server based on the storage capacity and performance requirements of the node server;

[0109] The load balancer calculates the proportion of requests received by each node server based on the preset weight value;

[0110] The load balancer selects the node server that receives the current data read and write request based on the calculated proportion of received requests;

[0111] Distribute data read and write requests to the selected node servers, and update the weight value and request ratio of each node server.

[0112] The load balancer maintains a configuration internally to specify the load balancing algorithm currently in use. When a request is received, the load balancer first reads this configuration to determine the algorithm to be used (polling algorithm, least connection number algorithm, or weight-based allocation algorithm).

[0113] Reference Figure 5 As shown in the figure, a load balancing device is configured in the SAN network, and a virtual IP is created on the load balancing device. The IP is used as the entry point for the client to access the SAN storage. The specific steps include:

[0114] Obtain login credentials for the load balancing device, the login credentials including a user name and a password;

[0115] Use the login credentials to log in to the command line interface of the load balancing device through a remote login tool;

[0116] Configure the network interface on the load balancing device to enable data communication with other devices in the SAN network;

[0117] On the load balancing device, create a virtual IP address, which serves as an entry point for the client to access the SAN storage;

[0118] Set the subnet mask and gateway properties of the virtual IP to enable data communication with other devices in the SAN network;

[0119] Use client devices to access SAN storage through virtual IP addresses and test the effectiveness of the load balancing configuration;

[0120] Determine whether the client's request can be correctly distributed to each node server and whether the returned data is accurate. If so, no output is made. If not, check the load balancing algorithm process of the SAN storage.

[0121] During the entire configuration process, be sure to keep a backup of the configuration so that it can be quickly restored when problems occur. When verifying the load balancing configuration, it is recommended to use a variety of different types of client requests to ensure the comprehensiveness of the test. Monitoring and logging are important means to verify the effectiveness of the load balancing configuration. Be sure to enable and check them regularly.

[0122] Reference Figure 6 As shown, a node pool is configured, and storage nodes in the SAN network are added to the node pool of the load balancing device. The load balancer processes the client's request by scheduling the storage nodes, specifically including:

[0123] Scan the devices in the SAN network and obtain their IP addresses and port numbers;

[0124] Enter the IP address and port number information of the storage node in the node pool configuration interface;

[0125] The load balancer receives the client's request through its virtual IP address;

[0126] After receiving the request, the storage node processes the request and returns the result to the load balancer, which then forwards the result to the client.

[0127] Utilize the monitoring function of the load balancer to monitor the status of storage nodes and the performance indicators of the load balancer in real time, configure the fault switching mechanism, and when a storage node fails, the load balancer can automatically switch the request to other healthy storage nodes. Regularly check the configuration and status of storage nodes and load balancers to ensure that the system is stable and reliable.

[0128] Reference Figure 7 As shown in the figure, the load status and node health status of the load balancing device are monitored in real time, and the load balancing strategy is adjusted in real time based on the monitoring results and changes in business needs. Specifically, it includes:

[0129] In the node pool configuration interface, set the check frequency and response time threshold parameters, and select HTTP request as the check method;

[0130] The load balancing device periodically sends health check requests to the storage nodes based on the check frequency;

[0131] Determine the health status of the storage node based on the response result;

[0132] Determine whether the storage node is unable to respond to the health check request or the response time exceeds the threshold. If so, mark the storage node as unhealthy, remove it from the load balancing algorithm, and perform maintenance. If not, mark the storage node as healthy.

[0133] According to changes in business needs and current load conditions, system administrators can adjust load balancing strategies, such as changing load balancing algorithms and adjusting weight distribution, to optimize request processing and resource utilization.

[0134] Further, based on the same inventive concept as the above-mentioned SAN storage-based load balancing service method, the present solution also proposes a SAN storage-based load balancing service system, including:

[0135] A storage environment building module, wherein the storage environment building module is used to determine the required SAN storage capacity and performance requirements based on business needs, select a Fibre Channel storage area network as the SAN storage environment, and configure SAN sharing software, node servers, fiber switches and disk array devices to build a SAN storage network;

[0136] A load balancing algorithm module, which is used to analyze the service load, set the access mode and data read and write frequency of the service system, formulate a corresponding load balancing strategy, select a polling algorithm, a minimum number of connections algorithm or a weight-based allocation algorithm as a load balancing algorithm for SAN storage based on the characteristics of the service load, and run the corresponding SAN storage load balancing algorithm;

[0137] An algorithm stability detection module is used to configure a load balancing device in a SAN network, create a virtual IP on the load balancing device, use the IP as an entry point for clients to access SAN storage, configure a node pool, and add storage nodes in the SAN network to the node pool of the load balancing device. The load balancer processes client requests by scheduling the storage nodes, creates a virtual service on the load balancing device, associates the virtual IP with the storage node pool, configures virtual service parameters, ensures that the load balancing device is correctly configured and starts the load balancing service, monitors the load status and node health of the load balancing device in real time, and adjusts the load balancing strategy in real time based on monitoring results and changes in business needs.

[0138] Furthermore, the present solution also proposes a computer-readable storage medium on which a computer-readable program is stored. When the computer-readable program is called, the above-mentioned production tax and value-added tax approximate estimation method based on big data services is executed.

[0139] It is understandable that the storage medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; an optical medium, such as a DVD; or a semiconductor medium, such as a solid state drive (SSD).

[0140] To sum up, the advantages of the present invention are: by setting up a storage environment construction module, a load balancing algorithm module and an algorithm stability detection module to build a SAN storage network, sharing and centralized management of storage resources are realized, the utilization and flexibility of storage resources are improved, and the storage system is ensured to maintain stable performance under high load, and can respond to different business scenarios and needs more flexibly, and can promptly discover and solve potential problems to ensure the stable operation of the storage system, improve the fault tolerance of the storage system, and can respond to various emergencies and failures to ensure the integrity and security of data.

[0141] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions only describe the principles of the present invention. The present invention may be subject to various changes and improvements without departing from the spirit and scope of the present invention. These changes and improvements fall within the scope of the present invention. The scope of protection claimed by the present invention is defined by the attached claims and their equivalents.

Claims

1. A load balancing service method based on SAN storage, characterized in that: include: Determine the required SAN storage capacity and performance requirements based on business needs; Select Fibre Channel Storage Area Network as the SAN storage environment, and configure SAN sharing software, node servers, fiber switches and disk array devices to build a SAN storage network; Analyze business load, set the access mode and data reading and writing frequency of the business system, and formulate corresponding load balancing strategies; Based on the characteristics of business load, select polling algorithm, least connection number algorithm or weight-based allocation algorithm as the load balancing algorithm for SAN storage; Run the corresponding SAN storage load balancing algorithm; Configure a load balancing device in the SAN network and create a virtual IP on the load balancing device, using the IP as the entry point for the client to access the SAN storage; Configure a node pool and add storage nodes in the SAN network to the node pool of the load balancing device. The load balancer processes client requests by scheduling the storage nodes. Create a virtual service on the load balancing device, associate the virtual IP with the storage node pool, and configure virtual service parameters, including the port number and protocol type; Ensure that the load balancing device is correctly configured and the load balancing service is started; Monitor the load status and node health of load balancing devices in real time, and adjust the load balancing strategy in real time based on the monitoring results and changes in business needs.

2. The load balancing service method based on SAN storage according to claim 1, characterized in that: Analyzing the business load, setting the access mode and data reading and writing frequency of the business system, and formulating the corresponding load balancing strategy specifically include: Monitor the operation data of business systems; Process and analyze the collected operational data to identify peak and trough periods of business load and change trends; Based on the characteristics and requirements of the business system, set the sequential access mode as the access mode; Based on sequential access scenarios, optimize disk layout and file system structure to reduce head movement and data transmission delays; Analyze the characteristics and patterns of data reading and writing frequency, and formulate data reading and writing strategies based on the reading and writing demand analysis results; Monitor the read and write performance of the storage system in real time, and make adjustments and optimizations based on actual conditions; A load balancing strategy is obtained, where the load balancing strategy includes a round-robin algorithm, a least connection number algorithm, or a weight-based allocation algorithm.

3. The load balancing service method based on SAN storage according to claim 2, characterized in that: The method of selecting a polling algorithm, a minimum number of connections algorithm or a weight-based allocation algorithm as a load balancing algorithm for SAN storage based on business load characteristics specifically includes: Preset the load difference thresholds for peak and trough periods of business load and the variance thresholds for the read and write speeds of each node server in the SAN storage network; Determine whether the load difference between the peak period and the trough period of the business load is greater than the preset load difference threshold. If so, select the weight-based allocation algorithm as the load balancing algorithm for SAN storage. If not, no output is made. Determine whether the variance of the read and write speeds of each node server in the SAN storage network is greater than a preset variance threshold. If so, select the least connection number algorithm as the load balancing algorithm for SAN storage. If not, select the polling algorithm as the load balancing algorithm for SAN storage.

4. The load balancing service method based on SAN storage according to claim 3, characterized in that: The running of the corresponding SAN storage load balancing algorithm specifically includes: The load balancer receives data read and write requests from the client; Get the preset load balancing algorithm; In the polling algorithm, the load balancer obtains a list of node servers and traverses the list of node servers in sequence according to a preset order; For each received data read and write request, the load balancer distributes it to the node server currently traversed; After traversing to the last node server in the list, the load balancer will start traversing again from the first node server in the node server list; In the least connection number algorithm, the load balancer obtains the current number of connections of each node server; The load balancer selects the node server with the least number of current connections to process new data read and write requests; Distribute data read and write requests to the selected node server and update the number of connections of the node server; In the weight-based allocation algorithm, the administrator sets a weight value for each node server based on the storage capacity and performance requirements of the node server; The load balancer calculates the proportion of requests received by each node server based on the preset weight value; The load balancer selects the node server that receives the current data read and write request based on the calculated proportion of received requests; Distribute data read and write requests to the selected node servers, and update the weight value and request ratio of each node server.

5. The load balancing service method based on SAN storage according to claim 4, characterized in that: The configuration of a load balancing device in the SAN network and the creation of a virtual IP on the load balancing device, using the IP as an entry point for the client to access the SAN storage specifically include: Obtain login credentials for the load balancing device, the login credentials including a user name and a password; Use the login credentials to log in to the command line interface of the load balancing device through a remote login tool; Configure the network interface on the load balancing device to enable data communication with other devices in the SAN network; On the load balancing device, create a virtual IP address, which serves as an entry point for the client to access the SAN storage; Set the subnet mask and gateway properties of the virtual IP to enable data communication with other devices in the SAN network; Use client devices to access SAN storage through virtual IP addresses and test the effectiveness of the load balancing configuration; Determine whether the client's request can be correctly distributed to each node server and whether the returned data is accurate. If so, no output is made. If not, check the load balancing algorithm process of the SAN storage.

6. The load balancing service method based on SAN storage according to claim 5, characterized in that: The configuring of the node pool and adding the storage nodes in the SAN network to the node pool of the load balancing device, wherein the load balancer processes the client's request by scheduling the storage nodes, specifically includes: Scan the devices in the SAN network and obtain their IP addresses and port numbers; Enter the IP address and port number information of the storage node in the node pool configuration interface; The load balancer receives the client's request through its virtual IP address; After receiving the request, the storage node processes the request and returns the result to the load balancer, which then forwards the result to the client.

7. The load balancing service method based on SAN storage according to claim 6, characterized in that: The real-time monitoring of the load status and node health status of the load balancing device and the real-time adjustment of the load balancing strategy based on the monitoring results and changes in business requirements specifically include: In the node pool configuration interface, set the check frequency and response time threshold parameters, and select HTTP request as the check method; The load balancing device periodically sends health check requests to the storage nodes based on the check frequency; Determine the health status of the storage node based on the response result; Determine whether the storage node is unable to respond to the health check request or the response time exceeds the threshold. If so, mark the storage node as unhealthy, remove it from the load balancing algorithm, and perform maintenance. If not, mark the storage node as unhealthy, remove it from the load balancing algorithm, and perform maintenance.

8. A load balancing service system based on SAN storage, used to implement the load balancing service method based on SAN storage as claimed in any one of claims 1 to 7, characterized in that: include: A storage environment building module, wherein the storage environment building module is used to determine the required SAN storage capacity and performance requirements based on business needs, select a Fibre Channel storage area network as the SAN storage environment, and configure SAN sharing software, node servers, fiber switches and disk array devices to build a SAN storage network; A load balancing algorithm module, which is used to analyze the service load, set the access mode and data read and write frequency of the service system, formulate a corresponding load balancing strategy, select a polling algorithm, a minimum number of connections algorithm or a weight-based allocation algorithm as a load balancing algorithm for SAN storage based on the characteristics of the service load, and run the corresponding SAN storage load balancing algorithm; An algorithm stability detection module is used to configure a load balancing device in a SAN network, create a virtual IP on the load balancing device, use the IP as an entry point for clients to access SAN storage, configure a node pool, and add storage nodes in the SAN network to the node pool of the load balancing device. The load balancer processes client requests by scheduling the storage nodes, creates a virtual service on the load balancing device, associates the virtual IP with the storage node pool, configures virtual service parameters, ensures that the load balancing device is correctly configured and starts the load balancing service, monitors the load status and node health of the load balancing device in real time, and adjusts the load balancing strategy in real time based on monitoring results and changes in business needs.

Citation Information

Patent Citations

  • Load equalization implementing method, storage control equipment and memory system

    CN101345770A

  • Network-based PB level cloud storage system and processing method thereof

    CN102143215A

  • Power transmission system server load balancing method

    CN109788062A

  • Distributed video monitoring architecture method under heterogeneous server

    CN116320300A

  • Real-time database data access method and system

    CN117216351A