CN103516802B - Method and device for achieving seamless transference of across heterogeneous virtual switch - Google Patents
Method and device for achieving seamless transference of across heterogeneous virtual switch Download PDFInfo
- Publication number
- CN103516802B CN103516802B CN201310460274.4A CN201310460274A CN103516802B CN 103516802 B CN103516802 B CN 103516802B CN 201310460274 A CN201310460274 A CN 201310460274A CN 103516802 B CN103516802 B CN 103516802B
- Authority
- CN
- China
- Prior art keywords
- virtual
- configuration information
- migration
- virtual machine
- configuration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a method and device for achieving seamless transference of an across heterogeneous virtual switch. The method includes the transference information sensing step of sensing occurrence of virtual machine transference events of the across heterogeneous virtual switch, obtaining the identification of a virtual machine to be transferred and the target address of transference and using the identification and the target address as transference information of the virtual machine to be transferred by analyzing a virtual machine transference command corresponding to a cloud calculation operation system, the configuration mapping control step of obtaining source end virtual network configuration information key parameters from a configuration information base according to the transference information and forming a standardized configuration information file, and the infrastructure agency step of receiving and analyzing the standardized configuration information file, combining the configuration information in the standardized configuration information file into a configuration command according to the type of the target end virtual switch, and executing the configuration command. According to the method and device for achieving seamless transference of the across heterogeneous virtual switch, the aim of enabling the virtual network strategy which corresponds to the virtual machine before the transference is conducted to be equivalent to the virtual network strategy which corresponds to the virtual machine after the transference is conducted can be achieved when the across heterogeneous virtual switch conducts virtual machine transference.
Description
Technical field
The present invention relates to data center network configuration management technology, more particularly, to a kind of across the isomery virtual switch of realization are no
The method and apparatus of seam migration.
Background technology
Cloud computing technology has the features such as dynamic management, distribution according to need, Automatic dispatching, on the one hand can effectively solve to look forward to
The distribution of industry IT resource and sharing problem, realize efficient utilization and the fine-grained management of IT infrastructure;On the other hand can promote
Enter standardization and the Opening of Enterprise information system architecture, strengthen technology and the service supporting capacity of enterprise, realize business information
The Standardization Construction of system and quick deployment.Therefore, in recent years, large enterprises as a lot of in petrochina, middle movement etc. are progressively
Carry out the cloud computing process of itself, to reach the purpose of energy efficiency.The cloud computation data center of large enterprise often has at present
There are following characteristics:
1. data center deployment adopts the polycentric pattern in two places
Number of services due to carrying needed for the cloud computation data center of large enterprise is very huge, and great majority thereon
Service needed meets the demand of high reliability and disaster tolerance, adopts the polycentric Construction Party in two places therefore the deployment of data center more
Case, sets up multiple data centers in different cities and jointly supports enterprise's cloud computing service, both independent between multiple data centers
Work and each other calamity are standby, so not only solve the energy resource supply problem of single ultra-large data center, also so that enhancing
The redundancy ability of whole cloud environment.
2. between data center, adopt virtual switch technology and the product of different vendor
Because the research work of current cloud computing virtual networking is not yet ripe, the key technology in cloud all exists at present
The different solution of multiple implementations and product.These products differ from one another, have his own strong points, and exchange in network virtual and set
, there is Open vSwitch, the isomery virtual switch such as Cisco Nexus1000V, H3C vepa vSwitch in standby aspect.
Cisco Nexus1000V is the ripe commercial product that Cisco System Co. releases, and its forward efficiency height, resource consumption are few, but its
During deployment cannot with the hardware compatibility of non-Cisco manufacturer, adapt to scene limited, and open source projects Open vSwitch with
Although H3C vepa vSwitch technology maturity is relatively low, compatibility can there is equipment well, be very suitable for old number
Upgrading according to center.Therefore, in actual multiple data centers are built, enterprise is for factors such as cost, objective condition
Consider, may be in different data center using from the technology of different vendor and product, and these products are in virtual switch
The design of the aspects such as implementation, the configuration interface of virtual port there is also difference.
Across data center virtual machine live migration technology is the pass that enterprise data center realizes disaster-tolerant backup, resources effective utilization
Key.In order to ensure being normally carried out of virtual machine (vm) migration, enterprise often utilizes the technology such as TRILL, group between each data center
Build big two layers of internet, so that virtual network is carried on big two layer physical networks.Because, in virtual network, each is virtual
Machine is all connected on the virtual port of virtual switch, each virtual port according to practical business need be configured with ACL, QoS etc.
Network strategy, in virtual machine (vm) migration, these network strategies generally require synchronous migration to destination.However, it is different in enterprise
Under structure virtual exchange environment, traditional virtual machine migration technology is typically only capable to ensure the information such as mark, the address of virtual machine
Effectiveness, and above-mentioned can lose efficacy thus affecting business in virtual machine in the configuration strategy on virtual switch such as ACL, QoS
Normal work or even the service quality of whole cloud environment.
Patent publication No. is that the patent documentation " method and apparatus of virtual network configuration migration " of CN102148715A is open
A kind of virtual network configuration migrating technology, this patented technology perceives sending out of across isomery virtual switch virtual machine (vm) migration event
Life, and the network configuration of the physical switch of connection on Autonomic Migration Framework virtual machine can be accomplished, but do not consider in virtual ring
The network configuration being directed to virtual machine under border often issues on virtual switch port, during network configuration migration, loses
Leak the migration problem of virtual network configuration." one kind is directed to virtual master to the patent documentation for CN102412978A for the patent publication No.
Machine carries out the method and system of network configuration " disclose a kind of technology of network configuration synchronous migration during virtual machine (vm) migration, this is special
Virtual network configuration corresponding for virtual machine is bound in NMS by sharp technology, as holistic management, energy
Solve the problems, such as network configuration synchronous migration during virtual machine (vm) migration well, but it does not consider across isomery virtual switch migration
Scene, when the source of virtual machine (vm) migration is inconsistent with the virtual switch that destination adopts, can cause virtual network configuration
Lost efficacy.
Content of the invention
The present invention proposes a kind of method and apparatus realizing across isomery virtual switch seamless migration, solves virtual friendship
Seamless migration problem under across manufacturer virtual exchange environment for the upper network configuration strategy of changing planes.
The invention discloses a kind of method realizing across isomery virtual switch seamless migration, including:
Migration information perceives step, perceives the generation of across isomery virtual switch virtual machine (vm) migration event, by parsing cloud
Calculate the corresponding virtual machine (vm) migration order of operating system, obtain the mark of virtual machine to be migrated and the destination address conduct of migration
The migration information of virtual machine to be migrated;
Configuration mapping rate-determining steps, according to migration information, obtain source virtual network configuration information from configuration information storehouse
Key parameter, forms standardized configuration information file;
Infrastructure proxy step, receives and parses through standardized configuration information file, according to destination virtual switch
Type the configuration information in standardized configuration information file is combined into configuration order, execute configuration order.
Configuration mapping rate-determining steps, also include:Configuration information converges step, collects the virtual network configuration letter of data center
Breath, after parsing, virtual network configuration information keywords parameter is stored in configuration information storehouse, and the situation of change according to virtual network and
When updating maintenance.
Infrastructure proxy step, also includes:Port configures acquisition step, the virtual network configuration letter at gathered data center
Breath, and virtual network configuration information is sent to configuration mapping rate-determining steps, collected, processed and/or stored.
Port configure acquisition step using push away, draw combine by the way of periodically collection and propelling data center virtual net
Network configuration information.
After having executed configuration order, triggering port configuration acquisition step carries out a number to infrastructure proxy step automatically
Acquisition operations according to the virtual network configuration information at center.
Port configures acquisition step, is after completing collection every time, the virtual network configuration information of data center is carried out
Pruning modes, record virtual network configuration information keywords parameter;Wherein, virtual network configuration information keywords parameter describe virtual
Mapping relations and configuration strategy that machine to Microsoft Loopback Adapter port, arrives virtual switch port again.
Virtual network configuration information keywords parameter after pruned process, at least includes:VM-uuid、vNic、vPort、
The five-tuple that TYPE and conf is formed, wherein,
VM-uuid:Unique identification in data center for the virtual machine;
vNic:The unique identification of the Microsoft Loopback Adapter distribution being virtual machine by virtualization control platform Hypervisor;
vPort:The unique identification being distributed for virtual port by virtual switch;
TYPE:The type of the corresponding configuration strategy of five-tuple;
conf:Configuration strategy key parameter, its form is a n tuple, and n is natural number.
When the TYPE of five-tuple is QoS, conf key parameter is<qos_uuid、type1、max-rate、min-rate>
The numbering of four-tuple, respectively QoS, using scene type, virtual port allow pass through maximum rate and minimum-rate;Or,
When the TYPE of five-tuple is vlan, the key parameter of conf is<type2、vlan_group>, respectively application scenarios and vlan
Packet.
Migration information perceives the generation of across the isomery virtual switch virtual machine (vm) migration event of perception in step, is by making
Identify that virtual machine (vm) migration order is called to realization with cloud computing platform code embedded technology.
The invention also discloses realize the device of across isomery virtual switch seamless migration using said method.
The beneficial effects of the present invention is:
Can be with the generation of automatic sensing across isomery virtual switch virtual machine (vm) migration event, and it is virtual seamlessly to migrate correspondence
Network configuration strategy, and difference in technology of realizing with configuration interface for the isomery virtual switch can be shielded, accomplish to migrate
Virtual machine corresponding virtual network strategy is equivalent in front and back.
Brief description
Fig. 1 is the application scenario diagram of the present invention;
Fig. 2 is the schematic diagram of the method for across the isomery virtual switch seamless migration of realization of the present invention;
Fig. 3 is the concrete implementation procedure of the inventive method;
Fig. 3 A is the flow chart of the CVNPA-API of the inventive method;
Fig. 3 B is the flow chart of the CVNPA-Controller of the inventive method;
Fig. 3 C is the flow chart of the CVNPA-Agent of the inventive method;
Fig. 4 is that the virtual network configuration information of the inventive method translates schematic diagram;
Fig. 5 is the schematic diagram of the device of across the isomery virtual switch seamless migration of realization of the present invention.
Specific embodiment
With reference to embodiment and accompanying drawing, technical scheme is introduced in detail.
Fig. 1 is the application scenario diagram of the present invention.Fig. 1 Zhong Yousange data center 51,52,53, data center 51 is using empty
Intend switch EVB VSwitch, data center 52 uses virtual switch CISCO VSwitch, data center 53 uses virtual
Switch vDs.Each data center can have multiple servers, server 511,521,531 be belonging respectively to data center 51,
52、53.Hypervisor is virtualization control platform, and upper-layer user is completed with the encapsulation of virtual machine control method, hard to lower floor
Part equipment completes timesharing burst call operation.VM represents virtual machine, VM5111,5112 be data center 51 server 511
Virtual machine, VM5211,5212 be data center 52 server 521 virtual machine, VM5311,5312 be data center 53 clothes
The virtual machine of business device 531.The situation of three kinds of virtual machine (vm) migrations is shown in Fig. 1:The virtual machine VM5111 migration of data center 51
Virtual machine VM5111 to the virtual machine VM5312 of data center 53, data center 51 moves to the virtual machine of data center 52
VM5211, the virtual machine VM5212 of data center 52 move to the virtual machine VM5312 of data center 53.
Fig. 2 is the schematic diagram of the method for across the isomery virtual switch seamless migration of realization of the present invention.Including:Migration information
Perception step S100, configuration mapping rate-determining steps S200 and infrastructure proxy step S300.
Migration information perceives step S100, perceives the generation of across isomery virtual switch virtual machine (vm) migration event, by solution
The corresponding virtual machine (vm) migration order of analysis cloud computing operating system, obtains the mark of virtual machine to be migrated and the destination address of migration
Migration information as virtual machine to be migrated.Wherein, across the isomery virtual switch of perception that migration information perceives in step is virtual
The generation of machine migration event, is to be called to reality by using the identification virtual machine (vm) migration order of cloud computing platform code embedded technology
Existing.
Configuration mapping rate-determining steps S200, according to migration information, obtains source virtual network configuration from configuration information storehouse
Information keywords parameter, forms standardized configuration information file.
Configuration mapping rate-determining steps S200, also includes:Port configures acquisition step, and the virtual network collecting data center is joined
Confidence ceases, and after parsing, virtual network configuration information keywords parameter is stored in configuration information storehouse, and the change feelings according to virtual network
Condition upgrades in time maintenance.
Infrastructure proxy step S300, receives and parses through standardized configuration information file, according to the virtual friendship of destination
Configuration information in standardized configuration information file is combined into configuration order by the type changed planes, and executes configuration order.
Infrastructure proxy step S300, also includes:Port configures acquisition step, and the virtual network at gathered data center is joined
Confidence ceases, and virtual network configuration information is sent to configuration mapping rate-determining steps, is collected, processed and/or is stored.Port
Configuration acquisition step using push away, draw combine by the way of periodically collection and propelling data center virtual network configuration information.
After having executed configuration order, triggering port configuration acquisition step carries out one to infrastructure proxy step S300 automatically
The acquisition operations of the virtual network configuration information of secondary data center.
Port configures acquisition step, is after completing collection every time, virtual network configuration information is carried out with pruning modes, note
Virtual network configuration information key parameter under record.Virtual network configuration information keywords parameter describes virtual machine to Microsoft Loopback Adapter end
Mouthful, arrive mapping relations and the configuration strategy of virtual switch port again.
Virtual network configuration information keywords parameter after pruned process, at least includes:VM-uuid、vNic、vPort、
The five-tuple that TYPE and conf is formed, wherein,
VM-uuid:Unique identification in data center for the virtual machine;
vNic:The unique identification of the Microsoft Loopback Adapter distribution being virtual machine by virtualization control platform Hypervisor;
vPort:The unique identification being distributed for virtual port by virtual switch;
TYPE:The type of the corresponding configuration strategy of five-tuple;
conf:Configuration strategy key parameter, its form is a n tuple, and n is natural number.
The TYPE of five-tuple is QoS(Quality of Service, service quality)When, conf key parameter is<qos_
uuid、type1、max-rate、min-rate>The numbering of four-tuple, respectively QoS, using scene type, virtual port allow
By maximum rate and minimum-rate.The TYPE of five-tuple is vlan(Virtual Local Area Network, virtual local area
Net)When, the key parameter of conf is<type2、vlan_group>, respectively application scenarios and vlan packet.
Fig. 3 is the concrete implementation procedure of the inventive method.Including:Execution migration information perceives the assembly of step S100
CVNPA(Cross-Vendor Network Policy Adaptor, the network strategy migration of striding equipment manufacturer)- API20, hold
The group of the assembly CVNPA-Controller30 and execution infrastructure proxy step S300 of row configuration mapping rate-determining steps S200
Part CVNPA-Agent40.Wherein, the implementation procedure of CVNPA-API20 specifically includes:Migration information perception 201;CVNPA-
The implementation procedure of Controller30 specifically includes:Configuration information converges 301, port configuration querying 302, configuration information standardization
303 and port configuration distributing 304;The implementation procedure of CVNPA-Agent40 specifically includes:Port configuration collection 401, configuration information
Conversion 402 and configuration order execution 403.In cloud computing operating system 10, CVNPA-API20 plug-in unit is installed, each data center divides
Do not dispose a CVNPA-Agent40, cloud environment real network disposes a CVNPA-Controller30, so that above-mentioned
The big inter-module of CVNPA tri- can be with proper communication, it is necessary to assure the network between them up to.
1.CVNPA-API20(Migration information perceives step S100)Implementation procedure is as follows, refers to Fig. 3 A simultaneously(Fig. 3 A is
The flow chart of the CVNPA-API of the inventive method):
The migration information sense operation 201 of CVNPA-API20, perceives across isomery virtual switch virtual machine (vm) migration event
Occur, and by parsing the corresponding virtual machine (vm) migration order of cloud computing operating system, obtain unique mark of virtual machine to be migrated
Know the destination address with migration.CVNPA-API20 is based on cloud computing platform code embedded technology, by perception across the virtual friendship of isomery
Change planes virtual machine (vm) migration order identifying the generation of across isomery virtual switch virtual machine (vm) migration event, and synchronous triggering virtual net
Network configuration emigration mechanism.
In cloud environment, the deployment of virtual machine is all processed by cloud computing operating system 10 with scheduling and completes, the therefore present invention
Obtain the migration information of virtual machine to be migrated by the way of embedded code in cloud computing operating system, migration information includes:
The mark of virtual machine to be migrated and the destination address of migration.Because large-scale cloud computing operating system at present is often using cloud meter of increasing income
Calculate platform(As OpenStack, CloudStack etc.)Secondary development forms, and therefore the present invention looks in the source code of these systems
Go out across isomery virtual switch virtual machine (vm) migration control function(Virtual machine (vm) migration order), and designed by the way of secondary development
CVNPA-API entrance function, across isomery virtual switch virtual machine (vm) migration control function be called when judge across isomery
Virtual switch virtual machine (vm) migration event occurs, and CVNPA-API entrance function is again by the mark of virtual machine to be migrated and migration
The migration information of destination address is sent to CVNPA-Controller30 by messaging bus 60(CVNPA-API entrance function
Effect is that across the isomery virtual switch virtual machine (vm) migration event of perception occurs, and by the migration information of virtual machine to be migrated send to
Messaging bus 60, the concrete form of this function can be designed according to practical situation).Generally, migration information perception 201,
When across isomery virtual switch virtual machine (vm) migration event occurs, the migration machine of virtual network configuration strategy can be started in time
System, and obtain the relevant information of this virtual machine (vm) migration from cloud computing platform, passed through messaging bus 60 and be sent to
CVNPA-Controller30.
2.CVNPA-Controller30(Configuration mapping rate-determining steps S200)Implementation procedure is as follows, refers to Fig. 3 B simultaneously
(Fig. 3 B is the flow chart of the CVNPA-Controller of the inventive method):
CVNPA-Controller30 safeguards the configuration information storehouse 31 of the virtual network overall situation, and when generation is across the virtual friendship of isomery
Change planes virtual machine (vm) migration when, the migration information according to virtual machine to be migrated reads the virtual of source virtual port from configuration information storehouse
Network configuration information key parameter, and it is issued to the destination data center of migration after being combined into standardized configuration information file
CVNPA-Agent40.CVNPA-Controller30 is based on configuration information file Template Technology, shields isomery virtual switch
The difference of technology, so that when across the heterogeneous device migration of virtual machine, it is empty that source-end networkses configuration automatic mapping becomes to be applied to destination
Intend the virtual network configuration of switch.
The configuration information converge operation 301 of CVNPA-Controller30, collects CVNPA-Agent40 from messaging bus 60
The virtual network configuration information of the data center sending(Configuration strategy of the annexation of virtual network and virtual port etc.), solution
After analysis, its key parameter is stored in configuration information storehouse 31, and is upgraded in time maintenance according to the situation of change of virtual network.
The port configuration querying operation 302 of CVNPA-Controller30, takes out CVNPA-API20 from messaging bus 60
The migration information of the virtual machine sending, and from configuration information storehouse 31, query source is empty according to the source virtual machine mark in migration information
The virtual network configuration information keywords parameter intending port is sent to configuration information normalizing operation 303.
The configuration information normalizing operation 303 of CVNPA-Controller30, by the virtual network configuration of source virtual port
Key parameter is reassembled as standardized configuration information file and is sent to port configuration distributing operation 304.
The port configuration distributing operation 304 of CVNPA-Controller30, standardized configuration information file is passed through to disappear
Breath bus 60 is transferred to the CVNPA-Agent40 parsing execution of the destination data center of migration.
Fig. 4 is that the virtual network configuration information of the inventive method translates schematic diagram.Configuration information converge operation 301 will be derived from
The virtual network configuration information keywords parameter of the CVNPA-Agent40 of data center is stored in configuration information storehouse 31, and port configuration is looked into
Ask the operation 302 query source virtual port in configuration information storehouse 31 of the migration information according to the virtual machine from CVNPA-API20
Configuration information key parameter, the virtual network configuration information keywords of source virtual port are joined by configuration information normalizing operation 303
Number is reassembled as standardized configuration information file, and standardized configuration information file is passed through to disappear by port configuration distributing operation 304
Breath bus 60 is sent to the CVNPA-Agent40 of the destination data center of migration.Standard configurations message file is<VM-
uuid、vNic、vPort、TYPE、conf>The five-tuple of form, records virtual network configuration information keywords parameter, its description
Mapping relations and network configuration that virtual machine to Microsoft Loopback Adapter port, arrives virtual switch port again, the concrete meaning of five-tuple
Refer to the description of Fig. 2.
Generally, CVNPA-Controller30 joins to solve across isomery virtual switch virtual port virtual network
Put the problem of conversion of equal value, employ configuration information file Template Technology, set up and maintain a virtual network overall situation
Configuration information storehouse 31, the virtual network configuration information collecting virtual port in cloud is processed arranging, and extracts wherein crucial ginseng
Count and be stored in configuration information storehouse 31, when needing a virtual network configuration is migrated, CVNPA-
Controller30 can read its key parameter from configuration information storehouse 31 and be combined into standardized configuration information file, transmission
Change into corresponding configuration order to the type in conjunction with its virtual switch after the CVNPA-Agent40 of destination data center
It is issued to virtual switch execution, before and after realizing virtual machine (vm) migration, corresponding virtual network configuration strategy is equivalent.
3.CVNPA-Agent40(Infrastructure proxy step S300)Implementation procedure is as follows, refers to Fig. 3 C simultaneously(Fig. 3 C
Flow chart for the CVNPA-Agent of the inventive method):
CVNPA-Agent40 shielding device type and the difference of implementation, provide unification for isomery virtual switch
Operate interface.Wherein, CVNPA-Agent40 can be with virtualization control platform Hypervisor of data center and virtual switch
Interact.
The port configuration acquisition operations 401 of CVNPA-Agent40, gather place data center(Local)Virtual network
Configuration information, and messaging bus 60 will be delivered to thereon, send the configuration information converge operation 301 of CVNPA-controller30 to
Carry out collecting, process, preserve.
The configuration information conversion 402 of CVNPA-Agent40, the standard configurations information literary composition that parsing messaging bus 60 transmit
Part, obtains the virtual network configuration information keywords parameter of source virtual port, joins these further according to local virtual switch type
Array synthesizes corresponding configuration order.
The configuration order execution 403 of CVNPA-Agent40, executes configuration order.
CVNPA-Agent40 is gathered using the mode that " pushing away ", " drawing " both of which combine and pushes in the data of place
The heart(Local)The virtual network configuration information of virtual port." drawing " pattern:CVNPA-Controller30 is to CVNPA-
Agent40 wants virtual network configuration information, and that is, CVNPA-Agent40 is according to the demand cycle ground of CVNPA-Controller30
Gather local virtual network configuration information, and send it to CVNPA-Controller30.Specifically, CVNPA-
Controller30 periodically sends the message to trigger port configuration acquisition operations 401 collection administration to CVNPA-Agent40
Virtual port configuration information in domain, when the port configuration acquisition operations 401 of CVNPA-Agent40 complete virtual network configuration every time
After information gathering, all can carry out pruning modes to virtual network configuration information, in the form of standard configurations message file, record
The virtual network configuration information keywords parameter of lower virtual port;Then, total by delivering to message on this standard configurations message file
Line 60, is sent to CVNPA-Controller30, and the configuration information converge operation 301 of CVNPA-Controller30 parses these
Information, therefrom obtains key parameter, is written in configuration information storehouse 31, completes this virtual network configuration information mistake
Journey." pushing away " pattern:CVNPA-Agent40 active pushes virtual network configuration information to CVNPA-Controller30.Concrete and
Speech, after the configuration order execution of configuration order execution operation 403, port of triggering configures the virtual of acquisition operations 401 automatically
The virtual network configuration information gathering operation of port, the port configuration acquisition operations 401 of CVNPA-Agent40 are to the void collecting
Intend network configuration information to be processed, to the virtual network configuration information collecting in this processing procedure and above-mentioned " drawing " pattern
Processing procedure is identical, to ensure that up-to-date virtual network configuration information can update to the overall situation of CVNPA-Controller30
Configuration information storehouse 31 in.
From Fig. 3 and its described above content, in order to guarantee when across hetrogeneous switch virtual machine occurs migration, and
When, seamless virtual network configuration information is migrated, the workflow of the method for the present invention is divided into two large divisions:(1)Make
Collected with " pushing away ", " drawing " two ways and push the virtual network configuration information of virtual network interface, will store after its templating
In overall configuration information storehouse 31, that is, in Fig. 3 shown in dotted line;(2)When across hetrogeneous switch virtual machine (vm) migration occurs, from joining
Put the virtual network configuration information taking out source in information bank 31, and according to virtual switch type synthesis connecting on destination etc.
It is issued to execution on purpose virtual port after effect configuration order, that is, shown in solid in Fig. 3.
Fig. 5 is the schematic diagram of the device of across the isomery virtual switch seamless migration of realization of the present invention.In this device and Fig. 2
Method corresponding.Including:Migration information sensing module M100, configuration mapping control module M200 and infrastructure proxy module
M300.
Migration information sensing module M100, perceives the generation of across isomery virtual switch virtual machine (vm) migration event, by solution
The corresponding virtual machine (vm) migration order of analysis cloud computing operating system, obtains the mark of virtual machine to be migrated and the destination address of migration
Migration information as virtual machine to be migrated.Wherein, across the isomery virtual switch of perception in migration information sensing module is virtual
The generation of machine migration event, is to be called to reality by using the identification virtual machine (vm) migration order of cloud computing platform code embedded technology
Existing.
Configuration mapping control module M200, according to migration information, obtains source virtual network configuration from configuration information storehouse
Information, forms standardized configuration information file.
Configuration mapping control module M200, also includes:Port configures acquisition module, and the virtual network collecting data center is joined
Confidence ceases, and after parsing, virtual network configuration information keywords parameter is stored in configuration information storehouse, and the change feelings according to virtual network
Condition upgrades in time maintenance.
Infrastructure proxy module M300, receives and parses through standardized configuration information file, according to the virtual friendship of destination
Configuration information in standardized configuration information file is combined into configuration order by the type changed planes, and executes configuration order.
Infrastructure proxy module M300, also includes:Port configures acquisition module, and the virtual network at gathered data center is joined
Confidence ceases, and virtual network configuration information is sent to configuration mapping control module, is collected, processed and/or is stored.Port
Configuration acquisition step using push away, draw combine by the way of periodically collection and propelling data center virtual network configuration information.
After having executed configuration order, triggering port configuration acquisition module carries out one to infrastructure proxy module M300 automatically
The acquisition operations of the virtual network configuration information of secondary data center.
Port configures acquisition module, is after completing collection every time, virtual network configuration information is carried out with pruning modes, note
Virtual network configuration information key parameter under record, and describe virtual machine to Microsoft Loopback Adapter port, arrive virtual switch port again
Mapping relations and configuration strategy.
Configuration information key parameter after pruned process, at least includes:VM-uuid, vNic, vPort, TYPE and conf
The five-tuple being formed, wherein,
VM-uuid:Unique identification in data center for the virtual machine;
vNic:The unique identification of the Microsoft Loopback Adapter distribution being virtual machine by virtualization control platform Hypervisor;
vPort:The unique identification being distributed for virtual port by virtual switch;
TYPE:The type of the corresponding configuration strategy of five-tuple;
conf:Configuration strategy key parameter, its form is a n tuple, and n is natural number.
When the TYPE of five-tuple is QoS, conf key parameter is<qos_uuid、type1、max-rate、min-rate>
The numbering of four-tuple, respectively QoS, using scene type, virtual port allow pass through maximum rate and minimum-rate.Five-tuple
TYPE be vlan when, the key parameter of conf is<type2、vlan_group>, respectively application scenarios and vlan packet.
Detailed description to apparatus of the present invention refer to the content of Fig. 3, Fig. 3 A, Fig. 3 B, Fig. 3 C and Fig. 4.
The workflow of the virtual network configuration migration of the present invention can be described as:When across isomery virtual switch virtual machine
When migration event occurs, CVNPA-API20 can be triggered, and migration information sense operation 201 can be from cloud computing operating system 10
VM-uuid and the move target being migrated virtual machine is taken out in the parameter of across isomery virtual switch virtual machine (vm) migration control function
The OC NCV ambda on ground, then passes to CVNPA-Controller30 by delivering to messaging bus 60 in these information.
CVNPA-Controller30 calls port configuration querying operation 302 after receiving this type of information, according to the virtual machine VM- transmitting
Uuid inquires about this virtual machine corresponding virtual network configuration key parameter from configuration information storehouse 31 and is handed over to configuration information
Normalizing operation 303 is processed, and configuration information normalizing operation 303 makes standardization according to virtual network configuration key parameter
Configuration information file, then port configuration distributing operation 304 will deliver to messaging bus 60 thereon, pass to CVNPA-
Agent40 process.After CVNPA-Agent40 obtains standardized configuration information file from messaging bus 60, call
Configuration information conversion operation 402, according to local virtual switch type, standardized configuration information file is changed into correspondence
The configuration order of virtual switch, and transfer to configuration order execution operation 403 execution.
The present invention, in across isomery virtual switch virtual machine (vm) migration, migrates the virtual network of its corresponding virtual port in time
Configuration is it is ensured that the normal work of virtual network, so that business is not changed by underlying infrastructure and affected in cloud.Especially
Ground, can shield the difference that isomery virtual switch technology is brought, when across the isomery virtual switch of virtual machine migrates, the source of migration
The network configuration policy information of end virtual switch port can accurately be mapped as the configuration life of destination virtual switch port
Order, before and after ensureing migration, virtual network configuration is equivalent.
More than, it is only presently preferred embodiments of the present invention, not the present invention is made with any pro forma restriction, any affiliated skill
The technical staff in art field, if in the range of without departing from technical characteristic proposed by the invention, using skill disclosed in this invention
Art content is made the Equivalent embodiments that local is changed or changed, and the technical characteristic content without departing from the present invention, all still belongs to
In the range of the technology of the present invention feature.
Claims (5)
1. a kind of method realizing across isomery virtual switch seamless migration is it is characterised in that include:
Migration information perceives step, and the generation of the virtual machine (vm) migration event across isomery virtual switch for the perception, by parsing cloud meter
Calculate the corresponding virtual machine (vm) migration order of operating system, obtain the mark of virtual machine to be migrated and the destination address of migration as institute
State the migration information of virtual machine to be migrated;
Configuration mapping rate-determining steps, according to described migration information, obtain source virtual network configuration information from configuration information storehouse
Key parameter, forms standardized configuration information file;
Infrastructure proxy step, receives and parses through described standardized configuration information file, according to destination virtual switch
Type the configuration information in described standardized configuration information file is combined into configuration order, execute described configuration order;
Wherein said configuration mapping rate-determining steps, also include:Configuration information converges step, across the net of different vendor's switch device
Controller end CVNPA-Controller of network protocol adaptor is periodically collected in data by message transmission/reception mechanism
Virtual network configuration information keywords parameter is stored in described configuration information storehouse after pruning modes by the virtual network configuration information of the heart;
And, across different vendor's switch device network protocol adapter the CVNPA-Agent active of proxy server end to CVNPA-
Controller end sends virtual network configuration information it is ensured that up-to-date virtual network configuration information can update to CVNPA-
Controller, the virtual network configuration information of push is stored in described configuration information storehouse after treatment;
Described infrastructure proxy step, also includes:Port configures acquisition step, and the virtual network gathering described data center is joined
Confidence ceases, and described virtual network configuration information is sent to described configuration mapping rate-determining steps, carry out collecting, process and/or
Storage;Described infrastructure proxy step after the completion of configuration order execution, adopt automatically by triggering described port configuration acquisition step
Collection virtual network configuration information, updates the described configuration information storehouse at CVNPA-Controller end;
Described port configures acquisition step, is the virtual network configuration information after completing collection every time, to described data center
Carry out pruning modes, record virtual network configuration information keywords parameter;Wherein, described virtual network configuration information keywords parameter
Mapping relations and configuration strategy that description virtual machine to Microsoft Loopback Adapter port, arrives virtual switch port again.
2. the method realizing across isomery virtual switch seamless migration according to claim 1 is it is characterised in that described end
Mouthful configuration acquisition step using push away, draw combine by the way of periodically gather and push the virtual network configuration of described data center
Information.
3. the method realizing across isomery virtual switch seamless migration according to claim 1 is it is characterised in that pruned
Described virtual network configuration information keywords parameter after process, at least includes:VM-uuid, vNic, vPort, TYPE and conf shape
The five-tuple becoming, wherein,
VM-uuid:Unique identification in data center for the virtual machine;
vNic:The unique identification of the Microsoft Loopback Adapter distribution being virtual machine by virtualization control platform Hypervisor;
vPort:The unique identification being distributed for virtual port by virtual switch;
TYPE:The type of the corresponding configuration strategy of described five-tuple;
conf:Described configuration strategy key parameter, its form is a n tuple, and n is natural number.
4. the method realizing across isomery virtual switch seamless migration according to claim 3 is it is characterised in that described five
When the TYPE of tuple is QoS, conf key parameter is<qos_uuid、type1、max-rate、min-rate>Four-tuple, respectively
Numbering for QoS, allow to pass through maximum rate and minimum-rate using scene type, virtual port;Or, described five-tuple
When TYPE is vlan, the key parameter of conf is<type2、vlan_group>, respectively application scenarios and vlan packet.
5. the method realizing across isomery virtual switch seamless migration according to claim 1 is it is characterised in that described move
Move the generation of the virtual machine (vm) migration event perceiving across isomery virtual switch in information Perception step, be by using cloud computing
Platform code embedded technology identifies that described virtual machine (vm) migration order is called to realization.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310460274.4A CN103516802B (en) | 2013-09-30 | 2013-09-30 | Method and device for achieving seamless transference of across heterogeneous virtual switch |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310460274.4A CN103516802B (en) | 2013-09-30 | 2013-09-30 | Method and device for achieving seamless transference of across heterogeneous virtual switch |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103516802A CN103516802A (en) | 2014-01-15 |
CN103516802B true CN103516802B (en) | 2017-02-08 |
Family
ID=49898819
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310460274.4A Expired - Fee Related CN103516802B (en) | 2013-09-30 | 2013-09-30 | Method and device for achieving seamless transference of across heterogeneous virtual switch |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103516802B (en) |
Families Citing this family (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103795650B (en) * | 2014-01-27 | 2018-02-06 | 新华三技术有限公司 | A kind of moving method of configuration information, method to set up and its equipment |
CN105573830B (en) * | 2014-10-09 | 2019-07-19 | 中国银联股份有限公司 | A kind of virtual machine migration method |
WO2016106653A1 (en) * | 2014-12-31 | 2016-07-07 | 华为技术有限公司 | Method and device for seamless transition |
CN104683476A (en) * | 2015-03-17 | 2015-06-03 | 成都艺辰德迅科技有限公司 | Stored data migration method |
CN104683478A (en) * | 2015-03-17 | 2015-06-03 | 成都艺辰德迅科技有限公司 | Online migration method for cloud computing |
CN104935519B (en) * | 2015-04-16 | 2018-05-11 | 新华三技术有限公司 | Virtual machine in position and mark separated protocol network moves into detection method and device |
CN106209933A (en) * | 2015-04-30 | 2016-12-07 | 中国移动通信集团四川有限公司 | source host, migration framework and data migration method |
CN106330650B (en) * | 2015-06-25 | 2019-12-03 | 中兴通讯股份有限公司 | A kind of IP moving method and device, virtualization network system |
CN106712988B (en) * | 2015-08-25 | 2019-11-12 | 新华三技术有限公司 | A kind of virtual network management method and device |
WO2018191849A1 (en) | 2017-04-17 | 2018-10-25 | 华为技术有限公司 | Cloud management platform, virtual machine management method and system thereof |
CN109818998B (en) * | 2017-11-22 | 2021-05-25 | 中国电信股份有限公司 | Information synchronization method and device |
CN109274537B (en) * | 2018-10-25 | 2022-12-27 | 深圳供电局有限公司 | Continuous network virtualization platform system |
CN109450701B (en) * | 2018-12-07 | 2020-04-17 | 北京金山云网络技术有限公司 | Virtual switch switching method and device, host machine and computer readable storage medium |
CN111459415B (en) * | 2020-04-15 | 2023-05-23 | 腾讯云计算(长沙)有限责任公司 | Cross-cloud data migration method, device, equipment and storage medium |
CN113448688B (en) * | 2021-06-29 | 2024-02-06 | 华云数据控股集团有限公司 | Method, system and computer medium for automatically correcting network configuration of cloud migration scene |
CN113485756A (en) * | 2021-06-30 | 2021-10-08 | 深圳市科力锐科技有限公司 | Hardware equipment configuration method, device, equipment and storage medium |
CN113691436B (en) * | 2021-09-07 | 2023-04-18 | 中国联合网络通信集团有限公司 | Virtual machine migration method and virtual machine migration device |
CN116319310A (en) * | 2021-12-07 | 2023-06-23 | 中兴通讯股份有限公司 | Virtual switch upgrading method, equipment, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102132511A (en) * | 2008-08-27 | 2011-07-20 | 思科技术公司 | Virtual switch quality of service for virtual machines |
CN102148715A (en) * | 2011-05-17 | 2011-08-10 | 杭州华三通信技术有限公司 | Method and device for virtual network configuration migration |
CN102739645A (en) * | 2012-04-23 | 2012-10-17 | 杭州华三通信技术有限公司 | Method and device for migrating virtual machine safety policy |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5446040B2 (en) * | 2009-09-28 | 2014-03-19 | 日本電気株式会社 | Computer system and virtual machine migration method |
-
2013
- 2013-09-30 CN CN201310460274.4A patent/CN103516802B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102132511A (en) * | 2008-08-27 | 2011-07-20 | 思科技术公司 | Virtual switch quality of service for virtual machines |
CN102148715A (en) * | 2011-05-17 | 2011-08-10 | 杭州华三通信技术有限公司 | Method and device for virtual network configuration migration |
CN102739645A (en) * | 2012-04-23 | 2012-10-17 | 杭州华三通信技术有限公司 | Method and device for migrating virtual machine safety policy |
Also Published As
Publication number | Publication date |
---|---|
CN103516802A (en) | 2014-01-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103516802B (en) | Method and device for achieving seamless transference of across heterogeneous virtual switch | |
US12047283B2 (en) | Flow tracing operation in container cluster | |
US10601637B2 (en) | Hierarchical network managers | |
EP2849064B1 (en) | Method and apparatus for network virtualization | |
CN104170323B (en) | Fault handling method and device, system based on network function virtualization | |
CN103703724B (en) | Resource payment method | |
US10250508B2 (en) | Load balancing method and system | |
CN103607430B (en) | A kind of method and system of network processes and the network control center | |
CN105099789B (en) | A kind of network element updating method and apparatus | |
CN105359459B (en) | A kind of method, apparatus and system for realizing virtualization network management | |
US9450823B2 (en) | Hybrid network management | |
CN102457439B (en) | Virtual switching system and method of cloud computing system | |
CN106612225B (en) | Openstack-based agent deployment system and method | |
CN102684970B (en) | Thin-client environment providing system, server and thin-client environmental management technique | |
CN106301829A (en) | A kind of method and apparatus of Network dilatation | |
KR20140066781A (en) | Chassis controllers for converting universal flows | |
CN108475251A (en) | It is put for the virtual network of container, heat exchange, pyrocondensation and disaster recovery | |
CN105607954A (en) | Stateful container online migration method and apparatus | |
CN107925633A (en) | Data center resource tracks | |
CN106850565A (en) | A kind of network data transmission method of high speed | |
CN105187512A (en) | Method and system for load balancing of virtual machine clusters | |
CN105262837A (en) | Tri-network integration application terminal accessing device based on cloud computing and realization method | |
CN103560967A (en) | Virtual data center mapping method sensing service requirement | |
CN103581325B (en) | A kind of cloud computing resources cell system and its implementation method | |
US11743325B1 (en) | Centralized load balancing of resources in cloud edge locations embedded in telecommunications networks |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170208 Termination date: 20190930 |
|
CF01 | Termination of patent right due to non-payment of annual fee |