Unlock instant, AI-driven research and patent intelligence for your innovation.

Online snapshot method and equipment

A snapshot and memory block technology, applied in the field of communications, can solve the problems of virtual machine service interruption, virtual machine service interruption for a long time, affecting user experience, etc.

Active Publication Date: 2015-05-06
NEW H3C TECH CO LTD
View PDF4 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Because the online snapshot will suspend the read and write operations of the virtual machine, it will cause the service interruption of the virtual machine, and the service interruption time is proportional to the memory used by the virtual machine. If the memory used by the virtual machine is too large, it will cause the virtual machine service interruption. The interruption time is too long, which seriously affects the user experience

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
  • Online snapshot method and equipment
  • Online snapshot method and equipment
  • Online snapshot method and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Aiming at the problems existing in the prior art, the embodiment of the present invention provides an online snapshot method, which is used to perform online snapshot processing on a currently running virtual machine, the virtual machine including but not limited to KVM (Kernel-based Virtual Machine, kernel-level virtualization technology) virtual machine.

[0035] In the embodiment of the present invention, the virtual machine needs to generate a memory address structure corresponding to the data address, and the memory address structure specifically includes a first-level index table (L1_index table), a second-level index table (L2_index table) and a third-level memory block address Table (Cluster (cluster) memory block table). Wherein, the third pointer of the first-level index table points to the second-level index table, the first pointer and the second pointer of the second-level index table point to the third-level memory block address table, and each of the thir...

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 an online snapshot method and online snapshot equipment, wherein the online snapshot method comprises the following steps that a virtual machine receives an online snapshot command; before the virtual machine finishes the online snapshot, the virtual machine copies a first memory block so as to obtain a second memory block same as the first memory block if data in the first memory block need to be modified; the virtual machine points a first pointer of a second-level index table to the first memory block, and points a second pointer of the second-level index table to the second memory block; the virtual machine inquires the second-level index table according to the address of present to-be-written data, and modifies the data in the second memory block which are pointed by the second pointer of the second-level index table; the virtual machine inquires the second-level index table according to the address of to-be-snapshot data, and performs snapshot processing on the data in the first memory block which is pointed by the first pointer of the second-level index table. In an embodiment of the invention, when the virtual machine receives the online snapshot command, the read-write operation of the virtual machine needs no pause, and the service interruption of the virtual machine cannot be caused.

Description

technical field [0001] The present invention relates to the technical field of communication, in particular to an online snapshot method and device. Background technique [0002] With the continuous improvement of hardware speed, the performance of physical servers has been greatly improved, and the utilization rate of some physical servers in the data center has decreased. In order to improve the hardware utilization rate of physical servers and reduce the operation and maintenance costs of data centers, virtualization technology has been adopted developed a lot. Through virtual machine software, one or more virtual machines can be simulated on a physical server. These virtual machines work exactly like real computers, such as installing operating systems, installing applications, and accessing network resources. From the user's point of view, it's just an application running on a physical server, but to an application running in a virtual machine, it looks like it's worki...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/455G06F11/14G06F12/02
Inventor 高亮
Owner NEW H3C TECH CO LTD