CN116540940A - Storage cluster management and control method, device, equipment and storage medium - Google Patents

Storage cluster management and control method, device, equipment and storage medium Download PDF

Info

Publication number
CN116540940A
CN116540940A CN202310504733.8A CN202310504733A CN116540940A CN 116540940 A CN116540940 A CN 116540940A CN 202310504733 A CN202310504733 A CN 202310504733A CN 116540940 A CN116540940 A CN 116540940A
Authority
CN
China
Prior art keywords
hard disk
expansion cabinet
disk expansion
shared hard
group
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
CN202310504733.8A
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202310504733.8A priority Critical patent/CN116540940A/en
Publication of CN116540940A publication Critical patent/CN116540940A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

The invention relates to the field of data storage, and discloses a storage cluster management and control method, a device, equipment and a storage medium, wherein the storage cluster management and control method comprises the following steps: performing attribution configuration on the shared hard disk expansion cabinet of the nano tube to obtain an attribution group of the shared hard disk expansion cabinet, wherein the shared hard disk expansion cabinet is a hard disk expansion cabinet for expanding a node communication path of the expansion cabinet; when the shared hard disk expansion cabinet and the attribution group meet the first type of cases, generating indication information of successful configuration; the invention can use the shared hard disk expansion cabinet to improve the reliability and the disk space utilization rate of the centralized storage cluster in a non-dual-activity environment.

Description

