CN114827181B - Storage method, equipment, device and medium of super-fusion storage equipment - Google Patents

Storage method, equipment, device and medium of super-fusion storage equipment Download PDF

Info

Publication number
CN114827181B
CN114827181B CN202210763997.0A CN202210763997A CN114827181B CN 114827181 B CN114827181 B CN 114827181B CN 202210763997 A CN202210763997 A CN 202210763997A CN 114827181 B CN114827181 B CN 114827181B
Authority
CN
China
Prior art keywords
data storage
node
storage
virtual machine
data
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.)
Active
Application number
CN202210763997.0A
Other languages
Chinese (zh)
Other versions
CN114827181A (en
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.)
Great Wall Chaoyun Beijing Technology Co ltd
Original Assignee
Great Wall Chaoyun Beijing 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 Great Wall Chaoyun Beijing Technology Co ltd filed Critical Great Wall Chaoyun Beijing Technology Co ltd
Priority to CN202210763997.0A priority Critical patent/CN114827181B/en
Publication of CN114827181A publication Critical patent/CN114827181A/en
Application granted granted Critical
Publication of CN114827181B publication Critical patent/CN114827181B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • 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]
    • 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/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application provides a storage method, equipment, a device and a medium of super-fusion storage equipment, belonging to the technical field of data storage, wherein the data storage main node comprises the following steps: respectively sending load information acquisition signals to at least one data storage secondary node; receiving first load information fed back by each data storage secondary node; judging whether the data storage secondary node has a fault or not according to the operation load information fed back by the data storage secondary node; if the data storage secondary node with the fault is determined, generating a data migration instruction aiming at the first target data storage node so that the first target data storage node copies at least one virtual machine image created on the data storage secondary node with the fault to the first target data storage node for continuous operation, and stores data processed by the at least one virtual machine image copied to the first target data storage node into the storage unit. So as to achieve the effect of improving the working stability of the super fusion equipment.

Description

