Method for converting vmware virtual machine into kvm virtual machine

A virtual machine and virtual machine disk technology, applied in the field of cloud computing and virtualization, can solve the problems of high error rate and failure rate, slow speed, and complicated operation of kvm virtual machine, so as to reduce the error rate, complexity and failure. rate, reduce the effect of artificial configuration

Inactive Publication Date: 2016-12-07
G CLOUD TECH
View PDF4 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Solve the problems of complex operation, slow speed, high error rate and failure rate of vmware virtual machine to kvm 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 for converting vmware virtual machine into kvm virtual machine
  • Method for converting vmware virtual machine into kvm virtual machine
  • Method for converting vmware virtual machine into kvm virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] Such as figure 1 As shown, first, if the vmware virtual machine stores data files in a multi-file storage mode, it is first converted into a single file.

[0031] vmware-vdiskmanager.exe -r "D:\vmware\centos7.vmdk" -t 0 "D:\centos7.vmdk"

[0032] Then view the converted data file format.

[0033] qemu-img info centos7.vmdk

[0034] If it is in vmdk format: convert to qcow as an image file

[0035] qemu-img convert-f vmdk-hang qcow to centos7.vmdk / root / emi-order to 345678.qcow

[0036] If it is in raw format, convert it to qcow as an image file

[0037] qemu-img convert-f raw-hang qcow to centos7.vmdk / root / emi-order to 345678.qcow to

[0038] Create a second, empty disk for configuring the virtual machine and installing paravirtualized disk drivers.

[0039] qemu-img create-f qcow to / root / second.qcow to make G

[0040] Configure the libvirt file and start the virtual machine:

[0041]

[0042]

[0043]

[0044] Start the virtual machine:

[0045] virsh...

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 relates to the technical field of cloud computing and virtualization, and especially relates to a method for converting a vmware virtual machine into a kvm virtual machine. The method comprises the following steps of firstly, if a magnetic disk file of the vmware virtual machine is multifile storage, then merging the magnetic disk file of the vmware virtual machine into one magnetic disk file; secondly, according to the type of the magnetic disk file, converting the magnetic disk file into a qcow2 file; thirdly, configuring a libvirt file and adding corresponding equipment; and finally, opening a virtual machine, if the virtual machine is a windows virtual machine, then installing a corresponding para-virtualization driver, and if the virtual machine is a linux virtual machine, then loading a corresponding para-virtualization module. The method for converting the vmware virtual machine into the kvm virtual machine provided by the invention solves the problems that the migration of a vmware virtual machine application on the kvm virtual machine is complex, time-consuming and low in fault tolerant rate; and the method can be applied to the conversion and use of virtual machines.

Description

technical field [0001] The invention relates to the technical field of cloud computing and virtualization, in particular to a method for converting a vmware virtual machine into a kvm virtual machine. Background technique [0002] Cloud computing is developing more and more rapidly. In the past, most virtual machines were built on the virtualization platforms of large foreign manufacturers, especially on vmware. These cloud platforms generally need to be charged, and the virtualization technology is not public, which will lead to an increase in operating costs, and there may be trapdoors in the virtualization technology. Therefore, more and more users migrate virtual machines to open source virtualization, such as kvm. To migrate virtual machine applications from vmware to kvm, the previous method is often to create a new kvm virtual machine, and then manually migrate the application to the kvm virtual machine. This approach will cause the following problems: [0003] Firs...

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/45516G06F9/45558G06F2009/4557
Inventor 姚文俊杨松季统凯
Owner G CLOUD TECH
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