Method and device for upgrading virtual switch

A virtual switch and virtual machine technology, applied in the field of network communication, can solve problems such as low network efficiency and interruption of virtual machine services, and achieve the effect of simplifying operations

CN104780071AActive Publication Date: 2015-07-15NEW H3C TECH CO LTD
7 Cites 28 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2015-07-15

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention provides a method and a device for upgrading a virtual switch. The method is applied to main control equipment, the main control equipment forms a cluster with at least one other control equipment, all the control equipment in the cluster are respectively connected with at least two servers, an OVS (Open Virtual Switch) is mounted on each server, and each OVS is connected with at least one virtual machine. The method comprises the following steps: configuring a port made for the migration of the virtual machine based on the second OVS and updating stored virtual machine information; thermally migrating the virtual machine to the lower part of the second OVS based on the updated virtual machine information; configuring a port made for the emigration of the virtual machine based on the first OVS and adding an identifier to corresponding information in the virtual machine information; upgrading the first OVS based on the identified information; after the completion of upgrading, migrating back the virtual machine from the second OVS to the upgraded first OVS based on the identified information. According to the method and the device provided by the invention, the virtual machine can be guaranteed not to be off line and cut off in the OVS upgrading process and not to influence the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of network communication, in particular to a method and device for upgrading a virtual switch. Background technique

[0002] OVS (Open Virtual Switch, Open Virtual Switch) is a virtual switch that can support multiple standard management interfaces and protocols, and can support a distributed environment of multiple physical servers.

[0003] When the OVS on the server needs to be upgraded, all online virtual machines under the server need to be offline before the upgrade, and all OVS port information on the server needs to be deleted, and then the control component controls the server to perform the OVS version Updates and upgrades.

[0004] It can be seen that in the prior art, all virtual machine services under the server where the OVS is located are all interrupted during the upgrade process of the OVS, and the virtual machine of the entire network is offline and interrupted, which will greatly reduce t...

Examples

Embodiment Construction

[0024] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, and to make the above-mentioned purposes, features and advantages of the embodiments of the present invention more obvious and understandable, the following describes the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings For further detailed explanation.

[0025] see figure 1 , is a schematic diagram of an application scenario of an updated embodiment of a virtual switch according to the present invention.

[0026] figure 1 A network architecture is shown, the network architecture includes at least two control devices, each control device is connected to several servers, each server is installed with OVS software for performing switching functions, and each OVS is connected to several virtual machines. It should be noted that a plurality of control devices constitute a control ...