Storage cluster management and control method, device, equipment and storage medium
Technical Field
The present invention relates to the field of data storage technologies, and in particular, to a storage cluster management and control method, device, equipment, and storage medium.
Background
At present, if a storage cluster needs to expand a storage space, a plurality of expansion cabinets need to be respectively connected to a plurality of centralized storage devices; if the four-control storage cluster needs to expand the storage space, two or more hard disk expansion cabinets need to be prepared and are respectively connected to the two double-control storage devices. Therefore, when one centralized storage device is abnormally inoperable, the hard disk expansion cabinet connected to the centralized storage device is invisible in the storage cluster and becomes an offline state, the data stored on the corresponding hard disk expansion cabinet cannot be used by a user, and the reliability of the storage cluster is reduced.
Disclosure of Invention
In view of this, the present invention provides a storage cluster management and control method, apparatus, device, and storage medium, so as to solve the problem that in the existing storage cluster, when a centralized storage device is abnormal and cannot work, a hard disk expansion cabinet connected to the centralized storage device is also invisible in the storage cluster and becomes an offline state, and data stored on the hard disk expansion cabinet correspondingly cannot be used by a user, and reliability of the storage cluster is reduced.
In a first aspect, the present invention provides a storage cluster management and control method, where the method includes: performing attribution configuration on the shared hard disk expansion cabinet of the nano tube to obtain an attribution group of the shared hard disk expansion cabinet; the shared hard disk expansion cabinet is a hard disk expansion cabinet for expanding the node communication path of the expansion cabinet; when the shared hard disk expansion cabinet and the attribution group meet the first type of cases, generating indication information of successful configuration; the indication information of successful configuration is used for indicating that partial case reminding exists but service issuing can be performed. Through the process, the shared hard disk expansion cabinet can be used for improving the reliability and the disk space utilization rate of the centralized storage cluster in a non-dual-activity environment.
In an alternative embodiment, determining that the shared hard disk expansion cabinet and the home group satisfy the first type of instance includes:
Acquiring the connection number of all storage nodes in the attribution group and the shared hard disk expansion cabinet;
when all storage nodes in the attribution group are connected to the shared hard disk expansion cabinet, determining that the shared hard disk expansion cabinet and the attribution group meet a first type case;
and/or when part of storage nodes in the angelica genus group are connected to the shared hard disk expansion cabinet and the connection number of the part of storage nodes and the shared hard disk expansion cabinet is greater than or equal to a threshold value, determining that the shared hard disk expansion cabinet and the attribution group meet the first type of cases.
In an alternative embodiment, after determining that the home group of the shared hard disk expansion cabinet satisfies the first type instance, the method further comprises:
when all the storage nodes in the attribution group connected with the shared hard disk expansion cabinet are connected abnormally or the connection number is smaller than a threshold value, switching the attribution group of the shared hard disk expansion cabinet into another attribution group;
and when all the storage nodes in the attribution group connected with the shared hard disk expansion cabinet are restored to be connected, or the connection number is larger than or equal to a threshold value, switching the shared hard disk expansion cabinet from another attribution group to an attribution group.
In an alternative embodiment, after determining that the home group of the shared hard disk expansion cabinet satisfies the first type instance, the method further comprises:
When a connection fault exists in part of storage nodes in the attribution group connected with the shared hard disk expansion cabinet, adding the storage nodes in the attribution group for restoring the connection, and/or restoring the connection of the other attribution group with the shared hard disk expansion cabinet;
the connection fault is used for representing that no storage node is connected to the shared hard disk expansion cabinet, or the connection number of the rest storage nodes and the shared hard disk expansion cabinet is smaller than a threshold value.
In an alternative embodiment, after the home configuration of the shared hard disk expansion cabinet of the nanotube, the method further includes:
when the shared hard disk expansion cabinet and the attribution group meet the second type of case, generating indication information of configuration failure;
the indication information of the configuration failure is used for indicating the configuration failure of the attribution group of the shared hard disk expansion cabinet.
In an alternative embodiment, determining that the shared hard disk expansion cabinet and the home group satisfy the second type of instance includes:
and when part of the storage nodes in the attribution group are connected to the shared hard disk expansion cabinet and the connection number of the part of the storage nodes and the shared hard disk expansion cabinet is smaller than a threshold value, determining that the shared hard disk expansion cabinet and the attribution group meet the second type of cases.
In an alternative embodiment, the method further comprises:
When the shared hard disk expansion cabinet is in an idle state, storing data in the shared hard disk expansion cabinet;
deleting all information of the shared hard disk expansion cabinet of the nano tube, and removing the nano tube of the shared hard disk expansion cabinet;
when the connection between the shared hard disk expansion cabinet of the nano tube and each storage node in the attribution group still exists, setting the state of the shared hard disk expansion cabinet as a waiting tube state;
and when the connection between the shared hard disk expansion cabinet of the nano tube and each storage node in the attribution group is disconnected, the state of the shared hard disk expansion cabinet is set to be an invisible state.
In a second aspect, the present invention provides a storage cluster management and control device, where the management and control device mainly includes: the home group configuration module and the configuration information indication module; the home group configuration module is used for carrying out home configuration on the shared hard disk expansion cabinets of the nanotubes to obtain a home group of the shared hard disk expansion cabinets, wherein the shared hard disk expansion cabinets are hard disk expansion cabinets for expanding node communication paths of the expansion cabinets; the configuration information indicating module is used for generating indication information of successful configuration when the first type of case is satisfied between the shared hard disk expansion cabinet and the attribution group, wherein the indication information of successful configuration is used for indicating that partial case reminding exists but service issuing can be performed. Through the process, the shared hard disk expansion cabinet can be used for improving the reliability and the disk space utilization rate of the centralized storage cluster in a non-dual-activity environment.
In a third aspect, the present invention provides a computer device comprising: the storage cluster management system comprises a memory and a processor, wherein the memory and the processor are in communication connection, the memory stores computer instructions, and the processor executes the computer instructions so as to execute the storage cluster management method of the first aspect or any corresponding implementation mode.
In a fourth aspect, the present invention provides a computer readable storage medium having stored thereon computer instructions for causing a computer to perform the storage cluster management method of the first aspect or any of the embodiments corresponding thereto.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic illustration of an application environment of an embodiment of the present invention;
FIG. 2 is a flow chart of a storage cluster management and control method according to an embodiment of the present invention;
FIG. 3 is a flow chart of another storage cluster management method according to an embodiment of the present invention;
FIG. 4 is a flowchart of a method for managing and controlling a storage cluster according to an embodiment of the present invention;
FIG. 5 is a data flow diagram of a method for controlling a storage cluster according to an embodiment of the present invention;
FIG. 6 is a block diagram illustrating a storage cluster management and control device according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a hardware structure of a computer device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terms first and second in the description and claims of the invention and in the above-mentioned figures are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the term "include" and any variations thereof is intended to cover non-exclusive protection. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus. The term "plurality" in the present invention may mean at least two, for example, two, three or more, and embodiments of the present invention are not limited.
Referring to fig. 1, fig. 1 is a schematic diagram of an application environment provided by an embodiment of the present invention, where the schematic diagram includes a shared hard disk expansion cabinet 100 and a storage server 200, and the shared hard disk expansion cabinet 100 and the storage server 200 are connected by a physical link. After receiving the access request uploaded by the shared hard disk expansion cabinet 100, the storage server 200 may perform a nanotube on the access request, perform an attribution configuration on the managed shared hard disk expansion cabinet 100, and finally generate indication information of successful configuration when the first type case is satisfied between the shared hard disk expansion cabinet and the attribution group.
Specifically, after the storage server 200 obtains the access request initiated by the shared hard disk expansion cabinet 100. Then, the storage server 200 may perform nanotubes on the shared hard disk expansion cabinet that initiates the access request, and perform home configuration on the shared hard disk expansion cabinet 100 after the nanotubes, so as to obtain a home group of the shared hard disk expansion cabinet, and finally generate indication information that the configuration is successful when the first type case is satisfied between the shared hard disk expansion cabinet and the home group. The indication information of successful configuration is used for indicating that partial case reminding exists but service issuing can be performed.
In this embodiment of the present application, the home configuration of the shared hard disk expansion cabinet of the nanotube may be the storage server 200 shown in fig. 1, or may be other computer terminals having the same function as the storage server, or similar computing devices. Further, the storage server 200 may be replaced with a server system, an operation platform, or a server cluster including a plurality of servers.
According to an embodiment of the present invention, there is provided a storage cluster management method embodiment, it being noted that the steps shown in the flowchart of the figures may be performed in a computer system, such as a set of computer executable instructions, and, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order other than that shown or described herein.
In this embodiment, a storage cluster management and control method is provided, which may be used for the shared hard disk expansion cabinet described above, and fig. 2 is a flowchart of a storage cluster management and control method according to an embodiment of the present invention, as shown in fig. 2, where the flowchart includes the following steps:
step S201, carrying out attribution configuration on the shared hard disk expansion cabinet of the nano tube to obtain an attribution group of the shared hard disk expansion cabinet.
In this embodiment, when an access request initiated by a shared hard disk expansion cabinet is received, the shared hard disk expansion cabinet is managed, and the shared hard disk expansion cabinet of the management is allocated in a home mode, so as to obtain a home group of the shared hard disk expansion cabinet, and a necessary condition is provided for subsequent management and control of the shared hard disk expansion cabinet. The shared hard disk expansion cabinet is a hard disk expansion cabinet for expanding the node communication path of the expansion cabinet.
The hard disk expansion cabinet is expansion equipment externally connected with the storage server, and can directly provide extra data storage space for the storage server. At present, one hard disk expansion cabinet contains two expansion cabinet nodes to form a redundant structure, and each expansion cabinet node can only carry out communication of a physical link and bottom signal processing and has no calculation function, namely, no equipment such as a CPU, a memory, a system hard disk and the like. Each expansion cabinet node comprises two groups of external interfaces, wherein one group is an Input (IN) port and is used for connecting an Output (OUT) port of a storage node; the other group is an OUT port which is used for being connected with an IN port of the next-stage hard disk expansion cabinet. Each centralized storage server contains two storage nodes, each storage node can be regarded as a computer, and a plurality of OUT ports can be expanded through an external card. Therefore, when one centralized storage device is abnormally inoperable, the hard disk expansion cabinet connected to the centralized storage device is invisible in the storage cluster and becomes an offline state, the data stored on the corresponding hard disk expansion cabinet cannot be used by a user, and the reliability of the storage cluster is reduced. The home group of the shared hard disk expansion cabinet is an attribute of a storage cluster, and usually two storage devices with the same home group cannot exist in the same storage cluster.
IN an alternative implementation manner, an IN port is added IN an expansion cabinet node of a hard disk expansion cabinet with an IN port and an OUT port respectively, so that two groups of IN ports and one group of OUT ports exist on a single hard disk expansion cabinet. Then creating a physical connection channel for the additionally added group of IN ports and the bottom management chip of the main board, so that the group of IN ports can normally perform data communication; the model identification (such as shared hard disk expansion cabinet) of the hard disk expansion cabinet after the IN port is changed is used for distinguishing the hard disk expansion cabinet from the common hard disk expansion cabinet. At this time, after the storage cluster detects the hard disk expansion cabinet with access, the identification of the hard disk expansion cabinet model is checked, whether the storage cluster is a common hard disk expansion cabinet or a shared hard disk expansion cabinet is judged, if the storage cluster is detected as the common hard disk expansion cabinet, the original management and control logic is still used for managing and controlling, and if the storage cluster is detected as the shared hard disk expansion cabinet, the shared hard disk expansion cabinet of the nano tube is subjected to attribution configuration, namely, storage nodes of the storage cluster to which the shared hard disk expansion cabinet of the nano tube belongs are grouped, so that an attribution group of the shared hard disk expansion cabinet is obtained. It can be understood that adding an IN port IN the expansion cabinet node is only an example, and the number of newly added IN ports or the data of newly added OUT ports can be adjusted according to the actual application requirements.
Step S202, when the first type case is satisfied between the shared hard disk expansion cabinet and the home group, generating indication information of successful configuration.
In this embodiment, after the home configuration is performed on the managed shared hard disk expansion cabinet to obtain the home group of the shared hard disk expansion cabinet, the storage trunking communication participated by the shared hard disk expansion cabinet may be managed and controlled, and when the first type case is satisfied between the shared hard disk expansion cabinet and the home group, the indication information of successful configuration is generated. The indication information of successful configuration is used for indicating that partial case reminding exists but service issuing can be performed. That is, in this embodiment, when a part of case alert exists between the shared hard disk expansion cabinet and the home group (for example, when the connection between the shared hard disk expansion cabinet and the storage node in the home group is incomplete and the case alert is triggered), the service can still be issued, so that the situation that when one centralized storage device fails to work abnormally, the hard disk expansion cabinet connected to the centralized storage device is also invisible in the storage cluster and becomes an offline state, and the data stored in the hard disk expansion cabinet cannot be used by a user, and the reliability of the storage cluster is reduced can be avoided.
Optionally, the first type of case satisfied between the shared hard disk expansion cabinet and the home group may be that all storage nodes in the home group are connected to the shared hard disk expansion cabinet, and/or when a part of storage nodes in the home group are connected to the shared hard disk expansion cabinet and the connection number of a part of storage nodes and the shared hard disk expansion cabinet is greater than or equal to a threshold value. That is, the shared hard disk expansion cabinet is in an online state, and all storage nodes connected with the shared hard disk expansion cabinet can communicate with the shared hard disk expansion cabinet, so that the shared hard disk expansion cabinet and the attribution group are judged to meet the first type of case; and/or the part of the storage nodes connected with the shared hard disk expansion cabinet can communicate with the shared hard disk expansion cabinet, and the connection number of the part of the storage nodes connected with the shared hard disk expansion cabinet is greater than or equal to a threshold value, and at the moment, the situation that the shared hard disk expansion cabinet and the attribution group meet the first type of cases is judged. The threshold is the number of connections meeting the communication requirement, and can be adjusted according to actual requirements.
According to the storage cluster management and control method provided by the embodiment, the home configuration is carried out on the shared hard disk expansion cabinet of the nano-tube to obtain the home group of the shared hard disk expansion cabinet, the shared hard disk expansion cabinet is a hard disk expansion cabinet for expanding the node communication path of the expansion cabinet, and a necessary condition is provided for the follow-up management and control of the shared hard disk expansion cabinet; when the first type of case is met between the shared hard disk expansion cabinet and the attribution group, generating indication information which is configured successfully, wherein the indication information which is configured successfully is used for indicating that part of case reminding exists but service issuing can be performed, so that the situation that in a storage cluster, when one centralized storage device is abnormally unavailable, the hard disk expansion cabinet connected to the centralized storage device is also invisible in the storage cluster and becomes an offline state, and the data stored on the hard disk expansion cabinet is unavailable to a user correspondingly, and the reliability of the storage cluster is reduced is avoided; the shared hard disk expansion cabinet can be used for improving the reliability and the disk space utilization rate of the centralized storage cluster in a non-dual-activity environment.
In this embodiment, a storage cluster management and control method is provided, which may be used for the shared hard disk expansion cabinet described above, and fig. 3 is a flowchart of a storage cluster management and control method according to an embodiment of the present invention, as shown in fig. 3, where the flowchart includes the following steps:
Step S301, carrying out attribution configuration on the shared hard disk expansion cabinet of the nano tube to obtain an attribution group of the shared hard disk expansion cabinet.
Please refer to step S201 in the embodiment shown in fig. 2 in detail, which is not described herein.
Step S302, when the first type case is satisfied between the shared hard disk expansion cabinet and the home group, generating indication information of successful configuration.
Specifically, the step S302 includes:
step S3021, obtaining the connection numbers of all storage nodes in the home group and the shared hard disk expansion cabinet.
In this embodiment, the number of connections between the storage node and the shared hard disk expansion cabinet in the home group is obtained to determine whether the shared hard disk expansion cabinet and the home group satisfy the first type case.
In step S3022, when all storage nodes in the home group are connected to the shared hard disk expansion cabinet, it is determined that the shared hard disk expansion cabinet and the home group satisfy the first type case.
In this embodiment, when all storage nodes in the home group are connected to the shared hard disk expansion cabinet, that is, the shared hard disk expansion cabinet is in an online state and can perform normal communication, it is determined that the shared hard disk expansion cabinet and the home group satisfy the first type case.
Taking a communication path between two shared hard disk expansion cabinets (a first shared hard disk expansion cabinet and a second shared hard disk expansion cabinet) and a storage four-control cluster as an example, wherein each shared hard disk expansion cabinet is a hard disk expansion cabinet with two groups of IN ports and one group of OUT ports, and storage nodes of the storage four-control cluster are divided into two attribution groups (a first attribution group and a second attribution group, and the first attribution group and the second attribution group comprise two storage nodes such as a first storage node and a second storage node); the first expansion cabinet node and the second expansion cabinet node of the first shared hard disk expansion cabinet and the second shared hard disk expansion cabinet respectively comprise two IN ports and an OUT port, and each of the two OUT ports of each storage node IN the first attribution group and the second attribution group is respectively connected with one IN port IN each expansion cabinet node IN the first shared hard disk expansion cabinet and the second shared hard disk expansion cabinet. The 4 IN ports of each shared hard disk expansion cabinet are therefore normally connected to and communicate with 4 storage nodes. At this time, there is a first communication environment Case1, case1: when 4 storage nodes can see the shared hard disk expansion cabinet, the state of the shared hard disk expansion cabinet is judged to be online, at the moment, the command for configuring the shared hard disk expansion cabinet attribution group can be normally executed, error reporting information is avoided, and the shared hard disk expansion cabinet attribution group can be seen to be successfully set by checking the command.
It can be understood that the communication paths between the two shared hard disk expansion cabinets and the storage four-control cluster are only examples, and can be adjusted according to actual requirements.
In step S3023, when part of the storage nodes in the angel group are connected to the shared hard disk expansion cabinet and the connection number of the part of the storage nodes and the shared hard disk expansion cabinet is greater than or equal to a threshold value, it is determined that the shared hard disk expansion cabinet and the attribution group satisfy the first type case.
In this embodiment, only a part of storage nodes in the home group may be connected to the shared hard disk expansion cabinet, and when the number of connections between a part of storage nodes and the shared hard disk expansion cabinet is greater than or equal to a threshold, it is determined that the first type case is satisfied between the shared hard disk expansion cabinet and the home group. The threshold is the number of connections meeting the communication requirement, and can be adjusted according to actual requirements.
For example, the description is based on the above examples:
second communication environment Case2, case2: when 3 storage nodes can see the shared hard disk expansion cabinet, the state of the shared hard disk expansion cabinet is judged to be degraded, the storage cluster management interface has an alarm to prompt that the current link of the shared hard disk expansion cabinet is abnormal, and when a command for configuring the attribution group of the shared hard disk expansion cabinet is executed at the moment, if the configured attribution group is the attribution group of which both the two storage nodes can see the shared hard disk expansion cabinet, the command can be normally executed, and meanwhile, the command is prompted to indicate that the storage nodes in the other attribution group xxx are not completely connected with the shared hard disk expansion cabinet, and the fault exists and needs to be removed as soon as possible, and the successful configuration of the attribution group of the shared hard disk expansion cabinet can be seen through checking the command.
Third communication environment Case3, case3: when 3 storage nodes can see the shared hard disk expansion cabinet, the state of the shared hard disk expansion cabinet is judged to be degraded, the storage cluster management interface has an alarm to prompt that the current link of the shared hard disk expansion cabinet is abnormal, and when a command for configuring the attribution group of the shared hard disk expansion cabinet is executed at the moment, if the configured attribution group is a attribution group which can be seen by one storage node, the command can be normally executed, and simultaneously prompts that 'the connection between the storage node in the current attribution group xxx and the shared hard disk expansion cabinet is incomplete, the fault exists, the connection between the storage node in the current attribution group xxx and the shared hard disk expansion cabinet needs to be removed as soon as possible, and the connection between the storage node in the other attribution group xxx and the shared hard disk expansion cabinet is complete and the priority use is recommended', and the successful configuration of the attribution group of the shared hard disk expansion cabinet can be seen through checking the command.
Fourth communication environment Case4, case4: when 2 storage nodes can see the shared hard disk expansion cabinet and the two storage nodes are in the same attribution group, the state of the shared hard disk expansion cabinet is judged to be degraded, a storage cluster management interface gives an alarm to prompt that the current link of the shared hard disk expansion cabinet is abnormal, and when a command for configuring the attribution group of the shared hard disk expansion cabinet is executed at the moment, if the configured attribution group is the attribution group of the shared hard disk expansion cabinet which can be seen by the two storage nodes, the command can be normally executed, meanwhile, the fact that the connection between the storage nodes in the other attribution group xxx and the shared hard disk expansion cabinet is incomplete, faults exist and need to be eliminated as soon as possible is prompted, and the success configuration of the attribution group of the shared hard disk expansion cabinet can be seen by checking the command.
Sixth communication environment Case6, case6: when 2 storage nodes can see the shared hard disk expansion cabinet and the two storage nodes are in different attribution groups, the state of the shared hard disk expansion cabinet is judged to be degraded, a storage cluster management interface gives an alarm to prompt that the current shared hard disk expansion cabinet link is abnormal, and when a command for configuring the attribution group of the shared hard disk expansion cabinet is executed at the moment, the command can be normally executed, and simultaneously prompts that 'the connection between the storage nodes in all the current attribution groups and the shared hard disk expansion cabinet is incomplete, faults exist and the fault is suggested to be eliminated as soon as possible', and the successful setting of the attribution group of the shared hard disk expansion cabinet can be seen through checking the command.
Seventh communication environment Case7, case7: when only 1 storage node can see the shared hard disk expansion cabinet, the state of the shared hard disk expansion cabinet is judged to be degraded, the storage cluster management interface can give an alarm to prompt that the current link of the shared hard disk expansion cabinet is abnormal, and when a command for configuring the attribution group of the shared hard disk expansion cabinet is executed at the moment, if the attribution group is the attribution group of which the storage node can see the shared hard disk expansion cabinet, the command can be normally executed, and meanwhile, the command is prompted to indicate that the connection between the storage node and the shared hard disk expansion cabinet in the current attribution group xxx is incomplete, has a fault and needs to be removed as soon as possible, and the successful setting of the attribution group of the shared hard disk expansion cabinet can be seen through checking the command.
In general, when the number of connections between the storage nodes and the shared hard disk expansion cabinet is greater than or equal to a threshold, there is a situation that, for example, the storage nodes in one of the two home groups can be normally configured to communicate, and the storage nodes in the other home group have incomplete connection; or a situation in which the storage nodes in each of the two home groups are not fully connected, but are normally configurable for communication.
Therefore, in this embodiment, when a part of storage nodes connected with the shared hard disk expansion cabinet can communicate with the shared hard disk expansion cabinet, and the connection number of the part of storage nodes connected with the shared hard disk expansion cabinet is greater than or equal to a threshold, it is determined that a part of case reminding exists between the shared hard disk expansion cabinet and the home group, service delivery can still be performed; therefore, the situation that in the storage cluster, after one piece of centralized storage equipment is abnormal and cannot work, the hard disk expansion cabinet connected to the storage cluster is invisible in the storage cluster and becomes an offline state, and the corresponding data stored on the hard disk expansion cabinet cannot be used by a user, so that the reliability of the storage cluster is reduced is avoided.
Step S303, when the connection of the storage nodes connected with the shared hard disk expansion cabinet is abnormal or the connection number is smaller than the threshold value, switching the attribution group of the shared hard disk expansion cabinet to another attribution group.
In this embodiment, when the connection abnormality or the connection number of the storage nodes connected to the shared hard disk expansion cabinet is smaller than the threshold, the home group of the shared hard disk expansion cabinet is switched to another home group, so as to perform normal service delivery.
And step S304, when all the storage nodes in the attribution group connected with the shared hard disk expansion cabinet are restored to be connected, or the connection number is larger than or equal to a threshold value, switching the shared hard disk expansion cabinet from another attribution group to an attribution group.
In this embodiment, when all the storage nodes in the home group connected to the shared hard disk expansion cabinet resume connection or the connection number is greater than or equal to the threshold, the shared hard disk expansion cabinet is switched from another home group to the home group, so as to issue the service.
For example, the following description is given based on the example in step S302:
after the configuration of the home group of the shared hard disk expansion cabinet is finished, if the environment information accords with the conditions described in Case1, case2, case3 or Case6, assuming that the home group is 0, and the other home group is 1, the management and control and data service of the home group are issued from the home group 0 preferentially, and the data service received on the storage node of the home group 1 is transferred to the storage node of the shared hard disk expansion cabinet home group 0 for data service issuing; simultaneously, an OUT port on a storage node can regularly send heartbeat detection signals to check the states of a link and an IN port IN an expansion cabinet node, when a storage cluster detects that all physical links between a home group 0 and a shared hard disk expansion cabinet are abnormal, corresponding alarm information is prompted on a management interface of the storage cluster, the home group of the shared hard disk expansion cabinet is temporarily changed into a home group 1, at the moment, data service is transferred to the storage node of the home group 1 for issuing, after the abnormality is removed, the link is recovered to be normal, the storage cluster can change the home group of the shared hard disk expansion cabinet back to the home group 0; if the storage cluster detects that the physical link between the home group 1 and the shared hard disk expansion cabinet is abnormal, the corresponding alarm information is only prompted at the management interface of the storage cluster, the home group of the shared hard disk expansion cabinet is not changed, and the data service is still issued from the home group 0.
It can be seen that, the priority of the current home group is greater than the priority of another home group, the service is issued from the storage nodes in the home group with highest priority, only when part of the storage nodes in the home group with high priority are all connected abnormally or the connection number is smaller than the threshold value, that is, the normal issuing of the service cannot be performed, the service is switched to the home group with second priority, the storage nodes in the home group with highest priority still can be switched back to perform the service issuing after the home group with highest priority returns to normal, and when the physical link between the storage nodes in the home group with second priority and the shared hard disk expansion cabinet is abnormal, the corresponding alarm information is prompted only in the management interface of the storage cluster, the home group of the shared hard disk expansion cabinet is not changed, and the data service is still issued from the home group with highest priority.
Step S305, when there is a connection failure of some storage nodes in the home group connected to the shared hard disk expansion cabinet, adding a storage node to which the home group resumes connection, and/or resuming connection of another home group to the shared hard disk expansion cabinet.
The connection fault is used for representing that no storage node is connected to the shared hard disk expansion cabinet, or the connection number of the rest storage nodes and the shared hard disk expansion cabinet is smaller than a threshold value.
For example, the following description is given based on the example in step S302:
if the environment information accords with the conditions described in Case4 or Case7, assuming that the attribution group is 0, the other group is 1, controlling and controlling data service aiming at the environment information can be issued from the attribution group 0 only, and at the moment, the storage cluster management interface has the information such as the connection of the currently shared hard disk expansion cabinet with a single attribution group, reliability loss and the like, and at the moment, if the storage nodes in the attribution group 0 are all disconnected with the nodes of the shared hard disk expansion cabinet, the storage cluster cannot change the attribution group of the shared hard disk expansion cabinet, and the user side shows that the service is interrupted in progress; when the storage cluster detects that at least one storage node is in recovery connection with a node of the shared hard disk expansion cabinet, if the storage node in the recovery connection contains a storage node in the attribution group 0, the shared hard disk expansion cabinet is in recovery connection with the storage cluster, data read-write service is provided for the shared hard disk expansion cabinet, if the storage node in the recovery connection does not contain the storage node in the attribution group 0, the storage cluster changes the attribution group 0 of the shared hard disk expansion cabinet into the attribution group 1, so that the shared hard disk expansion cabinet is in recovery connection with the storage cluster, and data read-write service is continuously provided for the storage cluster.
According to the storage cluster management and control method provided by the embodiment, the home configuration is carried out on the shared hard disk expansion cabinet of the nano-tube to obtain the home group of the shared hard disk expansion cabinet, the shared hard disk expansion cabinet is a hard disk expansion cabinet for expanding the node communication path of the expansion cabinet, and a necessary condition is provided for the follow-up management and control of the shared hard disk expansion cabinet; when the first type of case is met between the shared hard disk expansion cabinet and the attribution group, generating indication information which is configured successfully, wherein the indication information which is configured successfully is used for indicating that part of case reminding exists but service issuing can be performed, so that the situation that in a storage cluster, when one centralized storage device is abnormally unavailable, the hard disk expansion cabinet connected to the centralized storage device is also invisible in the storage cluster and becomes an offline state, and the data stored on the hard disk expansion cabinet is unavailable to a user correspondingly, and the reliability of the storage cluster is reduced is avoided; the shared hard disk expansion cabinet can be used for improving the reliability and the disk space utilization rate of the centralized storage cluster in a non-dual-activity environment. When the connection abnormality or the connection number of part of storage nodes connected with the shared hard disk expansion cabinet is smaller than the threshold value, the attribution group of the shared hard disk expansion cabinet is switched to another attribution group, and when the connection restoration or the connection number of part of storage nodes in the attribution group connected with the shared hard disk expansion cabinet is larger than or equal to the threshold value, the shared hard disk expansion cabinet is switched to the attribution group from the other attribution group so as to ensure the normal issuing of the storage cluster service. When a connection fault exists in part of storage nodes in the attribution group connected with the shared hard disk expansion cabinet, the storage nodes in the attribution group for recovering the connection and/or the connection between the other attribution group and the shared hard disk expansion cabinet are added, so that the reliability and the disk space utilization rate of the centralized storage cluster are improved.
In this embodiment, a storage cluster management and control method is provided, which may be used for the shared hard disk expansion cabinet described above, and fig. 4 is a flowchart of a storage cluster management and control method according to an embodiment of the present invention, as shown in fig. 4, where the flowchart includes the following steps:
step S401, carrying out attribution configuration on the shared hard disk expansion cabinet of the nano tube to obtain an attribution group of the shared hard disk expansion cabinet.
Please refer to step S201 in the embodiment shown in fig. 2 in detail, which is not described herein.
Step S402, when the shared hard disk expansion cabinet and the attribution group meet the first type of case, generating indication information of successful configuration.
Please refer to step S302 in the embodiment shown in fig. 3 in detail, which is not described herein.
Step S403, when the shared hard disk expansion cabinet and the attribution group meet the second type of case, generating indication information of configuration failure.
In this embodiment, after the home configuration is performed on the managed shared hard disk expansion cabinet to obtain the home group of the shared hard disk expansion cabinet, the storage trunking communication participated by the shared hard disk expansion cabinet may be managed and controlled, and when the second type case is satisfied between the shared hard disk expansion cabinet and the home group, the indication information of the configuration failure is generated. The configuration failure indication information is used for indicating the configuration failure of the home group of the shared hard disk expansion cabinet. Namely, the configuration between the shared hard disk expansion cabinet and the home group in the embodiment fails, and data communication and corresponding service delivery cannot be performed.
In an alternative embodiment, when a part of storage nodes in the angel group are connected to the shared hard disk expansion cabinet and the connection number of the part of storage nodes and the shared hard disk expansion cabinet is smaller than a threshold value, it is determined that the second type of case is satisfied between the shared hard disk expansion cabinet and the attribution group.
For example, the following description is given based on the example in step S302:
fifth communication environment Case5, case5: when 2 storage nodes can see the shared hard disk expansion cabinet and the two storage nodes are in the same attribution group, the state of the shared hard disk expansion cabinet is judged to be degraded, a storage cluster management interface gives an alarm to prompt that the current link of the shared hard disk expansion cabinet is abnormal, and when a command for configuring the attribution group of the shared hard disk expansion cabinet is executed at the moment, if the configured attribution group is that the two storage nodes cannot see the attribution group of the shared hard disk expansion cabinet, the command cannot be executed, and meanwhile, the command is prompted to indicate that 'the selected attribution group xxx is not connected with the shared hard disk expansion cabinet', and the configuration failure of the attribution group of the shared hard disk expansion cabinet can be seen through checking the command.
Eighth communication environment Case8, case8: when only 1 storage node can see the shared hard disk expansion cabinet, judging that the state of the shared hard disk expansion cabinet is degraded, and when a command for configuring the home group of the shared hard disk expansion cabinet is executed at the moment, if the configured home group is zero storage nodes and can see the home group of the shared hard disk expansion cabinet, the command cannot be executed, and meanwhile, the command is prompted to 'no connection with the shared hard disk expansion cabinet in the selected home group xxx', and the configuration failure of the home group of the shared hard disk expansion cabinet can be seen through checking the command.
According to the storage cluster management and control method provided by the embodiment, after the home configuration is carried out on the shared hard disk expansion cabinet of the nano-tube to obtain the home group of the shared hard disk expansion cabinet, the storage cluster communication participated by the shared hard disk expansion cabinet can be managed and controlled, and when the first type of case is met between the shared hard disk expansion cabinet and the home group, the indication information of successful configuration is generated. The indication information of successful configuration is used for indicating that partial case reminding exists but service issuing can be performed. In other words, in the storage cluster, when a part of case reminding exists between the shared hard disk expansion cabinet and the home group, service delivery can still be performed, so that the situation that when one centralized storage device is abnormally unavailable in the storage cluster, the hard disk expansion cabinet connected to the centralized storage device is also invisible in the storage cluster and becomes an offline state, and the data stored on the hard disk expansion cabinet is unavailable to a user correspondingly, and the reliability of the storage cluster is reduced is avoided. When part of storage nodes in the attribution group are connected to the shared hard disk expansion cabinet and the connection number of part of storage nodes and the shared hard disk expansion cabinet is smaller than a threshold value, determining that the shared hard disk expansion cabinet and the attribution group meet the second type of cases, and generating indication information of configuration failure when the shared hard disk expansion cabinet and the attribution group meet the second type of cases so as to remind a user whether to carry out attribution configuration of the shared hard disk expansion cabinet again.
In this embodiment, a storage cluster management and control method is provided, which may be used for the shared hard disk expansion cabinet described above, and fig. 5 is a flowchart of a storage cluster management and control method according to an embodiment of the present invention, as shown in fig. 5, where the flowchart includes the following steps:
step S501, carrying out attribution configuration on the shared hard disk expansion cabinet of the nano tube to obtain an attribution group of the shared hard disk expansion cabinet.
Please refer to step S201 in the embodiment shown in fig. 2 in detail, which is not described herein.
Step S502, when the shared hard disk expansion cabinet and the attribution group meet the first type of case, generating indication information of successful configuration.
Please refer to step S302 in the embodiment shown in fig. 3 in detail, which is not described herein.
Step S503, when the shared hard disk expansion cabinet and the attribution group meet the second type of case, generating indication information of configuration failure.
Please refer to step S505 in the embodiment shown in fig. 4 in detail, which is not described herein.
Step S504, when the shared hard disk expansion cabinet is in an idle state, storing the data in the shared hard disk expansion cabinet.
In this embodiment, when the shared hard disk expansion cabinet is in an idle state, the data in the shared hard disk expansion cabinet is stored, so as to avoid the loss or reset of useful data in the shared hard disk expansion cabinet when the shared hard disk expansion cabinet is not used any more.
And step S505, deleting all information of the shared hard disk expansion cabinet of the nano tube, and removing the nano tube of the shared hard disk expansion cabinet.
In this embodiment, by deleting all the information of the shared hard disk expansion cabinet of the nanotube, the resources of each storage node of the storage cluster are released; the shared hard disk expansion cabinet is relieved, so that occupation of the shared hard disk expansion cabinet is relieved when the shared hard disk expansion cabinet is not used, and reliability of a storage cluster and disk space utilization are improved.
Step S506, when the connection between the shared hard disk expansion cabinet of the nano tube and each storage node in the attribution group still exists, the state of the shared hard disk expansion cabinet is set to be in a waiting state.
In this embodiment, when the connection between the shared hard disk expansion cabinet and each storage node in the home group still exists, the state of the shared hard disk expansion cabinet is set to be in a standby state, so that the subsequent nanotubes can be conveniently or the nanotubes can be conveniently released.
And S507, when the connection between the shared hard disk expansion cabinet of the nano tube and each storage node in the attribution group is disconnected, setting the state of the shared hard disk expansion cabinet to be an invisible state.
In this embodiment, when the connection between the shared hard disk expansion cabinet and each storage node in the home group is disconnected, the state of the shared hard disk expansion cabinet is set to be an invisible state, so as to avoid an error caused by a failure of the storage cluster to perform the nanotubes on the visible storage nodes.
In an alternative implementation manner, when the storage cluster does not use the shared hard disk expansion cabinet any more, the storage cluster management system needs to store the useful data in the shared hard disk expansion cabinet, delete the volumes, the RAIDs and the pools related to the shared hard disk expansion cabinet on the storage cluster management system, and finally execute the instruction of unmanaging, if the storage cluster management system detects that the volumes, the RAIDs or the pools related to the shared hard disk expansion cabinet still exist, the unmanaging instruction cannot be executed, and prompt an operator to check the resource information again; after management is successfully removed, if the connection lines between the shared hard disk expansion cabinet and each storage node still exist, the hard disk expansion cabinet is visible on a storage group management system in a to-be-managed mode, cannot be subjected to service operation, and can only be subjected to service operation after the home group is newly managed and set; if the connection between the shared hard disk expansion cabinet and each storage node is removed, the shared hard disk expansion cabinet is not visible on the storage cluster management system.
According to the storage cluster management and control method provided by the embodiment, after the home configuration is carried out on the shared hard disk expansion cabinet of the nano-tube to obtain the home group of the shared hard disk expansion cabinet, the storage cluster communication participated by the shared hard disk expansion cabinet can be managed and controlled, and when the first type of case is met between the shared hard disk expansion cabinet and the home group, the indication information of successful configuration is generated. The indication information of successful configuration is used for indicating that partial case reminding exists but service issuing can be performed. In other words, in the storage cluster, when a part of case reminding exists between the shared hard disk expansion cabinet and the home group, service delivery can still be performed, so that the situation that when one centralized storage device is abnormally unavailable in the storage cluster, the hard disk expansion cabinet connected to the centralized storage device is also invisible in the storage cluster and becomes an offline state, and the data stored on the hard disk expansion cabinet is unavailable to a user correspondingly, and the reliability of the storage cluster is reduced is avoided. When part of storage nodes in the attribution group are connected to the shared hard disk expansion cabinet and the connection number of part of storage nodes and the shared hard disk expansion cabinet is smaller than a threshold value, determining that the shared hard disk expansion cabinet and the attribution group meet the second type of cases, and generating indication information of configuration failure when the shared hard disk expansion cabinet and the attribution group meet the second type of cases so as to remind a user whether to carry out attribution configuration of the shared hard disk expansion cabinet again. When the shared hard disk expansion cabinet is in an idle state, the data in the shared hard disk expansion cabinet is stored, so that the loss or reset of useful data in the shared hard disk expansion cabinet is avoided when the shared hard disk expansion cabinet is not used any more. Deleting all information of the shared hard disk expansion cabinet of the nano tube to release resources of each storage node of the storage cluster; the shared hard disk expansion cabinet is relieved, so that occupation of the shared hard disk expansion cabinet is relieved when the shared hard disk expansion cabinet is not used, and reliability of a storage cluster and disk space utilization are improved. When the connection between the shared hard disk expansion cabinet and each storage node in the attribution group still exists, the state of the shared hard disk expansion cabinet is set to be in a waiting state so as to facilitate the subsequent nano-tube or release the nano-tube. When the connection between the shared hard disk expansion cabinet and each storage node in the attribution group is disconnected, the state of the shared hard disk expansion cabinet is set to be an invisible state, so that errors caused by the failure of the nanotubes when the storage cluster performs the nanotubes on the visible storage nodes are avoided.
The embodiment also provides a storage cluster management and control device, which is used for implementing the foregoing embodiments and preferred embodiments, and is not described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
The present embodiment provides a storage cluster management and control device, as shown in fig. 6, including:
the home group configuration module 601 is configured to perform home configuration on the managed shared hard disk expansion cabinet, so as to obtain a home group of the shared hard disk expansion cabinet.
The shared hard disk expansion cabinet is a hard disk expansion cabinet for expanding the node communication path of the expansion cabinet.
The configuration information indicating module 602 is configured to generate indication information of successful configuration when the shared hard disk expansion cabinet and the home group satisfy the first type case.
The indication information of successful configuration is used for indicating that partial case reminding exists but service issuing can be performed.
In some alternative embodiments, the configuration information indication module 602 includes:
The type case determining unit is used for obtaining the connection number of the storage nodes in the attribution group and the shared hard disk expansion cabinet; and if the connection number is greater than or equal to the threshold value, determining that the shared hard disk expansion cabinet and the attribution group meet the first type of case.
Optionally, when all storage nodes in the angel group are connected to the shared hard disk expansion cabinet, determining that the shared hard disk expansion cabinet and the attribution group meet the first type case.
Optionally, when a part of storage nodes in the angelica genus group are connected to the shared hard disk expansion cabinet and the connection number of the part of storage nodes and the shared hard disk expansion cabinet is greater than or equal to a threshold value, determining that the shared hard disk expansion cabinet and the attribution group meet the first type of case.
The home group switching unit is used for switching the home group of the shared hard disk expansion cabinet into another home group when all the partial storage nodes connected with the shared hard disk expansion cabinet are connected abnormally or the connection number is smaller than a threshold value;
and when all the storage nodes in the attribution group connected with the shared hard disk expansion cabinet are restored to be connected, or the connection number is larger than or equal to a threshold value, switching the shared hard disk expansion cabinet from another attribution group to the attribution group.
And the home group recovery unit is used for adding the storage nodes of the home group recovery connection and/or recovering the connection of another home group and the shared hard disk expansion cabinet when the connection fault exists in part of the storage nodes of the home group connected with the shared hard disk expansion cabinet.
The connection fault is used for representing that no storage node is connected to the shared hard disk expansion cabinet, or the connection number of the rest storage nodes and the shared hard disk expansion cabinet is smaller than a threshold value.
In some alternative embodiments, the configuration information indicating module 602 is further configured to generate the indication information of the configuration failure when the second type case is satisfied between the shared hard disk expansion cabinet and the home group.
The indication information of the configuration failure is used for indicating the configuration failure of the attribution group of the shared hard disk expansion cabinet.
The type case determining unit is further configured to determine that the shared hard disk expansion cabinet and the home group satisfy the second type case when a part of the storage nodes in the home group are connected to the shared hard disk expansion cabinet and the connection number of the part of the storage nodes and the shared hard disk expansion cabinet is less than a threshold value.
In some optional embodiments, the apparatus further includes a shared hard disk expansion cabinet management module, where the shared hard disk expansion cabinet management module is configured to store data in the shared hard disk expansion cabinet when the shared hard disk expansion cabinet is in an idle state; deleting all information of the shared hard disk expansion cabinet of the nano tube, and removing the nano tube of the shared hard disk expansion cabinet; when the connection between the shared hard disk expansion cabinet of the nano tube and each storage node in the attribution group still exists, setting the state of the shared hard disk expansion cabinet as a waiting tube state; and when the connection between the shared hard disk expansion cabinet of the nano tube and each storage node in the attribution group is disconnected, the state of the shared hard disk expansion cabinet is set to be an invisible state.
The storage cluster management device in this embodiment is presented in the form of functional units, where the units refer to ASIC circuits, processors and memories executing one or more software or firmware programs, and/or other devices that can provide the functionality described above.
Further functional descriptions of the above respective modules and units are the same as those of the above corresponding embodiments, and are not repeated here.
The embodiment of the invention also provides computer equipment, which is provided with the storage cluster management and control device shown in the figure 6.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a computer device according to an alternative embodiment of the present invention, as shown in fig. 7, the computer device includes: one or more processors 10, memory 20, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are communicatively coupled to each other using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions executing within the computer device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface. In some alternative embodiments, multiple processors and/or multiple buses may be used, if desired, along with multiple memories and multiple memories. Also, multiple computer devices may be connected, each providing a portion of the necessary operations (e.g., as a server array, a set of blade servers, or a multiprocessor system). One processor 10 is illustrated in fig. 7.
The processor 10 may be a central processor, a network processor, or a combination thereof. The processor 10 may further include a hardware chip, among others. The hardware chip may be an application specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general-purpose array logic, or any combination thereof.
Wherein the memory 20 stores instructions executable by the at least one processor 10 to cause the at least one processor 10 to perform a method for implementing the embodiments described above.
The memory 20 may include a storage program area that may store an operating system, at least one application program required for functions, and a storage data area; the storage data area may store data created from the use of the computer device of the presentation of a sort of applet landing page, and the like. In addition, the memory 20 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, memory 20 may optionally include memory located remotely from processor 10, which may be connected to the computer device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk, or solid state disk; the memory 20 may also comprise a combination of the above types of memories.
The computer device also includes a communication interface 30 for the computer device to communicate with other devices or communication networks.
The embodiments of the present invention also provide a computer readable storage medium, and the method according to the embodiments of the present invention described above may be implemented in hardware, firmware, or as a computer code which may be recorded on a storage medium, or as original stored in a remote storage medium or a non-transitory machine readable storage medium downloaded through a network and to be stored in a local storage medium, so that the method described herein may be stored on such software process on a storage medium using a general purpose computer, a special purpose processor, or programmable or special purpose hardware. The storage medium can be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, a solid state disk or the like; further, the storage medium may also comprise a combination of memories of the kind described above. It will be appreciated that a computer, processor, microprocessor controller or programmable hardware includes a storage element that can store or receive software or computer code that, when accessed and executed by the computer, processor or hardware, implements the methods illustrated by the above embodiments.
Although embodiments of the present invention have been described in connection with the accompanying drawings, various modifications and variations may be made by those skilled in the art without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope of the invention as defined by the appended claims.

