[go: up one dir, main page]

CN109474694A - A management and control method and device for a NAS cluster based on a SAN storage array - Google Patents

A management and control method and device for a NAS cluster based on a SAN storage array Download PDF

Info

Publication number
CN109474694A
CN109474694A CN201811474697.0A CN201811474697A CN109474694A CN 109474694 A CN109474694 A CN 109474694A CN 201811474697 A CN201811474697 A CN 201811474697A CN 109474694 A CN109474694 A CN 109474694A
Authority
CN
China
Prior art keywords
nas
node
nas node
business
exception
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
CN201811474697.0A
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 CN201811474697.0A priority Critical patent/CN109474694A/en
Publication of CN109474694A publication Critical patent/CN109474694A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1029Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers using data related to the state of servers by a load balancer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1034Reaction to server failures by a load balancer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of management-control methods of NAS cluster based on SAN storage array, SAN storage array is connected with multiple NAS nodes, multiple NAS nodes form NAS cluster, NAS cluster linking objective server is to provide NAS business and SAN business to destination server, when occurring exception NAS node in NAS cluster, abnormal NAS node is the NAS node that the NAS business that destination server provides and SAN business can be transferred to normal operation, and the NAS node of the normal operation can take over abnormal NAS node and continue as destination server offer NAS business and SAN business at this time.It ensure that SAN business that NAS node is provided to destination server and NAS business are not disrupted.In addition, the invention also discloses a kind of control device of NAS cluster based on SAN storage array, effect is as above.

Description

