CN104780109A - Virtual machine migration method and device - Google Patents

Virtual machine migration method and device Download PDF

Info

Publication number
CN104780109A
CN104780109A CN201510204272.8A CN201510204272A CN104780109A CN 104780109 A CN104780109 A CN 104780109A CN 201510204272 A CN201510204272 A CN 201510204272A CN 104780109 A CN104780109 A CN 104780109A
Authority
CN
China
Prior art keywords
virtual machine
data center
routing iinformation
migration
announcing removal
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
CN201510204272.8A
Other languages
Chinese (zh)
Other versions
CN104780109B (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.)
Hangzhou 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 CN201510204272.8A priority Critical patent/CN104780109B/en
Publication of CN104780109A publication Critical patent/CN104780109A/en
Application granted granted Critical
Publication of CN104780109B publication Critical patent/CN104780109B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a virtual machine migration method and device. The method is applied to a mapping server in an LISP network and includes the steps that after a virtual machine is migrated from a first data center in the LISP network to a second data center in the LISP network, a registered address, sent by a router of the second data center, of the virtual machine is received; according to the registered address of the virtual machine, a migration notification corresponding to the virtual machine is generated, and the migration notification is used for indicating the virtual machine to be migrated from the first data center to the second data center; the migration notification is sent to all remote servers in the LISP network, so that the remote servers update route information locally stored and corresponding to the virtual machine according to the migration notification, and a data message is sent to the virtual machine by means of the updated route information. The virtual machine migration method and device can be used in the virtual machine migration process, flow between the remote servers and the migrated virtual machine can be restored as soon as possible, and therefore user experience is improved.

Description

