CN117827115A - Storage system based on NAS, management method, device, equipment and medium - Google Patents

Storage system based on NAS, management method, device, equipment and medium Download PDF

Info

Publication number
CN117827115A
CN117827115A CN202410021911.6A CN202410021911A CN117827115A CN 117827115 A CN117827115 A CN 117827115A CN 202410021911 A CN202410021911 A CN 202410021911A CN 117827115 A CN117827115 A CN 117827115A
Authority
CN
China
Prior art keywords
service
target
target service
site
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410021911.6A
Other languages
Chinese (zh)
Inventor
马桂杰
崔新民
侯胜伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN202410021911.6A priority Critical patent/CN117827115A/en
Publication of CN117827115A publication Critical patent/CN117827115A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a storage system based on NAS, a management method, a device, equipment and a medium, relates to the technical field of storage, and is applied to a target service site in the storage system, wherein a target service node for processing target service is determined from service nodes of the target service site; judging whether the target service node fails; if the target service node fails, the target service is forwarded to other service nodes which do not fail in the target service site for processing; transmitting the target service data recorded by the target storage unit of the target service site to other storage units of other service sites through the interconnection links among the storage units of the service sites; responding to the failure of the target service site, ending the processing of the target service so that other service sites continue to process the target service based on the target service data in other storage units; wherein each service node in the target service site shares the target storage unit. And improves the continuity of service processing.

Description

