CN104699521A - Online migration method, system and device of virtual machine - Google Patents

Online migration method, system and device of virtual machine Download PDF

Info

Publication number
CN104699521A
CN104699521A CN201310652314.5A CN201310652314A CN104699521A CN 104699521 A CN104699521 A CN 104699521A CN 201310652314 A CN201310652314 A CN 201310652314A CN 104699521 A CN104699521 A CN 104699521A
Authority
CN
China
Prior art keywords
migrated
carrier wave
carrier
virtual machine
online
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
CN201310652314.5A
Other languages
Chinese (zh)
Other versions
CN104699521B (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 CN201310652314.5A priority Critical patent/CN104699521B/en
Publication of CN104699521A publication Critical patent/CN104699521A/en
Application granted granted Critical
Publication of CN104699521B publication Critical patent/CN104699521B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses an online migration method, an online migration system and a device of a virtual machine. The target carrier wave is selected and switched during online migration of the virtual machine on a source physical server, the user of the virtual machine is transferred to the switched target carrier wave, and the idle virtual machine is transferred to the target physical server. The user in the internal storage is already transferred to the other carrier waves before the virtual machine is migrated on line, so that the internal storage of the virtual machine will not change during the online migration process, the situation that the reproduction process of the internal storage of the virtual machine is unable to restrain can be avoided and the online migration of the virtual machine can be successfully achieved.

Description

The method, system and device that a kind of virtual machine moves online
Technical field
The present invention relates to mobile communication wireless access field, particularly the online moving method of a kind of virtual machine, system and device.
Background technology
Along with the development of mobile communication wireless Access Network, radio reception device is just experiencing from traditional integrated base station to distributed base station again to the evolution process in base station resource pond.
Traditional integrated base station equipment comprises two main functional units, and namely radio frequency unit and baseband processing unit (BBU, Baseband Unit), carry out wireless signal and baseband signal relevant treatment respectively.Particularly, base band signals carry is on the carrier wave of a certain scope, and base band signal process is exactly the process to this carrier wave.These two functional units are arranged in same rack hardware device, cause base station equipment volume comparatively large, and will be that two functional units all configure air-conditioning accordingly, cause the high of energy resource consumption.
Distributed base station, by being separated from base station equipment by radio frequency unit, being set together with the antenna of far-end, become remote radio unit (RRU) (RRU, Remote Radio Unit), and original base station equipment rack only leaving BBU.Radio reception device in current 3G (Third Generation) Moblie (3G) network and forth generation mobile communication (4G) network has adopted the mode of distributed base station all.On the one hand, RRU and antenna are set together, and reduce the radio signal attenuation that antenna receives, can reduce the emissive power of base station equipment; On the other hand, the base station equipment rack volume being provided with BBU peeled off after RRU significantly can reduce, and self-heat condition can be relied on to lower the temperature with the RRU that antenna is set together, and no longer needs special air-conditioning equipment, reduce further energy consumption.
But the BBU of distributed base station is still separate, each base station needs to carry out resource outfit according to traffic peak, and resource can not be shared each other.Be subject to mobile communication tidal effect and the impact of features such as doing, idle portfolio is changed significantly, cause the ample resources of whole network in idle and the waste of the energy.The concept in base station resource pond proposes on the basis of distributed base station, by by interconnected for the BBU in certain limit, the carrier processing ability of each interconnected BBU shared, and defines distribution according to need and the base station resource pond of United Dispatching.Base station resource pond can be BBU is concentrated the centralization resource pool be positioned in a machine room, also can be distributed base station resource pool interconnected between different website.By rational planning, the base station in base station resource pond can be made not to be in the state of traffic peak at one time, the carrier wave in such base station resource pond just can be equipped with not according to the greatest requirements summation of all base stations, thus reduces cost and the energy consumption of overall network.In addition, by the base station in the idle closed portion free time, energy consumption can be reduced further.
The evolution further on the basis that the base station equipment being provided with BBU is shared of base station resource pond, by traditional special hardware device being replaced by general network technology (IT) standard device of exploitation, can cost be effectively reduced, be convenient to management, and promote the benign development of industrial chain.
Cloud computing is virtual is at present just in the IT technology of the forefront of develop rapidly, by introducing server virtualization technology, different carrier process in base station resource pond allows to realize on a virtual machine, can realize having the integration of multiple virtual machines on Same Physical server of different carrier respectively, improve resource utilization, reduce enterprise-wide and have cost (TCO, Total Cost of Ownership), improve the high availability (HA of physical server, High Availability), and the elasticity of carrying out different carrier that can be convenient with finer and smoother granularity is distributed and United Dispatching.
At present; by the online migrating technology of virtual machine; also thermophoresis (Live Migraton) technology can be called; can the carrier wave bearing base band signal process be moved to target physical server from source physical server online; just can overhaul source physical server easily or the attended operation such as upgrading, or be closed electricity to reach the effect of energy-saving and emission-reduction.
Fig. 1 provides the base station resource pond configuration diagram of employing two physical server Intel Virtualization Technologies for prior art, as shown in the figure, comprise virtual management system, shared storage and two physical servers, wherein, virtual management system is for carrying out control and management to the virtual machine on two physical servers; Shared storage is used for carrying out storing relevant carrier wave in online transition process; Every platform physical server all comprises multiple virtual machine, and the unified hard disk using physical server, by the virtual machine management program unified management of physical server, each virtual machine independent operating, has oneself independently operating system and protocol stack, for bearing carrier wave.After the equipment connection of common public radio interface (CPRI) link and integrating mobile communication network antenna and RRU is passed through in this base station resource pond, the carrier wave carrying out eating dishes without rice or wine with terminal is mutual.In FIG, each virtual machine is respectively used to process the different carrier bearing different baseband signal, and this carrier wave also can be called carrier frequency resource.
In FIG, in order to the virtual machine realized on physical server moves on other physical servers online, have employed the process shown in Fig. 2, Fig. 2 is the method flow diagram that existing techniques in realizing virtual machine moves online, suppose that its concrete steps are by the virtual machine (vm) migration of source physical server on object physical server:
Step 201, virtual management system initiate online migration request to target physical server;
Step 202, target physical server carry out image starting after receiving, and start the disk image operation on shared storage;
Step 203, target physical server report the complete message of environmental preparation to virtual management system;
Step 204, virtual management system send to source physical server and start to move instruction;
Step 205, source physical server carry out memory image to virtual machine;
Memory image is videoed on target physical server by shared storage by step 206, source physical server;
Step 207, source physical server change virtual machine record internal memory;
Internal memory change is videoed on target physical server by shared storage by step 208, source physical server;
Step 209, source physical server system send internal memory to virtual management system and copy complete message;
Step 210, virtual management system send migration to target physical server and complete message;
Step 211, virtual management system send migration to source physical server and complete message;
Step 212, source physical server close virtual machine, start the maintenance or the pass electricity that carry out source physical server;
Step 213, target physical server carry out the operation of the virtual machine moved, the resource that adapter virtual machine carries.
Adopt the method described in Fig. 2, move break period at about tens to hundred milliseconds, for traditional IT application, user is substantially imperceptible, can think that the carrier processing provided is not interrupted.
But, after Intel Virtualization Technology is applied to base station resource pond, due to the high real-time feature of mobile communication, require virtual machine to the processing time of baseband signal at a few Millisecond, therefore when virtual machine moves online, the speed that the memory pages pace of change of virtual machine may copy faster than internal memory in transition process, causes the internal memory reproduction process of the virtual machine in transition process to restrain, causes cannot normally completing online transition process.
Summary of the invention
In view of this, the invention provides a kind of method that virtual machine moves online, the method can realize virtual machine and move online.
The present invention also provides a kind of online migratory system of carrier Virtual server, and this system can realize virtual machine and move online.
The present invention also provides a kind of online moving apparatus of carrier Virtual server, and this device can realize virtual machine and move online.
For achieving the above object, technical scheme of the invention process is specifically achieved in that
The method that virtual machine moves online, the method comprises:
When needing to move online the virtual machine to be migrated on the physical server of source, select to switch target carrier according to the switching target carrier selection rule preset;
The carrier wave to be migrated operated on virtual machine to be migrated stops the new user of access, the user be linked on carrier wave to be migrated is switched to and switches in target carrier;
Virtual machine to be migrated on the physical server of source is moved on target physical server online.
Described virtual machine to be migrated on the physical server of source is moved on target physical server online after, the method also comprises further:
The user belonged to originally in carrier wave to be migrated switched in target carrier is switched on the carrier wave to be migrated on the virtual machine to be migrated completing online migration.
The described carrier wave to be migrated user belonged to originally in carrier wave to be migrated switched in target carrier is switched on the virtual machine to be migrated completing online migration comprises:
Send switching command to described switching target carrier, described switching command comprises: the user profile that need switch and completed the information of the carrier wave to be migrated moved online;
Described switching target carrier will belong to originally in carrier wave to be migrated according to switching command and the user not completing service be switched to complete online migration carrier wave to be migrated on;
Described switching target carrier returns switching according to received switching command and completes response, to inform that subscriber handover process is complete, and report of user switch instances.
Described switching target carrier selection rule is:
When other carrier waves that described carrier wave to be migrated also exists in the cell, and have in other carrier waves described and have at least a carrier wave to meet reception when being linked into the condition of the whole users on carrier wave to be migrated, be linked in the carrier wave of the condition of the whole users carrier wave to be migrated from described satisfied reception and selected a carrier wave as switching target carrier;
When described carrier wave to be migrated only has a carrier wave in the cell, although or also there are other carrier waves but other carrier waves all do not meet reception when being linked into the condition of the whole users on carrier wave to be migrated, from the neighbor cell of community, described carrier wave place to be migrated, select a satisfied reception to be linked into the carrier wave of the condition of the whole users on carrier wave to be migrated as switching target carrier.
The method also comprises further:
According to the threshold value of the signal intensity of carrier wave, the parameter such as signal to noise ratio (S/N ratio) size and/distance and default correspondence, judge whether this carrier wave meets the condition that reception has been linked into the whole users on carrier wave to be migrated.
The condition of whole users that described reception has been linked on carrier wave to be migrated is:
The signal intensity switching target carrier is greater than default signal strength threshold value, switch the signal to noise ratio (S/N ratio) of target carrier and be greater than default signal-noise ratio threshold value, and user on carrier wave to be migrated and described switching target carrier distance be between the base stations less than default distance threshold value.
Before selection switches target carrier, the method also comprises further:
According to the migration trigger condition preset, judge whether to need the virtual machine to be migrated on the physical server of source to move online.
Described migration trigger condition is:
The portfolio of the carrier wave to be migrated that virtual machine to be migrated runs is less than the first default portfolio threshold value, and has at least the portfolio that a predetermined physical server carries to be less than the second default portfolio threshold value.
The system that virtual machine moves online, this system comprises: carrier wave emigration administrative unit, source physical server and target physical server, wherein,
Described carrier wave emigration administrative unit, for when needing to move online the virtual machine to be migrated on the physical server of source, select to switch target carrier according to the switching target carrier selection rule preset, the carrier wave to be migrated that instruction operates on virtual machine to be migrated stops the new user of access, the user be linked on carrier wave to be migrated is switched to and switches in target carrier;
Described source physical server, for moving to target physical server online by the virtual machine to be migrated be carried on the physical server of source.
Described carrier wave emigration administrative unit, also for sending switching command to described switching target carrier, indicate described switching target carrier to belong to originally in carrier wave to be migrated and the user not completing service be switched to complete online migration carrier wave to be migrated on, and receive the switching that described switching target carrier returns and complete response.
Described carrier wave emigration administrative unit, also for the threshold value of the parameters such as the signal intensity according to carrier wave, signal to noise ratio (S/N ratio) size and/distance and default correspondence, judges whether this carrier wave meets the condition that reception has been linked into the whole users on carrier wave to be migrated.
Described carrier wave emigration administrative unit, also for switching before target carrier in selection, according to the threshold value of the parameters such as the signal intensity of carrier wave to be migrated, signal to noise ratio (S/N ratio) size and/distance and default correspondence, judges whether carrier wave to be migrated meets switching condition.
Described carrier wave emigration administrative unit, also for before selection switching target carrier, according to the migration trigger condition preset, judges whether to need the virtual machine to be migrated on the physical server of source to move online.
The device that virtual machine moves online, this device comprises: select module and indicating module;
Described selection module, for when needing to move online the virtual machine to be migrated on the physical server of source, selects to switch target carrier according to the switching target carrier selection rule preset;
Indicating module, is used to indicate the carrier wave to be migrated operated on virtual machine to be migrated and stops the new user of access, the user be linked on carrier wave to be migrated be switched to and switch in target carrier; Also be used to indicate source physical server virtual machine is moved on target physical server online.
Described indicating module, also for sending switching command to described switching target carrier, indicate described switching target carrier to belong to originally in carrier wave to be migrated and the user not completing service be switched to complete online migration carrier wave to be migrated on, and receive the switching that described switching target carrier returns and complete response.
This device also comprises further: determination module;
Described determination module, for the threshold value of the parameters such as the signal intensity according to carrier wave, signal to noise ratio (S/N ratio) size and/distance and default correspondence, judges whether this carrier wave meets the condition that reception has been linked into the whole users on carrier wave to be migrated.
Described determination module, also for switching before target carrier in selection, according to the threshold value of the parameters such as the signal intensity of carrier wave to be migrated, signal to noise ratio (S/N ratio) size and/distance and default correspondence, judges whether carrier wave to be migrated meets switching condition.
Described determination module, also for before selection switching target carrier, according to the migration trigger condition preset, judges whether to need the virtual machine to be migrated on the physical server of source to move online.
As can be seen from the above scheme, the present invention is when moving online the virtual machine be carried on physical server and the carrier wave operated on described virtual machine, first selected to switch target carrier before moving online, user on carrier wave to be migrated on virtual machine to be migrated is switched to and switches in target carrier, then the virtual machine (vm) migration of the free time at carrier wave to be migrated after being switched by completing user and this carrier wave place to be migrated is on target physical server.Because the present invention is before online migration virtual machine, under first the user on the carrier wave to be migrated on virtual machine to be migrated being switched to the switching target carrier of not carrying out moving, therefore when the online migration carrying out virtual machine, the user that carrier wave to be migrated on virtual machine to be migrated has not accessed, the memory pages of virtual machine there will not be change in online transition process, so the speed that the memory pages pace of change of virtual machine copies faster than internal memory in transition process also would not be there is, the internal memory reproduction process of the virtual machine in transition process is caused to restrain, to such an extent as to normally cannot complete the problem of online transition process, thus successfully can realize the online migration of virtual machine.
Accompanying drawing explanation
Fig. 1 provides the base station resource pond configuration diagram of employing two physical server Intel Virtualization Technologies for prior art;
Fig. 2 is the method flow diagram that existing techniques in realizing virtual machine moves online;
The method flow diagram that the virtual machine that Fig. 3 provides for the embodiment of the present invention moves online;
The embodiment of the method process flow diagram that the virtual machine that Fig. 4 provides for the embodiment of the present invention moves online;
The system architecture schematic diagram that the virtual machine that Fig. 5 provides for the embodiment of the present invention moves online;
The apparatus structure schematic diagram that the virtual machine that Fig. 6 provides for the embodiment of the present invention moves online.
Embodiment
For making object of the present invention, technical scheme and advantage clearly understand, to develop simultaneously embodiment referring to accompanying drawing, the present invention is described in further detail.
As can be seen from background technology, cause virtual server to move failed reason to be online: the internal memory pace of change of virtual machine copies faster than internal memory in transition process, cause the internal memory reproduction process before moving and between the virtual machine after migration to restrain.In order to overcome this problem, the present invention is when carrying out the virtual machine on the physical server of source and moving online, first select to switch target carrier, the user of the carrier wave to be migrated run on a virtual machine is switched to and switches in target carrier, then by the virtual machine (vm) migration of free time on target physical server.
Because the present invention is before online migration virtual machine, user in the carrier wave to be migrated run first is switched on other carrier wave, make when the online migration carrying out virtual machine, the user that carrier wave to be migrated on virtual machine to be migrated has not accessed, so the memory pages of virtual machine to be migrated there will not be change in online transition process, thus the problem that the internal memory reproduction process that efficiently avoid virtual machine to be migrated in online transition process cannot restrain, successfully achieve the online migration of virtual machine.
The embodiment of the method process flow diagram that the virtual machine that Fig. 3 provides for the embodiment of the present invention moves online, its concrete steps are:
Step 301, when needing to move online the virtual machine to be migrated on the physical server of source, according to preset switching target carrier selection rule select switch target carrier;
Step 302, the carrier wave to be migrated operated on virtual machine to be migrated stops the new user of access, the user be linked on carrier wave to be migrated is switched to and switches in target carrier;
Step 303, the virtual machine to be migrated on the physical server of source to be moved on target physical server online.
Method described in Fig. 3 is carried out under the control of the carrier wave emigration administrative unit that the present invention is arranged.
Preferably, described carrier wave emigration administrative unit, can be arranged in resource pool management system, or can be arranged on physical server, or can arrange on a virtual machine, also can be an independently equipment.
In the inventive solutions, source physical server can carry one or more virtual machine, each virtual machine then can run a carrier wave.When needing according to practical situations to move online the some virtual machines (being referred to as virtual machine to be migrated) on the physical server of source, in order to avoid the problem that the internal memory reproduction process of the virtual machine in transition process cannot restrain, successfully to realize the online migration of virtual machine, therefore in above-mentioned step 301, can first need to select one to switch target carrier according to the switching target carrier selection rule preset, thus after can first the user on the carrier wave to be migrated operated on virtual machine to be migrated being all switched in switching target carrier, and then carry out the online migration of virtual machine to be migrated.
Preferably, in a particular embodiment of the present invention, described switching target carrier selection rule can be:
When other carrier waves that described carrier wave to be migrated also exists in the cell, and have in other carrier waves described and have at least a carrier wave to meet reception when being linked into condition (namely the having enough resources) of the whole users on carrier wave to be migrated, be linked in the carrier wave of the condition of the whole users carrier wave to be migrated from described satisfied reception and selected a carrier wave as switching target carrier;
When described carrier wave to be migrated only has a carrier wave (i.e. described carrier wave to be migrated) in the cell, although or also there are other carrier waves but other carrier waves all do not meet reception when being linked into condition (namely not the having enough resources) of the whole users on carrier wave to be migrated, from the neighbor cell of community, described carrier wave place to be migrated, select a satisfied reception to be linked into the carrier wave of the condition of the whole users on carrier wave to be migrated as switching target carrier.
Preferably, in a particular embodiment of the present invention, according to the threshold value switching the parameters such as the signal intensity of target carrier, signal to noise ratio (S/N ratio) size and/distance and default correspondence, can also judge whether this switching target carrier meets the condition that reception has been linked into the whole users on carrier wave to be migrated.Such as, in the preferred embodiment, the condition of whole users that described reception has been linked on carrier wave to be migrated can be:
The signal intensity switching target carrier is greater than default signal strength threshold value, switch the signal to noise ratio (S/N ratio) of target carrier and be greater than default signal-noise ratio threshold value, and user on carrier wave to be migrated and described switching target carrier distance be between the base stations less than default distance threshold value.
In addition, in the preferred embodiment, before selection switches target carrier, can further include in the method shown in Fig. 3: according to the migration trigger condition preset, judge whether to need the virtual machine to be migrated on the physical server of source to move online.
In the inventive solutions, can according to the tidal effect in practical situations, or according to the portfolio that the physical server of busy, idle carries, preset above-mentioned migration trigger condition, thus make to move on several physical servers of minority in the carrier set that portfolio is few in idle, and completely idle physical server is closed electricity to save energy consumption.
Such as, in the preferred embodiment, described migration trigger condition can be:
The portfolio of the carrier wave to be migrated that virtual machine to be migrated runs is less than the first default portfolio threshold value, and has at least the portfolio that a predetermined physical server carries to be less than default the second portfolio threshold value (namely representing that this physical server is also more idle).
Preferably, in a particular embodiment of the present invention, described migration trigger condition can also be:
1, manual triggers: by system manager according to safeguarding needs, manual triggers carrier wave emigration flow process.
2, clocked flip: usually select to dispatch, as night in the overall idle of system.For base station resource pond, also can consider the time response in conjunction with mobile communication, as according to tidal effect, utilize the business of base station in different service area in office hours and life-time and time relationship to dispatch.
3, according to the service condition of physical resource: the CPU of source, carrier wave place to be migrated physical server, memory usage are lower than first resource threshold value, and the CPU of destination server, memory usage are lower than Secondary resource threshold value.
4, during actual use, the combination of normally above each condition judges.
In addition, preferably, in a particular embodiment of the present invention, after the virtual machine to be migrated on the physical server of source is moved on target physical server online, can further include in the method shown in Fig. 3:
The user belonged to originally in carrier wave to be migrated switched in target carrier is switched on the carrier wave to be migrated on the virtual machine to be migrated completing online migration.
Specifically, the described carrier wave to be migrated user belonged to originally in carrier wave to be migrated switched in target carrier be switched on the virtual machine to be migrated completing online migration can comprise step as described below:
Step 1, send switching command to described switching target carrier, described switching command comprises: the user profile (being switched to the information belonging to the user in carrier wave to be migrated originally in described switching target carrier namely) that need switch and completed the information of the carrier wave to be migrated moved online.
In a particular embodiment of the present invention, switching command can be sent by carrier wave emigration administrative unit to described switching target carrier.Wherein, the information completing the carrier wave to be migrated of online migration in described switching command can comprise: the address information having completed the carrier wave to be migrated of online migration.
Step 2, described switching target carrier will belong to originally in carrier wave to be migrated according to switching command and the user not completing service be switched to complete online migration carrier wave to be migrated on.
In this step, if the user belonged to originally in carrier wave to be migrated has completed corresponding service, then the user that will not complete service has been switched to and has completed on the online carrier wave to be migrated moved.
Step 3, described switching target carrier return switching according to received switching command and complete response, to inform that subscriber handover process is complete, and report of user switch instances.
Specifically, in this step, described switching target carrier can return switching to carrier wave emigration administrative unit and complete response, to inform that subscriber handover process is complete, and report of user switch instances.
Below, by the mode of a specific embodiment, the technical scheme in the present invention is described in detail.
The embodiment of the method process flow diagram that the virtual machine that Fig. 4 provides for the embodiment of the present invention moves online, its concrete steps are:
Step 401, judge whether meet migration trigger condition, if so, then perform step 402; If not, then return step 401 to continue to perform;
In this step, according to the regulatory requirement in base station resource pond, carrier wave emigration administrative unit can start the online transition process of virtual machine, at this moment, just can determine whether to meet set migration trigger condition;
In this step, moving trigger condition can be:
The portfolio of the carrier wave to be migrated that the virtual machine to be migrated on the physical server of source runs is less than the first default portfolio threshold value, and has at least the portfolio that a predetermined physical server carries to be less than the second default portfolio threshold value.
In this step, migration trigger condition is set, in fact be exactly consider the tidal effect in base station resource pond, and the portfolio that busy period each physical server carries, thus the virtual machine that notr busy physical server carries can be concentrated move on a certain free physical server, after moving, untapped physical server is closed to save energy consumption.
Step 402, judge whether to meet switching condition, if so, perform step 403; Otherwise, return step 401 and continue to judge;
In this step, be in fact exactly whether the virtual machine determining to need to carry out online migration meets switching condition;
Switching condition is for judging whether the user on the carrier wave to be migrated that virtual machine to be migrated runs can be switched to the carrier wave of other correspondences.
Step 403, selects to switch target carrier according to the switching target carrier selection rule preset.
Judging that carrier wave to be migrated meets switching condition, when can switch, can select to switch target carrier accordingly according to the switching target carrier selection rule preset in this step.
Particularly, when there is multiple carrier wave in the cell in described carrier wave to be migrated, when also there are other carrier waves in Ji Gai community except carrier wave to be migrated, if have one or more carrier wave to have enough resources in other carrier waves can receive and switch the user that comes and continue to provide service for switching the user come, then a carrier wave with enough resources can be selected in the cell as switching target carrier from described carrier wave to be migrated according to the switching target carrier selection rule preset.
Only have carrier wave to be migrated in the cell when described carrier wave to be migrated and there is no other carrier waves, although or also there are other carrier waves but other carrier waves all do not meet reception when being linked into condition (namely not the having enough resources) of the whole users on carrier wave to be migrated, then a satisfied reception can be selected from the neighbor cell of community, described carrier wave place to be migrated to be linked into the carrier wave of the condition of the whole users on carrier wave to be migrated as switching target carrier.
It can thus be appreciated that in the inventive solutions, selected switching target carrier and carrier wave to be migrated can be positioned at same physical server, also can be positioned at different physical servers.
In addition, when selecting to switch target carrier, according to the threshold value of the parameters such as the signal intensity of carrier wave, signal to noise ratio (S/N ratio) size and/distance and default correspondence, can judge whether this carrier wave meets the condition that reception has been linked into the whole users on carrier wave to be migrated.Such as, the condition of whole users that described reception has been linked on carrier wave to be migrated can be:
The signal intensity of carrier wave is greater than default signal strength threshold value, and the signal to noise ratio (S/N ratio) of carrier wave is less than default signal-noise ratio threshold value, and the distance of carrier wave is less than default distance threshold value.
Carrier wave to be migrated on virtual machine to be migrated on step 404, source physical server stops the new user of access, is switched to being linked into carrier subscriber to be migrated in switching target carrier.
The carrier wave to be migrated that step 405, completing user switch sends user and switches complete message.
In this step, the carrier wave to be migrated that completing user switches can send user to carrier wave emigration administrative unit and switch complete message, for informing that all users on carrier wave to be migrated have switched complete.Wherein, described user switches in complete message to carry and is switched user profile to switch target carrier information.
The online transition process of step 406, initiation virtual machine, the virtual machine at the carrier wave place to be migrated switched by completing user moves on target physical server online.
Switch in target carrier owing to the user be linked on carrier wave to be migrated being switched in 404, therefore in this step, carrier wave emigration administrative unit can initiate the online transition process of virtual machine, and the virtual machine at the carrier wave place to be migrated switched by completing user moves on target physical server online.Wherein, the online transition process of the virtual machine in this step can use online transition process as shown in Figure 2, repeats no more herein.
Step 407, moved online after, the carrier wave to be migrated that the virtual machine on target physical of having moved server runs starts to access new user.
By above-mentioned step 401 ~ 407, the subscriber handover process of mobile communication can be combined with the online transition process of virtual machine, for in base station resource pond when moving the carrier wave that virtual machine runs, high real-time due to mobile communication signal process causes virtual machine cannot complete the problem of migration, first by subscriber handover process the user on the carrier wave to be migrated on virtual machine to be migrated is switched in the switching target carrier of not carrying out moving, and then virtual machine (vm) migration idle after being switched by completing user is on destination server.Due to when the online migration carrying out virtual machine, the user that carrier wave to be migrated on virtual machine to be migrated has not accessed, therefore the memory pages of virtual machine there will not be change in online transition process, so the speed that the memory pages pace of change of virtual machine copies faster than internal memory in transition process also would not be there is, the internal memory reproduction process of the virtual machine in transition process is caused to restrain, to such an extent as to normally cannot complete the problem of online transition process, thus successfully can realize the online migration of virtual machine.
Optionally, in the inventive solutions, after above-mentioned steps 407, step as described below can also be comprised:
Step 408, sends switching command to described switching target carrier.
In this step, carrier wave emigration administrative unit can send switching command to described switching target carrier, can comprise in described switching command: the user profile that need switch and completed the information of the carrier wave to be migrated moved online.Wherein, the described user profile that need switch is the information belonging to the user in carrier wave to be migrated originally be switched in step 404 in described switching target carrier.Described having completed in the information of the carrier wave to be migrated of online migration then can comprise: the address information having completed the carrier wave to be migrated of online migration.
Step 409, described switching target carrier will belong to originally in carrier wave to be migrated according to switching command and the user not completing service be switched to complete online migration carrier wave to be migrated on.
In this step, if the user belonged to originally in carrier wave to be migrated has completed corresponding service, then the user that will not complete service has been switched to and has completed on the online carrier wave to be migrated moved.
Step 410, described switching target carrier return switching according to received switching command and complete response, to inform that subscriber handover process is complete, and report of user switch instances.
Specifically, in this step, described switching target carrier can return switching to carrier wave emigration administrative unit and complete response, to inform that subscriber handover process is complete, and report of user switch instances.
Method described in Fig. 4, the present invention is provided with carrier wave emigration administrative unit in base station resource pond, is performed the process of Fig. 4 by this carrier wave emigration administrative unit.In addition, this carrier wave emigration administrative unit also can independently exist, and being an independently equipment (for arranging separately in Fig. 5), also can being deployed on physical server, can also being deployed on the virtual machine on physical server, not limiting here.The trigger mechanism of the carrier switch that the online migration that this carrier wave emigration administrative unit participates in virtual machine is correlated with and virtual machine (vm) migration, controls all relevant flow operations, collects and the relevant information of maintenance and carrier wave.
The system architecture schematic diagram that the virtual machine that Fig. 5 provides for the embodiment of the present invention moves online, comprising: carrier wave emigration administrative unit, source physical server and target physical server, wherein,
Carrier wave emigration administrative unit, for when needing to move online the virtual machine to be migrated on the physical server of source, select to switch target carrier according to the switching target carrier selection rule preset, the carrier wave to be migrated that instruction operates on virtual machine to be migrated stops the new user of access, the user be linked on carrier wave to be migrated is switched to and switches in target carrier;
Source physical server, under the control of carrier wave emigration administrative unit, moves on target physical server online by the virtual machine to be migrated be carried on the physical server of source.
And target physical server, then under being used in the control of carrier wave emigration administrative unit, by shared storage, the virtual machine completing source physical server moves online.
In the structure shown here, carrier wave emigration administrative unit can be arranged separately, also can be arranged in the virtual machine after the virtual machine in source physical server, target physical server, source physical server and the migration in target physical server, not limit here.
In the structure shown here, source physical server or target physical server comprise multiple virtual machine respectively, unify the hard disk on use source physical server or target physical server, by the virtual machine management program unified management of source physical server or target physical server, each virtual machine independent operating, there are oneself independently operating system and protocol stack, for carrying different carrier waves.
Preferably, in a particular embodiment of the present invention, described carrier wave emigration administrative unit, also for sending switching command to described switching target carrier, indicate described switching target carrier to belong to originally in carrier wave to be migrated and the user not completing service be switched to complete online migration carrier wave to be migrated on, and receive the switching that described switching target carrier returns and complete response.
In addition, in the preferred embodiment, described carrier wave emigration administrative unit, also for the threshold value of the parameters such as the signal intensity according to carrier wave, signal to noise ratio (S/N ratio) size and/distance and default correspondence, judge whether this carrier wave meets the condition that reception has been linked into the whole users on carrier wave to be migrated.
Moreover, in the preferred embodiment, described carrier wave emigration administrative unit, also for before selection switching target carrier, according to the threshold value of the signal intensity of carrier wave to be migrated, the parameter such as signal to noise ratio (S/N ratio) size and/distance and default correspondence, judge whether carrier wave to be migrated meets switching condition.
In addition, in the preferred embodiment, described carrier wave emigration administrative unit, also for before selection switching target carrier, according to the migration trigger condition preset, judges whether to need the virtual machine to be migrated on the physical server of source to move online.
The device schematic diagram that the virtual machine that Fig. 6 provides for the embodiment of the present invention moves online, this device is carrier wave emigration administrative unit, comprising: select module and indicating module, wherein,
Selecting module, for for when needing to move online the virtual machine to be migrated on the physical server of source, selecting to switch target carrier according to the switching target carrier selection rule preset;
Indicating module, is used to indicate the carrier wave to be migrated operated on virtual machine to be migrated and stops the new user of access, the user be linked on carrier wave to be migrated be switched to and switch in target carrier; Also be used to indicate source physical server virtual machine is moved on target physical server online.
Preferably, in the apparatus, described indicating module, also for sending switching command to described switching target carrier, indicate described switching target carrier to belong to originally in carrier wave to be migrated and the user not completing service be switched to complete online migration carrier wave to be migrated on, and receive the switching that described switching target carrier returns and complete response.
Preferably, in a particular embodiment of the present invention, said apparatus also comprises further: determination module.
Described determination module, for the threshold value of the parameters such as the signal intensity according to carrier wave, signal to noise ratio (S/N ratio) size and/distance and default correspondence, judges whether this carrier wave meets the condition that reception has been linked into the whole users on carrier wave to be migrated.
Preferably, described determination module, also for switching before target carrier in selection, according to the threshold value of the parameters such as the signal intensity of carrier wave to be migrated, signal to noise ratio (S/N ratio) size and/distance and default correspondence, judges whether carrier wave to be migrated meets switching condition.
Further, described determination module, also for before selection switching target carrier, according to the migration trigger condition preset, judges whether to need the virtual machine to be migrated on the physical server of source to move online.
From the method that the embodiment of the present invention provides, system and device can be found out, the present invention is in the process of the virtual machine be carried on physical server and the carrier wave operated on described virtual machine being carried out to online migration, for the problem cannot carrying out the online migration of virtual machine of carrying out causing due to the high real-time of carrier wave in transition process, based on the user's handoff technique in mobile communication, first the user on the carrier wave to be migrated on virtual machine to be migrated is switched in the switching target carrier of not carrying out moving, the virtual machine (vm) migration of the carrier wave to be migrated after being switched by completing user again and the free time at this carrier wave place to be migrated is on destination server.Therefore, when the online migration carrying out virtual machine, the user that carrier wave to be migrated on virtual machine to be migrated has not accessed, the memory pages of virtual machine there will not be change in online transition process, so the speed that the memory pages pace of change of virtual machine copies faster than internal memory in transition process also would not be there is, the internal memory reproduction process of the virtual machine in transition process is caused to restrain, to such an extent as to normally cannot complete the problem of online transition process, thus successfully can realize the online migration of virtual machine, solve the online migration problem of the virtual machine in real-time wireless signal processing environment.
More than lift preferred embodiment; the object, technical solutions and advantages of the present invention are further described; be understood that; 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 done, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (18)

1. a virtual machine method of moving online, it is characterized in that, the method comprises:
When needing to move online the virtual machine to be migrated on the physical server of source, select to switch target carrier according to the switching target carrier selection rule preset;
The carrier wave to be migrated operated on virtual machine to be migrated stops the new user of access, the user be linked on carrier wave to be migrated is switched to and switches in target carrier;
Virtual machine to be migrated on the physical server of source is moved on target physical server online.
2. the method for claim 1, is characterized in that, described virtual machine to be migrated on the physical server of source is moved on target physical server online after, the method also comprises further:
The user belonged to originally in carrier wave to be migrated switched in target carrier is switched on the carrier wave to be migrated on the virtual machine to be migrated completing online migration.
3. method as claimed in claim 2, is characterized in that, the described carrier wave to be migrated user belonged to originally in carrier wave to be migrated switched in target carrier be switched on the virtual machine to be migrated completing online migration comprises:
Send switching command to described switching target carrier, described switching command comprises: the user profile that need switch and completed the information of the carrier wave to be migrated moved online;
Described switching target carrier will belong to originally in carrier wave to be migrated according to switching command and the user not completing service be switched to complete online migration carrier wave to be migrated on;
Described switching target carrier returns switching according to received switching command and completes response, to inform that subscriber handover process is complete, and report of user switch instances.
4. the method for claim 1, is characterized in that, described switching target carrier selection rule is:
When other carrier waves that described carrier wave to be migrated also exists in the cell, and have in other carrier waves described and have at least a carrier wave to meet reception when being linked into the condition of the whole users on carrier wave to be migrated, be linked in the carrier wave of the condition of the whole users carrier wave to be migrated from described satisfied reception and selected a carrier wave as switching target carrier;
When described carrier wave to be migrated only has a carrier wave in the cell, although or also there are other carrier waves but other carrier waves all do not meet reception when being linked into the condition of the whole users on carrier wave to be migrated, from the neighbor cell of community, described carrier wave place to be migrated, select a satisfied reception to be linked into the carrier wave of the condition of the whole users on carrier wave to be migrated as switching target carrier.
5. method as claimed in claim 4, it is characterized in that, the method also comprises further:
According to the threshold value of the signal intensity of carrier wave, the parameter such as signal to noise ratio (S/N ratio) size and/distance and default correspondence, judge whether this carrier wave meets the condition that reception has been linked into the whole users on carrier wave to be migrated.
6. method as claimed in claim 5, it is characterized in that, the condition of whole users that described reception has been linked on carrier wave to be migrated is:
The signal intensity switching target carrier is greater than default signal strength threshold value, switch the signal to noise ratio (S/N ratio) of target carrier and be greater than default signal-noise ratio threshold value, and user on carrier wave to be migrated and described switching target carrier distance be between the base stations less than default distance threshold value.
7. the method for claim 1, is characterized in that, before selection switches target carrier, the method also comprises further:
According to the migration trigger condition preset, judge whether to need the virtual machine to be migrated on the physical server of source to move online.
8. method as claimed in claim 7, it is characterized in that, described migration trigger condition is:
The portfolio of the carrier wave to be migrated that virtual machine to be migrated runs is less than the first default portfolio threshold value, and has at least the portfolio that a predetermined physical server carries to be less than the second default portfolio threshold value.
9. a virtual machine system of moving online, it is characterized in that, this system comprises: carrier wave emigration administrative unit, source physical server and target physical server, wherein,
Described carrier wave emigration administrative unit, for when needing to move online the virtual machine to be migrated on the physical server of source, select to switch target carrier according to the switching target carrier selection rule preset, the carrier wave to be migrated that instruction operates on virtual machine to be migrated stops the new user of access, the user be linked on carrier wave to be migrated is switched to and switches in target carrier;
Described source physical server, for moving to target physical server online by the virtual machine to be migrated be carried on the physical server of source.
10. system as claimed in claim 9, is characterized in that:
Described carrier wave emigration administrative unit, also for sending switching command to described switching target carrier, indicate described switching target carrier to belong to originally in carrier wave to be migrated and the user not completing service be switched to complete online migration carrier wave to be migrated on, and receive the switching that described switching target carrier returns and complete response.
11. systems as claimed in claim 9, is characterized in that:
Described carrier wave emigration administrative unit, also for the threshold value of the parameters such as the signal intensity according to carrier wave, signal to noise ratio (S/N ratio) size and/distance and default correspondence, judges whether this carrier wave meets the condition that reception has been linked into the whole users on carrier wave to be migrated.
12. systems as claimed in claim 9, is characterized in that:
Described carrier wave emigration administrative unit, also for switching before target carrier in selection, according to the threshold value of the parameters such as the signal intensity of carrier wave to be migrated, signal to noise ratio (S/N ratio) size and/distance and default correspondence, judges whether carrier wave to be migrated meets switching condition.
13. systems as claimed in claim 9, is characterized in that:
Described carrier wave emigration administrative unit, also for before selection switching target carrier, according to the migration trigger condition preset, judges whether to need the virtual machine to be migrated on the physical server of source to move online.
The device that 14. 1 kinds of virtual machines move online, is characterized in that, this device comprises: select module and indicating module;
Described selection module, for when needing to move online the virtual machine to be migrated on the physical server of source, selects to switch target carrier according to the switching target carrier selection rule preset;
Indicating module, is used to indicate the carrier wave to be migrated operated on virtual machine to be migrated and stops the new user of access, the user be linked on carrier wave to be migrated be switched to and switch in target carrier; Also be used to indicate source physical server virtual machine is moved on target physical server online.
15. devices as claimed in claim 14, is characterized in that:
Described indicating module, also for sending switching command to described switching target carrier, indicate described switching target carrier to belong to originally in carrier wave to be migrated and the user not completing service be switched to complete online migration carrier wave to be migrated on, and receive the switching that described switching target carrier returns and complete response.
16. devices as claimed in claim 14, it is characterized in that, this device also comprises further: determination module;
Described determination module, for the threshold value of the parameters such as the signal intensity according to carrier wave, signal to noise ratio (S/N ratio) size and/distance and default correspondence, judges whether this carrier wave meets the condition that reception has been linked into the whole users on carrier wave to be migrated.
17. devices as claimed in claim 16, is characterized in that:
Described determination module, also for switching before target carrier in selection, according to the threshold value of the parameters such as the signal intensity of carrier wave to be migrated, signal to noise ratio (S/N ratio) size and/distance and default correspondence, judges whether carrier wave to be migrated meets switching condition.
18. devices as claimed in claim 16, is characterized in that:
Described determination module, also for before selection switching target carrier, according to the migration trigger condition preset, judges whether to need the virtual machine to be migrated on the physical server of source to move online.
CN201310652314.5A 2013-12-05 2013-12-05 The method, system and device that a kind of virtual machine migrates online Active CN104699521B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310652314.5A CN104699521B (en) 2013-12-05 2013-12-05 The method, system and device that a kind of virtual machine migrates online

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310652314.5A CN104699521B (en) 2013-12-05 2013-12-05 The method, system and device that a kind of virtual machine migrates online

Publications (2)

Publication Number Publication Date
CN104699521A true CN104699521A (en) 2015-06-10
CN104699521B CN104699521B (en) 2017-12-01

Family

ID=53346687

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310652314.5A Active CN104699521B (en) 2013-12-05 2013-12-05 The method, system and device that a kind of virtual machine migrates online

Country Status (1)

Country Link
CN (1) CN104699521B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105933383A (en) * 2016-04-05 2016-09-07 西安电子科技大学 Virtualization carrier wave migration method based on L3 and L2 layers protocol
CN106793045A (en) * 2017-03-01 2017-05-31 安徽工程大学 Cloud wirelessly networking system and its Energy dissipation method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120202507A1 (en) * 2009-10-20 2012-08-09 Zte Corporation Base band pool device, and method for implementing base band data switch thereof
CN103067428A (en) * 2011-10-21 2013-04-24 华为技术有限公司 Base station and service processing method and cloud computing system
CN103124409A (en) * 2011-11-18 2013-05-29 华为技术有限公司 Base station management system and base station management method
CN103124436A (en) * 2011-11-18 2013-05-29 华为技术有限公司 Wireless communication system, cloud virtual base station and resource scheduling 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
US20120202507A1 (en) * 2009-10-20 2012-08-09 Zte Corporation Base band pool device, and method for implementing base band data switch thereof
CN103067428A (en) * 2011-10-21 2013-04-24 华为技术有限公司 Base station and service processing method and cloud computing system
CN103124409A (en) * 2011-11-18 2013-05-29 华为技术有限公司 Base station management system and base station management method
CN103124436A (en) * 2011-11-18 2013-05-29 华为技术有限公司 Wireless communication system, cloud virtual base station and resource scheduling 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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105933383A (en) * 2016-04-05 2016-09-07 西安电子科技大学 Virtualization carrier wave migration method based on L3 and L2 layers protocol
CN105933383B (en) * 2016-04-05 2019-01-15 西安电子科技大学 Virtualization carrier wave emigration method based on L3 and L2 layer protocol
CN106793045A (en) * 2017-03-01 2017-05-31 安徽工程大学 Cloud wirelessly networking system and its Energy dissipation method

Also Published As

Publication number Publication date
CN104699521B (en) 2017-12-01

Similar Documents

Publication Publication Date Title
CN110536342B (en) Network mode control method, terminal and storage medium
CN108322937B (en) Resource allocation method and orchestrator for network slices in a radio access network
CN107690822B (en) Method, apparatus, system and computer readable storage medium for network management
CN110139289B (en) Scheduling method and scheduling system
US10827430B2 (en) Signaling for controlling power usage in radio access networks
US8977325B2 (en) Method and system for processing cell sleeping
CN104023335A (en) SDN (Software Defined Network)-based heterogeneous network convergence framework
CN102098728B (en) Mobile load balancing method
CN102892089B (en) Message pushing method, device and system
US20240114402A1 (en) Handover method, handover device, and network system
CN103582040B (en) A kind of information transferring method and device thereof
CN102396257B (en) Method, system and device of energy saving for base stations
EP2811764A1 (en) Method and device for mbms receipt and capability transmission
CN102595529B (en) Switching method and switching system based on multipoint coordination
CN103404198A (en) Method and apparatus for communicating neighbor cells
EP2704493A1 (en) Capacity stations activation method, wireless communication device and system
CN103974350A (en) Switching method for self-adaptive threshold adjustment
CN102740326A (en) Managing method and device for processing resources in BBU
CN104080136B (en) A kind of method and apparatus for being used to realize the dynamic migration of virtual base station in BBU ponds
CN102487535B (en) Support cell switching control method and the equipment of multi-communication standard wireless communication terminal
CN105210409A (en) Method and apparatus for controlling a signal path of a radio communication
CN106888475A (en) The processing method of wireless standard, device and base station
CN101420741A (en) Method for implementing carrier control
CN102740426A (en) Base station energy-saving method, device and system
JP2023539132A (en) Control method for shared mode of base station, shared base station and communication system

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