Virtual machine migration method and device
Technical field
The present invention relates to network communication technology field, particularly relate to virtual machine migration method and device.
Background technology
Along with the development of the network communications technology, virtual machine migration technology is also widely used.
In prior art, as virtual machine (Virtual Machine, VM) from station location marker separated protocol (Locator Identifier Separation Protocol, LISP) after the first data center in network moves to the second data center, and far-end server learn virtual machine move into the second data center routing iinformation before, when far-end server sends datagram to the virtual machine of having moved out of the first data center, the data message that the virtual machine that this can have been moved out according to the NULL0 route generated of the router of the first data center is corresponding abandons, thus make in virtual machine (vm) migration process, flow between far-end server and virtual machine there will be short interruption, reduce Consumer's Experience.
Summary of the invention
The invention provides virtual machine migration method and device, to solve in prior art in virtual machine (vm) migration process, the flow between far-end server and virtual machine there will be short interruption, reduces the problem of Consumer's Experience.
According to the first aspect of the embodiment of the present invention, provide a kind of virtual machine migration method, described method is applied on the mapping server in station location marker separated protocol LISP network, comprising:
When virtual machine VM moves to after the second data center in described LISP network from the first data center described LISP network, the registered address of the described virtual machine that the router receiving described second data center sends;
Generate announcing removal corresponding to described virtual machine according to the registered address of described virtual machine, described announcing removal is used to indicate described virtual machine and moves to described second data center from described first data center;
Described announcing removal is sent to all far-end servers in described LISP network, to make described far-end server upgrade routing iinformation corresponding to the local described virtual machine preserved according to described announcing removal, and the routing iinformation after described renewal is utilized to send datagram to described virtual machine.
According to the second aspect of the embodiment of the present invention, provide a kind of virtual machine migration method, described method is applied on the far-end server in station location marker separated protocol LISP network, comprising:
When virtual machine VM moves to after the second data center in described LISP network from the first data center described LISP network, receive the announcing removal that the virtual machine of the generation migration that described mapping server sends is corresponding, described announcing removal is used to indicate described virtual machine and moves to described second data center from described first data center;
Upgrade routing iinformation corresponding to the local described virtual machine preserved according to described announcing removal, and utilize the routing iinformation after described renewal to send datagram to described virtual machine.
According to the third aspect of the embodiment of the present invention, provide a kind of virtual machine (vm) migration device, on the mapping server of described application of installation in station location marker separated protocol LISP network, comprising:
First receiving element, for moving to after the second data center in described LISP network from the first data center described LISP network as virtual machine VM, the registered address of the described virtual machine that the router receiving described second data center sends;
Announcing removal generation unit, for generating announcing removal corresponding to described virtual machine according to the registered address of described virtual machine, described announcing removal is used to indicate described virtual machine and moves to described second data center from described first data center;
First transmitting element, for described announcing removal is sent to all far-end servers in described LISP network, to make described far-end server upgrade routing iinformation corresponding to the local described virtual machine preserved according to described announcing removal, and the routing iinformation after described renewal is utilized to send datagram to described virtual machine.
According to the fourth aspect of the embodiment of the present invention, provide a kind of virtual machine (vm) migration device, on the far-end server of described application of installation in station location marker separated protocol LISP network, comprising:
Receiving element, for moving to after the second data center in described LISP network as virtual machine VM from the first data center described LISP network, receive the announcing removal that the virtual machine of the generation migration that described mapping server sends is corresponding, described announcing removal is used to indicate described virtual machine and moves to described second data center from described first data center;
Updating block, for upgrading routing iinformation corresponding to the local described virtual machine preserved according to described announcing removal, and utilizes the routing iinformation after described renewal to send datagram to described virtual machine.
The application embodiment of the present invention, to move to the second data center in LISP network from the first data center LISP network when virtual machine after, the registered address of this virtual machine of having moved into that the router that mapping server receives the second data center sends, announcing removal corresponding to this virtual machine is generated according to the registered address of virtual machine, this announcing removal is used to indicate virtual machine and moves to the second data center from the first data center, and the announcing removal received is sent to all far-end servers in LISP network, with the routing iinformation making far-end server corresponding according to the virtual machine of local this generation migration of having preserved of the announcing removal renewal received, and utilize the routing iinformation after upgrading to send datagram to the virtual machine after migration, thus ensure that in virtual machine (vm) migration process, flow between far-end server and the virtual machine after moving recovers as early as possible, and then improve Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is the application scenarios schematic diagram of application embodiment of the present invention virtual machine (vm) migration;
Fig. 2 is an embodiment flow chart of virtual machine migration method of the present invention;
Fig. 3 is another embodiment flow chart of virtual machine migration method of the present invention;
Fig. 4 is another embodiment flow chart of virtual machine migration method of the present invention;
Fig. 5 is a kind of hardware structure diagram of virtual machine (vm) migration device place of the present invention equipment;
Fig. 6 is an embodiment block diagram of virtual machine (vm) migration device of the present invention;
Fig. 7 is another embodiment block diagram of virtual machine (vm) migration device of the present invention.
Embodiment
Technical scheme in the embodiment of the present invention is understood better in order to make those skilled in the art person, and enable the above-mentioned purpose of the embodiment of the present invention, feature and advantage become apparent more, below in conjunction with accompanying drawing, technical scheme in the embodiment of the present invention is described in further detail.
See Fig. 1, the application scenarios schematic diagram for application embodiment of the present invention virtual machine (vm) migration:
A kind of group-network construction of LISP network has been shown in Fig. 1.This framework comprises: the first data center, the second data center, mapping server and far-end server.Wherein, LISP network can comprise a far-end server, also can comprise multiple far-end server; LISP network also can comprise other data centers except the first data center and the second data center, just for the first data center and the second data center in the embodiment of the present invention, the virtual machine migration method that the present invention proposes is described.In addition, mapping server independent of on the router outside each data center, also can be able to be positioned on the router of one of them data center.
In addition, all there are router in first data center and the second data center, and each router all can carry out LISP tunnel encapsulation (Ingress Tunnel Router, ITR) and LISP tunnel decapsulation (Engress Tunnel Router, ETR) to data message.Each data center can comprise one or more virtual machine, and the virtual machine of each data center may move, such as: the virtual machine of the first data center can move to the second data center.
In prior art, when virtual machine is from after the first data center LISP network moves to the second data center, and far-end server learn virtual machine move into the second data center routing iinformation before, when far-end server sends datagram to the virtual machine of having moved out of the first data center, the data message that the virtual machine that this can have been moved out according to the NULL0 route generated of the router of the first data center is corresponding abandons, thus make in virtual machine (vm) migration process, flow between far-end server and virtual machine there will be short interruption, reduce Consumer's Experience.
And in the embodiment of the present invention, after virtual machine VM moves to the second data center of institute from the first data center, the registered address of this virtual machine of moving into that the router that mapping server receives the second data center sends, announcing removal corresponding to this virtual machine is generated according to the registered address of this virtual machine, this announcing removal instruction virtual machine moves to described second data center from the first data center, and this announcing removal is sent to far-end server, routing iinformation corresponding to the local virtual machine preserved is upgraded according to the announcing removal received to make far-end server, and utilize the routing iinformation after renewal corresponding to this virtual machine to send datagram to this virtual machine, thus ensure that in virtual machine (vm) migration process, flow between far-end server and the virtual machine of migration there will not be short interruption, and then improve Consumer's Experience.
Be described in detail below in conjunction with the embodiment of accompanying drawing to virtual machine (vm) migration of the present invention.
See Fig. 2, be an embodiment flow chart of virtual machine migration method of the present invention, this embodiment is applied on the mapping server in LISP network, and this mapping server can be the mapping server in Fig. 1, comprises the following steps:
Step 210: to move to the second data center in LISP network from the first data center LISP network when virtual machine after, the registered address of this virtual machine of having moved into that the router receiving the second data center sends.
In the present embodiment, if virtual machine VM1 moves to the second data center LISP network from the first data center after, when the router detection of the second data center is after VM1, can to the host address of mapping server registration VM1.
Step 220: generate announcing removal corresponding to this virtual machine according to the registered address of virtual machine, this announcing removal is used to indicate virtual machine and moves to the second data center from the first data center.
In the present embodiment, announcing removal is the self-defining message of the present invention, and for describing the migration situation of the virtual machine that migration occurs.Announcing removal can comprise the routing iinformation i.e. routing iinformation of the first data center of the side of moving out, the route i.e. routing iinformation of the second data center of the side of moving into, and the host address of the virtual machine moved occurs.Wherein, this announcing removal is the migration situation of the virtual machine for distally server advertises generation migration, routing iinformation after making far-end server obtain virtual machine (vm) migration more rapidly, and automatically recover rapidly the flow between the virtual machine after far-end server and migration.
Step 230: announcing removal is sent to all far-end servers in LISP network, to make far-end server upgrade routing iinformation corresponding to the virtual machine of local this generation migration of having preserved according to the announcing removal that receives, and the routing iinformation after upgrading is utilized to send datagram to the virtual machine after migration.
In the present embodiment, a far-end server may be comprised in LISP network, also multiple far-end server may be comprised, after mapping server receives announcing removal, the router address of local each far-end server preserved can be traveled through, and according to each router address, announcing removal is sent to corresponding far-end server, the migration situation of the virtual machine that migration occurs is known for each far-end server.
As seen from the above-described embodiment, to move to the second data center in LISP network from the first data center LISP network when virtual machine after, the registered address of this virtual machine of having moved into that the router that mapping server receives the second data center sends, announcing removal corresponding to this virtual machine is generated according to the registered address of virtual machine, this announcing removal is used to indicate virtual machine and moves to the second data center from the first data center, and the announcing removal received is sent to all far-end servers in LISP network, with the routing iinformation making far-end server corresponding according to the virtual machine of local this generation migration of having preserved of the announcing removal renewal received, and utilize the routing iinformation after upgrading to send datagram to the virtual machine after migration, thus ensure that in virtual machine (vm) migration process, flow between far-end server and the virtual machine after moving recovers as early as possible, and then improve Consumer's Experience.
In one embodiment, after performing the registered address of this virtual machine of having moved into of the router transmission receiving the second data center in step 210, can also comprise:
To the mapping notice message that the virtual machine of the router transmission generation migration of the first data center is corresponding, know that virtual machine is moved out to make the router of the first data center according to mapping notice message, and generate packet loss route corresponding to this virtual machine, and by packet loss route sending-down in local routing buffer memory.
Wherein, packet loss route is used for when the router of the first data center receives the data message of the virtual machine for generation migration that far-end server sends, data message abandons by then corresponding according to this virtual machine packet loss route, and trigger request sends mapping request SMR message, and SMR message is sent to far-end server, the routing iinformation after making far-end server relearn the virtual machine (vm) migration that migration occurs.
In another embodiment, virtual machine migration method of the present invention also comprises:
Receive the mapping request message that far-end server sends, and by the router of mapping request message repeating to the second data center, to make the router of the second data center that the mapping response message carrying the routing iinformation after virtual machine (vm) migration is sent to far-end server, for the routing iinformation after far-end server study virtual machine (vm) migration.Routing iinformation
In the present embodiment, when the router of the first data center receives the data message of the virtual machine for generation migration that far-end server sends, data message abandons by then corresponding according to described virtual machine packet loss route, and trigger request sends mapping request (Solicit Map-Request, SMR) message, and SMR message is sent to far-end server.After far-end server receives SMR message, when starting the routing iinformation after relearning the virtual machine (vm) migration that migration occurs, if this far-end server does not receive the announcing removal corresponding to virtual machine of the generation migration that mapping server sends, such as: this far-end server is the server of newly reaching the standard grade, or receive SMR message before receiving this announcing removal, then need to send mapping request message to mapping server, and mapping server receives mapping request message, by the router of mapping request message repeating to the second data center, the mapping response message carrying the routing iinformation after virtual machine (vm) migration is sent to far-end server by the router for the second data center, for the routing iinformation after far-end server study virtual machine (vm) migration.
As seen from the above-described embodiment, when LISP network comprises multiple far-end server, some far-end servers are online, some far-end servers are not online, when announcing removal corresponding for the virtual machine that migration occurs is sent to each far-end server by mapping server, online far-end server can receive announcing removal, and the routing iinformation that the virtual machine upgrading this generation migration of having preserved this locality according to the announcing removal received is corresponding, and not online far-end server does not receive announcing removal, once this far-end server is reached the standard grade, the routing iinformation that the virtual machine of this generation migration of still having preserved according to this locality is corresponding sends datagram, after receiving SMR message, just relearn the routing iinformation after the virtual machine (vm) migration that migration occurs, now this far-end server can send mapping request message to mapping server, and mapping server receives mapping request message, by the router of mapping request message repeating to the second data center, the mapping response message carrying the routing iinformation after virtual machine (vm) migration is sent to far-end server by the router for the second data center, for the routing iinformation after far-end server study virtual machine (vm) migration, thus ensure that in virtual machine (vm) migration process, flow between far-end server and the virtual machine after moving recovers as early as possible, and then improve Consumer's Experience.
See Fig. 3, be another embodiment flow chart of virtual machine migration method of the present invention, this embodiment is applied on the far-end server in LISP network, and this mapping server can be the far-end server in Fig. 1, comprises the following steps:
Step 310: to move to the second data center in LISP network from the first data center LISP network when virtual machine after, receive the announcing removal that the virtual machine of the generation migration that mapping server sends is corresponding, this announcing removal is used to indicate this virtual machine and moves to the second data center from the first data center.
In the present embodiment, announcing removal is the self-defining message of the present invention, and for describing the migration situation of the virtual machine that migration occurs.Announcing removal can comprise the routing iinformation i.e. routing iinformation of the first data center of the side of moving out, the routing iinformation i.e. routing iinformation of the second data center of the side of moving into, and the virtual machine host address of migration occurs.
Step 320: the announcing removal corresponding according to the virtual machine that migration occurs upgrades routing iinformation corresponding to local this virtual machine preserved, and utilizes the routing iinformation after upgrading to send datagram to this virtual machine.
In the present embodiment, the routing iinformation that local this virtual machine preserved is corresponding is the routing iinformation before virtual machine moves, and the routing iinformation after renewal is the route after virtual machine moves.After far-end server receives announcing removal, the migration situation of the virtual machine that migration occurs is known in meeting according to announcing removal, if desired upgrade, then upgrade immediately, thus the routing iinformation after utilization renewal recovers the flow between self and the virtual machine after moving automatically.
As seen from the above-described embodiment, to move to the second data center in LISP network from the first data center LISP network when virtual machine after, far-end server receives the announcing removal corresponding to virtual machine of the generation migration that mapping server sends, and this announcing removal is used to indicate virtual machine and moves to described second data center from described first data center; Routing iinformation corresponding to local this virtual machine preserved is upgraded according to announcing removal, and utilize the routing iinformation after upgrading to send datagram to virtual machine, thus ensure that in virtual machine (vm) migration process, flow between far-end server and the virtual machine after moving recovers as early as possible, and then improves Consumer's Experience.
In one embodiment, perform in step 320: the routing iinformation that the announcing removal corresponding according to the virtual machine that migration occurs upgrades local this virtual machine preserved corresponding specifically comprises the following steps, as shown in Figure 4:
Step 410: the announcing removal corresponding according to the virtual machine of the generation migration received judges the mapping item of the virtual machine whether comprising this generation migration in local cache, if local cache comprises the mapping item of the virtual machine of this generation migration, then perform step 420; If do not comprise the mapping item of the virtual machine of this generation migration in local cache, then perform step 430.
Step 420: the routing iinformation corresponding according to local this virtual machine preserved of the updating route information after virtual machine (vm) migration.
Step 430: abandon the announcing removal received.
As seen from the above-described embodiment, when LISP network comprises multiple far-end server, some far-end servers comprise the mapping item of the virtual machine of this generation migration, some far-end servers do not comprise the mapping item of the virtual machine of this generation migration, therefore, the far-end server comprising the mapping item of the virtual machine of this generation migration upgrades, and the far-end server not comprising the mapping item of the virtual machine of this generation migration abandons the announcing removal received.
Corresponding with aforementioned virtual machine moving method embodiment, present invention also offers the embodiment of virtual machine (vm) migration device.
The embodiment of virtual machine (vm) migration device of the present invention can be applied on network devices.Device embodiment can pass through software simulating, also can be realized by the mode of hardware or software and hardware combining.For software simulating, as the device on a logical meaning, be by the processor of its place equipment, computer program instructions corresponding in nonvolatile memory is read operation in internal memory to be formed.Say from hardware view, as shown in Figure 5, for a kind of hardware structure diagram of virtual machine (vm) migration device place of the present invention equipment, except the processor shown in Fig. 5, network interface, internal memory and nonvolatile memory, in embodiment, the equipment at device place can also comprise other hardware usually, as the forwarding chip etc. of responsible process message; May be also distributed equipment from this equipment of hardware configuration, multiple interface card may be comprised, to carry out the expansion of Message processing at hardware view.
See Fig. 6, be an embodiment block diagram of virtual machine (vm) migration device of the present invention, described device can be applied on the mapping server in LISP network, and described device comprises: the first receiving element 61, announcing removal generation unit 62 and the first transmitting element 63.
Wherein, the first receiving element 61, for moving to after the second data center in described LISP network from the first data center described LISP network as virtual machine VM, receives the registered address of the described virtual machine of the router transmission of described second data center.
Announcing removal generation unit 62 is for generating announcing removal corresponding to described virtual machine according to the registered address of described virtual machine, and described announcing removal is used to indicate described virtual machine and moves to described second data center from described first data center.
First transmitting element 63 is for being sent to all far-end servers in described LISP network by described announcing removal, to make described far-end server upgrade routing iinformation corresponding to the local described virtual machine preserved according to described announcing removal, and the routing iinformation after described renewal is utilized to send datagram to described virtual machine.
Wherein, described announcing removal comprises the host address of the virtual machine that the routing iinformation of described first data center, the routing iinformation of described second data center and described generation are moved.
As seen from the above-described embodiment, to move to the second data center in LISP network from the first data center LISP network when virtual machine after, the registered address of this virtual machine of having moved into that the router that mapping server receives the second data center sends, announcing removal corresponding to this virtual machine is generated according to the registered address of virtual machine, this announcing removal is used to indicate virtual machine and moves to the second data center from the first data center, and the announcing removal received is sent to all far-end servers in LISP network, with the routing iinformation making far-end server corresponding according to the virtual machine of local this generation migration of having preserved of the announcing removal renewal received, and utilize the routing iinformation after upgrading to send datagram to the virtual machine after migration, thus ensure that in virtual machine (vm) migration process, flow between far-end server and the virtual machine after moving recovers as early as possible, and then improve Consumer's Experience.
In an optional implementation, described device also comprises: the second transmitting element (for illustrating in Fig. 6).
Wherein, second transmitting element, for sending mapping notice message corresponding to described virtual machine to the router of described first data center, know that described virtual machine is moved out to make the router of described first data center according to described mapping notice message, and generate packet loss route corresponding to described virtual machine, and by described packet loss route sending-down in local routing buffer memory.
In another optional implementation, described device also comprises: the second receiving element (for illustrating in Fig. 6).
Wherein, second receiving element, for receiving the mapping request message that described far-end server sends, and by described mapping request message repeating to the router of described second data center, to make the router of described second data center that the mapping response message of the routing iinformation after carrying described virtual machine (vm) migration is sent to described far-end server, learn the routing iinformation after described virtual machine (vm) migration for described far-end server.
See Fig. 7, be another embodiment block diagram of virtual machine (vm) migration device of the present invention, described device can be applied on the far-end server in LISP network, and described device comprises: receiving element 71 and updating block 72.
Wherein, receiving element 71 is for moving to after the second data center in described LISP network as virtual machine VM from the first data center described LISP network, receive the announcing removal that the virtual machine of the generation migration that described mapping server sends is corresponding, described announcing removal is used to indicate described virtual machine and moves to described second data center from described first data center.
Updating block 72 for upgrading routing iinformation corresponding to the local described virtual machine preserved according to described announcing removal, and utilizes the routing iinformation after described renewal to send datagram to described virtual machine.
Wherein, described announcing removal can comprise the host address of the virtual machine that the routing iinformation of described first data center, the routing iinformation of described second data center and described generation are moved.
In an optional implementation, described updating block can comprise: judgment sub-unit and execution subelement (for illustrating in Fig. 7).
Wherein, judgment sub-unit is used for judging according to described announcing removal the mapping item whether comprising described virtual machine in local cache.
If execution subelement is used for the mapping item that local cache comprises described virtual machine, then corresponding according to the local described virtual machine preserved of the updating route information after described virtual machine (vm) migration routing iinformation; If do not comprise the mapping item of described virtual machine in local cache, then abandon described announcing removal.
As seen from the above-described embodiment, to move to the second data center in LISP network from the first data center LISP network when virtual machine after, far-end server receives the announcing removal corresponding to virtual machine of the generation migration that mapping server sends, and this announcing removal is used to indicate virtual machine and moves to described second data center from described first data center; Routing iinformation corresponding to local this virtual machine preserved is upgraded according to announcing removal, and utilize the routing iinformation after upgrading to send datagram to virtual machine, thus ensure that in virtual machine (vm) migration process, flow between far-end server and the virtual machine after moving recovers as early as possible, and then improves Consumer's Experience.
In said apparatus, the implementation procedure of the function and efficacy of unit specifically refers to the implementation procedure of corresponding step in said method, does not repeat them here.
For device embodiment, because it corresponds essentially to embodiment of the method, so relevant part illustrates see the part of embodiment of the method.Device embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of the present invention program.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
As seen from the above-described embodiment, to move to the second data center in LISP network from the first data center LISP network when virtual machine after, the registered address of this virtual machine of having moved into that the router that mapping server receives the second data center sends, announcing removal corresponding to this virtual machine is generated according to the registered address of virtual machine, this announcing removal is used to indicate virtual machine and moves to the second data center from the first data center, and the announcing removal received is sent to all far-end servers in LISP network, with the routing iinformation making far-end server corresponding according to the virtual machine of local this generation migration of having preserved of the announcing removal renewal received, and utilize the routing iinformation after upgrading to send datagram to the virtual machine after migration, thus ensure that in virtual machine (vm) migration process, flow between far-end server and the virtual machine after moving recovers as early as possible, and then improve Consumer's Experience.
Those skilled in the art, at consideration specification and after putting into practice invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised the undocumented common practise in the art of the present invention or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (14)

1. a virtual machine migration method, is characterized in that, described method is applied on the mapping server in station location marker separated protocol LISP network, comprising:
When virtual machine VM moves to after the second data center in described LISP network from the first data center described LISP network, the registered address of the described virtual machine that the router receiving described second data center sends;
Generate announcing removal corresponding to described virtual machine according to the registered address of described virtual machine, described announcing removal is used to indicate described virtual machine and moves to described second data center from described first data center;
Described announcing removal is sent to all far-end servers in described LISP network, to make described far-end server upgrade routing iinformation corresponding to the local described virtual machine preserved according to described announcing removal, and the routing iinformation after described renewal is utilized to send datagram to described virtual machine.
2. method according to claim 1, is characterized in that, described announcing removal comprises the host address of the virtual machine that the routing iinformation of described first data center, the routing iinformation of described second data center and described generation are moved.
3. method according to claim 1, is characterized in that, described method also comprises:
Router to described first data center sends mapping notice message corresponding to described virtual machine, know that described virtual machine is moved out to make the router of described first data center according to described mapping notice message, and generate packet loss route corresponding to described virtual machine, and by described packet loss route sending-down in local routing buffer memory.
4. method according to claim 1, is characterized in that, described method also comprises:
Receive the mapping request message that the described virtual machine of described far-end server transmission is corresponding, and by described mapping request message repeating to the router of described second data center, to make the router of described second data center that the mapping response message of the routing iinformation after carrying described virtual machine (vm) migration is sent to described far-end server, learn the routing iinformation after described virtual machine (vm) migration for described far-end server.
5. a virtual machine migration method, is characterized in that, described method is applied on the far-end server in station location marker separated protocol LISP network, comprising:
When virtual machine VM moves to after the second data center in described LISP network from the first data center described LISP network, receive the announcing removal that the described virtual machine of described mapping server transmission is corresponding, described announcing removal is used to indicate described virtual machine and moves to described second data center from described first data center;
Upgrade routing iinformation corresponding to the local described virtual machine preserved according to described announcing removal, and utilize the routing iinformation after described renewal to send datagram to described virtual machine.
6. method according to claim 5, is characterized in that, described announcing removal comprises the host address of the virtual machine that the routing iinformation of described first data center, the routing iinformation of described second data center and described generation are moved.
7. method according to claim 6, is characterized in that, the described routing iinformation upgrading the local described virtual machine preserved corresponding according to described announcing removal specifically comprises:
The mapping item whether comprising described virtual machine in local cache is judged according to described announcing removal;
If local cache comprises the mapping item of described virtual machine, then corresponding according to the local described virtual machine preserved of the updating route information after described virtual machine (vm) migration routing iinformation; If do not comprise the mapping item of described virtual machine in local cache, then abandon described announcing removal.
8. a virtual machine (vm) migration device, is characterized in that, on the mapping server of described application of installation in station location marker separated protocol LISP network, comprising:
First receiving element, for moving to after the second data center in described LISP network from the first data center described LISP network as virtual machine VM, the registered address of the described virtual machine that the router receiving described second data center sends;
Announcing removal generation unit, for generating announcing removal corresponding to described virtual machine according to the registered address of described virtual machine, described announcing removal is used to indicate described virtual machine and moves to described second data center from described first data center;
First transmitting element, for described announcing removal is sent to far-end servers all in described LISP network, to make described far-end server upgrade routing iinformation corresponding to the local described virtual machine preserved according to described announcing removal, and the routing iinformation after described renewal is utilized to send datagram to described virtual machine.
9. device according to claim 8, is characterized in that, described announcing removal comprises the routing iinformation of described first data center, the routing iinformation of described second data center and the host address of described virtual machine.
10. device according to claim 8, is characterized in that, described device also comprises:
Second transmitting element, for sending mapping notice message corresponding to described virtual machine to the router of described first data center, know that described virtual machine is moved out to make the router of described first data center according to described mapping notice message, and generate packet loss route corresponding to described virtual machine, and by described packet loss route sending-down in local routing buffer memory.
11. devices according to claim 8, is characterized in that, described device also comprises:
Second receiving element, for receiving the mapping request message that described far-end server sends, and by described mapping request message repeating to the router of described second data center, to make the router of described second data center that the mapping response message of the routing iinformation after carrying described virtual machine (vm) migration is sent to described far-end server, learn the routing iinformation after described virtual machine (vm) migration for described far-end server.
12. 1 kinds of virtual machine (vm) migration devices, is characterized in that, on the far-end server of described application of installation in station location marker separated protocol LISP network, comprising:
Receiving element, for moving to after the second data center in described LISP network as virtual machine VM from the first data center described LISP network, receive the announcing removal that the virtual machine of the generation migration that described mapping server sends is corresponding, described announcing removal is used to indicate described virtual machine and moves to described second data center from described first data center;
Updating block, for upgrading routing iinformation corresponding to the local described virtual machine preserved according to described announcing removal, and utilizes the routing iinformation after described renewal to send datagram to described virtual machine.
13. devices according to claim 12, is characterized in that, described announcing removal comprises the host address of the virtual machine that the routing iinformation of described first data center, the routing iinformation of described second data center and described generation are moved.
14. devices according to claim 12, is characterized in that, described updating block comprises:
Judgment sub-unit, for judging according to described announcing removal the mapping item whether comprising described virtual machine in local cache;
Perform subelement, if comprise the mapping item of described virtual machine for local cache, then corresponding according to the local described virtual machine preserved of the updating route information after described virtual machine (vm) migration routing iinformation; If do not comprise the mapping item of described virtual machine in local cache, then abandon described announcing removal.
CN201510204272.8A 2015-04-27 2015-04-27 Virtual machine migration method and device Active CN104780109B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510204272.8A CN104780109B (en) 2015-04-27 2015-04-27 Virtual machine migration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510204272.8A CN104780109B (en) 2015-04-27 2015-04-27 Virtual machine migration method and device

