Disk snapshot method and device based on virtualized disk active-active disaster recovery and medium

A virtual disk and virtualization technology, applied in the field of virtualization, can solve problems such as inability to take snapshots of virtual devices

Active Publication Date: 2021-01-08
济南浪潮数据技术有限公司
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, after using the quorum function, since bdrv_quorum is a virtual device, it is currently impossible to take a snapshot of the virtual device

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Disk snapshot method and device based on virtualized disk active-active disaster recovery and medium
  • Disk snapshot method and device based on virtualized disk active-active disaster recovery and medium
  • Disk snapshot method and device based on virtualized disk active-active disaster recovery and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0075] In the above embodiment, there is no limitation on how to execute step S303. In this embodiment, an implementation manner of snapshot deletion is given, which may include the following steps:

[0076] Each child node determines the data to be copied by comparing the data stored in its new disk file and the old disk file. The data to be copied is the data in the current new disk file that does not contain the corresponding old disk file; Copy all the corresponding data to be copied to the new disk file.

[0077] The data to be copied in this embodiment is also the snapshot files to be deleted, and these files refer to data not in the new disk file compared with the old disk file. In other words, since the creation time of the new disk file is later than that of the old disk file, the snapshot file to be deleted is the older data content in the old disk file.

[0078] In this embodiment, each child node deletes the snapshot files at the same time, so as to ensure that the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a virtual disk snapshot method and device based on virtualized disk active-active disaster tolerance and a computer readable storage medium. The method is applied to a Qemu, and comprises: starting a disk active-active disaster tolerance function when a virtual machine is preset to be started, and arranging a snapshot interface on an IO replication layer; and after the virtual machine is started in a dual-active form, receiving a disk snapshot creation or deletion instruction issued by an upper layer in a normal operation process; when a disk snapshot creation instruction is received, creating a virtual snapshot task in the IO replication layer, issuing the same task to all child nodes of the block device simulation layer, and all the child nodes executing the snapshot task at the same time when the IO replication layer suspends the IO state; and when a disk snapshot deletion instruction is received, creating a snapshot deletion task in the IO replication layer,searching for snapshot files to be deleted corresponding to all sub-nodes in the block device simulation layer, and issuing the deletion task to each sub-node at the same time, so that each sub-nodeexecutes deletion operation on the snapshot files to be deleted at the same time, thereby realizing snapshot of the IO replication layer.

Description

technical field [0001] The present application relates to the technical field of virtualization, in particular to a virtual disk snapshot method, device and computer-readable storage medium based on virtual disk active-active disaster recovery. Background technique [0002] With the rapid development of virtualization technology, virtualization management platforms such as ICS (InCloud Sphere, Inspur virtualization platform) usually use Qemu (Quick Emulator, virtual operating system simulator) to provide virtual machines and manage the entire life cycle of virtual machines . Qemu is used by users as a user state simulator or / and a virtual machine supervisor. The user state simulator uses a dynamic code translation mechanism to execute code different from the host architecture; the virtual machine supervisor is used to simulate the entire system, using other VMM (Virtual Memory Manager, virtual memory manager) such as Xen, KVM, etc. use the virtualization support provided by...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/455G06F11/14G06F3/06
CPCG06F9/45558G06F3/065G06F3/0656G06F3/0664G06F3/0652G06F11/1448G06F11/1484G06F2009/45562G06F2009/45583G06F2009/45575
Inventor 王亮
Owner 济南浪潮数据技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products