CN103577249A - Method and system for virtual machine online migration - Google Patents

Method and system for virtual machine online migration Download PDF

Info

Publication number
CN103577249A
CN103577249A CN201310571172.XA CN201310571172A CN103577249A CN 103577249 A CN103577249 A CN 103577249A CN 201310571172 A CN201310571172 A CN 201310571172A CN 103577249 A CN103577249 A CN 103577249A
Authority
CN
China
Prior art keywords
migration
data
virtual machine
disk block
machine memory
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
CN201310571172.XA
Other languages
Chinese (zh)
Other versions
CN103577249B (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.)
Institute of Computing Technology of CAS
Original Assignee
Institute of Computing Technology of CAS
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 Institute of Computing Technology of CAS filed Critical Institute of Computing Technology of CAS
Priority to CN201310571172.XA priority Critical patent/CN103577249B/en
Publication of CN103577249A publication Critical patent/CN103577249A/en
Application granted granted Critical
Publication of CN103577249B publication Critical patent/CN103577249B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a method for virtual machine online migration. The migration priority of a virtual machine is set according to the updating hot degree of an internal storage page and a magnetic disc piece. According to the internal storage page and the magnetic disc piece of the virtual machine needing migration, migration of the virtual machine is conducted according to the sequence of the migration priority from high to low, and data in the virtual machine are copied into a target side until the total quantity of the data needing migration in a virtual machine internal storage and a magnetic disc is smaller than a preset halt threshold value; operation of the virtual machine is paused and the data needing migration in the virtual machine internal storage and the magnetic disc are copied into the target side at a time. According to the method, useless migration data generated in the process of online migration of the virtual machine can be reduced, so that resources of a network bandwidth, a host machine CPU, the internal storage and the like are saved, virtual machine online migration which cannot be accomplished or is difficult to accomplish in a reasonable time can be found in time, a user or a manager can take corresponding measures, and therefore the user efficiency of the resources and the quality of a cloud service on the cloud computing environment are improved.

Description

