CN104468397A - Method and device for preventing package loss in thermal transferring and forwarding process of virtual machine - Google Patents

Method and device for preventing package loss in thermal transferring and forwarding process of virtual machine Download PDF

Info

Publication number
CN104468397A
CN104468397A CN201410623401.2A CN201410623401A CN104468397A CN 104468397 A CN104468397 A CN 104468397A CN 201410623401 A CN201410623401 A CN 201410623401A CN 104468397 A CN104468397 A CN 104468397A
Authority
CN
China
Prior art keywords
virtual machine
message
sdn controller
switch
management platform
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
CN201410623401.2A
Other languages
Chinese (zh)
Other versions
CN104468397B (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 CN201410623401.2A priority Critical patent/CN104468397B/en
Publication of CN104468397A publication Critical patent/CN104468397A/en
Application granted granted Critical
Publication of CN104468397B publication Critical patent/CN104468397B/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 method and device for preventing package loss in the thermal transferring and forwarding process of a virtual machine. The method and device are applied to a network composed of an SDN interchanger, an SDN controller and a thermal transferring management platform, wherein the thermal transferring management platform is used for controlling the thermal transferring of the virtual machine among different physical machines. In the thermal transferring process of the virtual machine, package loss is avoided in the thermal transferring process of the virtual machine through cooperation of the thermal transferring management platform, the SDN controller and the interchanger.

Description

A kind of live migration of virtual machine forwards the method and apparatus of not packet loss
Technical field
The present invention relates to network communication technology field, particularly a kind of method and apparatus at live migration of virtual machine process repeating not packet loss.
Background technology
Live migration of virtual machine (Live Migration, be again dynamic migration, real-time migration) technology-i.e. virtual machine preservation/recover (Save/Restore) technology: by preserving complete for the whole service state of virtual machine, return to rapidly on original hardware platform or other different hardware platforms simultaneously.After the running status of virtual machine is recovered, virtual machine can smoothness run, and user can not perceive any difference.
The thermophoresis technology of virtual machine has many advantages in application:
First, the retractility making physical machine (also known as physical server) process business strengthens.Such as, keeper can at night or weekend, allow the physical machine running some key business suitably reduce workload, so that renewal rewards theory system, to application program patch installing etc.And to daytime or working day, physical machine flexibly can carry out again the computing of heavy load amount.
Secondly, energy-conserving and environment-protective are all pursued by present data center, the application program that operating load is large will inevitably make physical machine energy consumption increase, there is virtual machine live migration technology, when a physical machine load is excessive, keeper can in time by the virtual machine (vm) migration above it in other physical machine, so, effectively can reduce the overall energy consumption of data center server.
But, for the thermophoresis technology of existing virtual machine, there is the problem of virtual machine (vm) migration process repeating packet loss, the occasion of some high reliability request cannot be met.
Summary of the invention
In view of this, the invention provides the method and apparatus that a kind of live migration of virtual machine forwards not packet loss, to meet the occasion of some high reliability request.
Particularly, the present invention is achieved through the following technical solutions:
Live migration of virtual machine forwards a method for not packet loss, is applied in thermophoresis management platform, comprises:
When virtual machine needs to carry out thermophoresis, send to SDN controller the notice message that this virtual machine is about to closedown, so that SDN controller starts the buffer setting to this virtual machine subsequent packet;
Whether monitoring SDN controller completes the buffer setting to this virtual machine, if be provided with, then stopped all process of this virtual machine, makes it to enter suspended state;
The free memory of this virtual machine synchronous, on target virtual machine, and after synchronously completing, completes the setting of target virtual machine and it is switched to normal operating conditions.
Further, described thermophoresis management platform completes the setting of target virtual machine and after it is switched to normal operating conditions, described method also comprises:
Send virtual machine to SDN controller and complete the notice message of migration, so that SDN controller terminates the buffer memory of described virtual machine association message and send to switch to upgrade stream table, to ensure that described live migration of virtual machine forwards not packet loss.
Further, before send the notice message of this virtual machine by closedown to SDN controller, described method also comprises:
Target physical machine starts or creates target virtual machine;
Instruction SDN controller establishes a communications link between described virtual machine and the virtual machine management platform at target virtual machine place;
Instruction virtual machine management platform transmits the internal memory of described virtual machine, configuration and facility information to target virtual machine.
Further, transmit in the process of the internal memory of described virtual machine to target virtual machine in virtual machine management platform, described thermophoresis management platform also needs the otherness inspection carrying out synchronizing information between described virtual machine and target virtual machine, when synchronizing information difference when between virtual machine and target virtual machine is less than default threshold values, starts and send to SDN controller the notice message that this virtual machine is about to closedown.
The present invention also provides another kind of live migration of virtual machine to forward the method for not packet loss, is applied on SDN controller, comprises:
The virtual machine receiving the transmission of thermophoresis management platform, by after the notice message of closing, starts the buffer setting to this virtual machine subsequent packet;
Receive after virtual machine that thermophoresis management platform sends completes the notice message of migration, terminate the buffer memory of described virtual machine association message and send to switch to upgrade stream table, to ensure that described live migration of virtual machine forwards not packet loss.
Wherein, described SDN controller receives the virtual machine of thermophoresis management platform transmission by after the notice message of cutting out, and starts the buffer setting to this virtual machine subsequent packet, is specially:
Described virtual machine is denoted as the state being about to enter migration;
Send renewal stream table by SDN management channels to switch at one's disposal, require that switch upgrades, so that switch forwards after receiving the message relevant to this virtual machine deliver to buffer memory on SDN controller the stream table that this locality is preserved separately.
Further, described method also comprises:
When SDN controller receives the message that switch sends, judge whether the source address of this message or virtual machine corresponding to destination address are in by transition state, if so, then carry out caching process to message, otherwise according to normal flow processing.
Further, after SDN controller completes the buffer setting to described virtual machine subsequent packet, described method also comprises:
SDN controller thermotropism migration management platform sends the notice message that caching process completes, so that described thermophoresis management platform indicates this virtual machine to stop all process, makes it to carry out suspended state.
Further, described SDN controller receives after virtual machine that thermophoresis management platform sends completes the notice message of migration, terminates the buffer memory of described virtual machine association message and sends to switch to upgrade stream table, be specially:
For the message being sent to described virtual machine, buffer memory message is directly dealt into the access switch of the corresponding physical machine of destination virtual by described Service Processing Unit; For the message that described virtual machine sends, it is directly sent to the edge SDN switch on the forwarding destination path of this SDN controller management by described Service Processing Unit; Then by described switch, buffer memory message is sent on corresponding switch;
SDN controller is shown to the stream issuing the renewal of each virtual machine by its switch managed, be that the stream table outbound port of each virtual machine reverts to original outbound port by SIP, DIP is that the outbound port of target virtual machine stream table is arranged to port corresponding to target virtual machine on switch.
The present invention provides a kind of live migration of virtual machine to forward the device of not packet loss simultaneously, operates in thermophoresis management platform, comprising:
Notification unit, during for needing when virtual machine to carry out thermophoresis, sends to SDN controller the notice message that this virtual machine is about to closedown, so that SDN controller starts the buffer setting to this virtual machine subsequent packet;
Whether monitoring unit, completing buffer setting to this virtual machine for monitoring SDN controller, if be provided with, then stopped all process of this virtual machine, making it to enter suspended state;
Lock unit, for the free memory of this virtual machine synchronous to target virtual machine, and after synchronously completing, completes the setting of target virtual machine and it is switched to normal operating conditions.
Wherein, described notification unit also for,
To complete the setting of target virtual machine and after it is switched to normal operating conditions at lock unit, the notice message that virtual machine completes migration is sent to SDN controller, so that SDN controller terminates the buffer memory of described virtual machine association message and sends to switch to upgrade stream table, to ensure that described live migration of virtual machine forwards not packet loss.
To send before this virtual machine is about to the notice message of closing to SDN controller at notification unit, described lock unit also for:
Target physical machine starts or creates target virtual machine;
Instruction SDN controller establishes a communications link between described virtual machine and the virtual machine management platform at target virtual machine place;
Instruction virtual machine management platform transmits the internal memory of described virtual machine, configuration and facility information, so that the synchronizing information between described virtual machine and target virtual machine to target virtual machine.
Further, described device also includes otherness inspection unit, for:
Transmit in the process of the internal memory of described virtual machine to target virtual machine in virtual machine management platform, carry out the otherness inspection of synchronizing information between described virtual machine and target virtual machine, when synchronizing information difference when between virtual machine and target virtual machine is less than default threshold values, initiate notification unit sends to SDN controller the notice message that this virtual machine is about to closedown.
The present invention provides a kind of live migration of virtual machine to forward the device of not packet loss simultaneously, is applied on SDN controller, comprises:
Packet sending and receiving unit, the virtual machine of notice message or the transmission of thermophoresis management platform that the virtual machine sent for receiving thermophoresis management platform is about to closedown completes the notice message of migration;
Service Processing Unit, for:
Packet sending and receiving unit receive thermophoresis management platform send virtual machine be about to close notice message after, start the buffer setting to this virtual machine subsequent packet;
Receive after virtual machine that thermophoresis management platform sends completes the notice message of migration at packet sending and receiving unit, terminate the buffer memory of described virtual machine association message and send to switch to upgrade stream table, to ensure that described live migration of virtual machine forwards not packet loss.
Wherein, described Service Processing Unit starts the buffer setting to this virtual machine subsequent packet, is specially:
Described virtual machine is denoted as the state being about to enter migration;
Send renewal stream table by SDN management channels to switch at one's disposal, require that switch upgrades, so that switch forwards after receiving the message relevant to this virtual machine deliver to buffer memory on SDN controller the stream table that this locality is preserved separately.
Further, described Service Processing Unit also for:
When receiving the message that switch sends, judge whether the source address of this message or virtual machine corresponding to destination address are in by transition state, if so, then carry out caching process to message, otherwise according to normal flow processing.
Further, after described Service Processing Unit completes the buffer setting to described virtual machine subsequent packet, described notification unit also for:
Thermotropism migration management platform sends the notice message that caching process completes, so that described thermophoresis management platform indicates this virtual machine to stop all process, makes it to carry out suspended state.
Further, receive after virtual machine that thermophoresis management platform sends completes the notice message of migration at packet sending and receiving unit, described Service Processing Unit terminates the buffer memory of described virtual machine association message and sends to switch to upgrade stream table, is specially:
For the message being sent to described virtual machine, buffer memory message is directly dealt into the access switch of the corresponding physical machine of destination virtual by described Service Processing Unit; For the message that described virtual machine sends, it is directly sent to the edge SDN switch on the forwarding destination path of this SDN controller management by described Service Processing Unit, is then sent on corresponding switch by described switch by buffer memory message;
Showing to the stream issuing the renewal of each virtual machine by its switch managed, is that the stream table outbound port of each virtual machine reverts to original outbound port by SIP, and DIP is that the outbound port of target virtual machine stream table is arranged to port corresponding to target virtual machine on switch.
By the present invention, live migration of virtual machine process not packet loss can be realized, and then meet the occasion of some high reliability application.
Accompanying drawing explanation
Fig. 1 is the networking schematic diagram that virtual machine (vm) migration of the present invention forwards not packet loss;
Fig. 2 is the handling process schematic diagram of method in thermophoresis management platform that virtual machine (vm) migration of the present invention forwards not packet loss;
Fig. 3 is the handling process schematic diagram of method at SDN controller that virtual machine (vm) migration of the present invention forwards not packet loss;
Fig. 4 the invention provides to run the hardware structure schematic diagram that virtual machine (vm) migration forwards the device of not packet loss
Fig. 5 is the present invention forwards the device of not packet loss high-level schematic functional block diagram at the virtual machine (vm) migration of thermophoresis management platform;
Fig. 6 is the present invention forwards the device of not packet loss high-level schematic functional block diagram at the virtual machine (vm) migration of thermophoresis management platform.
Embodiment
SDN, as the network structure of a new generation, has greatly overturned the organizational form of original legacy network, and for network manager supervising the network provides great convenience and flexibility, manager can need to come define grid according to oneself.In SDN, the control plane of legacy network devices is separated with datum plane, thus realizes the flexible control of network traffics.Correspondingly, SDN framework comprises SDN controller and SDN switch, wherein: communicated by SDN management channels between SDN controller and SDN switch, SDN controller is issued to SDN switch according to the protocol generation stream table of the configuration of user or dynamic operation, and the stream table that SDN switch issues according to SDN controller carries out Message processing.
In order to realize live migration of virtual machine process repeating of the present invention not packet loss, as shown in Figure 1, in the present invention program, include SDN switch, SDN controller and thermophoresis management platform.Wherein, SDN switch, for the message repeating between responsible virtual machine VM and between virtual machine VM and external network.SDN controller, based on the forwarding of SDN agreement (such as OpenFlow agreement) control data message in SDN switch.Thermophoresis management platform, for controlling the thermophoresis of virtual machine VM between two physical machine.In live migration of virtual machine process, coordinated by the three of thermophoresis management platform, SDN controller and SDN switch, realize virtual machine (vm) migration process not packet loss.
As shown in Figure 2, for live migration of virtual machine of the present invention forwards the handling process schematic diagram of method in thermophoresis management platform of not packet loss, comprising:
S21, when virtual machine needs to carry out thermophoresis, send the notice message that this virtual machine is about to close, so that SDN controller starts buffer setting to this virtual machine subsequent packet to SDN controller.
When virtual machine needs to carry out thermophoresis,
First, thermophoresis management platform creates or starts target virtual machine on the target physical machine shown in Fig. 1, and instruction SDN controller establishes a communications link between described virtual machine and the virtual machine management platform at target virtual machine place.Then, virtual machine management platform is indicated to transmit the internal memory of described virtual machine, configuration and facility information to target virtual machine.Wherein, the memory size that described internal memory refers to virtual machine and the memory information wherein preserved, that is, in the present invention, need the internal memory of described virtual machine to be intactly mirrored on target virtual machine.In addition, the configuration of the virtual machine herein transmitted and facility information, be not the XML configuration file in described virtual machine file catalogue yet, and be only the information in registration table, object is the resource of informing needed for target virtual machine, and allow host's physical machine of target virtual machine for its distribute needed for respective resources.
Transmit in the process of the internal memory of described virtual machine to target virtual machine in virtual machine management platform, described thermophoresis management platform also needs the otherness inspection carrying out synchronizing information between described virtual machine and target virtual machine, when only having the synchronizing information difference between virtual machine and target virtual machine to be less than default threshold values, just start and send to SDN controller the notice message that this virtual machine is about to closedown.
Whether S22, monitoring SDN controller complete the buffer setting to this virtual machine, if be provided with, then stopped all process of this virtual machine, make it to enter suspended state.
After thermophoresis management platform sends the notice message of virtual machine by closedown to SDN controller, in order to ensure that live migration of virtual machine forwards not packet loss, in the present invention, need to start SDN controller to the buffer setting of this virtual machine subsequent packet.Particularly, SDN controller receives virtual machine by after the notice message of cutting out, and this virtual machine can be denoted as the state being about to enter migration; Then, SDN controller sends renewal stream table by SDN management channels to switch at one's disposal, requires that switch upgrades, so that switch is receiving buffer memory on the message repeating relevant to this virtual machine to SDN controller the stream table that this locality is preserved separately.
During this period, described thermophoresis management platform needs to monitor SDN controller and whether completes buffer setting to this virtual machine subsequent packet, if be provided with, then stopped all process of this virtual machine, makes it to enter suspended state; If SDN controller does not complete the buffer setting of described virtual machine subsequent packet, then thermophoresis management platform continues to wait for this SDN controller to the buffer setting of this virtual machine subsequent packet until complete.
S23, continue the free memory of this virtual machine synchronous on target virtual machine, after the free memory synchronously completing this virtual machine, complete the setting of target virtual machine and it is switched to normal operating conditions.
Described thermophoresis management platform is after all process stopping described virtual machine, consider that described virtual machine may have free memory information (information such as such as register, internal memory and storage) synchronously not complete, in this step, described thermophoresis management platform needs to continue these information synchronous.And, in the process, whether thermophoresis management platform also needs to monitor these information and synchronously completes, and after synchronously completing, complete the setting of target virtual machine and it is switched to normal operating conditions, then, send the notice message terminating the packet buffer process that the source virtual machine before to migration is correlated with to SDN controller, this flow process terminates.
Accordingly, as shown in Figure 3, the present invention also provides a kind of live migration of virtual machine to forward the method for not packet loss, and the method is applied on SDN controller, comprising:
S31, receive thermophoresis management platform send virtual machine be about to close notice message after, start the buffer setting to this virtual machine subsequent packet.
In this step, described SDN controller starts the buffer setting to this virtual machine subsequent packet, be specially: when SDN controller receive thermophoresis management platform send virtual machine be about to close notice message after, this virtual machine can be denoted as the state being about to enter migration, and sent the message upgrading stream table to switch at one's disposal by SDN management channels, require its local stream table preserved of switch each self refresh, so that switch mails to the described message repeating being about to the virtual machine of migration to SDN controller cache receiving other main frames.
Subsequently, when what SDN controller desampler sent E-Packets, judge whether the source address of this message or virtual machine corresponding to destination address are in by transition state, if so, then carry out caching process to message, otherwise according to normal flow processing.
Further, when after the buffer memory that SDN controller completes the message mailing to the virtual machine being about to migration, the notice message also needing thermotropism migration management platform transmission caching process to complete, so that described thermophoresis management platform indicates this virtual machine to stop all process, makes it to carry out suspended state.
S32, receive after virtual machine that thermophoresis management platform sends completes the notice message of migration, terminate the buffer memory of described virtual machine association message and send to switch to upgrade stream table, to ensure that described live migration of virtual machine forwards not packet loss.
Complete the setting of target virtual machine when described thermophoresis management platform and after target virtual machine is switched to normal operating conditions, can send to described SDN controller the notice message that virtual machine complete migration.After described SDN controller receives this notice message, need first to complete after the process as the message of this virtual machine buffer memory, then upgrade the corresponding stream table of switch, to ensure that the order of message forwards.
Wherein, described SDN controller completes from the Message processing as described virtual machine buffer memory, is specially:
For the message being sent to described virtual machine, buffer memory message is directly dealt into the access switch of the corresponding physical machine of destination virtual by SDN controller.
For the message that described virtual machine sends, be directly sent to the edge SDN switch on the forwarding destination path of this SDN controller management.
At described SDN controller after the message of the described virtual machine by its buffer memory is all sent to target virtual machine, show to the stream issuing the renewal of each virtual machine by its switch managed further, be that the stream table outbound port of each virtual machine reverts to original outbound port by SIP, DIP is that the outbound port of the stream table of virtual machine after migration is arranged to port corresponding to target virtual machine on switch.
Corresponding to said method, the present invention provides a kind of virtual machine (vm) migration to forward the device of not packet loss simultaneously, described plant running is in thermophoresis management platform, as shown in Figure 4, this device place hardware structure includes CPU 41, memory 42, interface 43 and the internal bus 44 for carrying out inner connection.Described device is stored on memory 42 usually in the form of software, functionally divides, and as shown in Figure 5, this device comprises:
Notification unit 51, during for needing when virtual machine to carry out thermophoresis, sends to SDN controller the notice message that this virtual machine is about to closedown, so that SDN controller starts the buffer setting to this virtual machine subsequent packet;
Whether monitoring unit 52, completing buffer setting to this virtual machine for monitoring SDN controller, if be provided with, then stopped all process of this virtual machine, making it to enter suspended state;
Lock unit 53, for continuing the free memory of this virtual machine synchronous to target virtual machine, and after the free memory synchronously completing this virtual machine, completing the setting of target virtual machine and it is switched to normal operating conditions.
Wherein, described notification unit 51 also for,
To complete the setting of target virtual machine and after it is switched to normal operating conditions at lock unit 52, the notice message that virtual machine completes migration is sent to SDN controller, so that SDN controller terminates the buffer memory of described virtual machine association message and sends to switch to upgrade stream table, to ensure that described live migration of virtual machine forwards not packet loss.
Further, to send before this virtual machine is about to the notice message of closing to SDN controller at notification unit 51, described lock unit 53, also for:
Target physical machine starts or creates target virtual machine;
Instruction SDN controller establishes a communications link between described virtual machine and the virtual machine management platform at target virtual machine place;
Instruction virtual machine management platform transmits the internal memory of described virtual machine, configuration and facility information, so that the synchronizing information between described virtual machine and target virtual machine to target virtual machine.
Further, described device also includes otherness inspection unit 55, for:
Transmit in the process of the internal memory of described virtual machine to target virtual machine in virtual machine management platform, carry out the otherness inspection of synchronizing information between described virtual machine and target virtual machine, when only having the synchronizing information difference between virtual machine and target virtual machine to be less than default threshold values, just initiate notification unit sends to SDN controller the notice message that this virtual machine is about to closedown.
Corresponding to the above-mentioned method be applied in SDN control, the present invention provides a kind of live migration of virtual machine to forward the device of not packet loss simultaneously, operates on SDN controller.This dress place hardware device platform is similar to framework shown in Fig. 4, and as shown in Figure 6, this device functionally divides, and comprising:
Packet sending and receiving unit 61, the virtual machine of notice message or the transmission of thermophoresis management platform that the virtual machine sent for receiving thermophoresis management platform is about to closedown completes the notice message of migration;
Service Processing Unit 62, for:
Packet sending and receiving unit 61 receive thermophoresis management platform send virtual machine be about to close notice message after, start the buffer setting to this virtual machine subsequent packet;
Receive after virtual machine that thermophoresis management platform sends completes the notice message of migration at packet sending and receiving unit 62, terminate the buffer memory of described virtual machine association message and send to switch to upgrade stream table, to ensure that described live migration of virtual machine forwards not packet loss.
Wherein, described Service Processing Unit 62 starts the buffer setting to this virtual machine subsequent packet, is specially:
Described virtual machine is denoted as the state being about to enter migration;
Send renewal stream table by SDN management channels to switch at one's disposal, require that switch upgrades, so that switch forwards after receiving the message relevant to this virtual machine deliver to buffer memory on SDN controller the stream table that this locality is preserved separately.
Further, described Service Processing Unit 62 also for:
When receiving the message that switch sends, judge whether the source address of this message or virtual machine corresponding to destination address are in by transition state, if so, then carry out caching process to message, otherwise according to normal flow processing.
After the buffer setting that described Service Processing Unit completes described virtual machine subsequent packet, described notification unit 61 also for:
Thermotropism migration management platform sends the notice message that caching process completes, so that described thermophoresis management platform stops all process of this virtual machine, makes it to carry out suspended state.
Receive after virtual machine that thermophoresis management platform sends completes the notice message of migration at packet sending and receiving unit 61, described Service Processing Unit 62 terminates the buffer memory of described virtual machine association message and sends to switch to upgrade stream table, is specially:
For the message being sent to described virtual machine, buffer memory message is directly dealt into the access switch of the corresponding physical machine of destination virtual by SDN controller.
For the message that described virtual machine sends, be directly sent to the edge SDN switch on the forwarding destination path of this SDN controller management.
Showing to the stream issuing the renewal of each virtual machine by its switch managed, is that the stream table outbound port of each virtual machine reverts to original outbound port by SIP, and DIP is that the outbound port of target virtual machine stream table is arranged to port corresponding to target virtual machine on switch
Compared with prior art, by the present invention, virtual machine not packet loss in thermomigration process can be ensured, the occasion of some high reliability can be met.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (18)

1. live migration of virtual machine forwards a method for not packet loss, is applied in thermophoresis management platform, comprises:
When virtual machine needs to carry out thermophoresis, send to SDN controller the notice message that this virtual machine is about to closedown, so that SDN controller starts the buffer setting to this virtual machine subsequent packet;
Whether monitoring SDN controller completes the buffer setting to this virtual machine, if be provided with, then stopped all process of this virtual machine, makes it to enter suspended state;
The free memory of this virtual machine synchronous, on target virtual machine, and after synchronously completing, completes the setting of target virtual machine and it is switched to normal operating conditions.
2. method according to claim 1, is characterized in that, described thermophoresis management platform completes the setting of target virtual machine and after it is switched to normal operating conditions, described method also comprises:
Send virtual machine to SDN controller and complete the notice message of migration, so that SDN controller terminates the buffer memory of described virtual machine association message and send to switch to upgrade stream table, to ensure that described live migration of virtual machine forwards not packet loss.
3. method according to claim 2, is characterized in that, before send the notice message of this virtual machine by closedown to SDN controller, described method also comprises:
Target physical machine starts or creates target virtual machine;
Instruction SDN controller establishes a communications link between described virtual machine and the virtual machine management platform at target virtual machine place;
Instruction virtual machine management platform transmits the internal memory of described virtual machine, configuration and facility information to target virtual machine.
4. method according to claim 3, it is characterized in that, transmit in the process of the internal memory of described virtual machine to target virtual machine in virtual machine management platform, described thermophoresis management platform also needs the otherness inspection carrying out synchronizing information between described virtual machine and target virtual machine, when synchronizing information difference when between virtual machine and target virtual machine is less than default threshold values, starts and send to SDN controller the notice message that this virtual machine is about to closedown.
5. live migration of virtual machine forwards a method for not packet loss, is applied on SDN controller, comprises:
The virtual machine receiving the transmission of thermophoresis management platform, by after the notice message of closing, starts the buffer setting to this virtual machine subsequent packet;
Receive after virtual machine that thermophoresis management platform sends completes the notice message of migration, terminate the buffer memory of described virtual machine association message and send to switch to upgrade stream table, to ensure that described live migration of virtual machine forwards not packet loss.
6. method as claimed in claim 5, is characterized in that, described SDN controller receives the virtual machine of thermophoresis management platform transmission by after the notice message of cutting out, and starts the buffer setting to this virtual machine subsequent packet, is specially:
Described virtual machine is denoted as the state being about to enter migration;
Send renewal stream table by SDN management channels to switch at one's disposal, require that switch upgrades, so that switch forwards after receiving the message relevant to this virtual machine deliver to buffer memory on SDN controller the stream table that this locality is preserved separately.
7. method as claimed in claim 6, it is characterized in that, described method also comprises:
When SDN controller receives the message that switch sends, judge whether the source address of this message or virtual machine corresponding to destination address are in by transition state, if so, then carry out caching process to message, otherwise according to normal flow processing.
8. method as claimed in claim 5, it is characterized in that, after SDN controller completes the buffer setting to described virtual machine subsequent packet, described method also comprises:
SDN controller thermotropism migration management platform sends the notice message that caching process completes, so that described thermophoresis management platform indicates this virtual machine to stop all process, makes it to carry out suspended state.
9. method as claimed in claim 5, it is characterized in that, described SDN controller receives after virtual machine that thermophoresis management platform sends completes the notice message of migration, terminates the buffer memory of described virtual machine association message and sends to switch to upgrade stream table, be specially:
For the message being sent to described virtual machine, buffer memory message is directly dealt into the access switch of the corresponding physical machine of destination virtual by described Service Processing Unit; For the message that described virtual machine sends, it is directly sent to the edge SDN switch on the forwarding destination path of this SDN controller management by described Service Processing Unit, is then sent on corresponding switch by described switch by buffer memory message;
SDN controller is shown to the stream issuing the renewal of each virtual machine by its switch managed, be that the stream table outbound port of each virtual machine reverts to original outbound port by SIP, DIP is that the outbound port of target virtual machine stream table is arranged to port corresponding to target virtual machine on switch.
10. live migration of virtual machine forwards a device for not packet loss, operates in thermophoresis management platform, comprising:
Notification unit, during for needing when virtual machine to carry out thermophoresis, sends to SDN controller the notice message that this virtual machine is about to closedown, so that SDN controller starts the buffer setting to this virtual machine subsequent packet;
Whether monitoring unit, completing buffer setting to this virtual machine for monitoring SDN controller, if be provided with, then stopped all process of this virtual machine, making it to enter suspended state;
Lock unit, for the free memory of this virtual machine synchronous to target virtual machine, and after synchronously completing, completes the setting of target virtual machine and it is switched to normal operating conditions.
11. devices according to claim 10, is characterized in that, described notification unit also for,
To complete the setting of target virtual machine and after it is switched to normal operating conditions at lock unit, the notice message that virtual machine completes migration is sent to SDN controller, so that SDN controller terminates the buffer memory of described virtual machine association message and sends to switch to upgrade stream table, to ensure that described live migration of virtual machine forwards not packet loss.
12. devices according to claim 10, is characterized in that, to send before this virtual machine is about to the notice message of closing at notification unit to SDN controller, described lock unit also for:
Target physical machine starts or creates target virtual machine;
Instruction SDN controller establishes a communications link between described virtual machine and the virtual machine management platform at target virtual machine place;
Instruction virtual machine management platform transmits the internal memory of described virtual machine, configuration and facility information, so that the synchronizing information between described virtual machine and target virtual machine to target virtual machine.
13. devices according to claim 12, is characterized in that, described device also includes otherness inspection unit, for:
Transmit in the process of the internal memory of described virtual machine to target virtual machine in virtual machine management platform, carry out the otherness inspection of synchronizing information between described virtual machine and target virtual machine, when synchronizing information difference when between virtual machine and target virtual machine is less than default threshold values, initiate notification unit sends to SDN controller the notice message that this virtual machine is about to closedown.
14. 1 kinds of live migration of virtual machines forward the device of not packet loss, are applied on SDN controller, comprise:
Packet sending and receiving unit, the virtual machine of notice message or the transmission of thermophoresis management platform that the virtual machine sent for receiving thermophoresis management platform is about to closedown completes the notice message of migration;
Service Processing Unit, after the virtual machine sent is about to the notice message of closing, starts the buffer setting to this virtual machine subsequent packet for receiving thermophoresis management platform at packet sending and receiving unit;
Receive after virtual machine that thermophoresis management platform sends completes the notice message of migration at packet sending and receiving unit, terminate the buffer memory of described virtual machine association message and send to switch to upgrade stream table, to ensure that described live migration of virtual machine forwards not packet loss.
15. devices as claimed in claim 14, is characterized in that, described Service Processing Unit starts the buffer setting to this virtual machine subsequent packet, is specially:
Described virtual machine is denoted as the state being about to enter migration;
Send renewal stream table by SDN management channels to switch at one's disposal, require that switch upgrades, so that switch forwards after receiving the message relevant to this virtual machine deliver to buffer memory on SDN controller the stream table that this locality is preserved separately.
16. devices as claimed in claim 15, is characterized in that, described Service Processing Unit also for:
When receiving the message that switch sends, judge whether the source address of this message or virtual machine corresponding to destination address are in by transition state, if so, then carry out caching process to message, otherwise according to normal flow processing.
17. devices as claimed in claim 14, is characterized in that, after described Service Processing Unit completes the buffer setting to described virtual machine subsequent packet, described notification unit also for:
Thermotropism migration management platform sends the notice message that caching process completes, so that described thermophoresis management platform indicates this virtual machine to stop all process, makes it to carry out suspended state.
18. devices as claimed in claim 14, it is characterized in that, packet sending and receiving unit receive thermophoresis management platform send virtual machine complete the notice message of migration after, described Service Processing Unit terminates the buffer memory of described virtual machine association message and sends to switch to upgrade stream table, is specially:
For the message being sent to described virtual machine, buffer memory message is directly dealt into the access switch of the corresponding physical machine of destination virtual by described Service Processing Unit; For the message that described virtual machine sends, it is directly sent to the edge SDN switch on the forwarding destination path of this SDN controller management by described Service Processing Unit, is then sent on corresponding switch by described switch by buffer memory message;
Showing to the stream issuing the renewal of each virtual machine by its switch managed, is that the stream table outbound port of each virtual machine reverts to original outbound port by SIP, and DIP is that the outbound port of target virtual machine stream table is arranged to port corresponding to target virtual machine on switch.
CN201410623401.2A 2014-11-06 2014-11-06 The method and apparatus that a kind of live migration of virtual machine forwards not packet loss Active CN104468397B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410623401.2A CN104468397B (en) 2014-11-06 2014-11-06 The method and apparatus that a kind of live migration of virtual machine forwards not packet loss

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410623401.2A CN104468397B (en) 2014-11-06 2014-11-06 The method and apparatus that a kind of live migration of virtual machine forwards not packet loss

Publications (2)

Publication Number Publication Date
CN104468397A true CN104468397A (en) 2015-03-25
CN104468397B CN104468397B (en) 2018-06-12

Family

ID=52913793

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410623401.2A Active CN104468397B (en) 2014-11-06 2014-11-06 The method and apparatus that a kind of live migration of virtual machine forwards not packet loss

Country Status (1)

Country Link
CN (1) CN104468397B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017031920A1 (en) * 2015-08-26 2017-03-02 浪潮集团有限公司 Hybrid sdn switch utilizing dynamic migration technology
CN106911534A (en) * 2017-02-28 2017-06-30 郑州云海信息技术有限公司 A kind of live migration of virtual machine method and its system
CN107124300A (en) * 2017-04-01 2017-09-01 西安交通大学 A kind of interchanger moving method in software defined network
CN107656795A (en) * 2017-08-21 2018-02-02 云宏信息科技股份有限公司 A kind of virtual machine of VMware platforms is transformed into the implementation method and device of WinServer platforms
CN107819708A (en) * 2016-09-12 2018-03-20 阿里巴巴集团控股有限公司 Data processing method, system and equipment based on virtual machine (vm) migration
WO2018049567A1 (en) * 2016-09-13 2018-03-22 华为技术有限公司 Application migration method, device, and system
CN108011827A (en) * 2016-10-28 2018-05-08 中国电信股份有限公司 A kind of data forwarding method based on SDN, system and controller
CN109032763A (en) * 2018-08-14 2018-12-18 新华三云计算技术有限公司 A kind of virtual machine migration method and virtual machine manager
CN109426547A (en) * 2017-09-04 2019-03-05 华为技术有限公司 A kind of thermomigration process of virtual machine, device and system
CN112187523A (en) * 2020-09-10 2021-01-05 华云数据控股集团有限公司 Network high-availability implementation method and super-convergence system
CN113672354A (en) * 2021-08-25 2021-11-19 广东浪潮智慧计算技术有限公司 Virtual machine migration method and related device
CN114679461A (en) * 2022-03-30 2022-06-28 浙江大学 Cloud network session connectivity guarantee method and system for virtual machine live migration scene

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110296440A1 (en) * 2010-05-28 2011-12-01 Security First Corp. Accelerator system for use with secure data storage
CN103685250A (en) * 2013-12-04 2014-03-26 蓝盾信息安全技术股份有限公司 Virtual machine security policy migration system and method based on SDN
CN104065553A (en) * 2014-06-30 2014-09-24 华为技术有限公司 Virtual network migration method and related equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110296440A1 (en) * 2010-05-28 2011-12-01 Security First Corp. Accelerator system for use with secure data storage
CN103685250A (en) * 2013-12-04 2014-03-26 蓝盾信息安全技术股份有限公司 Virtual machine security policy migration system and method based on SDN
CN104065553A (en) * 2014-06-30 2014-09-24 华为技术有限公司 Virtual network migration method and related equipment

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017031920A1 (en) * 2015-08-26 2017-03-02 浪潮集团有限公司 Hybrid sdn switch utilizing dynamic migration technology
CN107819708A (en) * 2016-09-12 2018-03-20 阿里巴巴集团控股有限公司 Data processing method, system and equipment based on virtual machine (vm) migration
CN107819708B (en) * 2016-09-12 2021-06-22 阿里巴巴集团控股有限公司 Data processing method, system and equipment based on virtual machine migration
WO2018049567A1 (en) * 2016-09-13 2018-03-22 华为技术有限公司 Application migration method, device, and system
CN108011827A (en) * 2016-10-28 2018-05-08 中国电信股份有限公司 A kind of data forwarding method based on SDN, system and controller
CN106911534A (en) * 2017-02-28 2017-06-30 郑州云海信息技术有限公司 A kind of live migration of virtual machine method and its system
CN107124300B (en) * 2017-04-01 2020-03-17 西安交通大学 Switch migration method in software defined network
CN107124300A (en) * 2017-04-01 2017-09-01 西安交通大学 A kind of interchanger moving method in software defined network
CN107656795A (en) * 2017-08-21 2018-02-02 云宏信息科技股份有限公司 A kind of virtual machine of VMware platforms is transformed into the implementation method and device of WinServer platforms
CN109426547A (en) * 2017-09-04 2019-03-05 华为技术有限公司 A kind of thermomigration process of virtual machine, device and system
US11604670B2 (en) 2017-09-04 2023-03-14 Huawei Technologies Co., Ltd. Virtual machine live migration method, apparatus, and system
CN109032763A (en) * 2018-08-14 2018-12-18 新华三云计算技术有限公司 A kind of virtual machine migration method and virtual machine manager
CN109032763B (en) * 2018-08-14 2021-07-06 新华三云计算技术有限公司 Virtual machine migration method and virtual machine manager
CN112187523A (en) * 2020-09-10 2021-01-05 华云数据控股集团有限公司 Network high-availability implementation method and super-convergence system
CN113672354A (en) * 2021-08-25 2021-11-19 广东浪潮智慧计算技术有限公司 Virtual machine migration method and related device
CN113672354B (en) * 2021-08-25 2024-01-23 广东浪潮智慧计算技术有限公司 Virtual machine migration method and related device
CN114679461A (en) * 2022-03-30 2022-06-28 浙江大学 Cloud network session connectivity guarantee method and system for virtual machine live migration scene

Also Published As

Publication number Publication date
CN104468397B (en) 2018-06-12

Similar Documents

Publication Publication Date Title
CN104468397A (en) Method and device for preventing package loss in thermal transferring and forwarding process of virtual machine
US10757072B2 (en) Packet transmission method, apparatus, and system
CN105681075B (en) Network Management System based on mixing cloud platform
US10455412B2 (en) Method, apparatus, and system for migrating virtual network function instance
CN104283785B (en) A kind of method and apparatus of quick processing flow table
US9354905B2 (en) Migration of port profile associated with a target virtual machine to be migrated in blade servers
CN105933253B (en) Switch configuration recovery method under SDN network
CN105141571A (en) Distributed virtual firewall device and method
CN103905523A (en) Cloud computing network virtualization method and system based on SDN
CN105791175A (en) Method and equipment for controlling transmission resources in software defined network SDN
CN106453541A (en) Data synchronization method, server and data synchronization system
CN103763310A (en) Firewall service system and method based on virtual network
CN103532753A (en) Double-computer hot standby method based on memory page replacement synchronization
CN105516292A (en) Hot standby method of cloud platform of intelligent substation
CN104580120A (en) On-demand-service virtualization network intrusion detection method and device
CN105592127A (en) Application management system for cloud computing environment
WO2021129862A1 (en) Method and apparatus for managing container cluster node resource pool
CN104506654A (en) Cloud computing system and backup method of dynamic host configuration protocol server
CN107018193A (en) A kind of VTPM migratory systems and method based on shared storage
CN103441987A (en) Method and device for managing dual-computer firewall system
CN106899478A (en) The method that power test business realizes resource resilient expansion by cloud platform
CN104468633A (en) SDN southing security proxy product
CN105591801A (en) Virtual network function VNF fault processing method and VNF management equipment
CN109347985A (en) A kind of multi-service processing method based on edge calculations, device and Edge Server
CN105515844A (en) System for improving software defined network reliability

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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