Publications (2)

Publication Number Publication Date
CN104780109A true CN104780109A (en) 2015-07-15
CN104780109B CN104780109B (en) 2019-03-15

Family

ID=53621360

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510204272.8A Active CN104780109B (en) 2015-04-27 2015-04-27 Virtual machine migration method and device

Country Status (1)

Country Link
CN (1) CN104780109B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105591935A (en) * 2015-08-26 2016-05-18 杭州华三通信技术有限公司 Method and device for updating EID-RLOC mapping relation after virtual machine migration
WO2016188438A1 (en) * 2015-05-27 2016-12-01 International Business Machines Corporation Updating networks with migration information for a virtual machine
CN106506369A (en) * 2015-12-31 2017-03-15 杭州华三通信技术有限公司 A kind of method and apparatus for obtaining address information
CN107547400A (en) * 2017-06-21 2018-01-05 新华三技术有限公司 A kind of virtual machine migration method and device
CN108322393A (en) * 2017-01-18 2018-07-24 阿里巴巴集团控股有限公司 Routing link management method and system, virtual flow-line gateway and host gateway
CN108418740A (en) * 2018-02-28 2018-08-17 新华三技术有限公司 Message processing method and device
CN108777663A (en) * 2018-05-31 2018-11-09 新华三技术有限公司 A kind of synchronous method and device of routing iinformation
CN110287169A (en) * 2019-06-28 2019-09-27 四川长虹电器股份有限公司 A kind of master data moving method between cloud application
CN111988223A (en) * 2020-08-19 2020-11-24 杭州迪普科技股份有限公司 Virtual machine migration method and network system
CN113301070A (en) * 2020-04-07 2021-08-24 阿里巴巴集团控股有限公司 Method and device for establishing data transmission channel
CN113326101A (en) * 2021-08-02 2021-08-31 阿里云计算有限公司 Thermal migration method, device and equipment based on remote direct data storage
CN115065630A (en) * 2022-05-10 2022-09-16 深信服科技股份有限公司 Virtual router migration method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090031202A1 (en) * 2007-07-27 2009-01-29 Branda Steven J Methods, Systems, and Computer Program Products for Class Verification
CN102185774A (en) * 2011-05-10 2011-09-14 中兴通讯股份有限公司 Method, monitor and system for seamless migration of virtual machine
CN102333037A (en) * 2011-10-20 2012-01-25 中兴通讯股份有限公司 Method and device for migrating virtual machine
CN102447618A (en) * 2011-10-31 2012-05-09 杭州华三通信技术有限公司 Route switching method in LISP network and apparatus thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090031202A1 (en) * 2007-07-27 2009-01-29 Branda Steven J Methods, Systems, and Computer Program Products for Class Verification
CN102185774A (en) * 2011-05-10 2011-09-14 中兴通讯股份有限公司 Method, monitor and system for seamless migration of virtual machine
CN102333037A (en) * 2011-10-20 2012-01-25 中兴通讯股份有限公司 Method and device for migrating virtual machine
CN102447618A (en) * 2011-10-31 2012-05-09 杭州华三通信技术有限公司 Route switching method in LISP network and apparatus thereof

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016188438A1 (en) * 2015-05-27 2016-12-01 International Business Machines Corporation Updating networks with migration information for a virtual machine
US9916174B2 (en) 2015-05-27 2018-03-13 International Business Machines Corporation Updating networks having virtual machines with migration information
US10684882B2 (en) 2015-05-27 2020-06-16 International Business Machines Corporation Updating networks with migration information for a virtual machine
CN105591935B (en) * 2015-08-26 2019-04-09 新华三技术有限公司 The update method and device of EID-RLOC mapping relations after a kind of virtual machine (vm) migration
CN105591935A (en) * 2015-08-26 2016-05-18 杭州华三通信技术有限公司 Method and device for updating EID-RLOC mapping relation after virtual machine migration
CN106506369A (en) * 2015-12-31 2017-03-15 杭州华三通信技术有限公司 A kind of method and apparatus for obtaining address information
CN108322393B (en) * 2017-01-18 2021-03-16 阿里巴巴集团控股有限公司 Routing link management method and system, virtual routing gateway and host machine gateway
CN108322393A (en) * 2017-01-18 2018-07-24 阿里巴巴集团控股有限公司 Routing link management method and system, virtual flow-line gateway and host gateway
CN107547400A (en) * 2017-06-21 2018-01-05 新华三技术有限公司 A kind of virtual machine migration method and device
CN107547400B (en) * 2017-06-21 2020-05-12 新华三技术有限公司 Virtual machine migration method and device
CN108418740A (en) * 2018-02-28 2018-08-17 新华三技术有限公司 Message processing method and device
CN108418740B (en) * 2018-02-28 2020-09-08 新华三技术有限公司 Message processing method and device
CN108777663B (en) * 2018-05-31 2021-02-09 新华三技术有限公司 Method and device for synchronizing routing information
CN108777663A (en) * 2018-05-31 2018-11-09 新华三技术有限公司 A kind of synchronous method and device of routing iinformation
CN110287169B (en) * 2019-06-28 2022-02-01 四川长虹电器股份有限公司 Main data migration method between cloud applications
CN110287169A (en) * 2019-06-28 2019-09-27 四川长虹电器股份有限公司 A kind of master data moving method between cloud application
CN113301070A (en) * 2020-04-07 2021-08-24 阿里巴巴集团控股有限公司 Method and device for establishing data transmission channel
CN111988223A (en) * 2020-08-19 2020-11-24 杭州迪普科技股份有限公司 Virtual machine migration method and network system
CN111988223B (en) * 2020-08-19 2022-04-08 杭州迪普科技股份有限公司 Virtual machine migration method and network system
CN113326101A (en) * 2021-08-02 2021-08-31 阿里云计算有限公司 Thermal migration method, device and equipment based on remote direct data storage
CN113326101B (en) * 2021-08-02 2022-04-12 阿里云计算有限公司 Thermal migration method, device and equipment based on remote direct data storage
CN115065630A (en) * 2022-05-10 2022-09-16 深信服科技股份有限公司 Virtual router migration method and device, electronic equipment and storage medium
CN115065630B (en) * 2022-05-10 2024-04-09 深信服科技股份有限公司 Migration method and device of virtual router, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN104780109B (en) 2019-03-15

