NAS-based storage system and management method, device, equipment and medium

CN117827115BActive Publication Date: 2026-10-16ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410021911.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-05
Publication Date
2026-10-16
Estimated Expiration
2044-01-05

AI Technical Summary

Technical Problem

[0003]在NAS存储系统的使用过程中,当处理业务的节点故障时,需将业务由该节点漂移至其他节点,然而,NAS存储系统中节点较多,节点漂移速度慢,导致业务处理连续性差

Benefits of technology

[0057] This application provides a NAS-based storage system management method applied to a target service site in a storage system. The method involves identifying the target service node within the target service site's service nodes; determining if the target service node is faulty; if so, transferring the target service to other compliant service nodes within the target service site for processing; transmitting the target service data recorded in the target storage unit of the target service site to other storage units of other service sites via interconnection links between storage units of the service sites; and terminating the processing of the target service in response to a target service site fault, allowing other service sites to continue processing the target service based on the target service data in other storage units. The target service nodes within the target service site share the target storage unit.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117827115B_ABST
    Figure CN117827115B_ABST
Patent Text Reader

Abstract

The application discloses a NAS-based storage system and a management method, device and equipment and a medium, relates to the technical field of storage, and is applied to a target business site in a storage system. In a business node of the target business site, a target business node for processing a target business is determined. Whether the target business node is faulty is judged. If the target business node is faulty, the target business is transferred to other business nodes in the target business site which are not faulty for processing. Target business data recorded by a target storage unit of the target business site is transmitted to other storage units of other business sites through an interconnection link between the storage units of the business sites. In response to the target business site being faulty, processing of the target business is ended, so that other business sites continue to process the target business based on the target business data in the other storage units. Each business node in the target business site shares the target storage unit. Business processing continuity is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of storage technology, and more specifically, to a NAS-based storage system and management method, apparatus, electronic device, and computer-readable storage medium. Background Technology

[0002] NAS (Network Attached Storage) is a dedicated data storage server that is data-centric, completely separating storage devices from servers and centrally managing data. This frees up bandwidth, improves performance, reduces total cost of ownership, and protects investment. Therefore, storage systems can support various applications through NAS.

[0003] When a node fails during the use of a NAS storage system, the service needs to be migrated from that node to another node. However, NAS storage systems have a large number of nodes, and the migration speed is slow, resulting in poor service continuity.

[0004] In conclusion, improving the business processing continuity of storage systems is a problem that urgently needs to be solved by those skilled in the art. Summary of the Invention

[0005] The purpose of this application is to provide a NAS-based storage system management method, which can, to some extent, solve the technical problem of how to improve the business processing continuity of storage systems. This application also provides a NAS-based storage system and management device, electronic device, and computer-readable storage medium.

[0006] To achieve the above objectives, this application provides the following technical solution:

[0007] A NAS-based storage system management method, applied to target business sites within the storage system, includes:

[0008] Among the service nodes of the target service site, the target service node that processes the target service is identified;

[0009] Determine whether the target service node is faulty;

[0010] If the target service node fails, the target service will be transferred to other service nodes in the target service site that are not experiencing failures for processing.

[0011] Through the interconnection links between the storage units of the business sites, the target business data recorded in the target storage unit of the target business site is transferred to other storage units of other business sites;

[0012] In response to a failure at the target service site, processing of the target service is terminated, allowing other service sites to continue processing the target service based on the target service data in the other storage units;

[0013] The target storage unit is shared by all business nodes in the target business site.

[0014] Preferably, before transferring the target business data recorded in the target storage unit of the target business site to other storage units of other business sites, the method further includes:

[0015] Within the target storage unit, information about the target volume space allocated for the target service is determined;

[0016] Determine the target service data stored in each of the target volume spaces;

[0017] Establish the target storage correspondence between the target volume space and the target business data;

[0018] Determine the information of the target service, and establish a target binding relationship between the target service and the target volume space;

[0019] The target volume space information, the target storage correspondence, the target service information, and the target binding relationship are used as target service processing information;

[0020] The target service processing information is transmitted to the other service sites via the interconnection link;

[0021] Before terminating processing of the target service in response to a failure at the target service site, the method further includes:

[0022] Through the interconnection link, other service processing information and other service data transmitted by other service sites are received;

[0023] Based on the information of other volume spaces in the other business processing information, the other volume spaces are virtualized in the target storage unit;

