Link management method, device and system in virtual machine environment

US10530636B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10530636-B2
Application numberUS-201515537227-A
CountryUS
Kind codeB2
Filing dateFeb 27, 2015
Priority dateDec 16, 2014
Publication dateJan 7, 2020
Grant dateJan 7, 2020

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

At least some embodiments of invention provide a method, device and system for link management in a Virtual Machine (VM) environment. The method includes: a heartbeat handshake link is established with a VM. After the heartbeat handshake link is successfully established, Link Aggregation Control Protocol (LACP) state information of a Physical Function (PF) of a plurality of a Network Interface Cards (NICs) is acquired. The LACP state information is sent to the VM through the heartbeat handshake link.

First claim

Opening claim text (preview).

What is claimed is: 1. A link management method in a Virtual Machine (VM) environment, comprising: establishing a heartbeat handshake link with a VM; after the heartbeat handshake link is successfully established, acquiring Link Aggregation Control Protocol (LACP) state information of a Physical Function (PF) of each of a plurality of Network Interface Cards (NICs); and sending the LACP state information to the VM through the heartbeat handshake link. 2. The method as claimed in claim 1 , wherein the heartbeat handshake link is established between the PF and a plurality of Virtual Functions (VFs) of each of the plurality of NICs on a basis of a shared communication queue mechanism, wherein the plurality of VFs are provided for the VM by the plurality of NICs. 3. The method as claimed in claim 2 , wherein each of the plurality of VFs of the VM is respectively provided by each of the plurality of NICs. 4. A link management method in a Virtual Machine (VM) environment, comprising: establishing a heartbeat handshake link with a host; after the heartbeat handshake link is successfully established, detecting whether Link Aggregation Control Protocol (LACP) state information of a Physical Function (PF) of each of a plurality of Network Interface Cards (NICs) is received from the host or not; and controlling a link between each of at least one VM and each of a plurality of Virtual Functions (VFs) according to a detection result. 5. The method as claimed in claim 4 , wherein a total number of the plurality of the NICs is two; before establishing the heartbeat handshake link with the host, further comprising: communicating with outside by virtue of two VFs of two NICs. 6. The method as claimed in claim 5 , wherein after establishing the heartbeat handshake link with the host, the method further comprises: before detecting that the host completes LACP negotiation, controlling the two VFs of two NICs to run in an active-standby working mode. 7. The method as claimed in claim 4 , wherein controlling the link between the VM and the VF according to the detection result comprises: when at least one of the plurality of VFs run in a load sharing aggregation mode and the received LACP state information is an LACP negotiation completion state, enabling the VF corresponding to a PF in a normal state, and causing the VF in an enabled state to run in a load sharing mode; or when the at least one of the plurality of VFs run in an active-standby mode, selecting a VF corresponding to the PF in the normal state as an active port, and determining other ones of the plurality of VFs as standby ports. 8. The method as claimed in claim 7 , wherein controlling the link between the VM and the VF according to the detection result further comprises: after receiving the LACP negotiation completion state from any one of the at least one VF, when the LACP negotiation completion state is not received from one or more VFs, determining that the one or more VFs fail; when the failed VFs run in a load sharing aggregation mode, removing the VF which fails from a current load sharing aggregation group, and when the failed VFs recovers a heartbeat and enters a normal LACP state, re-adding the failed VFs into the load sharing aggregation group; and when the failed VFs run in the active-standby mode and the failed VFs are active VFs, initiating VF port active-standby switching to select a next available VF port to be active. 9. A link management device in a Virtual Machine (VM) environment, comprising: a first establishment component to establish a heartbeat handshake link with a VM; an acquisition component to, after the heartbeat handshake link is successfully established, acquire Link Aggregation Control Protocol (LACP) state information of a Physical Function (PF) of each of a plurality of Network Interface Cards (NICs); and a sending component to send the LACP state information to the VM through the heartbeat handshake link. 10. The device as claimed in claim 9 , wherein the heartbeat handshake link is established between the PF and a plurality of VFs of each of the plurality of NICs on a basis of a shared communication queue mechanism, wherein the plurality of VFs are provided for the VM by the plurality of NICs. 11. The device as claimed in claim 9 , wherein each of the plurality of VFs of the VM is respectively provided by each of the plurality of NICs. 12. A link management device in a Virtual Machine (VM) environment, comprising: a second establishment component to establish a heartbeat handshake link with a host; a detection component to, after the heartbeat handshake link is successfully established, detect whether Link Aggregation Control Protocol (LACP) state information of a Physical Function (PF) of each of a plurality of Network Interface Cards (NICs) is received from the host or not; and a first control component to control a link between each of at least one VM and each of a plurality of Virtual Functions (VFs) according to a detection result. 13. The device as claimed in claim 12 , wherein a total number of the plurality of the NICs is two; the device further comprises: a communication component to communicate with outside by virtue of two VFs of two NICs. 14. The device as claimed in claim 13 , wherein further comprising: a second control component to, before detecting that the host completes LACP negotiation, controlling the two VFs of two NICs to run in an active-standby working mode. 15. The device as claimed in claim 12 , wherein the control component is arranged to: when the at least one of the plurality of VFs run in a load sharing aggregation mode and the received LACP state information is an LACP negotiation completion state, enable the VF corresponding to a PF in a normal state, and cause the VF in an enabled state to run in a load sharing mode; or when the at least one of the plurality of VFs run in an active-standby mode, select a VF corresponding to the PF in the normal state as an active port, and determine other ones of the plurality of VFs as standby ports. 16. The device as claimed in claim 15 , wherein the control component further comprises: a determination element to, after receiving the LACP negotiation completion state from any one of the at least one VF, when the LACP negotiation completion state is not received from one or more VFs, determine that the one or more VFs fail; and a control element to, when the failed VFs run in a load sharing aggregation mode, remove the VF which fails from a current load sharing aggregation group, and when the failed VFs recovers a heartbeat and enters a normal LACP state, re-add the failed VFs into the load sharing aggregation group; and when the failed VFs run in the active-standby mode and the failed VFs are active VFs, initiate VF port active-standby switching to select a next available VF port to be active. 17. A link management system in a Virtual Machine (VM) environment, comprising the device as claimed in claim 9 and a link management device in a VM environment device, and the device comprises: a second establishment component to establish a heartbeat handshake link with a host; a detection component to, after the heartbeat handshake link is successfully established, detect whether Link Aggregation Control Protocol (LACP) state information of a Physical Function (PF) of each of a plurality of Network Interface Cards (NICs) is received from the host or not and a first control component to control a link between each of at least one VM and each of a plurality of Virtual Functions (VFs) according to a detection re

Assignees

Inventors

Classifications

  • Multichannel or multilink protocols · CPC title

  • by balancing the load, e.g. traffic engineering · CPC title

  • using route fault recovery · CPC title

  • Hypervisor-specific management and integration aspects · CPC title

  • Link aggregation, e.g. trunking · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10530636B2 cover?
At least some embodiments of invention provide a method, device and system for link management in a Virtual Machine (VM) environment. The method includes: a heartbeat handshake link is established with a VM. After the heartbeat handshake link is successfully established, Link Aggregation Control Protocol (LACP) state information of a Physical Function (PF) of a plurality of a Network Interface …
Who is the assignee on this patent?
Zte Corp, Xian Zhongxing New Software Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04L41/0668. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Jan 07 2020 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 2 related publications on this page (citations in our corpus or others sharing the same primary CPC).