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

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

Info

Publication number
CN103516554B
CN103516554B CN201310501591.6A CN201310501591A CN103516554B CN 103516554 B CN103516554 B CN 103516554B CN 201310501591 A CN201310501591 A CN 201310501591A CN 103516554 B CN103516554 B CN 103516554B
Authority
CN
China
Prior art keywords
evb
edge switch
user network
message
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.)
Active
Application number
CN201310501591.6A
Other languages
Chinese (zh)
Other versions
CN103516554A (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

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

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, more particularly, to a kind of method and apparatus of vm migration.
Background technology
In evb(edge virtual bridging, edge is virtual bridged) in the network of data center, vm(virtual Machine, virtual machine) reach the standard grade with network strategy deployment process as shown in figure 1, this process includes: (1) creates vtdb(vsi Type data base, virtual server interface type database), according to the planning of network strategy, network manager is in network In management server create vsi(virtual station interface, virtual server interface) type database it is intended that Vsi type version, vsi type numbering, and the equal map network traffic policy of every vsi type;Vsi type version, vsi The database of type numbering and network traffic policy formation is vtdb.(2) create vsi example, system manager looks into from vtdb Ask vsi type version and corresponding network traffic policy, the vsi type numbering that the vm being determined as newly creating selects, and foundation Vsi type numbering creates the vsi id of vm;Wherein, vsi example is actually a concrete object of vsi type, its numbering (vsi id) is the globally unique numbering that a length is 16byte.Further, system manager will by vm administrative center The information configuration such as vsi type version, vsi id are on vm, and filter information for this vsi example binding vsi, then start this vm The vdp(vsi discovery protocol of side, virtual server interface finds agreement).(3) under vsi association and strategy Send out.
During vsi association and policy distribution: when (1) vm reaches the standard grade first, send vdp association to evb edge switch Message, carries vsi type numbering, vsi type version, vsiid, vsi id format(form in this vdp association message) and Vsi filters information.(2), after evb edge switch checking vdp association message is legal, vdp association message is sent to network management Server.(3) network management server notifies evb edge switch to create vsi, and binds characteristic information (vsi mistake for this vsi Filter information).After creating vsi, network management server associates the vsi type numbering carrying in message and vsi according to vdp Type version querying vtdb, on the vsi that in vtdb, the policy distribution of vsi type will be created to evb edge switch so as to Come into force.(4) network management server notifies this vsi of evb edge switch to reach the standard grade successfully.Evb edge switch is replied vm and is closed Connection request is processed successfully.(5) follow-up vm timing sends vdp association message as keep Alive Packet.
In prior art, if the link that system manager is known between vm and evb edge switch break down or The link that vm perceives between this vm and evb edge switch breaks down, then by vm administrative center trigger this vm carry out virtual Machine migrates.But, above-mentioned virtual machine (vm) migration process can only occur in system manager or vm perceives vm and evb edge switch Between link break down, when subscriber network access vm, if two layers of networking of user network to vm go wrong, no This vm can be triggered in time and carry out virtual machine (vm) migration, thus leading to the interruption of subscriber network access vm business it is impossible to timely recover to be somebody's turn to do The business of vm.
Content of the invention
The embodiment of the present invention provides a kind of method and apparatus of vm migration, is occurred with two layers of networking in user network to vm During problem, this vm can be triggered in time 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, is applied to including vm In administrative center, the data center network of edge virtual bridged evb edge switch, vm and user network, described vm with described Evb edge switch connects, and described vm is connected with described vm administrative center, described evb edge switch and described user network Between connected by big double layer network, the method comprising the steps of:
Described evb edge switch configures connectivity fault management cfm, institute on vm corresponding virtual server interface vsi The VLAN vlan stating cfm is the corresponding specified vlan of flow of described vm, and described cfm is used for evb edge is exchanged Link between machine and user network carries out fault detect;
Described evb edge switch is in the equipment between this evb edge switch and described user network that receives to described The connecting detection message ccm message that vsi sends, and when carrying described specified vlan in described ccm message, described evb edge is handed over Change planes and determine that the link between this evb edge switch and described user network is normal;
Described evb edge switch does not receive between this evb edge switch and described user network in Preset Time Equipment send to described vsi ccm message when, determine link between this evb edge switch and described user network therefore Barrier, 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 is by the information of the link failure between this evb edge switch and described user network Notify, to described vm, to specifically include: described evb edge switch sends virtual server interface to described vm and finds agreement vdp Association message;Wherein, the status state that described vdp associates in message is designated identification, and when in described vdp association message When status state is designated identification, show that the link between this evb edge switch and described user network breaks down, and Described vm is currently down state.
The embodiment of the present invention provides a kind of method of virtual machine vm migration, is applied to virtual including vm administrative center, edge In the data center network of bridge joint 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, passes through big double layer network between described evb edge switch and described user network Connect, the method comprising the steps of:
Described evb edge switch using connectivity fault management cfm mechanism determine described evb edge switch with described When link between user network breaks down, described vm receives and exchanges from the described evb edge of described evb edge switch The information of the link failure between machine and described user network;
Described vm notifies described vm administrative center to trigger this vm to carry out virtual machine (vm) migration.
Described vm receives between the described evb edge switch and described user network of described evb edge switch Link failure information, specifically include:
The virtual server interface that described vm receives from described evb edge switch finds agreement vdp association message;Its In, the status state that described vdp associates in message is designated identification, and when described vdp associates the status state in message During for designated identification, show that the link between described evb edge switch and described user network breaks down, and described vm works as Front for down state.
Described vm notifies described vm administrative center to trigger the process that this vm carries out virtual machine (vm) migration, specifically includes: described vm Receiving after the vdp association message of described evb edge switch, if it find that described vdp associates the status in message State is designated identification, then described vm notifies described vm administrative center to trigger this vm to carry out virtual machine (vm) migration, managed by described vm Center by described vm from current data Center shift to another data center mutually redundant with described current data center.
The embodiment of the present invention provides a kind of edge virtual bridged evb edge switch, is applied to manage including virtual machine vm In center, the data center network of described evb edge switch, vm and user network, described vm and described evb edge switch Connect, described vm is connected with described vm administrative center, between described evb edge switch and described user network, pass through big two layers Network connection, described evb edge switch includes:
Configuration module, for configuring connectivity fault management cfm, described cfm on vm corresponding virtual server interface vsi VLAN vlan be described vm the corresponding specified vlan of flow, and described cfm be used for evb edge switch and use Link between the network of family carries out fault detect;
Determining module, for sending out to described vsi in the equipment between this evb edge switch and described user network that receives The connecting detection message ccm message sending, and when carrying described specified vlan in described ccm message, determine this evb edge switch Link and described user network between is normal;
The equipment not received in Preset Time between this evb edge switch and described user network is sent out to described vsi During the ccm message sending, determine the link failure between this evb edge switch and described user network;
Sending module, during for link failure between this evb edge switch and described user network, by this evb The information of the link failure between edge switch and described user network notifies, to described vm, to notify described vm pipe by described vm Reason center is triggered described vm and is carried out virtual machine (vm) migration.
Described sending module, finds agreement vdp association message specifically for sending virtual server interface to described vm;Its In, the status state that described vdp associates in message is designated identification, and when described vdp associates the status state in message During for designated identification, show that the link between this evb edge switch and described user network breaks down, and described vm is current For down state.
The embodiment of the present invention provides a kind of virtual machine vm, is applied to including vm administrative center, edge virtual bridged evb edge In the data center network of switch, described vm and user network, described vm is connected with described evb edge switch, described vm It is connected with described vm administrative center, be connected by big double layer network between described evb edge switch and described user network, institute State vm to specifically include:
Receiver module, for determining described evb side in described evb edge switch using connectivity fault management cfm mechanism When link between edge switch and described user network breaks down, receive the described evb from described evb edge switch The information of the link failure between edge switch and described user network;
Sending module, is used for notifying described vm administrative center to trigger this vm carrying out virtual machine (vm) migration.
Described receiver module, the virtual server interface specifically for receiving from described evb edge switch finds association View vdp association message;Wherein, the status state that described vdp associates in message is designated identification, and when described vdp association report When status state in literary composition is designated identification, show that the link between described evb edge switch and described user network is sent out Raw fault, and this vm is currently down state.
Described sending module, specifically for receive from described evb edge switch vdp association message after, if Finding that described vdp associates the status state in message is designated identification, then notify described vm administrative center to trigger this vm and carry out Virtual machine (vm) migration, by described vm administrative center by this vm from current data Center shift to standby each other with described current data center Another data center of part.
Compared with prior art, the embodiment of the present invention at least has the advantage that in the embodiment of the present invention, and evb edge is handed over Change planes and cfm(connectivity fault management, connectivity fault management configured on the corresponding vsi of vm), and cfm Vlan(virtual local area network, VLAN) for vm the corresponding specified vlan of flow, evb edge Switch does not receive the ccm that the equipment between this evb edge switch and user network sends to this vsi in Preset Time During (continuity check message, connecting detection message) message, can timely determine this evb edge switch Link failure and user network between, then notifies vm administrative center to trigger vm by vm and carries out virtual machine (vm) migration, thus User network to two layers of networking of vm go wrong when, this vm can be triggered in time and carry out virtual machine (vm) migration, it is to avoid user network Access the interruption of vm business, and the related service of this vm can be recovered in time.
Brief description
Fig. 1 is the schematic diagram that in prior art, vm reaches the standard grade with network strategy deployment process;
Fig. 2 is the application scenarios schematic diagram of the embodiment of the present invention;
Fig. 3 is a kind of method flow schematic diagram of vm migration provided in an embodiment of the present invention;
Fig. 4 is the tlv form schematic diagram that in the embodiment of the present invention, vdp associates message;
Fig. 5 is a kind of structural representation of evb edge switch provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation of virtual machine vm provided in an embodiment of the present invention.
Specific 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 In inclusion vm administrative center, the data center network of evb edge switch, vm and user network.Wherein, vm and evb edge Switch connects, and vm is connected with vm administrative center, and passes through big double layer network between evb edge switch and user network even Connect.Further, user network refers to that renting vm provides user or the company of service, and this user network can be an equipment The network of (as pc) or multiple equipment composition;Additionally, big double layer network refers to adopt big two layers of technology in data center Network, this big two layers of technology can be trill(transparent interconnection of lots of links, many Link transparency interconnect), spb(shortest path bridging, shortest path bridge), vxlan(virtual extended Vlan, virtual extended vlan) etc..
Application scenarios schematic diagram with Fig. 2 as the embodiment of the present invention, data center network is included in data center's a data , all there are multiple vm in data center's a data center b in heart b, and data center's a data center b backups each other.This data Central site network also includes vm administrative center, and this vm administrative center is used for managing all vm in data center's a data center b. This data center network also includes the evb edge switch a being connected with data center a and the evb side being connected with data center b Edge switch b, and evb edge switch a and evb edge switch b is all connected to big double layer network.This data center network is also Including user network, and this user network is connected to big double layer network.
In the data, services that user network uses the vm in data center to provide, user does not perceive this vm and is located at data Also it is in data center b in a of center, but user network needs the continual data access service providing using vm. , then under above-mentioned application scenarios taking the vm a in subscriber network access data center a as a example, as shown in figure 3, the side of this vm migration Method comprises the following steps:
Step 301, evb edge switch (if evb edge switch a) is in vm(such as vm a) corresponding vsi configures cfm.Wherein, the vlan of this cfm is the corresponding specified vlan of flow of this vm, and this cfm is used for evb edge switch and use Link between the network of family carries out fault detect.
Cfm is the end-to-end oam(operations on two layers of link based on vlan, administration and Maintenance, Operations, Administration and Maintenance) mechanism, for detecting connectivity of link in double layer network, confirm fault simultaneously really Determine fault and position occurs.Based on this, due to an interface (i.e. vsi) can be corresponded to for each vm on evb edge switch, And the flow of each vm has specified vlan.Therefore, in the embodiment of the present invention, evb edge switch a can be corresponding in vm a Apply cfm technology on vsi, and configure the corresponding specified vlan of the flow of vm a for interior to mep(maintenance Association end point, safeguards end points).In addition it is also necessary to the mep node of cfm is configured on heterogeneous networks segmentation, And the vlan of mep node is to specify vlan, for example, the equipment that path is passed through between evb edge switch a and user network (equipment as in big double layer network) upper mep node configuring cfm.Based on this, between evb edge switch a and user network Equipment pass through to send ccm message to the corresponding vsi of vma, and carry specified vlan in this ccm message, so that evb edge is handed over The a that changes planes can determine link between evb edge switch a and user network whether fault according to the reception condition of ccm message.
In the embodiment of the present invention, according to the actual requirements, by different setting between evb edge switch and user network The mep node of standby upper configuration cfm, can detect the chain of the various network segments between evb edge switch and user network then Road whether fault, determines link between evb edge switch and user network whether fault then.
Step 302, evb edge switch judges whether to receive the equipment between this evb edge switch and user network The ccm message sending to vsi;If it is, execution step 303;If not, execution step 304.
Under application scenarios shown in Fig. 2, evb edge switch a judges (to be entered according to practical experience in Preset Time Row setting) in whether receive the ccm that the equipment between this evb edge switch a and user network sends to the corresponding vsi of vm a Message;If it is, execution step 303;If not, execution step 304.
Step 303, evb edge switch is sent out to vsi receiving the equipment between this evb edge switch and user network When carrying specified vlan in the ccm message sending, and this ccm message, evb edge switch determines this evb edge switch and use Link between the network of family is normal, does not now need to carry out virtual machine (vm) migration.
Step 304, evb edge switch does not receive between this evb edge switch and user network in Preset Time Equipment send to vsi ccm message when, evb edge switch determines the chain between this evb edge switch and user network Breaking down in road, now needs to carry out virtual machine (vm) migration, and execute subsequent step 305.
Step 305, evb edge switch is by the information of the link failure between this evb edge switch and user network Notify to vm, by link failure between receiving from the evb edge switch and user network of evb edge switch for the vm After information, notify vm administrative center to trigger this vm and carry out virtual machine (vm) migration.
As shown in figure 4, associate the tlv(type length value of message, type lengths values for vdp) form schematic diagram, On this basis, in the embodiment of the present invention, the status(identity in message can be associated by changing vdp) state, to show Link between evb edge switch and user network breaks down, and reminds vm to be currently down state, and triggers vm and enter Row virtual machine (vm) migration.
Based on this, the information of the link failure between this evb edge switch and user network is led to by evb edge switch Know to vm, specifically include: evb edge switch sends vdp association message to vm;Wherein, this vdp associates the status in message State is designated identification (0x6 or 0x7,0xf as status state reservation etc.), and when vdp associates the status shape in message When state is designated identification, show that the link between this evb edge switch and user network breaks down, and vm is currently can not Use state.
Further, vm is receiving after the vdp association message of evb edge switch, if it find that this vdp association is reported Status state in literary composition is designated identification, then vm notifies vm administrative center to trigger this vm and carry out virtual machine (vm) migration, is managed by vm Center by this vm from current data Center shift to another data center mutually redundant with current data center.For example, vm pipe Vm a is moved to another data center b mutually redundant with current data center a from current data center a by reason center.
In vm administrative center, vm a is moved to mutually redundant another with current data center a from current data center a During data center b, vm administrative center determines the vm a being migrated first, according to vsi type numbering and the vsi of vm a Type version, using the vm a after vm b(moves to data center b with vm a identical vsi id, it is new vm) upper wound Build vsi example, and bind vsi and filter information, then start the vdp of vm b side in data center b.
Further, vm b sends vdp association message to evb edge switch b, carries vsi in this vdp association message Type numbering, vsi type version, vsi id, vsi id format and vsi filter information.Evb edge switch b verifies vdp After association message is legal, vdp association message is sent to network management server.Network management server notifies evb edge to hand over The b that changes planes creates vsi, and binds characteristic information (vsi filters information) for this vsi, and network management server notifies evb edge to hand over This vsi of b that changes planes is pre-association state.After creating vsi, network management server associates, according to vdp, the vsi carrying in message Type numbering and vsi type version querying vtdb, will create to evb edge switch b to the policy distribution of vsi type in vtdb On the vsi building, but strategy wouldn't come into force.Network management server notifies evb edge switch b, and this time vsi reaches the standard grade successfully in advance. Evb edge switch is replied vm b pre-association and is processed successfully.
Afterwards, vm administrative center notifies former vm a to prepare to stop.Vm a sends vdp to evb edge switch a and goes association to ask Ask.Evb edge switch a is receiving after vdp goes association request, deletes vsi associated ports, removes the strategy configuration of interface, to Network management server sends the offline notice of vm a.Network management server notifies evb edge switch a to go at association request Manage successfully, so far vm a is successfully offline.
Afterwards, vm administrative center notifies new vm b to prepare to reach the standard grade work.Vm b sends vdp association to evb edge switch b Request.Evb edge switch b, after receiving vdp association request, vsi associated interface is switched to association status, and related strategy is opened Beginning comes into force.Meanwhile, evb edge switch b notifies vm b, and association request is processed successfully.Follow-up vm b timing sends vdp association report Literary composition is as keep Alive Packet.
In sum, in the embodiment of the present invention, evb edge switch configures cfm on the corresponding vsi of vm, and cfm Vlan be vm the corresponding specified vlan of flow, evb edge switch do not receive in Preset Time this evb edge switch with During the ccm message that the equipment between user network sends to this vsi, can timely determine this evb edge switch and use Link failure between the network of family, then notifies vm administrative center to trigger vm by vm and carries out virtual machine (vm) migration, thus in user Network to two layers of networking of vm go wrong when, this vm can be triggered in time and carry out virtual machine (vm) migration, it is to avoid subscriber network access The interruption of vm business, and the related service of this vm can be recovered in time, and ensure that the service that vm provides obtained in the shortest time Recover.
Based on the inventive concept same with said method, additionally provide a kind of edge in the embodiment of the present invention virtual bridged Evb edge switch, is applied to the data including virtual machine vm administrative center, described evb edge switch, vm and user network In central site network, described vm is connected with described evb edge switch, and described vm is connected with described vm administrative center, described evb side It is connected by big double layer network between edge switch and described user network, as shown in figure 5, described evb edge switch is concrete Including:
Configuration module 11, for connectivity fault management cfm is configured on vm corresponding virtual server interface vsi, described The VLAN vlan of cfm is the corresponding specified vlan of flow of described vm, and described cfm is used for evb edge switch Link and user network between carries out fault detect;
Determining module 12, in the equipment between this evb edge switch and described user network that receives to described vsi The connecting detection message ccm message sending, and when carrying described specified vlan in described ccm message, determine that this evb edge exchanges Link between machine and described user network is normal;
The equipment not received in Preset Time between this evb edge switch and described user network is sent out to described vsi During the ccm message sending, determine the link failure between this evb edge switch and described user network;
Sending module 13, during for link failure between this evb edge switch and described user network, incite somebody to action this The information of the link failure between evb edge switch and described user network notifies, to described vm, to be notified described by described vm Vm administrative center triggers described vm and carries out virtual machine (vm) migration.
Described sending module 13, finds agreement vdp association message specifically for sending virtual server interface to described vm; Wherein, the status state that described vdp associates in message is designated identification, and when described vdp associates the status shape in message When state is designated identification, show that the link between this evb edge switch and described user network breaks down, and described vm works as Front for down state.
Wherein, the modules of apparatus of the present invention can be integrated in one it is also possible to be deployed separately.Above-mentioned module can be closed And for a module it is also possible to be further split into multiple submodule.
Based on the inventive concept same with said method, in the embodiment of the present invention, additionally provide a kind of virtual machine vm, application In inclusion vm administrative center, the data center network of edge virtual bridged evb edge switch, described vm and user network, Described vm is connected with described evb edge switch, and described vm is connected with described vm administrative center, described evb edge switch with Connected by big double layer network between described user network, as shown in fig. 6, described vm specifically includes:
Receiver module 21, for determining described evb in described evb edge switch using connectivity fault management cfm mechanism When link between edge switch and described user network breaks down, receive described from described evb edge switch The information of the link failure between evb edge switch and described user network;
Sending module 22, is used for notifying described vm administrative center to trigger this vm carrying out virtual machine (vm) migration.
Described receiver module 21, the virtual server interface specifically for receiving from described evb edge switch finds Agreement vdp associates message;Wherein, the status state that described vdp associates in message is designated identification, and when described vdp association When status state in message is designated identification, show the link between described evb edge switch and described user network Break down, and this vm is currently down state.
Described sending module 22, specifically for receiving after the vdp association message of described evb edge switch, such as It is designated identification that fruit finds that described vdp associates the status state in message, then notify described vm administrative center to trigger this vm and enter Row virtual machine (vm) migration, by described vm administrative center by this vm from current data Center shift to described current data center each other Another data center of backup.
Wherein, the modules of apparatus of the present invention can be integrated in one it is also possible to be deployed separately.Above-mentioned module can be closed And for a module it is also possible to be further split into multiple submodule.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by Software adds the mode of necessary general hardware platform to realize naturally it is also possible to pass through hardware, but the former is more in many cases Good embodiment.Based on such understanding, technical scheme substantially contributes to prior art in other words Partly can be embodied in the form of software product, this computer software product is stored in a storage medium, if including Dry instruction is with so that a computer equipment (can be personal computer, server, or network equipment etc.) executes this Method described in each embodiment bright.
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 stream Journey is not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that module in device in embodiment can be carried out point according to embodiment description It is distributed in the device of embodiment and be disposed other than in one or more devices of the present embodiment it is also possible to carry out respective change.On The module stating embodiment can merge into a module it is also possible to be further split into multiple submodule.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
The several specific embodiments being only the present invention disclosed above, but, the present invention is not limited to this, any ability What the technical staff in domain can think change all should fall into protection scope of the present invention.

Claims (10)

1. the method for a kind of virtual machine vm migration, be applied to including vm administrative center, edge virtual bridged evb edge switch, In the data center network of vm and user network, described vm is connected with described evb edge switch, and described vm is managed with described vm Center connects, and is connected it is characterised in that institute between described evb edge switch and described user network by big double layer network The method of stating comprises the following steps:
Described evb edge switch configures connectivity fault management cfm, described cfm on vm corresponding virtual server interface vsi VLAN vlan be described vm the corresponding specified vlan of flow, and described cfm be used for evb edge switch and use Link between the network of family carries out fault detect;
Described evb edge switch is sent out to described vsi receiving the equipment between this evb edge switch and described user network The connecting detection message ccm message sending, and when carrying described specified vlan in described ccm message, described evb edge switch is true Fixed link between this evb edge switch and described user network is normal;
Described evb edge switch does not receive setting between this evb edge switch and described user network in Preset Time During for the ccm message sending to described vsi, 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, to be notified by described vm Described vm administrative center triggers described vm and carries out virtual machine (vm) migration.
2. the method for claim 1 is it is characterised in that described evb edge switch is by this evb edge switch and institute The information stating the link failure between user network notifies, to described vm, to specifically include:
Described evb edge switch sends virtual server interface to described vm and finds agreement vdp association message;Wherein, described The status state that vdp associates in message is designated identification, when the status state that described vdp associates in message is designated identification When, show that the link between this evb edge switch and described user network breaks down, and described vm is currently unavailable shape State.
3. the method for a kind of virtual machine vm migration, be applied to including vm administrative center, edge virtual bridged evb edge switch, In the data center network of vm and user network, described vm is connected with described evb edge switch, and described vm is managed with described vm Center connects, and is connected it is characterised in that institute between described evb edge switch and described user network by big double layer network The method of stating comprises the following steps:
Determine described evb edge switch and described user in described evb edge switch using connectivity fault management cfm mechanism When link between network breaks down, described vm receive described evb edge switch from described evb edge switch with The information of the link failure between described user network;
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 derived from the described of described evb edge switch it is characterised in that described vm receives The information of the link failure between evb edge switch and described user network, specifically includes:
The virtual server interface that described vm receives from described evb edge switch finds agreement vdp association message;Wherein, The status state that described vdp associates in message is designated identification, is specified when described vdp associates the status state in message During mark, show that the link between described evb edge switch and described user network breaks down, and described vm is currently not Upstate.
5. method as claimed in claim 4 carries out void it is characterised in that described vm notifies described vm administrative center to trigger this vm The process of plan machine migration, specifically includes:
Described vm is receiving after the vdp association message of described evb edge switch, if it find that described vdp associates message In status state be designated identification, then described vm notifies described vm administrative center to trigger this vm to carry out virtual machine (vm) migration, by Described vm administrative center by described vm from current data Center shift to another number mutually redundant with described current data center According to center.
6. the virtual bridged evb edge switch in a kind of edge, is applied to hand over including virtual machine vm administrative center, described evb edge Change planes, in the data center network of vm and user network, described vm is connected with described evb edge switch, described vm with described Vm administrative center connects, and is connected by big double layer network, its feature exists between described evb edge switch and described user network In described evb edge switch specifically includes:
Configuration module, for configuring connectivity fault management cfm, the void of described cfm on vm corresponding virtual server interface vsi Intend the corresponding specified vlan of flow that LAN vlan is described vm, and described cfm is used for evb edge switch and user network Link between network carries out fault detect;
Determining module, for receiving what the equipment between this evb edge switch and described user network sent to described vsi Connecting detection message ccm message, and when carrying described specified vlan in described ccm message, determine this evb edge switch and institute The link stated between user network is normal;
Do not receive what the equipment between this evb edge switch and described user network sent to described vsi in Preset Time During ccm message, determine the link failure between this evb edge switch and described user network;
Sending module, during for link failure between this evb edge switch and described user network, by this evb edge The information of the link failure between switch and described user network notifies, to described vm, to be notified in described vm management by described vm The heart triggers described vm and carries out virtual machine (vm) migration.
7. evb edge switch as claimed in claim 6 it is characterised in that
Described sending module, finds agreement vdp association message specifically for sending virtual server interface to described vm;Wherein, The status state that described vdp associates in message is designated identification, is specified when described vdp associates the status state in message During mark, show that the link between this evb edge switch and described user network breaks down, and described vm is currently can not Use state.
8. a kind of virtual machine vm, is applied to including vm administrative center, edge virtual bridged evb edge switch, described vm and use In the data center network of family network, described vm is connected with described evb edge switch, and described vm is with described vm administrative center even Connect, be connected by big double layer network between described evb edge switch and described user network it is characterised in that described vm has Body includes:
Using connectivity fault management cfm mechanism, receiver module, for determining that described evb edge is handed in described evb edge switch When the link and described user network between of changing planes breaks down, receive the described evb edge from described evb edge switch The information of the link failure between switch and described user network;
Sending module, is used for notifying described vm administrative center to trigger this vm carrying out virtual machine (vm) migration.
9. vm as claimed in claim 8 it is characterised in that
Described receiver module, the virtual server interface specifically for receiving from described evb edge switch finds agreement vdp Association message;Wherein, the status state that described vdp associates in message is designated identification, when in described vdp association message When status state is designated identification, show that the link between described evb edge switch and described user network breaks down, And this vm is currently down state.
10. vm as claimed in claim 9 it is characterised in that
Described sending module, specifically for receive from described evb edge switch vdp association message after, if it find that The status state that described vdp associates in message is designated identification, then notify described vm administrative center trigger this vm carry out virtual Machine migrates, by described vm administrative center by this vm from current data Center shift to mutually redundant with described current data center Another 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 CN103516554A (en) 2014-01-15
CN103516554B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105704180B (en) * 2014-11-27 2019-02-26 英业达科技有限公司 The configuration method and its system of data center network
CN109617716B (en) * 2018-11-30 2022-02-25 新华三技术有限公司合肥分公司 Data center exception handling 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

Also Published As

Publication number Publication date
CN103516554A (en) 2014-01-15

Similar Documents

Publication Publication Date Title
US11902086B2 (en) Method and system of a dynamic high-availability mode based on current wide area network connectivity
CN100512292C (en) Apparatus and method of real-time recovering service
CN103493434B (en) Fault protecting method and fail-safe system in multiple-domain network
EP2045965B1 (en) Resource state monitoring method, device and communication network
JP5743809B2 (en) Network management system and network management method
EP2507944B1 (en) Method and apparatus for supporting mismatch detection
CN104767680B (en) It route the method and apparatus being switched fast
CN107342809B (en) Service performance monitoring and fault positioning method and device
CN106664216A (en) Method and apparatus for switching vnf
CN103053139B (en) Message processing method and system
CN104378232A (en) Schizencephaly finding and recovering method and device under main joint and auxiliary joint cluster networking mode
CN102833109A (en) Positional information processing method and equipment of fault point
CN106789630B (en) A kind of network protection method and system, controller, equipment
EP2804343B1 (en) Method for mapping a network topology request to a physical network, computer program product, mobile communication system, and network configuration platform
CN107294756B (en) Automatic service transition method and device
CN107257300B (en) A kind of 4G access devices of wireless backup, system and method
US9059791B2 (en) Method and apparatus for protecting tunnel
CN101908983B (en) Joint detection method and system for Ethernet local segment protection
CN103095569A (en) Hot disaster tolerance wide area network framework with high redundancy and low cost and achieving method thereof
CN109450707A (en) A kind of data transmission method, device, gateway and readable storage medium storing program for executing
CN106941424B (en) Redundancy switching method and device based on TTDP protocol
CN103516554B (en) Method and equipment for VM (Virtual Machine) migration
EP2858302B1 (en) Connectivity check method of service stream link, related apparatus and system
CN108023800A (en) A kind of guard method of LTE bearer networks and device
CN107682262A (en) The processing method and device of communication path

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

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.

CP03 Change of name, title or address