[0024] Based on the other storage correspondences in the other business processing information, the other business data is stored in the corresponding other volume spaces;

[0025] Based on the other binding relationships in the other business processing information, other businesses are processed based on the other volume spaces.

[0026] Preferably, the process of terminating the processing of the target service in response to a failure at the target service site includes:

[0027] Determine whether all service nodes in the target service site are faulty according to a preset time period;

[0028] If all service nodes in the target service site fail, then sending heartbeat packets to the arbitration system in the storage system is prohibited, so that the arbitration system can determine that the target service site is faulty based on the heartbeat packets;

[0029] If a normal business node exists in the target business site, then the heartbeat packet is sent to the arbitration system;

[0030] The arbitration system is connected to each business site in the storage system.

[0031] Preferred options also include:

[0032] Determine the cluster name of the cluster formed by the business nodes in the target business site;

[0033] Determine the hash value of the cluster name;

[0034] Determine the number of the target volume space;

[0035] Generate a universally unique identifier for the target volume space based on the vendor ID of the target business site, the hash value, and the number.

[0036] Preferably, after responding to a failure at the target service site and terminating the processing of the target service, the method further includes:

[0037] In response to the target service site returning to normal, cache synchronization is performed with the other service sites via the interconnection link;

[0038] Once the cache synchronization is complete, proceed with business processing.

[0039] Preferably, after the cache synchronization is completed and business processing is performed, the process further includes:

[0040] Determine whether the target service site is the main site that processes the target service;

[0041] If the target service site is the main site that processes the target service, then the data to be written for the target service is obtained and written to the target storage unit.

[0042] A NAS-based storage system management device, applied to a target business site in a storage system, includes:

[0043] The first determining module is used to determine the target business node that processes the target business among the business nodes of the target business site.

[0044] The first judgment module is used to determine whether the target service node is faulty; if the target service node is faulty, the target service is transferred to other service nodes in the target service site that are not faulty for processing;

[0045] The first sending module is used to transmit the target business data recorded in the target storage unit of the target business site to other storage units of other business sites through the interconnection link between the storage units of the business sites;

[0046] The first processing module is configured to terminate the processing of the target service in response to a failure of the target service site, so that the other service sites can continue to process the target service based on the target service data in the other storage units;

[0047] The target storage unit is shared by all business nodes in the target business site.

[0048] A NAS-based storage system includes a first number of service sites, wherein the service sites include:

[0049] The second number of business nodes are used to perform business processing through their own business units;

[0050] Storage unit, used to store data;

[0051] The business management unit is used to identify the target business node for business processing among the business nodes; determine whether the target business node is faulty; if the target business node is faulty, transfer the business to other business nodes that are not faulty for processing; and transmit the business data recorded in the storage unit to the storage unit of other business sites through the interconnection link between the storage units of the business sites.

[0052] In this system, the service nodes in the service stations share the storage unit; and if a single service station fails, the service processing ends, while the other service stations continue to process the service data based on the service data in their own storage units.

[0053] An electronic device, comprising:

[0054] Memory, used to store computer programs;

[0055] A processor, used to implement the steps of any of the above-described NAS-based storage system management methods when executing the computer program.

[0056] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of any of the above-described NAS-based storage system management methods.

[0057] This application provides a NAS-based storage system management method applied to a target service site in a storage system. The method involves identifying the target service node within the target service site's service nodes; determining if the target service node is faulty; if so, transferring the target service to other compliant service nodes within the target service site for processing; transmitting the target service data recorded in the target storage unit of the target service site to other storage units of other service sites via interconnection links between storage units of the service sites; and terminating the processing of the target service in response to a target service site fault, allowing other service sites to continue processing the target service based on the target service data in other storage units. The target service nodes within the target service site share the target storage unit.

[0058] In this application, the target service site contains multiple service nodes, and all service nodes share a target storage unit. This allows for seamless transfer of service data between service nodes when the target service node transfers the service to other service nodes. Furthermore, the target service site transmits the target service data to other storage units of other service sites via interconnecting links between storage units. This ensures that after the target service site transfers the service to other service sites, those other service sites can continue processing the service based on the target service data in their respective storage units, achieving seamless transfer of service data between service sites and improving the service processing continuity of the storage system. The storage system and management device, electronic device, and computer-readable storage medium provided in this application also solve the corresponding technical problems. Attached Figure Description

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

[0060] Figure 1 A first flowchart of a NAS-based storage system management method provided for an embodiment of this application;

