Method and device for dynamically migrating VLAN (virtual local area network) configuration

A technology of dynamic migration and configuration information, which is applied in the field of data communication and can solve problems such as virtual machines being unable to access normal networks

Active Publication Date: 2012-12-12
NEW H3C TECH CO LTD
View PDF4 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, when a virtual machine is migrated, if the destination switch of the virtual machine is not pre-configured with the VLAN configuration used by the virtual machine, the virtual machine cannot access the normal network after the virtual machine migration is completed.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for dynamically migrating VLAN (virtual local area network) configuration
  • Method and device for dynamically migrating VLAN (virtual local area network) configuration
  • Method and device for dynamically migrating VLAN (virtual local area network) configuration

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] Such as figure 1 As shown, the virtual machine 1 (VM1) is on the physical server A, and before migration, it is connected to the ethernet1 / 1 port of the edge switch (Edge Switch 1) through VLAN1, so as to access the network. The network management system configures the ethernet1 / 1 port to allow VLAN1 to pass through, and configures the ethernet2 / 1 port of the edge switch (Edge Switch 2) to not allow VLAN1 to pass through.

[0042] When physical server A is overloaded, VM 1 needs to be migrated to physical server B. When a migration event occurs, the network management system may perceive two messages at different stages, one is that the migration is in progress, and the other is that the migration is completed, and both of these two messages are sent by the physical server B.

[0043] When the network management system perceives the message (migration event) that the migration is in progress, it queries the database stored by itself, obtains the VLAN 1 configuration in...

Embodiment 2

[0048] Such as figure 1 As shown, the virtual machine 1 (VM1) is on the physical server A, and before migration, it is connected to the ethernet1 / 1 port of the edge switch (Edge Switch 1) through VLAN1, so as to access the network. The network management system configures the ethernet1 / 1 port to allow VLAN1 to pass through, and configures the ethernet2 / 1 port of the edge switch (Edge Switch 2) to not allow VLAN1 to pass through.

[0049] When physical server A is overloaded, VM 1 needs to be migrated to physical server B. When a migration event occurs, the network management system may perceive two messages at different stages, one is that the migration is in progress, and the other is that the migration is completed, and both of these two messages are sent by the physical server B.

[0050] After the physical server B sends a migration completion message, the physical server B will send a RARP message in its local area network to update the ARP table of each local physical s...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method and device for dynamically migrating VLAN (virtual local area network) configuration. The method comprises the following steps of: storing virtual machine ID and corresponding VLAN configuration information in a network management system in advance; transmitting the VLAN configuration of a virtual machine to an upstream physical switch corresponding to a migrated physical server of the virtual machine when the network management system senses out a network migration event of the virtual machine, wherein the migrated physical server transmits an RARP (reverse address resolution protocol) message so as to update ARP tables of all the upstream physical switches after the migration of the virtual machine is finished; and if the migration event is finished before the network management system finishes transmitting the VLAN configuration, the network management system ages the ARP table on a physical switch by an SNMP (simple network management protocol) or command line so as to update the ARP tables of all the upstream physical switches of the migrated physical server. According to the invention, the VLAN configuration of the virtual machine can be migrated dynamically along with the migration of the virtual machine.

Description

technical field [0001] The invention relates to the technical field of data communication, in particular to a method and a device for dynamically migrating VLAN configuration along with virtual machine migration in a virtualized environment. Background technique [0002] Virtualization technology is now receiving more and more attention. Many manufacturers in the industry have produced many virtual machine products, such as VMWare, HyperV, and KVM. Users can virtualize multiple hosts on the physical server for use by different users. When there are too many virtual hosts on a physical server, insufficient resources and slow operation will occur. In order to avoid this situation, each vendor provides a virtual machine migration function, which migrates a virtual machine from a server with a heavy load to a server with a light load, thereby realizing full utilization of resources. [0003] In actual network applications, due to network security and other considerations, ente...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/46H04L12/56
Inventor 刘浩曾勇刚
Owner NEW H3C TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products