A kind of management-control method and device of the NAS cluster based on SAN storage array
Technical field
The present invention relates to field of storage, in particular to the management-control method and dress of a kind of NAS cluster based on SAN storage array It sets.
Background technique
Network attached storage (Network Attached Storage, NAS) is that one kind is connected on network and has data The device of store function.It is a kind of exclusive data storage server.It is data-centered, and storage equipment and server is thorough Bottom separation, manages data concentratedly, to discharge bandwidth, improve performance.NAS includes memory device, such as disk array, tape drive Dynamic device or moveable storage medium and embedded systems software, can provide cross-platform file-sharing function.In addition, NAS itself It can support various protocols, such as NFS protocol, CIFS agreement, File Transfer Protocol and http protocol, while can also support various Operating system.
NAS can simplify to storage area network (Storage Area Network and SAN Protocols, SAN) Access, the data block that SAN storage array can be helped to provide are routed in server appropriate with document form, at the same time, SAN can mitigate the massive store burden of non-critical data, make the more efficiently work of NAS, and vital document then can store In local NAS storage equipment, some insignificant files can be discharged in SAN.Currently based on the NAS node of SAN storage array For, it is single path connection between NAS node and SAN storage array, in this way, after the NAS node failure, it will cause entire Operation system paralysis can not continue as server and provide SAN business and NAS business.
Therefore, after the failure of NAS node, how to guarantee the SAN business and NAS industry that NAS node is provided to server It is those skilled in the art's problem to be solved that business, which is not disrupted,.
Summary of the invention
The purpose of the present invention is to provide the management-control method and device of a kind of NAS cluster based on SAN storage array, After NAS node breaks down, it ensure that SAN business that NAS node is provided to server and NAS business are not disrupted.
To achieve the above object, the embodiment of the invention provides following technical solutions:
First, the embodiment of the invention provides a kind of management-control methods of NAS cluster based on SAN storage array, are applied to NAS cluster comprising multiple NAS nodes, each NAS node are connect with SAN storage array, comprising:
The operating status of each NAS node in NAS cluster described in real-time monitoring;
Judge whether the operating status of each NAS node is normal;
If it is not, the abnormal NAS node of operating status exception then to be switched to the NAS node of normal operation, described in completing The NAS business and SAN business that abnormal NAS node is provided to destination server.
Optionally, the operating status of each NAS node includes: in NAS cluster described in the real-time monitoring
Obtain the physical IP address of each NAS node;
Each NAS node is accessed by the physical IP address, to monitor the operating status of each NAS node.
Optionally, it is interconnected between each NAS node to be carried out to the operating status for the NAS node respectively connecting Monitoring, corresponding, the operating status of each NAS node includes: in NAS cluster described in the real-time monitoring
Receive the monitoring running state signal that target NAS node is sent;
The monitoring running state signal is parsed, to obtain heartbeat IP address and the operating status;
Determine NAS node corresponding with the heartbeat IP address.
Optionally, further includes:
Monitor the resources occupation rate of each NAS node;
When receiving the service request that the destination server is sent, extremely by the corresponding traffic assignments of the service request The minimum NAS node of resources occupation rate.
Optionally, the NAS node that the abnormal NAS node by operating status exception switches to normal operation includes:
The exception NAS node is switched to the NAS node of the minimum normal operation of resources occupation rate.
Optionally, after the abnormal NAS node by operating status exception switches to the NAS node of normal operation, Further include:
It controls the exception NAS node and is in shutdown status.
Optionally, after the control exception NAS node is in shutdown status, further includes:
It monitors the exception NAS node and is in whether time of the shutdown status reaches threshold value;
If so, restarting the exception NAS node so that the exception NAS node is in operating status, and executes following Step:
Monitor whether the exception NAS node restores normal;
If not restoring normal, the step of control exception NAS node is in shutdown status is executed;
If restoring normal, the exception NAS node is kept to be in the operating status.
Optionally, after the holding exception NAS node is in the operating status, further includes:
Whether monitor the NAS business that the exception NAS node is provided to the destination server and the SAN business It completes;
If not completing, the NAS business and the SAN business are transferred to the normal exception NAS node of recovery again.
Second, the embodiment of the invention provides a kind of control devices of NAS cluster based on SAN storage array, are applied to NAS cluster comprising multiple NAS nodes, each NAS node are connect with SAN storage array, comprising:
First monitoring modular, the operating status for the NAS node each in NAS cluster described in real-time monitoring;
Whether judgment module, the operating status for judging each NAS node are normal;If it is not, then entering switching mould Block;
The switching module, for the abnormal NAS node of operating status exception to be switched to the NAS node of normal operation, To complete the NAS business and SAN business that the exception NAS node is provided to destination server.
Optionally, first monitoring modular includes:
Acquiring unit, for obtaining the physical IP address of each NAS node;
Monitoring unit, for accessing each NAS node by the physical IP address, to monitor each NAS node Operating status.
Optionally, first monitoring modular includes:
Receiving unit, for receiving the monitoring running state signal of target NAS node transmission;
Resolution unit, for parsing the monitoring running state signal, to obtain heartbeat IP address and the operating status;
Determination unit, for determining NAS node corresponding with the heartbeat IP address.
Optionally, further includes:
Monitoring modular, for monitoring the resources occupation rate of each NAS node;
Allocation unit, for when receiving the service request that the destination server is sent, by the service request pair The traffic assignments the answered NAS node minimum to resources occupation rate.
Optionally, the switching module includes:
Switch unit is minimum for exception NAS node corresponding with the fault message to be switched to resources occupation rate The NAS node of the normal operation.
Optionally, control module is in shutdown status for controlling the exception NAS node.
Optionally, further includes:
Whether the second monitoring modular, the time that the shutdown status is in for monitoring the exception NAS node reach threshold Value;If so, into module is restarted;
It is described to restart module, for restarting the exception NAS node so that the exception NAS node is in operating status;
Third monitoring modular, for monitoring whether the exception NAS node restores normal;If not restoring normal, enter The control module;If restoring normal, the exception NAS node is kept to be in the operating status.
Optionally, further includes:
4th monitoring modular, the NAS business provided for monitoring the exception NAS node to the destination server Whether completed with the SAN business;If not completing, enter shift module;
The shift module, it is normal abnormal for the NAS business and the SAN business to be transferred to recovery again NAS node.
Third, the control device of the NAS cluster the embodiment of the invention provides another kind based on SAN storage array, application In the NAS cluster comprising multiple NAS nodes, each NAS node is connect with SAN storage array, comprising:
Memory, for storing CTDB company-data control program;
Processor, realize that any of the above mentions for executing the computer program stored in the memory based on The step of management-control method of the NAS cluster of SAN storage array.
As it can be seen that a kind of management-control method of NAS cluster based on SAN storage array disclosed by the embodiments of the present invention, SAN storage Array is connected with multiple NAS nodes, and multiple NAS nodes form NAS cluster, and NAS cluster linking objective server to target to take Business device provides NAS business and SAN business, and in NAS cluster, the operating status of each NAS node of real-time monitoring, then judgement is each Whether the operating status of a NAS node is normal, if there are the abnormal NAS node of abnormal operating condition in each NAS node, Abnormal NAS node is then switched to the NAS node of normal operation, is provided with exception NAS node to destination server with completion NAS business and SAN business.Therefore, using this programme, when there is exception NAS node, abnormal NAS node is destination server The NAS business and SAN business of offer can be transferred to the NAS node of normal operation, and the NAS node of the normal operation can be taken at this time Abnormal NAS node continues as destination server and provides NAS business and SAN business.It ensure that NAS node is provided to destination server SAN business and NAS business be not disrupted.In addition, the embodiment of the invention also discloses a kind of NAS based on SAN storage array The control device of cluster, effect are as above.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of NAS cluster management-control method process based on SAN storage array disclosed in the first embodiment of the invention Schematic diagram;
Fig. 2 is a kind of NAS cluster management-control method process based on SAN storage array disclosed in second of embodiment of the invention Schematic diagram;
Fig. 3 is a kind of NAS cluster management-control method process based on SAN storage array disclosed in the third embodiment of the invention Schematic diagram;
Fig. 4 is a kind of NAS cluster management-control method process based on SAN storage array disclosed in the 4th kind of embodiment of the invention Schematic diagram;
Fig. 5 is a kind of control device structural schematic diagram of NAS cluster based on SAN storage here provided by the invention;
Fig. 6 is the control device structural schematic diagram of another NAS cluster based on SAN storage here provided by the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses the management-control methods and device of a kind of NAS cluster based on SAN storage array, in NAS After node breaks down, it ensure that and server offer SAN business and NAS business are not disrupted.
Referring to Figure 1, Fig. 1 is a kind of NAS cluster pipe based on SAN storage array disclosed in the first embodiment of the invention Method flow schematic diagram is controlled, applied to the NAS cluster comprising multiple NAS nodes, each NAS node is connect with SAN storage array, The storage medium of SAN storage array can be selected as SAS hard disk, NL-SAS hard disk and SSD etc., NAS node and destination server Between support CIFS network protocol, NFS network protocol, FTP network protocol and http network agreement, to provide destination server The compatibility of all mainstream operation systems of (client) Windows, Linux supports that NAS node is based on 7 operating system of Centos To configure shared-file system, SAN storage array is configured to FC-SAN storage array and reaches maximum output bandwidth to be more than or equal to 1GB/s.This method comprises:
S11: the operating status of each NAS node in real-time monitoring NAS cluster.
Specifically, each NAS node is connect with SAN disk array in NAS cluster in the present embodiment, work as destination service It is the NAS business and SAN business that destination server provides by NAS node and SAN disk array after device sends service request.Example Such as, service request is when reading the data block stored in SAN storage array, to be read in SAN storage array and stored by NAS node Data block, while when data block comprising storage destination server in service request, NAS node can be by itself storage Function realizes the storage to the database of destination server.NAS business and SAN business are provided to destination server.NAS node Operating status include whether NAS node is in power-up state, whether NAS node and the data communication of SAN storage array normal Etc..
Wherein, the operating status of each NAS node of real-time monitoring can be divided into following two situation:
The first situation can obtain NAS node by being equipped with the server of CTDB company-data management program respectively Operating status, i.e., be stored with the physical IP address of each NAS node in CTDB cluster management program, getting each NAS After the physical IP address of node, each NAS node is accessed by the physical IP address, if NAS node is in power-down state, It is power-down state that the feedback information that the server of CTDB company-data management program obtains, which is NAS node,.
Second situation can carry out mutually status monitoring between each NAS node, specifically that each NAS node is mutual It is connected, Active-Active operating mode is used between each NAS node, and heartbeat IP is set between each NAS node, By taking two NAS nodes as an example, network interface heartbeat IP address is set in two NAS nodes, is then supervised mutually by two NAS nodes Pipe, and the monitoring running state signal of the NAS node respectively monitored is sent in real time, CTDB company-data management is installed The server of program or the server or cluster resource of cluster resource manager Pacemaker, CTDB company-data management program After manager Pacemaker parses monitoring running state signal, heartbeat IP address and operating status are obtained, and deposit with original definition The heartbeat IP address of storage matches, and finds NAS node corresponding with the heartbeat IP address, completes the monitoring to NAS node.Its In, server or cluster resource manager Pacemaker the configuration heartbeat network of CTDB company-data management program can use Following method:
#vi/etc/ctdb/nodes is executed, the heartbeat IP of NAS nodes all in NAS cluster is added, such as two NAS The heartbeat IP address configuration of node is as follows:
172.168.0.1
172.168.0.2
S12: judge whether the operating status of each NAS node is normal, if it is not, then entering step S13.
S13: the abnormal NAS node of operating status exception is switched to the NAS node of normal operation, to complete abnormal NAS The NAS business and SAN business that node is provided to destination server.
Specifically, can be backed up mutually between each NAS node in the present embodiment, i.e., in some NAS node and target Business datum meeting when newsletter is carried out when carrying out newsletter between server, between the NAS node and destination server It backs up in realtime into remaining NAS node, when the NAS node breaks down, another operation can be rapidly switched to just Normal NAS node guarantees to carry out being not disrupted when newsletter between destination server.
Floating IP address can be configured between destination server and NAS node to realize newsletter between the two, matched The Floating IP address set can store in the configuration file of the server of CTDB company-data management program, and configuration Floating IP address can be adopted It is realized with following procedure:
#vi/etc/ctdb/public_addresses, by taking two NAS nodes as an example, the content of the Floating IP address of configuration is such as Under:
12.0.40.60/24bond1
12.0.40.61/24bond1
In addition, the resource that each NAS node also can be monitored in real time accounts for when monitoring the operating status of each NAS node There is rate, when receiving the service request of destination server transmission, which can be distributed minimum to resources occupation rate NAS node, in this way, improving the service efficiency of each NAS node.
It is corresponding, when there is exception NAS node, abnormal NAS node can be switched into the minimum fortune of resources occupation rate The normal NAS node of row shifts business that current exception NAS node is carried to the minimum normal operation of resources occupation rate NAS node is to complete remaining unfinished business.
As it can be seen that a kind of management-control method of NAS cluster based on SAN storage array disclosed by the embodiments of the present invention, SAN storage Array is connected with multiple NAS nodes, and multiple NAS nodes form NAS cluster, and NAS cluster linking objective server to target to take Business device provides NAS business and SAN business, and in NAS cluster, the operating status of each NAS node of real-time monitoring, then judgement is each Whether the operating status of a NAS node is normal, if there are the abnormal NAS node of abnormal operating condition in each NAS node, Abnormal NAS node is then switched to the NAS node of normal operation, is provided with exception NAS node to destination server with completion NAS business and SAN business.Therefore, using this programme, when there is exception NAS node, abnormal NAS node is destination server The NAS business and SAN business of offer can be transferred to the NAS node of another normal operation, at this time the NAS node of the normal operation Exception NAS node can be taken over, destination server offer NAS business and SAN business are provided.It ensure that and destination server is provided SAN business and NAS business are not disrupted.
When there is exception NAS node, exception NAS node corresponding with fault message is being switched into another operation just After normal NAS node, in order to avoid abnormal NAS node causes the occupancy of extra resource and avoids to remaining normal operation NAS node impacts, and based on the above embodiment, the present invention provides second of embodiments, refer to Fig. 2, and Fig. 2 is the present invention A kind of NAS cluster management-control method flow diagram based on SAN storage array disclosed in second of embodiment, comprising:
S11: the operating status of each NAS node in real-time monitoring NAS cluster.
S12: judge whether the operating status of each NAS node is normal.
S13: the abnormal NAS node of operating status exception is switched to the NAS node of normal operation, to complete abnormal NAS The NAS business and SAN business that node is provided to destination server.
S14: control exception NAS node is in shutdown status.
Second of embodiment provided by the invention, when there is exception NAS node, abnormal NAS node is destination server The NAS business and SAN business of offer can be transferred to the NAS node of another normal operation, at this time the NAS node of the normal operation Exception NAS node can be taken over, destination server offer NAS business and SAN business are provided.It ensure that and destination server is provided SAN business and NAS business are not disrupted, and abnormal NAS node control is avoided abnormal NAS node and caused in shutdown status It the occupancy of extra resource and avoids impacting the NAS node of remaining normal operation.
After the shutdown of abnormal NAS node, due to the self-recovery function of NAS node, within a certain period of time, abnormal NAS section Point may restore normal, at this point, in order to avoid the NAS node is wasted and is idle.Based on the above embodiment, of the invention The third embodiment is provided, Fig. 3 is referred to, Fig. 3 is that one kind disclosed in the third embodiment of the invention is based on SAN storage array NAS cluster management-control method flow diagram, comprising:
S11: the operating status of each NAS node in real-time monitoring NAS cluster.
S12: judge whether the operating status of each NAS node is normal.
S13: the abnormal NAS node of operating status exception is switched to the NAS node of normal operation, to complete abnormal NAS The NAS business and SAN business that node is provided to destination server.
S14: control exception NAS node is in shutdown status.
S15: whether the time that monitoring exception NAS node is in shutdown status reaches threshold value, if so, entering step S16.
S16: restarting abnormal NAS node so that exception NAS node is in operating status.
S17: whether monitoring exception NAS node restores normally, if restoring normal, S18 is entered step, if not restoring just Often, then S14 is entered step.
S18: keep exception NAS node in operating status.
Specifically, threshold value can be determined according to the actual conditions of NAS node and SAN storage array, this hair in the present embodiment Bright embodiment herein and is not construed as limiting the size of threshold value.
The third embodiment provided by the invention, when there is exception NAS node, abnormal NAS node is destination server The NAS business and SAN business of offer can be transferred to the NAS node of normal operation, and the NAS node of the normal operation can be taken at this time Abnormal NAS node continues as destination server and provides NAS business and SAN business.It ensure that and provide SAN business to destination server It is not disrupted with NAS business, and abnormal NAS node control is avoided abnormal NAS node and cause extra resource in shutdown status Occupancy and avoid impacting the NAS node of remaining normal operation, avoid exception NAS node when that can restore normal It is wasted and is idle.
After abnormal NAS node restores normal, the industry of the business originally carried is stored in exception NAS node at this time Business data, and the resources occupation rate for restoring normal NAS node at this time is very low, at this point it is possible to the business that exception NAS is carried It retransfers back with the efficient utilization to realizing to exception NAS node.Based on the above embodiment, the present invention provides the 4th kind Embodiment, refers to Fig. 4, and Fig. 4 is a kind of NAS cluster pipe based on SAN storage array disclosed in the 4th kind of embodiment of the invention Control method flow schematic diagram, comprising:
S11: the operating status of each NAS node in real-time monitoring NAS cluster.
S12: judge whether the operating status of each NAS node is normal.
S13: the abnormal NAS node of operating status exception is switched to the NAS node of normal operation, to complete abnormal NAS The NAS business and SAN business that node is provided to destination server.
S14: control exception NAS node is in shutdown status.
S15: whether the time that monitoring exception NAS node is in shutdown status reaches threshold value, if so, entering step S16.
S16: restarting abnormal NAS node so that exception NAS node is in operating status.
S17: whether monitoring exception NAS node restores normally, if restoring normal, S18 is entered step, if not restoring just Often, then S14 is entered step.
S18: keep exception NAS node in operating status.
S19: whether the NAS business and SAN business that monitoring exception NAS node is provided to destination server are completed, if not complete At then into S20.
S20: NAS business and SAN business are transferred to the normal exception NAS node of recovery again.
4th kind of embodiment provided by the invention, when there is exception NAS node, abnormal NAS node is destination server The NAS business and SAN business of offer can be transferred to the NAS node of normal operation, and the NAS node of the normal operation can be taken at this time Abnormal NAS node continues as destination server and provides NAS business and SAN business.It ensure that and provide SAN business to destination server It is not disrupted with NAS business, and abnormal NAS node control is avoided abnormal NAS node and cause extra resource in shutdown status Occupancy and avoid impacting the NAS node of remaining normal operation, avoid exception NAS node when that can restore normal It is wasted and is idle, in addition, the exception NAS business carried is transferred to the normal exception NAS node of recovery, realize Efficient utilization to exception NAS node.
It is situated between below to a kind of control device based on SAN storage NAS cluster here disclosed by the embodiments of the present invention It continues, refers to Fig. 5, Fig. 5 is a kind of control device structural representation of NAS cluster based on SAN storage here provided by the invention Figure, applied to the NAS cluster comprising multiple NAS nodes, each NAS node is connect with SAN storage array, which includes:
First monitoring modular 501, the operating status for each NAS node in real-time monitoring NAS cluster;
Whether judgment module 502, the operating status for judging each NAS node are normal;If it is not, then entering switching mould Block.
Switching module 503, for the abnormal NAS node of operating status exception to be switched to the NAS node of normal operation, with Complete NAS business and SAN business that exception NAS node is provided to destination server.
As it can be seen that a kind of control device of NAS cluster based on SAN storage array disclosed by the embodiments of the present invention, SAN storage Array is connected with multiple NAS nodes, and multiple NAS nodes form NAS cluster, and NAS cluster linking objective server to target to take Business device provides NAS business and SAN business, and in NAS cluster, the operating status of each NAS node of real-time monitoring, then judgement is each Whether the operating status of a NAS node is normal, if there are the abnormal NAS node of abnormal operating condition in each NAS node, Abnormal NAS node is then switched to the NAS node of normal operation, is provided with exception NAS node to destination server with completion NAS business and SAN business.Therefore, using this programme, when there is exception NAS node, abnormal NAS node is destination server The NAS business and SAN business of offer can be transferred to the NAS node of another normal operation, at this time the NAS node of the normal operation Exception NAS node can be taken over, destination server offer NAS business and SAN business are provided.It ensure that and destination server is provided SAN business and NAS business are not disrupted.
Based on above embodiments, as optional embodiment, the first monitoring modular 501 includes:
Acquiring unit, for obtaining the physical IP address of each NAS node;
Monitoring unit, for accessing each NAS node by physical IP address, to monitor the operating status of each NAS node.
Based on above embodiments, as optional embodiment, the first monitoring modular 501 includes:
Receiving unit, for receiving the monitoring running state signal of target NAS node transmission;
Resolution unit, for parsing monitoring running state signal, to obtain heartbeat IP address and operating status;
Determination unit, for determining NAS node corresponding with heartbeat IP address.
Based on above embodiments, as optional embodiment, further includes:
Monitoring modular, for monitoring the resources occupation rate of each NAS node;
Allocation unit, for when receive destination server transmission service request when, by the corresponding business of service request Distribute the NAS node minimum to resources occupation rate.
Based on above embodiments, as optional embodiment, switching module 503 includes:
Switch unit, for exception NAS node corresponding with fault message to be switched to the minimum operation of resources occupation rate Normal NAS node.
Based on above embodiments, as optional embodiment, further includes:
Control module is in shutdown status for controlling abnormal NAS node.
Based on above embodiments, as optional embodiment, further includes:
Whether the second monitoring modular, the time that shutdown status is in for monitoring abnormal NAS node reach threshold value;If so, Then enter and restarts module;
Module is restarted, for restarting abnormal NAS node so that exception NAS node is in operating status;
Third monitoring modular, for monitoring whether abnormal NAS node restores normal;If not restoring normal, enter control Module;If restoring normal, keep abnormal NAS node in operating status.
Based on above embodiments, as optional embodiment, further includes:
4th monitoring modular, the NAS business and SAN business provided for monitoring abnormal NAS node to destination server are No completion;If not completing, enter shift module;
Shift module, for NAS business and SAN business to be transferred to the normal exception NAS node of recovery again.
Fig. 6 is referred to, Fig. 6 is the control device knot of another NAS cluster based on SAN storage here provided by the invention Structure schematic diagram, applied to the NAS cluster comprising multiple NAS nodes, each NAS node is connect with SAN storage array, the device packet It includes:
Memory 601, for storing CTDB company-data control program;
Processor 602, for executing the CTDB company-data stored in memory control program to realize such as any of the above The step of management-control method for the NAS cluster based on SAN storage array that one embodiment is mentioned.
The control device of another NAS cluster based on SAN storage here provided in this embodiment, since place can be passed through The computer program that device calls memory storage is managed, the NAS based on SAN storage array provided such as above-mentioned any embodiment is provided The step of management-control method of cluster, so this control device has the control side with the above-mentioned NAS cluster based on SAN storage array The same actual effect of method.
The management-control method to a kind of NAS cluster based on SAN storage array provided herein and device carry out above It is discussed in detail.Specific examples are used herein to illustrate the principle and implementation manner of the present application, above embodiments Explanation be merely used to help understand the present processes and its core concept.It should be pointed out that for the common of the art For technical staff, under the premise of not departing from the application principle, can also to the application, some improvement and modification can also be carried out, these Improvement and modification are also fallen into the protection scope of the claim of this application.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration ?.