[0061] Figure 2A second flowchart of a NAS-based storage system management method provided for embodiments of this application;

[0062] Figure 3 A schematic diagram of a NAS-based storage system management device provided in an embodiment of this application;

[0063] Figure 4 A schematic diagram of the structure of a NAS-based storage system provided in an embodiment of this application;

[0064] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;

[0065] Figure 6 This is another structural schematic diagram of an electronic device provided in an embodiment of this application. Detailed Implementation

[0066] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0067] Please see Figure 1 , Figure 1 This is a first flowchart of a NAS-based storage system management method provided in an embodiment of this application.

[0068] This application provides a NAS-based storage system management method, applied to a target business site in a storage system, which may include the following steps:

[0069] Step S101: Among the business nodes of the target business site, identify the target business node that processes the target business, and all business nodes in the target business site share the target storage unit.

[0070] In practical applications, the target business site can first identify the target business node that processes the target business within the target business site's business nodes.

[0071] In specific application scenarios, when determining the target business node to process the target business, the business node with the fastest processing speed can be used as the target business node, or the business node with the least load can be used as the target business node, etc.

[0072] It should be noted that the type of storage system can be determined according to the application scenario. For example, the storage system can be a NAS storage system, and the number of business sites in the storage system, the number of business nodes in a single business site, and the business type can all be determined according to actual needs.

[0073] It should also be noted that the target business site refers to the business site in the storage system that requires business management. It can be any business site in the storage system, and the functions of all business sites in the storage system are the same as those of the target business site. In addition, the target storage unit refers to the storage unit within the target business site, and the business nodes in the target business site share the target storage unit, that is, the business nodes within the business site share a single storage unit.

[0074] Step S102: Determine if the target service node is faulty; if the target service node is faulty, proceed to step S103.

[0075] Step S103: Transfer the target service to other service nodes in the target service site that are not faulty for processing.

[0076] In practical applications, after identifying the target service node to process the target service, the target service site can determine whether the target service node is faulty. If the target service node is determined to be faulty, the target service can be transferred to other service nodes in the target service site that are not faulty for processing, so as to ensure the continuity of service processing within the service site. Conversely, if the target service node is determined to be not faulty, the target service node can continue to process the target service.

[0077] Step S104: Transfer the target business data recorded in the target storage unit of the target business site to other storage units of other business sites through the interconnection link between the storage units of the business sites.

[0078] Step S105: In response to a failure at the target service site, terminate the processing of the target service so that other service sites can continue to process the target service based on the target service data in other storage units.

[0079] In practical applications, the target service data processed by the target service node or other service nodes is stored in the target storage unit. The target service node needs to transfer the target service data recorded in its target storage unit to other storage units of other service sites through the interconnection links between the storage units of the service sites. In this way, when the target service node fails and finishes processing the target service, other service sites can continue processing the target service based on the target service data in other storage units, thus ensuring the continuity of service processing between service sites. Furthermore, since the target service data is stored in other storage units, only the other service sites need to be enabled to process the target service, without restarting the target service, which further ensures the continuous processing of the target service.

[0080] It should be noted that multiple business nodes can also be set up in other business sites, and the functions of other business sites can refer to those of the target business site. In addition, information of other business sites, such as IP addresses, keys, certificates, and passwords, can be entered into the business site to enable the verification and generation of interconnection links between business sites.

[0081] This application provides a NAS-based storage system management method applied to a target service site in a storage system. The method involves identifying the target service node within the target service site's service nodes; determining if the target service node is faulty; if so, transferring the target service to other compliant service nodes within the target service site for processing; transmitting the target service data recorded in the target storage unit of the target service site to other storage units of other service sites via interconnection links between storage units of the service sites; and terminating the processing of the target service in response to a target service site fault, allowing other service sites to continue processing the target service based on the target service data in other storage units. The target service nodes within the target service site share the target storage unit. In this application, the target service site contains multiple service nodes, and all service nodes share the target storage unit. This allows the target service node to transfer its processing to other service nodes, enabling those nodes to continue processing the target service based on the target service data recorded in the target storage unit, thus achieving seamless service migration between service nodes. Furthermore, the target service site transmits target service data to other storage units of other service sites via interconnection links between storage units. This ensures that after the target service site transfers its processing to other service sites, those sites can continue processing the target service based on the target service data in other storage units, achieving seamless service migration between service sites and improving the service processing continuity of the storage system.

