CN111338852A - Method, system, equipment and medium for creating storage double live volume snapshot - Google Patents
Method, system, equipment and medium for creating storage double live volume snapshot Download PDFInfo
- Publication number
- CN111338852A CN111338852A CN202010132176.8A CN202010132176A CN111338852A CN 111338852 A CN111338852 A CN 111338852A CN 202010132176 A CN202010132176 A CN 202010132176A CN 111338852 A CN111338852 A CN 111338852A
- Authority
- CN
- China
- Prior art keywords
- snapshot
- data
- volume
- live
- double
- 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.)
- Withdrawn
Links
- 238000003860 storage Methods 0.000 title claims abstract description 98
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000014759 maintenance of location Effects 0.000 claims abstract description 30
- 238000012790 confirmation Methods 0.000 claims abstract description 17
- 230000004044 response Effects 0.000 claims abstract description 13
- 230000015654 memory Effects 0.000 claims description 33
- 230000009977 dual effect Effects 0.000 claims description 26
- 230000001360 synchronised effect Effects 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 9
- 238000001514 detection method Methods 0.000 claims description 3
- 230000006870 function Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000001680 brushing effect Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 241000700605 Viruses Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000030279 gene silencing Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 238000000844 transformation Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management of the data involved in backup or backup restore
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0614—Improving the reliability of storage systems
- G06F3/0619—Improving the reliability of storage systems in relation to data integrity, e.g. data losses, bit errors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0655—Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
- G06F3/0656—Data buffering arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Human Computer Interaction (AREA)
- Computer Security & Cryptography (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a method, a system, equipment and a storage medium for creating a snapshot of a storage double live volume, wherein the method comprises the following steps: responding to the storage triggering snapshot, and simultaneously writing the data in the cache into two storages containing double live volumes; recording data received by the double live volumes, and judging whether two confirmation characters sent by storage are received or not; in response to receiving confirmation characters issued by the two storages, creating a snapshot data pointer table based on the recorded data; and synchronizing the snapshot data pointer table to the two stores to form the snapshot volume. The method, the system, the equipment and the medium for creating and storing the double-live-volume snapshot synchronize the snapshot data pointer table to the two storages to form the snapshot volume, so that the snapshot of the double-live-volume can be created and the data consistency can be kept on the two storages of the double-live-volume simultaneously.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, a system, a computer device, and a readable medium for creating a snapshot of a storage dual live volume.
Background
With the development of novel technologies such as cloud computing and big data, the security requirement of storage of a large amount of data is higher and higher, in order to guarantee security, a large amount of applications begin to use a dual-active mode to guarantee the security of the data, and the dual-active mode can guarantee that when one device fails, services are not affected, but if both storage devices fail or when the data is damaged by manual misoperation, virus damage and the like, the data will be lost, so that very serious consequences are caused.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, a system, a computer device, and a computer readable storage medium for creating a snapshot storing dual live volumes, where the snapshot of the dual live volumes can be implemented by synchronizing a snapshot data pointer table to two storages to form a snapshot volume, and the snapshot of the dual live volumes is created and kept consistent with data on the two storages of the dual live volumes at the same time.
Based on the above object, an aspect of the embodiments of the present invention provides a method for creating a snapshot storing dual live volumes, including the following steps: responding to the storage triggering snapshot, and simultaneously writing the data in the cache into two storages containing double live volumes; recording the data received by the double live volumes, and judging whether the confirmation characters sent by the two storages are received or not; in response to receiving confirmation characters issued by the two storages, creating a snapshot data pointer table based on the recorded data; and synchronizing the snapshot data pointer table to the two stores to form a snapshot volume.
In some embodiments, further comprising: and in response to the completion of the creation of the snapshot volume, writing the newly received data into the snapshot volume and updating the snapshot data pointer table.
In some embodiments, further comprising: and checking whether the two stored snapshot data pointer tables are synchronous in real time.
In some embodiments, further comprising: in response to there being multiple sets of dual live volumes, each set of dual live volumes is associated and assigned a corresponding identifier.
In another aspect of the embodiments of the present invention, a system for creating a snapshot storing dual live volumes is further provided, including: the write-in module is configured to respond to the storage triggering snapshot and write the data in the cache into two storages including the double live volumes simultaneously; the judging module is configured to record the data received by the double live volumes and judge whether the confirmation characters sent by the two storages are received or not; the creating module is configured to respond to receiving confirmation characters sent by the two storages and create a snapshot data pointer table based on recorded data; and a synchronization module configured to synchronize the snapshot data pointer table to the two stores to form a snapshot volume.
In some embodiments, further comprising: and the updating module is configured to respond to the completion of the creation of the snapshot volume, write the newly received data into the snapshot volume, and update the snapshot data pointer table.
In some embodiments, further comprising: and the detection module is configured to check whether the two stored snapshot data pointer tables are synchronous in real time.
In some embodiments, further comprising: and the allocation module is configured for responding to the existence of the plurality of groups of double live volumes, establishing association of each group of double live volumes and allocating corresponding identifiers.
In another aspect of the embodiments of the present invention, there is also provided a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method as above.
In a further aspect of the embodiments of the present invention, a computer-readable storage medium is also provided, in which a computer program for implementing the above method steps is stored when the computer program is executed by a processor.
The invention has the following beneficial technical effects: the snapshot of the double live volume can be realized by synchronizing the snapshot data pointer table to the two storages to form the snapshot volume, and the snapshot of the double live volume is created and keeps data consistent on the two storages of the double live volume at the same time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
FIG. 1 is a diagram illustrating an embodiment of a method for creating a snapshot storing dual live volumes according to the present invention;
fig. 2 is a schematic diagram of a hardware structure of an embodiment of the computer apparatus for creating a snapshot storing double live volumes according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
In view of the above-mentioned objects, a first aspect of the embodiments of the present invention proposes an embodiment of a method for creating a snapshot storing dual live volumes. FIG. 1 is a diagram illustrating an embodiment of a method for creating a storage dual live-volume snapshot according to the present invention. As shown in fig. 1, the embodiment of the present invention includes the following steps:
s1, responding to the storage triggering snapshot, and writing the data in the cache into two storages containing double live volumes simultaneously;
s2, recording the data received by the double live rolls, and judging whether two confirmation characters sent by storage are received or not;
s3, responding to the received confirmation characters sent by the two storages, and creating a snapshot data pointer table based on the recorded data; and
s4, synchronizing the snapshot data pointer table to two storages to form a snapshot volume.
The dual live storage device is constructed and configured and connected to a host, and a complete application system is deployed on the host, wherein the application system can contain a single dual live volume or a plurality of dual live volumes. And configuring a host plug-in module on a host where the application is positioned, and configuring relevant information including a multi-path mode, the number of the double live volumes and information corresponding to the application. In some embodiments, further comprising: in response to there being multiple sets of dual live volumes, each set of dual live volumes is associated and assigned a corresponding identifier. If the application system includes a plurality of double live volumes and the application system has a requirement for consistency of data of the volumes, the double live volumes need to be configured into the snapshot consistency group, and the synchronization number, the synchronization requirement and the application information of the volumes belonging to the snapshot consistency group are marked, so that subsequent management is facilitated.
And in response to the storage triggering snapshot, simultaneously writing the data in the cache into two storages comprising the double live volumes. When the snapshot operation is triggered by storage, the host plug-in receives the information for creating the snapshot and performs IO (input/output) silencing on the application, and at the moment, the application cannot perform reading and writing in a short time. The host plug-in writes the written data in the memory down to the memory for storage.
And recording the data received by the double live volumes, and judging whether the confirmation characters sent by the two storages are received or not. After the storage receives that the cache is refreshed, the double-active snapshot module records the information of refreshing the double active volume, waits for the two memories of the double active volume to complete writing, and feeds back ACK (Acknowledge character) information.
In response to receiving two store-issued acknowledgement characters, a snapshot data pointer table is created based on the recorded data. After receiving the ACK information, the double-live snapshot module creates a snapshot data pointer table.
The snapshot data pointer table is synchronized to the two stores to form the snapshot volume. The snapshot data pointer table can be synchronized to the two double-live storage devices, at this time, the snapshot is completed, the snapshot time nodes on the two double-live storage devices are consistent, and the snapshot data pointer table is consistent.
In some embodiments, further comprising: and in response to the completion of the creation of the snapshot volume, writing the newly received data into the snapshot volume and updating the snapshot data pointer table. And storing the IO of the subsequent lower brushing of the double live volumes, respectively brushing the IO into the two stored snapshot volumes by the principle of ROW (Redirect-On-Write), and updating the snapshot data pointer table after the Write is finished.
In some embodiments, further comprising: and checking whether the two stored snapshot data pointer tables are synchronous in real time. And the two double-live-stored snapshot data pointer tables are also synchronized and checked, and whether the two double-live-stored data are consistent or not is checked in real time.
In some embodiments, it is further included that tuning can be done when there are multiple dual live rolls. If one application adopts a plurality of sets of double-live storage, namely 4 or even more double-live storage can be used by one application, the volumes divided into the hosts need to be distinguished, the host plug-in module carries out targeted tuning, and when the plurality of sets of double-live storage exist, different storage can be divided so as not to influence each other when the double-live snapshot is created. The high-efficiency operation of the whole system is ensured, the application performance is not influenced, the operation of the implementing personnel is reduced, and the usability of the whole system is improved.
In some embodiments, further comprising setting a period of the snapshot. The snapshot time can be set through the storage interface, so that the double-live snapshot can be triggered and created at the specified time, and the host plug-in works cooperatively, thereby improving the usability and reducing the implementation workload.
The embodiment of the invention can realize the snapshot of the stored double live volumes, can establish the consistency group of the double live volume snapshot, can uniformly manage a plurality of double live volumes, and can ensure that the data in the consistency group keeps consistent time nodes. The invention also introduces the timing snapshot, and the snapshot is carried out at a fixed time point or time period according to the application requirement, so that the reliability of the data is improved. The data integrity can be guaranteed through the arrangement, the data consistency can be guaranteed, more safety guarantees can be achieved for the application with high safety requirements, the workload of implementation personnel is reduced, and the data transmission method is more efficient. By the method, the usability and the safety of the storage double-activity can be improved, the reliability of the system is improved, the method is widely applied, and the total maintenance cost can be greatly reduced.
It should be particularly noted that, the steps in the embodiments of the method for creating a storage dual live volume snapshot may be interleaved, replaced, added, or deleted, and therefore, these reasonable permutation and combination transformations to the method for creating a storage dual live volume snapshot also belong to the scope of the present invention, and should not limit the scope of the present invention to the embodiments.
In view of the above object, a second aspect of the embodiments of the present invention provides a system for creating a snapshot storing double live volumes, including: the write-in module is configured to respond to the storage triggering snapshot and write the data in the cache into two storages including the double live volumes simultaneously; the judging module is configured to record the data received by the double live volumes and judge whether the confirmation characters sent by the two storages are received or not; the creating module is configured to respond to receiving confirmation characters sent by the two storages and create a snapshot data pointer table based on recorded data; and a synchronization module configured to synchronize the snapshot data pointer table to the two stores to form a snapshot volume.
In some embodiments, further comprising: and the updating module is configured to respond to the completion of the creation of the snapshot volume, write the newly received data into the snapshot volume, and update the snapshot data pointer table.
In some embodiments, further comprising: and the detection module is configured to check whether the two stored snapshot data pointer tables are synchronous in real time.
In some embodiments, further comprising: and the allocation module is configured for responding to the existence of the plurality of groups of double live volumes, establishing association of each group of double live volumes and allocating corresponding identifiers.
In view of the above object, a third aspect of the embodiments of the present invention provides a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions being executable by the processor to perform the steps of: s1, responding to the storage triggering snapshot, and writing the data in the cache into two storages containing double live volumes simultaneously; s2, recording the data received by the double live rolls, and judging whether two confirmation characters sent by storage are received or not; s3, responding to the received confirmation characters sent by the two storages, and creating a snapshot data pointer table based on the recorded data; and S4, synchronizing the snapshot data pointer table to the two stores to form the snapshot volume.
In some embodiments, further comprising: and in response to the completion of the creation of the snapshot volume, writing the newly received data into the snapshot volume and updating the snapshot data pointer table.
In some embodiments, further comprising: and checking whether the two stored snapshot data pointer tables are synchronous in real time.
In some embodiments, further comprising: in response to there being multiple sets of dual live volumes, each set of dual live volumes is associated and assigned a corresponding identifier.
Fig. 2 is a schematic hardware structural diagram of an embodiment of the computer apparatus for creating a storage dual live-volume snapshot according to the present invention.
Taking the apparatus shown in fig. 2 as an example, the apparatus includes a processor 301 and a memory 302, and may further include: an input device 303 and an output device 304.
The processor 301, the memory 302, the input device 303 and the output device 304 may be connected by a bus or other means, and fig. 2 illustrates the connection by a bus as an example.
The memory 302 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the method of creating the storage double live volume snapshot, and the like. Further, the memory 302 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 302 optionally includes memory located remotely from processor 301, which may be connected to a local module 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.
The input device 303 may receive information such as a user name and a password that are input. The output means 304 may comprise a display device such as a display screen.
Program instructions/modules corresponding to one or more methods for creating a snapshot of a stored double live volume are stored in memory 302 and, when executed by processor 301, perform the method for creating a snapshot of a stored double live volume in any of the above-described method embodiments.
Any embodiment of a computer device executing the method for creating a storage double live-volume snapshot described above may achieve the same or similar effects as any of the preceding method embodiments corresponding thereto.
The invention also provides a computer readable storage medium storing a computer program which, when executed by a processor, performs the method as above.
Finally, it should be noted that, as one of ordinary skill in the art can appreciate that all or part of the processes of the methods of the above embodiments can be implemented by a computer program to instruct related hardware, and the program of the method for creating a snapshot storing a double live volume can be stored in a computer readable storage medium, and when executed, the program can include the processes of the embodiments of the methods described above. The storage medium of the program may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like. The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
Furthermore, the methods disclosed according to embodiments of the present invention may also be implemented as a computer program executed by a processor, which may be stored in a computer-readable storage medium. Which when executed by a processor performs the above-described functions defined in the methods disclosed in embodiments of the invention.
Further, the above method steps and system elements may also be implemented using a controller and a computer readable storage medium for storing a computer program for causing the controller to implement the functions of the above steps or elements.
Further, it should be appreciated that the computer-readable storage media (e.g., memory) herein can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. By way of example, and not limitation, nonvolatile memory can include Read Only Memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which can act as external cache memory. By way of example and not limitation, RAM is available in a variety of forms such as synchronous RAM (DRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The storage devices of the disclosed aspects are intended to comprise, without being limited to, these and other suitable types of memory.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.
The various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein may be implemented or performed with the following components designed to perform the functions herein: a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP, and/or any other such configuration.
The steps of a method or algorithm described in connection with the disclosure herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
In one or more exemplary designs, the functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a general-purpose or special-purpose computer, or a general-purpose or special-purpose processor. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk, blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.
Claims (10)
1. A method of creating a store dual live volume snapshot, comprising the steps of:
responding to the storage triggering snapshot, and simultaneously writing the data in the cache into two storages containing double live volumes;
recording the data received by the double live volumes, and judging whether the confirmation characters sent by the two storages are received or not;
in response to receiving confirmation characters issued by the two storages, creating a snapshot data pointer table based on the recorded data; and
synchronizing the snapshot data pointer table to the two stores to form a snapshot volume.
2. The method of claim 1, further comprising:
and in response to the completion of the creation of the snapshot volume, writing the newly received data into the snapshot volume and updating the snapshot data pointer table.
3. The method of claim 1, further comprising:
and checking whether the two stored snapshot data pointer tables are synchronous in real time.
4. The method of claim 1, further comprising:
in response to there being multiple sets of dual live volumes, each set of dual live volumes is associated and assigned a corresponding identifier.
5. A system for creating a storage double live volume snapshot, comprising:
the write-in module is configured to respond to the storage triggering snapshot and write the data in the cache into two storages including the double live volumes simultaneously;
the judging module is configured to record the data received by the double live volumes and judge whether the confirmation characters sent by the two storages are received or not;
the creating module is configured to respond to receiving confirmation characters sent by the two storages and create a snapshot data pointer table based on recorded data; and
a synchronization module configured to synchronize the snapshot data pointer table to the two stores to form a snapshot volume.
6. The system of claim 5, further comprising:
and the updating module is configured to respond to the completion of the creation of the snapshot volume, write the newly received data into the snapshot volume, and update the snapshot data pointer table.
7. The system of claim 5, further comprising:
and the detection module is configured to check whether the two stored snapshot data pointer tables are synchronous in real time.
8. The system of claim 5, further comprising:
and the allocation module is configured for responding to the existence of the plurality of groups of double live volumes, establishing association of each group of double live volumes and allocating corresponding identifiers.
9. A computer device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method of any one of claims 1 to 4.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010132176.8A CN111338852A (en) | 2020-02-29 | 2020-02-29 | Method, system, equipment and medium for creating storage double live volume snapshot |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010132176.8A CN111338852A (en) | 2020-02-29 | 2020-02-29 | Method, system, equipment and medium for creating storage double live volume snapshot |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111338852A true CN111338852A (en) | 2020-06-26 |
Family
ID=71182089
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010132176.8A Withdrawn CN111338852A (en) | 2020-02-29 | 2020-02-29 | Method, system, equipment and medium for creating storage double live volume snapshot |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111338852A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112860487A (en) * | 2021-02-09 | 2021-05-28 | 山东英信计算机技术有限公司 | Method, system, device and medium for copying volume shadow |
CN113031858A (en) * | 2021-02-10 | 2021-06-25 | 山东英信计算机技术有限公司 | Data processing method, system and medium based on multi-double live storage |
CN113626144A (en) * | 2021-07-18 | 2021-11-09 | 苏州浪潮智能科技有限公司 | Method, device and equipment for creating and storing double live volumes by cluster and readable medium |
CN113821378A (en) * | 2021-08-29 | 2021-12-21 | 济南浪潮数据技术有限公司 | Cloud hard disk backup method, system, storage medium and equipment |
-
2020
- 2020-02-29 CN CN202010132176.8A patent/CN111338852A/en not_active Withdrawn
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112860487A (en) * | 2021-02-09 | 2021-05-28 | 山东英信计算机技术有限公司 | Method, system, device and medium for copying volume shadow |
CN113031858A (en) * | 2021-02-10 | 2021-06-25 | 山东英信计算机技术有限公司 | Data processing method, system and medium based on multi-double live storage |
CN113626144A (en) * | 2021-07-18 | 2021-11-09 | 苏州浪潮智能科技有限公司 | Method, device and equipment for creating and storing double live volumes by cluster and readable medium |
CN113626144B (en) * | 2021-07-18 | 2023-08-18 | 苏州浪潮智能科技有限公司 | Method, device, equipment and readable medium for creating and storing double live volumes by clusters |
CN113821378A (en) * | 2021-08-29 | 2021-12-21 | 济南浪潮数据技术有限公司 | Cloud hard disk backup method, system, storage medium and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111338852A (en) | Method, system, equipment and medium for creating storage double live volume snapshot | |
US11397538B2 (en) | Data migration method and apparatus | |
US9658912B2 (en) | Method and apparatus for implementing heartbeat service of high availability cluster | |
CN104156361B (en) | A kind of method and system for realizing data syn-chronization | |
CN107426265A (en) | The synchronous method and apparatus of data consistency | |
CN111090545B (en) | Method, device and medium for recovering failed CPLD | |
CN111177043B (en) | Method, system, device and medium for accelerating reading of field replaceable unit information | |
CN105824846B (en) | Data migration method and device | |
CN111240595A (en) | Method, system, equipment and medium for optimizing storage cache | |
CN111400312B (en) | Edge storage database based on improved LSM tree | |
WO2021135280A1 (en) | Data check method for distributed storage system, and related apparatus | |
US20190304552A1 (en) | Selectively synchronizing flash memory block refreshes based in part upon memory block temperature | |
CN108255542A (en) | The serial ports parallel port management-control method and device of a kind of virtual machine | |
CN114237519A (en) | Method, device, equipment and medium for migrating object storage data | |
CN110781164B (en) | Design method, device and medium of database all-in-one machine | |
CN111813346A (en) | Method, system, device and medium for establishing Ceph distributed storage based on cloud platform | |
CN111625203A (en) | Method, system, device and medium for hierarchical storage | |
CN110442601B (en) | Openstack mirror image data parallel acceleration method and device | |
CN111176904B (en) | Method, system, equipment and medium for data backup under private cloud architecture | |
CN111737047A (en) | Volume synchronous remote copying method, device, equipment and readable medium | |
CN110417579B (en) | Method, equipment and readable medium for managing gigabit network by using gigabit network card | |
CN111309264A (en) | Method, system, device and medium for making directory quota compatible with snapshot | |
CN110879760B (en) | Unified storage system and method and electronic equipment | |
CN111259020A (en) | Method, system, equipment and medium for checking multi-storage-volume copy consistency | |
CN111813606A (en) | Fault-tolerant method, system, equipment and medium for double-node virtual machine |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20200626 |