Claims (10)

1. a kind of management-control method of the NAS cluster based on SAN storage array, which is characterized in that be applied to include multiple NAS nodes NAS cluster, each NAS node connect with SAN storage array, comprising:
The operating status of each NAS node in NAS cluster described in real-time monitoring;
Judge whether the operating status of each NAS node is normal;
If it is not, the abnormal NAS node of operating status exception then to be switched to the NAS node of normal operation, to complete the exception The NAS business and SAN business that NAS node is provided to destination server.
2. the management-control method of the NAS cluster according to claim 1 based on SAN storage array, which is characterized in that the reality When monitor the operating status of each NAS node in the NAS cluster
Obtain the physical IP address of each NAS node;
Each NAS node is accessed by the physical IP address, to monitor the operating status of each NAS node.
3. the management-control method of the NAS cluster according to claim 1 based on SAN storage array, which is characterized in that each described It is interconnected between NAS node to be monitored to the operating status for the NAS node respectively connecting, it is corresponding, it is described real-time The operating status for monitoring each NAS node in the NAS cluster includes:
Receive the monitoring running state signal that target NAS node is sent;
The monitoring running state signal is parsed, to obtain heartbeat IP address and the operating status;
Determine NAS node corresponding with the heartbeat IP address.
4. the management-control method of the NAS cluster based on SAN storage array according to claim 1 to 3, feature It is, further includes:
Monitor the resources occupation rate of each NAS node;
When receiving the service request that the destination server is sent, by the corresponding traffic assignments of the service request to resource The minimum NAS node of occupation rate.
5. the management-control method of the NAS cluster according to claim 4 based on SAN storage array, which is characterized in that described to incite somebody to action The NAS node that the abnormal NAS node of operating status exception switches to normal operation includes:
The exception NAS node is switched to the NAS node of the minimum normal operation of resources occupation rate.
6. the management-control method of the NAS cluster based on SAN storage array according to claim 1 to 3, feature It is, after the abnormal NAS node by operating status exception switches to the NAS node of normal operation, further includes:
It controls the exception NAS node and is in shutdown status.
7. the management-control method of the NAS cluster according to claim 6 based on SAN storage array, described different in the control Normal NAS node is in after shutdown status, further includes:
It monitors the exception NAS node and is in whether time of the shutdown status reaches threshold value;
If so, restarting the exception NAS node so that the exception NAS node is in operating status, and executes following steps:
Monitor whether the exception NAS node restores normal;
If not restoring normal, the step of control exception NAS node is in shutdown status is executed;
If restoring normal, the exception NAS node is kept to be in the operating status.
8. the management-control method of the NAS cluster according to claim 7 based on SAN storage array keeps described different described Normal NAS node is in after the operating status, further includes:
It monitors the NAS business that the exception NAS node is provided to the destination server and whether the SAN business is complete At;
If not completing, the NAS business and the SAN business are transferred to the normal exception NAS node of recovery again.
9. a kind of control device of the NAS cluster based on SAN storage here, which is characterized in that be applied to include multiple NAS nodes NAS cluster, each NAS node connect with SAN storage array, comprising:
First monitoring modular, the operating status for the NAS node each in NAS cluster described in real-time monitoring;
Whether judgment module, the operating status for judging each NAS node are normal;If it is not, then entering switching module;
The switching module, for the abnormal NAS node of operating status exception to be switched to the NAS node of normal operation, with complete The NAS business and SAN business provided at the exception NAS node to destination server.
10. a kind of control device of the NAS cluster based on SAN storage here characterized by comprising
Memory, for storing CTDB company-data control program;
Processor, for executing the CTDB company-data stored in the memory control program to realize such as claim 1 to 8 The step of management-control method of described in any item NAS clusters based on SAN storage array.
CN201811474697.0A 2018-12-04 2018-12-04 A management and control method and device for a NAS cluster based on a SAN storage array Pending CN109474694A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811474697.0A CN109474694A (en) 2018-12-04 2018-12-04 A management and control method and device for a NAS cluster based on a SAN storage array

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811474697.0A CN109474694A (en) 2018-12-04 2018-12-04 A management and control method and device for a NAS cluster based on a SAN storage array

Publications (1)

Publication Number Publication Date
CN109474694A true CN109474694A (en) 2019-03-15

Family

ID=65675555

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811474697.0A Pending CN109474694A (en) 2018-12-04 2018-12-04 A management and control method and device for a NAS cluster based on a SAN storage array

Country Status (1)

Country Link
CN (1) CN109474694A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111212127A (en) * 2019-12-29 2020-05-29 浪潮电子信息产业股份有限公司 A storage cluster and service data maintenance method, device and storage medium
CN113535471A (en) * 2021-06-28 2021-10-22 浙江大华技术股份有限公司 Cluster server
CN113535473A (en) * 2021-06-28 2021-10-22 浙江大华技术股份有限公司 cluster server
CN113535472A (en) * 2021-06-28 2021-10-22 浙江大华技术股份有限公司 cluster server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040088297A1 (en) * 2002-10-17 2004-05-06 Coates Joshua L. Distributed network attached storage system
CN105554074A (en) * 2015-12-07 2016-05-04 上海爱数信息技术股份有限公司 NAS resource monitoring system and monitoring method based on RPC communication
CN106656682A (en) * 2017-02-27 2017-05-10 网宿科技股份有限公司 Method, system and device for detecting cluster heartbeat
CN108055333A (en) * 2017-12-21 2018-05-18 创新科存储技术(深圳)有限公司 A kind of NAS-CIFS cluster load balancing methods based on UFS
CN108923992A (en) * 2018-08-23 2018-11-30 郑州云海信息技术有限公司 A kind of NAS cluster high availability method, system and electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040088297A1 (en) * 2002-10-17 2004-05-06 Coates Joshua L. Distributed network attached storage system
CN105554074A (en) * 2015-12-07 2016-05-04 上海爱数信息技术股份有限公司 NAS resource monitoring system and monitoring method based on RPC communication
CN106656682A (en) * 2017-02-27 2017-05-10 网宿科技股份有限公司 Method, system and device for detecting cluster heartbeat
CN108055333A (en) * 2017-12-21 2018-05-18 创新科存储技术(深圳)有限公司 A kind of NAS-CIFS cluster load balancing methods based on UFS
CN108923992A (en) * 2018-08-23 2018-11-30 郑州云海信息技术有限公司 A kind of NAS cluster high availability method, system and electronic equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李小平编著: "《多媒体技术》", 30 November 2015 *
李强: "《云计算及其应用》", 30 April 2018 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111212127A (en) * 2019-12-29 2020-05-29 浪潮电子信息产业股份有限公司 A storage cluster and service data maintenance method, device and storage medium
CN113535471A (en) * 2021-06-28 2021-10-22 浙江大华技术股份有限公司 Cluster server
CN113535473A (en) * 2021-06-28 2021-10-22 浙江大华技术股份有限公司 cluster server
CN113535472A (en) * 2021-06-28 2021-10-22 浙江大华技术股份有限公司 cluster server
CN113535472B (en) * 2021-06-28 2025-03-11 浙江大华技术股份有限公司 Cluster Server