Storage system based on NAS, management method, device, equipment and medium
Technical Field
The present invention relates to the field of storage technologies, and in particular, to a NAS-based storage system, a NAS-based storage management method, a NAS-based storage management apparatus, an NAS-based storage management device, an NAS-based storage management apparatus, and a NAS-based storage management apparatus.
Background
NAS (Network Attached Storage ) is a dedicated data storage server that is data-centric, thoroughly separates storage devices from the server, centrally manages data, and thus frees bandwidth, improves performance, reduces total ownership costs, protects investment, so that the storage system can support various applications through NAS.
In the using process of the NAS storage system, when a node for processing the service fails, the service needs to be drifted from the node to other nodes, however, the NAS storage system has more nodes and low node drift speed, so that the service processing continuity is poor.
In summary, how to improve the service processing continuity of the storage system is a problem to be solved by those skilled in the art.
Disclosure of Invention
The purpose of the application is to provide a storage system management method based on NAS, which can solve the technical problem of how to improve the service processing continuity of a storage system to a certain extent. The application also provides a storage system based on the NAS, a management device, an electronic device and a computer readable storage medium.
In order to achieve the above object, the present application provides the following technical solutions:
a storage system management method based on NAS is applied to a target service site in a storage system and comprises the following steps:
determining a target service node for processing the target service from service nodes of the target service site;
judging whether the target service node fails or not;
if the target service node fails, the target service is forwarded to other service nodes which do not fail in the target service site for processing;
transmitting the target service data recorded by the target storage unit of the target service site to other storage units of other service sites through an interconnection link between the storage units of the service sites;
ending the processing of the target service in response to the failure of the target service site, so that the other service sites continue to process the target service based on the target service data in the other storage units;
wherein each service node in the target service site shares the target storage unit.
Preferably, before the target service data recorded by the target storage unit of the target service site is transferred to other storage units of other service sites, the method further includes:
Determining information of a target volume space allocated for the target service in the target storage unit;
determining the target business data stored in each target volume space;
establishing a target storage corresponding relation between the target volume space and the target service data;
determining information of the target service, and establishing a target binding relationship between the target service and the target volume space;
taking the information of the target volume space, the target storage corresponding relation, the information of the target service and the target binding relation as target service processing information;
transmitting the target service processing information to the other service sites through the interconnection link;
the method for processing the target service before responding to the failure of the target service station further comprises the following steps:
receiving other service processing information and other service data transmitted by the other service sites through the interconnection link;
according to the information of other volume spaces in the other business processing information, the other volume spaces are virtually formed in the target storage unit;
storing the other business data into the corresponding other volume spaces according to other storage corresponding relations in the other business processing information;
And processing other services based on the other volume spaces according to other binding relations in the other service processing information.
Preferably, the process of ending the processing of the target service in response to the failure of the target service site includes:
judging whether service nodes in the target service site are all faulty according to a preset time period;
if the service nodes in the target service site all fail, prohibiting sending a heartbeat packet to an arbitration system in the storage system, so that the arbitration system judges that the target service site fails based on the heartbeat packet;
if the target service site has a normal service node, sending the heartbeat packet to the arbitration system;
wherein the arbitration system is coupled to each service site in the storage system.
Preferably, the method further comprises:
determining cluster names of clusters formed by service nodes in the target service site;
determining a hash value of the cluster name;
determining the number of the target volume space;
and generating a universal unique identification code corresponding to the target volume space according to the manufacturer number, the hash value and the number of the target service site.
Preferably, after the processing of the target service is finished in response to the failure of the target service site, the method further includes:
responding to the target service site to restore to normal, and performing cache synchronization with the other service sites through the interconnection link;
and after the buffer synchronization is completed, carrying out service processing.
Preferably, after the synchronization of the to-be-cached is completed, the method further includes:
judging whether the target service site is a main site for processing the target service;
and if the target service site is a main site for processing the target service, acquiring data to be written of the target service, and writing the data to be written into the target storage unit.
A NAS-based storage system management apparatus applied to a target service site in a storage system, comprising:
the first determining module is used for determining a target service node for processing the target service from service nodes of the target service site;
the first judging module is used for judging whether the target service node fails or not; if the target service node fails, the target service is forwarded to other service nodes which do not fail in the target service site for processing;
The first sending module is used for transmitting the target business data recorded by the target storage unit of the target business site to other storage units of other business sites through the interconnection links among the storage units of the business sites;
the first processing module is used for responding to the failure of the target service site and ending the processing of the target service so that the other service sites continue to process the target service based on the target service data in the other storage units;
wherein each service node in the target service site shares the target storage unit.
A NAS-based storage system comprising a first number of service sites, the service sites comprising:
the second number of service nodes are used for carrying out service processing through own service units;
a storage unit for storing data;
the service management unit is used for determining a target service node for service processing in the service nodes; judging whether the target service node fails, if so, forwarding the service to other service nodes which do not fail for processing; transmitting the business data recorded by the storage units to the storage units of other business stations through the interconnection links among the storage units of the business stations;
Wherein the service nodes in the service site share the storage unit; and after the single service station fails, finishing service processing, and continuing service processing by other service stations based on the service data in the storage unit.
An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the NAS-based storage system management method as described in any one of the above when executing the computer program.
A computer readable storage medium having stored therein a computer program which when executed by a processor performs the steps of the NAS-based storage system management method as in any one of the above.
The storage system management method based on the NAS is applied to a target service site in a storage system, and a target service node for processing target service is determined from service nodes of the target service site; judging whether the target service node fails; if the target service node fails, the target service is forwarded to other service nodes which do not fail in the target service site for processing; transmitting the target service data recorded by the target storage unit of the target service site to other storage units of other service sites through the interconnection links among the storage units of the service sites; responding to the failure of the target service site, ending the processing of the target service so that other service sites continue to process the target service based on the target service data in other storage units; wherein each service node in the target service site shares the target storage unit.
In the method, a plurality of service nodes exist in the target service site, and all the service nodes share the target storage unit, so that when the target service is transferred to other service nodes for processing by the target service node, the other service nodes can continue to process the target service according to the target service data recorded in the target storage unit, and seamless drifting of the service among the service nodes is realized; and the target service stations transmit the target service data to other storage units of other service stations through the interconnection links among the storage units, so that after the target service is processed by the target service stations through the other service stations, the other service stations can continue to process the target service according to the target service data in the other storage units, seamless drifting of the service among the service stations is realized, and service processing continuity of the storage system is improved. The storage system, the management device, the electronic equipment and the computer readable storage medium also solve the corresponding technical problems.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings may be obtained according to the provided drawings without inventive effort to a person skilled in the art.
FIG. 1 is a first flowchart of a storage system management method based on NAS according to an embodiment of the present application;
FIG. 2 is a second flowchart of a storage system management method based on NAS according to an embodiment of the present application;
FIG. 3 is a schematic structural diagram of a storage system management device based on NAS according to an embodiment of the present application;
FIG. 4 is a schematic structural diagram of a NAS-based storage system according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 6 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
Referring to fig. 1, fig. 1 is a first flowchart of a NAS-based storage system management method according to an embodiment of the present application.
The storage system management method based on NAS, provided by the embodiment of the application, is applied to a target service site in a storage system, and can comprise the following steps:
step S101: and determining a target service node for processing the target service from service nodes of the target service site, wherein each service node in the target service site shares a target storage unit.
The actual application is heavy, and the target service site can firstly determine the target service node for processing the target service in the service nodes of the target service site.
In a specific application scenario, in the process of determining a target service node for processing a target service, a service node with the fastest processing rate may be used as the target service node, or a service node with the smallest load may be used as the target service node.
It should be noted that, the type of the storage system may be determined according to an application scenario, for example, the storage system may be a NAS storage system, etc., and the number of service sites in the storage system, the number of service nodes in a single service site, the service type, etc. may be determined according to actual needs.
It should be further noted that the target service site refers to a service site in the storage system, where service management and control are required, and the service site may be any service site in the storage system, where functions of all service sites in the storage system are the same as those of the target service site. Furthermore, the target storage unit refers to a storage unit in the target service site, and the service nodes in the target service site share the target storage unit, that is, the service nodes in the service site share one storage unit.
Step S102: judging whether the target service node fails; if the target service node fails, step S103 is performed.
Step S103: and forwarding the target service to other service nodes which do not fail in the target service site for processing.
In practical application, after determining a target service node for processing the target service, the target service station can determine whether the target service node fails, and if so, the target service can be transferred to other service nodes which are not failed in the target service station for processing, so as to ensure the processing continuity of the service in the service station; accordingly, if it is determined that the target service node has not failed, the target service node may continue to process the target service, and so on.
Step S104: and transmitting the target service data recorded by the target storage unit of the target service site to other storage units of other service sites through the interconnection links among the storage units of the service sites.
Step S105: and responding to the failure of the target service site, ending 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.
In practical application, the target service data of the target service processed by the target service node or other service nodes is stored in the target storage unit, the target service node needs to transmit the target service data recorded by the target storage unit of the target service station to other storage units of other service stations through the interconnection link between the storage units of the service station, so that after the target service node fails and finishes processing the target service, the other service stations can continue processing the target service based on the target service data in the other storage units, so as to ensure the processing continuity of the service between the service stations. And because the target service data are stored in other storage units, the target service can be processed only by enabling other service sites without restarting the target service, and the continuous processing of the target service can be further ensured.
It should be noted that, a plurality of service nodes may be disposed in other service sites, and the functions of other service sites may refer to the functions of the target service site. In addition, information of other service sites, such as ip, key, certificate, password, etc., can be input into the service sites, so that verification, generation, etc. of interconnection links between the service sites can be performed.
The storage system management method based on the NAS is applied to a target service site in a storage system, and a target service node for processing target service is determined from service nodes of the target service site; judging whether the target service node fails; if the target service node fails, the target service is forwarded to other service nodes which do not fail in the target service site for processing; transmitting the target service data recorded by the target storage unit of the target service site to other storage units of other service sites through the interconnection links among the storage units of the service sites; responding to the failure of the target service site, ending the processing of the target service so that other service sites continue to process the target service based on the target service data in other storage units; wherein each service node in the target service site shares the target storage unit. In the method, a plurality of service nodes exist in the target service site, and all the service nodes share the target storage unit, so that when the target service is transferred to other service nodes for processing by the target service node, the other service nodes can continue to process the target service according to the target service data recorded in the target storage unit, and seamless drifting of the service among the service nodes is realized; and the target service stations transmit the target service data to other storage units of other service stations through the interconnection links among the storage units, so that after the target service is processed by the target service stations through the other service stations, the other service stations can continue to process the target service according to the target service data in the other storage units, seamless drifting of the service among the service stations is realized, and service processing continuity of the storage system is improved.
Referring to fig. 2, fig. 2 is a second flowchart of a NAS-based storage system management method according to an embodiment of the present application.
The storage system management method based on NAS, provided by the embodiment of the application, is applied to a target service site in a storage system, and can comprise the following steps:
step S201: and determining a target service node for processing the target service from service nodes of the target service site, wherein each service node in the target service site shares a target storage unit.
Step S202: judging whether the target service node fails; if the target service node fails, step S203 is performed.
Step S203: and forwarding the target service to other service nodes which do not fail in the target service site for processing.
Step S204: determining information of a target volume space allocated for a target service in a target storage unit; determining target service data stored in each target volume space; and establishing a target storage corresponding relation between the target volume space and target service data.
In practical application, before the target service site transmits the target service data recorded by the target storage unit of the target service site to other storage units of other service sites, the target service can be accurately and continuously processed for other service sites, and the information of the target volume space allocated for the target service can be determined in the target storage unit; determining target service data stored in each target volume space; and establishing a target storage corresponding relation between the target volume space and the target service data so that other service stations can virtually form other volume spaces consistent with the target volume space in other storage units according to the information of the target volume space, and then storing the target service data into the corresponding other volume spaces based on the target storage corresponding relation, thereby enabling the storage of the target service data in the other service stations to be consistent with the storage of the target service data in the target service stations, and facilitating the subsequent connection-free processing of the target service by the other service stations.
Step S205: determining information of a target service; and establishing a target binding relation between the target service and the target volume space.
Step S206: taking the information of the target volume space, the target storage corresponding relation, the information of the target service and the target binding relation as target service processing information; and transmitting the target service processing information to other service sites through the interconnection link.
In practical application, the information of the target service can be determined; establishing a target binding relation between a target service and a target volume space; taking the information of the target volume space, the target storage corresponding relation, the information of the target service and the target binding relation as target service processing information; and transmitting the target service processing information to other service sites through the interconnection link. After receiving the information of the target service, the other service stations can determine other volume spaces consistent with the target volume space in other storage units according to the target binding relation, so that the target service can be processed according to the other volume spaces.
Step S207: and transmitting the target service data recorded by the target storage unit of the target service site to other storage units of other service sites through the interconnection links among the storage units of the service sites.
Step S208: receiving other service processing information and other service data transmitted by other service sites through an interconnection link; and according to the information of other volume spaces in the other business processing information, virtualizing the other volume spaces in the target storage unit.
Step S209: according to other storage corresponding relations in other service processing information, storing other service data into corresponding other volume spaces; and processing other services based on other volume spaces according to other binding relations in other service processing information.
In practical application, when other service stations process other services preferentially, the processing process may refer to the process of processing the target service by the target service station, at this time, the target service station receives corresponding service information of the other service stations, that is, before responding to the failure of the target service station and ending the processing of the target service, the target service station may also receive other service processing information and other service data transmitted by the other service stations through the interconnection link, where the other service processing data is the service data of other services recorded in other storage units; according to the information of other volume spaces in other service processing information, other volume spaces are virtually formed in the target storage unit, and the other volume spaces are volume spaces in which other service data are stored in other storage spaces; according to other storage corresponding relations in other service processing information, other service data are stored in corresponding other volume spaces, and other storage corresponding relations are namely storage corresponding relations between other volume spaces and the stored other service data; and processing other services based on other volume spaces according to other binding relations in the other service processing information, wherein other jumping relations are binding relations between other services and other volume spaces.
Step S210: and responding to the failure of the target service site, ending 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.
In practical application, the target service site can judge whether service nodes in the target service site all fail according to a preset time period in the process of responding to the failure of the target service site and ending the processing of the target service; if the service nodes in the target service site all fail, the heartbeat packet is forbidden to be sent to an arbitration system in the storage system, so that the arbitration system judges the failure of the target service site based on the heartbeat packet, for example, the arbitration system can judge the failure of the target service site after the heartbeat packet of the target service site is not received in two continuous rounds; if the target service site has a normal service node, sending a heartbeat packet to an arbitration system; wherein the arbitration system is coupled to each service site in the storage system. For the sake of understanding, it is assumed that each service station sends a heartbeat packet to the arbitration system every 1/3 of the cluster period time and transmits its current status information to the arbitration system, if no heartbeat information is sent in more than two cluster periods, the arbitration system considers that the service station is offline, and when the second service station sends the heartbeat packet, the arbitration system may transmit the service information that the second service station needs to take over to the second service station, so that the second service station continues to perform service processing, and so on.
In a specific application scenario, a main service node may be designated in a target service site to perform functions such as performing service processing preferentially or performing communication with an arbitration system, and accordingly, whether other service nodes are normal or not may be determined by checking whether other service nodes may communicate with the main service node, for example, if a certain service node cannot communicate with the main service node, then the service node may be considered to be faulty, and so on.
In practical application, in order to facilitate distinguishing different sites in the storage system, the target service site can also determine cluster names of clusters formed by service nodes in the target service site; determining a hash value of the cluster name; determining the number of the target volume space; and generating a universal unique identification code corresponding to the target volume space according to the manufacturer number, the hash value and the serial number of the target service site. The number of the target volume space may be a processing number of the configuration, for example, number 0 may indicate that the target volume space is a volume space on a default configuration disk.
In practical application, after responding to the failure of the target service site and finishing processing the target service, responding to the target service site to restore to normal, and firstly performing cache synchronization with other service sites through an interconnection link; and after the synchronization of the buffer is completed, carrying out service processing to ensure the consistency of the data.
In a specific application scenario, after the buffer synchronization is completed and the service processing is performed, the target service site can also judge whether the target service site is a main site for processing the target service; and if the target service site is a main site for processing the target service, acquiring data to be written of the target service, and writing the data to be written into the target storage unit. Namely, only the current main site of the target service can write data, thereby avoiding the writing disorder of the target service and ensuring the processing stability of the target service.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a NAS-based storage system management apparatus according to an embodiment of the present application.
The storage system management device based on NAS, provided in the embodiment of the present application, is applied to a target service site in a storage system, and may include:
a first determining module 101, configured to determine, among service nodes of a target service site, a target service node that processes a target service;
a first judging module 102, configured to judge whether the target service node fails; if the target service node fails, the target service is forwarded to other service nodes which do not fail in the target service site for processing;
A first sending module 103, configured to transmit, through an interconnection link between storage units of a service site, target service data recorded in a target storage unit of a target service site to other storage units of other service sites;
a first processing module 104, configured to respond to a failure of the target service site, and end processing of the target service, so that other service sites continue to process the target service based on the target service data in other storage units;
wherein each service node in the target service site shares the target storage unit.
The storage system management device based on NAS provided in the embodiment of the present application is applied to a target service site in a storage system, and may further include:
the second determining module is used for determining information of a target volume space allocated for the target service in the target storage unit before the first sending module transmits the target service data recorded by the target storage unit of the target service site to other storage units of other service sites; determining target service data stored in each target volume space; establishing a target storage corresponding relation between a target volume space and target service data;
A third determining module, configured to determine information of a target service; establishing a target binding relation between a target service and a target volume space; taking the information of the target volume space, the target storage corresponding relation, the information of the target service and the target binding relation as target service processing information; transmitting the target service processing information to other service sites through an interconnection link;
may further include:
the second processing module is used for receiving other service processing information and other service data transmitted by other service stations through the interconnection link before the first processing module responds to the failure of the target service station and finishes processing the target service; according to the information of other volume spaces in the other business processing information, other volume spaces are virtually formed in the target storage unit; according to other storage corresponding relations in other service processing information, storing other service data into corresponding other volume spaces; and processing other services based on other volume spaces according to other binding relations in other service processing information.
The embodiment of the application provides a storage system management device based on NAS, which is applied to a target service site in a storage system, and the first processing module may include:
The first judging unit is used for judging whether service nodes in the target service site are all faulty according to a preset time period; if the service nodes in the target service site all fail, the heartbeat packet is forbidden to be sent to an arbitration system in the storage system, so that the arbitration system judges that the target service site fails based on the heartbeat packet; if the target service site has a normal service node, sending a heartbeat packet to an arbitration system; wherein the arbitration system is coupled to each service site in the storage system.
The storage system management device based on NAS provided in the embodiment of the present application is applied to a target service site in a storage system, and may further include:
a fourth determining module, configured to determine cluster names of clusters formed by service nodes in the target service site; determining a hash value of the cluster name; determining the number of the target volume space;
and the first generation module is used for generating a universal unique identification code corresponding to the target volume space according to the manufacturer number, the hash value and the number of the target service site.
The storage system management device based on NAS provided in the embodiment of the present application is applied to a target service site in a storage system, and may further include:
The third processing module is used for performing cache synchronization with other service stations through an interconnection link in response to the restoration of the target service station after the first processing module responds to the failure of the target service station and finishes the processing of the target service; and after the buffer synchronization is completed, carrying out service processing.
The storage system management device based on NAS provided in the embodiment of the present application is applied to a target service site in a storage system, and may further include:
the second judging module is used for judging whether the target service site is a main site for processing the target service after the service processing is carried out after the third processing module completes the buffer synchronization; and if the target service site is a main site for processing the target service, acquiring data to be written of the target service, and writing the data to be written into the target storage unit.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a NAS-based storage system according to an embodiment of the present application.
The embodiment of the application provides a storage system based on NAS, which comprises a first number of service sites, wherein the service sites comprise:
the second number of service nodes are used for carrying out service processing through own service units;
A storage unit for storing data;
the service management unit is used for determining a target service node for service processing in the service nodes; judging whether the target service node is faulty or not, if the target service node is faulty, forwarding the service to other service nodes which are not faulty for processing; transmitting the business data recorded by the storage units to the storage units of other business stations through the interconnection links among the storage units of the business stations;
wherein, the service nodes in the service site share a storage unit; and after the single service site fails, the service processing is finished, and other service sites continue to perform service processing based on the service data in the storage unit of the service sites.
In the NAS-based storage system provided in the embodiment of the present application, before transmitting target service data recorded in a target storage unit of a target service site to other storage units of other service sites, a service management unit may further determine, in the target storage unit, information of a target volume space allocated for a target service; determining target service data stored in each target volume space; establishing a target storage corresponding relation between a target volume space and target service data; determining information of a target service; establishing a target binding relation between a target service and a target volume space; taking the information of the target volume space, the target storage corresponding relation, the information of the target service and the target binding relation as target service processing information; transmitting the target service processing information to other service sites through an interconnection link;
Correspondingly, before responding to the failure of the target service site and ending the processing of the target service, other service processing information and other service data transmitted by other service sites can be received through an interconnection link; according to the information of other volume spaces in the other business processing information, other volume spaces are virtually formed in the target storage unit; according to other storage corresponding relations in other service processing information, storing other service data into corresponding other volume spaces; and processing other services based on other volume spaces according to other binding relations in other service processing information.
In the NAS-based storage system provided in the embodiment of the present application, when a service management unit responds to a failure of a target service site, and ends processing of the target service, it may determine, according to a preset time period, whether service nodes in the target service site all fail; if the service nodes in the target service site all fail, the heartbeat packet is forbidden to be sent to an arbitration system in the storage system, so that the arbitration system judges that the target service site fails based on the heartbeat packet; if the target service site has a normal service node, sending a heartbeat packet to an arbitration system; wherein the arbitration system is coupled to each service site in the storage system.
In the NAS-based storage system provided in the embodiment of the present application, the service management unit may be further configured to: determining cluster names of clusters formed by service nodes in a target service site; determining a hash value of the cluster name; determining the number of the target volume space; and generating a universal unique identification code corresponding to the target volume space according to the manufacturer number, the hash value and the serial number of the target service site.
In the NAS-based storage system provided in the embodiment of the present application, after the processing of the target service is finished in response to the failure of the target service site, the service node may also perform cache synchronization with other service sites through the interconnection link in response to the restoration of the target service site; and after the buffer synchronization is completed, carrying out service processing.
In the NAS-based storage system provided in the embodiment of the present application, a service node may also be configured to: after the buffer memory is completed and the service processing is carried out, judging whether the target service site is a main site for processing the target service; and if the target service site is a main site for processing the target service, acquiring data to be written of the target service, and writing the data to be written into the target storage unit.
In practical application, an interconnection link can be set between nodes of a service site, so that a service management unit can manage each service node through the interconnection link and distribute tasks, and service units of each service node have the same capability and can provide services to the outside. When the service management unit is a cluster service, the management unit with only one service node can be set as the main service, and at the moment, the service node is the main service node of the service station, and all node information and views are based on the information in the management unit on the main service node.
In practical application, the host in the application may be a server or the like; the service unit may also provide services for a complete tenant service or an isolated service, such as a container, KVM, etc. The connection between the service unit and the storage unit, and between the storage units may be determined according to the need, and is not limited to the connection such as RDMA (Remote Direct Memory Access, remote direct data access), FC (optical fiber), SAS (Serial Attached SCSI, serial attached SCSI interface), etc., as long as a path exists, and a corresponding connection may be selected according to the amount of traffic performed. Furthermore, the storage unit is not limited to a separate software module, an expansion cabinet or heterogeneous storage that can meet the above requirements; the service management unit and the storage unit may be independent or multiplexed with each other, for example, may be different virtual sub-interfaces of the same interface.
The application also provides electronic equipment and a computer readable storage medium, which have the corresponding effects of the NAS-based storage system management method. Referring to fig. 5, fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
An electronic device provided in this embodiment of the present application includes a memory 201 and a processor 202, where the memory 201 stores a computer program, and the processor 202 implements the steps of the NAS-based storage system management method described in any one of the embodiments above when executing the computer program.
Referring to fig. 6, another electronic device provided in an embodiment of the present application may further include: an input port 203 connected to the processor 202 for transmitting an externally input command to the processor 202; a display unit 204 connected to the processor 202, for displaying the processing result of the processor 202 to the outside; and the communication module 205 is connected with the processor 202 and is used for realizing communication between the electronic device and the outside. The display unit 204 may be a display panel, a laser scanning display, or the like; the communication means adopted by the communication module 205 include, but are not limited to, mobile High-Definition Link (MHL), universal serial bus (Universal Serial Bus, USB), high-Definition multimedia interface (High-Definition Multimedia Interface, HDMI), wireless connection: wireless fidelity technology (WIreless Fidelity, wiFi), bluetooth communication technology, bluetooth low energy communication technology, ieee802.11s based communication technology.
The embodiment of the present application provides a computer readable storage medium, where a computer program is stored, where the computer program, when executed by a processor, describes steps of a NAS-based storage system management method according to any one of the embodiments above.
The computer readable storage medium referred to in this application includes random access Memory (Random Access Memory, RAM), memory, read-Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM (Compact Disc Read-Only Memory), or any other form of storage medium known in the art.
The description of the relevant parts in the NAS-based storage system, the management apparatus, the electronic device, and the computer-readable storage medium provided in the embodiments of the present application refers to the detailed description of the corresponding parts in the NAS-based storage system management method provided in the embodiments of the present application, and is not repeated herein. In addition, the parts of the above technical solutions provided in the embodiments of the present application, which are consistent with the implementation principles of the corresponding technical solutions in the prior art, are not described in detail, so that redundant descriptions are avoided.
It is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended 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 (10)