Claims (10)

1. A storage cluster management and control method, the method comprising:
performing attribution configuration on the shared hard disk expansion cabinet of the nano tube to obtain an attribution group of the shared hard disk expansion cabinet; the shared hard disk expansion cabinet is a hard disk expansion cabinet for expanding the node communication path of the expansion cabinet;
and when the shared hard disk expansion cabinet and the attribution group meet the first type of cases, generating indication information of successful configuration.
2. The method of claim 1, wherein determining that the shared hard disk extension cabinet and home group satisfy a first type of instance comprises:
acquiring the connection number of all storage nodes in the attribution group and the shared hard disk expansion cabinet;
when all storage nodes in the home group are connected to the shared hard disk expansion cabinet, determining that a first type case is satisfied between the shared hard disk expansion cabinet and the home group;
and/or when part of storage nodes in the angelica genus group are connected to the shared hard disk expansion cabinet, and the connection number of the part of storage nodes and the shared hard disk expansion cabinet is greater than or equal to a threshold value, determining that the shared hard disk expansion cabinet and the attribution group meet a first type case.
3. The method of claim 2, wherein after determining that the home group of the shared hard disk expansion cabinet satisfies a first type of instance, the method further comprises:
when the connection of the storage nodes in the attribution group connected with the shared hard disk expansion cabinet is abnormal or the connection number is smaller than a threshold value, switching the attribution group of the shared hard disk expansion cabinet into another attribution group;
and when the connection of the storage nodes in the attribution group connected with the shared hard disk expansion cabinet is restored, or the connection number is larger than or equal to a threshold value, switching the shared hard disk expansion cabinet from another attribution group to the attribution group.
4. The method of claim 3, wherein after determining that the home group of the shared hard disk expansion cabinet satisfies a first type of instance, the method further comprises:
when a connection fault exists in part of storage nodes in the attribution group connected with the shared hard disk expansion cabinet, adding the storage nodes in the attribution group for restoring connection, and/or restoring the connection between the other attribution group and the shared hard disk expansion cabinet;
and the connection fault is used for representing that no storage node is connected to the shared hard disk expansion cabinet, or the connection number of the rest storage nodes and the shared hard disk expansion cabinet is smaller than a threshold value.
5. The method of claim 1, wherein after home configuration of the shared hard disk expansion cabinet of the nanotube, the method further comprises:
and when the shared hard disk expansion cabinet and the attribution group meet the second type of case, generating indication information of configuration failure.
6. The method of claim 5, wherein determining that the second type of instance is satisfied between the shared hard drive expansion cabinet and a home group comprises:
and when part of storage nodes in the attribution group are connected to the shared hard disk expansion cabinet, and the connection number of the part of storage nodes and the shared hard disk expansion cabinet is smaller than a threshold value, determining that the shared hard disk expansion cabinet and the attribution group meet a second type case.
7. The method according to any one of claims 1 to 6, further comprising:
when the shared hard disk expansion cabinet is in an idle state, storing data in the shared hard disk expansion cabinet;
deleting all information of the shared hard disk expansion cabinet of the nano tube, and removing the nano tube of the shared hard disk expansion cabinet;
when the connection between the shared hard disk expansion cabinet of the nano tube and each storage node in the attribution group still exists, setting the state of the shared hard disk expansion cabinet as a waiting state;
And when the connection between the shared hard disk expansion cabinet of the nano tube and each storage node in the attribution group is disconnected, the state of the shared hard disk expansion cabinet is set to be an invisible state.
8. A storage cluster management and control device, the device comprising:
the home group configuration module is used for carrying out home configuration on the shared hard disk expansion cabinet of the nano tube so as to obtain a home group of the shared hard disk expansion cabinet; the shared hard disk expansion cabinet is a hard disk expansion cabinet for expanding the node communication path of the expansion cabinet;
and the configuration information indicating module is used for generating indication information of successful configuration when the first type of case is satisfied between the shared hard disk expansion cabinet and the attribution group.
9. A computer device, comprising:
a memory and a processor in communication with each other, the memory having stored therein computer instructions which, upon execution, cause the processor to perform the method of any of claims 1 to 7.
10. A computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method of any one of claims 1 to 7.
CN202310504733.8A 2023-05-06 2023-05-06 Storage cluster management and control method, device, equipment and storage medium Pending CN116540940A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310504733.8A CN116540940A (en) 2023-05-06 2023-05-06 Storage cluster management and control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310504733.8A CN116540940A (en) 2023-05-06 2023-05-06 Storage cluster management and control method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116540940A true CN116540940A (en) 2023-08-04