The online moving method of virtual machine and system
Technical field
The present invention relates to cloud computing technology, relate in particular to the online moving method of virtual machine.
Background technology
The online migration of virtual machine is the important support mechanism of cloud computing resources scheduling.The pre-copy technology (PreCopy) that extensively adopts existing virtual machine realizes migration online, has copied the migration of virutal machine memory and data in magnetic disk by three-wheel data.The first round is called " copy entirely " stage, is about to virutal machine memory and data in magnetic disk and copies from the beginning to the end migration destination end to; Second takes turns and is called " increment copy " stage, on the basis of " full copy ", copy those and be modified the memory pages that upgraded and disk block to migration destination end, until the data volume of remaining memory pages and disk block is less than predefined threshold value (sometimes also can be called shutdown threshold); Third round is called " shutting down copy " stage, by " increment copy ", remaining data volume to be migrated is less than after certain threshold value, suspends the operation of virtual machine, all copies remaining data to migration destination end once.In the online migrating technology of existing virtual machine, the first round and second takes turns data copy and can copy from the beginning to the end without distinction data to be migrated, this will cause memory pages or the disk block that those renewal frequencies are higher repeatedly to be copied to migration destination end, and the repeatedly migration data of same memory pages or disk block copy only to have be up-to-date valid data for the last time, data copy before all can progressively be override, and therefore can be described as " invalid migration data ".
The online migrating technology of existing virtual machine has caused a large amount of invalid migration datas, and the higher invalid migration data of the renewal frequency of the virutal machine memory page and disk block is more.Under cloud computing environment, a large amount of invalid data migration operation can be wasted the shared resources such as the network bandwidth, CPU, internal memory, affect quality and the resource utilization of cloud service.In addition, if do not restrained for a long time by the migration internal memory of virtual machine and the more amount of new data of disk, cause on the one hand the unpredictable of migration deadline, produce on the other hand a large amount of invalid migration datas, and in the online migrating technology of existing virtual machine, can not find in time this situation and then effectively intervene.
Summary of the invention
Therefore, the object of the invention is to overcome the defect of above-mentioned prior art, provide a kind of virtual machine online moving method.
The object of the invention is to be achieved through the following technical solutions:
On the one hand, the invention provides the online moving method of a kind of virtual machine, comprising:
Step 1, for the virutal machine memory page and disk block to be migrated, according to its migration priority order from high to low, move, copy data wherein to destination end, until data total amount to be migrated is less than predefined shutdown threshold in virutal machine memory and disk; Wherein, the migration priority of the virutal machine memory page and disk block is according to the renewal temperature of the virutal machine memory page and disk block is arranged, and upgrades temperature lower, and migration priority is higher;
Step 2, suspends the operation of virtual machine, by the disposable destination end that copies to of data to be migrated in virutal machine memory and disk.
In said method, described step 1 also can comprise the migration priority of dynamically adjusting the virutal machine memory page/disk block along with the change of the renewal temperature of the virutal machine memory page/disk block.
In said method, described step 1 also can comprise the virutal machine memory page/disk block renewal frequency of the nearest phase of history of regular statistics in the time, and the page/disk block of the virutal machine memory in time renewal frequency statistics arranges the renewal temperature of the virutal machine memory page/disk block according to nearest phase of history.
In said method, described renewal temperature can be come to determine through the following steps:
For a virutal machine memory page/disk block, each Data Migration periodic recording is the update status of this virutal machine memory page/disk block once, if this memory pages/disk block was updated, is just designated as 1, otherwise is designated as 0;
The update status of this virutal machine memory page/disk block that nearest n Data Migration cycle recorded is sued for peace, and the current renewal temperature using gained summation as this memory pages/disk block; Wherein the Data Migration cycle is the continuous data copy time in the online transition process of virtual machine.
In said method, described step 1 also can be included in each Data Migration cycle and recalculate renewal temperature and the migration priority based on upgrading temperature and adjust the virutal machine memory page and disk block of the virutal machine memory page and disk block before starting.
In said method, the migration priority of virtual machine disk block can be set to the migration priority higher than the virutal machine memory page, and each disk block/memory pages is initialized as identical migration priority.
In said method, described step 1 also can comprise: detect in real time virtual machine and whether have renewal hot spot data collection, described renewal hot spot data collection refers to that in a period of time, it upgrades the set that temperature continues the higher virutal machine memory page or disk block composition; And whether the data volume summation that detects this renewal hot spot data collection is higher than predefined shutdown threshold, if surpass shutdown threshold, suspends the migration of upgrading the concentrated data block of hot spot data.
In said method, described step 1 also can comprise based on to remaining the prediction of the convergent tendency of data total amount to be migrated in virtual machine (vm) migration process, judges whether to move online completing virtual machine within reasonable time; If determined, can not complete the online migration operation of virtual machine within reasonable time, point out user or keeper to reduce the load in virtual machine or abandon this migration operation.
In said method, to remaining the prediction of the convergent tendency of data total amount to be migrated in virtual machine (vm) migration process, can comprise: record the residue data total amount to be migrated after each Data Migration end cycle; Check whether this sequence meets the trend of monotone decreasing substantially, if so, predict the outcome as restraining; Otherwise for not restraining.
Another aspect, the invention provides the online migratory system of a kind of virtual machine, comprising:
Iteration copy device, be used for for the virutal machine memory page and disk block to be migrated, according to its migration priority order from high to low, move, copy data wherein to destination end, until data total amount to be migrated is less than predefined shutdown threshold in virutal machine memory and disk; Wherein, the migration priority of the virutal machine memory page and disk block is according to the renewal temperature of the virutal machine memory page and disk block is arranged, and upgrades temperature lower, and migration priority is higher;
Shut down copy device, for suspend the operation of virtual machine when virutal machine memory and disk data total amount to be migrated are less than predefined shutdown threshold, by the disposable destination end that copies to of data to be migrated in virutal machine memory and disk.
Compared with prior art, the invention has the advantages that:
Reduced in a large number the invalid migration data producing in the online transition process of virtual machine, thereby save the resources such as the network bandwidth, host CPU, internal memory, and can also find in time to complete or to be difficult in the online migration operation of the virtual machine completing within reasonable time, so that user or keeper take appropriate measures, avoid the undying migration operation to wait for, improved the quality of resource utilization and cloud service under cloud computing environment.
Accompanying drawing explanation
Referring to accompanying drawing, embodiments of the present invention is further illustrated, wherein:
Fig. 1 for according to the embodiment of the present invention for predicting that the virutal machine memory page/disk block upgrades the schematic diagram of the slip historical time window of temperature;
Fig. 2 is according to the schematic flow sheet in iterative data copy stage in the online moving method of the virtual machine of the embodiment of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage are clearer, and below in conjunction with accompanying drawing, by specific embodiment, the present invention is described in more detail.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
In the online moving method of traditional virtual machine mentioned above, higher memory pages or the disk block of renewal frequency (also can be called and upgrade temperature) repeatedly copied to migration destination end, and the repeatedly migration data of same memory pages or disk block copy only to have be up-to-date valid data for the last time, data copy before all can progressively be override, thereby produces invalid migration data.The higher invalid migration data producing of renewal frequency of the virutal machine memory page and disk block is more.
In one embodiment of the invention, provide a kind of virtual machine online moving method.The renewal temperature of the method based on the virutal machine memory page and disk block arranges the migration priority of the virutal machine memory page and disk block, upgrade temperature lower, migration priority is higher, and according to the migration priority order migration virutal machine memory page and disk block from high to low.The migration priority that the method makes to upgrade memory pages that temperature is higher and disk block is lower, thereby reduces the migration number of times of this type of page, and then reduces invalid migration data.The online moving method of this virtual machine can comprise iterative data copy and shut down data two stages of copy.In the iterative data copy stage; for the virutal machine memory page and disk block to be migrated; according to its migration priority order from high to low, move; copy data wherein to destination end, until enter when data total amount to be migrated is less than predefined shutdown threshold in virutal machine memory and disk, shut down the data copy stage.Shutting down the data copy stage, suspend the operation of virtual machine, by the disposable destination end that copies to of data to be migrated in virutal machine memory and disk.
Before each stage detail of the method is discussed, several concepts below paper: (1) Data Migration cycle: refer to the continuous data copy time in the online transition process of virtual machine.Because the online migration of virtual machine is often subject to the quota restrictions of concrete network bandwidth aspect, with reasonable shared network bandwidth resources, while therefore carrying out data copy, the disposable data volume that mails to network interface can not surpass predetermined threshold value.When mailing to the data volume of network interface and reach predetermined threshold value, data copy is suspended a period of time.Because this threshold value is fixed, so the Data Migration cycle is also a substantially invariable time.(2) the dirty page/dirty disk block: if the virutal machine memory page/disk block was upgraded by client operating system and was not migrated to destination end, be called the dirty page/dirty disk block.(3) upgrade temperature: reflection be the update status of the virutal machine memory page/disk block.It is high that the virutal machine memory page/disk block upgrades temperature, illustrates that it is by frequent updating, and the virutal machine memory page/disk block renewal temperature is low, and its less being updated is described.Conventionally the renewal temperature of virutal machine memory will be higher than the renewal temperature of virtual machine disk block.In one example, can be by starting the virutal machine memory page/disk block renewal frequency statistics in a period of time before migration at virtual machine and be used as the renewal temperature of the virutal machine memory page/disk block, so that the migration priority of memory pages to be migrated and disk block to be set.But as mentioned above, virtual machine (vm) migration process is not one step completed, but may just complete through all after dates of a plurality of Data Migrations.In virtual machine (vm) migration process, each virutal machine memory page/disk block upgrades temperature and also may change.Because the renewal temperature of following a period of time and the update status in the past period are closely related, for migration priority is set more accurately, In yet another embodiment, can be in virtual machine (vm) migration process, regularly add up the virutal machine memory page/disk block renewal frequency of nearest phase of history in the time, the virutal machine memory page/disk block renewal frequency statistics according to nearest phase of history in the time, the renewal temperature of the virutal machine memory page/disk block of predict future in a period of time, thereby as the memory pages of selecting to be moved and the reference frame of disk block, and can be in virtual machine (vm) migration process, along with the migration priority of the virutal machine memory page/disk block is dynamically adjusted in the change of the renewal temperature of the virutal machine memory page/disk block.
In one embodiment of the invention, provide a kind of virutal machine memory page/disk block based on slip historical time window to upgrade temperature Forecasting Methodology, by the historical update status of memory pages/disk block, predicted the renewal temperature in ensuing a period of time.Fig. 1 for according to the embodiment of the present invention for predicting that the virutal machine memory page/disk block upgrades the schematic diagram of the slip historical time window of temperature.As shown in Figure 1, the unit of slip historical time window sliding is a Data Migration cycle, before starting, can record the update status of each memory pages and disk block since one-period in each Data Migration cycle, for example, if memory pages or disk block were updated in upper one-period, in the nearest position of seasonal effect in time series, record " 1 ", otherwise record " 0 ".Next by window to position of front slide, abandon more new record the most remote, receive up-to-date more new record, and recalculate the renewal temperature of this memory pages/disk block, and the migration priority of adjusting this memory pages/disk block according to the variation of upgrading temperature.Slip historical time length of window W is actual is the integral multiple of Data Migration cycle P, i.e. W=n*P, and n is positive integer.The length of slip historical time window can be set according to system actual conditions.As shown in Figure 1, n=7, the tentation data migration cycle is 2 seconds, so for a memory pages/disk block, the every 2 seconds records update status of this memory pages/disk block once, during as long as this memory pages/disk block was updated, be just designated as 1, otherwise be designated as 0.This slip historical time window has comprised nearest 2*7=14 second of the interior more new record to this memory pages/disk block.The more new record covering based on slip historical time window calculates the renewal temperature of this memory pages/disk block.For example, the more new record that can cover slip historical time window is sued for peace, the renewal temperature using its total value as this memory pages/disk block.As shown in Figure 1, in n Data Migration cycle, the renewal temperature of this memory pages/disk block is 1+0+0+0+1+1+1=4.In the more new record that again for example, can cover based on slip historical time window, 0 and 1 distribution situation arranges the renewal temperature of memory pages/disk block.For example, suppose to upgrade and be recorded as 0001111 in window, illustrate that this this memory pages/disk block recent visit is more, it upgrades temperature and can be set to higher.Again for example, suppose to upgrade and be recorded as 1110000 in window, illustrate that this memory pages/disk block recent visit is less, it upgrades temperature and can be set to lower.Should point out, the calculating of the statistics of above-mentioned update status and renewal temperature is only illustrational object, but not carries out any restriction.Those skilled in the art also can mode come the virutal machine memory page/disk block renewal frequency statistics of the nearest phase of history of basis in the time that the renewal temperature of the virutal machine memory page/disk block is set.
In one embodiment, at virtual machine (vm) migration initial phase, can be as described above, initial value based on starting the virutal machine memory page/disk block renewal frequency statistics in a period of time before migration at virtual machine and calculate the renewal temperature of the virutal machine memory page/disk block, to arrange the initial migration priority of memory pages to be migrated and disk block.Then in the process of virtual machine (vm) migration, utilize the above-mentioned virutal machine memory page based on slip historical time window as mentioned above/disk block to upgrade temperature Forecasting Methodology and calculate the migration priority that the current virutal machine memory page/disk block upgrades temperature the corresponding adjustment virutal machine memory page/disk block.
In yet another embodiment, at virtual machine (vm) migration initial phase, the migration priority of virtual machine disk block is set to the migration priority memory pages higher than the virutal machine memory page, and each disk block/memory pages is initialized as identical migration priority.
As mentioned above, according to the online moving method of the virtual machine of the embodiment of the present invention, can comprise iterative data copy and shut down data two stages of copy.In the iterative data copy stage, for the virutal machine memory page and disk block to be migrated, according to its migration priority order from high to low, move, copy data wherein to destination end.Fig. 2 is the schematic flow sheet in iterative data copy stage in the online moving method of virtual machine according to an embodiment of the invention.As shown in Figure 2, when starting to move, judge whether migration data amount reaches threshold value, be actually and judge whether this Data Migration cycle finishes.This threshold value can arrange with system status according to the actual requirements flexibly.If reach threshold value, illustrate that this Data Migration cycle finishes, need to wait for after regular time, start next Data Migration cycle.If do not reach threshold value, from memory pages to be migrated and disk block, select memory pages/disk block that migration priority is the highest, copy the data in selected memory pages/disk block to destination end.Can adopt a lot of modes to select the memory pages/disk block that will move.For example, memory pages to be migrated and disk block can be formed to a queue from high in the end by migration priority.Again for example, memory pages to be migrated can be formed to a queue from high in the end by migration priority, and disk block to be migrated is formed to a queue from high in the end by migration priority.In another example, identical memory pages and/or the disk block of migration priority can be arranged in same priority queue, identical memory pages/the disk block of different migration priority, in different priority, then according to priority scans each priority query from high to low.Data in selected memory pages/disk block are being copied to after destination end, can this memory pages/disk block from the set of the virutal machine memory page to be migrated and disk block or queue, removing.If during virtual machine (vm) migration, this memory pages/disk block is upgraded again, this memory pages/disk block can be added in the set or queue of the virutal machine memory page to be migrated and disk block again.
Continuation is with reference to figure 2, if migration data amount reaches threshold value, illustrates that this Data Migration cycle finishes, need to wait for regular time after starting the new Data Migration cycle, proceed above-mentioned transition process.Said process constantly repeats, until when data total amount to be migrated is less than predefined shutdown threshold in virutal machine memory and disk, enters and shut down the data copy stage.In yet another embodiment, the online moving method of this virtual machine can also recalculate the renewal temperature of the virutal machine memory page and disk block and the migration priority of adjusting the virutal machine memory page and disk block based on renewal temperature before each Data Migration cycle starts.For example, adopt the virutal machine memory page based on slip historical time window mentioned above/disk block to upgrade temperature Forecasting Methodology before each Data Migration cycle starts, the update status of each memory pages and disk block since one-period on record, if memory pages or disk block were upgraded by client operating system in upper one-period, in the nearest position of seasonal effect in time series, record " 1 ", otherwise record " 0 ".Next by window to position of front slide, cover nearest position, abandon the record of position at most, then, recalculate the renewal temperature of this memory pages/disk block, and the migration priority of adjusting this memory pages/disk block according to the variation of upgrading temperature.The mode of a plurality of priority queries mentioned above of take is example, if this memory pages/disk block is one " the dirty page/dirty disk block ", and in this page/disk block Wei priority query, according to its up-to-date migration priority, this page/disk block is joined in corresponding priority query; If this page/disk block is in priority query, and the migration priority of its up-to-date migration priority and upper one-period is not etc., is moved on in corresponding priority query; If not being one, this page " in the dirty page/dirty disk block ”, Ze Jiangqicong priority query, do not remove (if before in priority query).
By above-mentioned iterative data copy procedure, can make virutal machine memory or disk data volume to be migrated be less than predefined shutdown threshold, can copy migration destination end within the enough short time, just can enter into and shut down the data copy stage.Shutting down the data copy stage, suspend the operation of virtual machine, by the disposable destination end that copies to of data to be migrated in virutal machine memory and disk.Wherein shutdown threshold can arrange with the resource situation of system according to the actual requirements.
In yet another embodiment, the online moving method of this virtual machine can also detect in real time virtual machine and whether have renewal hot spot data collection.The so-called hot spot data collection that upgrades, refers to that it (can be for example higher than predefined certain threshold value that interior renewal of a period of time temperature continues higher; Again for example, the average renewal temperature of certain data block within a period of time is greater than half of moving window size) virutal machine memory or the set that forms of data in magnetic disk piece.After find upgrading hot spot data collection, by the size that further detects this data set whether higher than predefined shutdown threshold.If upgrade the data volume summation of hot spot data collection, surpass shutdown threshold; suspend the migration of this part virutal machine memory page and disk block (upgrading the concentrated data block of hot spot data); until reducing, the renewal temperature of some data block makes to upgrade the data volume that hot spot data collection size is less than the permission of shutdown copy; thereby make virtual machine (vm) migration enter shutdown migration phase, property is moved this part data again.Like this, the data copy mode that does not add differentiation in the online moving method of traditional virtual machine can significantly be saved the resources such as the network bandwidth, CPU, internal memory, meanwhile, can't extend the transit time of virtual machine.
Under cloud computing environment, the online migration of virtual machine is the basic means of cloud scheduling of resource, and scheduling of resource often has comparatively strict ageing requirement, thereby there is higher requirement the deadline of migration online to virtual machine.If the online migration of virtual machine can not complete within the time that be scheduled to, rational, cannot complete effective scheduling of resource, thereby affect the quality of cloud service.The online transition process of traditional virtual machine is opaque for user or keeper, and whether keeper is cannot predict operation can successfully or in how long can complete after submitting online migration operation to.
Therefore, in according to still another embodiment of the invention, the online moving method of virtual machine can also predict that can virtual machine complete online migration operation, if predicted, can not complete online migration operation within reasonable time, point out user or keeper to reduce the load in virtual machine or abandon this migration.Thereby, for those, cannot complete or cannot can feed back in time user or keeper in the online migration operation of the virtual machine completing within reasonable time, to take corresponding counter-measure, to meet the ageing requirement of cloud scheduling of resource.For virtual machine, can be mainly the prediction based on remaining the convergent tendency of data total amount to be migrated in to virtual machine (vm) migration process in the prediction that completes within reasonable time online migration, anticipation trend can be restrained if within reasonable time, judgment result is that and can complete online migration, otherwise judgment result is that and can not complete online migration.Concrete prediction algorithm can be for example: by recording the residue data total amount to be migrated after each Data Migration end cycle, check whether this sequence of values meets the trend of monotone decreasing substantially, if so, predict the outcome as restraining; Otherwise for not restraining.
In yet another embodiment of the present invention, also provide a kind of virtual machine online migratory system, comprised iteration copy device and shut down copy device.Wherein, iteration copy device is used for for the virutal machine memory page and disk block to be migrated; according to its migration priority order from high to low, move, copy data wherein to destination end, until data total amount to be migrated is less than predefined shutdown threshold in virutal machine memory and disk.Shut down copy device for suspend the operation of virtual machine when virutal machine memory and disk data total amount to be migrated are less than predefined shutdown threshold, by the disposable destination end that copies to of data to be migrated in virutal machine memory and disk.
By the invention described above specific embodiment, can reduce the invalid migration data producing in the online transition process of virtual machine, thereby save the resources such as the network bandwidth, host CPU, internal memory, and can also find in time to complete or to be difficult in the online migration operation of the virtual machine completing within reasonable time, so that user or keeper take appropriate measures, avoid the undying migration operation to wait for, improved the quality of resource utilization and cloud service under cloud computing environment.
Although the present invention is described by preferred embodiment, yet the present invention is not limited to embodiment as described herein, also comprises without departing from the present invention various changes and the variation done.