1. A NAS-based storage system management method, applied to a target service site in a storage system, comprising:
determining a target service node for processing the target service from service nodes of the target service site;
judging whether the target service node fails or not;
if the target service node fails, the target service is forwarded to other service nodes which do not fail in the target service site for processing;
transmitting the target service data recorded by the target storage unit of the target service site to other storage units of other service sites through an interconnection link between the storage units of the service sites;
Ending the processing of the target service in response to the failure of the target service site, so that the other service sites continue to process the target service based on the target service data in the other storage units;
wherein each service node in the target service site shares the target storage unit.
2. The method of claim 1, wherein the step of transferring the target service data recorded in the target storage unit of the target service site to other storage units of other service sites further comprises:
determining information of a target volume space allocated for the target service in the target storage unit;
determining the target business data stored in each target volume space;
establishing a target storage corresponding relation between the target volume space and the target service data;
determining information of the target service, and establishing a target binding relationship between the target service and the target volume space;
taking the information of the target volume space, the target storage corresponding relation, the information of the target service and the target binding relation as target service processing information;
Transmitting the target service processing information to the other service sites through the interconnection link;
the method for processing the target service before responding to the failure of the target service station further comprises the following steps:
receiving other service processing information and other service data transmitted by the other service sites through the interconnection link;
according to the information of other volume spaces in the other business processing information, the other volume spaces are virtually formed in the target storage unit;
storing the other business data into the corresponding other volume spaces according to other storage corresponding relations in the other business processing information;
and processing other services based on the other volume spaces according to other binding relations in the other service processing information.
3. The method of claim 1, wherein the ending the processing of the target service in response to the target service site failure comprises:
judging whether service nodes in the target service site are all faulty according to a preset time period;
if the service nodes in the target service site all fail, prohibiting sending a heartbeat packet to an arbitration system in the storage system, so that the arbitration system judges that the target service site fails based on the heartbeat packet;
If the target service site has a normal service node, sending the heartbeat packet to the arbitration system;
wherein the arbitration system is coupled to each service site in the storage system.
4. The method as recited in claim 1, further comprising:
determining cluster names of clusters formed by service nodes in the target service site;
determining a hash value of the cluster name;
determining the number of the target volume space;
and generating a universal unique identification code corresponding to the target volume space according to the manufacturer number, the hash value and the number of the target service site.
5. The method of claim 1, wherein after ending the processing of the target service in response to the target service site failure, further comprising:
responding to the target service site to restore to normal, and performing cache synchronization with the other service sites through the interconnection link;
and after the buffer synchronization is completed, carrying out service processing.
6. The method of claim 5, wherein after the service processing is performed after the synchronization of the to-be-cached is completed, further comprising:
Judging whether the target service site is a main site for processing the target service;
and if the target service site is a main site for processing the target service, acquiring data to be written of the target service, and writing the data to be written into the target storage unit.
7. A NAS-based storage system management apparatus, applied to a target service site in a storage system, comprising:
the first determining module is used for determining a target service node for processing the target service from service nodes of the target service site;
the first judging module is used for judging whether the target service node fails or not; if the target service node fails, the target service is forwarded to other service nodes which do not fail in the target service site for processing;
the first sending module is used for transmitting the target business data recorded by the target storage unit of the target business site to other storage units of other business sites through the interconnection links among the storage units of the business sites;
the first processing module is used for responding to the failure of the target service site and ending the processing of the target service so that the other service sites continue to process the target service based on the target service data in the other storage units;
Wherein each service node in the target service site shares the target storage unit.
8. A NAS-based storage system comprising a first number of service sites, the service sites comprising:
the second number of service nodes are used for carrying out service processing through own service units;
a storage unit for storing data;
the service management unit is used for determining a target service node for service processing in the service nodes; judging whether the target service node fails, if so, forwarding the service to other service nodes which do not fail for processing; transmitting the business data recorded by the storage units to the storage units of other business stations through the interconnection links among the storage units of the business stations;
wherein the service nodes in the service site share the storage unit; and after the single service station fails, finishing service processing, and continuing service processing by other service stations based on the service data in the storage unit.
9. An electronic device, comprising:
A memory for storing a computer program;
a processor for implementing the steps of the NAS-based storage system management method according to any one of claims 1 to 6 when executing the computer program.
10. A computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, which when executed by a processor implements the steps of the NAS-based storage system management method according to any one of claims 1 to 6.
CN202410021911.6A 2024-01-05 2024-01-05 Storage system based on NAS, management method, device, equipment and medium Pending CN117827115A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410021911.6A CN117827115A (en) 2024-01-05 2024-01-05 Storage system based on NAS, management method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410021911.6A CN117827115A (en) 2024-01-05 2024-01-05 Storage system based on NAS, management method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN117827115A true CN117827115A (en) 2024-04-05