Storage method, equipment, device and medium of super-fusion storage equipment
Technical Field
The present application relates to the field of data storage technologies, and in particular, to a storage method, device, apparatus, and medium for a super-fusion storage device.
Background
The super-fusion cloud platform architecture adopts distributed storage to fuse the local storage hard disk on each computing node with computing capacity, so that the super-fusion platform has both high available computing capacity and high available storage capacity.
In the prior art, a plurality of computing nodes are aggregated through network connection, and when a certain node in a super-fusion cloud platform architecture has a problem, a storage hard disk on the node cannot work, so that data storage and extraction of the whole super-fusion platform are wrong, and the whole super-fusion system is down.
Disclosure of Invention
In view of this, an object of the present application is to provide a storage method, device, apparatus and medium for a super-fusion storage device, which can solve the problem in the prior art that a problem occurs in a certain node and the whole super-fusion system cannot work by connecting a plurality of data storage nodes with the same storage unit, so as to achieve the effect of improving the stability of the super-fusion storage device.
In a first aspect, an embodiment of the present application provides a storage method for a super-fusion storage device, where the method includes: the super-fusion storage device comprises a storage unit and at least two data storage nodes, wherein the at least two data storage nodes are respectively connected with the storage unit, any two data storage nodes are electrically connected through a data bus, the at least two data storage nodes comprise a data storage main node and at least one data storage auxiliary node, at least one virtual machine is created in each node in advance, and the data storage main node executes the following processing: respectively sending a load information acquisition signal to the at least one data storage secondary node; receiving first load information fed back by each data storage secondary node, wherein the first load information fed back by each data storage secondary node comprises running load information of at least one virtual machine created on the data storage secondary node; for each data storage secondary node, judging whether the data storage secondary node has a fault or not according to the operation load information fed back by the data storage secondary node; if the data storage secondary node with the fault is determined, generating a data migration instruction aiming at the first target data storage node so that the first target data storage node copies at least one virtual machine image created on the data storage secondary node with the fault to the first target data storage node for continuous operation, and stores data processed by the at least one virtual machine image copied to the first target data storage node into the storage unit.
Optionally, the first target data storage node comprises any one of: the data storage primary node and any other data storage secondary node except the data storage secondary node with the fault in the at least one data storage secondary node.
Optionally, the data storage master node further performs the following processing: sending second load information of the primary data storage node to at least one first target secondary data storage node, wherein the second load information comprises running load information of at least one virtual machine created on the primary data storage node; each data storage secondary node is preset with a priority, and a first target data storage secondary node with the highest priority in the at least one first target data storage secondary node executes the following processing: judging whether the data storage main node has a fault according to the second load information of the data storage main node; if the data storage main node has a fault, sending a fault confirmation signal to a second target data storage node, wherein the fault confirmation signal is used for indicating whether the data storage main node has the fault or not, and the second target data storage node comprises at least two items of the following items: the data storage main node and at least one second target data storage secondary node comprise other data storage secondary nodes except the first target data storage node with the highest priority; receiving a fault judgment result of a second target data storage node on the data storage main node; determining the operating state of the data storage main node according to the fault judgment results of the data storage main node and a second target data storage node; and if the operating state of the data storage main node is determined to be a fault, copying at least one virtual machine mirror image created on the data storage main node to a first target data storage secondary node with the highest priority, and determining the first target data storage secondary node with the highest priority as the data storage main node.
Optionally, after receiving the first load information fed back by each data storage secondary node, the data storage primary node further performs the following processing: receiving data to be stored; determining second load information of the data storage master node, wherein the second load information comprises running load information of at least one virtual machine created on the data storage master node; for each virtual machine in all the data storage nodes, determining whether the virtual machine meets load operation conditions or not according to the operation load information of the virtual machine; for a virtual machine which does not meet the load operation condition, data to be stored is not distributed to the virtual machine; and aiming at the virtual machines meeting the load operation condition, determining a target virtual machine with the lowest load occupancy rate, and distributing the data to be stored to the target virtual machine.
Optionally, each data storage node includes a corresponding storage hard disk, each data storage secondary node is preset with a priority, the data migration instruction includes a node identifier of the failed data storage secondary node, and the first target data storage node performs the following processing: responding to the data migration instruction, and sending a virtual machine mirror image instruction to the data storage secondary node indicated by the node identification and having the fault; the failed data storage secondary node performs the following processing: responding to the virtual machine mirroring instruction, sending creation information of at least one virtual machine created on the failed data storage secondary node to a first target data storage node, and sending data processed by the virtual machine stored on a storage hard disk of the failed data storage secondary node to the first target data storage node; the first target data storage node further performs the following: mirroring and copying at least one virtual machine on a failed data storage secondary node on a first target data storage node according to the received creation information, and storing the received data processed by the virtual machine into a storage hard disk of the first target data storage node; after all the virtual machines created on the first target data storage node are processed, sending the data stored in the storage hard disk of the first target data storage node to the storage unit for storage.
Optionally, each data storage node includes a corresponding storage hard disk, and the data storage master node further performs the following processing: storing a copy of the received data to be stored in a storage hard disk of the data storage main node; when the data storage node where the target virtual machine is located is a data storage secondary node, the target virtual machine further executes the following processing: receiving and processing the distributed data to be stored; storing the processed data into a storage hard disk of a data storage secondary node where the target virtual machine is located, and sending a storage confirmation signal to the data storage primary node; storing the processed data in the storage hard disk of the data storage secondary node where the target virtual machine is located into the storage unit; wherein the data storage master node further performs the following: and deleting the copy of the data to be stored saved in the storage hard disk of the data storage main node in response to the storage confirmation signal.
Optionally, when the data storage node where the target virtual machine is located is a data storage master node, the target virtual machine further executes the following processing: processing the distributed data to be stored; storing the processed data into a storage hard disk of the data storage main node; storing the processed data in the storage hard disk of the data storage main node into the storage unit; and deleting the copy of the data to be stored, which is stored in the storage hard disk of the data storage main node.
In a second aspect, an embodiment of the present application further provides a super-fusion storage device, where the device includes: the storage device comprises a shell, a storage unit and at least two data storage nodes, wherein the shell comprises a front panel and four side plates, the front panel and the four side plates form an accommodating space, the storage unit comprises a plurality of storage disks, the front panel comprises a plurality of disk slots, each storage disk is inserted into a corresponding disk slot in the plurality of disk slots, the at least two data storage nodes are placed in the accommodating space and are respectively connected with the plurality of storage disks, any two data storage nodes are electrically connected through a data bus, the at least two data storage nodes comprise a data storage main node and at least one data storage auxiliary node, at least one virtual machine is created in each node in advance, and the data storage main node executes the steps of the storage method of the super-fusion storage device.
In a third aspect, a storage apparatus of a super-fusion storage device includes a storage unit and at least two data storage nodes, where the at least two data storage nodes are respectively connected to the storage unit, any two data storage nodes are electrically connected through a data bus, the at least two data storage nodes include a data storage master node and at least one data storage slave node, each node has at least one virtual machine created in advance, and the data storage master node includes: and the load information acquisition signal sending module is used for respectively sending load information acquisition signals to the at least one data storage secondary node.
The load information receiving module is used for receiving first load information fed back by each data storage secondary node, and the first load information fed back by each data storage secondary node comprises running load information of at least one virtual machine created on the data storage secondary node.
And the data storage secondary node fault judgment module is used for judging whether the data storage secondary node has a fault or not according to the operation load information fed back by the data storage secondary node aiming at each data storage secondary node.
And if the data migration module determines that the failed data storage secondary node exists, a data migration instruction for the first target data storage node is generated, so that the first target data storage node copies the image of the at least one virtual machine created on the failed data storage secondary node to the first target data storage node for continuous operation, and stores the data processed by the at least one virtual machine copied to the first target data storage node into the storage unit.
In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the storage method of the super-fusion storage device.
Compared with the storage method of the super-fusion equipment in the prior art, the storage method, the storage device and the storage medium of the super-fusion storage equipment provided by the embodiment of the application solve the problem that a whole super-fusion system cannot work due to the fact that a certain node in the prior art is in a problem by respectively connecting a plurality of data storage nodes with the same storage unit, and achieve the effect of improving the working stability of the super-fusion equipment.
In order to make the aforementioned objects, features and advantages of the present application comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a flowchart of a storage method of a super-fusion storage device according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a super-converged memory device according to an embodiment of the present application;
FIG. 3 is a schematic structural diagram of a storage apparatus of a super-fusion storage device according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. Every other embodiment that can be obtained by a person skilled in the art without making creative efforts based on the embodiments of the present application falls within the protection scope of the present application.
First, an application scenario to which the present application is applicable will be described. The application can be applied to the field of data storage.
Research shows that in the prior art, a plurality of computing nodes are aggregated through network connection, and when a certain node in a super-fusion cloud platform architecture has a problem, a storage hard disk on the node cannot work, so that data storage and extraction of the whole super-fusion platform are wrong, and the whole super-fusion system is down.
Based on this, the embodiment of the application provides a storage method of a super-fusion storage device, so as to solve the problem that a certain node in the prior art fails to work, which may result in the failure of the whole super-fusion system, and achieve the effect of improving the stability of the super-fusion device in working.
Referring to fig. 1, fig. 1 is a flowchart illustrating a storage method of a super-fusion storage device according to an embodiment of the present disclosure.
The super-fusion storage device comprises a storage unit and at least two data storage nodes, wherein the at least two data storage nodes are respectively connected with the storage unit, the at least two data storage nodes are electrically connected through a data bus, the at least two data storage nodes comprise a data storage main node and at least one data storage auxiliary node, and at least one virtual machine is created in each node in advance. Wherein the storage unit is composed of a plurality of storage disks.
As shown in fig. 1, in a storage method of a super-fusion storage device provided in an embodiment of the present application, a data storage master node performs the following processing:
and S101, respectively sending a load information acquisition signal to the at least one data storage secondary node.
Here, each data transmission secondary node receives the load information acquisition signal, and sends the operation load information of at least one virtual machine created on the data transmission secondary node to the data transmission primary node.
S102, receiving first load information fed back by each data storage secondary node.
Wherein the first load information fed back by each data storage secondary node comprises the running load information of at least one virtual machine created on the data storage secondary node.
Here, the operation load information includes: CPU core occupancy rate, memory occupancy rate, transmission network occupancy rate and the like.
Optionally, after the step of receiving the first load information fed back by each data storage secondary node, the data storage primary node further performs the following processing: acquiring second load information of the data storage main node, wherein the second load information comprises running load information of at least one virtual machine established on the data storage main node; judging whether the operation load information meets a load condition or not aiming at each operation load information, wherein the operation load information comprises the operation load information of at least one virtual machine established on a data storage main node and the operation load information of at least one virtual machine established on at least one data storage secondary node; if the operation load information does not meet the load condition aiming at each operation load information, not distributing the data to be stored to the virtual machine corresponding to the operation load information; and for each piece of operation load information, if the operation load information meets the load condition, distributing the data to be stored to the virtual machine with the lowest load.
For example, the load condition may be a CPU core occupancy below eighty percent, a memory occupancy below eighty percent, and a transport network occupancy below eighty percent.
Therefore, the data to be stored can be transmitted to the virtual machine with the lowest load for calculation and storage according to the running load information of each virtual machine.
S103, judging whether the data storage secondary node has a fault or not according to the operation load information fed back by the data storage secondary node aiming at each data storage secondary node.
For example, when the network occupancy rate of the operation load information is greater than 95 percent, it may be considered that the virtual machine has a failure, and other virtual machines on the data storage secondary node where the virtual machine is located also have a failure.
And S104, if the failed data storage secondary node is determined, generating a data migration instruction for the first target data storage node, so that the first target data storage node copies the at least one virtual machine image created on the failed data storage secondary node to the first target data storage node for continuous operation, and stores the data processed by the at least one virtual machine image copied to the first target data storage node into the storage unit.
The data storage main node comprises a storage hard disk, each data storage secondary node comprises a storage hard disk, and each data storage secondary node is preset with a priority.
Specifically, the step of copying at least one virtual machine image created on the failed data storage secondary node to the target data storage node for continuous operation includes: acquiring second load information of the data storage main node, wherein the second load information comprises running load information of at least one virtual machine established on the data storage main node; determining a target data storage node according to the running load information of at least one virtual machine created on the data storage main node, the running load information of at least one virtual machine created on at least one data storage secondary node and the priority of each data storage secondary node; copying at least one virtual machine mirror image created on the failed data storage secondary node, and copying data in a storage hard disk on the failed data storage secondary node; and copying at least one virtual machine mirror image on the failed data storage secondary node to a target data storage node, and copying data in a storage hard disk on the failed data storage secondary node to a storage hard disk of the target data storage node.
Optionally, the data storage master node further performs the following processing: the method comprises the steps that copies of data to be stored distributed to a data storage main node and at least one data storage secondary node are stored in the data storage main node; when the data storage node where the virtual machine with the lowest load is located is the data storage secondary node, the virtual machine with the lowest load further executes the following processing: receiving data to be stored distributed by the data transmission main node; calculating the data to be processed; storing the calculated data into a storage hard disk of a data storage secondary node where the virtual machine with the lowest load is located, and sending a storage confirmation signal to the data storage main node; and storing the data in the storage hard disk into the storage unit.
Wherein the data storage master node further performs the following: and deleting the copy of the data to be stored distributed to the virtual machine with the lowest load in response to the storage confirmation signal sent by the virtual machine with the lowest load.
Optionally, the data storage master node includes a storage hard disk, and when the data storage node where the virtual machine with the lowest load is located is the data storage master node, the virtual machine with the lowest load further executes the following processing: receiving data to be stored distributed by the data transmission main node; calculating the data to be processed; storing the calculated data into a storage hard disk of a data storage secondary node where the virtual machine with the lowest load is located, and sending a storage confirmation signal to the data storage main node; and storing the data in the storage hard disk into the storage unit.
Wherein the data storage master node further performs the following: and deleting the copies of the data to be stored distributed to the virtual machine with the lowest load in response to the storage confirmation signal sent by the virtual machine with the lowest load.
Optionally, the data storage master node further performs the following processing: sending second load information of the primary data storage node to at least one first target secondary data storage node, the second load information comprising operational load information of at least one virtual machine created on the primary data storage node.
The priority is preset in at least one first target data storage secondary node, and the first target data storage secondary node with the highest priority executes the following processing: judging whether the data storage main node has a fault according to the second load information of the data storage main node; if the data storage main node has a fault, sending second load information of the data storage main node to at least two second target data storage nodes, wherein the second target data storage nodes comprise the data storage main node and second target data storage secondary nodes, and the second target data storage secondary nodes comprise other data storage secondary nodes except for the first target data storage node with the highest priority; receiving the judgment results of the at least two second target data storage nodes on the load information of the data storage main node; determining whether the data storage main node has a fault according to the judgment results of the at least two second target data storage nodes; and if the data storage main node is determined to have a fault, copying the mirror image of at least one virtual machine on the data storage main node to the first target storage secondary node, and determining the first target data storage secondary node as the data storage main node.
According to the storage method of the super-fusion storage device, the plurality of data storage nodes are respectively connected with the same storage unit, the problem that a certain node in the prior art cannot work due to the fact that the certain node is in a problem is solved, and the effect of improving the working stability of the super-fusion storage device is achieved.
Referring to fig. 2, fig. 2 is a schematic diagram of a super-fusion memory device according to an embodiment of the present disclosure. As shown in fig. 2, a super-fusion storage device provided in an embodiment of the present application includes: a housing 201, a disk slot 202, and a front panel 203.
The housing 201 includes a front panel and four side plates, the front panel and the four side plates form an accommodating space, at least two data storage nodes (not shown in the figure) are disposed in the accommodating space, and the storage unit is disposed on the front panel 203.
The storage unit comprises a plurality of storage disks, the front panel comprises a plurality of disk slots 202, each storage disk is inserted into a corresponding disk slot 202 in the plurality of disk slots, at least two data storage nodes (not shown in the figure) are placed in the accommodating space and are respectively connected with the plurality of storage disks, and any two data storage nodes are electrically connected through a data bus.
The at least two data storage nodes (not shown in the figure) comprise a data storage primary node and at least one data storage secondary node, each node is pre-created with at least one virtual machine, and the data storage primary node executes the steps of the super-fusion data storage method.
The super-fusion storage equipment provided by the embodiment of the application can solve the problem that the whole super-fusion system cannot work due to the fact that a certain node in the prior art is in a problem by respectively connecting a plurality of data storage nodes with the same storage unit, and achieves the effect of improving the working stability of the super-fusion equipment.
Based on the same inventive concept, the embodiment of the present application further provides a storage apparatus of a super-fusion storage device corresponding to the storage method of the super-fusion storage device, and as the principle of the apparatus in the embodiment of the present application for solving the problem is similar to the storage method of the super-fusion storage device described above in the embodiment of the present application, the implementation of the apparatus may refer to the implementation of the method, and repeated details are not repeated.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a memory device of a super-fusion memory apparatus according to an embodiment of the present disclosure. As shown in fig. 3, the super-fusion storage device includes a storage unit and at least two data storage nodes, where the at least two data storage nodes are respectively connected to the storage unit, any two data storage nodes are electrically connected through a data bus, the at least two data storage nodes include a data storage primary node and at least one data storage secondary node, each node has at least one virtual machine created therein in advance, and the storage apparatus 300 of the super-fusion storage device includes:
a load information obtaining signal sending module 301, configured to send a load information obtaining signal to the at least one data storage secondary node respectively;
a load information receiving module 302, configured to receive first load information fed back by each data storage secondary node, where the first load information fed back by each data storage secondary node includes operation load information of at least one virtual machine created on the data storage secondary node;
a data storage secondary node fault determining module 303, configured to determine, for each data storage secondary node, whether the data storage secondary node has a fault according to the operation load information fed back by the data storage secondary node;
if it is determined that there is a failed data storage secondary node, the data migration module 304 generates a data migration instruction for the first target data storage node, so that the first target data storage node copies the at least one virtual machine created on the failed data storage secondary node to the first target data storage node in an image manner to continue to operate, and stores the data processed by the at least one virtual machine copied to the first target data storage node in the storage unit.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 4, the electronic device 400 includes a processor 410, a memory 420, and a bus 430.
The memory 420 stores machine-readable instructions executable by the processor 410, when the electronic device 400 runs, the processor 410 communicates with the memory 420 through the bus 430, and when the machine-readable instructions are executed by the processor 410, the steps of the storage method of the super-fusion storage device in the method embodiment shown in fig. 1 may be executed.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the step of the storage method for a super-fusion storage device in the method embodiment shown in fig. 1 may be executed.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solutions of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the exemplary embodiments of the present application, and are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (9)

1. The storage method of the super-fusion storage device is characterized in that the super-fusion storage device comprises a storage unit and at least two data storage nodes, the at least two data storage nodes are respectively connected with the storage unit, any two data storage nodes are electrically connected through a data bus, the at least two data storage nodes comprise a data storage main node and at least one data storage auxiliary node, at least one virtual machine is created in each node in advance, and the data storage main node executes the following processing:
respectively sending load information acquisition signals to the at least one data storage secondary node;
receiving first load information fed back by each data storage secondary node, wherein the first load information fed back by each data storage secondary node comprises running load information of at least one virtual machine created on the data storage secondary node;
for each data storage secondary node, judging whether the data storage secondary node has a fault or not according to the operation load information fed back by the data storage secondary node;
if the data storage secondary node with the fault is determined, generating a data migration instruction aiming at the first target data storage node so that the first target data storage node copies at least one virtual machine image created on the data storage secondary node with the fault to the first target data storage node for continuous operation, and stores data processed by the at least one virtual machine image copied to the first target data storage node into a storage unit;
after receiving the first load information fed back by each data storage secondary node, the data storage primary node further executes the following processing:
receiving data to be stored;
determining second load information of the data storage master node, wherein the second load information comprises running load information of at least one virtual machine created on the data storage master node;
for each virtual machine in all the data storage nodes, determining whether the virtual machine meets load operation conditions or not according to the operation load information of the virtual machine;
for a virtual machine which does not meet the load operation condition, data to be stored is not distributed to the virtual machine;
and aiming at the virtual machines meeting the load operation conditions, determining the target virtual machine with the lowest load occupancy rate, and distributing the data to be stored to the target virtual machine.
2. The method of claim 1, wherein the first target data storage node comprises any one of:
any one of the primary data storage node and the at least one secondary data storage node except the failed secondary data storage node.
3. The method of claim 1, wherein the data storage master node further performs the following:
sending second load information of the primary data storage node to at least one first target secondary data storage node, wherein the second load information comprises running load information of at least one virtual machine created on the primary data storage node;
each data storage secondary node is preset with a priority, and a first target data storage secondary node with the highest priority in the at least one first target data storage secondary node executes the following processing:
judging whether the data storage main node has a fault or not according to second load information of the data storage main node;
if the data storage main node has a fault, sending a fault confirmation signal to a second target data storage node, wherein the fault confirmation signal is used for indicating whether the data storage main node has the fault or not, and the second target data storage node comprises at least two items of the following items: the data storage main node and at least one second target data storage secondary node comprise other data storage secondary nodes except the first target data storage node with the highest priority;
receiving a fault judgment result of a second target data storage node on the data storage main node;
determining the operating state of the data storage main node according to the fault judgment results of the data storage main node and a second target data storage node;
and if the operating state of the data storage main node is determined to be a fault, copying at least one virtual machine mirror image created on the data storage main node to a first target data storage secondary node with the highest priority, and determining the first target data storage secondary node with the highest priority as the data storage main node.
4. The method of claim 1, wherein each data storage node comprises a corresponding storage hard disk, each secondary data storage node is pre-set with a priority, the data migration instruction comprises a node identification of the failed secondary data storage node,
wherein the first target data storage node performs the following:
responding to the data migration instruction, and sending a virtual machine mirror image instruction to the data storage secondary node indicated by the node identification and having the fault;
the failed data storage secondary node performs the following processing:
responding to the virtual machine mirroring instruction, sending creation information of at least one virtual machine created on the failed data storage secondary node to a first target data storage node, and sending data processed by the virtual machine stored on a storage hard disk of the failed data storage secondary node to the first target data storage node;
the first target data storage node further performs the following:
mirroring and copying at least one virtual machine on a failed data storage secondary node on a first target data storage node according to the received creation information, and storing the received data processed by the virtual machine into a storage hard disk of the first target data storage node;
after all the virtual machines created on the first target data storage node are processed, sending the data stored in the storage hard disk of the first target data storage node to the storage unit for storage.
5. The method of claim 1, wherein each data storage node comprises a corresponding storage hard disk, and wherein the data storage master node further performs the following:
storing a copy of the received data to be stored in a storage hard disk of the data storage main node;
when the data storage node where the target virtual machine is located is a data storage secondary node, the target virtual machine further executes the following processing:
receiving and processing the distributed data to be stored;
storing the processed data into a storage hard disk of a data storage secondary node where the target virtual machine is located, and sending a storage confirmation signal to the data storage primary node;
storing the processed data in the storage hard disk of the data storage secondary node where the target virtual machine is located into the storage unit;
wherein the data storage master node further performs the following:
and deleting the copy of the data to be stored saved in the storage hard disk of the data storage main node in response to the storage confirmation signal.
6. The method according to claim 5, wherein when the data storage node where the target virtual machine is located is a data storage master node, the target virtual machine further performs the following processing:
processing the distributed data to be stored;
storing the processed data into a storage hard disk of the data storage main node;
storing the processed data in the storage hard disk of the data storage main node into the storage unit;
and deleting the copy of the data to be stored, which is stored in the storage hard disk of the data storage main node.
7. A super-converged storage device, the device comprising: the storage unit comprises a shell, a storage unit and at least two data storage nodes, wherein the shell comprises a front panel and four side plates which form an accommodating space,
the storage unit comprises a plurality of storage disks, the front panel comprises a plurality of disk slots, each storage disk is inserted into a corresponding disk slot in the plurality of disk slots, the at least two data storage nodes are placed in the accommodating space and are respectively connected with the plurality of storage disks, any two data storage nodes are electrically connected through a data bus,
the at least two data storage nodes comprise a data storage primary node and at least one data storage secondary node, at least one virtual machine is pre-created in each node, and the data storage primary node executes the steps of the method according to any one of claims 1 to 6.
8. The storage device of the super-fusion storage device is characterized in that the super-fusion storage device comprises a storage unit and at least two data storage nodes, the at least two data storage nodes are respectively connected with the storage unit, any two data storage nodes are electrically connected through a data bus, the at least two data storage nodes comprise a data storage main node and at least one data storage auxiliary node, at least one virtual machine is created in each node in advance, and the data storage main node comprises:
the load information acquisition signal sending module is used for respectively sending load information acquisition signals to the at least one data storage secondary node;
the load information receiving module is used for receiving first load information fed back by each data storage secondary node, wherein the first load information fed back by each data storage secondary node comprises running load information of at least one virtual machine established on the data storage secondary node;
the data storage secondary node fault judging module is used for judging whether the data storage secondary node has a fault or not according to the operation load information fed back by the data storage secondary node aiming at each data storage secondary node;
the data migration module is used for generating a data migration instruction aiming at the first target data storage node if the data storage secondary node with the fault is determined, so that the first target data storage node copies the at least one virtual machine created on the data storage secondary node with the fault to the first target data storage node for continuous operation in a mirror mode, and stores data processed by the at least one virtual machine copied to the first target data storage node into the storage unit;
after receiving first load information fed back by each data storage secondary node, the load information receiving module is further configured to receive data to be stored; determining second load information of the data storage master node, wherein the second load information comprises running load information of at least one virtual machine created on the data storage master node; for each virtual machine in all the data storage nodes, determining whether the virtual machine meets load operation conditions or not according to the operation load information of the virtual machine; for a virtual machine which does not meet the load operation condition, data to be stored is not distributed to the virtual machine; and aiming at the virtual machines meeting the load operation conditions, determining the target virtual machine with the lowest load occupancy rate, and distributing the data to be stored to the target virtual machine.
9. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, is adapted to carry out the steps of the method according to any one of claims 1 to 6.
CN202210763997.0A 2022-07-01 2022-07-01 Storage method, equipment, device and medium of super-fusion storage equipment Active CN114827181B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210763997.0A CN114827181B (en) 2022-07-01 2022-07-01 Storage method, equipment, device and medium of super-fusion storage equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210763997.0A CN114827181B (en) 2022-07-01 2022-07-01 Storage method, equipment, device and medium of super-fusion storage equipment

Publications (2)

Publication Number Publication Date
CN114827181A CN114827181A (en) 2022-07-29
CN114827181B true CN114827181B (en) 2022-09-09

Family

ID=82523480

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210763997.0A Active CN114827181B (en) 2022-07-01 2022-07-01 Storage method, equipment, device and medium of super-fusion storage equipment

Country Status (1)

Country Link
CN (1) CN114827181B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104506589A (en) * 2014-12-10 2015-04-08 上海爱数软件有限公司 Resource migration scheduling method based on super fusion storage
CN110912991A (en) * 2019-11-22 2020-03-24 北京中实信息技术有限公司 Super-fusion-based high-availability implementation method for double nodes
CN111935244A (en) * 2020-07-20 2020-11-13 江苏安超云软件有限公司 Service request processing system and super-integration all-in-one machine
CN113535330A (en) * 2021-07-26 2021-10-22 北京计算机技术及应用研究所 Super-fusion system data localization storage method based on node evaluation function

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9584443B2 (en) * 2014-08-08 2017-02-28 Pismo Labs Technology Limited Methods and systems for transmitting data through an aggregated connection
US11106556B2 (en) * 2019-09-13 2021-08-31 EMC IP Holding Company LLC Data service failover in shared storage clusters

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104506589A (en) * 2014-12-10 2015-04-08 上海爱数软件有限公司 Resource migration scheduling method based on super fusion storage
CN110912991A (en) * 2019-11-22 2020-03-24 北京中实信息技术有限公司 Super-fusion-based high-availability implementation method for double nodes
CN111935244A (en) * 2020-07-20 2020-11-13 江苏安超云软件有限公司 Service request processing system and super-integration all-in-one machine
CN113535330A (en) * 2021-07-26 2021-10-22 北京计算机技术及应用研究所 Super-fusion system data localization storage method based on node evaluation function

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Toward Massive Machine Type Communications in Ultra-Dense Cellular IoT Networks: Current Issues and Machine Learning-Assisted Solutions;S.K.Sharma等;《IEEE Communications Surveys & Tutorials》;20190510;第22卷(第1期);第426-471页 *
超融合技术在钢铁行业信息化建设中的应用与探讨;王江;《工业控制计算机》;20200125;第109-111页 *

Also Published As

Publication number Publication date
CN114827181A (en) 2022-07-29

Similar Documents

Publication Publication Date Title
CN102594858A (en) Mirroring solution in cloud storage environment
CN111124755A (en) Cluster node fault recovery method and device, electronic equipment and storage medium
CN109921942B (en) Cloud platform switching control method, device and system and electronic equipment
CN110825562B (en) Data backup method, device, system and storage medium
CN102833281A (en) Method, device and system for realizing distributed automatically-increasing counting
CN105700975A (en) Heat removing method and device as well as heat adding method and device for CPUs
CN111045811A (en) Task allocation method and device, electronic equipment and storage medium
CN106815094B (en) Method and equipment for realizing transaction submission in master-slave synchronization mode
CN114554593A (en) Data processing method and device
CN113342893B (en) Node synchronization method and device based on block chain, storage medium and server
CN114827181B (en) Storage method, equipment, device and medium of super-fusion storage equipment
CN106951443B (en) Method, equipment and system for synchronizing copies based on distributed system
CN114741234A (en) Data backup storage method, equipment and system
CA2241861C (en) A scheme to perform event rollup
CN113824755A (en) Method, system and related device for processing block chain data
CN109587185B (en) Cloud storage system and object processing method in cloud storage system
CN106776142B (en) Data storage method and data storage device
CN114328033A (en) Method and device for keeping service configuration consistency of high-availability equipment group
CN106020975B (en) Data operation method, device and system
CN115470041A (en) Data disaster recovery management method and device
CN109947593B (en) Data disaster tolerance method, system, strategy arbitration device and storage medium
US10489239B2 (en) Multiplexing system, multiplexing method, and computer program product
CN111427718A (en) File backup method, recovery method and device
CN116991623B (en) Block chain node exception recovery method and device, electronic equipment and storage medium
CN115543698B (en) Data backup method, device, equipment and storage 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
GR01 Patent grant
GR01 Patent grant