Family

ID=87451785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310504733.8A Pending CN116540940A (en) 2023-05-06 2023-05-06 Storage cluster management and control method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116540940A (en)

Similar Documents

Publication Publication Date Title
US11809291B2 (en) Method and apparatus for redundancy in active-active cluster system
US3787816A (en) Multiprocessing system having means for automatic resource management
CN110807064B (en) Data recovery device in RAC distributed database cluster system
RU2614569C2 (en) Rack with automatic recovery function and method of automatic recovery for this rack
CN109143954B (en) System and method for realizing controller reset
CN114355760A (en) Main control station and hot standby redundancy control method thereof
CN1322422C (en) Automatic startup of cluster system after occurrence of recoverable error
CN111124728A (en) Automatic service recovery method, system, readable storage medium and server
CN112199240A (en) Method for switching nodes during node failure and related equipment
CN108170507B (en) Virtual application management method/system, computer readable storage medium and server
CN101206596A (en) Method for restoration of system operation
CN114189429A (en) System, method, device and medium for monitoring server cluster faults
KR102415027B1 (en) Backup recovery method for large scale cloud data center autonomous operation
CN110968456B (en) Method and device for processing fault disk in distributed storage system
CN116540940A (en) Storage cluster management and control method, device, equipment and storage medium
CN114500327B (en) Detection method and detection device for server cluster and computing equipment
CN110413686B (en) Data writing method, device, equipment and storage medium
CN111090491B (en) Virtual machine task state recovery method and device and electronic equipment
CN106020975A (en) Data operation method, device and system
US11249868B2 (en) Method of fault management in a network of nodes and associated part of network of nodes
CN113238893A (en) Disaster recovery system, method, computer device and medium for multiple data centers
CN112131201A (en) Method, system, equipment and medium for high availability of network additional storage
CN110022220A (en) Routing Activiation method and system in business card recognition
CN109218129A (en) A kind of upgrade detection method based on log, device, memory and equipment
CN114978891B (en) Processing method, device and storage medium for BIOS configuration of network device

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