A host overlay architecture virtual machine live migration network traffic optimization method

By mirroring traffic to the target CVK during virtual machine hot migration and having the original virtual machine handle the business when the target CVK cannot match, the problem of traffic interruption caused by virtual machine hot migration under the host overlay architecture is solved, enabling rapid business recovery and improving user experience.

CN116489023BActive Publication Date: 2026-02-13UNICLOUD TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310321508.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-29
Publication Date
2026-02-13
Estimated Expiration
2043-03-29

AI Technical Summary

Technical Problem

In a host overlay architecture, during virtual machine hot migration, the service interruption caused by untimely topology generation can last for a long time and affect the user experience.

Method used

During virtual machine hot migration, traffic is mirrored to the target CVK by issuing a traffic mirroring flow table through the control plane. If the target CVK does not match, the original virtual machine handles the business. After the migration is completed, the traffic directly reaches the target CVK and the traffic mirroring flow table is cleared.

Benefits of technology

It shortens the outage time, so users are unaware of the traffic interruption during use, and services are quickly restored, improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116489023B_ABST
    Figure CN116489023B_ABST
Patent Text Reader

Abstract

The application provides a host overlay architecture virtual machine live migration network flow optimization method, comprising the following steps: S1, in the virtual machine live migration process, entering the migration mode; S2, informing the control plane to issue a flow table of flow mirroring, and mirroring the flow of the virtual machine to a target CVK; S3, if the target CVK in step S2 does not match the flow, discarding the flow directly, and continuing to process the service by the original virtual machine; S4, after the migration is completed, the external flow directly reaches the target CVK, and in the process of bottom layer service model transfer, there is continuous service flow input; S5, closing the migration mode and cleaning the flow mirroring flow table. The application has the beneficial effects that the host overlay architecture virtual machine live migration network flow optimization method is used in the use process of a user, the user does not perceive the bottom layer flow interruption, the service of the user is quickly recovered, and the experience is not affected.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the field of virtual machines, and particularly relates to a host overlay architecture virtual machine live migration network traffic optimization method. BACKGROUND

[0002] Under the architecture of the host overlay, whether the traffic is reachable is related to the generated topology, if the topology is not generated in time, the service will be interrupted, the VM on the cvk1 is live migrated to the cvk2, if the topology of the VM is not generated in time on the cvk2, at this time, the traffic accessing the VM will continue to be sent to the cvk1, the current VM is already on the cvk2, the VM cannot receive the data packet, and at the service level, the interruption will be perceived. The process will last for 3-5s, and at this time, the interruption time is 3-5s. SUMMARY

[0003] Therefore, the present application aims to provide a host overlay architecture virtual machine live migration network traffic optimization method to shorten the interruption time.

[0004] To achieve the above-mentioned purpose, the technical scheme of the present application is as follows:

[0005] A host overlay architecture virtual machine live migration network traffic optimization method, comprising the following steps:

[0006] S1, in the virtual machine live migration process, entering the migration mode;

[0007] S2, notifying the control plane to issue a flow table of traffic mirroring, and mirroring the traffic of the virtual machine to the target CVK;

[0008] S3, if the target CVK in the step S2 does not match the traffic, discarding the traffic directly, and continuing to process the service by the original virtual machine;

[0009] S4, after the migration is completed, the external traffic directly reaches the target CVK, and in the process of transferring the underlying service model, the service traffic is continuously input;

[0010] S5, closing the migration mode and clearing the flow table of traffic mirroring.

[0011] Further, in the step S2, the cvk enters the migration mode and issues the flow table of traffic mirroring.

[0012] Further, in the step S3, if the target virtual machine does not match, the traffic is discarded, and after the traffic matching, the service traffic is directly processed.

[0013] Further, the scheme discloses an electronic device, comprising a processor and a memory connected with the processor and used for storing executable instructions of the processor, and the processor is used for executing a host overlay architecture virtual machine live migration network traffic optimization method.

[0014] Further, the scheme discloses a server, comprising at least one processor and a memory connected with the processor, and the memory stores executable instructions of the at least one processor, and the instructions are executed by the processor to make the at least one processor execute a host overlay architecture virtual machine live migration network traffic optimization method.

[0015] Further, the scheme discloses a computer readable storage medium, storing a computer program, and the computer program is executed by a processor to implement a host overlay architecture virtual machine live migration network traffic optimization method.

[0016] Compared with the prior art, the host overlay architecture virtual machine live migration network traffic optimization method has the following beneficial effects:

[0017] The host overlay architecture virtual machine live migration network traffic optimization method can not interrupt the underlying traffic, and quickly restore the user's service, without affecting the experience. BRIEF DESCRIPTION OF DRAWINGS

[0018] The accompanying drawings, which form a part of the present application, are intended to provide further understanding of the present application and are incorporated herein for a purpose of explanations. The schematic embodiments of the present application and their descriptions are used to explain the present application, and do not constitute an improper limitation to the present application. In the drawings:

[0019] Figure 1 The host overlay architecture virtual machine live migration network traffic optimization method is shown in the accompanying drawings.

[0020] Figure 2 The processing flowchart is shown in the accompanying drawings. DETAILED DESCRIPTION

[0021] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

[0022] The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0023] A pre-processing flow manner is proposed, a flow mirror table is issued by a controller to mirror flow to a target CVK, during the live migration process, if the current virtual machine is copying disk data and has not been migrated to the target CVK, at this time, the control plane issues a flow mirror table to copy flow to the target CVK, if the virtual machine is still on the old CVK, the copied flow has no effect on the target CVK, the flow is discarded. When the underlying virtual machine migrates, the copied flow can hit the target and continue to process business, after the subsequent network topology migrates, the flow directly reaches the target CVK, and the control plane simultaneously revokes the flow mirror table to clean up the configuration.

[0024] The steps are as follows:

[0025] 1. During the virtual machine live migration process, enter the migration mode.

[0026] 2. Notify the control plane to issue a flow mirror table to mirror the flow of this virtual machine to the target CVK.

[0027] 3. The target CVK does not match the flow and directly discards it, which is processed by the original virtual machine.

[0028] 4. After migration, external flow directly reaches the target CVK, and during the underlying business model migration process, there is continuous business flow input.

[0029] 5. Close the migration mode and clean up the flow mirror table.

[0030] Those skilled in the art can realize that the units and method steps of each example described in combination with the embodiments disclosed herein can be realized in electronic hardware, computer software or a combination of both. In order to clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been described in the above description. Whether the functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.

[0031] In several embodiments provided in the present application, it should be understood that the disclosed method and system can be implemented in other manners. For example, the division of the above-mentioned units is only a logical function division, and there can be another division manner in actual implementation. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the above-mentioned units can or can not be physical units, and can or can not be distributed on a network. Some or all of the units can be selected according to actual needs to achieve the purposes of the embodiments of the present application.

[0032] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the above embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the above embodiments, or make equivalent replacement for part or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application, and they should be covered in the scope of the claims and the description of the present application.

[0033] The above-mentioned is only the preferred embodiment of the present application, and does not limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims

1. A host overlay architecture virtual machine live migration network traffic optimization method, characterized in that, The method comprises the following steps: S1, in a virtual machine live migration process, entering a migration mode; S2, notifying a control plane to issue a flow table of flow mirroring, mirroring flow of the virtual machine to a target CVK; S3, if the target CVK in step S2 does not match the flow, discarding the flow directly, and continuing to process the service by the original virtual machine; S4, after the migration is completed, external flow directly reaches the target CVK, and in a process of transferring a bottom layer service model, service flow is continuously input; S5, closing the migration mode, and clearing the flow mirroring flow table; In step S2, the CVK enters the migration mode, and the flow mirroring flow table is issued; In step S3, if the target virtual machine does not match, the flow is discarded, and after the flow is matched, the service flow is directly processed.

2. An electronic device, comprising a processor and a memory connected to the processor in communication, and used to store executable instructions of the processor, characterized in that: The processor is configured to execute the method for optimizing network flow in virtual machine live migration of a host overlay architecture according to claim 1.

3. A server, characterized by: The computer program is executed by the processor to implement the method for optimizing network flow in virtual machine live migration of a host overlay architecture according to claim 1.

4. A computer readable storage medium storing a computer program, characterized in that: ​

Citation Information

Patent Citations

  • Fast IP migration in a hybrid network environment

    US9928107B1