CN105022658A - Virtual machine migration method and system, and related device - Google Patents

Virtual machine migration method and system, and related device Download PDF

Info

Publication number
CN105022658A
CN105022658A CN201410182049.3A CN201410182049A CN105022658A CN 105022658 A CN105022658 A CN 105022658A CN 201410182049 A CN201410182049 A CN 201410182049A CN 105022658 A CN105022658 A CN 105022658A
Authority
CN
China
Prior art keywords
virtual machine
protocol software
software entity
migration
machine manager
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
CN201410182049.3A
Other languages
Chinese (zh)
Other versions
CN105022658B (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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201410182049.3A priority Critical patent/CN105022658B/en
Publication of CN105022658A publication Critical patent/CN105022658A/en
Application granted granted Critical
Publication of CN105022658B publication Critical patent/CN105022658B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a virtual machine migration method and system, and a related device. The virtual machine migration method comprises the following steps: a first virtual machine management center and a second virtual machine management center carry out migration consultation and establish a migration link between a first protocol software entity of the first virtual machine management center and a second protocol software entity of the second virtual machine management center; the first virtual machine management center sends a virtual machine migration instruction to the first protocol software entity to cause the first protocol software entity to migrate the data to the second protocol software entity through the migration link; the first virtual machine management center receives a data migration finishing notice from the first protocol software entity, the first virtual machine management center sends a data migration finishing notice message to the second virtual machine management center to cause a second virtual machine to completely take over a first virtual machine.

Description

A kind of virtual machine migration method, system and relevant apparatus
Technical field
The present invention relates to cloud computing Intel Virtualization Technology, particularly relate to a kind of virtual machine migration method, system and relevant apparatus.
Background technology
Along with the development of the communication technology, cloud computing wireless access network (C-RAN, Cloud Radio AccessNetwork, C-RAN) support platform that Collaborative platform becomes future communication systems and needs has caused the extensive concern of industry, and cloud computing is virtual provides platform in order to introduce.Adopt the C-RAN system architecture of x86 server virtualization as shown in Figure 1.
Cloud computing is virtual is at present just in the IT technology of the forefront of develop rapidly.By introducing server virtualization, baseband processing resource in base station resource pond operates on virtual server (virtual machine), can realize Server Consolidation, the elasticity of carrying out resource that can be convenient with finer and smoother granularity is distributed and United Dispatching.(Live Migration) technology is moved online by virtual machine; the carrier wave bearing Base-Band Processing can be moved to another station server from a station server (physical machine); after the carrier wave on server all moves to other servers; just can overhaul it or the attended operation such as upgrading, or be closed electricity to reach the effect of energy-saving and emission-reduction.
L2 (Layer2 in LTE protocol, layer 2) management of primary responsibility data block and scheduling, when user's switching or virtual machine (vm) migration, need a large amount of data from source carrier wave emigration to object carrier wave, and for ensureing QoS of survice (Quality of Server, service quality), time delay generally can not more than 100ms.
The migration of virtual machine requires the startup of source virtual machine and the mutual exclusion of object virtual machine, namely two virtual machines can not run simultaneously, otherwise, virtual machine configuration parameter can be caused to occur conflict, such as IP address conflict etc., this causes the migration of L2 on virtual machine cannot parallel processing, and then causes customer service to interrupt, and the QoS affecting user experiences.
Summary of the invention
In view of this, for solving the technical matters of existing existence, the embodiment of the present invention provides:
A kind of virtual machine migration method, comprising:
First Virtual Machine Manager center and the second Virtual Machine Manager center are carried out migration and are consulted, and set up the migration link between first protocol software entity at the first Virtual Machine Manager center and the second protocol software entity at the second Virtual Machine Manager center;
First Virtual Machine Manager center sends virtual machine (vm) migration instruction to the first protocol software entity, with make the first protocol software entity by described migration link by Data Migration to second protocol software entity;
First Virtual Machine Manager receive centre, to from after the complete notice of Data Migration of the first protocol software entity, sends the complete notification message of Data Migration, to make the second virtual machine adapter first virtual machine completely to the second Virtual Machine Manager center.
Preferably, the first Virtual Machine Manager center and the second Virtual Machine Manager center are carried out before migration consults, and the method also comprises:
First Virtual Machine Manager center judges that whether the first Virtual Machine Manager center meets the transition condition preset, and determines that the first Virtual Machine Manager center meets default transition condition, then the first Virtual Machine Manager center and the second Virtual Machine Manager center are carried out migration and consulted.
Preferably, described transition condition is: the load at Virtual Machine Manager center is lower than the threshold value preset.
Preferably, the method also comprises:
When first protocol software entity receives virtual machine (vm) migration instruction, initiate link switching application to core net EPC, send data to second protocol software entity to make EPC;
First protocol software entity continues the distribution and the control that send data retransmission and responsible retransmission resource, meanwhile, non-data retransmission is sent to second protocol software entity;
After data processing, the first protocol software entity sends the complete notice of Data Migration to the first Virtual Machine Manager center.
Preferably, described first protocol software entity and second protocol software entity are L1 protocol software entity, or,
Described first protocol software entity and second protocol software entity are L2 protocol software entity, or,
Described first protocol software entity and second protocol software entity are L3 protocol software entity.
A kind of virtual machine migration method, comprising:
Second Virtual Machine Manager center and the first Virtual Machine Manager center are carried out migration and are consulted, and set up the migration link between the second protocol software entity at the second Virtual Machine Manager center and first protocol software entity at the first Virtual Machine Manager center;
Second Virtual Machine Manager receive centre, from the complete notification message of Data Migration at the first Virtual Machine Manager center, makes the second virtual machine adapter first virtual machine completely.
Preferably, described second Virtual Machine Manager center and the first Virtual Machine Manager center are carried out migration and are consulted, and set up the migration link between second protocol software entity and the first protocol software entity, comprising:
Second Virtual Machine Manager receive centre consults request from the migration at the first Virtual Machine Manager center, and migration correlation parameter and corresponding entry-into-force time information are carried in described migration negotiation request;
Second Virtual Machine Manager center starts the second virtual machine, and needs the migration correlation parameter that timing comes into force to start timing to described;
Second Virtual Machine Manager center sends a notification message to the first Virtual Machine Manager center after starting the protocol software of second protocol software entity, and represent that configuration completes, the migration link establishment namely between second protocol software entity and the first protocol software entity completes.
Preferably, after the migration link establishment between second protocol software entity and the first protocol software entity completes, the method also comprises:
Second protocol software entity receives following one or more data: from the data of EPC, from the data of the first protocol software entity, the data from user.
Preferably, described first protocol software entity and second protocol software entity are L1 protocol software entity, or,
Described first protocol software entity and second protocol software entity are L2 protocol software entity, or,
Described first protocol software entity and second protocol software entity are L3 protocol software entity.
A kind of Virtual Machine Manager center, comprising: the first negotiation module, the first sending module and the first receiver module; Wherein,
Described first negotiation module, consulting for carrying out migration with the second Virtual Machine Manager center, setting up the migration link between first protocol software entity at described Virtual Machine Manager center and the second protocol software entity at the second Virtual Machine Manager center;
Described first sending module, for sending virtual machine (vm) migration instruction to the first protocol software entity, with make the first protocol software entity by described migration link by Data Migration to second protocol software entity; And after the complete notice of Data Migration to receive from the first protocol software entity at the first receiver module, send the complete notification message of Data Migration, to make the second virtual machine adapter first virtual machine completely to the second Virtual Machine Manager center;
First receiver module, for receiving the complete notification message of Data Migration from the first protocol software entity.
Preferably, this Virtual Machine Manager center also comprises judge module,
Described judge module, for judging whether the first Virtual Machine Manager center meets the transition condition preset, and determines that the first Virtual Machine Manager center meets default transition condition, then notifies that the first negotiation module and the second Virtual Machine Manager center are carried out migration and consulted.
A kind of protocol software entity, comprising: the second receiver module, handover module, data processing module and the second sending module; Wherein,
Described second receiver module, for sink virtual machine migration instruction;
Described handover module, for when the second receiver module receives virtual machine (vm) migration instruction, initiates link switching application to core net EPC, sends data to second protocol software entity to make EPC;
Described data processing module, for after handover module completes blocked operation, continues the distribution and the control that send data retransmission and responsible retransmission resource;
Described second sending module, for after handover module completes blocked operation, non-data retransmission is sent to second protocol software entity; And after data processing, send the complete notice of Data Migration to the first Virtual Machine Manager center.
A kind of Virtual Machine Manager center, comprising: the second negotiation module, the 3rd receiver module and execution module; Wherein,
Described second negotiation module, consulting for carrying out migration with the first Virtual Machine Manager center, setting up the migration link between the second protocol software entity at described Virtual Machine Manager center and first protocol software entity at the first Virtual Machine Manager center;
Described 3rd receiver module, for receiving the complete notification message of Data Migration from the first Virtual Machine Manager center;
Described execution module, for receiving after from the complete notification message of Data Migration at the first Virtual Machine Manager center at the 3rd receiver module, makes the second virtual machine adapter first virtual machine completely.
Preferably, described second negotiation module comprises: receive submodule, implementation sub-module and transmission submodule;
Described reception submodule, consults request for the migration received from the first Virtual Machine Manager center, and migration correlation parameter and corresponding entry-into-force time information are carried in described migration negotiation request;
Described implementation sub-module, for consulting request startup second virtual machine according to described migration, needs the migration correlation parameter that timing comes into force to start timing to described; And start the protocol software of second protocol software entity;
Described transmission submodule, for after the protocol software starting second protocol software entity, send a notification message to the first Virtual Machine Manager center, represent that configuration completes, the migration link establishment namely between second protocol software entity and the first protocol software entity completes.
A kind of protocol software entity, this protocol software entity is for receiving following one or more data: from the data of EPC, from the data of the first protocol software entity, the data from user.
A kind of virtual machine (vm) migration system, comprising: the first Virtual Machine Manager center, the second Virtual Machine Manager center, the first protocol software entity and second protocol software entity; Wherein,
Described first Virtual Machine Manager center is the above-mentioned Virtual Machine Manager center comprising the first negotiation module, the first sending module and the first receiver module;
Described first protocol software entity is the above-mentioned protocol software entity comprising the second receiver module, handover module, data processing module and the second sending module;
Described second Virtual Machine Manager center is the above-mentioned Virtual Machine Manager center comprising the second negotiation module, the 3rd receiver module and execution module;
Described second protocol software entity is for receiving following one or more data: from the data of EPC, from the data of the first protocol software entity, the data from user.
Virtual machine migration method described in the embodiment of the present invention, system and relevant apparatus, first Virtual Machine Manager center and the second Virtual Machine Manager center are carried out migration and are consulted, and set up the migration link between first protocol software entity at the first Virtual Machine Manager center and the second protocol software entity at the second Virtual Machine Manager center; First Virtual Machine Manager center sends virtual machine (vm) migration instruction to the first protocol software entity, with make the first protocol software entity by described migration link by Data Migration to second protocol software entity; First Virtual Machine Manager receive centre, to from after the complete notice of Data Migration of the first protocol software entity, sends the complete notification message of Data Migration, to make the second virtual machine adapter first virtual machine completely to the second Virtual Machine Manager center.The migration of virtual machine (vm) migration and protocol stack combines by the embodiment of the present invention, achieves the lossless migration of data in protocol stack, ensure that the QoS of business, improves the perception of user.
Accompanying drawing explanation
Fig. 1 is the C-RAN system architecture diagram adopting x86 server virtualization;
Fig. 2 is a kind of virtual machine migration method schematic flow sheet of one embodiment of the invention;
Fig. 3 is a kind of virtual machine migration method schematic flow sheet of another embodiment of the present invention;
Fig. 4 is a kind of virtual machine migration method schematic flow sheet of yet another embodiment of the invention;
Fig. 5 is a kind of Virtual Machine Manager division center of one embodiment of the invention schematic diagram;
Fig. 6 is a kind of Virtual Machine Manager division center of another embodiment of the present invention schematic diagram;
Fig. 7 is a kind of protocol software entity structure of embodiment of the present invention schematic diagram;
Fig. 8 is a kind of Virtual Machine Manager division center of yet another embodiment of the invention schematic diagram;
Fig. 9 is a kind of Virtual Machine Manager division center of yet another embodiment of the invention schematic diagram;
Figure 10 is a kind of virtual machine (vm) migration system architecture of one embodiment of the invention schematic diagram;
Figure 11 is the migration schematic flow sheet of the L2 virtual machine described in the embodiment of the present invention 1.
Embodiment
In various embodiments of the present invention: the migration of virtual machine (vm) migration and protocol stack combined, achieve the lossless migration of data in protocol stack.
The embodiment of the present invention proposes a kind of virtual machine migration method, and as shown in Figure 2, the method comprises:
Step 201: the first Virtual Machine Manager center and the second Virtual Machine Manager center are carried out migration and consulted, and set up the migration link between first protocol software entity at the first Virtual Machine Manager center and the second protocol software entity at the second Virtual Machine Manager center;
Step 202: the first Virtual Machine Manager center sends virtual machine (vm) migration instruction to the first protocol software entity, with make the first protocol software entity by described migration link by Data Migration to second protocol software entity;
Step 203: the first Virtual Machine Manager receive centre, to from after the complete notice of Data Migration of the first protocol software entity, sends the complete notification message of Data Migration, to make the second virtual machine adapter first virtual machine completely to the second Virtual Machine Manager center.
Optionally, as shown in Figure 3, the first Virtual Machine Manager center and the second Virtual Machine Manager center are carried out before migration consults, and the method also comprises:
Step 200: the first Virtual Machine Manager center judges whether the first Virtual Machine Manager center meets the transition condition preset, determine that the first Virtual Machine Manager center meets default transition condition, then the first Virtual Machine Manager center and the second Virtual Machine Manager center are carried out migration and are consulted.
Optionally, described transition condition is: the load at Virtual Machine Manager center is lower than the threshold value (as 10 ﹪) preset.
Optionally, the method also comprises:
When first protocol software entity receives virtual machine (vm) migration instruction, initiate link switching application to core net EPC, send data to second protocol software entity to make EPC;
First protocol software entity continues the distribution and the control that send data retransmission and responsible retransmission resource, meanwhile, non-data retransmission is sent to second protocol software entity;
After data processing, the first protocol software entity sends the complete notice of Data Migration to the first Virtual Machine Manager center.
The embodiment of the present invention also proposed a kind of virtual machine migration method, and as shown in Figure 4, the method comprises:
Step 401: the second Virtual Machine Manager center and the first Virtual Machine Manager center are carried out migration and consulted, and set up the migration link between the second protocol software entity at the second Virtual Machine Manager center and first protocol software entity at the first Virtual Machine Manager center;
Step 402: the second Virtual Machine Manager receive centre, from the complete notification message of Data Migration at the first Virtual Machine Manager center, makes the second virtual machine adapter first virtual machine completely.
Optionally, described second Virtual Machine Manager center and the first Virtual Machine Manager center are carried out migration and are consulted, and set up the migration link between second protocol software entity and the first protocol software entity, comprising:
Second Virtual Machine Manager receive centre consults request from the migration at the first Virtual Machine Manager center, and migration correlation parameter and corresponding entry-into-force time information are carried in described migration negotiation request;
Second Virtual Machine Manager center starts the second virtual machine, and needs the migration correlation parameter that timing comes into force to start timing to described;
Second Virtual Machine Manager center sends a notification message to the first Virtual Machine Manager center after starting the protocol software of second protocol software entity, and represent that configuration completes, the migration link establishment namely between second protocol software entity and the first protocol software entity completes.
Optionally, after the migration link establishment between second protocol software entity and the first protocol software entity completes, the method also comprises:
Second protocol software entity receives following one or more data: from the data of EPC, from the data of the first protocol software entity, the data from user.
The embodiment of the present invention also correspondingly proposes a kind of Virtual Machine Manager center, and as shown in Figure 5, this Virtual Machine Manager center comprises: the first negotiation module 51, first sending module 52 and the first receiver module 53; Wherein,
First negotiation module 51, consulting for carrying out migration with the second Virtual Machine Manager center, setting up the migration link between first protocol software entity at described Virtual Machine Manager center and the second protocol software entity at the second Virtual Machine Manager center;
First sending module 52, for sending virtual machine (vm) migration instruction to the first protocol software entity, with make the first protocol software entity by described migration link by Data Migration to second protocol software entity; And after the complete notice of Data Migration to receive from the first protocol software entity at the first receiver module, send the complete notification message of Data Migration, to make the second virtual machine adapter first virtual machine completely to the second Virtual Machine Manager center;
First receiver module 53, for receiving the complete notification message of Data Migration from the first protocol software entity.
Optionally, as shown in Figure 6, this Virtual Machine Manager center also comprises judge module 54,
Judge module 54, for judging whether the first Virtual Machine Manager center meets the transition condition preset, and determines that the first Virtual Machine Manager center meets default transition condition, then notifies that the first negotiation module 51 and the second Virtual Machine Manager center are carried out migration and consulted.
The embodiment of the present invention also correspondingly proposes a kind of protocol software entity, and as shown in Figure 7, this protocol software entity comprises: the second receiver module 71, handover module 72, data processing module 73 and the second sending module 74; Wherein,
Second receiver module 71, for sink virtual machine migration instruction;
Handover module 72, for when the second receiver module 71 receives virtual machine (vm) migration instruction, initiates link switching application to core net EPC, sends data to second protocol software entity to make EPC;
Data processing module 73, for after handover module completes blocked operation, continues the distribution and the control that send data retransmission and responsible retransmission resource;
Second sending module 74, for after handover module 72 completes blocked operation, non-data retransmission is sent to second protocol software entity; And after data processing, send the complete notice of Data Migration to the first Virtual Machine Manager center.
The embodiment of the present invention also correspondingly proposes a kind of Virtual Machine Manager center, and as shown in Figure 8, this Virtual Machine Manager center comprises: the second negotiation module 81, the 3rd receiver module 82 and execution module 83; Wherein,
Second negotiation module 81, consulting for carrying out migration with the first Virtual Machine Manager center, setting up the migration link between the second protocol software entity at described Virtual Machine Manager center and first protocol software entity at the first Virtual Machine Manager center;
3rd receiver module 82, for receiving the complete notification message of Data Migration from the first Virtual Machine Manager center;
Execution module 83, for receive the complete notification message of Data Migration from the first Virtual Machine Manager center at the 3rd receiver module 82 after, makes the second virtual machine adapter first virtual machine completely.
Optionally, as shown in Figure 9, the second negotiation module 81 comprises: receive submodule 811, implementation sub-module 812 and send submodule 813;
Receive submodule 811, consult request for the migration received from the first Virtual Machine Manager center, migration correlation parameter and corresponding entry-into-force time information are carried in described migration negotiation request;
Implementation sub-module 812, for consulting request startup second virtual machine according to described migration, needs the migration correlation parameter that timing comes into force to start timing to described; And start the protocol software of second protocol software entity;
Send submodule 813, for after the protocol software starting second protocol software entity, send a notification message to the first Virtual Machine Manager center, represent that configuration completes, the migration link establishment namely between second protocol software entity and the first protocol software entity completes.
The embodiment of the present invention also correspondingly proposes a kind of protocol software entity, and this protocol software entity is for receiving following one or more data: from the data of EPC, from the data of the first protocol software entity, the data from user.
The embodiment of the present invention also correspondingly proposes a kind of virtual machine (vm) migration system, as shown in Figure 10, this system comprises: the first Virtual Machine Manager center 1001, second Virtual Machine Manager center 1002, first protocol software entity 1003 and second protocol software entity 1004; Wherein,
First Virtual Machine Manager center 1001 is the Virtual Machine Manager center shown in Fig. 5 or Fig. 6;
First protocol software entity 1002 is the protocol software entity shown in Fig. 7;
Second Virtual Machine Manager center 1003 is the Virtual Machine Manager center shown in Fig. 8 or Fig. 9;
Second protocol software entity is for receiving following one or more data: from the data of EPC, from the data of the first protocol software entity, the data from user.
It should be noted that, in each embodiment of the invention described above,
Described first protocol software entity and second protocol software entity are L1 protocol software entity, or,
Described first protocol software entity and second protocol software entity are L2 protocol software entity, or,
Described first protocol software entity and second protocol software entity are L3 protocol software entity.
Below by specific embodiment, technical scheme of the present invention is described in further detail.
Embodiment 1
When the virtual machine running L2 is closed or starts in transition process, L2 cannot work, and the migration time delay of level will cause customer service to be interrupted second.Simultaneously, because L2 also needs a large amount of data and control information to need to exchange, not simply the data in corresponding for virtual machine process status, internal memory are purely and simply copied to destination locations from source position, need L2 protocol level to carry out corresponding migration and prepare with the lossless migration ensureing data.
For the problems referred to above, the embodiment of the present invention combines the migration of virtual machine (vm) migration and L2 protocol stack, propose the scheme of L2 virtual machine relay migration, in the program, the virtual machine (vm) migration of L2 and the migration of L2 protocol stack are worked in coordination, achieve the lossless migration of user data in L2 protocol stack, ensure that QoS of survice and Consumer's Experience.
In the embodiment of the present invention, LTE protocol stack is carried out framework planning according to respective function, needing to concentrate the part of cooperation to be planned to a virtual machine, needing the part of distributed treatment to be planned to same virtual machine, thus achieve the combination of " concentrating " and " distribution ".
Figure 11 is the migration schematic flow sheet of the L2 virtual machine described in the embodiment of the present invention 1, and as shown in figure 11, this migration flow process comprises:
Step 1101: whether the L2 virtual machine of source position meets transition condition according to decision algorithm judgement.
Here, if meet transition condition, just can initiate migration to the L2 Virtual Machine Manager center of destination locations and exchange, comprise the relevant configuration of the L2 virtual machine starting destination locations, set up the link etc. of migration.
Step 1102: when meeting transition condition, the L2 virtual machine of source position initiates migration negotiation request to the L2 Virtual Machine Manager center of destination locations, and the correlation parameter of migration is configured to the L2 virtual machine of destination locations.
Step 1103: the L2 Virtual Machine Manager receive centre of destination locations, after migration negotiation request, starts virtual machine, and needs the migration correlation parameter that timing comes into force to start timing to described.
Here, migration correlation parameter and corresponding entry-into-force time information are carried in described migration negotiation request, accordingly, to come into force at specific time point according to described entry-into-force time information and specifically move correlation parameter in the L2 Virtual Machine Manager center of destination locations, described migration correlation parameter can comprise following one or more: IP address, internal storage state parameter, the user state information of L2, the user data information of L2.
Step 1104: the protocol stack sofeware of the L2 virtual machine activation L2 of destination locations.
Step 1105: the L2 virtual machine of the L2 virtual machine notification source position of destination locations, represents that configuration completes, waits for last migration completion notice.
Step 1106: the L2 virtual machine notice L2 protocol software entity of source position, the preliminary work of virtual machine (vm) migration completes.
Through above-mentioned steps, L2 virtual machine and the destination locations L2 virtual machine of source position complete handshake procedure, have established the link of virtual machine (vm) migration.
Step 1107: the L2 of source position initiates link switching application to EPC, and the address of object L2 is sent to AP, and AP initiates the handover request of S1 interface link.
After the link switching success of S1 interface, the L2 of source position no longer receives the new data that EPC sends.
After the success of step 1108:S1 link switching, the L2 of destination locations receives user's new data of EPC transmission, row cache of going forward side by side.
Step 1109: the L2 of source position carries out data processing and data-moving.
Concrete, at down direction, the dispatch user data that the L2 of source position is fast as far as possible sends, and to reduce the data in process and buffer memory, reduces the data-moving pressure switched; At up direction, data are directly sent on the L2 virtual machine of destination locations.
Here, shared drive can be passed through, reduce the means quickening user data transmission speeds such as code check.
It should be noted that, in the process of data processing, the L2 virtual machine of source position and the L2 virtual machine of destination locations make full use of the advantage of HARQ multi-process, the relay realizing data sends, that is: for descending, the L2 of source position only sends the data of re-transmission, and the L2 of destination locations only sends new data; For up, the L2 of source position is responsible for Resourse Distribute and the control of re-transmission, and the L2 of destination locations is responsible for data receiver.Two L2 switch in the process of moving in data and want real-time exchange information, with the consistance of guarantee information.Send by the relay of the process of eating dishes without rice or wine and receive, send to user as much as possible for the data of the L2 on source position, reduce the load of data-moving as far as possible.
Step 1110: after data processing, the L2 virtual-machine data of L2 notification source position, source position has been moved complete, can carry out virtual machine (vm) migration.
Step 1111: the L2 of source position notifies the L2 virtual machine of destination locations, can all process of whole adapter L2, and so far, the virtual machine of source position and destination locations completes whole migration work.
Step 1112: after completing migration, the virtual machine activation closing flow path of source position.
It should be noted that, the operation that the virtual machine of L2 described in the embodiment of the present invention performs generally is completed by Virtual Machine Manager center, and the operation that L2 performs generally is completed by L2 protocol software entity.
The embodiment of the present invention achieves the baton handover on virtual machine (vm) migration, achieves harmless carrier wave emigration, ensure that the QoS of business, improves the perception of user.Further, the scheme described in the embodiment of the present invention has the following advantages:
Favorable expandability, the thought that the embodiment of the present invention is mentioned can be applied in the migration of L1, L2 or L3 virtual machine;
Compatible good, the embodiment of the present invention is applicable to the L2 virtual machine (vm) migration of FDD LTE;
Realize simple, the embodiment of the present invention increases the message flow mutually exchanged, and does not need to change software architecture.
The above, be only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.

Claims (16)

1. a virtual machine migration method, is characterized in that, the method comprises:
First Virtual Machine Manager center and the second Virtual Machine Manager center are carried out migration and are consulted, and set up the migration link between first protocol software entity at the first Virtual Machine Manager center and the second protocol software entity at the second Virtual Machine Manager center;
First Virtual Machine Manager center sends virtual machine (vm) migration instruction to the first protocol software entity, with make the first protocol software entity by described migration link by Data Migration to second protocol software entity;
First Virtual Machine Manager receive centre, to from after the complete notice of Data Migration of the first protocol software entity, sends the complete notification message of Data Migration, to make the second virtual machine adapter first virtual machine completely to the second Virtual Machine Manager center.
2. method according to claim 1, is characterized in that, the first Virtual Machine Manager center and the second Virtual Machine Manager center are carried out before migration consults, and the method also comprises:
First Virtual Machine Manager center judges that whether the first Virtual Machine Manager center meets the transition condition preset, and determines that the first Virtual Machine Manager center meets default transition condition, then the first Virtual Machine Manager center and the second Virtual Machine Manager center are carried out migration and consulted.
3. method according to claim 2, is characterized in that, described transition condition is: the load at Virtual Machine Manager center is lower than the threshold value preset.
4. method according to claim 1, is characterized in that, the method also comprises:
When first protocol software entity receives virtual machine (vm) migration instruction, initiate link switching application to core net EPC, send data to second protocol software entity to make EPC;
First protocol software entity continues the distribution and the control that send data retransmission and responsible retransmission resource, meanwhile, non-data retransmission is sent to second protocol software entity;
After data processing, the first protocol software entity sends the complete notice of Data Migration to the first Virtual Machine Manager center.
5. the method according to any one of Claims 1-4, is characterized in that,
Described first protocol software entity and second protocol software entity are L1 protocol software entity, or,
Described first protocol software entity and second protocol software entity are L2 protocol software entity, or,
Described first protocol software entity and second protocol software entity are L3 protocol software entity.
6. a virtual machine migration method, is characterized in that, the method comprises:
Second Virtual Machine Manager center and the first Virtual Machine Manager center are carried out migration and are consulted, and set up the migration link between the second protocol software entity at the second Virtual Machine Manager center and first protocol software entity at the first Virtual Machine Manager center;
Second Virtual Machine Manager receive centre, from the complete notification message of Data Migration at the first Virtual Machine Manager center, makes the second virtual machine adapter first virtual machine completely.
7. method according to claim 6, is characterized in that, described second Virtual Machine Manager center and the first Virtual Machine Manager center are carried out migration and consulted, and set up the migration link between second protocol software entity and the first protocol software entity, comprising:
Second Virtual Machine Manager receive centre consults request from the migration at the first Virtual Machine Manager center, and migration correlation parameter and corresponding entry-into-force time information are carried in described migration negotiation request;
Second Virtual Machine Manager center starts the second virtual machine, and needs the migration correlation parameter that timing comes into force to start timing to described;
Second Virtual Machine Manager center sends a notification message to the first Virtual Machine Manager center after starting the protocol software of second protocol software entity, and represent that configuration completes, the migration link establishment namely between second protocol software entity and the first protocol software entity completes.
8. method according to claim 6, is characterized in that, after the migration link establishment between second protocol software entity and the first protocol software entity completes, the method also comprises:
Second protocol software entity receives following one or more data: from the data of EPC, from the data of the first protocol software entity, the data from user.
9. the method according to any one of claim 6 to 8, is characterized in that,
Described first protocol software entity and second protocol software entity are L1 protocol software entity, or,
Described first protocol software entity and second protocol software entity are L2 protocol software entity, or,
Described first protocol software entity and second protocol software entity are L3 protocol software entity.
10. a Virtual Machine Manager center, is characterized in that, this Virtual Machine Manager center comprises: the first negotiation module, the first sending module and the first receiver module; Wherein,
Described first negotiation module, consulting for carrying out migration with the second Virtual Machine Manager center, setting up the migration link between first protocol software entity at described Virtual Machine Manager center and the second protocol software entity at the second Virtual Machine Manager center;
Described first sending module, for sending virtual machine (vm) migration instruction to the first protocol software entity, with make the first protocol software entity by described migration link by Data Migration to second protocol software entity; And after the complete notice of Data Migration to receive from the first protocol software entity at the first receiver module, send the complete notification message of Data Migration, to make the second virtual machine adapter first virtual machine completely to the second Virtual Machine Manager center;
First receiver module, for receiving the complete notification message of Data Migration from the first protocol software entity.
11. Virtual Machine Manager centers according to claim 10, is characterized in that, this Virtual Machine Manager center also comprises judge module,
Described judge module, for judging whether the first Virtual Machine Manager center meets the transition condition preset, and determines that the first Virtual Machine Manager center meets default transition condition, then notifies that the first negotiation module and the second Virtual Machine Manager center are carried out migration and consulted.
12. 1 kinds of protocol software entities, is characterized in that, this protocol software entity comprises: the second receiver module, handover module, data processing module and the second sending module; Wherein,
Described second receiver module, for sink virtual machine migration instruction;
Described handover module, for when the second receiver module receives virtual machine (vm) migration instruction, initiates link switching application to core net EPC, sends data to second protocol software entity to make EPC;
Described data processing module, for after handover module completes blocked operation, continues the distribution and the control that send data retransmission and responsible retransmission resource;
Described second sending module, for after handover module completes blocked operation, non-data retransmission is sent to second protocol software entity; And after data processing, send the complete notice of Data Migration to the first Virtual Machine Manager center.
13. 1 kinds of Virtual Machine Manager centers, is characterized in that, this Virtual Machine Manager center comprises: the second negotiation module, the 3rd receiver module and execution module; Wherein,
Described second negotiation module, consulting for carrying out migration with the first Virtual Machine Manager center, setting up the migration link between the second protocol software entity at described Virtual Machine Manager center and first protocol software entity at the first Virtual Machine Manager center;
Described 3rd receiver module, for receiving the complete notification message of Data Migration from the first Virtual Machine Manager center;
Described execution module, for receiving after from the complete notification message of Data Migration at the first Virtual Machine Manager center at the 3rd receiver module, makes the second virtual machine adapter first virtual machine completely.
14. Virtual Machine Manager centers according to claim 13, is characterized in that, described second negotiation module comprises: receive submodule, implementation sub-module and transmission submodule;
Described reception submodule, consults request for the migration received from the first Virtual Machine Manager center, and migration correlation parameter and corresponding entry-into-force time information are carried in described migration negotiation request;
Described implementation sub-module, for consulting request startup second virtual machine according to described migration, needs the migration correlation parameter that timing comes into force to start timing to described; And start the protocol software of second protocol software entity;
Described transmission submodule, for after the protocol software starting second protocol software entity, send a notification message to the first Virtual Machine Manager center, represent that configuration completes, the migration link establishment namely between second protocol software entity and the first protocol software entity completes.
15. 1 kinds of protocol software entities, is characterized in that, this protocol software entity is for receiving following one or more data: from the data of EPC, from the data of the first protocol software entity, the data from user.
16. 1 kinds of virtual machine (vm) migration systems, is characterized in that, this system comprises: the first Virtual Machine Manager center, the second Virtual Machine Manager center, the first protocol software entity and second protocol software entity; Wherein,
Described first Virtual Machine Manager center is the Virtual Machine Manager center described in claim 10 or 11;
Described first protocol software entity is protocol software entity according to claim 12;
Described second Virtual Machine Manager center is the Virtual Machine Manager center described in claim 13 or 14;
Described second protocol software entity is protocol software entity according to claim 15.
CN201410182049.3A 2014-04-30 2014-04-30 A kind of virtual machine migration method, system and relevant apparatus Active CN105022658B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410182049.3A CN105022658B (en) 2014-04-30 2014-04-30 A kind of virtual machine migration method, system and relevant apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410182049.3A CN105022658B (en) 2014-04-30 2014-04-30 A kind of virtual machine migration method, system and relevant apparatus

Publications (2)

Publication Number Publication Date
CN105022658A true CN105022658A (en) 2015-11-04
CN105022658B CN105022658B (en) 2019-03-05

Family

ID=54412648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410182049.3A Active CN105022658B (en) 2014-04-30 2014-04-30 A kind of virtual machine migration method, system and relevant apparatus

Country Status (1)

Country Link
CN (1) CN105022658B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105530259A (en) * 2015-12-22 2016-04-27 华为技术有限公司 Message filtering method and equipment
CN108965768A (en) * 2018-08-08 2018-12-07 西安万像电子科技有限公司 The transmission method and system of multi-medium data
CN110622138A (en) * 2017-02-23 2019-12-27 华为技术有限公司 Data migration method and device
CN112351089A (en) * 2020-10-29 2021-02-09 苏州浪潮智能科技有限公司 Data transmission method, system and device between virtual machine and accelerator
CN117519908A (en) * 2023-12-29 2024-02-06 珠海星云智联科技有限公司 Virtual machine thermomigration method, computer equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457583A (en) * 2010-10-19 2012-05-16 中兴通讯股份有限公司 Realization method of mobility of virtual machine and system thereof
CN103067428A (en) * 2011-10-21 2013-04-24 华为技术有限公司 Base station and service processing method and cloud computing system
CN103124436A (en) * 2011-11-18 2013-05-29 华为技术有限公司 Wireless communication system, cloud virtual base station and resource scheduling method
CN103124409A (en) * 2011-11-18 2013-05-29 华为技术有限公司 Base station management system and base station management method
CN103124219A (en) * 2011-11-18 2013-05-29 华为技术有限公司 Wireless communication system, cloud virtual base station and resource scheduling method
CN103176845A (en) * 2011-12-22 2013-06-26 ***通信集团公司 Method, system and device for virtual machine arrangement

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457583A (en) * 2010-10-19 2012-05-16 中兴通讯股份有限公司 Realization method of mobility of virtual machine and system thereof
CN103067428A (en) * 2011-10-21 2013-04-24 华为技术有限公司 Base station and service processing method and cloud computing system
CN103124436A (en) * 2011-11-18 2013-05-29 华为技术有限公司 Wireless communication system, cloud virtual base station and resource scheduling method
CN103124409A (en) * 2011-11-18 2013-05-29 华为技术有限公司 Base station management system and base station management method
CN103124219A (en) * 2011-11-18 2013-05-29 华为技术有限公司 Wireless communication system, cloud virtual base station and resource scheduling method
CN103176845A (en) * 2011-12-22 2013-06-26 ***通信集团公司 Method, system and device for virtual machine arrangement

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CHENG WANG等: "A Study on Virtual BS Live Migration - A Seamless and Lossless Mechanism for Virtual BS Migration", 《2013 IEEE 24TH INTERNATIONAL SYMPOSIUM ON PERSONAL, INDOOR AND MOBILE RADIO COMMUNICATIONS: MOBILE AND WIRELESS NETWORKS》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105530259A (en) * 2015-12-22 2016-04-27 华为技术有限公司 Message filtering method and equipment
CN110622138A (en) * 2017-02-23 2019-12-27 华为技术有限公司 Data migration method and device
US11347542B2 (en) 2017-02-23 2022-05-31 Huawei Technologies Co., Ltd. Data migration method and apparatus
CN108965768A (en) * 2018-08-08 2018-12-07 西安万像电子科技有限公司 The transmission method and system of multi-medium data
CN108965768B (en) * 2018-08-08 2021-03-02 西安万像电子科技有限公司 Method and system for transmitting multimedia data
CN112351089A (en) * 2020-10-29 2021-02-09 苏州浪潮智能科技有限公司 Data transmission method, system and device between virtual machine and accelerator
CN117519908A (en) * 2023-12-29 2024-02-06 珠海星云智联科技有限公司 Virtual machine thermomigration method, computer equipment and medium
CN117519908B (en) * 2023-12-29 2024-04-09 珠海星云智联科技有限公司 Virtual machine thermomigration method, computer equipment and medium

Also Published As

Publication number Publication date
CN105022658B (en) 2019-03-05

Similar Documents

Publication Publication Date Title
US20220217801A1 (en) Dual Connectivity Management Method and Communications Apparatus
US9883410B2 (en) Method and apparatus for creating virtual base station
Kadhim et al. Maximizing the utilization of fog computing in internet of vehicle using SDN
WO2020096875A1 (en) Early action on deploying and executing functions in a serverless environment
JP2019533385A (en) Switching method and apparatus
CN104023335A (en) SDN (Software Defined Network)-based heterogeneous network convergence framework
CN105022658A (en) Virtual machine migration method and system, and related device
CN104955172A (en) Method for realizing mobile network virtualization, control platform, virtualization base station and system
US11184778B2 (en) Mobile service chain placement
CN113918316A (en) Block chain-based 5G access network user end edge computational power distribution method
CN111565424B (en) Method, device and storage medium for processing connection failure in dual-connection system
EP3549326A1 (en) Configuration control for network
CN104754643B (en) The control method and device that communication terminal business executes
CN112654070A (en) Communication method, device, equipment and storage medium between user terminals
CN102884762A (en) Method, devices and system for controlling network paths
CN106792923A (en) A kind of method and device for configuring qos policy
CN107306230B (en) Method, device, controller and core network equipment for network resource deployment
WO2012130272A1 (en) Apparatus and method for allocating resources for coordinated transmissions from multiple cells
US8767675B2 (en) Method, system and base station subsystem for realizing handover in local switch
CN104320282A (en) Method for switching of main and standby virtual machines in virtual edge port aggregation system and physical mainframes
CN105517172A (en) Business scheduling method and device
CN104699521B (en) The method, system and device that a kind of virtual machine migrates online
CN107006068B (en) Wireless access network equipment, configuration method and configuration device
US20180329758A1 (en) Method and device for transmitting managing instruction and managing automatic scaling function of vnf
CN105594248B (en) A kind of load-balancing method and node

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant