CN112000282A - Storage double-live method, device and related components - Google Patents
Storage double-live method, device and related components Download PDFInfo
- Publication number
- CN112000282A CN112000282A CN202010791383.4A CN202010791383A CN112000282A CN 112000282 A CN112000282 A CN 112000282A CN 202010791383 A CN202010791383 A CN 202010791383A CN 112000282 A CN112000282 A CN 112000282A
- Authority
- CN
- China
- Prior art keywords
- virtual disk
- copy
- virtual
- disk
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000013507 mapping Methods 0.000 claims abstract description 17
- 230000009977 dual effect Effects 0.000 claims abstract description 13
- 238000004590 computer program Methods 0.000 claims description 11
- 230000002159 abnormal effect Effects 0.000 claims description 8
- 230000008859 change Effects 0.000 claims description 6
- 230000008569 process Effects 0.000 claims description 5
- 230000001502 supplementing effect Effects 0.000 claims description 2
- 230000009286 beneficial effect Effects 0.000 abstract description 5
- 230000000694 effects Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 6
- 230000001360 synchronised effect Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
Images
Classifications
-
- 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
-
- 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/0638—Organizing or formatting or addressing of data
- G06F3/0644—Management of space entities, e.g. partitions, extents, pools
-
- 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/0662—Virtualisation aspects
- G06F3/0664—Virtualisation aspects at device level, e.g. emulation of a storage device or system
-
- 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/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0683—Plurality of storage devices
- G06F3/0689—Disk arrays, e.g. RAID, JBOD
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The application discloses a method for storing double live, which comprises the following steps: creating a virtual disk and a copy of the virtual disk, wherein the virtual disk and the copy are arranged in different storage pools; respectively mapping the virtual disk and the copy to corresponding equipment on a virtualization host; the raid1 array is assembled by all devices so that the virtual disk and the copy store data written by the virtual machine simultaneously. According to the method and the system, the virtual disks and the copies are created simultaneously, when the virtual machine writes data into the virtual disks, the data are stored in the source disk and the copies simultaneously, once the data of one virtual disk is damaged or lost, the other disk can provide services independently, the normal operation of the virtual machine is not influenced, the fault tolerance performance of the virtual machine is improved, and the normal use of customer services is ensured. The application also discloses a storage dual-activity device, electronic equipment and a computer readable storage medium, which have the beneficial effects.
Description
Technical Field
The present application relates to the field of virtual servers, and in particular, to a method, an apparatus, and a related component for storing live data.
Background
Virtualization is a foundation of cloud computing, plays a significant role in the IT infrastructure of modern enterprises, can fully utilize expensive hardware resources by the virtualization technology, can isolate the dependency relationship between a hardware architecture and a software system, improves the safety performance of the system, and improves the utilization rate of computing resources. The virtual server is easy to expand and create, required hardware infrastructure is distributed according to customer requirements, and the purposes of rapid deployment of customer services, reduction of time for on-line of the customer services and saving of customer cost are achieved. The virtual machine is a main carrier for bearing customer service, the virtual disk is a storage warehouse of data, and read-write data of the virtual machine are from the virtual disk, so the fault tolerance of the virtual machine depends on the fault tolerance of the virtual disk to a great extent, once the disk data of the virtual machine is damaged or the disk of the virtual machine is lost, the customer service is interrupted, the customer service cannot be used when the disk data is recovered, and once the data cannot be recovered, irrecoverable loss is brought to the customer.
Therefore, how to provide a solution to the above technical problem is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The application aims to provide a storage double-live method, a storage double-live device, electronic equipment and a computer readable storage medium, when data of any one virtual disk is damaged or lost, the other disk can independently provide service, the normal operation of the virtual machine is not influenced, the fault tolerance of the virtual machine is improved, and the normal use of customer services is ensured.
In order to solve the above technical problem, the present application provides a method for storing dual activities, including:
creating a virtual disk and a copy of the virtual disk, wherein the virtual disk and the copy are arranged in different storage pools;
mapping the virtual disk and the copy to corresponding equipment on the virtualization host machine respectively;
assembling a raid1 array by all the devices so that the virtual disks and the copies store data written by the virtual machines simultaneously.
Preferably, the process of mapping the virtual disk and the copy to the corresponding devices on the virtualization host includes:
determining the virtual disk type;
and mapping the virtual disk and the copy to corresponding equipment on the virtualization host according to the virtual disk type.
Preferably, the virtual disk type includes a qcow2 format, and accordingly, the device is an nbd device.
Preferably, the virtual disk type includes a raw format, and correspondingly, the device is a loop device.
Preferably, after the raid1 array is assembled by all the devices, the storage double live method further includes:
creating a raid device on the virtualization host;
and when the virtual machine is started, adding the configuration items of the raid equipment.
Preferably, the storage double-live method further comprises:
when the virtual disk or the copy in the abnormal state exists, recording a change data index through the copy in the normal state or a configuration file in the virtual disk, so that when the virtual disk or the copy in the abnormal state is recovered to the normal state and rejoins the raid1 array, supplementing data in the virtual disk or the copy according to the change data index.
Preferably, the storage double-live method further comprises:
and when a new virtual disk exists in the raid1 array, adding the copy corresponding to the raid1 array or the data stored in the virtual disk to the new virtual disk.
In order to solve the above technical problem, the present application further provides a dual active storage device, including:
the system comprises a creating module, a storage module and a processing module, wherein the creating module is used for creating a virtual disk and a copy of the virtual disk, and the virtual disk and the copy are arranged in different storage pools;
a mapping module, configured to map the virtual disk and the copy to devices corresponding to the virtualization host respectively;
and the assembling module is used for assembling the raid1 array through all the devices so that the virtual disk and the copy simultaneously store data written by the virtual machine.
In order to solve the above technical problem, the present application further provides an electronic device, including:
a memory for storing a computer program;
a processor for implementing the steps of the store dual active method as claimed in any one of the above when executing the computer program.
To solve the above technical problem, the present application further provides a computer-readable storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the steps of the storage dual active method as described in any one of the above.
The application provides a storage double-live method, wherein a copy of a virtual disk is created while the virtual disk is created, and the copy and the virtual disk are placed in different storage pools, so that the risk of simultaneous damage of the virtual disk is reduced. The virtual disk and the copies are respectively mapped to corresponding devices on the virtualization host, then the mapped devices are assembled into a raid1 array through a soft raid technology, when the virtual machine writes data, because data of two disks in the raid1 array are kept synchronous in real time, and the copy of the virtual disk is a mirror image of a source disk, when the virtual machine writes data into the virtual disk, the data are simultaneously stored in the source disk and the copy, once the data of one virtual disk is damaged or lost, the other disk can independently provide service, the normal operation of the virtual machine is not affected, the fault tolerance of the virtual machine is improved, and the normal use of client services is ensured. The application also provides a storage double-activity device, electronic equipment and a computer readable storage medium, which have the same beneficial effects as the storage double-activity method.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings needed for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
FIG. 1 is a flow chart illustrating the steps of a store double live method provided herein;
fig. 2 is a schematic structural diagram of a dual active storage device according to the present application.
Detailed Description
The core of the application is to provide a storage double-live method, a storage double-live device, an electronic device and a computer readable storage medium, when data of any one virtual disk is damaged or lost, the other disk can independently provide service, the normal operation of the virtual machine is not influenced, the fault tolerance of the virtual machine is improved, and the normal use of customer services is ensured.
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 some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a flowchart illustrating steps of a dual active storage method according to the present application, where the dual active storage method includes:
s101: creating a virtual disk and a copy of the virtual disk, wherein the virtual disk and the copy are arranged in different storage pools;
specifically, before executing this step, the store-and-live method further includes: a virtualization host is built based on a linux system, and a specific implementation environment of the application is constructed. When creating a virtual disk, a copy of the same size and type is created, hereinafter, the virtual disk is represented by disk1, the copy is represented by disk2, the copy disk2 is a mirror image of the source disk1, and is also a virtual disk, and the virtual disk and the copy are placed in different storage pools to reduce the risk that two virtual disks are broken simultaneously. Specifically, the virtual disk and the copy can be respectively created through qemu-img, and the creation method comprises the following steps:
qemu-img creat-f qcow2/raw/datastore1/disk1 5G;
qemu-img creat-f qcow2/raw/datastore1/disk2 5G。
s102: respectively mapping the virtual disk and the copy to corresponding equipment on a virtualization host;
specifically, after the virtual disk1 and the copy disk2 are successfully created, according to the format of the used virtual disk, different methods are adopted to respectively map the virtual disk1 and the copy disk2 to devices on the virtualization host, the types of the virtual disk used in the current virtualization system include a qcow2 format and a raw format, for a disk with the qcow2 format, the virtual disk1 and the copy disk2 are mapped to nbd devices of the virtualization host, such as/dev/nbd 1, by a linux qemu-nbd tool, and for a virtual disk with the raw format, the linux losetup tool is used to map the virtual disk into loop devices on the virtualization host, such as/dev/loop 1. After the mapping of the virtual disk is successful, the virtual disk is presented in the form of an nbd device or a loop device on the virtualization host machine.
Specifically, for the virtual disk with the qcow2 format to be mapped as the nbd device, the method is as follows:
qemu-nbd-c/dev/nbd1/datastore1/disk1;
qemu-nbd-c/dev/nbd2/datastore2/disk2;
specifically, for mapping a raw-format virtual disk into a loop device, the method includes:
losetup/dev/loop1/datastore1/disk1。
s103: the raid1 array is assembled by all devices so that the virtual disk and the copy store data written by the virtual machine simultaneously.
The raid1 array is assembled by devices mapped by the virtual disk and devices mapped by the copy, and specifically, the raid1 array can be assembled by/dev/nbd or/dev/loop devices mapped on the virtualization host on the basis of a soft raid technology to keep synchronization and consistency of data in the live-active virtual disk, specifically:
for the nbd device mapped by the qcow2 format, the method is as follows:
mdadm-C/dev/md1-ayes-l1-n2/dev/nbd[1,2];
for the loop equipment mapped by the raw format, the method comprises the following steps:
mdadm-C/dev/md1-ayes-l1-n2/dev/loop[1,2];
it can be understood that, since the data of the two virtual disks in the raid1 array are kept synchronized in real time, which is equivalent to that the copy disk2 is a mirror image of the source disk1, when the virtual machine writes data to the virtual disks, the data is simultaneously stored in the source disk1 and the copy disk2, and once the data of one of the virtual disks is damaged or lost, the other virtual disk can separately provide services without affecting the use of the virtual machine.
Further, a raid device of/dev/md 1 is created on the virtualization host in the above steps, and the virtual machine only needs to be added when starting, and configuration items of the device when starting the virtual machine are as follows:
the configuration behind the dev is the corresponding disk id of the/dev/md 1 device on the virtualization host.
The virtual machine is started, and because the virtual machine uses/dev/md 1 as a disk of the virtual machine, when data is written to/dev/md 1 inside the virtual machine, the data can be simultaneously stored in two disks of disk1 and disk2, and the normal operation of the virtual machine cannot be influenced by the damage or loss of any disk of disk1 or disk2, because the other disk can provide complete data for the virtual machine to use. Of course, the virtual machine can also directly use the virtual disk, and the same beneficial effects are achieved.
In summary, the virtual machine uses the dual-active disk by using the raid device on the virtualized host or directly using the virtual disk, and after any one of the dual-active disks is damaged, the other disk can normally provide data, and the operation of the virtual machine is not affected.
As can be seen, in this embodiment, a copy of the virtual disk is created while creating the virtual disk, and the copy and the virtual disk are placed in different storage pools, so that the risk that the virtual disk is broken at the same time is reduced. The virtual disk and the copies are respectively mapped to corresponding devices on the virtualization host, then the mapped devices are assembled into a raid1 array through a soft raid technology, when the virtual machine writes data, because data of two disks in the raid1 array are kept synchronous in real time, and the copy of the virtual disk is a mirror image of a source disk, when the virtual machine writes data into the virtual disk, the data are simultaneously stored in the source disk and the copy, once the data of one virtual disk is damaged or lost, the other disk can independently provide service, the normal operation of the virtual machine is not affected, the fault tolerance of the virtual machine is improved, and the normal use of client services is ensured.
On the basis of the above-described embodiment:
as a preferred embodiment, the store-alive method further comprises:
when the virtual disk or the copy in the abnormal state exists, the change data index is recorded through the copy in the normal state or the configuration file in the virtual disk, so that when the virtual disk or the copy in the abnormal state is restored to the normal state and the raid1 array is added again, the data in the virtual disk or the copy is supplemented according to the change data index.
Specifically, according to the scheme of the application, once data of one of the virtual disks is damaged or lost, the other virtual disk can independently provide services without affecting normal operation of the virtual machine, but at the moment, the virtual machine writes data into only one disk, in this embodiment, a configuration file in a disk in a normal state records a changed data index for use by incremental data after recovery of the damaged disk, for example, after the damaged disk is repaired, the changed data index is re-added to a raid1 array, a reorganized raid1 array synchronizes data according to the changed data index recorded by the configuration file, and the consistency of data of the two virtual disks is re-achieved.
As a preferred embodiment, the store-alive method further comprises:
when the newly-built virtual disk exists in the raid1 array, adding the copy corresponding to the raid1 array or the data stored in the virtual disk to the newly-built virtual disk.
Specifically, if the damaged virtual disk cannot be repaired, the repair is directly abandoned to recreate a virtual disk of the same size and type, the newly-created virtual disk is added to the raid1 array, and the added new disk automatically synchronizes data from another disk in the raid array, for example, if the virtual disk1 cannot be repaired, after the newly-created virtual disk1 'is added to the raid1 array, the newly-created virtual disk 1' synchronizes data from the copy disk2 in the raid1 array. Because the virtual disk is newly built, the data synchronization is full synchronization, a double-live mechanism of the virtual disk is re-built after the data synchronization is finished, the replacement or the addition of the disk in all forms has no perception to the virtual machine, the continuous operation of the virtual machine is not influenced, and the fault tolerance performance of the virtual machine is improved. Finally, the virtual machine does not need to modify the virtualization system when using the dual live disk, if the virtual machine directly uses the virtual disk, the virtual machine can be used just as using other common virtual disks, and if the virtual machine uses the raid device, the virtual machine can be used just as directly using the host device.
To sum up, the application realizes the double activity of the virtual disks of the virtual machine through the soft raid technology, not only increases the fault tolerance of the virtual machine, but also can randomly replace the virtual disks, so that when one of the virtual disks is damaged or lost, the other virtual disk of the double activity can be used for providing service, the use of the virtual machine is not influenced, a new double activity state can be recombined no matter the damaged virtual disk can not be repaired, all operations are unaware to the virtual machine, namely, the virtual machine can be completed under the condition that the virtual machine is not crashed, and thus the reliability and stability of the virtual machine and the competitiveness of products are increased.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a dual active storage device provided in the present application, where the dual active storage device includes:
the system comprises a creating module 1, a storage module and a processing module, wherein the creating module is used for creating a virtual disk and a copy of the virtual disk, and the virtual disk and the copy are arranged in different storage pools;
the mapping module 2 is used for mapping the virtual disk and the copy into corresponding equipment on the virtualization host machine respectively;
and the assembling module 3 is used for assembling the raid1 array by all the devices, so that the virtual disk and the copy simultaneously store the data written by the virtual machine.
As can be seen, in this embodiment, a copy of the virtual disk is created while creating the virtual disk, and the copy and the virtual disk are placed in different storage pools, so that the risk that the virtual disk is broken at the same time is reduced. The virtual disk and the copies are respectively mapped to corresponding devices on the virtualization host, then the mapped devices are assembled into a raid1 array through a soft raid technology, when the virtual machine writes data, because data of two disks in the raid1 array are kept synchronous in real time, and the copy of the virtual disk is a mirror image of a source disk, when the virtual machine writes data into the virtual disk, the data are simultaneously stored in the source disk and the copy, once the data of one virtual disk is damaged or lost, the other disk can independently provide service, the normal operation of the virtual machine is not affected, the fault tolerance of the virtual machine is improved, and the normal use of client services is ensured.
As a preferred embodiment, the mapping module 2 includes:
a determination unit configured to determine a virtual disk type;
and the mapping unit is used for mapping the virtual disk and the copy to corresponding equipment on the virtualization host respectively according to the type of the virtual disk.
As a preferred embodiment, the virtual disk type includes a qcow2 format, and accordingly, the device is an nbd device.
As a preferred embodiment, the virtual disk type includes a raw format, and accordingly, the device is a loop device
As a preferred embodiment, the storage double alive device further comprises:
and the adding module is used for creating raid equipment on the virtualization host, and adding the configuration items of the raid equipment when the virtual machine is started.
As a preferred embodiment, the storage double alive device further comprises:
and the recording module is used for recording the changed data index through the copy in the normal state or the configuration file in the virtual disk when the virtual disk or the copy in the abnormal state exists, so that when the virtual disk or the copy in the abnormal state is recovered to the normal state and the raid1 array is added again, the data in the virtual disk or the copy is supplemented according to the changed data index.
As a preferred embodiment, the storage double alive device further comprises:
and the synchronization module is used for adding the copy corresponding to the raid1 array or the data stored in the virtual disk to the newly-built virtual disk when the newly-built virtual disk exists in the raid1 array.
In another aspect, the present application further provides an electronic device, including:
a memory for storing a computer program;
a processor for implementing the steps of the store-and-live method as claimed in any one of the above when executing the computer program.
For an introduction of an electronic device provided in the present application, please refer to the above embodiments, which are not described herein again.
The electronic equipment provided by the application has the same beneficial effects as the storage double-activity method.
In another aspect, the present application also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the store dual live method as any of the above.
For an introduction of a computer-readable storage medium provided in the present application, please refer to the above embodiments, which are not described herein again.
The computer-readable storage medium provided by the application has the same beneficial effects as the storage double-activity method.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A store live method, comprising:
creating a virtual disk and a copy of the virtual disk, wherein the virtual disk and the copy are arranged in different storage pools;
mapping the virtual disk and the copy to corresponding equipment on the virtualization host machine respectively;
assembling a raid1 array by all the devices so that the virtual disks and the copies store data written by the virtual machines simultaneously.
2. The storage double-live method according to claim 1, wherein the process of mapping the virtual disk and the copy to the corresponding devices on the virtualization host specifically includes:
determining the virtual disk type;
and mapping the virtual disk and the copy to corresponding equipment on the virtualization host according to the virtual disk type.
3. A storage double live method according to claim 2, wherein the virtual disk type comprises a qcow2 format, and accordingly, the device is an nbd device.
4. The storage double-live method according to claim 2, wherein the virtual disk type comprises a raw format, and accordingly, the device is a loop device.
5. The store double live method according to claim 1, wherein after said assembling a raid1 array by all of said devices, the store double live method further comprises:
creating a raid device on the virtualization host;
and when the virtual machine is started, adding the configuration items of the raid equipment.
6. The store double live method according to any one of claims 1 to 5, characterized in that it further comprises:
when the virtual disk or the copy in the abnormal state exists, recording a change data index through the copy in the normal state or a configuration file in the virtual disk, so that when the virtual disk or the copy in the abnormal state is recovered to the normal state and rejoins the raid1 array, supplementing data in the virtual disk or the copy according to the change data index.
7. The store double live method of claim 6, further comprising:
and when a new virtual disk exists in the raid1 array, adding the copy corresponding to the raid1 array or the data stored in the virtual disk to the new virtual disk.
8. A storage dual activity apparatus, comprising:
the system comprises a creating module, a storage module and a processing module, wherein the creating module is used for creating a virtual disk and a copy of the virtual disk, and the virtual disk and the copy are arranged in different storage pools;
a mapping module, configured to map the virtual disk and the copy to devices corresponding to the virtualization host respectively;
and the assembling module is used for assembling the raid1 array through all the devices so that the virtual disk and the copy simultaneously store data written by the virtual machine.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the store double alive method as claimed in any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the store double live method according to any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010791383.4A CN112000282A (en) | 2020-08-07 | 2020-08-07 | Storage double-live method, device and related components |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010791383.4A CN112000282A (en) | 2020-08-07 | 2020-08-07 | Storage double-live method, device and related components |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112000282A true CN112000282A (en) | 2020-11-27 |
Family
ID=73463837
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010791383.4A Pending CN112000282A (en) | 2020-08-07 | 2020-08-07 | Storage double-live method, device and related components |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112000282A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112711498A (en) * | 2020-12-29 | 2021-04-27 | 北京浪潮数据技术有限公司 | Virtual machine disaster recovery backup method, device, equipment and readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103902349A (en) * | 2012-12-27 | 2014-07-02 | 中国移动通信集团江西有限公司 | Virtualization platform storage management server and virtualization platform storage management method |
CN104899071A (en) * | 2015-04-29 | 2015-09-09 | 深圳市深信服电子科技有限公司 | Recovery method and recovery system of virtual machine in cluster |
CN106648981A (en) * | 2016-12-13 | 2017-05-10 | 龚平 | Continuous data protection based virtual machine data protection method |
CN106802840A (en) * | 2017-01-19 | 2017-06-06 | 郑州云海信息技术有限公司 | A kind of virtual machine backup, restoration methods and device |
CN108121497A (en) * | 2016-11-29 | 2018-06-05 | 中国电信股份有限公司 | Storage method and storage system |
CN111274065A (en) * | 2020-01-20 | 2020-06-12 | 苏州浪潮智能科技有限公司 | Disaster recovery method and device based on software |
-
2020
- 2020-08-07 CN CN202010791383.4A patent/CN112000282A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103902349A (en) * | 2012-12-27 | 2014-07-02 | 中国移动通信集团江西有限公司 | Virtualization platform storage management server and virtualization platform storage management method |
CN104899071A (en) * | 2015-04-29 | 2015-09-09 | 深圳市深信服电子科技有限公司 | Recovery method and recovery system of virtual machine in cluster |
CN108121497A (en) * | 2016-11-29 | 2018-06-05 | 中国电信股份有限公司 | Storage method and storage system |
CN106648981A (en) * | 2016-12-13 | 2017-05-10 | 龚平 | Continuous data protection based virtual machine data protection method |
CN106802840A (en) * | 2017-01-19 | 2017-06-06 | 郑州云海信息技术有限公司 | A kind of virtual machine backup, restoration methods and device |
CN111274065A (en) * | 2020-01-20 | 2020-06-12 | 苏州浪潮智能科技有限公司 | Disaster recovery method and device based on software |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112711498A (en) * | 2020-12-29 | 2021-04-27 | 北京浪潮数据技术有限公司 | Virtual machine disaster recovery backup method, device, equipment and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210224166A1 (en) | Database snapshot and backup management with recoverable chains | |
US8407182B1 (en) | Systems and methods for facilitating long-distance live migrations of virtual machines | |
US10678663B1 (en) | Synchronizing storage devices outside of disabled write windows | |
CN103810058B (en) | Backup method, equipment and system for virtual machine | |
US10204019B1 (en) | Systems and methods for instantiation of virtual machines from backups | |
CN102594849B (en) | Data backup and recovery method and device, virtual machine snapshot deleting and rollback method and device | |
US8738883B2 (en) | Snapshot creation from block lists | |
AU2014374256B2 (en) | Systems and methods for improving snapshot performance | |
US8868858B2 (en) | Method and apparatus of continuous data backup and access using virtual machines | |
US10055309B1 (en) | Parallel restoration of a virtual machine's virtual machine disks | |
US8214685B2 (en) | Recovering from a backup copy of data in a multi-site storage system | |
US10789135B2 (en) | Protection of infrastructure-as-a-service workloads in public cloud | |
US20120324183A1 (en) | Managing replicated virtual storage at recovery sites | |
JP2009506399A (en) | System and method for virtualizing backup images | |
CN103970585A (en) | Method and device for creating virtual machine | |
US10747465B2 (en) | Preserving replication to a storage object on a storage node | |
CN115098299B (en) | Backup method, disaster recovery method, device and equipment of virtual machine | |
US10402264B2 (en) | Packet-aware fault-tolerance method and system of virtual machines applied to cloud service, computer readable record medium and computer program product | |
US20140229694A1 (en) | Asynchronous pausing of the formation of consistency groups | |
CN112328365A (en) | Virtual machine migration method, device, equipment and storage medium | |
CN112711498A (en) | Virtual machine disaster recovery backup method, device, equipment and readable storage medium | |
CN107402839B (en) | Method and system for backing up data | |
CN114328005B (en) | Method and system for incremental backup of container data | |
US10146471B1 (en) | Offloaded data protection based on virtual machine snapshots | |
US9734022B1 (en) | Identifying virtual machines and errors for snapshots |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201127 |