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

Virtual machine migration method, switch, and virtual machine system

a virtual machine and switch technology, applied in the field of communication technologies, can solve the problems of affecting the timeliness of services, the switch cannot accurately acquire the migration of the vm from the vdp message, etc., and achieve the effect of accurate acquisition

Active Publication Date: 2017-03-21
HUAWEI TECH CO LTD
View PDF11 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

[0018]In the present invention, it may be determined whether an added virtual machine on a server is a newly created one or a migrated one by receiving a message sent by the server and according to an identifier field in the message. In this way, compared with the prior art, it may be accurately acquired whether a virtual machine is migrated to the server.

Problems solved by technology

In the prior art, when a VM is migrated to or created on a server, the server will send a VDP message to a switch, resulting in that the switch fails to accurately acquire migration of the VM from the VDP message.
In this case, the switch fails to timely establish a binding relationship for the migrated VM, thereby affecting timeliness of services.

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
  • Virtual machine migration method, switch, and virtual machine system
  • Virtual machine migration method, switch, and virtual machine system
  • Virtual machine migration method, switch, and virtual machine system

Examples

Experimental program
Comparison scheme
Effect test

embodiment 1

[0032]A first embodiment of the present invention provides a virtual machine migration method, and the procedure of the method is shown in FIG. 3, including:

[0033]Step 101: Receive a message sent by a server, where the message is used to enable a switch to discover a connected virtual machine interface; and obtain, from the message, an identifier for indicating whether a virtual machine is migrated.

[0034]Step 102: Determine, according to the identifier indicating whether the virtual machine is migrated, whether the virtual machine is a virtual machine that is migrated to the server.

[0035]In the embodiment of the present invention, it may be determined whether an added virtual machine on a server is a newly created one or a migrated one by receiving a message sent by the server and according to an identifier field in the message. In this way, compared with the prior art, it may be accurately acquired whether a virtual machine is migrated to the server.

embodiment 2

[0036]A second embodiment of the present invention provides a virtual machine migration method, which is improved based on the first embodiment. Furthermore, when a switch acquires that a virtual machine is migrated to a server, services corresponding to the virtual machine bound to ports of the switch may be further migrated. The following uses migration in the DHCP (Dynamic Host Configuration Protocol) snooping technology as an example to further describe the embodiment of the present invention.

[0037]DHCP snooping is a security feature of the DHCP protocol. Untrustworthy DHCP information is filtered by creating and maintaining a DHCP snooping user binding table. The DHCP snooping user binding table includes parameters such as a MAC address, an IP address, lease time, and a VLAN-ID interface of the user in an untrustworthy zone. After DHCP snooping is enabled on an existing switch, the switch snoops DHCP messages, and may extract and record parameters, such as an IP address and a M...

embodiment 3

[0064]A third embodiment of the present invention provides a switch, and the structure of the switch is shown in FIG. 7, including:

[0065]a receiving module 1, configured to receive a message sent by a server, where the message is used to enable the switch to discover a connected virtual machine interface; and

[0066]a first obtaining module 2, configured to obtain, from the message, an identifier for indicating whether a virtual machine is migrated, and determine, according to the identifier indicating whether the virtual machine is migrated, whether the virtual machine is a virtual machine that is migrated to the server.

[0067]In the embodiment of the present invention, it may be determined whether an added virtual machine on a server is a newly created one or a migrated one by receiving a message sent by the server and according to an identifier field in the message. In this way, compared with the prior art, it may be accurately acquired whether a virtual machine is migrated to the s...

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 present invention provides a virtual machine migration method, a switch, a virtual machine system. A switch receives a message sent by a server, where the message is used to enable the switch to discover a connected virtual machine interface; obtains, from the message, an identifier for indicating whether a virtual machine is migrated; and determines whether the virtual machine is a virtual machine migrated to the server according to the identifier indicating whether the virtual machine is migrated. According to the embodiments of the present invention, it may be determined whether an added virtual machine on a server is a newly created one or a migrated one.

Description

CROSS-REFERENCE TO RELATED APPLICATIONS[0001]This application is a continuation of International Application No. PCT / CN2011 / 078932, filed on Aug. 25, 2011, which claims priority to Chinese Patent Application No. 201110006732.8, filed on Jan. 13, 2011, both of which are hereby incorporated by reference in their entireties.FIELD OF THE INVENTION[0002]The present invention relates to the field of communications technologies, and in particular, to a virtual machine migration method, a switch, and a virtual machine system.BACKGROUND OF THE INVENTION[0003]The VM (virtual machine) technology refers to virtualizing one server into a plurality of virtual machines isolated from each other, or virtualizing a plurality of servers into one virtual machine, so as to improve utilization rate of resources and simplify system management.[0004]VM real-time migration refers to migration of a running virtual machine from one server to another in real time. In-migration and out-migration of the VM may b...

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(United States)
IPC IPC(8): G06F15/16G06F9/48H04L29/12G06F9/455
CPCG06F9/4856G06F9/45558H04L61/103H04L61/2015G06F2009/4557H04L61/5014G06F2009/45595
Inventor LI, GUANGZHENG, MINGLI, YIZHOULI, JINSONG, WEI
Owner HUAWEI TECH CO LTD