Claims (10)

1. the online moving method of virtual machine, comprising:
Step 1, for the virutal machine memory page and disk block to be migrated, according to its migration priority order from high to low, move, copy data wherein to destination end, until data total amount to be migrated is less than predefined shutdown threshold in virutal machine memory and disk; Wherein, the migration priority of the virutal machine memory page and disk block is according to the renewal temperature of the virutal machine memory page and disk block is arranged, and upgrades temperature lower, and migration priority is higher;
Step 2, suspends the operation of virtual machine, by the disposable destination end that copies to of data to be migrated in virutal machine memory and disk.
2. method according to claim 1, described step 1 also comprises the migration priority of dynamically adjusting the virutal machine memory page/disk block along with the change of the renewal temperature of the virutal machine memory page/disk block.
3. method according to claim 1 and 2, described step 1 also comprises the virutal machine memory page/disk block renewal frequency of the nearest phase of history of regular statistics in the time, and the page/disk block of the virutal machine memory in time renewal frequency statistics arranges the renewal temperature of the virutal machine memory page/disk block according to nearest phase of history.
4. method according to claim 3, described renewal temperature is to come through the following steps to determine:
For a virutal machine memory page/disk block, each Data Migration periodic recording is the update status of this virutal machine memory page/disk block once, if this memory pages/disk block was updated, is just designated as 1, otherwise is designated as 0;
The update status of this virutal machine memory page/disk block that nearest n Data Migration cycle recorded is sued for peace, and the current renewal temperature using gained summation as this memory pages/disk block; Wherein the Data Migration cycle is the continuous data copy time in the online transition process of virtual machine.
5. method according to claim 4, described step 1 is also included in each Data Migration cycle and recalculates renewal temperature and the migration priority based on upgrading temperature and adjust the virutal machine memory page and disk block of the virutal machine memory page and disk block before starting.
6. method according to claim 1, wherein the migration priority of virtual machine disk block is set to the migration priority higher than the virutal machine memory page, and each disk block/memory pages is initialized as identical migration priority.
7. method according to claim 1, described step 1 also comprises: detect in real time virtual machine and whether have renewal hot spot data collection, described renewal hot spot data collection refers to that in a period of time, it upgrades the set that temperature continues the higher virutal machine memory page or disk block composition; And whether the data volume summation that detects this renewal hot spot data collection is higher than predefined shutdown threshold, if surpass shutdown threshold, suspends the migration of upgrading the concentrated data block of hot spot data.
8. method according to claim 1, described step 1 also comprises based on to remaining the prediction of the convergent tendency of data total amount to be migrated in virtual machine (vm) migration process, judges whether to move online completing virtual machine within reasonable time; If determined, can not complete the online migration operation of virtual machine within reasonable time, point out user or keeper to reduce the load in virtual machine or abandon this migration operation.
9. method according to claim 8, wherein comprises remaining the prediction of the convergent tendency of data total amount to be migrated in virtual machine (vm) migration process: record the residue data total amount to be migrated after each Data Migration end cycle; Check whether this sequence meets the trend of monotone decreasing substantially, if so, predict the outcome as restraining; Otherwise for not restraining.
10. the online migratory system of virtual machine, comprising:
Iteration copy device, be used for for the virutal machine memory page and disk block to be migrated, according to its migration priority order from high to low, move, copy data wherein to destination end, until data total amount to be migrated is less than predefined shutdown threshold in virutal machine memory and disk; Wherein, the migration priority of the virutal machine memory page and disk block is according to the renewal temperature of the virutal machine memory page and disk block is arranged, and upgrades temperature lower, and migration priority is higher;
Shut down copy device, for suspend the operation of virtual machine when virutal machine memory and disk data total amount to be migrated are less than predefined shutdown threshold, by the disposable destination end that copies to of data to be migrated in virutal machine memory and disk.
CN201310571172.XA 2013-11-13 2013-11-13 The online moving method of virtual machine and system Active CN103577249B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310571172.XA CN103577249B (en) 2013-11-13 2013-11-13 The online moving method of virtual machine and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310571172.XA CN103577249B (en) 2013-11-13 2013-11-13 The online moving method of virtual machine and system