[0082] Please see Figure 2 , Figure 2 This is a second flowchart of a NAS-based storage system management method provided in an embodiment of this application.

[0083] This application provides a NAS-based storage system management method, applied to a target business site in a storage system, which may include the following steps:

[0084] Step S201: Among the business nodes of the target business site, identify the target business node that processes the target business, and all business nodes in the target business site share the target storage unit.

[0085] Step S202: Determine if the target service node is faulty; if the target service node is faulty, proceed to step S203.

[0086] Step S203: Transfer the target service to other service nodes in the target service site that are not faulty for processing.

[0087] Step S204: In the target storage unit, determine the information of the target volume space allocated for the target service; determine the target service data stored in each target volume space; establish the target storage correspondence between the target volume space and the target service data.

[0088] In practical applications, before a target business site transfers the target business data recorded in its target storage unit to other storage units of other business sites, in order for other business sites to accurately and continuously process the target business, the target volume space information allocated for the target business can be determined in the target storage unit; the target business data stored in each target volume space can be determined; and a target storage correspondence relationship between the target volume space and the target business data can be established. This allows other business sites to subsequently create virtual other volume spaces consistent with the target volume space in their own other storage units based on the target volume space information. Then, based on this target storage correspondence relationship, the target business data can be stored in the corresponding other volume space, thus ensuring that the storage of target business data in other business sites is consistent with the storage of target business data in the target business site, facilitating subsequent seamless processing of the target business by other business sites.

[0089] Step S205: Determine the information of the target service; establish the target binding relationship between the target service and the target volume space.

[0090] Step S206: Use the target volume space information, target storage correspondence, target service information, and target binding relationship as target service processing information; transmit the target service processing information to other service sites through interconnection links.

[0091] In practical applications, the following steps can also be taken: First, determine the target service information; establish a target binding relationship between the target service and the target volume space; use the target volume space information, target storage correspondence, target service information, and target binding relationship as target service processing information; and then transmit this target service processing information to other service sites via interconnect links. This allows other service sites, upon receiving the target service information, to determine other volume spaces consistent with the target volume space within their own storage units based on the target binding relationship, and thus process the target service according to those other volume spaces.

[0092] Step S207: Transfer the target business data recorded in the target storage unit of the target business site to other storage units of other business sites through the interconnection link between the storage units of the business sites.

[0093] Step S208: Receive other service processing information and other service data transmitted from other service sites via the interconnection link; based on the information of other volume spaces in the other service processing information, virtualize other volume spaces in the target storage unit.

[0094] Step S209: Based on the other storage correspondence in the other business processing information, store the other business data in the corresponding other volume space; based on the other binding relationship in the other business processing information, process the other business based on the other volume space.

[0095] In practical applications, when other service stations prioritize processing other services, the processing procedure can refer to the process of the target service station processing the target service. At this time, the target service station will receive corresponding service information from other service stations. That is, before the target service station responds to a fault and terminates processing of the target service, it can also receive other service processing information and other service data transmitted by other service stations through the interconnection link. This other service processing data is the service data of other services recorded in other storage units. Based on the information of other volume spaces in the other service processing information, other volume spaces are virtualized in the target storage unit. These other volume spaces are the volume spaces in other storage spaces that store other service data. Based on the other storage correspondence in the other service processing information, other service data is stored in the corresponding other volume spaces. These other storage correspondences are the storage correspondences between other volume spaces and the stored other service data. Based on the other binding relationships in the other service processing information, other services are processed based on the other volume spaces. These other binding relationships are the binding relationships between other services and other volume spaces.

[0096] Step S210: In response to a failure at the target service site, terminate the processing of the target service so that other service sites can continue to process the target service based on the target service data in other storage units.

[0097] In practical applications, when a target business site responds to a failure and terminates its processing of the target business, it can determine whether all business nodes within the target business site are faulty according to a preset time period. If all business nodes in the target business site are faulty, sending heartbeat packets to the arbitration system in the storage system is prohibited. This allows the arbitration system to determine the target business site's failure based on heartbeat packets; for example, the arbitration system can determine the target business site's failure after two consecutive rounds of not receiving heartbeat packets. If there are normal business nodes in the target business site, it sends heartbeat packets to the arbitration system. The arbitration system is connected to each business site in the storage system. For ease of understanding, assume that each business site sends a heartbeat packet to the arbitration system every 1 / 3 of a cluster cycle and transmits its current status information. If no heartbeat information is sent for more than two cluster cycles, the arbitration system considers this business site offline. At this time, when a second business site sends a heartbeat packet, the arbitration system can transmit the business information it needs to take over to the second business site, allowing the second business site to continue processing business.