Family

ID=90523970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410021911.6A Pending CN117827115A (en) 2024-01-05 2024-01-05 Storage system based on NAS, management method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN117827115A (en)

Similar Documents

Publication Publication Date Title
CN106899518B (en) Resource processing method and device based on Internet data center
US9658912B2 (en) Method and apparatus for implementing heartbeat service of high availability cluster
CN100423491C (en) Virtual network storing system and network storing equipment thereof
CN101651559B (en) Failover method of storage service in double controller storage system
US9917884B2 (en) File transmission method, apparatus, and distributed cluster file system
CN103257941B (en) Multi-protocol storage controller and system
CN112130748B (en) Data access method, network card and server
CN104412228A (en) Live migration protocols and cluster server failover protocols
CN103840961A (en) Dual-computer hot backup system
JP2003323263A (en) Common memory control method and control system
US8732420B2 (en) Remote copy system and method
CN104750428A (en) Block storage access and gateway module, storage system and method, and content delivery apparatus
CN105099793A (en) Hot-standby method, hot-standby device and hot-standby system
JP2017536624A (en) Snapshot processing methods and associated devices
JP2015162091A (en) Storage control apparatus, storage system, storage control method, and storage control program
US10372673B2 (en) Storage network element discovery method and apparatus
CN114422537B (en) Multi-cloud storage system, multi-cloud data reading and writing method and electronic equipment
CN112269772A (en) File deployment method, system, equipment and computer readable storage medium
CN103428288A (en) Method for synchronizing copies on basis of partition state tables and coordinator nodes
CN104994135A (en) Method and device for fusing SAN and NAS storage frameworks in storage system
WO2021012169A1 (en) Method of improving reliability of storage system, and related apparatus
CN111131224B (en) Method for maintaining connection and storage device
CN112491672B (en) PCIE communication system, communication configuration parameter backup method and PCIE switch
WO2016206392A1 (en) Data reading and writing method and device
CN117827115A (en) Storage system based on NAS, management method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination