CN103516554A - Method and equipment for VM (Virtual Machine) migration - Google Patents

Method and equipment for VM (Virtual Machine) migration Download PDF

Info

Publication number
CN103516554A
CN103516554A CN201310501591.6A CN201310501591A CN103516554A CN 103516554 A CN103516554 A CN 103516554A CN 201310501591 A CN201310501591 A CN 201310501591A CN 103516554 A CN103516554 A CN 103516554A
Authority
CN
China
Prior art keywords
evb
edge switch
user network
vdp
network
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.)
Granted
Application number
CN201310501591.6A
Other languages
Chinese (zh)
Other versions
CN103516554B (en
Inventor
缪琛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201310501591.6A priority Critical patent/CN103516554B/en
Publication of CN103516554A publication Critical patent/CN103516554A/en
Application granted granted Critical
Publication of CN103516554B publication Critical patent/CN103516554B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and equipment for VM migration. The method comprises the following steps: a CFM is configured on a VSI (Virtual Station Interface) corresponding to a VM of an EVB (Edge virtual Bridging) edge switch; the VLAN (Virtual Local Area Network) of the CFM is a specified VLAN corresponding to the flow of the VM; when the EVB edge switch receives a CCM message sent to the VSI by equipment between the EVB edge switch and a user network, and when the specified VLAN is carried in the CCM message, a link between the EVB edge switch and the user network is determined to be normal; when the EVB edge switch does not receive the CCM message sent to the VSI by the equipment between the EVB edge switch and the user network within in a preset time, the link between the EVB edge switch and the user network is determined to be faulted, information of the link fault between the EVB edge switch and the user network is informed to the VM, and the VM informs a VM management center to trigger the VM, so as to perform virtual machine migration. In the embodiment, the VM can be triggered in time to perform virtual machine migration, and the interrupt for accessing VM service by the user network is avoided.

Description

A kind of method and apparatus of VM migration
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method and apparatus of VM migration.
Background technology
At EVB(Edge Virtual Bridging, edge is virtual bridged) in the network of data center, VM(Virtual Machine, virtual machine) reach the standard grade and network strategy deployment as shown in Figure 1, this process comprises: (1) creates VTDB(VSI Type Data Base, virtual server interface type database), according to the planning of network strategy, network manager creates VSI(Virtual Station Interface on network management server, virtual server interface) Type database, specify VSI Type version, VSI Type numbering, and the equal map network traffic policy of each VSI Type, the database that VSI Type version, VSI Type numbering and network traffics strategy form is VTDB.(2) create VSI example, system manager, from VTDB inquiry VSI Type version and corresponding network traffics strategy, determines the VSI Type numbering into the new VM selection creating, and according to VSI Type numbering, creates the VSI ID of VM; Wherein, VSI example is actually a concrete object of VSI Type, and its numbering (VSI ID) is the overall unique number that a length is 16byte.Further, system manager by VM administrative center by information configuration such as VSI Type version, VSI ID to VM, and be this VSI example binding VSI filtering information, then start the VDP(VSI Discovery Protocol of this VM mono-side, virtual server interface is found agreement).(3) VSI association and policy distribution.
In VSI association and policy distribution process: when (1) VM reaches the standard grade first, to EVB edge switch, send the associated message of VDP, in the associated message of this VDP, carry VSI Type numbering, VSI Type version, VSIID, VSI ID Format(form) and VSI filtering information.(2) after EVB edge switch verifies that the associated message of VDP is legal, the associated message of VDP is sent to network management server.(3) network management server notice EVB edge switch creates VSI, and is this VSI binding characteristic information (VSI filtering information).After creating VSI, network management server is according to the VSI Type numbering and the VSI Type version querying VTDB that carry in the associated message of VDP, and the VSI in VTDB, the policy distribution of VSI Type being created to EVB edge switch is upper, and it is come into force.(4) this VSI of network management server notice EVB edge switch reaches the standard grade successfully.EVB edge switch is replied the associated request of VM and is processed successfully.(5) the associated message of follow-up VM timed sending VDP is as keep-alive message.
In prior art, if system manager knows that link occurs fault between VM and EVB edge switch or VM perceive link occurs fault ,Ze You VM administrative center between this VM and EVB edge switch and trigger this VM and carry out virtual machine (vm) migration.But, above-mentioned virtual machine (vm) migration process can only occur in system manager or VM perceives the link occurs fault between VM and EVB edge switch, when subscriber network access VM, if user network goes wrong to VMEr Ceng networking, can not trigger in time this VM and carry out virtual machine (vm) migration, thereby cause the interruption of subscriber network access VM business, cannot recover in time the business of this VM.
Summary of the invention
The embodiment of the present invention provides a kind of method and apparatus of VM migration, with when user network goes wrong to VMEr Ceng networking, can trigger in time this VM and carry out virtual machine (vm) migration.
In order to achieve the above object, the embodiment of the present invention provides a kind of method of virtual machine VM migration, be applied to comprise in the data center network of VM administrative center, the virtual bridged EVB edge switch in edge, VM and user network, described VM is connected with described EVB edge switch, described VM is connected with described VM administrative center, between described EVB edge switch and described user network, by large double layer network, be connected, said method comprising the steps of:
Described EVB edge switch configures connectivity fault management CFM on virtual server interface VSI corresponding to VM, the virtual LAN VLAN of described CFM is the assigned vlan that the flow of described VM is corresponding, and described CFM is for carrying out fault detect to the link between EVB edge switch and user network;
Described EVB edge switch sends to described VSI at the equipment between this EVB edge switch and described user network received is connected detection messages CCM message, and while carrying described assigned vlan in described CCM message, described EVB edge switch determines that the link between this EVB edge switch and described user network is normal;
When described EVB edge switch is not received the CCM message that equipment between this EVB edge switch and described user network sends to described VSI in Preset Time, determine the link failure between this EVB edge switch and described user network, and the information of the link failure between this EVB edge switch and described user network is notified to described VM, by described VM, notify described VM administrative center to trigger described VM and carry out virtual machine (vm) migration.
Described EVB edge switch notifies the information of the link failure between this EVB edge switch and described user network to described VM, specifically comprises: described EVB edge switch sends virtual server interface to described VM and finds the associated message of agreement VDP; Wherein, status state in the associated message of described VDP is designated identification, and when the status state in the associated message of described VDP is designated identification, show the link occurs fault between this EVB edge switch and described user network, and described VM current be down state.
The embodiment of the present invention provides a kind of method of virtual machine VM migration, be applied to comprise in the data center network of VM administrative center, the virtual bridged EVB edge switch in edge, VM and user network, described VM is connected with described EVB edge switch, described VM is connected with described VM administrative center, between described EVB edge switch and described user network, by large double layer network, be connected, said method comprising the steps of:
When described EVB edge switch utilizes connectivity fault management CFM mechanism to determine the link occurs fault between described EVB edge switch and described user network, described VM receives the information from described EVB edge switch and the link failure between described user network of described EVB edge switch;
Described VM notifies described VM administrative center to trigger this VM to carry out virtual machine (vm) migration.
Described VM receives the information from described EVB edge switch and the link failure between described user network of described EVB edge switch, specifically comprises:
Described VM receives from the virtual server interface of described EVB edge switch and finds the associated message of agreement VDP; Wherein, status state in the associated message of described VDP is designated identification, and when the status state in the associated message of described VDP is designated identification, show the link occurs fault between described EVB edge switch and described user network, and described VM current be down state.
Described VM notifies described VM administrative center to trigger the process that this VM carries out virtual machine (vm) migration, specifically comprise: described VM is after the associated message of VDP of receiving from described EVB edge switch, if find that the status state in the associated message of described VDP is designated identification, described VM notifies described VM administrative center to trigger this VM to carry out virtual machine (vm) migration, by described VM administrative center, described VM is moved to from current data center and mutually redundant another data center in described current data center.
The embodiment of the present invention provides a kind of edge virtual bridged EVB edge switch, be applied to comprise in the data center network of virtual machine VM administrative center, described EVB edge switch, VM and user network, described VM is connected with described EVB edge switch, described VM is connected with described VM administrative center, between described EVB edge switch and described user network, by large double layer network, be connected, described EVB edge switch comprises:
Configuration module, for configure connectivity fault management CFM on virtual server interface VSI corresponding to VM, the virtual LAN VLAN of described CFM is the assigned vlan that the flow of described VM is corresponding, and described CFM is for carrying out fault detect to the link between EVB edge switch and user network;
Determination module, for being connected detection messages CCM message at the equipment between this EVB edge switch and described user network received to described VSI transmission, and while carrying described assigned vlan in described CCM message, determine that the link between this EVB edge switch and described user network is normal;
During CCM message that the equipment between this EVB edge switch and described user network do not received sends to described VSI, determine the link failure between this EVB edge switch and described user network in Preset Time;
Sending module, while being used for the link failure between this EVB edge switch and described user network, the information of the link failure between this EVB edge switch and described user network is notified to described VM, by described VM, notified described VM administrative center to trigger described VM and carry out virtual machine (vm) migration.
Described sending module, finds the associated message of agreement VDP specifically for send virtual server interface to described VM; Wherein, status state in the associated message of described VDP is designated identification, and when the status state in the associated message of described VDP is designated identification, show the link occurs fault between this EVB edge switch and described user network, and described VM current be down state.
The embodiment of the present invention provides a kind of virtual machine VM, be applied to comprise in the data center network of VM administrative center, the virtual bridged EVB edge switch in edge, described VM and user network, described VM is connected with described EVB edge switch, described VM is connected with described VM administrative center, between described EVB edge switch and described user network, by large double layer network, be connected, described VM specifically comprises:
Receiver module, be used for, when described EVB edge switch utilizes connectivity fault management CFM mechanism to determine the link occurs fault between described EVB edge switch and described user network, receiving the information from described EVB edge switch and the link failure between described user network of described EVB edge switch;
Sending module, carries out virtual machine (vm) migration for notifying described VM administrative center to trigger this VM.
Described receiver module, finds the associated message of agreement VDP specifically for receiving from the virtual server interface of described EVB edge switch; Wherein, status state in the associated message of described VDP is designated identification, and when the status state in the associated message of described VDP is designated identification, show the link occurs fault between described EVB edge switch and described user network, and this VM current be down state.
Described sending module, after the associated message of VDP receiving from described EVB edge switch, if find that the status state in the associated message of described VDP is designated identification, notify described VM administrative center to trigger this VM and carry out virtual machine (vm) migration, by described VM administrative center, this VM is moved to from current data center and mutually redundant another data center in described current data center.
Compared with prior art, the embodiment of the present invention at least has the following advantages: in the embodiment of the present invention, EVB edge switch configures CFM(Connectivity Fault Management on VSI corresponding to VM, connectivity fault management), and the VLAN(Virtual Local Area Network of CFM, VLAN) be assigned vlan corresponding to flow of VM, EVB edge switch is not received the CCM(Continuity Check Message that the equipment between this EVB edge switch and user network sends to this VSI in Preset Time, connect detection messages) during message, can determine timely the link failure between this EVB edge switch and user network, then by VM, notify VM administrative center to trigger VM and carry out virtual machine (vm) migration, thereby when user network goes wrong to VMEr Ceng networking, can trigger in time this VM and carry out virtual machine (vm) migration, avoid the interruption of subscriber network access VM business, and can recover in time the related service of this VM.
Accompanying drawing explanation
Fig. 1 is that in prior art, VM reaches the standard grade and the schematic diagram of network strategy deployment;
Fig. 2 is the application scenarios schematic diagram of the embodiment of the present invention;
Fig. 3 is the method flow schematic diagram of a kind of VM migration that provides of the embodiment of the present invention;
Fig. 4 is the TLV form schematic diagram of the associated message of VDP in the embodiment of the present invention;
Fig. 5 is the structural representation of a kind of EVB edge switch of providing of the embodiment of the present invention;
Fig. 6 is the structural representation of a kind of virtual machine VM of providing of the embodiment of the present invention.
Embodiment
For problems of the prior art, the embodiment of the present invention provides a kind of method of VM migration, and the method is applied to comprise in the data center network of VM administrative center, EVB edge switch, VM and user network.Wherein, VM is connected ,VMYu VM administrative center and connects with EVB edge switch, and by large double layer network, is connected between EVB edge switch and user network.Further, user network refers to user or the company that VM provides service of renting, and this user network can be the network of an equipment (as PC) or a plurality of equipment composition; In addition, large double layer network refers to the network that adopts large two layers of technology in data center, these large two layers of technology can be Trill(Transparent Interconnection of Lots of Links, multilink transparent interconnection), SPB(Shortest Path Bridging, shortest path bridge), Vxlan(Virtual Extended VLAN, virtual extended VLAN) etc.
The application scenarios schematic diagram that the Fig. 2 of take is the embodiment of the present invention, data center network comprises the A of data center and the B of data center, all exists a plurality of VM,Qie A of data center and the B of data center to backup each other in the A of data center and the B of data center.This data center network also comprises that VM administrative center ,Gai VM administrative center is for all VM in management data center A and the B of data center.This data center network also comprises the EVB edge switch A being connected with the A of data center and the EVB edge switch B being connected with the B of data center, and EVB edge switch A and EVB edge switch B are all connected to large double layer network.This data center network also comprises user network, and this user network is connected to large double layer network.
During intracardiac VM provides in user network usage data data, services, this VM of not perception of user is positioned at the A of data center and is still positioned at the B of data center, but the continual data access service that user network need to be used VM to provide.The VM A of take in the A of subscriber network access data center is example, and, under above-mentioned application scenarios, as shown in Figure 3, the method for this VM migration comprises the following steps:
Step 301, EVB edge switch (as EVB edge switch A) at VM(as VM A) the corresponding upper configuration of VSI CFM.Wherein, assigned vlan corresponding to flow that the VLAN of this CFM is this VM, and this CFM is for carrying out fault detect to the link between EVB edge switch and user network.
CFM is the end-to-end OAM(Operations based on VLAN on two layers of link, Administration and Maintenance, Operations, Administration and Maintenance) mechanism, for detecting connectivity of link at double layer network, confirms fault and determines fault occurrence positions.Based on this, due to can a corresponding interface (being VSI) for each VM on EVB edge switch, and the flow of each VM has assigned vlan.Therefore, in the embodiment of the present invention, EVB edge switch A can apply CFM technology on VSI corresponding to VM A, and assigned vlan corresponding to flow that configures VM A is interior to MEP(Maintenance association End Point, maintaining end point).In addition, also need in heterogeneous networks segmentation, configure the MEP node of CFM, and the VLAN of MEP node is assigned vlan, for example, the MEP node of the upper configuration of the equipment of path process between EVB edge switch A and user network (as the equipment in large double layer network) CFM.Based on this, EVB edge switch A passes through to send CCM message to VSI corresponding to VMA with the equipment between user network, and carry assigned vlan in this CCM message, so that EVB edge switch A can determine whether fault of link between EVB edge switch A and user network according to the reception condition of CCM message.
In the embodiment of the present invention, according to the actual requirements, by configuring the MEP node of CFM on the equipment different between EVB edge switch and user network, whether the link that then can detect the various network segments between EVB edge switch and user network fault, then determines whether fault of link between EVB edge switch and user network.
Step 302, EVB edge switch judges whether to receive the CCM message that the equipment between this EVB edge switch and user network sends to VSI; If so, perform step 303; If not, perform step 304.
Under the application scenarios shown in Fig. 2, whether EVB edge switch A judgement receives the CCM message that this EVB edge switch A sends to VSI corresponding to VM A with equipment between user network in Preset Time (can arrange according to practical experience); If so, perform step 303; If not, perform step 304.
Step 303, the CCM message that EVB edge switch sends to VSI at the equipment of receiving between this EVB edge switch and user network, and while carrying assigned vlan in this CCM message, EVB edge switch determines that the link between this EVB edge switch and user network is normal, does not now need to carry out virtual machine (vm) migration.
Step 304, when EVB edge switch is not received the CCM message that equipment between this EVB edge switch and user network sends to VSI in Preset Time, EVB edge switch is determined the link occurs fault between this EVB edge switch and user network, now need to carry out virtual machine (vm) migration, and carry out subsequent step 305.
Step 305, EVB edge switch notifies the information of the link failure between this EVB edge switch and user network to VM, by VM, after receiving from the EVB edge switch of EVB edge switch and the information of the link failure between user network, notice VM administrative center triggers this VM and carries out virtual machine (vm) migration.
As shown in Figure 4, TLV(Type Length Value for the associated message of VDP, type lengths values) form schematic diagram, on this basis, in the embodiment of the present invention, can pass through to revise the status(identity in the associated message of VDP) state, to show the link occurs fault between EVB edge switch and user network, and remind VM current for down state, and trigger VM and carry out virtual machine (vm) migration.
Based on this, EVB edge switch notifies the information of the link failure between this EVB edge switch and user network to VM, specifically comprises: EVB edge switch sends the associated message of VDP to VM; Wherein, status state in the associated message of this VDP is designated identification (0x6 or 0x7,0xF etc. as reserved in status state), and when the status state in the associated message of VDP is designated identification, show the link occurs fault between this EVB edge switch and user network, and VM current be down state.
Further, VM is after the associated message of VDP of receiving from EVB edge switch, if find that the status state in the associated message of this VDP is designated identification, VM notice VM administrative center triggers this VM and carries out virtual machine (vm) migration ,You VM administrative center and this VM is moved to from current data center and mutually redundant another data center in current data center.For example ,VM administrative center moves to the B with current data center mutually redundant another data center of A by VM A from current data center A.
VM administrative center moves to VM A the process with the B of current data center mutually redundant another data center of A from current data center A, first VM administrative center determines the VM A being moved, according to VSI Type numbering and the VSI Type version of VM A, use the VSI ID identical with VM A to move to the VM A after the B of data center at VM B(, it is new VM) the upper VSI example that creates, and bind VSI filtering information, then at the B of data center, start the VDP of VM B mono-side.
Further, VM B sends the associated message of VDP to EVB edge switch B, in the associated message of this VDP, carries VSI Type numbering, VSI Type version, VSI ID, VSI ID Format and VSI filtering information.After the associated message of EVB edge switch B checking VDP is legal, the associated message of VDP is sent to network management server.Network management server notice EVB edge switch B creates VSI, and is this VSI binding characteristic information (VSI filtering information), and this VSI of network management server notice EVB edge switch B is pre-association state.After creating VSI, network management server is according to the VSI Type numbering and the VSI Type version querying VTDB that carry in the associated message of VDP, and the VSI in VTDB, the policy distribution of VSI Type being created to EVB edge switch B is upper, but strategy wouldn't come into force.Network management server notice EVB edge switch B this time VSI reaches the standard grade successfully in advance.EVB edge switch is replied VM B pre-association and is processed successfully.
,VM administrative center notifies former VM A to prepare to stop afterwards.VM A sends VDP to EVB edge switch A and goes associated request.EVB edge switch A, receiving that VDP goes, after associated request, to delete VSI associated ports, removes the strategy configuration of interface, to network management server, sends the notice that VM A rolls off the production line.Network management server notice EVB edge switch A goes associated request to process successfully, and so far VM A successfully rolls off the production line.
,VM administrative center notifies new VM B to prepare the work of reaching the standard grade afterwards.VM B sends the associated request of VDP to EVB edge switch B.EVB edge switch B, after receiving the associated request of VDP, transfers VSI associated interface to association status, and relevant strategy comes into effect.Meanwhile, EVB edge switch B notice VM B, associated request is processed successfully.The associated message of follow-up VM B timed sending VDP is as keep-alive message.
In sum, in the embodiment of the present invention, EVB edge switch configures CFM on VSI corresponding to VM, and the assigned vlan that the flow that the VLAN of CFM is VM is corresponding, when EVB edge switch is not received the CCM message that equipment between this EVB edge switch and user network sends to this VSI in Preset Time, can determine timely the link failure between this EVB edge switch and user network, then by VM, notify VM administrative center to trigger VM and carry out virtual machine (vm) migration, thereby when user network goes wrong to VMEr Ceng networking, can trigger in time this VM and carry out virtual machine (vm) migration, avoid the interruption of subscriber network access VM business, and can recover in time the related service of this VM, and guarantee that the service that VM provides was restored in the shortest time.
Inventive concept based on same with said method, in the embodiment of the present invention, also provide a kind of edge virtual bridged EVB edge switch, be applied to comprise in the data center network of virtual machine VM administrative center, described EVB edge switch, VM and user network, described VM is connected with described EVB edge switch, described VM is connected with described VM administrative center, between described EVB edge switch and described user network, by large double layer network, be connected, as shown in Figure 5, described EVB edge switch specifically comprises:
Configuration module 11, for configure connectivity fault management CFM on virtual server interface VSI corresponding to VM, the virtual LAN VLAN of described CFM is the assigned vlan that the flow of described VM is corresponding, and described CFM is for carrying out fault detect to the link between EVB edge switch and user network;
Determination module 12, for being connected detection messages CCM message at the equipment between this EVB edge switch and described user network received to described VSI transmission, and while carrying described assigned vlan in described CCM message, determine that the link between this EVB edge switch and described user network is normal;
During CCM message that the equipment between this EVB edge switch and described user network do not received sends to described VSI, determine the link failure between this EVB edge switch and described user network in Preset Time;
Sending module 13, while being used for the link failure between this EVB edge switch and described user network, the information of the link failure between this EVB edge switch and described user network is notified to described VM, by described VM, notified described VM administrative center to trigger described VM and carry out virtual machine (vm) migration.
Described sending module 13, finds the associated message of agreement VDP specifically for send virtual server interface to described VM; Wherein, status state in the associated message of described VDP is designated identification, and when the status state in the associated message of described VDP is designated identification, show the link occurs fault between this EVB edge switch and described user network, and described VM current be down state.
Wherein, the modules of apparatus of the present invention can be integrated in one, and also can separatedly dispose.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
Inventive concept based on same with said method, a kind of virtual machine VM is also provided in the embodiment of the present invention, be applied to comprise in the data center network of VM administrative center, the virtual bridged EVB edge switch in edge, described VM and user network, described VM is connected with described EVB edge switch, described VM is connected with described VM administrative center, between described EVB edge switch and described user network, by large double layer network, be connected, as shown in Figure 6, described VM specifically comprises:
Receiver module 21, be used for, when described EVB edge switch utilizes connectivity fault management CFM mechanism to determine the link occurs fault between described EVB edge switch and described user network, receiving the information from described EVB edge switch and the link failure between described user network of described EVB edge switch;
Sending module 22, carries out virtual machine (vm) migration for notifying described VM administrative center to trigger this VM.
Described receiver module 21, finds the associated message of agreement VDP specifically for receiving from the virtual server interface of described EVB edge switch; Wherein, status state in the associated message of described VDP is designated identification, and when the status state in the associated message of described VDP is designated identification, show the link occurs fault between described EVB edge switch and described user network, and this VM current be down state.
Described sending module 22, after the associated message of VDP receiving from described EVB edge switch, if find that the status state in the associated message of described VDP is designated identification, notify described VM administrative center to trigger this VM and carry out virtual machine (vm) migration, by described VM administrative center, this VM is moved to from current data center and mutually redundant another data center in described current data center.
Wherein, the modules of apparatus of the present invention can be integrated in one, and also can separatedly dispose.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add essential general hardware platform by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Understanding based on such, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) carry out the method described in each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device in embodiment can be distributed in the device of embodiment according to embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from the present embodiment.The module of above-described embodiment can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Disclosed is above only several specific embodiment of the present invention, and still, the present invention is not limited thereto, and the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (10)

1. the method for virtual machine VM migration, be applied to comprise in the data center network of VM administrative center, the virtual bridged EVB edge switch in edge, VM and user network, described VM is connected with described EVB edge switch, described VM is connected with described VM administrative center, between described EVB edge switch and described user network, by large double layer network, be connected, it is characterized in that, said method comprising the steps of:
Described EVB edge switch configures connectivity fault management CFM on virtual server interface VSI corresponding to VM, the virtual LAN VLAN of described CFM is the assigned vlan that the flow of described VM is corresponding, and described CFM is for carrying out fault detect to the link between EVB edge switch and user network;
Described EVB edge switch sends to described VSI at the equipment between this EVB edge switch and described user network received is connected detection messages CCM message, and while carrying described assigned vlan in described CCM message, described EVB edge switch determines that the link between this EVB edge switch and described user network is normal;
When described EVB edge switch is not received the CCM message that equipment between this EVB edge switch and described user network sends to described VSI in Preset Time, determine the link failure between this EVB edge switch and described user network, and the information of the link failure between this EVB edge switch and described user network is notified to described VM, by described VM, notify described VM administrative center to trigger described VM and carry out virtual machine (vm) migration.
2. the method for claim 1, is characterized in that, described EVB edge switch notifies the information of the link failure between this EVB edge switch and described user network to described VM, specifically comprises:
Described EVB edge switch sends virtual server interface to described VM and finds the associated message of agreement VDP; Wherein, status state in the associated message of described VDP is designated identification, and when the status state in the associated message of described VDP is designated identification, show the link occurs fault between this EVB edge switch and described user network, and described VM current be down state.
3. the method for virtual machine VM migration, be applied to comprise in the data center network of VM administrative center, the virtual bridged EVB edge switch in edge, VM and user network, described VM is connected with described EVB edge switch, described VM is connected with described VM administrative center, between described EVB edge switch and described user network, by large double layer network, be connected, it is characterized in that, said method comprising the steps of:
When described EVB edge switch utilizes connectivity fault management CFM mechanism to determine the link occurs fault between described EVB edge switch and described user network, described VM receives the information from described EVB edge switch and the link failure between described user network of described EVB edge switch;
Described VM notifies described VM administrative center to trigger this VM to carry out virtual machine (vm) migration.
4. method as claimed in claim 3, is characterized in that, described VM receives the information from described EVB edge switch and the link failure between described user network of described EVB edge switch, specifically comprises:
Described VM receives from the virtual server interface of described EVB edge switch and finds the associated message of agreement VDP; Wherein, status state in the associated message of described VDP is designated identification, and when the status state in the associated message of described VDP is designated identification, show the link occurs fault between described EVB edge switch and described user network, and described VM current be down state.
5. method as claimed in claim 4, is characterized in that, described VM notifies described VM administrative center to trigger the process that this VM carries out virtual machine (vm) migration, specifically comprises:
Described VM is after the associated message of VDP of receiving from described EVB edge switch, if find that the status state in the associated message of described VDP is designated identification, described VM notifies described VM administrative center to trigger this VM to carry out virtual machine (vm) migration, by described VM administrative center, described VM is moved to from current data center and mutually redundant another data center in described current data center.
The virtual bridged EVB edge switch in 6.Yi Zhong edge, be applied to comprise in the data center network of virtual machine VM administrative center, described EVB edge switch, VM and user network, described VM is connected with described EVB edge switch, described VM is connected with described VM administrative center, between described EVB edge switch and described user network, by large double layer network, be connected, it is characterized in that, described EVB edge switch specifically comprises:
Configuration module, for configure connectivity fault management CFM on virtual server interface VSI corresponding to VM, the virtual LAN VLAN of described CFM is the assigned vlan that the flow of described VM is corresponding, and described CFM is for carrying out fault detect to the link between EVB edge switch and user network;
Determination module, for being connected detection messages CCM message at the equipment between this EVB edge switch and described user network received to described VSI transmission, and while carrying described assigned vlan in described CCM message, determine that the link between this EVB edge switch and described user network is normal;
During CCM message that the equipment between this EVB edge switch and described user network do not received sends to described VSI, determine the link failure between this EVB edge switch and described user network in Preset Time;
Sending module, while being used for the link failure between this EVB edge switch and described user network, the information of the link failure between this EVB edge switch and described user network is notified to described VM, by described VM, notified described VM administrative center to trigger described VM and carry out virtual machine (vm) migration.
7. EVB edge switch as claimed in claim 6, is characterized in that,
Described sending module, finds the associated message of agreement VDP specifically for send virtual server interface to described VM; Wherein, status state in the associated message of described VDP is designated identification, and when the status state in the associated message of described VDP is designated identification, show the link occurs fault between this EVB edge switch and described user network, and described VM current be down state.
8. a virtual machine VM, be applied to comprise in the data center network of VM administrative center, the virtual bridged EVB edge switch in edge, described VM and user network, described VM is connected with described EVB edge switch, described VM is connected with described VM administrative center, between described EVB edge switch and described user network, by large double layer network, be connected, it is characterized in that, described VM specifically comprises:
Receiver module, be used for, when described EVB edge switch utilizes connectivity fault management CFM mechanism to determine the link occurs fault between described EVB edge switch and described user network, receiving the information from described EVB edge switch and the link failure between described user network of described EVB edge switch;
Sending module, carries out virtual machine (vm) migration for notifying described VM administrative center to trigger this VM.
9. VM as claimed in claim 8, is characterized in that,
Described receiver module, finds the associated message of agreement VDP specifically for receiving from the virtual server interface of described EVB edge switch; Wherein, status state in the associated message of described VDP is designated identification, and when the status state in the associated message of described VDP is designated identification, show the link occurs fault between described EVB edge switch and described user network, and this VM current be down state.
10. VM as claimed in claim 9, is characterized in that,
Described sending module, after the associated message of VDP receiving from described EVB edge switch, if find that the status state in the associated message of described VDP is designated identification, notify described VM administrative center to trigger this VM and carry out virtual machine (vm) migration, by described VM administrative center, this VM is moved to from current data center and mutually redundant another data center in described current data center.
CN201310501591.6A 2013-10-22 2013-10-22 Method and equipment for VM (Virtual Machine) migration Active CN103516554B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310501591.6A CN103516554B (en) 2013-10-22 2013-10-22 Method and equipment for VM (Virtual Machine) migration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310501591.6A CN103516554B (en) 2013-10-22 2013-10-22 Method and equipment for VM (Virtual Machine) migration

Publications (2)

Publication Number Publication Date
CN103516554A true CN103516554A (en) 2014-01-15
CN103516554B CN103516554B (en) 2017-01-18

Family

ID=49898631

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310501591.6A Active CN103516554B (en) 2013-10-22 2013-10-22 Method and equipment for VM (Virtual Machine) migration

Country Status (1)

Country Link
CN (1) CN103516554B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105704180A (en) * 2014-11-27 2016-06-22 英业达科技有限公司 Configuration method and configuration system for data center
CN109617716A (en) * 2018-11-30 2019-04-12 新华三技术有限公司合肥分公司 Data center's abnormality eliminating method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011144633A1 (en) * 2010-05-20 2011-11-24 International Business Machines Corporation Migrating virtual machines among networked servers upon detection of degrading network link operation
CN102413041A (en) * 2011-11-08 2012-04-11 华为技术有限公司 Method, device and system for moving security policy
CN102546389A (en) * 2011-11-08 2012-07-04 杭州华三通信技术有限公司 Method and device for flow trusteeship of cross-data center
CN102752215A (en) * 2012-07-16 2012-10-24 杭州华三通信技术有限公司 Processing method for VDP (vertical data processing) request messages and edge switch
CN102884763A (en) * 2012-06-30 2013-01-16 华为技术有限公司 Cross-data-center virtual machine migration method, service control gateway and cross-data-center virtual machine migration

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011144633A1 (en) * 2010-05-20 2011-11-24 International Business Machines Corporation Migrating virtual machines among networked servers upon detection of degrading network link operation
CN102413041A (en) * 2011-11-08 2012-04-11 华为技术有限公司 Method, device and system for moving security policy
CN102546389A (en) * 2011-11-08 2012-07-04 杭州华三通信技术有限公司 Method and device for flow trusteeship of cross-data center
CN102884763A (en) * 2012-06-30 2013-01-16 华为技术有限公司 Cross-data-center virtual machine migration method, service control gateway and cross-data-center virtual machine migration
CN102752215A (en) * 2012-07-16 2012-10-24 杭州华三通信技术有限公司 Processing method for VDP (vertical data processing) request messages and edge switch

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105704180A (en) * 2014-11-27 2016-06-22 英业达科技有限公司 Configuration method and configuration system for data center
CN109617716A (en) * 2018-11-30 2019-04-12 新华三技术有限公司合肥分公司 Data center's abnormality eliminating method and device
CN109617716B (en) * 2018-11-30 2022-02-25 新华三技术有限公司合肥分公司 Data center exception handling method and device

Also Published As

Publication number Publication date
CN103516554B (en) 2017-01-18

Similar Documents

Publication Publication Date Title
US11902086B2 (en) Method and system of a dynamic high-availability mode based on current wide area network connectivity
CN106664216B (en) VNF switching method and device
CN105453487A (en) Extending virtual station interface discovery protocol (VDP) and VDP-like protocols for dual-homed deployments in data center environments
CN102447583B (en) The method and device of the two-node cluster hot backup of network address translation apparatus
CN105099789A (en) Network element uploading method and equipment
CN104767680B (en) It route the method and apparatus being switched fast
CN104869057A (en) OpeFlow switch graceful restart processing method, device and OpeFlow controller
EP2732598B1 (en) Method to enhance high availability in a secure telecommunications network, and telecommunications network comprising a plurality of remote nodes
EP2804343B1 (en) Method for mapping a network topology request to a physical network, computer program product, mobile communication system, and network configuration platform
CN102868569A (en) Method, node and system for detecting performance of three-layer virtual private network
CN104283802A (en) Neighbor discovery method and device
CN105227373A (en) Based on multi-layer topology discovery system for networks and the method for cloud controller
EP2858302B1 (en) Connectivity check method of service stream link, related apparatus and system
CN103220189A (en) Multi-active detection (MAD) backup method and equipment
US9985862B2 (en) MEP configuration method and network device
CN102447703B (en) A kind of heat backup method and system, CGN equipment
WO2016090815A1 (en) Switching control method and device in deploying high-capacity service
CN103516554A (en) Method and equipment for VM (Virtual Machine) migration
CN102811153B (en) VLAN state negotiating method and edge device
US20180198708A1 (en) Data center linking system and method therefor
CN103986692B (en) Data forwarding method and system based on wireless access point
CN104283720A (en) Dialing method and system applied to mobile Internet and user device
CN111447130A (en) Method, network equipment and system for creating connectivity detection session
CN110545240B (en) Method for establishing label forwarding table and forwarding message based on distributed aggregation system
CN103795650A (en) Configuration information migration method and setting method and device of configuration information migration method and setting method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.