WO2012094898A1 - 一种虚拟机迁移方法、交换机、虚拟机系统 - Google Patents

一种虚拟机迁移方法、交换机、虚拟机系统 Download PDF

Info

Publication number
WO2012094898A1
WO2012094898A1 PCT/CN2011/078932 CN2011078932W WO2012094898A1 WO 2012094898 A1 WO2012094898 A1 WO 2012094898A1 CN 2011078932 W CN2011078932 W CN 2011078932W WO 2012094898 A1 WO2012094898 A1 WO 2012094898A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual machine
message
server
switch
configuration protocol
Prior art date
Application number
PCT/CN2011/078932
Other languages
English (en)
French (fr)
Inventor
李光
郑明�
厉益舟
李晋
宋伟
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP19170446.9A priority Critical patent/EP3594808B1/en
Priority to EP11855492.2A priority patent/EP2562973B1/en
Priority to ES11855492T priority patent/ES2774668T3/es
Publication of WO2012094898A1 publication Critical patent/WO2012094898A1/zh
Priority to US13/939,886 priority patent/US9600329B2/en
Priority to US15/437,641 priority patent/US9798572B2/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • G06F9/4856Task life-cycle, e.g. stopping, restarting, resuming execution resumption being on a different machine, e.g. task migration, virtual machine migration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Definitions

  • 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 technique
  • VM Virtual Machine
  • VM Virtual Machine technology refers to virtualizing one server into multiple isolated virtual machines, or virtualizing multiple servers into one virtual machine to improve resource utilization and simplify system management.
  • VM live migration refers to real-time migration of the entire running virtual machine from one server to another.
  • VDP protocol VSI Discovery and Configuration Protocol, virtual site interface.
  • the general flow of the existing VDP protocol is: When the server creates a VM or has a VM in, the server sends a Pre-associate message to the switch. The switch obtains a VSI type (VSI type) message according to the pre-associate message, and then configures the switch according to the message to the VSI database to obtain parameters. Enable the switch configuration when it receives the associate message sent by the server.
  • VSI type VSI type
  • the server When the server destroys the VM or has a VM migrating, the server sends a de-associate message to the switch.
  • the message format of the VDP protocol in the prior art is as shown in FIG. 1, and includes a TLV (Type Length Value) packet header and a TLV information string.
  • TLV Type Length Value
  • the TLV packet header includes the following fields:
  • a TLV type field used to identify the type of the message; the type may include: a Pre-associate message, an associate message, and a de-associate message;
  • TLV information string length used to identify the length of the TLV string.
  • VSI Mgr ID (virtual site interface management number), VSI Type ID (virtual site interface type number), VSI Type Version (virtual site interface type version), VSI Instance ID (virtual) Quasi-site interface instance number), MAC/VLAN Format (MAC/VLAN format), MAC/VLANs (Media Access
  • Control Media Access Control
  • VLAN Virtual Local Area Network, Virtual Local Area Network
  • the server sends a VDP message to the switch when the VM is migrated or created.
  • the switch cannot accurately learn the VM from the VDP message, and cannot establish a service binding relationship for the migrated VM in time. Sex.
  • the embodiment of the present invention provides a virtual machine migration method, a switch, and a virtual machine system.
  • the technical solution is as follows:
  • the embodiment of the present invention provides a virtual machine migration method, including: receiving a message sent by a server, where the message is used to enable a switch to discover a connected virtual machine interface; and obtaining an identifier in the message for indicating that the virtual machine is migrated. And determining, according to the identifier indicating that the virtual machine is migrated, whether the virtual machine is a virtual machine that moves into the server.
  • the embodiment of the present invention further provides a switch, including: a receiving module, configured to receive a message sent by a server; the message is used to enable a switch to discover a connected virtual machine interface; and a first acquiring module, configured to acquire the message An identifier for indicating that the virtual machine is migrated; determining, according to the identifier indicating that the virtual machine is migrated, whether the virtual machine is a virtual machine that moves into the server.
  • a receiving module configured to receive a message sent by a server; the message is used to enable a switch to discover a connected virtual machine interface
  • a first acquiring module configured to acquire the message An identifier for indicating that the virtual machine is migrated; determining, according to the identifier indicating that the virtual machine is migrated, whether the virtual machine is a virtual machine that moves into the server.
  • the embodiment of the present invention further provides a virtual machine system, including a server and a switch.
  • the server is configured to send a message to the switch when the virtual machine moves in, the message is used to enable the switch to discover the connected virtual machine.
  • the interface is configured to receive the message, obtain an identifier for indicating that the virtual machine is migrated, and determine, according to the identifier indicating that the virtual machine is migrated, whether the virtual machine is moved into the server. Virtual machine.
  • the message sent by the server may be received, and according to the identifier field therein, whether the newly added virtual machine on the server is newly created or migrated may be determined. Compared with the prior art, it is possible to accurately know whether the server has a virtual machine to move in. DRAWINGS
  • FIG. 1 is an existing VDP message message format
  • FIG. 2 is a format of a TLV information string in the VDP message in FIG. 1;
  • FIG. 3 is a schematic flow chart of a first embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a method for service migration in a second embodiment of the present invention.
  • FIG. 5 is a schematic flowchart diagram of another method for service migration according to a second embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of still another method for service migration in a second embodiment of the present invention.
  • Figure 7 is a schematic structural view of a third embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a switch in a fourth embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of another switch in the fourth embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of still another switch in the fourth embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of a virtual machine system according to a fifth embodiment of the present invention. detailed description
  • the first embodiment of the present invention provides a virtual machine migration method, and the process thereof is as shown in FIG. 3, including: 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; An identifier in the message indicating that the virtual machine is migrated;
  • Step 102 Determine, according to the identifier indicating that the virtual machine is migrated, whether the virtual machine is a virtual machine that moves into the server.
  • the message sent by the server may be received, and according to the identifier field therein, whether the newly added virtual machine on the server is newly created or migrated may be determined. Compared with the prior art, it is possible to accurately know whether the server has a virtual machine to move in.
  • Example 2
  • the second embodiment of the present invention proposes a virtual machine migration method which is improved on the basis of the first embodiment. Further, when the switch learns that the virtual machine is migrated in the server, the service corresponding to the virtual machine bound to the switch port may be further migrated.
  • the following is DHCP Snooping technology (DHCP listening; DHCP, The embodiment of the present invention is further described by taking the migration of the Dynamic Host Configuration Protocol.
  • DHCP snooping is a security feature of the DHCP protocol.
  • the DHCP snooping user binding table is created and maintained to filter untrusted DHCP information.
  • the DHCP snooping user binding table contains parameters such as the user MAC address, IP address, lease period, and VLAN ID interface of the untrusted zone.
  • DHCP packets are listened to, and IP address and MAC address parameters can be extracted and recorded from the received DHCP Request or DHCP Ack packets.
  • the DHCP server may return a response message triggered by the switch to update the DHCP Snooping user binding table. The process is shown in Figure 4, including:
  • Step 201 When the VM performs migration, the server that the VM migrates sends a message to the switch to notify the switch VM that the migration has occurred.
  • the message is used to cause the switch to discover the connected virtual machine interface, and the message includes at least an identification field or an identification bit for indicating the VM to migrate.
  • the existing VDP message packet may be extended, and a VSI property (VSI property) field indicating that the VM is migrated is added to the TLV information string.
  • the existing TLV information string is as shown in FIG. 2.
  • a VSI property field may be added anywhere in the TLV information string in the VDP message shown in FIG. 2.
  • a bit in the Reason field of the TLV information string can also be used as an identifier bit. When the flag bit is 0, it indicates that the VM is newly created. When the flag bit is 1, it indicates that the VM is moved in. of.
  • Step 202 The switch obtains MAC/VLAN information and/or VSI instance ID information from the message, and generates a DHCP lease query message.
  • the MAC/VLAN field in the VDP message stores the 6-byte MAC address and the 2-byte VLAN ID of the VM.
  • the VSI instance ID stores the unique identifier of the VM in the global.
  • the switch can generate a corresponding DHCP lease query message based on either of these two fields. This is a prior art and will not be described here.
  • Step 203 The switch sends a DHCP lease query message to the DHCP server.
  • Step 204 The switch receives the response message returned by the DHCP server, and updates the DHCP Snooping user binding table in the manner of the prior art.
  • the method for updating the DHCP snooping user binding table according to the response message returned by the DHCP server is a prior art, and details are not described herein again.
  • the DHCP lease relay message is allowed to pass any one of the MAC address, IP address, and Cl ient-Identifier (client identifier).
  • the DHCP Request message may also be sent by the server, and the DHCP Snooping user binding table may be updated by parsing the DHCP Ack (DHCP Response) message returned by the DHCP server.
  • DHCP Ack DHCP Response
  • Step 301 When the VM is migrated, the server that the VM migrates sends a message to the switch to notify the switch VM that the migration has occurred.
  • the message is used to cause the switch to discover the connected virtual machine interface, and the message includes at least an identification field or an identifier bit for indicating that the VM is to be migrated.
  • the existing VDP message packet can be extended, and a VSI property (VSI property) field for indicating VM migration is added to the TLV information string.
  • the existing TLV information string is as shown in FIG. 2.
  • a VSI property field may be added anywhere in the TLV information string in the VDP message shown in FIG. 2.
  • a bit in the Reason field of the TLV information string can also be used as an identifier bit. When the flag bit is 0, it indicates that the VM is newly created. When the flag bit is 1, it indicates that the VM is moved in. .
  • Step 302 The switch sends an assistance request message to the server where the VM migrates, so that the server obtains the MAC address, the IP address, and the IP address of the DHCP server of the virtual network interface of the VM, and causes the server to send the DHCP to the DHCP server. Request message.
  • the server can obtain the MAC address, the IP address, and the IP address of the virtual network interface of the virtual machine in any manner, which is not limited by the embodiment of the present invention.
  • the existing VDP message packet may be extended, and an identifier field for indicating the assistance of the request server is added to the TLV information string.
  • the existing TLV information string is as shown in FIG. 2.
  • an identifier field may be added at any position of the TLV information string in the VDP message shown in FIG. 2.
  • Step 303 The switch listens to the DHCP Ack message returned by the DHCP server, and updates the DHCP Snooping user binding table according to the DHCP Ack message.
  • the method for updating the DHCP snooping user binding table according to the DHCP Ack message is the prior art, and details are not described herein again.
  • the following describes the embodiment of the present invention by taking the migration of the multicast group corresponding to the VM as an example.
  • the switch may be notified by the switch to send an IGMP report (IGMP Report, IGMP, Internet Group Message Protocol) message to the multicast router, so that the VM immediately joins the multicast group.
  • IGMP report IGMP Report, IGMP, Internet Group Message Protocol
  • video traffic can be distributed to all connected ports because such traffic typically has a multicast Ethernet address.
  • IGMP snooping can be enabled to create a multicast group to locate those traffic to the users in need.
  • the IGMP query of the switch can initiate IGMP member queries and allow the nodes in need to respond.
  • the process of this embodiment is as shown in FIG. 6, and includes:
  • Step 401 When the VM is migrated, the server that the VM migrates sends a message to the switch to notify the switch VM that the migration has occurred.
  • the message is used to cause the switch to discover the connected virtual machine interface, and the message includes at least an identification field or an identifier bit for indicating that the VM is to be migrated.
  • the existing VDP message packet can be extended, and a VSI property (VSI property) field for indicating VM migration is added to the TLV information string.
  • the existing TLV information string is as shown in FIG. 2.
  • a VSI property field may be added anywhere in the TLV information string in the VDP message shown in FIG. 2.
  • a bit in the Reason field of the TLV information string can also be used as an identifier bit. When the flag bit is 0, it indicates that the VM is newly created. When the flag bit is 1, it indicates that the VM is moved in. .
  • Step 402 The switch sends an IGMP query message to the migrated VM.
  • Step 403 The VM sends an IGMP report (IGMP Report) message to the multicast server to join the multicast group.
  • step 403 is prior art.
  • the VM sends an IGMP report after receiving the IGMP query message.
  • the multicast server adds the VM to the multicast group.
  • an identifier field or an identifier bit is added to the TLV information string of the VDP protocol packet to notify the switch VM to migrate.
  • the embodiment of the present invention can also migrate the services bound to the port of the VM to reduce the maintenance cost and improve the real-time performance of the access service after the VM is migrated.
  • a third embodiment of the present invention provides a switch, and the structure thereof is as shown in FIG. 7, and includes:
  • the receiving module 1 is configured to receive a message sent by the server; the message is used to enable the switch to discover the connected virtual machine interface;
  • the first obtaining module 2 is configured to obtain an identifier for indicating that the virtual machine is migrated in the message, and determine, according to the identifier that indicates that the virtual machine is migrated, whether the virtual machine is a virtual machine that moves into the server.
  • the message sent by the server may be received, and according to the identifier field therein, whether the newly added virtual machine on the server is newly created or migrated may be determined. Compared with the prior art, it is possible to accurately know whether the server has a virtual machine to move in.
  • Example 4
  • the fourth embodiment of the present invention proposes a switch which is improved on the basis of the third embodiment. Further, when the switch accurately learns that a virtual machine is migrated in the server, the service corresponding to the virtual machine bound to the switch port may be further migrated.
  • the following describes the embodiment of the present invention by taking the migration of the DHCP Snooping (DHCP, Dynamic Host Configuration Protocol) technology as an example.
  • DHCP snooping is a security feature of the DHCP protocol.
  • the DHCP snooping user binding table is created and maintained to filter untrusted DHCP information.
  • the DHCP snooping user binding table contains parameters such as the user MAC address, IP address, lease period, and VLAN ID interface of the untrusted zone.
  • DHCP packets are listened to, and IP address and MAC address parameters can be extracted and recorded from the received DHCP Request or DHCP Ack packets.
  • the DHCP server may return a response message triggered by the switch to update the DHCP Snooping user binding table.
  • BP The switch of the embodiment of the present invention may have a structure as shown in FIG. 8, and includes:
  • the receiving module 1 is configured to receive a message sent by the server, where the message is used to enable the switch to discover the connected virtual machine interface;
  • the first obtaining module 2 is configured to obtain an identifier for indicating that the virtual machine is migrated in the message, and determine, according to the identifier that indicates that the virtual machine is migrated, whether the virtual machine is a virtual machine that moves into the server.
  • the server that the VM migrates to may be sent to the switch.
  • the message includes at least an identification field or an identification bit for indicating that the VM is to be migrated.
  • the existing VDP message packet can be extended, and a VSI property (VSI property) field for indicating VM migration is added to the TLV information string.
  • the existing TLV information string is as shown in FIG. 2.
  • a VSI property field may be added anywhere in the TLV information string in the VDP message shown in FIG. 2.
  • a bit in the Reason field of the TLV information string can also be used as an identifier bit. When the flag bit is 0, it indicates that the VM is newly created. When the flag bit is 1, it indicates that the VM is moved in. .
  • the switch parses the VDP message to learn that a VM is in the server, you can migrate the DHCP snooping bound to the port. That is, the switch is as shown in FIG. 8, and further includes:
  • the second obtaining module 3 is configured to obtain MAC/VLAN information and/or VSI instance ID information in the message;
  • the first sending module 4 is configured to generate a DHCP lease query according to the MAC/VLAN information and/or the VSI instance ID information, and send the DHCP lease query to the DHCP server.
  • the update module 5 is configured to receive a response message returned by the DHCP server, and according to the response message to the DHCP
  • the Snooping user binding table is updated.
  • the DHCP lease relay message is allowed to pass any one of the MAC address, IP address, and Cl ient-Identifier (client identifier). Check the DHCP server for lease information. You can also find the DHCP lease information of the VM through the remote-id sub-option under the option 82 option of the RFC4388 extension protocol.
  • the DHCP Request message may also be sent by the server, and the DHCP Snooping user binding table may be updated by analyzing the DHCP Ack message returned by the DHCP server. That is, the switch of the embodiment of the present invention may have a structure as shown in FIG. 9, and includes:
  • the receiving module 1 is configured to receive a message sent by the server, where the message is used to enable the switch to discover the connected virtual machine interface;
  • the first obtaining module 2 is configured to obtain an identifier for indicating that the virtual machine is migrated in the message, and determine, according to the identifier that indicates that the virtual machine is migrated, whether the virtual machine is a virtual machine that moves into the server.
  • the server that the VM migrates to may be sent to the switch.
  • the message includes at least an identification field or an identification bit for indicating that the VM is to be migrated.
  • the existing VDP message packet can be extended, and a VSI property (VSI property) field for indicating VM migration is added to the TLV information string.
  • the existing TLV information string is as shown in FIG. 2.
  • a VSI property field may be added anywhere in the TLV information string in the VDP message shown in FIG. 2.
  • a bit in the Reason field of the TLV information string can also be used as an identifier bit. When the flag bit is 0, it indicates that the VM is newly created. When the flag bit is 1, it indicates that the VM is moved in. .
  • the switch parses the VDP message to learn that a VM is in the server, you can migrate the DHCP snooping bound to the port. That is, the switch is as shown in FIG. 9, and further includes:
  • the second sending module 6 is configured to send an assistance request message to the server, so that the server obtains a MAC address, an IP address, an IP address of a DHCP server of the virtual network interface of the virtual machine, and causes the server to send a DHCP to the DHCP server. Request message.
  • the existing VDP message packet may be extended, and an identifier field for indicating the assistance of the request server is added to the TLV information string.
  • the existing TLV information string is as shown in FIG. 2.
  • an identifier field may be added at any position of the TLV information string in the VDP message shown in FIG. 2.
  • the listening module 7 is configured to listen to the DHCP Ack message returned by the DHCP server, and update the DHCP Snooping user binding table according to the DHCP Ack message.
  • the following describes the embodiment of the present invention by taking the migration of the multicast group corresponding to the VM as an example.
  • the switch may notify the VM to send an IGMP report message to the multicast router, so that the VM immediately joins the multicast group.
  • video traffic can be distributed to all connected ports because such traffic typically has a multicast Ethernet address.
  • IGMP snooping can be enabled to create a multicast group to locate those traffic to users in need.
  • the switch's IGMP query (IGMP, Internet Group Message Protocol, Internet Group Management Protocol) can initiate IGMP member queries and allow the nodes in need to respond.
  • the switch of the embodiment may have a structure as shown in FIG. 10, and includes:
  • the receiving module 1 is configured to receive a message sent by the server, where the message is used to enable the switch to discover the connected virtual Machine interface
  • the first obtaining module 2 is configured to obtain an identifier for indicating that the virtual machine is migrated in the message, and determine, according to the identifier that indicates that the virtual machine is migrated, whether the virtual machine is a virtual machine that moves into the server.
  • the server that the VM migrates may send a message to the switch to notify the switch VM that the migration has occurred.
  • the message includes at least an identification field or an identification bit that indicates that the VM is to be migrated.
  • the existing VDP message packet can be extended, and a VSI property (VSI property) field for indicating VM migration is added to the TLV information string.
  • the existing TLV information string is as shown in FIG. 2.
  • a VSI property field may be added anywhere in the TLV information string in the VDP message shown in FIG. 2.
  • a bit in the Reason field of the TLV information string can also be used as an identifier bit. When the flag bit is 0, it indicates that the VM is newly created. When the flag bit is 1, it indicates that the VM is moved in. .
  • the switch parses the VDP message to learn that a VM is in the server, the VM can be added to the multicast group. That is, the switch is as shown in FIG. 10, and further includes:
  • the third sending module 8 is configured to send an IGMP query message to the virtual machine, so that the virtual machine joins the multicast group by sending an IGMP report message to the multicast server.
  • the VM sends the existing IGMP report technology to the multicast server.
  • the VM sends an IGMP report after receiving the IGMP query message; the multicast server adds the VM to the multicast group after receiving the IGMP report.
  • an identifier field or an identifier bit is added to the TLV information string of the VDP protocol packet to notify the switch VM to migrate.
  • the service bound to the port of the VM may be migrated to reduce the maintenance cost and improve the real-time performance of the access service after the VM is migrated.
  • Example 5 A fifth embodiment of the present invention provides a virtual machine system, the structure of which is shown in Figure 11, including a server 501 for hosting a virtual machine and a switch 502 for connecting to the server;
  • the server 501 is configured to send a message to the switch 502 when a virtual machine moves in, the message is used to enable the switch 502 to discover the connected virtual machine interface;
  • the switch 502 is configured to receive the message, obtain an identifier for indicating that the virtual machine is migrated, and determine, according to the identifier indicating that the virtual machine is migrated, whether the virtual machine is moved into the server 501. Virtual machine.
  • the message sent by the server is received by the switch, and according to the identifier field therein, it is determined whether the newly added virtual machine on the server is newly created or migrated.
  • the switch it is possible to accurately know whether the server has a virtual machine to move in, and pre-establish a service binding relationship for the migrated virtual machine, thereby improving the real-time performance of the access service after the VM is migrated.
  • the sixth embodiment of the present invention proposes a switch which is improved on the basis of the fifth embodiment.
  • the switch knows that there is a virtual machine in the server, the service corresponding to the virtual machine bound to the switch port can be further migrated.
  • the following describes the embodiment of the present invention by taking the migration of the DHCP Snooping (DHCP, Dynamic Host Configuration Protocol) technology as an example.
  • DHCP snooping is a security feature of the DHCP protocol.
  • the DHCP snooping user binding table is created and maintained to filter untrusted DHCP information.
  • the DHCP snooping user binding table contains the user MAC address, IP address, lease period, and VLAN-ID interface of the untrusted zone.
  • the DHCP packet is intercepted and can be received. Extract and record the IP address and MAC address parameters in the DHCP Request or DHCP Ack message.
  • the DHCP server may be triggered by the switch to return a response message to DHCP.
  • the Snooping user binding table is updated.
  • BP The system of the embodiment of the present invention includes: a server 501 for hosting a virtual machine and a switch 502 for connecting to the server;
  • the server 501 is configured to send a message to the switch 502 when a virtual machine is moved in, the message is used to request configuration parameters for the virtual machine on the server 501; the message includes at least The identification field in which the virtual machine is moved.
  • the existing VDP message packet may be extended, and a VSI property (VSI property) field for indicating that the VM is migrated is added to the TLV information string.
  • the existing TLV information string is as shown in FIG. 2.
  • the embodiment of the present invention may add a VSI property field at any position of the TLV information string in the VDP message message as shown in FIG. 2.
  • a bit in the Reason field of the TLV information string can also be used as an identifier bit. When the flag bit is 0, it indicates that the VM is newly created. When the flag bit is 1, it indicates that the VM is moved in. .
  • the switch 502 When it is determined that the virtual machine is a virtual machine that moves into the server, the switch 502 is configured to obtain MAC/VLAN information and/or VSI instance ID information from the message, and generate a DHCP lease query (DHCP lease query) The message is sent to the DHCP server; receives the response message returned by the DHCP server, and updates the DHCP Snooping user binding table according to the response message.
  • DHCP lease query DHCP lease query
  • the DHCP lease relay message is allowed to pass any one of the MAC address, IP address, and Cl ient-Identifier (client identifier). Check the DHCP server for lease information. You can also find the DHCP lease information of the VM through the remote-id sub-option under the option 82 option of the RFC4388 extension protocol.
  • the DHCP Request message may also be sent by the server, and the DHCP Snooping user binding table may be updated by analyzing the DHCP Ack message returned by the DHCP server. That is, the system of the embodiment of the present invention includes: a server 501 for hosting a virtual machine and a switch 502 for connecting to the server;
  • the server 501 is configured to send a message to the switch 502 when a virtual machine is moved in, the message is used to request configuration parameters for the virtual machine on the server 501; the message includes at least The identification field in which the virtual machine is moved.
  • the existing VDP message packet can be extended, and a VSI property (VSI property) field for indicating VM migration is added to the TLV information string.
  • the existing TLV information string is as shown in FIG. 2.
  • a VSI property field can be added to any position of the TLV information string in the VDP message packet as shown in FIG. 2.
  • the switch 502 is configured to send an assistance request message to the server that the VM migrates, so that the server obtains a MAC address of the virtual network interface of the VM, IP address, IP address of the DHCP server, and the server sends a DHCP Request to the DHCP server. Interest.
  • the existing VDP message packet may be extended, and an identifier field for indicating the assistance of the request server is added to the TLV information string.
  • the existing TLV information string is as shown in FIG. 2.
  • an identifier field may be added at any position of the TLV information string in the VDP message shown in FIG. 2.
  • the switch 502 is further configured to listen to the DHCP Ack message returned by the DHCP server, and update the DHCP Snooping user binding table according to the DHCP Ack message.
  • the following describes the embodiment of the present invention by taking the migration of the multicast group corresponding to the VM as an example.
  • the switch may notify the VM to send an IGMP report message to the multicast router, so that the VM immediately joins the multicast group.
  • video traffic can be distributed to all connected ports because such traffic typically has a multicast Ethernet address.
  • IGMP snooping can be enabled to create a multicast group to locate those traffic to users in need.
  • the switch's IGMP query (IGMP, Internet Group Message Protocol, Internet Group Management Protocol) can initiate IGMP member queries and allow the nodes in need to respond.
  • the system of the embodiment of the present invention includes: a server 501 for hosting a virtual machine and a switch 502 for connecting to the server;
  • the server 501 is configured to send a message to the switch 502 when a virtual machine is moved in, the message is used to request configuration parameters for the virtual machine on the server 501; the message includes at least The identification field in which the virtual machine is moved.
  • the existing VDP message packet can be extended, and a VSI property (VSI property) field for indicating VM migration is added to the TLV information string.
  • the existing TLV information string is as shown in FIG. 2.
  • a VSI property field may be added anywhere in the TLV information string in the VDP message shown in FIG. 2.
  • a bit in the Reason field of the TLV information string can also be used as an identifier bit. When the flag bit is 0, it indicates that the VM is newly created. When the flag bit is 1, it indicates that the VM is moved in. .
  • the switch 502 When it is determined that the virtual machine is a virtual machine that is moved into the server, the switch 502 is configured to send an IGMP query message to the virtual machine, so that the virtual machine sends an IGMP report message to the multicast server.
  • the VM sends the existing IGMP report technology to the multicast server.
  • the VM sends an IGMP report after receiving the IGMP query message.
  • the multicast server adds the VM to the multicast group.
  • the switch 502 may be the switch in the third and fourth embodiments.
  • an identifier field or an identifier bit is added to the TLV information string of the VDP protocol packet to notify the switch VM to migrate.
  • the service bound to the port of the VM may be migrated to reduce the maintenance cost and improve the real-time performance of the access service after the VM is migrated.
  • the foregoing fifth and sixth embodiments are only exemplified by the division of the foregoing functional modules.
  • the foregoing function allocation may be completed by different functional modules according to requirements, that is, the internal structure of the device is divided. Different functional modules to perform all or part of the functions described above.
  • the fifth and sixth embodiments described above are the same as those of the first and second embodiments; therefore, the same portions will not be described again.
  • a person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the steps of the foregoing method embodiments are included; and the foregoing storage medium includes: various media that can store program codes, such as wake up, RAM, disk or optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Description

一种虚拟机迁移方法、 交换机、 虚拟机系统
本申请要求于 2011年 1月 13日提交中国专利局、 申请号为 201110006732. 8、发明 名称为 "一种虚拟机迁移方法、 交换机、 虚拟机系统"的中国专利申请的优先权, 其全 部内容通过引用结合在本申请中。 技术领域
本发明涉及通信技术领域, 特别涉及一种虚拟机迁移方法、 交换机、 虚拟机系统。 背景技术
VM (Virtual Machine, 虚拟机) 技术是指将一台服务器虚拟为多台相互隔离的虚 拟机, 或是将多台服务器虚拟为一台虚拟机, 以提高资源的利用率并简化系统管理。
VM 实时迁移是指将正在运行的整个虚拟机从一台服务器实时迁移到另一台服务器 中, 为了实现 VM 实时迁移的网络化配置, 可以通过 VDP 协议 (VSI Discovery and Configuration Protocol , 虚拟站点接口发现配置协议; VSI, Virtual Station Interface, 虚拟站点接口) 来进行 VM的迁入和迁出。 现有的 VDP协议的一般流程为: 当服务器创建 VM或有 VM迁入时, 服务器向交换机发送 Pre-associate (预关联) 消息。 交换机根据 pre-associate消息获得 VSI type (VSI类型) 的消息, 然后根据该 消息到 VSI数据库里获取参数配置交换机。 在收到服务器发送的 associate (关联) 消 息时, 使能交换机的配置。
当服务器销毁 VM或有 VM迁出时, 服务器向交换机发送 de-associate (解除关联) 消息。
现有技术中的 VDP协议的消息格式如图 1所示, 包括 TLV ( Type Length Value, 类 型长度内容) 数据包头及 TLV information string (类型长度内容信息串)。 如图 1所 示的, TLV数据包头包括以下字段:
TLV type字段, 用于标识该消息的类型; 该类型可以包括: Pre-associate消息、 associate消息、 de-associate消息;
TLV information string length, 用于标识 TLV信息串的长度。
如图 2所示的, 现有的 TLV information string中可以包括以下字段:
Reason (原因)、 VSI Mgr ID (虚拟站点接口管理编号)、 VSI Type ID (虚拟站点 接口类型编号)、 VSI Type Version (虚拟站点接口类型版本)、 VSI Instance ID (虚 拟站点接口实例编号)、 MAC/VLAN Format (MAC/VLAN格式)、 MAC/VLANs (Media Access
Control , 介质访问控制; VLAN, Virtual Local Area Network, 虚拟局域网)。
在实现本发明的过程中, 发明人发现现有技术至少存在以下问题:
现有技术中服务器在迁入或创建 VM时都会向交换机发送 VDP消息, 导致交换机无 法从 VDP消息中准确获知 VM发生迁移, 不能够及时为迁移的 VM建立业务绑定关系, 影 响了业务的实时性。
发明内容
为了解决现有技术中交换机无法获知虚拟机发生迁移的问题,本发明实施例提出了 一种虚拟机迁移方法、 交换机、 虚拟机系统。 所述技术方案如下:
本发明实施例提出了一种虚拟机迁移方法, 包括: 接收服务器发送的消息, 所述消 息用于使交换机发现连接的虚拟机接口; 获取所述消息中的用于指示虚拟机发生迁移的 标识; 根据所述指示虚拟机发生迁移的标识判断所述虚拟机是否为迁入所述服务器的虚 拟机。
本发明实施例还提出了一种交换机,包括:接收模块,用于接收服务器发送的消息; 所述消息用于使交换机发现连接的虚拟机接口; 第一获取模块, 用于获取所述消息中的 用于指示虚拟机发生迁移的标识; 根据所述指示虚拟机发生迁移的标识判断所述虚拟机 是否为迁入所述服务器的虚拟机。
本发明实施例还提出了一种虚拟机系统, 包括服务器和交换机; 所述服务器用于当 有虚拟机迁入时, 向所述交换机发送消息, 所述消息用于使交换机发现连接的虚拟机接 口;所述交换机用于接收所述消息;获取所述消息中的用于指示虚拟机发生迁移的标识; 根据所述指示虚拟机发生迁移的标识判断所述虚拟机是否为迁入所述服务器的虚拟机。
本发明实施例中, 可以通过接收服务器发送的消息, 并根据其中的标识字段来判断 该服务器上新增的虚拟机是新建的还是迁入的。 这样相比较现有技术, 可以精确地获知 服务器是否有虚拟机迁入。 附图说明
为了更清楚地说明本发明实施例的技术方案, 下面将对实施例中使用的附图作一简 单地介绍, 显而易见地, 下面所列附图仅仅是本发明的一些实施例, 对于本领域普通技 术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图, 图 1为现有的 VDP消息报文格式;
图 2为图 1中的 VDP消息中的 TLV information string的格式;
图 3为本发明第一实施例的流程示意图;
图 4为本发明第二实施例中一种业务迁移的方法的流程示意图;
图 5为本发明第二实施例中另一种业务迁移的方法的流程示意图;
图 6为本发明第二实施例中又一种业务迁移的方法的流程示意图;
图 7本发明第三实施例的结构示意图;
图 8本发明第四实施例中一种交换机的结构示意图;
图 9本发明第四实施例中另一种交换机的结构示意图;
图 10本发明第四实施例中又一种交换机的结构示意图;
图 11为本发明第五实施例的虚拟机系统的结构示意图。 具体实施方式
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发明实施方式 作进一步地详细描述。
实施例 1
本发明第一实施例提出了一种虚拟机迁移方法, 其流程如图 3所示, 包括: 步骤 101、接收服务器发送的消息,所述消息用于使交换机发现连接的虚拟机接口; 获取所述消息中的用于指示虚拟机发生迁移的标识;
步骤 102、 根据所述指示虚拟机发生迁移的标识判断所述虚拟机是否为迁入所述服 务器的虚拟机。
本发明实施例中, 可以通过接收服务器发送的消息, 并根据其中的标识字段来判断 该服务器上新增的虚拟机是新建的还是迁入的。 这样相比较现有技术, 可以精确地获知 服务器是否有虚拟机迁入。 实施例 2
本发明第二实施例提出了一种虚拟机迁移方法, 是在第一实施例的基础上改进而 来。 进一步的, 在交换机获知服务器中有虚拟机迁入时, 可以进一步的对交换机端口上 绑定的该虚拟机对应的业务进行迁移。 下面以 DHCP Snooping技术 (DHCP侦听; DHCP, Dynamic Host Configurat ion Protocol , 动态主机配置协议) 的迁移为例对本发明实 施例进行进一步说明。
DHCP Snooping是 DHCP协议安全特性, 通过建立和维护 DHCP Snooping用户绑定表 过滤不可信任的 DHCP信息。 DHCP Snooping用户绑定表包含不信任区域的用户 MAC地址、 IP地址、 租用期、 VLAN-ID接口等参数。 现有的交换机开启了 DHCP-Snooping后, 会对 DHCP报文进行侦听, 并可以从接收到的 DHCP Request或 DHCP Ack报文中提取并记录 IP地址和 MAC地址参数。 在本发明的一个实施例中,可以由交换机触发 DHCP服务器返回应答消息,以对 DHCP Snooping用户绑定表进行更新。 其流程如图 4所示, 包括:
步骤 201、 当 VM进行迁移时, 该 VM迁入的服务器向交换机发送消息, 以通知交换 机 VM发生了迁移。 该消息用于使交换机发现连接的虚拟机接口, 且该消息中至少包括 用于指示 VM进行迁移的标识字段或标识位。
其中, 可以对现有的 VDP消息报文进行扩展, 在 TLV informat ion string中增加 一个用于表示 VM进行迁移的 VSI property ( VSI特性) 字段。 现有的 TLV informat ion string 如图 2 所示的, 本发明实施例可以在如图 2 所示的 VDP 消息报文中的 TLV informat ion string 的任意位置添加一个 VSI property 字段。 当然, 还可以在 TLV informat ion string的 Reason字段中的一个 bit位作为标识位, 当该标识位为 0时则 表示该 VM是新建的, 当该标识位为 1时则表示该 VM是迁入的。
步骤 202、 交换机从该消息中获取 MAC/VLAN信息和 /或 VSI instance ID信息, 并 生成 DHCP lease query ( DHCP续租质询) 消息。
现有技术中, VDP消息中的 MAC/VLAN字段中存储有该 VM的 6字节的 MAC地址和 2 字节的 VLAN ID; VSI instance ID中存储有该 VM在全局中的唯一标识。 交换机可以 根据这两个字段中的任意一个生成对应的 DHCP lease query ( DHCP续租质询) 消息。 此为现有技术, 在此不再赘述。
步骤 203、 交换机向 DHCP服务器发送 DHCP lease query消息。
步骤 204、交换机接收 DHCP服务器返回的应答消息,并以现有技术中的方式对 DHCP Snooping用户绑定表进行更新。
其中, 根据 DHCP服务器返回的应答消息对 DHCP Snooping用户绑定表进行更新的 方法为现有技术, 在此不再赘述。 其中, 在现有的 IETF ( Internet Engineering Task Force, 互联网工程任务组) 的 RFC4388 标准中, 允许 DHCP lease relay 消息通过 MAC 地址、 IP 地址、 Cl ient-Identifier (客户端标识符) 中的任何一个参数向 DHCP服务器查询 DHCP的租 期信息。 还可以通过 RFC4388标准的扩展协议的 option 82选项下的 remote-id子选项 来查找 VM的 DHCP的租期信息。 在本发明的另一个实施例中, 还可以由服务器发送 DHCP Request (DHCP请求) 消 息, 并通过解析 DHCP服务器返回的 DHCP Ack (DHCP响应) 消息对 DHCP Snooping用户 绑定表进行更新。 其流程如图 5所示, 包括:
步骤 301、 当 VM进行迁移时, 该 VM迁入的服务器向交换机发送消息, 以通知交换 机 VM发生了迁移。 该消息用于使交换机发现连接的虚拟机接口, 且该消息中至少包括 用于表示 VM进行迁移的标识字段或标识位。
其中, 可以对现有的 VDP消息报文进行扩展, 在 TLV information string中增加 一个用于表示 VM进行迁移的 VSI property (VSI特性) 字段。 现有的 TLV information string 如图 2 所示的, 本发明实施例可以在如图 2 所示的 VDP 消息报文中的 TLV information string 的任意位置添加一个 VSI property 字段。 当然, 还可以在 TLV information string的 Reason字段中的一个 bit位作为标识位, 当该标识位为 0时则 表示该 VM是新建的, 当该标识位为 1时则表示该 VM是迁入的。
步骤 302、 交换机向该 VM迁入的服务器发送协助请求消息, 以使该服务器获取该 VM的虚拟网络接口的 MAC地址、 IP地址、 DHCP服务器的 IP地址, 并使该服务器向该 DHCP服务器发送 DHCP Request消息。
其中,服务器可以通过任何方式获取该虚拟机的虚拟网络接口的 MAC地址、 IP地址、 DHCP服务器的 IP地址, 本发明实施例并不对此做出限定。
其中, 可以对现有的 VDP消息报文进行扩展, 在 TLV information string中增加 一个用于表示请求服务器进行协助的标识字段。 现有的 TLV information string如图 2 所示的, 本发明实施例可以在如图 2所示的 VDP消息报文中的 TLV information string 的任意位置添加一个标识字段。 当服务器接收到 VDP消息后, 解析该 VDP消息以根据该 标志位判断是否向 DHCP服务器发送 DHCP Request消息。
步骤 303、 交换机侦听 DHCP服务器返回的 DHCP Ack消息, 并根据 DHCP Ack消息对 DHCP Snooping用户绑定表进行更新。 其中, 根据 DHCP Ack消息对 DHCP Snooping用户绑定表进行更新的方法为现有技 术, 在此不再赘述。
下面以该 VM对应的组播组的迁移为例对本发明实施例进行进一步说明。
在本发明的又一个实施例中,可以由交换机通知 VM向组播路由器发送 IGMP report ( IGMP报告; IGMP, Internet Group Message Protocol , 互联网组管理协议) 报文, 以使 VM立即加入组播组。 在现有技术中, 当交换机在使用一些视频服务的网络程序如 IPTV、 视频流及游戏的时候, 视频流量可以分发到所有连接的端口, 因为这类流量通常 有一个组播以太网地址。 IGMP侦听可以启用来创建一个组播群用来定位那些流量到有需 要的用户。 交换机的 IGMP query ( IGMP查询议) 可以发起 IGMP成员查询并让有需要的 节点做出回应。
因此本实施例的流程如图 6所示, 包括:
步骤 401、 当 VM进行迁移时, 该 VM迁入的服务器向交换机发送消息, 以通知交换 机 VM发生了迁移。 该消息用于使交换机发现连接的虚拟机接口, 且该消息中至少包括 用于表示 VM进行迁移的标识字段或标识位。
其中, 可以对现有的 VDP消息报文进行扩展, 在 TLV information string中增加 一个用于表示 VM进行迁移的 VSI property (VSI特性) 字段。 现有的 TLV information string 如图 2 所示的, 本发明实施例可以在如图 2 所示的 VDP 消息报文中的 TLV information string 的任意位置添加一个 VSI property 字段。 当然, 还可以在 TLV information string的 Reason字段中的一个 bit位作为标识位, 当该标识位为 0时则 表示该 VM是新建的, 当该标识位为 1时则表示该 VM是迁入的。
步骤 402、 交换机向所述迁入的 VM发送 IGMP query报文。
步骤 403、 VM向组播服务器发送 IGMP report ( IGMP报告) 报文, 以加入组播组。 其中, 步骤 403为现有技术。 现有技术中, VM在接收到 IGMP query报文后会发送 IGMP report; 组播服务器在接收到该 IGMP report后会将该 VM加入组播组。 本发明实施例可以通过对 VDP 协议的消息进行扩展, 在 VDP 协议报文的 TLV information string中增加一个标识字段或标识位, 以通知交换机 VM发生迁移。 进一 步的, 本发明实施例还可以对该 VM的端口绑定的业务进行迁移, 以降低维护成本, 提 高 VM迁移后接入业务的实时性。 实施例 3
本发明第三实施例提出了一种交换机, 其结构如图 7所示, 包括:
接收模块 1, 用于接收服务器发送的消息; 该消息用于使交换机发现连接的虚拟机 接口;
第一获取模块 2, 用于获取所述消息中的用于指示虚拟机发生迁移的标识; 根据所 述指示虚拟机发生迁移的标识判断所述虚拟机是否为迁入所述服务器的虚拟机。
本发明实施例中, 可以通过接收服务器发送的消息, 并根据其中的标识字段来判断 该服务器上新增的虚拟机是新建的还是迁入的。 这样相比较现有技术, 可以精确地获知 服务器是否有虚拟机迁入。 实施例 4
本发明第四实施例提出了一种交换机, 是在第三实施例的基础上改进而来。 进一步 的, 在交换机精确获知服务器中有虚拟机迁入时, 可以进一步的对交换机端口上绑定的 该虚拟机对应的业务进行迁移。下面以 DHCP Snooping (DHCP侦听; DHCP, Dynamic Host Configuration Protocol , 动态主机配置协议) 技术的迁移为例对本发明实施例进行进 一步说明。
DHCP Snooping是 DHCP协议安全特性, 通过建立和维护 DHCP Snooping用户绑定表 过滤不可信任的 DHCP信息。 DHCP Snooping用户绑定表包含不信任区域的用户 MAC地址、 IP地址、 租用期、 VLAN-ID接口等参数。 现有的交换机开启了 DHCP-Snooping后, 会对 DHCP报文进行侦听, 并可以从接收到的 DHCP Request或 DHCP Ack报文中提取并记录 IP地址和 MAC地址参数。 在本发明的一个实施例中,可以由交换机触发 DHCP服务器返回应答消息,以对 DHCP Snooping用户绑定表进行更新。 BP : 本发明实施例的交换机, 其结构可以如图 8所示, 包括:
接收模块 1, 用于接收服务器发送的消息; 所述消息用于使交换机发现连接的虚拟 机接口;
第一获取模块 2, 用于获取所述消息中的用于指示虚拟机发生迁移的标识; 根据所 述指示虚拟机发生迁移的标识判断所述虚拟机是否为迁入所述服务器的虚拟机。
在本发明实施例中, 当 VM进行迁移时, 可以使该 VM迁入的服务器向交换机发送消 息, 以通知交换机 VM发生了迁移。 该消息中至少包括用于表示 VM进行迁移的标识字段 或标识位。
其中, 可以对现有的 VDP消息报文进行扩展, 在 TLV information string中增加 一个用于表示 VM进行迁移的 VSI property (VSI特性) 字段。 现有的 TLV information string 如图 2 所示的, 本发明实施例可以在如图 2 所示的 VDP 消息报文中的 TLV information string 的任意位置添加一个 VSI property 字段。 当然, 还可以在 TLV information string的 Reason字段中的一个 bit位作为标识位, 当该标识位为 0时则 表示该 VM是新建的, 当该标识位为 1时则表示该 VM是迁入的。
当交换机解析该 VDP消息以获知服务器中有 VM迁入时, 可以将端口上绑定的 DHCP Snooping进行迁移。 即所述交换机如图 8所示的, 还包括:
第二获取模块 3, 用于获取所述消息中的 MAC/VLAN信息和 /或 VSI instance ID信 息;
第一发送模块 4, 用于根据 MAC/VLAN信息和 /或 VSI instance ID信息生成 DHCP lease query并发送到 DHCP服务器;
更新模块 5, 用于接收 DHCP 服务器返回的应答消息, 并根据应答消息对 DHCP
Snooping用户绑定表进行更新。
其中, 在现有的 IETF ( Internet Engineering Task Force, 互联网工程任务组) 的 RFC4388 标准中, 允许 DHCP lease relay 消息通过 MAC 地址、 IP 地址、 Cl ient-Identifier (客户端标识符) 中的任何一个参数向 DHCP服务器查询 DHCP的租 期信息。 还可以通过 RFC4388标准的扩展协议的 option 82选项下的 remote-id子选项 来查找 VM的 DHCP的租期信息。 在本发明的另一个实施例中, 还可以由服务器发送 DHCP Request消息, 并通过解 析 DHCP服务器返回的 DHCP Ack消息以对 DHCP Snooping用户绑定表进行更新。 即: 本 发明实施例的交换机, 其结构可以如图 9所示, 包括:
接收模块 1, 用于接收服务器发送的消息; 所述消息用于使交换机发现连接的虚拟 机接口;
第一获取模块 2, 用于获取所述消息中的用于指示虚拟机发生迁移的标识; 根据所 述指示虚拟机发生迁移的标识判断所述虚拟机是否为迁入所述服务器的虚拟机。
在本发明实施例中, 当 VM进行迁移时, 可以使该 VM迁入的服务器向交换机发送消 息, 以通知交换机 VM发生了迁移。 该消息中至少包括用于表示 VM进行迁移的标识字段 或标识位。
其中, 可以对现有的 VDP消息报文进行扩展, 在 TLV information string中增加 一个用于表示 VM进行迁移的 VSI property (VSI特性) 字段。 现有的 TLV information string 如图 2 所示的, 本发明实施例可以在如图 2 所示的 VDP 消息报文中的 TLV information string 的任意位置添加一个 VSI property 字段。 当然, 还可以在 TLV information string的 Reason字段中的一个 bit位作为标识位, 当该标识位为 0时则 表示该 VM是新建的, 当该标识位为 1时则表示该 VM是迁入的。
当交换机解析该 VDP消息以获知服务器中有 VM迁入时, 可以将端口上绑定的 DHCP Snooping进行迁移。 即所述交换机如图 9所示的, 还包括:
第二发送模块 6, 用于向所述服务器发送协助请求消息, 以使该服务器获得该虚拟 机的虚拟网络接口的 MAC地址、 IP地址、 DHCP服务器的 IP地址, 并使服务器向 DHCP 服务器发送 DHCP Request消息。
其中, 可以对现有的 VDP消息报文进行扩展, 在 TLV information string中增加 一个用于表示请求服务器进行协助的标识字段。 现有的 TLV information string如图 2 所示的, 本发明实施例可以在如图 2所示的 VDP消息报文中的 TLV information string 的任意位置添加一个标识字段。 当服务器接收到 VDP消息后, 解析该 VDP消息以根据该 标志位判断是否向 DHCP服务器发送 DHCP Request消息。
侦听模块 7, 用于侦听 DHCP服务器返回的 DHCP Ack消息, 并根据 DHCP Ack消息对 DHCP Snooping用户绑定表进行更新。 下面以该 VM对应的组播组的迁移为例对本发明实施例进行进一步说明。
在本发明的又一个实施例中,可以由交换机通知 VM向组播路由器发送 IGMP report 报文, 以使 VM立即加入组播组。 在现有技术中, 当交换机在使用一些视频服务的网络 程序如 IPTV、视频流及游戏的时候, 视频流量可以分发到所有连接的端口, 因为这类流 量通常有一个组播以太网地址。 IGMP侦听可以启用来创建一个组播群用来定位那些流量 到有需要的用户。 交换机的 IGMP query ( IGMP查询器; IGMP, Internet Group Message Protocol , 互联网组管理协议) 可以发起 IGMP成员查询并让有需要的节点做出回应。
因此本实施例的交换机, 其结构可以如图 10所示, 包括:
接收模块 1, 用于接收服务器发送的消息; 所述消息用于使交换机发现连接的虚拟 机接口;
第一获取模块 2, 用于获取所述消息中的用于指示虚拟机发生迁移的标识; 根据所 述指示虚拟机发生迁移的标识判断所述虚拟机是否为迁入所述服务器的虚拟机。
在本发明实施例中, 当 VM进行迁移时, 可以使该 VM迁入的服务器向交换机发送消 息, 以通知交换机 VM发生了迁移。 该消息中至少包括用于表示 VM进行迁移的标识字段 或标识位。
其中, 可以对现有的 VDP消息报文进行扩展, 在 TLV information string中增加 一个用于表示 VM进行迁移的 VSI property (VSI特性) 字段。 现有的 TLV information string 如图 2 所示的, 本发明实施例可以在如图 2 所示的 VDP 消息报文中的 TLV information string 的任意位置添加一个 VSI property 字段。 当然, 还可以在 TLV information string的 Reason字段中的一个 bit位作为标识位, 当该标识位为 0时则 表示该 VM是新建的, 当该标识位为 1时则表示该 VM是迁入的。
当交换机解析该 VDP消息以获知服务器中有 VM迁入时, 可以使该 VM加入组播组。 即所述交换机如图 10所示的, 还包括:
第三发送模块 8, 用于向所述虚拟机发送 IGMP query报文, 以使所述虚拟机通过向 组播服务器发送 IGMP report报文加入组播组。
其中, VM向组播服务器发送 IGMP report现有技术。现有技术中, VM在接收到 IGMP query报文后会发送 IGMP report ; 组播服务器在接收到该 IGMP report后会将该 VM加 入组播组。 本发明实施例可以通过对 VDP 协议的消息进行扩展, 在 VDP 协议报文的 TLV information string中增加一个标识字段或标识位, 以通知交换机 VM发生迁移。 进一 步的, 本发明实施例还可以并对该 VM的端口绑定的业务进行迁移, 以降低维护成本, 提高 VM迁移后接入业务的实时性。
需要说明的是: 上述第三、 第四实施例仅以上述各功能模块的划分进行举例说明, 实际应用中, 可以根据需要而将上述功能分配由不同的功能模块完成, 即将装置的内部 结构划分成不同的功能模块, 以完成以上描述的全部或者部分功能。 上述第三、 第四实 施例与第一、 第二实施例提出的方法属于同一构思; 因此相同部分不再赘述。 实施例 5 本发明第五实施例提出了一种虚拟机系统, 其结构如图 11所示, 包括用于承载虚 拟机的服务器 501和用于连接服务器的交换机 502;
所述服务器 501用于当有虚拟机迁入时, 向所述交换机 502发送消息, 所述消息用 于使交换机 502发现连接的虚拟机接口;
所述交换机 502用于接收所述消息; 获取所述消息中的用于指示虚拟机发生迁移的 标识; 根据所述指示虚拟机发生迁移的标识判断所述虚拟机是否为迁入所述服务器 501 的虚拟机。
本发明实施例中, 可以通过由交换机接收服务器发送的消息, 并根据其中的标识字 段来判断该服务器上新增的虚拟机是新建的还是迁入的。 这样相比较现有技术, 可以精 确地获知服务器是否有虚拟机迁入, 并为迁入的虚拟机预先建立业务绑定关系, 提高了 VM迁移后接入业务的实时性。 实施例 6
本发明第六实施例提出了一种交换机, 是在第五实施例的基础上改进而来。 在交换 机精确获知服务器中有虚拟机迁入时,可以进一步的对交换机端口上绑定的该虚拟机对 应的业务进行迁移。 下面以 DHCP Snooping ( DHCP 侦听; DHCP , Dynamic Host Configurat ion Protocol , 动态主机配置协议) 技术的迁移为例对本发明实施例进行进 一步说明。
DHCP Snooping是 DHCP协议安全特性, 通过建立和维护 DHCP Snooping用户绑定表 过滤不可信任的 DHCP信息。 DHCP Snooping用户绑定表包含不信任区域的用户 MAC地址、 IP地址、租用期、 VLAN-ID接口等参数有的交换机开启了 DHCP-Snooping后, 会对 DHCP 报文进行侦听, 并可以从接收到的 DHCP Request或 DHCP Ack报文中提取并记录 IP地 址和 MAC地址参数。 在本发明的一个实施例中,可以由交换机触发 DHCP服务器返回应答消息,以对 DHCP
Snooping用户绑定表进行更新。 BP : 本发明实施例的系统包括: 用于承载虚拟机的服务 器 501和用于连接服务器的交换机 502;
所述服务器 501用于当有虚拟机迁入时, 向所述交换机 502发送消息, 所述消息用 于请求为所述服务器 501上的虚拟机配置参数; 所述消息中至少包括用于指示所述虚拟 机迁入的标识字段。 其中, 可以对现有的 VDP消息报文进行扩展, 在 TLV information string中增加 一个用于表示 VM进行迁移的 VSI property (VSI特性) 字段。 现有的 TLV information string 如图 2 所示的, 本发明实施例可以在如图 2 所示的 VDP 消息报文中的 TLV information string 的任意位置添加一个 VSI property 字段。 当然, 还可以在 TLV information string的 Reason字段中的一个 bit位作为标识位, 当该标识位为 0时则 表示该 VM是新建的, 当该标识位为 1时则表示该 VM是迁入的。
当确定所述虚拟机为迁入所述服务器的虚拟机时, 所述交换机 502用于从该消息中 获取 MAC/VLAN信息和 /或 VSI instance ID信息, 并生成 DHCP lease query (DHCP续 租质询) 消息并发送到 DHCP服务器; 接收 DHCP服务器返回的应答消息, 并根据应答 消息对 DHCP Snooping用户绑定表进行更新。
其中, 在现有的 IETF ( Internet Engineering Task Force, 互联网工程任务组) 的 RFC4388 标准中, 允许 DHCP lease relay 消息通过 MAC 地址、 IP 地址、 Cl ient-Identifier (客户端标识符) 中的任何一个参数向 DHCP服务器查询 DHCP的租 期信息。 还可以通过 RFC4388标准的扩展协议的 option 82选项下的 remote-id子选项 来查找 VM的 DHCP的租期信息。 在本发明的另一个实施例中, 还可以由服务器发送 DHCP Request消息, 并通过解 析 DHCP服务器返回的 DHCP Ack消息以对 DHCP Snooping用户绑定表进行更新。 即: 本 发明实施例的系统包括:用于承载虚拟机的服务器 501和用于连接服务器的交换机 502; 其中,
所述服务器 501用于当有虚拟机迁入时, 向所述交换机 502发送消息, 所述消息用 于请求为所述服务器 501上的虚拟机配置参数; 所述消息中至少包括用于指示所述虚拟 机迁入的标识字段。
其中, 可以对现有的 VDP消息报文进行扩展, 在 TLV information string中增加 一个用于表示 VM进行迁移的 VSI property (VSI特性) 字段。 现有的 TLV information string 如图 2 所示的, 本发明实施例可以在如图 2 所示的 VDP 消息报文中的 TLV information string的任意位置添力口一个 VSI property字段。
当确定所述虚拟机为迁入所述服务器的虚拟机时, 所述交换机 502用于向该 VM迁 入的服务器发送协助请求消息, 以使该服务器获取该 VM的虚拟网络接口的 MAC地址、 IP地址、 DHCP服务器的 IP地址, 并使该服务器向该 DHCP服务器发送 DHCP Request消 息。
其中, 可以对现有的 VDP消息报文进行扩展, 在 TLV information string中增加 一个用于表示请求服务器进行协助的标识字段。 现有的 TLV information string如图 2 所示的, 本发明实施例可以在如图 2所示的 VDP消息报文中的 TLV information string 的任意位置添加一个标识字段。 当服务器接收到 VDP消息后, 解析该 VDP消息以根据该 标志位判断是否向 DHCP服务器发送 DHCP Request消息。
所述交换机 502还用于侦听 DHCP服务器返回的 DHCP Ack消息, 并根据 DHCP Ack 消息对 DHCP Snooping用户绑定表进行更新。 下面以该 VM对应的组播组的迁移为例对本发明实施例进行进一步说明。
在本发明的又一个实施例中,可以由交换机通知 VM向组播路由器发送 IGMP report 报文, 以使 VM立即加入组播组。 在现有技术中, 当交换机在使用一些视频服务的网络 程序如 IPTV、视频流及游戏的时候, 视频流量可以分发到所有连接的端口, 因为这类流 量通常有一个组播以太网地址。 IGMP侦听可以启用来创建一个组播群用来定位那些流量 到有需要的用户。 交换机的 IGMP query ( IGMP查询器; IGMP, Internet Group Message Protocol , 互联网组管理协议) 可以发起 IGMP成员查询并让有需要的节点做出回应。
即: 本发明实施例的系统包括: 用于承载虚拟机的服务器 501和用于连接服务器的 交换机 502; 其中,
所述服务器 501用于当有虚拟机迁入时, 向所述交换机 502发送消息, 所述消息用 于请求为所述服务器 501上的虚拟机配置参数; 所述消息中至少包括用于指示所述虚拟 机迁入的标识字段。
其中, 可以对现有的 VDP消息报文进行扩展, 在 TLV information string中增加 一个用于表示 VM进行迁移的 VSI property (VSI特性) 字段。 现有的 TLV information string 如图 2 所示的, 本发明实施例可以在如图 2 所示的 VDP 消息报文中的 TLV information string 的任意位置添加一个 VSI property 字段。 当然, 还可以在 TLV information string的 Reason字段中的一个 bit位作为标识位, 当该标识位为 0时则 表示该 VM是新建的, 当该标识位为 1时则表示该 VM是迁入的。
当确定所述虚拟机为迁入所述服务器的虚拟机时,所述交换机 502用于向所述虚拟 机发送 IGMP query报文, 以使所述虚拟机通过向组播服务器发送 IGMP report报文加 入组播组。 其中, VM向组播服务器发送 IGMP report现有技术。现有技术中, VM在接收到 IGMP query报文后会发送 IGMP report; 组播服务器在接收到该 IGMP report后会将该 VM加 入组播组。 在本发明实施例中, 交换机 502可以为第三、 第四实施例中的交换机。
本发明实施例可以通过对 VDP 协议的消息进行扩展, 在 VDP 协议报文的 TLV information string中增加一个标识字段或标识位, 以通知交换机 VM发生迁移。 进一 步的, 本发明实施例还可以并对该 VM的端口绑定的业务进行迁移, 以降低维护成本, 提高 VM迁移后接入业务的实时性。
需要说明的是: 上述第五、 第六实施例仅以上述各功能模块的划分进行举例说明, 实际应用中, 可以根据需要而将上述功能分配由不同的功能模块完成, 即将装置的内部 结构划分成不同的功能模块, 以完成以上描述的全部或者部分功能。 上述第五、 第六实 施例与第一、 第二实施例提出的方法属于同一构思; 因此相同部分不再赘述。 本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤可以通过程 序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读取存储介质中, 该程序 在执行时, 执行包括上述方法实施例的步骤; 而前述的存储介质包括: 醒、 RAM, 磁碟 或者光盘等各种可以存储程序代码的介质。
以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的精神和原 则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权利要求
1、 一种虚拟机迁移方法, 其特征在于, 包括:
接收服务器发送的消息, 所述消息用于使交换机发现连接的虚拟机接口; 获取所述消息中的用于指示虚拟机发生迁移的标识;
根据所述指示虚拟机发生迁移的标识判断所述虚拟机是否为迁入所述服务器的虚 拟机。
2、 根据权利要求 1所述的虚拟机迁移方法, 其特征在于, 所述消息为虚拟站点接 口发现配置协议报文;
其中,所述消息的类型长度内容信息串中至少包括用于指示虚拟机发生迁移的标识 字段;
或,所述消息的类型长度内容信息串的原因字段中至少包括一个用于指示虚拟机发 生迁移的标识位。
3、 根据权利要求 1或 2所述的虚拟机迁移方法, 其特征在于, 当确定所述虚拟机 为迁入所述服务器的虚拟机时, 所述方法还包括:
获取所述消息中的介质访问控制 /虚拟局域网信息和 /或虚拟站点接口实例标识信 息;
根据所述介质访问控制 /虚拟局域网信息和 /或虚拟站点接口实例标识信息生成动 态主机配置协议续租质询消息并发送到动态主机配置协议服务器;
接收动态主机配置协议服务器返回的应答消息, 并根据所述应答消息对动态主机配 置协议侦听用户绑定表进行更新。
4、 根据权利要求 1或 2所述的虚拟机迁移方法, 其特征在于, 当确定所述虚拟机 为迁入所述服务器的虚拟机时, 所述方法还包括:
向所述服务器发送协助请求消息, 以使该服务器获得该虚拟机的虚拟网络接口的介 质访问控制地址、 IP地址、动态主机配置协议服务器的 IP地址, 并使服务器向该动态 主机配置协议服务器发送动态主机配置协议请求消息;
侦听动态主机配置协议服务器返回的动态主机配置协议响应消息, 并根据动态主机 配置协议响应消息对动态主机配置协议侦听用户绑定表进行更新。
5、 根据权利要求 1或 2所述的虚拟机迁移方法, 其特征在于, 当确定所述虚拟机 为迁入所述服务器的虚拟机时, 所述方法还包括:
向所述虚拟机发送互联网组管理协议查询报文, 以使所述虚拟机通过向组播服务器 发送互联网组管理协议报告报文加入组播组。
6、 一种交换机, 其特征在于, 包括:
接收模块, 用于接收服务器发送的消息, 所述消息用于使交换机发现连接的虚拟机 接口;
第一获取模块, 用于获取所述消息中的用于指示虚拟机发生迁移的标识; 根据所述 指示虚拟机发生迁移的标识判断所述虚拟机是否为迁入所述服务器的虚拟机。
7、 根据权利要求 6所述的交换机, 其特征在于, 所述消息为虚拟站点接口发现配 置协议报文;
其中,所述消息的类型长度内容信息串中至少包括用于指示虚拟机发生迁移的标识 字段;
或,所述消息的类型长度内容信息串的原因字段中至少包括一个用于指示虚拟机发 生迁移的标识位。
8、 根据权利要求 6或 7所述的交换机, 其特征在于, 所述交换机还包括: 第二获取模块, 用于获取所述消息中的介质访问控制 /虚拟局域网信息和 /或虚拟站 点接口实例标识信息;
第一发送模块, 用于根据所述介质访问控制 /虚拟局域网信息和 /或虚拟站点接口实 例标识信息生成动态主机配置协议续租质询消息并发送到动态主机配置协议服务器; 更新模块, 用于接收动态主机配置协议服务器返回的应答消息, 并根据所述应答消 息对动态主机配置协议侦听用户绑定表进行更新。
9、 根据权利要求 6或 7所述的交换机, 其特征在于, 所述交换机还包括: 第二发送模块, 用于向所述服务器发送协助请求消息, 以使该服务器获得该虚拟机 的虚拟网络接口的介质访问控制地址、 IP地址、 动态主机配置协议服务器的 IP地址, 并使服务器向该动态主机配置协议服务器发送动态主机配置协议请求消息;
侦听模块, 用于侦听动态主机配置协议服务器返回的动态主机配置协议响应消息, 并根据动态主机配置协议响应消息对动态主机配置协议侦听用户绑定表进行更新。
10、 根据权利要求 6或 7所述的交换机, 其特征在于, 所述交换机还包括: 第三发送模块, 用于向所述虚拟机发送互联网组管理协议查询报文, 以使所述虚拟 机通过向组播服务器发送互联网组管理协议报告报文加入组播组。
11、 一种虚拟机系统, 包括服务器和交换机; 其特征在于,
所述服务器用于当有虚拟机迁入时, 向所述交换机发送消息, 所述消息用于使所述 交换机发现连接的虚拟机接口; 所述消息中至少包括用于指示所述虚拟机迁入的标识; 所述交换机用于接收所述消息; 获取所述消息中的用于指示虚拟机发生迁移的标 识; 根据所述指示虚拟机发生迁移的标识判断所述虚拟机是否为迁入所述服务器的虚拟 机。
12、 根据权利要求 11所述的虚拟机系统, 其特征在于, 所述消息为虚拟站点接口 发现配置协议报文;
其中,所述消息的类型长度内容信息串中至少包括用于指示虚拟机发生迁移的标识 字段;
或,所述消息的类型长度内容信息串的原因字段中至少包括一个用于指示虚拟机发 生迁移的标识位。
13、 根据权利要求 11或 12所述的虚拟机系统, 其特征在于, 当确定所述虚拟机为 迁入所述服务器的虚拟机时, 所述交换机还用于解析所述消息, 以获取介质访问控制 / 虚拟局域网信息和 /或虚拟站点接口实例标识信息; 并根据所述介质访问控制 /虚拟局域 网字段信息和 /或虚拟站点接口实例标识信息生成动态主机配置协议续租质询消息并发 送到动态主机配置协议服务器; 接收动态主机配置协议服务器返回的应答消息, 并根据 所述应答消息对动态主机配置协议侦听绑定表进行更新。
14、 根据权利要求 11或 12所述的虚拟机系统, 其特征在于, 当确定所述虚拟机为 迁入所述服务器的虚拟机时, 所述交换机还用于向所述服务器发送协助请求消息, 以使 服务器获得该虚拟机的虚拟网络接口的介质访问控制地址、 IP地址、动态主机配置协议 服务器的 IP地址, 并使服务器向该动态主机配置协议服务器发送动态主机配置协议请 求消息; 还用于侦听动态主机配置协议服务器返回的动态主机配置协议响应消息, 并根 据动态主机配置协议响应消息对动态主机配置协议侦听用户绑定表进行更新。
15、 根据权利要求 11或 12所述的虚拟机系统, 其特征在于, 当确定所述虚拟机为 迁入所述服务器的虚拟机时,所述交换机还用于向所述虚拟机发送互联网组管理协议查 询报文, 以使所述虚拟机通过向组播服务器发送互联网组管理协议报告报文加入组播 组。
PCT/CN2011/078932 2011-01-13 2011-08-25 一种虚拟机迁移方法、交换机、虚拟机系统 WO2012094898A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
EP19170446.9A EP3594808B1 (en) 2011-01-13 2011-08-25 Virtual machine migration method, switch, and virtual machine system
EP11855492.2A EP2562973B1 (en) 2011-01-13 2011-08-25 Virtual machine migration method, switch, virtual machine system
ES11855492T ES2774668T3 (es) 2011-01-13 2011-08-25 Método de migración de máquina virtual, conmutador y sistema de máquina virtual
US13/939,886 US9600329B2 (en) 2011-01-13 2013-07-11 Virtual machine migration method, switch, and virtual machine system
US15/437,641 US9798572B2 (en) 2011-01-13 2017-02-21 Virtual machine migration method, switch, and virtual machine system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110006732.8A CN102594652B (zh) 2011-01-13 2011-01-13 一种虚拟机迁移方法、交换机、虚拟机系统
CN201110006732.8 2011-01-13

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/939,886 Continuation US9600329B2 (en) 2011-01-13 2013-07-11 Virtual machine migration method, switch, and virtual machine system

Publications (1)

Publication Number Publication Date
WO2012094898A1 true WO2012094898A1 (zh) 2012-07-19

Family

ID=46482869

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/078932 WO2012094898A1 (zh) 2011-01-13 2011-08-25 一种虚拟机迁移方法、交换机、虚拟机系统

Country Status (5)

Country Link
US (2) US9600329B2 (zh)
EP (2) EP2562973B1 (zh)
CN (1) CN102594652B (zh)
ES (2) ES2882101T3 (zh)
WO (1) WO2012094898A1 (zh)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140297889A1 (en) * 2013-03-27 2014-10-02 International Business Machines Corporation Synchronizing ip information of virtual machines
TWI469054B (zh) * 2012-12-11 2015-01-11 Inventec Corp 虛擬機器的管理系統及其方法
US9292326B2 (en) 2013-02-27 2016-03-22 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Synchronizing multicast groups
CN109844855A (zh) * 2016-10-03 2019-06-04 谷歌有限责任公司 任务的多重计算代理执行
CN114143252A (zh) * 2021-11-29 2022-03-04 中国电信集团系统集成有限责任公司 一种虚拟机迁移时组播流量不间断的实现方法
US11663535B2 (en) 2016-10-03 2023-05-30 Google Llc Multi computational agent performance of tasks

Families Citing this family (46)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9104460B2 (en) * 2011-05-31 2015-08-11 Red Hat, Inc. Inter-cloud live migration of virtualization systems
CN102413044B (zh) * 2011-11-16 2015-02-25 华为技术有限公司 一种DHCP Snooping绑定表生成的方法、装置、设备及系统
CN102394831A (zh) * 2011-11-28 2012-03-28 杭州华三通信技术有限公司 基于虚拟机vm迁移的流量不中断方法和装置
EP2698957B1 (en) * 2011-12-26 2016-07-27 Huawei Technologies Co., Ltd. Method, device and system for realizing communication after virtual machine migration
US9529613B2 (en) 2012-12-12 2016-12-27 Vmware, Inc. Methods and apparatus to reclaim resources in virtual computing environments
CN103051479B (zh) * 2012-12-24 2016-01-20 北京启明星辰信息技术股份有限公司 虚拟机网络控制策略的迁移处理方法及系统
CN104052666B (zh) * 2013-03-14 2018-05-11 新华三技术有限公司 实现主机路由可达的方法和装置
CN104080192B (zh) * 2013-03-31 2018-05-08 上海诺基亚贝尔股份有限公司 一种对连接进行重定向的方法、装置和系统
US9268592B2 (en) 2013-06-25 2016-02-23 Vmware, Inc. Methods and apparatus to generate a customized application blueprint
CN104253770B (zh) * 2013-06-27 2017-07-14 新华三技术有限公司 实现分布式虚拟交换机系统的方法及设备
CN104298553B (zh) * 2013-07-16 2017-11-21 中国移动通信集团公司 一种虚拟机迁移的方法、vrms和系统
US10341296B2 (en) 2013-09-13 2019-07-02 Vmware, Inc. Firewall configured with dynamic collaboration from network services in a virtual network environment
US10904201B1 (en) * 2013-10-11 2021-01-26 Cisco Technology, Inc. Updating distributed caches in network devices in the event of virtual machine changes in a virtualized network environment
US9876711B2 (en) 2013-11-05 2018-01-23 Cisco Technology, Inc. Source address translation in overlay networks
US9769078B2 (en) 2013-11-05 2017-09-19 Cisco Technology, Inc. Dynamic flowlet prioritization
US9674086B2 (en) 2013-11-05 2017-06-06 Cisco Technology, Inc. Work conserving schedular based on ranking
US9374294B1 (en) 2013-11-05 2016-06-21 Cisco Technology, Inc. On-demand learning in overlay networks
US9825857B2 (en) 2013-11-05 2017-11-21 Cisco Technology, Inc. Method for increasing Layer-3 longest prefix match scale
US10951522B2 (en) 2013-11-05 2021-03-16 Cisco Technology, Inc. IP-based forwarding of bridged and routed IP packets and unicast ARP
US9655232B2 (en) 2013-11-05 2017-05-16 Cisco Technology, Inc. Spanning tree protocol (STP) optimization techniques
US9397946B1 (en) 2013-11-05 2016-07-19 Cisco Technology, Inc. Forwarding to clusters of service nodes
US10778584B2 (en) 2013-11-05 2020-09-15 Cisco Technology, Inc. System and method for multi-path load balancing in network fabrics
US9502111B2 (en) 2013-11-05 2016-11-22 Cisco Technology, Inc. Weighted equal cost multipath routing
US9509092B2 (en) 2013-11-06 2016-11-29 Cisco Technology, Inc. System and apparatus for network device heat management
US9548922B2 (en) * 2013-11-07 2017-01-17 Cisco Technology, Inc. Enabling scalable virtual machine tracking in a data center fabric
US9774667B2 (en) * 2013-11-08 2017-09-26 Vmware, Inc. System and method for dynamically configuring a load balancer in a virtual network environment
US9519513B2 (en) 2013-12-03 2016-12-13 Vmware, Inc. Methods and apparatus to automatically configure monitoring of a virtual machine
US9787633B2 (en) * 2013-12-05 2017-10-10 Vmware, Inc. System and method for dynamically configuring a DHCP server in a virtual network environment
US9419937B2 (en) 2014-01-29 2016-08-16 Vmware, Inc. System and method for dynamically configuring a DNS server in a virtual network environment
US9678731B2 (en) 2014-02-26 2017-06-13 Vmware, Inc. Methods and apparatus to generate a customized application blueprint
US20150378763A1 (en) 2014-06-30 2015-12-31 Vmware, Inc. Methods and apparatus to manage monitoring agents
CN105471744B (zh) * 2014-09-19 2018-10-09 新华三技术有限公司 一种虚拟机迁移方法和装置
US10116493B2 (en) 2014-11-21 2018-10-30 Cisco Technology, Inc. Recovering from virtual port channel peer failure
US10142163B2 (en) 2016-03-07 2018-11-27 Cisco Technology, Inc BFD over VxLAN on vPC uplinks
US10333828B2 (en) 2016-05-31 2019-06-25 Cisco Technology, Inc. Bidirectional multicasting over virtual port channel
US11509501B2 (en) 2016-07-20 2022-11-22 Cisco Technology, Inc. Automatic port verification and policy application for rogue devices
US10193750B2 (en) 2016-09-07 2019-01-29 Cisco Technology, Inc. Managing virtual port channel switch peers from software-defined network controller
US10547509B2 (en) 2017-06-19 2020-01-28 Cisco Technology, Inc. Validation of a virtual port channel (VPC) endpoint in the network fabric
CN109428743B (zh) * 2017-08-23 2021-03-16 中国移动通信集团公司 QoS配置随虚拟机迁移的方法、服务器、交换机及系统
US10462009B1 (en) * 2018-02-20 2019-10-29 Amazon Technologies, Inc. Replicating customers' information technology (IT) infrastructures at service provider networks
CN108777663B (zh) * 2018-05-31 2021-02-09 新华三技术有限公司 一种路由信息的同步方法及装置
CN108809840B (zh) * 2018-06-12 2021-04-13 天津卓越信通科技有限公司 一种用于控制和管理子网中组播组的方法
CN109739618B (zh) * 2018-12-10 2021-04-06 新华三云计算技术有限公司 虚拟机迁移方法及装置
US11340928B2 (en) * 2019-04-25 2022-05-24 EMC IP Holding Company LLC System and method for efficient entity transition
US11245660B1 (en) 2019-09-26 2022-02-08 Cisco Technology, Inc. Communication of endpoint information among virtual switches
CN111327509B (zh) * 2020-01-21 2022-07-12 新华三信息安全技术有限公司 一种信息更新方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299893A (zh) * 2008-06-03 2008-11-05 中兴通讯股份有限公司 一种自动交换光网络中基于状态转换的迁移方法
CN101382906A (zh) * 2007-09-06 2009-03-11 戴尔产品有限公司 处理器架构之间的虚拟机迁移
US20090150529A1 (en) * 2007-12-10 2009-06-11 Sun Microsystems, Inc. Method and system for enforcing resource constraints for virtual machines across migration
CN101739287A (zh) * 2008-11-13 2010-06-16 国际商业机器公司 管理虚拟机的装置、系统和方法

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8612559B2 (en) * 2008-12-10 2013-12-17 Cisco Technology, Inc. Central controller for coordinating multicast message transmissions in distributed virtual network switch environment
US8331362B2 (en) * 2008-12-30 2012-12-11 Juniper Networks, Inc. Methods and apparatus for distributed dynamic network provisioning
US9210065B2 (en) * 2009-06-22 2015-12-08 Alcatel Lucent Providing cloud-based services using dynamic network virtualization
US20110153715A1 (en) * 2009-12-17 2011-06-23 Microsoft Corporation Lightweight service migration
US8627426B2 (en) * 2010-04-26 2014-01-07 Vmware, Inc. Cloud platform architecture
US8559335B2 (en) * 2011-01-07 2013-10-15 Jeda Networks, Inc. Methods for creating virtual links between fibre channel over ethernet nodes for converged network adapters

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101382906A (zh) * 2007-09-06 2009-03-11 戴尔产品有限公司 处理器架构之间的虚拟机迁移
US20090150529A1 (en) * 2007-12-10 2009-06-11 Sun Microsystems, Inc. Method and system for enforcing resource constraints for virtual machines across migration
CN101299893A (zh) * 2008-06-03 2008-11-05 中兴通讯股份有限公司 一种自动交换光网络中基于状态转换的迁移方法
CN101739287A (zh) * 2008-11-13 2010-06-16 国际商业机器公司 管理虚拟机的装置、系统和方法

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI469054B (zh) * 2012-12-11 2015-01-11 Inventec Corp 虛擬機器的管理系統及其方法
US9292326B2 (en) 2013-02-27 2016-03-22 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Synchronizing multicast groups
US9372708B2 (en) 2013-02-27 2016-06-21 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Synchronizing multicast groups
US20140297889A1 (en) * 2013-03-27 2014-10-02 International Business Machines Corporation Synchronizing ip information of virtual machines
US10771431B2 (en) 2013-03-27 2020-09-08 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Synchronizing IP information of virtual machines
CN109844855A (zh) * 2016-10-03 2019-06-04 谷歌有限责任公司 任务的多重计算代理执行
US11663535B2 (en) 2016-10-03 2023-05-30 Google Llc Multi computational agent performance of tasks
CN109844855B (zh) * 2016-10-03 2023-12-05 谷歌有限责任公司 任务的多重计算代理执行
CN114143252A (zh) * 2021-11-29 2022-03-04 中国电信集团系统集成有限责任公司 一种虚拟机迁移时组播流量不间断的实现方法

Also Published As

Publication number Publication date
US9600329B2 (en) 2017-03-21
EP2562973A1 (en) 2013-02-27
US20170161091A1 (en) 2017-06-08
ES2774668T3 (es) 2020-07-22
US9798572B2 (en) 2017-10-24
EP2562973B1 (en) 2019-12-18
EP3594808A1 (en) 2020-01-15
US20130311991A1 (en) 2013-11-21
EP3594808B1 (en) 2021-04-21
EP2562973A4 (en) 2013-12-04
CN102594652B (zh) 2015-04-08
CN102594652A (zh) 2012-07-18
ES2882101T3 (es) 2021-12-01

Similar Documents

Publication Publication Date Title
WO2012094898A1 (zh) 一种虚拟机迁移方法、交换机、虚拟机系统
WO2019144826A1 (zh) 一种网络标识映射方法和系统以及终端、标识网关
EP2843906B1 (en) Method, apparatus, and system for data transmission
EP2493127B1 (en) Method for virtual link discovery control and system for fibre channel over ethernet protocol
EP2773073B1 (en) Entry generation method, message receiving method, and corresponding device and system
WO2019184752A1 (zh) 网络设备的管理方法、装置及系统
US9883010B2 (en) Method, apparatus, device and system for generating DHCP snooping binding table
WO2015085523A1 (zh) 一种虚拟可扩展局域网的通信方法、装置和系统
EP3257199B1 (en) Service performance monitoring in a virtualized communication network
WO2010139238A1 (zh) 实现强制mac转发功能的方法和装置
CN102546666B (zh) 防止igmp欺骗和攻击的方法及装置
WO2018214809A1 (zh) 消息发送方法及装置、存储介质
WO2011113393A2 (zh) 一种实现虚拟局域网标识转换的方法及装置
CN108965367A (zh) 一种控制视联网服务器的方法和系统
CN108964962A (zh) 一种控制视联网终端的方法和系统
KR101358775B1 (ko) 사용자 액세스 방법, 시스템, 및 액세스 서버, 액세스 장치
WO2012130049A1 (zh) 地址处理方法及装置
CN109257253A (zh) 一种app运行监测的方法和装置
WO2018010616A1 (zh) 基于链路层的网络管理
US20120300776A1 (en) Method for creating virtual link, communication network element, and ethernet network system
JP2012533959A (ja) マルチキャスト対応ルータにおいて効果的なホスト・マネジメント・プロトコル
CN108696398B (zh) 一种通讯网络中的通讯环回故障检测方法和装置
CN109451001A (zh) 一种通讯方法和系统
WO2017219856A1 (zh) 电路认证处理方法、系统、控制器和计算机存储介质
CN108965219B (zh) 一种基于视联网的数据处理方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11855492

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2011855492

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE