摘要 |
<p>The present invention provides a virtual machine migration method, a switch, a virtual machine system, belonging to the field of communications technologies. The method according to embodiments of the present invention includes: receiving a message sent by a server, where the message is used to enable a switch to discover a connected virtual machine interface; obtaining, from the message, an identifier for indicating whether a virtual machine is migrated; and determining, according to the identifier indicating whether the virtual machine is migrated, whether the virtual machine is a virtual machine migrated to the server. The switch includes a receiving module and a first obtaining module. The virtual machine system includes a server and a switch. 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 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, and a binding relationship is established in advance for the migrated virtual machine, thereby improving timeliness of service access after VM migration.</p> |
申请人 |
HUAWEI TECHNOLOGIES CO., LTD. |
发明人 |
LI, GUANG;ZHENG, MING;LI, YIZHOU;LI, JIN;SONG, WEI |