[0098] In specific application scenarios, a primary business node can be designated in the target business site to perform functions such as prioritizing business processing or communicating with the arbitration system. Correspondingly, the normality of other business nodes can be determined by checking whether they can communicate with the primary business node. For example, if a business node cannot communicate with the primary business node, it can be considered that the business node is faulty.

[0099] In practical applications, to facilitate differentiation between different sites in a storage system, the target business site can also determine the cluster name of the cluster composed of business nodes within the target business site; determine the hash value of the cluster name; determine the target volume space number; and generate a universally unique identifier corresponding to the target volume space based on the vendor number, hash value, and number of the target business site. The target volume space number can be a configured processing number, for example, number 0 could indicate that the target volume space is a volume space on the default configuration disk.

[0100] In practical applications, after a target business site terminates its processing in response to a target business site failure, and then resumes normal operation, it first synchronizes its cache with other business sites via the interconnection link. Once the cache synchronization is complete, business processing is then performed to ensure data consistency.

[0101] In specific application scenarios, after the cache synchronization is complete and business processing is performed, the target business site can determine whether it is the master site processing the target business. If it is, it obtains the data to be written for the target business and writes it to the target storage unit. This means that only the current master site of the target business can write data, avoiding out-of-order writes and ensuring the stability of the target business processing.

[0102] Please see Figure 3 , Figure 3 This is a schematic diagram of a NAS-based storage system management device provided in an embodiment of this application.

[0103] This application provides a NAS-based storage system management device, applied to a target service site in a storage system, which may include:

[0104] The first determining module 101 is used to determine the target business node that processes the target business among the business nodes of the target business site.

[0105] The first judgment module 102 is used to determine whether the target service node is faulty; if the target service node is faulty, the target service is transferred to other service nodes in the target service site that are not faulty for processing.

[0106] The first sending module 103 is used to transmit the target business data recorded in the target storage unit of the target business site to other storage units of other business sites through the interconnection link between the storage units of the business sites.

[0107] The first processing module 104 is used to terminate the processing of the target service in response to a failure of the target service site, so that other service sites can continue to process the target service based on the target service data in other storage units.

[0108] In this context, each business node in the target business site shares the target storage unit.

[0109] This application provides a NAS-based storage system management device, applied to a target service site in a storage system, and may further include:

[0110] The second determining module is used to determine the target volume space information allocated for the target service in the target storage unit before the first sending module transmits the target service data recorded in the target storage unit of the target service site to other storage units of other service sites; determine the target service data stored in each target volume space; and establish the target storage correspondence between the target volume space and the target service data.

[0111] The third determination module is used to determine the information of the target service; establish the target binding relationship between the target service and the target volume space; use the information of the target volume space, the target storage correspondence, the information of the target service, and the target binding relationship as the target service processing information; and transmit the target service processing information to other service sites through the interconnection link.

[0112] It may also include:

[0113] The second processing module is used to receive other service processing information and other service data transmitted by other service sites via interconnection links before the first processing module terminates the processing of the target service in response to a target service site failure; to virtually create other volume spaces in the target storage unit based on the information of other volume spaces in the other service processing information; to store other service data in the corresponding other volume spaces according to the other storage correspondence in the other service processing information; and to process other services based on the other volume spaces according to the other binding relationships in the other service processing information.

[0114] This application provides a NAS-based storage system management device applied to a target service site in a storage system. The first processing module may include:

[0115] The first judgment unit is used to determine whether all business nodes in the target business site are faulty according to a preset time period. If all business nodes in the target business site are faulty, the system prohibits sending heartbeat packets to the arbitration system in the storage system so that the arbitration system can determine the fault of the target business site based on the heartbeat packets. If there are normal business nodes in the target business site, the system sends heartbeat packets to the arbitration system. The arbitration system is connected to each business site in the storage system.

[0116] This application provides a NAS-based storage system management device, applied to a target service site in a storage system, and may further include:

[0117] The fourth determination module is used to determine the cluster name of the cluster composed of business nodes in the target business site; determine the hash value of the cluster name; and determine the number of the target volume space.

[0118] The first generation module is used to generate a universally unique identifier for the target volume space based on the vendor ID, hash value, and number of the target business site.

[0119] This application provides a NAS-based storage system management device, applied to a target service site in a storage system, and may further include:

[0120] The third processing module is used by the first processing module to respond to the failure of the target business site and end the processing of the target business. After the target business site returns to normal, it performs cache synchronization with other business sites through the interconnection link. After the cache synchronization is completed, business processing is performed.

[0121] This application provides a NAS-based storage system management device, applied to a target service site in a storage system, and may further include:

[0122] The second judgment module is used to determine whether the target business site is the main site that processes the target business after the third processing module has completed the cache synchronization and performed business processing. If the target business site is the main site that processes the target business, the module obtains the data to be written for the target business and writes the data to be written to the target storage unit.

[0123] Please see Figure 4 , Figure 4 This is a schematic diagram of a NAS-based storage system provided in an embodiment of this application.

[0124] This application provides a NAS-based storage system, including a first number of service sites, each service site comprising:

[0125] The second number of business nodes are used to perform business processing through their own business units;

[0126] Storage unit, used to store data;

[0127] The business management unit is used to identify the target business node for business processing among the business nodes; determine whether the target business node is faulty; if the target business node is faulty, transfer the business to other business nodes that are not faulty for processing; and transfer the business data recorded in the storage unit to the storage unit of other business sites through the interconnection links between the storage units of the business sites.

[0128] In this system, business nodes within a business site share a common storage unit; and if a single business site fails, business processing ends, while other business sites continue business processing based on the business data in their own storage units.

[0129] In a NAS-based storage system provided in this application embodiment, before the service management unit transmits the target service data recorded in the target storage unit of a target service site to other storage units of other service sites, it can further determine the target volume space information allocated for the target service in the target storage unit; determine the target service data stored in each target volume space; establish a target storage correspondence between the target volume space and the target service data; determine the target service information; establish a target binding relationship between the target service and the target volume space; use the target volume space information, the target storage correspondence, the target service information, and the target binding relationship as target service processing information; and transmit the target service processing information to other service sites through interconnection links.

[0130] Accordingly, before terminating the processing of the target service in response to a failure at the target service site, other service processing information and other service data transmitted from other service sites can be received via interconnection links; other volume spaces can be virtualized in the target storage unit based on the information of other volume spaces in the other service processing information; other service data can be stored in the corresponding other volume spaces based on the other storage correspondence in the other service processing information; and other services can be processed based on the other volume spaces based on the other binding relationships in the other service processing information.

[0131] In a NAS-based storage system provided in this application embodiment, when the service management unit terminates the processing of the target service in response to a target service site failure, it can determine whether all service nodes in the target service site are faulty according to a preset time period. If all service nodes in the target service site are faulty, it prohibits sending heartbeat packets to the arbitration system in the storage system, so that the arbitration system can determine the target service site failure based on the heartbeat packets. If there are normal service nodes in the target service site, it sends heartbeat packets to the arbitration system. The arbitration system is connected to each service site in the storage system.

[0132] In a NAS-based storage system provided in this application embodiment, the service management unit can also be used to: determine the cluster name of the cluster composed of service nodes in the target service site; determine the hash value of the cluster name; determine the number of the target volume space; and generate a universally unique identifier corresponding to the target volume space based on the vendor number, hash value, and number of the target service site.

[0133] In a NAS-based storage system provided in this application embodiment, after the processing of the target service ends in response to a target service site failure, the service node can also synchronize the cache with other service sites through the interconnection link in response to the target service site returning to normal; after the cache synchronization is completed, service processing is performed.

[0134] In a NAS-based storage system provided in this application embodiment, the service node can also be used to: after the cache synchronization is completed and the service is processed, determine whether the target service site is the master site for processing the target service; if the target service site is the master site for processing the target service, obtain the data to be written for the target service and write the data to be written to the target storage unit.

[0135] In practical applications, interconnection links can be set up between the nodes of a business site, allowing the business management unit to manage each business node and assign tasks through these links. Each business node's business units possess the same capabilities and can provide services externally. When the business management unit serves a cluster, it can be configured to have only one business node as the primary service unit at any given time. In this case, this business node becomes the primary business node for the business site, and all node information and views are based on the information in the management unit on the primary business node.

[0136] In practical applications, the host in this application can be a server, etc.; the business unit can also provide services for a complete tenant business or isolated business, such as containers, KVM, etc. Furthermore, the connection method between the business unit and the storage unit, and between the storage units, can be determined as needed, and is not limited to connection methods such as RDMA (Remote Direct Memory Access), FC (Fiber Optic), SAS (Serial Attached SCSI), etc., as long as a path exists, and the corresponding connection method can be selected according to the volume of business. In addition, the storage unit is not limited to a single software module that meets the above requirements, but can also be an expansion cabinet or heterogeneous storage; the external interconnection link between the business management unit and the storage unit can be independent or multiplexed, for example, it can be different virtual sub-interfaces of the same interface, etc.

[0137] This application also provides an electronic device and a computer-readable storage medium, both of which have the corresponding effects of the NAS-based storage system management method provided in the embodiments of this application. Please refer to... Figure 5 , Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0138] An electronic device provided in this application includes a memory 201 and a processor 202. The memory 201 stores a computer program, and when the processor 202 executes the computer program, it implements the steps of the NAS-based storage system management method described in any of the above embodiments.

[0139] Please see Figure 6Another electronic device provided in this application embodiment may further include: an input port 203 connected to the processor 202 for transmitting commands input from the outside to the processor 202; a display unit 204 connected to the processor 202 for displaying the processing results of the processor 202 to the outside; and a communication module 205 connected to the processor 202 for realizing communication between the electronic device and the outside. The display unit 204 may be a display panel, a laser scanner, or the like; the communication method adopted by the communication module 205 includes, but is not limited to, Mobile High-Definition Link (MHL), Universal Serial Bus (USB), High-Definition Multimedia Interface (HDMI), wireless connectivity: Wireless Fidelity (WiFi), Bluetooth communication technology, Bluetooth Low Energy communication technology, and communication technology based on IEEE 802.11s.

[0140] This application provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it performs the steps of the NAS-based storage system management method described in any of the above embodiments.

[0141] The computer-readable storage media involved in this application include random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disks, removable disks, CD-ROMs (Compact Disc Read-Only Memory), or any other form of storage media known in the art.

[0142] For descriptions of relevant parts of the NAS-based storage system and management device, electronic device, and computer-readable storage medium provided in this application, please refer to the detailed description of the corresponding parts in the NAS-based storage system management method provided in this application, which will not be repeated here. Furthermore, parts of the technical solutions provided in this application that are consistent with the implementation principles of corresponding technical solutions in the prior art have not been described in detail to avoid excessive elaboration.

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

[0144] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A NAS-based storage system management method, characterized in that, The target business sites applied in the storage system include: Among the service nodes of the target service site, the target service node that processes the target service is identified; Determine whether the target service node is faulty; If the target service node fails, the target service will be transferred to other service nodes in the target service site that are not experiencing failures for processing. Through the interconnection links between the storage units of the business sites, the target business data recorded in the target storage unit of the target business site is transferred to other storage units of other business sites; In response to a failure at the target service site, processing of the target service is terminated, allowing other service sites to continue processing the target service based on the target service data in the other storage units; The target storage unit is shared by each business node in the target business site. Before transferring the target business data recorded in the target storage unit of the target business site to other storage units of other business sites, the method further includes: Within the target storage unit, information about the target volume space allocated for the target service is determined; Determine the target service data stored in each of the target volume spaces; Establish the target storage correspondence between the target volume space and the target business data; Determine the information of the target service, and establish a target binding relationship between the target service and the target volume space; The target volume space information, the target storage correspondence, the target service information, and the target binding relationship are used as target service processing information; The target service processing information is transmitted to the other service sites via the interconnection link; Before terminating processing of the target service in response to a failure at the target service site, the method further includes: Through the interconnection link, other service processing information and other service data transmitted by other service sites are received; Based on the information of other volume spaces in the other business processing information, the other volume spaces are virtualized in the target storage unit; Based on the other storage correspondences in the other business processing information, the other business data is stored in the corresponding other volume spaces; Based on the other binding relationships in the other business processing information, other businesses are processed based on the other volume spaces.

2. The method according to claim 1, characterized in that, The process of terminating the processing of the target service in response to a failure at the target service site includes: Determine whether all service nodes in the target service site are faulty according to a preset time period; If all service nodes in the target service site fail, then sending heartbeat packets to the arbitration system in the storage system is prohibited, so that the arbitration system can determine that the target service site is faulty based on the heartbeat packets; If a normal business node exists in the target business site, then the heartbeat packet is sent to the arbitration system; The arbitration system is connected to each business site in the storage system.