Similar Documents

Publication Publication Date Title
CN104780109A (en) Virtual machine migration method and device
US9634889B2 (en) Method for migrating service of data center, apparatus, and system
EP3044917B1 (en) Virtual network routing
KR101763087B1 (en) Message processing method and mme selection method and device
CN104995902A (en) Methods and systems for seamless network communication between IPV4 and IPV6 devices
CN104796338A (en) Migration method and device of virtual machines
CN104506408A (en) Data transmission method and device based on SDN
TW201212603A (en) Enabling IPV6 mobility with NAT64
CN104468368A (en) Method and device for allocating BGP neighbors
CN107547349A (en) A kind of method and device of virtual machine (vm) migration
CN106059923A (en) Message forwarding method and device
CN104021069A (en) Management method and system for software performance test based on distributed virtual machine system
CN106385354B (en) Message forwarding method and device
JP2018525948A (en) Method and apparatus for onboarding network service descriptors
JP2019523608A (en) Packet monitoring
CN105704045A (en) Method for virtual machine location information synchronization between data center gateways, gateway and system
CN105591907A (en) Route acquisition method and device
CN109547350B (en) Route learning method and gateway equipment
CN106101297B (en) A kind of message answer method and device
CN103957161A (en) Packet forwarding method and device
CN104580029A (en) Address distribution method and device
CN103973555A (en) GRE protocol tunnel building method, communication device and communication system
CN103916320A (en) Method and device for message processing after cross-network relocation of VM device
KR102219270B1 (en) Method for processing traffic based on sdn
CN104579973A (en) Message forwarding method and device of virtual cluster

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

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

Applicant after: Xinhua three Technology Co., Ltd.

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

Applicant before: Huasan Communication Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant