Method, physical host and system for live migration of virtual machine

A technology of physical host and virtual machine, applied in the field of communication, to achieve the effect of hot migration

Active Publication Date: 2018-01-16
HUAWEI TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Embodiments of the present invention provide a method, a physical host and a system for live migration of virtual machines, which are used to solve the problem in the prior art that live migration of virtual machines cannot be realized in the HBA / HCA direct-through virtual machine mode

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, physical host and system for live migration of virtual machine
  • Method, physical host and system for live migration of virtual machine
  • Method, physical host and system for live migration of virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0059] see figure 2 Embodiment 1 of the present invention provides a method for live migration of a virtual machine, which is used to migrate services in a virtual machine in a first physical host to a virtual machine in a second physical host. In the embodiment of the present invention, a simulated host adapter is realized by software in the VMM to simulate a real hardware host adapter. The simulated host adapter can be pre-configured in the VMM, or it can be created by the VMM of the first physical host according to the hardware parameters of the host adapter in the first physical host when live migration of the virtual machine is to be performed, that is, the first physical host will Create an emulated host adapter with the same descriptor format and control register state information stored in the host adapter according to the hardware parameters of the internal host adapter, the emulated host adapter uses the same driver as the host adapter, and the emulated host adapter...

Embodiment 2

[0086] Embodiment 2 of the present invention provides another method for live migration of a virtual machine. In this embodiment, on the basis of steps 101 to 105 provided in Embodiment 1, when the host adapter is an Internet Small Computer System Interface ISCSI HBA, the steps Step 101 is replaced with step 101a, or, when the host adapter is Fiber Channel FC / Fibre Channel over Ethernet FCoE HBA or Infiniband IB / RoCE HCA, step 101 is replaced with step 101b.

[0087] Such as image 3 As shown, when step 101 is replaced by step 101a, the method includes the following steps:

[0088] 101a. Continuously send transmission control protocol TCP message information with the window field being 0 to the service sender.

[0089] Specifically, the virtual machine of the first physical host can continuously send a TCP acknowledgment message with a window domain of 0 to respond to the peer end through the host adapter to continuously send a TCP confirmation message with a window domain of...

Embodiment 3

[0097]Embodiment 3 of the present invention provides a first physical host, the first physical host includes a host and a host adapter connected to the host, the host adapter is a hardware device conforming to the single-root input-output virtualization SR-IOV standard, Including one or more physical functions PF and one or more virtual functions VF; the host runs a virtual machine and a virtual machine manager VMM, the virtual machine runs a guest operating system, and the guest operating system conforms to the SR-IOV standard Direct access to the VF through the direct technology; at the same time, the above-mentioned VMM also includes an emulation host adapter realized by software. Such as Figure 5 As shown, the host 3 also includes: an interaction module 31, a replication module 32, a binding module 33 and a migration module 34, wherein:

[0098] The interaction module 31 is configured to interact with the service sender, so that the service sender suspends sending servic...

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

Embodiments of the present invention provide a method, a physical host and a system for live migration of a virtual machine, relating to the field of communications, for solving the problem existing in the prior art that live migration of a virtual machine can not be implemented in the mode of HBA / HCA directly accessing virtual machine. The method particularly comprises: interacting with a transaction sender to make the transaction sender pause sending transactional data; copying the data in a host adapter to an emulated host adapter; removing the binding between the virtual machine and the host adapter and binding the virtual machine to the emulated host adapter; and migrating the data corresponding to the virtual machine and the data corresponding to the emulated host adapter to a second physical host. The present invention is used for live migration of a virtual machine.

Description

technical field [0001] The invention relates to the communication field, in particular to a virtual machine live migration method, a physical host and a system. Background technique [0002] Computer virtualization technology is currently a hot spot, and virtual machine live migration technology is a hot spot in virtualization technology. It can be said that virtual machine live migration technology has become a test index to measure the pros and cons of computer virtualization technology. The so-called hot migration of a virtual machine refers to migrating a running virtual machine from a source physical host to a destination physical host while ensuring normal operation of services on the virtual machine. [0003] A typical virtual machine application architecture commonly used now is a physical host installed with a virtual machine manager (Virtual Machine Manager, VMM for short) capable of managing virtual machines. Specifically, the VMM manages one or more virtual machi...

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 Patents(China)
IPC IPC(8): G06F9/455
CPCG06F9/455
Inventor 黄凯明仪长
Owner HUAWEI TECH CO LTD
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