3. The method according to claim 1, characterized in that, Also includes: Determine the cluster name of the cluster formed by the business nodes in the target business site; Determine the hash value of the cluster name; Determine the number of the target volume space; Generate a universally unique identifier for the target volume space based on the vendor ID of the target business site, the hash value, and the number.

4. The method according to claim 1, characterized in that, After responding to a failure at the target service site and terminating processing of the target service, the method further includes: In response to the target service site returning to normal, cache synchronization is performed with the other service sites via the interconnection link; Once the cache synchronization is complete, proceed with business processing.

5. The method according to claim 4, characterized in that, After the cache synchronization is completed and business processing is performed, the following steps are also included: Determine whether the target service site is the main site that processes the target service; If the target service site is the main site that processes the target service, then the data to be written for the target service is obtained and written to the target storage unit.

6. A NAS-based storage system management device, characterized in that, The target business sites applied in the storage system include: The first determining module is used to determine the target business node that processes the target business among the business nodes of the target business site. The first judgment module is used to determine whether the target service node is faulty; if the target service node is faulty, the target service is transferred to other service nodes in the target service site that are not faulty for processing; The first sending module is used to transmit the target business data recorded in the target storage unit of the target business site to other storage units of other business sites through the interconnection link between the storage units of the business sites; The first processing module is configured to terminate the processing of the target service in response to a failure of the target service site, so that the other service sites can continue to process the target service based on the target service data in the other storage units; The target storage unit is shared by each business node in the target business site. This also includes: The second determining module is used to determine, before the first sending module transmits the target service data recorded in the target storage unit of the target service site to other storage units of other service sites, the target volume space information allocated for the target service in the target storage unit; determine the target service data stored in each of the target volume spaces; and establish a target storage correspondence between the target volume space and the target service data. The third determining module is used to determine the information of the target service, establish a target binding relationship between the target service and the target volume space; use the information of the target volume space, the target storage correspondence, the information of the target service, and the target binding relationship as target service processing information; and transmit the target service processing information to the other service sites through the interconnection link. The second processing module is configured to, before the first processing module terminates processing of the target service in response to a failure at the target service site, receive other service processing information and other service data transmitted by other service sites via the interconnection link; virtualize the other volume spaces in the target storage unit based on the information of other volume spaces in the other service processing information; store the other service data in the corresponding other volume spaces according to the other storage correspondences in the other service processing information; and process other services based on the other volume spaces according to the other binding relationships in the other service processing information.

7. A NAS-based storage system, characterized in that, Including a first number of business sites, the business sites include: The second number of business nodes are used to perform business processing through their own business units; Storage unit, used to store data; The business management unit is used to identify the target business node for business processing among the business nodes; determine whether the target business node is faulty; if the target business node is faulty, transfer the business to other business nodes that are not faulty for processing; and transmit the business data recorded in the storage unit to the storage unit of other business sites through the interconnection link between the storage units of the business sites. In this context, the service nodes in the service stations share the storage unit; and if a single service station fails, the service processing ends, while the other service stations continue to process the service data based on the service data in their own storage units. Before the business management unit transmits the target business data recorded in the target storage unit of the target business site to other storage units of other business sites, it is further configured to: determine the target volume space information allocated for the target business in the target storage unit; determine the target business data stored in each target volume space; establish a target storage correspondence between the target volume space and the target business data; determine the information of the target business; establish a target binding relationship between the target business and the target volume space; use the information of the target volume space, the target storage correspondence, the information of the target business, and the target binding relationship as target business processing information; and transmit the target business processing information to the other business sites through the interconnection link. Before the business management unit responds to a failure at the target business site and terminates processing of the target business, it is further configured to: receive other business processing information and other business data transmitted by the other business sites through the interconnection link; virtualize the other volume space in the target storage unit according to the information of other volume spaces in the other business processing information; store the other business data in the corresponding other volume space according to the other storage correspondence in the other business processing information; and process other businesses based on the other volume space according to the other binding relationship in the other business processing information.

8. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor, configured to implement the steps of the NAS-based storage system management method as described in any one of claims 1 to 5 when executing the computer program.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the NAS-based storage system management method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Fault switching method, system and device for internal network of hyper-converged cluster

    CN114257500A

  • Fault service processing method and device based on OTN network, and storage medium

    CN114339493A