Similar Documents

Publication Publication Date Title
Bailis et al. The network is reliable: An informal survey of real-world communications failures
US10609159B2 (en) Providing higher workload resiliency in clustered systems based on health heuristics
US9450700B1 (en) Efficient network fleet monitoring
US6986076B1 (en) Proactive method for ensuring availability in a clustered system
US9785691B2 (en) Method and apparatus for sequencing transactions globally in a distributed database cluster
CN111459749B (en) Prometheus-based private cloud monitoring method and device, computer equipment and storage medium
CN109474694A (en) A management and control method and device for a NAS cluster based on a SAN storage array
JP2005209201A (en) Node management in high-availability cluster
US11461123B1 (en) Dynamic pre-copy and post-copy determination for live migration between cloud regions and edge locations
CN102394914A (en) Cluster brain-split processing method and device
CN112887367B (en) Method, system and computer readable medium for realizing high availability of distributed cluster
CN109845192B (en) Computer system and method for dynamically adapting a network and computer readable medium
US11573839B1 (en) Dynamic scheduling for live migration between cloud regions and edge locations
CN111352943A (en) Method and device for realizing data consistency, server and terminal
CN111935244B (en) Service request processing system and super-integration all-in-one machine
WO2012097588A1 (en) Data storage method, apparatus and system
CN111045602A (en) Cluster system control method and cluster system
US11734038B1 (en) Multiple simultaneous volume attachments for live migration between cloud regions and edge locations
CN115145782A (en) A server switching method, MooseFS system and storage medium
CN109391691A (en) The restoration methods and relevant apparatus that NAS is serviced under a kind of single node failure
CN112612653B (en) A business recovery method, device, arbitration server and storage system
CN116668269A (en) Arbitration method, device and system for dual-activity data center
US11372702B2 (en) Optimized high availability management using cluster-wide view
CN110266790B (en) Edge cluster management method and device, edge cluster and readable storage medium
CN118606117A (en) A four-controller interconnected mirroring system, data transmission method, device 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190315

RJ01 Rejection of invention patent application after publication