Publications (2)

Publication Number Publication Date
CN103577249A true CN103577249A (en) 2014-02-12
CN103577249B CN103577249B (en) 2017-06-16

Family

ID=50049094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310571172.XA Active CN103577249B (en) 2013-11-13 2013-11-13 The online moving method of virtual machine and system

Country Status (1)

Country Link
CN (1) CN103577249B (en)

Cited By (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123171A (en) * 2014-06-10 2014-10-29 浙江大学 Virtual machine migrating method and system based on NUMA architecture
CN104216784A (en) * 2014-08-25 2014-12-17 杭州华为数字技术有限公司 Hotspot balance control method and related device
CN104268003A (en) * 2014-09-30 2015-01-07 南京理工大学 Memory state migration method applicable to dynamic migration of virtual machine
CN104683444A (en) * 2015-01-26 2015-06-03 电子科技大学 Data migration method for multiple virtual machines in data center
CN104754033A (en) * 2015-03-02 2015-07-01 同济大学 Method for realizing online migration based on bidirectional pipeline manner under NDN (Named Data Networking)
CN104852789A (en) * 2014-02-17 2015-08-19 中国移动通信集团公司 Carrier wave migration method, digital front end, base-band pool and carrier wave migration system
CN105094700A (en) * 2015-07-15 2015-11-25 浪潮(北京)电子信息产业有限公司 Calculation method and device for data temperature value in cloud storage system based on tiered storage
CN105389136A (en) * 2015-12-24 2016-03-09 广东石油化工学院 Online migration method for virtual machine
CN105824846A (en) * 2015-01-09 2016-08-03 阿里巴巴集团控股有限公司 Data migration method and device
CN105955837A (en) * 2015-05-21 2016-09-21 中国科学院计算技术研究所 Fault tolerant memory synchronization method and system of virtual machine
CN105955809A (en) * 2016-04-25 2016-09-21 深圳市万普拉斯科技有限公司 Thread scheduling method and system
CN106326301A (en) * 2015-07-02 2017-01-11 富士通株式会社 Information processing apparatus and method
CN106469085A (en) * 2016-08-31 2017-03-01 北京航空航天大学 The online migration method, apparatus and system of virtual machine
WO2017049617A1 (en) * 2015-09-25 2017-03-30 Intel Corporation Techniques to select virtual machines for migration
CN106874070A (en) * 2017-02-24 2017-06-20 郑州云海信息技术有限公司 The moving method and device of a kind of virtual machine
CN107133093A (en) * 2017-06-02 2017-09-05 郑州云海信息技术有限公司 The online moving method and device of a kind of virtual machine
CN107506234A (en) * 2017-07-03 2017-12-22 北京东土科技股份有限公司 A kind of dispatching method of virtual machine and device
CN107643937A (en) * 2016-07-22 2018-01-30 北京金山云网络技术有限公司 A kind of virtual machine monitor upgrade method and device
CN107832119A (en) * 2017-11-20 2018-03-23 浙江网新恒天软件有限公司 A kind of KVM live migration of virtual machine optimization methods for reducing internal memory and repeating copy
CN108205424A (en) * 2017-12-29 2018-06-26 北京奇虎科技有限公司 Data migration method, device and electronic equipment based on disk
CN108763247A (en) * 2018-03-29 2018-11-06 阿里巴巴集团控股有限公司 The method and device of user's request is handled in data migration process
CN108776617A (en) * 2018-06-08 2018-11-09 山东超越数控电子股份有限公司 It is a kind of that target identification method is prefetched based on access frequency and dynamic priority
CN108989127A (en) * 2018-08-15 2018-12-11 中科边缘智慧信息科技(苏州)有限公司 User roams and with chance cut-in method between multiple data centers
CN109597671A (en) * 2018-12-11 2019-04-09 国云科技股份有限公司 A kind of desktop cloud implementation method being compatible with centralized and distributed operation
CN110134492A (en) * 2019-04-18 2019-08-16 华中科技大学 A kind of non-stop-machine memory pages migratory system of isomery memory virtual machine
CN110737512A (en) * 2019-10-25 2020-01-31 北京浪潮数据技术有限公司 Cross-platform virtual machine online migration method and related components
CN111324413A (en) * 2018-12-14 2020-06-23 中移(杭州)信息技术有限公司 Data migration method and data migration management equipment
CN111580932A (en) * 2020-05-12 2020-08-25 西安交通大学 Virtual machine disk online migration redundancy removing method
CN111611055A (en) * 2020-05-27 2020-09-01 上海有孚智数云创数字科技有限公司 Virtual equipment optimal idle time migration method and device and readable storage medium
CN111736754A (en) * 2019-03-25 2020-10-02 杭州海康威视系统技术有限公司 Data migration method and device
CN111858469A (en) * 2020-07-24 2020-10-30 成都成信高科信息技术有限公司 Self-adaptive hierarchical storage method based on time sliding window
CN112559119A (en) * 2019-09-25 2021-03-26 阿里巴巴集团控股有限公司 Virtual machine migration method and device, electronic equipment and storage medium
WO2021057759A1 (en) * 2019-09-25 2021-04-01 阿里巴巴集团控股有限公司 Memory migration method, device, and computing apparatus
CN112764660A (en) * 2019-10-21 2021-05-07 伊姆西Ip控股有限责任公司 Method, apparatus, and computer-readable storage medium for data migration
WO2021174698A1 (en) * 2020-03-04 2021-09-10 平安科技(深圳)有限公司 Virtual machine snapshot creation method and apparatus, and storage medium and computer device
CN114490566A (en) * 2021-12-10 2022-05-13 苏州浪潮智能科技有限公司 Cluster data migration method and device, computer equipment and storage medium
CN116893893A (en) * 2023-09-08 2023-10-17 北京翼辉信息技术有限公司 Virtual machine scheduling method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102455942A (en) * 2010-12-02 2012-05-16 中标软件有限公司 Method and system for dynamic migration of WAN virtual machines
US20120137098A1 (en) * 2010-11-29 2012-05-31 Huawei Technologies Co., Ltd. Virtual storage migration method, virtual storage migration system and virtual machine monitor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120137098A1 (en) * 2010-11-29 2012-05-31 Huawei Technologies Co., Ltd. Virtual storage migration method, virtual storage migration system and virtual machine monitor
CN102455942A (en) * 2010-12-02 2012-05-16 中标软件有限公司 Method and system for dynamic migration of WAN virtual machines

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JOHANTORDSSON ET AL.: "《High performance live migration through dynamic page transfer reordering and compression》", 《2011 THIRD IEEE INTERNATIONAL CONFERENCE ON CLOUD COMPUTING TECHNOLOGY AND SCIENCE》 *
孙国飞 等: "《基于预拷贝的虚拟机动态内存迁移机制改进》", 《计算机工程》 *

Cited By (57)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104852789B (en) * 2014-02-17 2019-06-25 中国移动通信集团公司 A kind of carrier wave emigration method, digital front-end, baseband pool and carrier wave emigration system
CN104852789A (en) * 2014-02-17 2015-08-19 中国移动通信集团公司 Carrier wave migration method, digital front end, base-band pool and carrier wave migration system
CN104123171B (en) * 2014-06-10 2017-05-10 浙江大学 Virtual machine migrating method and system based on NUMA architecture
CN104123171A (en) * 2014-06-10 2014-10-29 浙江大学 Virtual machine migrating method and system based on NUMA architecture
CN104216784A (en) * 2014-08-25 2014-12-17 杭州华为数字技术有限公司 Hotspot balance control method and related device
CN104216784B (en) * 2014-08-25 2018-01-23 杭州华为数字技术有限公司 Focus balance control method and relevant apparatus
CN104268003A (en) * 2014-09-30 2015-01-07 南京理工大学 Memory state migration method applicable to dynamic migration of virtual machine
CN104268003B (en) * 2014-09-30 2017-11-14 南京理工大学 A kind of internal storage state moving method suitable for dynamic migration of virtual machine
CN105824846A (en) * 2015-01-09 2016-08-03 阿里巴巴集团控股有限公司 Data migration method and device
CN104683444A (en) * 2015-01-26 2015-06-03 电子科技大学 Data migration method for multiple virtual machines in data center
CN104754033A (en) * 2015-03-02 2015-07-01 同济大学 Method for realizing online migration based on bidirectional pipeline manner under NDN (Named Data Networking)
CN104754033B (en) * 2015-03-02 2018-04-17 同济大学 The method that virtual machine migrates online is realized based on two-way pipe method under NDN
CN105955837A (en) * 2015-05-21 2016-09-21 中国科学院计算技术研究所 Fault tolerant memory synchronization method and system of virtual machine
CN105955837B (en) * 2015-05-21 2019-07-30 中国科学院计算技术研究所 A kind of virtual machine fault tolerant memory synchronous method and system
CN106326301A (en) * 2015-07-02 2017-01-11 富士通株式会社 Information processing apparatus and method
CN105094700A (en) * 2015-07-15 2015-11-25 浪潮(北京)电子信息产业有限公司 Calculation method and device for data temperature value in cloud storage system based on tiered storage
WO2017049617A1 (en) * 2015-09-25 2017-03-30 Intel Corporation Techniques to select virtual machines for migration
CN105389136A (en) * 2015-12-24 2016-03-09 广东石油化工学院 Online migration method for virtual machine
CN105955809A (en) * 2016-04-25 2016-09-21 深圳市万普拉斯科技有限公司 Thread scheduling method and system
CN107643937B (en) * 2016-07-22 2020-07-03 北京金山云网络技术有限公司 Virtual machine monitor upgrading method and device
CN107643937A (en) * 2016-07-22 2018-01-30 北京金山云网络技术有限公司 A kind of virtual machine monitor upgrade method and device
CN106469085A (en) * 2016-08-31 2017-03-01 北京航空航天大学 The online migration method, apparatus and system of virtual machine
CN106469085B (en) * 2016-08-31 2019-11-08 北京航空航天大学 The online migration method, apparatus and system of virtual machine
CN106874070A (en) * 2017-02-24 2017-06-20 郑州云海信息技术有限公司 The moving method and device of a kind of virtual machine
CN107133093A (en) * 2017-06-02 2017-09-05 郑州云海信息技术有限公司 The online moving method and device of a kind of virtual machine
CN107506234A (en) * 2017-07-03 2017-12-22 北京东土科技股份有限公司 A kind of dispatching method of virtual machine and device
CN107506234B (en) * 2017-07-03 2020-04-24 北京东土科技股份有限公司 Virtual machine scheduling method and device
CN107832119A (en) * 2017-11-20 2018-03-23 浙江网新恒天软件有限公司 A kind of KVM live migration of virtual machine optimization methods for reducing internal memory and repeating copy
CN108205424A (en) * 2017-12-29 2018-06-26 北京奇虎科技有限公司 Data migration method, device and electronic equipment based on disk
CN108763247A (en) * 2018-03-29 2018-11-06 阿里巴巴集团控股有限公司 The method and device of user's request is handled in data migration process
CN108763247B (en) * 2018-03-29 2021-12-07 创新先进技术有限公司 Method and device for processing user request in data migration process
CN108776617A (en) * 2018-06-08 2018-11-09 山东超越数控电子股份有限公司 It is a kind of that target identification method is prefetched based on access frequency and dynamic priority
CN108989127A (en) * 2018-08-15 2018-12-11 中科边缘智慧信息科技(苏州)有限公司 User roams and with chance cut-in method between multiple data centers
CN108989127B (en) * 2018-08-15 2020-10-27 中科边缘智慧信息科技(苏州)有限公司 User roaming and random access method among multiple data centers
CN109597671A (en) * 2018-12-11 2019-04-09 国云科技股份有限公司 A kind of desktop cloud implementation method being compatible with centralized and distributed operation
CN111324413B (en) * 2018-12-14 2023-08-15 中移(杭州)信息技术有限公司 Data migration method and data migration management equipment
CN111324413A (en) * 2018-12-14 2020-06-23 中移(杭州)信息技术有限公司 Data migration method and data migration management equipment
CN111736754A (en) * 2019-03-25 2020-10-02 杭州海康威视系统技术有限公司 Data migration method and device
CN110134492B (en) * 2019-04-18 2021-04-13 华中科技大学 Non-stop memory page migration system for heterogeneous memory virtual machine
CN110134492A (en) * 2019-04-18 2019-08-16 华中科技大学 A kind of non-stop-machine memory pages migratory system of isomery memory virtual machine
CN112559119A (en) * 2019-09-25 2021-03-26 阿里巴巴集团控股有限公司 Virtual machine migration method and device, electronic equipment and storage medium
WO2021057698A1 (en) * 2019-09-25 2021-04-01 阿里巴巴集团控股有限公司 Virtual machine migration method, device, electronic apparatus, and storage medium
WO2021057759A1 (en) * 2019-09-25 2021-04-01 阿里巴巴集团控股有限公司 Memory migration method, device, and computing apparatus
CN112764660A (en) * 2019-10-21 2021-05-07 伊姆西Ip控股有限责任公司 Method, apparatus, and computer-readable storage medium for data migration
CN110737512A (en) * 2019-10-25 2020-01-31 北京浪潮数据技术有限公司 Cross-platform virtual machine online migration method and related components
WO2021174698A1 (en) * 2020-03-04 2021-09-10 平安科技(深圳)有限公司 Virtual machine snapshot creation method and apparatus, and storage medium and computer device
CN111580932A (en) * 2020-05-12 2020-08-25 西安交通大学 Virtual machine disk online migration redundancy removing method
CN111580932B (en) * 2020-05-12 2023-04-07 西安交通大学 Virtual machine disk online migration redundancy removal method
CN111611055B (en) * 2020-05-27 2020-12-18 上海有孚智数云创数字科技有限公司 Virtual equipment optimal idle time migration method and device and readable storage medium
CN111611055A (en) * 2020-05-27 2020-09-01 上海有孚智数云创数字科技有限公司 Virtual equipment optimal idle time migration method and device and readable storage medium
CN112527470A (en) * 2020-05-27 2021-03-19 上海有孚智数云创数字科技有限公司 Model training method and device for predicting performance index and readable storage medium
CN111858469B (en) * 2020-07-24 2024-01-26 成都成信高科信息技术有限公司 Self-adaptive hierarchical storage method based on time sliding window
CN111858469A (en) * 2020-07-24 2020-10-30 成都成信高科信息技术有限公司 Self-adaptive hierarchical storage method based on time sliding window
CN114490566A (en) * 2021-12-10 2022-05-13 苏州浪潮智能科技有限公司 Cluster data migration method and device, computer equipment and storage medium
CN114490566B (en) * 2021-12-10 2024-01-30 苏州浪潮智能科技有限公司 Cluster data migration method and device, computer equipment and storage medium
CN116893893A (en) * 2023-09-08 2023-10-17 北京翼辉信息技术有限公司 Virtual machine scheduling method and device, electronic equipment and storage medium
CN116893893B (en) * 2023-09-08 2024-03-22 北京翼辉信息技术有限公司 Virtual machine scheduling method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN103577249B (en) 2017-06-16

Similar Documents

Publication Publication Date Title
CN103577249A (en) Method and system for virtual machine online migration
CN105912406B (en) The Independent Task Scheduling and resource allocation method of a kind of low energy consumption
US8473956B2 (en) Priority based scheduling system for server
US8370310B2 (en) Managing database recovery time
US10802718B2 (en) Method and device for determination of garbage collector thread number and activity management in log-structured file systems
US8499010B2 (en) Garbage collection in a multiple virtual machine environment
CN103067425B (en) Virtual machine creation method, virtual machine management system and relevant device
CN103955399B (en) A kind of virtual machine migration method and device and physical host
US9307048B2 (en) System and method for proactive task scheduling of a copy of outlier task in a computing environment
CN102473134B (en) Management server, management method, and management program for virtual hard disk
Cho et al. Natjam: Design and evaluation of eviction policies for supporting priorities and deadlines in mapreduce clusters
US7383417B2 (en) Prefetching apparatus, prefetching method and prefetching program product
WO2017162033A1 (en) Optimization method, evaluation method, processing method, and device for data migration
CN106125888B (en) The efficient power-economizing method of the utilization of resources in cloud data center based on virtual machine (vm) migration
CN113010260A (en) Elastic expansion method and system for container quantity
CN104268003A (en) Memory state migration method applicable to dynamic migration of virtual machine
CN107479944A (en) Mix the adaptive thermophoresis dispatching method of virutal machine memory and system under cloud mode
US11797187B2 (en) Optimized I/O performance regulation for non-volatile storage
JP2015022504A (en) Information processing device, method, and program
US20170262310A1 (en) Method for executing and managing distributed processing, and control apparatus
CN103345296B (en) Dynamic voltage frequency adjustment trigger device and method
Zhang et al. Workload consolidation in alibaba clusters: the good, the bad, and the ugly
Çavdar et al. Quantifying the brown side of priority schedulers: Lessons from big clusters
CN108595250A (en) A kind of scheduling of resource efficiency optimization method and system towards IaaS cloud platform
CN103309625B (en) A kind of method and system storing thermophoresis based on self adaptation

Legal Events

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