Method and system for operating multiple virtual machines

A virtual machine and virtual machine mirroring technology, applied in the computer field, can solve problems such as virtual machine system crashes, and achieve the effect of avoiding the possibility of errors and saving storage space

Inactive Publication Date: 2012-06-27
ZTE CORP
View PDF4 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although Xen has no restrictions on the same image being loaded multiple times, multiple virtual machines running after being loaded may cause system crashes, and Xen does not protect the image against the above problems during the running of the virtual machine

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
  • Method and system for operating multiple virtual machines
  • Method and system for operating multiple virtual machines
  • Method and system for operating multiple virtual machines

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] Although Xen has no restrictions on the same image being loaded multiple times, multiple virtual machines running after being loaded have the problem of system crash, because these virtual machines running at the same time can write files to the loaded image , causing conflicts in reading and writing files, which in turn leads to damage to the file system, and the running virtual machine crashes immediately.

[0040] There are roughly two types of file read / write conflicts that a single image supports for multiple virtual machines: one is the system files such as system logs generated during the running of the virtual machine, and the other is the files generated by the software running on the virtual machine, such as data storage and user settings. wait. In order to run multiple virtual machines on the same image at the same time, the virtual machines need to save the files and data during system operation and software operation to different storage spaces, but share t...

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 method and a system for operating multiple virtual machines. The method comprises: a virtual machine mirror image is divided into a read-only partition and a read-write partition, wherein the read-only partition stores data which needs write-protection in a virtual machine mirror image; multiple virtual machines upload the virtual machine mirror image, wherein the multiple virtual machines perform reading / writing operation to files and data during system operation and software operation in the read-write partition. The system comprises a partition dividing module, a multiple virtual machine uploading module and a data reading / writing module. With the method and the system provided by the invention, the problem of file reading / writing conflict when multiple virtual machines operate on one same mirror image is avoided. In addition, updating and upgrade of virtual servers can be only performed to one mirror image to be synchronized to all nodes, such that not only the maintenance cost of virtual servers is saved, but also the maintenance time is shortened, furthermore, error possibility during updating and upgrade can be reduced or completely avoided.

Description

technical field [0001] The invention belongs to the technical field of computers, and in particular relates to a method and a system for simultaneously running multiple virtual machines on a single image. Background technique [0002] Virtualization is one of the key technologies and characteristics in the field of cloud computing. Virtualization can greatly improve the efficiency of server use and reduce the cost of use. In the process of virtualization, the usual way to create a virtual machine is to specify an operating system (such as windows xp system, desktop application-based) for the virtual machine. Linux operating system (ubuntu) or other operating systems), and then loaded through a virtualization platform (such as Citrix's Xen, VMvare's vSphere, etc.). When running multiple virtual machines with exactly the same functions on the same physical host (host machine), multiple independent mirrors are generated from existing mirrors by cloning, so as to achieve the pu...

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/455
CPCG06F9/45533
Inventor 何平缪敬
Owner ZTE CORP
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