Patent ID: 9448821
Filing Date: 2016-09-20
CPC Classification: G06F,H04L

Claim Text:
1. A method for realizing virtual machine mobility comprising: in a process of establishing communication with a second virtual machine, a first virtual machine subscribing to a media access control (MAC) address change notification of the second virtual machine from an address resolution server (ARS) through a first virtual switch in a physical server where the first virtual machine is located; after the second virtual machine migrates, a second virtual switch in a physical server, to which the second virtual machine migrates, registering to the ARS a corresponding relationship between an IP address of the second virtual machine and a MAC address of the second virtual switch; and the ARS updating the MAC address corresponding to the IP address of the second virtual machine, and notifying the first virtual machine of the updated MAC address according to the subscription of the first virtual machine; wherein the step of subscribing to the MAC address change notification of the second virtual machine from the ARS comprises, the first virtual machine querying the MAC address corresponding to the IP address of the second virtual machine from the ARS and subscribing to the MAC address change notification of the second virtual machine by adopting a request message, wherein the first virtual machine sends an address query broadcasting query request, the first virtual switch intercepts the address query broadcasting query request, converts the address query broadcasting query request to a unicast query and subscribe request, uses the unicast query and subscribe request to query the MAC address corresponding to the IP address of the second virtual machine from the ARS, and subscribes to the MAC address change notification of the second virtual machine.