CN105677441A - Migration method of virtual machines, manager of virtual facility and coordinator - Google Patents

Migration method of virtual machines, manager of virtual facility and coordinator Download PDF

Info

Publication number
CN105677441A
CN105677441A CN201410673544.4A CN201410673544A CN105677441A CN 105677441 A CN105677441 A CN 105677441A CN 201410673544 A CN201410673544 A CN 201410673544A CN 105677441 A CN105677441 A CN 105677441A
Authority
CN
China
Prior art keywords
vim
migrated
virtual machine
resource
machine
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
CN201410673544.4A
Other languages
Chinese (zh)
Other versions
CN105677441B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410673544.4A priority Critical patent/CN105677441B/en
Priority to PCT/CN2015/080670 priority patent/WO2016078391A1/en
Publication of CN105677441A publication Critical patent/CN105677441A/en
Application granted granted Critical
Publication of CN105677441B publication Critical patent/CN105677441B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a migration method of virtual machines, a manager of a virtual facility and a coordinator. The migration method of virtual machines comprises following steps: obtaining resources usage information of all physics machines managed by a source VIM; determining the physics machines in idle states based on resources usage information of all the physics machines and resources threshold values of the pre-set physics machines and determining the virtual machines of the physics machine in idle states as the virtual machines to be migrated; sending migration request information to the coordinator for managing the source VIM, wherein migration request information comprises IDs of the virtual machines to be migrated and an ID of the source VIM; receiving migration indication information sent by the coordinator, wherein migration indication information comprises an ID of the target VIM of the virtual machines to be migrated; and migrating the virtual machines to be migrated to the physics machines managed by the target VIM. The embodiment of the migration method of virtual machines, the manager of the virtual facility and the coordinator help to optimize resources of a data center room and reduce energy consumption of the data center.

Description

Virtual machine migration method, virtual facility manager and telegon
Technical field
The embodiment of the present invention relates to Intel Virtualization Technology, relates in particular to a kind of virtual machine migration method, virtual establishingExecute manager and telegon.
Background technology
Communication network comprises a large amount of special hardware devices, to realize a large amount of network services. If reach the standard gradeA new network service need to increase new hardware device conventionally in communication network, due to network clothesBecoming more diverse of business, makes to find suitable space for its deployment and power supply confession for these newly-increased hardware devicesShould become more and more difficult. Network element virtual (NetworkFunctionVirtualization is called for short NFV)Technology can, by adopting Intel Virtualization Technology, realize and operate in high performance by network element device with software modeIn physical machine, avoid adding the trouble that new equipment, equipment transportation etc. bring. The master of existing NFV technologyWant framework can comprise Virtual NE (VirtualisedNetworkFunction is called for short VNF) group, basisFramework and management coordination (ManagementandOrchestration is called for short MANO) system three parts.Wherein, this VNF group comprises at least one VNF, and each VNF can comprise at least one virtual net tuplePart (VirtualisedNetworkFunctionComponent is called for short VNFC), each VNFC canMove in the physical machine of infrastructure by a virtual machine respectively. This at least one VNF can realize oneIndividual network service (NetworkService is called for short NS). This MANO system comprises telegon, voidIntend NE Explorer (VirtualisedNetworkFunctionManager is called for short VNFM) and virtualFacilities management device (VirtualisedInfrastructureManager is called for short VIM). Wherein, this coordinationDevice can carry out resource layout at least one VNF and network service by the virtual resource based in architecture.
Virtual machine moves can be needed to safeguard in data center, in the situations such as load imbalance, carries out virtual machineMove across data center. In MANO, telegon only can be according to each number of recording in infrastructure resources catalogueAccording to the virtual resource information at center, determine that a part of virtual machine in the data center that meets transition condition isVirtual machine to be migrated, and move then at definite target data center.
But due to the difference of operation virtual machine, these do not move the resource profit of the data center of virtual machineAlso different by situation. In existing scheme, telegon is true according to the virtual resource service condition of data centerThe bulk migration of the virtual resource at given data center. But, do not meet in the data center of transition condition butMay exist at least one physical machine in idle condition, if adopt existing scheme, cannot deal with dataIn center, there is the situation of idle condition physical machine, thereby, the actual resource that cannot realize between data centerOptimize, thereby cannot reduce the energy consumption of data center.
Summary of the invention
The embodiment of the present invention provides a kind of virtual machine migration method, virtual facility manager and telegon, withSolve the migration of only carrying out virtual machine in prior art according to virtual resource information, cannot reduce data centerThe problem of energy consumption.
First aspect, the embodiment of the present invention provides a kind of virtual machine migration method, comprising:
The resource that source virtual facility manager VIM obtains each physical machine of described source VIM management is used letterBreath;
Described source VIM is according to the resource threshold of the resource using information of described each physical machine and default physical machineValue, determines the physical machine in idle condition, and by true the virtual machine in the physical machine of described idle conditionBe decided to be virtual machine to be migrated;
Described source VIM sends migration request message, described migration to the telegon of the described source VIM of managementRequest message comprises: the ID of the mark ID of described virtual machine to be migrated and described source VIM;
Described source VIM receives the migration Indication message that described telegon sends, described migration Indication message bagDraw together: the ID of the object VIM of described virtual machine to be migrated;
Described source VIM is according to the object of the ID of described virtual machine to be migrated and described virtual machine to be migratedThe ID of VIM, the object VIM management by described virtual machine (vm) migration to be migrated to described virtual machine to be migratedPhysical machine.
According to this first aspect, in the first mode in the cards of first aspect, described source VIMAccording to the resource threshold of the resource using information of described each physical machine and default physical machine, determine in skyBefore the physical machine of not busy state, also comprise:
Described source VIM obtains the resource threshold of default described physical machine.
According to the first of first aspect mode in the cards, may realize at the second of first aspectMode in, the resource threshold of described physical machine comprises: resource is used the idle threshold value of threshold value or resource;
Described source VIM is according to the resource threshold of the resource using information of described each physical machine and default physical machineValue, determines the physical machine in idle condition, comprising:
Described source VIM uses threshold value according to the resource using information of described each physical machine and described resource, reallyDetermine resource using information and be less than the physical machine that physical machine that described resource uses threshold value is described idle condition;Or,
Described source VIM determines the resource of described each physical machine according to the resource using information of described each physical machineIdle information, according to the idle information of the resource of described each physical machine and the idle threshold value of described resource, determines moneyThe idle information in source is more than or equal to the physics that the physical machine of the idle threshold value of described resource is described idle conditionMachine.
According to first aspect in the second mode in the cards of first aspect any one, the 3rdPlant in mode in the cards, described source VIM sends migration request message to telegon and comprises:
Described source VIM sends described migration by Virtual NE manager VNFM to described telegon pleaseAsk message.
According to first aspect in the third mode in the cards of first aspect any one, the 4thPlant in mode in the cards, the ID of the described virtual machine to be migrated that described migration request message comprises comprisesThe ID of at least two virtual machines to be migrated;
Described migration Indication message comprises: the ID of described at least two virtual machines to be migrated, and each waiting movedMove the ID of the object VIM of virtual machine;
Described source VIM is according to the object of the ID of described virtual machine to be migrated and described virtual machine to be migratedThe ID of VIM, the object VIM management by described virtual machine (vm) migration to be migrated to described virtual machine to be migratedPhysical machine, comprising:
Described source VIM is according to the ID of described at least two virtual machines to be migrated and described each void to be migratedThe ID of the object VIM of plan machine, by described each virtual machine (vm) migration to be migrated to described each to be migratedThe physical machine of the object VIM management of virtual machine.
Second aspect, the embodiment of the present invention provides a kind of virtual machine migration method, comprising:
The migration request message that telegon reception sources VIM sends; Described migration request message comprises: wait to moveMove the ID of virtual machine and the ID of described source VIM;
Described telegon, according to the ID of the ID of described virtual machine to be migrated and described source VIM, is treated for describedMigration virtual machine is determined object VIM;
Described telegon sends migration Indication message to described source VIM, and described migration Indication message comprises:The ID of the object VIM of described virtual machine to be migrated; Described migration Indication message is used to indicate described source VIMPhysical machine by described virtual machine (vm) migration to be migrated to the object VIM management of described virtual machine to be migrated.
According to second aspect, in the first mode in the cards of second aspect, described telegon connectsBefore the migration request message that receipts source VIM sends, also comprise:
Described telegon sends the resource threshold of physical machine to described source VIM.
According to the first of second aspect or second aspect mode in the cards, may realize at the secondMode in, the migration request message that described telegon reception sources VIM sends comprises:
Described telegon receives the described migration request message that described source VIM sends by VNFM.
According to second aspect in the second mode in the cards of second aspect any one, the 3rdPlant in mode in the cards, described telegon is according to the ID of described virtual machine to be migrated and described source VIMID, determine object VIM for described virtual machine to be migrated, comprising:
Described telegon is according to the ID of the ID of described virtual machine to be migrated and described source VIM, described in determiningThe resource requirement of virtual machine to be migrated and described coordinator management except described source VIM other eachThe virtual resource information of VIM;
Described telegon is according to other outside the resource requirement of described virtual machine to be migrated and described source VIMThe virtual resource information of each VIM, for described virtual machine to be migrated is determined at least one candidate VIM;
Described telegon is according to the reception weight of each candidate VIM of described at least one candidate VIM,The object VIM that the VIM that determines reception weight maximum is described virtual machine to be migrated; Wherein, described eachThe reception weight of candidate VIM represents that respectively the physical machine of described each candidate VIM management moves described waitingMove the reception demand of virtual machine.
According to the third mode in the cards of this second aspect, in the 4th kind of mode in the cards,Described telegon, according to the reception weight of each candidate VIM of described at least one candidate VIM, is determinedBefore the object VIM that the VIM that receives weight maximum is described virtual machine to be migrated, also comprise:
Described telegon is respectively to described each candidate VIM Transmit weight request message; Described weight requestMessage comprises: the resource requirement of described virtual machine to be migrated;
Described telegon receives the weight request response that described each candidate VIM sends, described weightRequest response comprises: the reception weight of described each candidate VIM; Described each candidate VIM'sReception weight comprises: described each candidate VIM according to the resource requirement of described virtual machine to be migrated and described inThe resource information of the physical machine of each candidate VIM management obtains.
The 4th kind of mode in the cards according to second aspect to second aspect, may realize at the 5th kindMode in, the ID of the described virtual machine to be migrated that described migration request message comprises comprises that at least two are treatedThe ID of migration virtual machine;
Described telegon, according to the ID of the ID of described virtual machine to be migrated and described source VIM, is treated for describedMigration virtual machine determines that object VIM comprises:
Described telegon is according to the ID of the ID of described at least two virtual machines to be migrated and described source VIM,Be respectively each virtual machine to be migrated and determine object VIM; Described migration Indication message comprises: at least describedThe ID of two virtual machines to be migrated, and the ID of the object VIM of described each virtual machine to be migrated.
The third aspect, the embodiment of the present invention provides a kind of VIM, and described VIM is source VIM, comprising:
Acquisition module, for obtaining the resource using information of each physical machine of described source VIM management;
Determination module, for according to the money of the resource using information of described each physical machine and default physical machineSource threshold value, determines physical machine in idle condition, and virtual by the physical machine of described idle conditionMachine is defined as virtual machine to be migrated;
Sending module, for to management described source VIM telegon send migration request message, described in moveMoving request message comprises: the ID of the ID of described virtual machine to be migrated and described source VIM;
Receiver module, the migration Indication message sending for receiving described telegon, described migration instruction disappearsBreath comprises: the ID of the object VIM of described virtual machine to be migrated;
Transferring module, for according to the object of the ID of described virtual machine to be migrated and described virtual machine to be migratedThe ID of VIM, the object VIM management by described virtual machine (vm) migration to be migrated to described virtual machine to be migratedPhysical machine.
According to the third aspect, in the first mode in the cards of the third aspect, described acquisition module,Also at described determination module according to the resource using information of described each physical machine and this default physical machineResource threshold, before determining virtual machine to be migrated, obtain the resource threshold of described physical machine.
According to the first of the third aspect mode in the cards, in the second mode in the cards,The resource threshold of described physical machine comprises: resource is used threshold value or the idle threshold value of resource;
Described determination module, also for making according to the resource using information of described each physical machine and described resourceBy threshold value, determine to be less than described resource by resource using information to use the physical machine of threshold value be described idle conditionPhysical machine; Or, for determine described each physical machine according to the resource using information of described each physical machineThe idle information of resource, and according to the idle information of the resource of described each physical machine and the idle threshold value of described resource,Determine what to be more than or equal to the physical machine of the idle threshold value of described resource be described idle condition to the idle information of resourcePhysical machine.
According to this third aspect in the second mode in the cards of the third aspect any one,In three kinds of modes in the cards, described sending module, also for sending out to described telegon by VNFMSend described migration request message.
According to this third aspect in the third mode in the cards of the third aspect any one,In four kinds of modes in the cards, the ID bag of the described virtual machine to be migrated that described migration request message comprisesDraw together the ID of at least two virtual machines to be migrated;
Described migration Indication message comprises: the ID of described at least two virtual machines to be migrated, and each waiting movedMove the ID of the object VIM of virtual machine;
Described transferring module, also for according to the ID of described at least two virtual machines to be migrated and described eachThe ID of the object VIM of virtual machine to be migrated, by described each virtual machine (vm) migration to be migrated to described everyThe physical machine of the object VIM management of individual virtual machine to be migrated.
Fourth aspect, the embodiment of the present invention provides a kind of telegon, comprising:
Receiver module, the migration request message sending for reception sources VIM; Described migration request message bagDraw together: the ID of the ID of virtual machine to be migrated and described source VIM;
Determination module, for according to the ID of the ID of described virtual machine to be migrated and described source VIM, is instituteState virtual machine to be migrated and determine object VIM;
Sending module, for sending migration Indication message, described migration Indication message bag to described source VIMDraw together: the ID of the object VIM of described virtual machine to be migrated; Described in described migration Indication message is used to indicateSource VIM is the thing to the object VIM management of described virtual machine to be migrated by described virtual machine (vm) migration to be migratedReason machine.
According to fourth aspect, in the first mode in the cards of fourth aspect, described sending module,Before also receiving the described migration request message of described source VIM transmission for described receiver module, to describedSource VIM sends the resource threshold of physical machine.
According to the first of fourth aspect or fourth aspect mode in the cards, may realize at the secondMode in, described receiver module, also for described in receiving that described source VIM sends by VNFMMigration request message.
According to fourth aspect in the second mode in the cards of fourth aspect any one, the 4thIn the third mode in the cards of aspect, described determination module, also for according to described void to be migratedThe ID of the ID of plan machine and described source VIM, determines resource requirement and the described association of described virtual machine to be migratedAdjust the virtual resource information of other each VIM except described source VIM of management, according to describedThe virtual resource letter of other each VIM outside the resource requirement of virtual machine to be migrated and described source VIMBreath is determined at least one candidate VIM for described virtual machine to be migrated, and according to described at least one candidateThe reception weight of each candidate VIM of VIM, determines that the VIM of reception weight maximum is described to be migratedThe object VIM of virtual machine; Wherein, described in the reception weight of described each candidate VIM is respectively used to representThe reception demand of the physical machine of each candidate VIM management to described virtual machine to be migrated.
According to the third mode in the cards of fourth aspect, in the 4th kind of mode in the cards,Described sending module, also at described determination module according to each time of described at least one candidate VIMSelect the reception weight of VIM, the object that the VIM that determines reception weight maximum is described virtual machine to be migratedBefore VIM, respectively to described each candidate VIM Transmit weight request message; Described weight request messageComprise: the resource requirement of described virtual machine to be migrated;
Described receiver module, the weight request response also sending for receiving described each candidate VIM,Described weight request response comprises: the reception weight of described each candidate VIM; Described each candidateThe reception weight of VIM comprises: described each candidate VIM is according to the resource requirement of described virtual machine to be migratedObtain with the resource information of the physical machine of described each candidate VIM management.
According to fourth aspect in the 4th kind of mode in the cards of fourth aspect any one, the 5thPlant in mode in the cards, the ID of the described virtual machine to be migrated that described migration request message comprises comprisesThe ID of at least two virtual machines to be migrated;
Described determination module, also for according to the ID of described at least two virtual machines to be migrated and described sourceThe ID of VIM, is respectively each virtual machine to be migrated and determines object VIM; Described migration Indication message comprises:The ID of described at least two virtual machines to be migrated, and the object VIM of described each virtual machine to be migratedID。
Virtual machine migration method, virtual facility manager and telegon that the embodiment of the present invention provides, canBy source VIM according to the resource using information of each physical machine of this source VIM management of obtaining and defaultThe resource threshold of physical machine is determined the physical machine in idle condition, then by the physical machine of this idle conditionOn virtual machine be defined as virtual machine to be migrated, and send and comprise the ID of this virtual machine to be migrated to telegonMigration request message, to make this telegon determine object VIM as virtual machine to be migrated, and receive shouldThe migration Indication message of the ID of the object VIM that comprises this virtual machine to be migrated that telegon sends, and rootID according to the ID of this source VIM and the object VIM of this virtual machine to be migrated moves this virtual machine to be migratedMove to the physical machine of the object VIM management of this virtual machine to be migrated. Thereby the embodiment of the present invention providesVirtual machine migration method, due to can be by VIM corresponding data center, this source the physical machine in idle conditionVirtual machine migrate to the physical machine of object VIM management, thereby, even if this coordinator management is notVirtual resource information with VIM corresponding data center do not meet transition condition, can be in data center yetVirtual machine in the physical machine of idle condition moves, and realizes the resource optimization of the physical machine of VIM management,Reduce the energy consumption of the physical machine of VIM management.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below will be to realityThe accompanying drawing of executing required use in example or description of the Prior Art does one and introduces simply, apparently, underAccompanying drawing in face description is some embodiments of the present invention, for those of ordinary skill in the art,Do not pay under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the structural representation of the applied management coordination system of the embodiment of the present invention;
The flow chart of a kind of virtual machine migration method that Fig. 2 provides for the embodiment of the present invention;
The flow chart of the another kind of virtual machine migration method that Fig. 3 provides for the embodiment of the present invention;
The flow chart of another virtual machine migration method that Fig. 4 provides for the embodiment of the present invention;
The flow chart of another virtual machine migration method that Fig. 5 provides for the embodiment of the present invention;
The structural representation of the VIM that Fig. 6 provides for the embodiment of the present invention;
The structural representation of the telegon that Fig. 7 provides for the embodiment of the present invention.
Detailed description of the invention
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with thisAccompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention,Obviously, described embodiment is the present invention's part embodiment, instead of whole embodiment. Based onEmbodiment in the present invention, those of ordinary skill in the art obtain not making under creative work prerequisiteThe every other embodiment obtaining, belongs to the scope of protection of the invention.
The virtual machine migration method that various embodiments of the present invention provide can be applicable to management coordination system. Fig. 1For the structural representation of the applied management coordination system of the embodiment of the present invention. As shown in Figure 1, MANOSystem 100 comprises telegon 101, VNFM102 and at least two VIM103. Wherein, each VIM103Can manage respectively a data center 104. In each data center 104, comprise at least one physical machine 105,Wherein, in each physical machine 105, move at least one virtual machine 106. Wherein, telegon 101 with extremelyFew two VIM103 connect, and telegon 101 can be by managing operating in this at least two VIM103The physical machine 105 of data center 104 at least one virtual machine 106 carry out resource layout, therebyThese at least two VIM are managed. This at least one virtual machine 106 respectively can be according to default resourceDeployment strategy, operates in by software mode in the physical machine at corresponding data center. Each virtual machine 106The virtual machine corresponding to arbitrary VNFC that can comprise for arbitrary VNF. Different VNF can realize differenceNetwork Element Function. Each VNF comprises at least one VNFC, and different VNFC can realize same network elementThe disparate modules function of function, this at least one VNFC combines, and can realize a complete netMeta function.
The flow chart of a kind of virtual machine migration method that Fig. 2 provides for the embodiment of the present invention. The present embodimentMethod be applicable to virtual machine is being carried out across data center migration, thereby it is equal that data center is carried out to resourceWeighing apparatus and resource optimization. The method can be carried out by arbitrary VIM of MANO system, and this VIM specifically canFor managing the VIM of the physical machine that virtual machine to be migrated moves, source VIM carries out. As shown in Figure 2,The method of the present embodiment comprises the steps:
Step 201, source VIM obtain the resource using information of each physical machine of this source VIM management.
Particularly, in MANO system, a VIM can be to a data center pair in infrastructureThe hardware resource of answering manages. In this infrastructure, a hardware resource corresponding to data center can wrapDraw together the physical machine of this VIM management. This architecture can be that the network element in MANO system is virtualChange infrastructure (NetworkFunctionVirtualizationInfrastructure is called for short NFVI). ByIn, each VIM can manage a data center, and a data center comprises at least one physical machine,Between each physical machine of VIMYu Gai source, this source VIM management, all exist and connect so, and there is transmission and connectMouthful. In embodiments of the present invention, this source VIM can be by with each physical machine of this source VIM managementBetween coffret send resource inquiry information to each physical machine of this source VIM management, thereby obtain this sourceThe resource using information of each physical machine of VIM management.
Optionally, each physical machine of this source VIM management can be according to predetermined period, to this each thing of managementThe VIM of reason machine, namely this source VIM reports resource using information separately, and by this source VIM coupleThis resource using information reporting is preserved. This source VIM can be for example this source of storing by inquiryData center's resource table of the resource using information that each physical machine of VIM management reports, obtains this each physicsThe resource using information of machine. It should be noted that, this source VIM obtains in other wayThis resource using information, the embodiment of the present invention only describes in the mode of example, is not followed successively by restriction.
Wherein, the resource using information of each physical machine of this source VIM management, can comprise each physical machineResource using information and/or the internal memory of central processing unit (CentralProcessingUnit is called for short CPU)Resource using information.
Step 202, this source VIM are according to the resource using information of this each physical machine and default physical machineResource threshold, determines physical machine in idle condition, and virtual by the physical machine of this idle conditionMachine is defined as virtual machine to be migrated.
Particularly, the resource threshold of this physical machine can comprise that resource is used threshold value, or the idle threshold value of resource.The resource threshold of this physical machine can be the tension management equipment by this source VIM, as telegon, VNFMOr other management equipments configure, can be also to determine according to default resource threshold configuration rule.This telegon can be the virtual telegon (NetworkFunctionVirtualization of network elementOrchestrator, is called for short NFVO). These other management equipments can be for example at least one VIM of managementIntegrated management equipment. This integrated management equipment can be for example super virtual facility manager (SuperVirtualisedInfrastructureManager, is called for short SVIM). This source VIM can be according to this each thingThe resource using information of reason machine and the resource threshold of this physical machine, determine that resource using information meets this physicsThe physical machine of the resource threshold of machine is the physical machine in idle condition. This source VIM determines this skyArbitrary virtual machine in the physical machine of not busy state is this virtual machine to be migrated, or definite this idle conditionAll virtual machines in physical machine are this virtual machine to be migrated. Thereby, this virtual machine to be migrated can comprise toA few virtual machine.
Due to the virtual machine migration method of the embodiment of the present invention, the Nei Chu of data center that can be corresponding to source VIMVirtual machine in the physical machine of idle condition moves, and realizes the resource optimization between data center, fallsThe energy consumption of low data center.
Step 203, this source VIM send migration request message to the telegon of management this source VIM, and this movesMoving request message comprises: the ID of the mark ID of this virtual machine to be migrated and this source VIM.
Particularly, this telegon can be above-mentioned NFVO. The mark of this virtual machine to be migrated (Identity,Be called for short ID) can be by the ID of virtual machine to be migrated place physical machine and/or this virtual machine to be migrated placeThe particular location of physical machine represents. Further, the ID of this virtual machine to be migrated moves by waitingThe identification information that moves functions of modules corresponding in the whole network service that virtual machine realizes represents.
This telegon can determine that this waits to move according to the ID of the ID of this virtual machine to be migrated and this source VIMMove the resource requirement of virtual machine, determine this source of removing of this coordinator management simultaneously according to the ID of this source VIMThe resource information of the data center that other VIM outside VIM are corresponding. Then, to be migrated virtual according to thisThe resource information at the resource requirement of machine and these other VIM corresponding data centers is that this virtual machine to be migrated is determinedObject VIM. The data center corresponding to object VIM of this virtual machine to be migrated at least can meet that this is to be migratedThe resource requirement of virtual machine. Owing to meeting the data corresponding to VIM of resource requirement of this virtual machine to be migratedCenter can comprise at least one VIM, the object VIM of this virtual machine to be migrated can be this telegon fromSelected any one VIM in this at least one VIM, this object VIM can be also this telegonAccording to default selective rule from the selected VIM of this at least one VIM.
It should be noted that, because this telegon only can pass through this NFVI resource (NFVIResource)Table obtains the virtual resource of the VIM of the data center that this telegon after virtual machine layer is virtual managesInformation. The resource information of the data center that determined these other VIM of this telegon are corresponding so, canFor the virtual resource information at other VIM corresponding data centers. The data center that these other VIM are correspondingResource information can be resource using information and/or the idling-resource letter at other VIM corresponding data centersBreath represents.
Wherein, if this virtual machine to be migrated comprises at least two virtual machines, this telegon is respectively this and treatsThe each virtual machine moving in virtual machine is determined an object VIM. In this at least one virtual machine, different emptyThe object VIM of plan machine can be identical, also can be different.
Step 204, source VIM receive the migration Indication message that this telegon sends, this migration Indication messageComprise: the ID of the object VIM of this virtual machine to be migrated.
Step 205, this source VIM are according to the order of the ID of this virtual machine to be migrated and this virtual machine to be migratedThe ID of VIM, by this virtual machine (vm) migration to be migrated to the object VIM management of this virtual machine to be migratedPhysical machine.
Particularly, this source VIM determines virtual machine to be migrated according to the ID of this virtual machine to be migrated,Determine the migration destination of this virtual machine to be migrated according to the ID of the object VIM of this virtual machine to be migrated,Be object VIM, then this virtual machine to be migrated moved, migrate to this virtual machine object to be migratedIn the physical machine of VIM management. And this virtual machine (vm) migration to be migrated is to the object VIM of this virtual machine to be migratedThe concrete physical machine of management can be this object VIM according to the resource requirement of this virtual machine to be migrated and shouldThe resource situation of each physical machine of object VIM management etc. is determined.
The virtual machine migration method that the embodiment of the present invention provides, can be by source VIM according to this source obtainingThe resource threshold of the resource using information of each physical machine of VIM management and default physical machine is determined in skyThe physical machine of not busy state, is defined as the virtual machine in the physical machine of this idle condition to be migrated virtual thenMachine, and send the migration request message of ID that comprises this virtual machine to be migrated to telegon, to make this associationAdjust device to determine object VIM for this virtual machine to be migrated, and receive the transmission of this telegon comprise that this is to be migratedThe migration Indication message of the ID of the object VIM of virtual machine, and wait to move according to the ID of this source VIM and thisThe ID of object VIM that moves virtual machine is the object to this virtual machine to be migrated by this virtual machine (vm) migration to be migratedThe physical machine of VIM management. Because virtual machine to be migrated is that this source VIM uses according to the resource of each physical machineThe resource threshold of information and default physical machine determines, in each physical machine of this source VIM management in skyVirtual machine in the physical machine of not busy state, thereby, the virtual machine (vm) migration that adopts the embodiment of the present invention to provideMethod, can carry out the virtual machine of the physical machine in idle condition in each physical machine of this source VIM managementMigrate to the physical machine of object VIM management, thereby, even if the different VIM correspondences of this coordinator managementThe virtual resource information of data center does not meet transition condition, can be to the idle shape in those data centers yetVirtual machine in the physical machine of state moves, and realizes the resource optimization between those data centers, thereby fallsThe energy consumption of low data center.
It should be noted that, in the virtual machine migration method that the embodiment of the present invention provides, this source VIM willAfter this machine to be migrated migrates to the object VIM of this virtual machine to be migrated, this source VIM is also by migrationNotification message sends migration results to this telegon, and this migration results can be by predefined operationIndicated value represents. For example can represent migration results success by binary number 1, binary number 0 represents to moveMove result failure. In this announcing removal message, also can comprise that this source VIM moves out after this virtual machine to be migratedVirtual resource information, and this object VIM moves into the virtual resource information after this virtual machine to be migrated. ShouldTelegon, also can be according to this source VIM after receiving this announcing removal message of this source VIM transmissionMove out of the virtual resource information after this virtual machine to be migrated, and this object VIM moves into, and this is to be migrated virtualVirtual resource information after machine is carried out resource updates to infrastructure resources catalogue, simultaneously also to NFV example(Instances) positional information at the VNFC place that the virtual machine to be migrated of this in record sheet is corresponding is carried outUpgrade.
The embodiment of the present invention also provides a kind of virtual machine migration method. Optionally, described in above-described embodimentOn the basis of method, above-mentioned steps 202 source VIM are according to the resource information of this each physical machine and default thingBefore the resource threshold of reason machine is determined the physical machine in idle condition, the method also comprises:
This source VIM obtains the resource threshold of this default physical machine.
Particularly, this source VIM builds in initialized process pre-in MANO systemFirst be configured in the resource threshold of this physical machine in the VIM of this source. This source VIM receives to coordinateThe resource threshold of determined this physical machine of configuration messages that device or other management equipments send. At MANOIn system, the physical resource that at least one VNF uses can comprise the hardware of at least one data centerResource. That is to say, in this MANO system, this telegon can be managed at least one VIM, itsIn, a VIM can manage the hardware resource at least one physical machine in a data center. So,This telegon, in the time sending the resource threshold of this physical machine for this source VIM, also can be other VIM and sendsComprise the resource threshold of this physical machine. Thereby, this source VIM can be receive this telegon by broadcast orThe resource threshold of this physical machine that the form of multicast sends.
Optionally, in the method described in above-described embodiment, the resource threshold of this physical machine comprises: resource makesBy threshold value or the idle threshold value of resource.
Wherein, resource using information for example can by resource that in physical machine, all virtual machines use and/Or resource utilization represents.
In above-mentioned steps 202, this source VIM is according to the resource using information of this each physical machine and default physicsThe resource threshold of machine, determine and comprise in the physical machine of idle condition:
This source VIM uses threshold value according to the resource using information of this each physical machine and this resource, determines resourceUse information is less than the physical machine that physical machine that this resource uses threshold value is this idle condition.
For instance, if the resource of this physical machine use threshold value for CPU and internal memory average service rate be 10%.If the CPU usage of a physical machine is in the resource information of each physical machine that this source VIM obtains8%, the memory usage of this physical machine is 6%, that is to say the resource average service rate of this physical machineBe 7%. The resource that is less than this physical machine due to the resource average utilization 7% of this physical machine is used threshold value10%. Thereby. This source VIM can be according to the money of the resource information of this each physical machine and this physical machine of presettingSource threshold value, determines that this physical machine is the physical machine of idle condition, then all virtual by this physical machineMachine is this virtual machine to be migrated.
Alternately, in this above-mentioned steps 202 this source VIM according to the resource using information of this each physical machineAnd the resource threshold of default physical machine, determine that the virtual machine in idle condition can also be to comprise:
This source VIM determines the idle letter of resource of this each physical machine according to the resource using information of this each physical machineBreath, and according to the idle information of the resource of this each physical machine and the idle threshold value of this resource, determine the idle letter of resourceBreath is more than or equal to the physical machine that the physical machine of the idle threshold value of this resource is this idle condition.
Concrete, the idle information of this resource for example can be by surplus resources in physical machine and/or resource free timeRate represents. For determining in sky according to the idle information of the resource of this each physical machine and the idle threshold value of this resourceThe specific implementation process of the physical machine of not busy state, can be used letter with the above-mentioned resource according to this each physical machineBreath and this resource are used the definite process of threshold value similar, and difference is the resource free time according to this each physical machineThe idle threshold value of information and this resource is to determine that the idle information of resource is more than or equal to the thing of the idle threshold value of this resourceReason machine. For its similar portions, the embodiment of the present invention does not repeat them here.
Resource using information is less than the physical machine of this resource use threshold value, or the idle information of resource is greater thanOr equal the physical machine of the idle threshold value of this resource, be the physical machine of idle condition. By in those physical machineVirtual machine be defined as virtual machine to be migrated, then move, can avoid the energy consumption of this free time physical machine.
The virtual machine migration method that the embodiment of the present invention provides, by the physics of multiple definite idle conditionThe scheme of machine is specifically described above-described embodiment scheme, ensures better the data of this coordinator managementIn resource optimization in the heart, thereby reduce the energy consumption of data center.
Further, in above-mentioned steps 203, this source VIM can wrap to telegon transmission migration request messageDraw together:
This source VIM sends this migration request message by VNFM to this telegon.
The ID of this virtual machine to be migrated that optionally, this migration request message comprises comprises and waits at least two to moveMove the ID of virtual machine.
This migration Indication message comprises: the ID of these at least two virtual machines to be migrated, and each void to be migratedThe ID of the object VIM of plan machine.
In above-described embodiment, in step 205, source VIM is to be migrated according to the ID of this virtual machine to be migrated and thisThe ID of the object VIM of virtual machine, the object by this virtual machine (vm) migration to be migrated to this virtual machine to be migratedThe physical machine of VIM management, comprising:
This source VIM is according to the ID of these at least two virtual machines to be migrated and this each virtual machine to be migratedThe ID of object VIM, by this each virtual machine (vm) migration to be migrated to the order of this each virtual machine to be migratedThe physical machine of VIM management.
Particularly, if this virtual machine to be migrated comprises at least two virtual machines, and each virtual machine to be migratedObject VIM identical, that is to say the order of each virtual machine to be migrated that this migration Indication message comprisesThe identical situation of the ID of VIM under, carry out this virtual machine migration method, can be by this different virtualMachine all migrates to the physical machine of same object VIM management. If the object VIM difference of different virtual machine,That is to say the ID difference of the object VIM of each virtual machine to be migrated that this migration Indication message comprisesSituation under, carry out this virtual machine migration method, can be that this different virtual machine is migrated to different ordersThe physical machine of VIM management.
The virtual machine migration method that the embodiment of the present invention provides, the source VIM of providing obtains the money of this physical machineThe physical machine of source threshold value and definite this idle condition, namely determines the multiple realization of virtual machine to be migratedMethod, better ensures resource optimization in the heart in the different pieces of information of this coordinator management, reduces data centerEnergy consumption.
The flow chart of the virtual machine migration method that Fig. 3 provides for the another kind of embodiment of the present invention, the methodCan be carried out by telegon. As shown in Figure 3, the method comprises as follows:
The migration request message that step 301, telegon reception sources VIM send; This migration request message bagDraw together: the ID of the ID of virtual machine to be migrated and this source VIM.
Wherein, this virtual machine to be migrated is that this source VIM is according in data corresponding to this source VIM obtainingThe resource threshold of the resource using information of intracardiac each physical machine and default physical machine is determined the thing of idle conditionReason machine, the virtual machine in the physical machine of this idle condition of then determining. This virtual machine to be migrated at least wrapsDraw together at least one virtual machine.
Step 302, this telegon, according to the ID of the ID of this virtual machine to be migrated and this source VIM, are thisVirtual machine to be migrated is determined object VIM.
Step 303, this telegon send migration Indication message, this migration Indication message bag to this source VIMDraw together: the ID of the object VIM of this virtual machine to be migrated; This migration Indication message is used to indicate this source VIMPhysical machine by this virtual machine (vm) migration to be migrated to the object VIM management of this virtual machine to be migrated.
The virtual machine migration method that the embodiment of the present invention provides, telegon can be according to the source VIM receivingThe ID of the virtual machine to be migrated sending, and the ID of this source VIM is the definite object of virtual machine to be migratedVIM, and the ID of the object VIM of this virtual machine to be migrated is sent to this source VIM, to make this sourceVIM can manage this virtual machine (vm) migration to be migrated physical machine to the object VIM of this virtual machine to be migrated.Thereby the virtual machine migration method that adopts the embodiment of the present invention to provide, even if this coordinator management is notVirtual resource information with VIM corresponding data center does not meet transition condition, and those data centers also canRealize resource optimization, reduce the energy consumption of data center.
What optionally, in above-described embodiment scheme, in step 301, this telegon reception sources VIM sent movesBefore moving request message, the method also comprises:
This telegon sends the resource threshold of physical machine to this source VIM.
Wherein, the resource threshold of this physical machine, is used to indicate this source VIM in conjunction with this source VIM obtainingThe definite physical machine in idle condition of the resource information of each physical machine by this sky in corresponding data centerVirtual machine in the physical machine of not busy state is defined as this virtual machine to be migrated.
Alternately, the migration request that in such scheme step 301, this telegon reception sources VIM sends disappearsBreath can be to comprise:
This telegon receives this migration request message that this source VIM sends by VNFM.
The virtual machine migration method that the embodiment of the present invention provides, telegon also can be by sending to source VIMThe resource threshold of this physical machine, can protect the resource optimization between the data center of this coordinator management better.
Another embodiment of the present invention also provides a kind of virtual machine migration method, as shown in Figure 4. Fig. 4 is thisThe flow chart of another virtual machine migration method that inventive embodiments provides. Optionally, the method is stepIn rapid 302, this telegon is according to the ID of the ID of this virtual machine to be migrated and this source VIM, to be migrated for thisVirtual machine determines that object VIM specifically describes, and can comprise:
Step 401, this telegon, according to the ID of the ID of this virtual machine to be migrated and this source VIM, are determinedThe resource requirement of this virtual machine to be migrated and this coordinator management except the VIM of this source other eachThe virtual resource information of VIM.
Step 402, telegon are according to its outside the resource requirement of this virtual machine to be migrated and this source VIMThe virtual resource information of each VIM, for this virtual machine to be migrated is determined at least one candidate VIM.
Step 403, this telegon are according to the reception power of each candidate VIM of this at least one candidate VIMThe object VIM heavy, the VIM that determines reception weight maximum is this virtual machine to be migrated.
Wherein, the reception weight of this each candidate VIM represents respectively the thing of this each candidate VIM managementThe reception demand of reason machine to this virtual machine to be migrated.
Particularly, this reception weight is larger, represents that the physical machine of corresponding candidate VIM management is to be migrated to thisThe reception demand of virtual machine is larger. The reception of the physical machine of this candidate VIM management to this virtual machine to be migratedDemand, can be the physical machine of this candidate VIM management by this virtual machine to be migrated is carried out to pre-receiving,If determine after this virtual machine (vm) migration to be migrated, the resource information of the physical machine of this candidate VIM management is determined.
This each candidate VIM that the reception weight of this each candidate VIM can receive for this telegonRespectively according to resource information and this determined connecing of resource requirement for the treatment of virtual machine of the physical machine of managing separatelyRetake the power heavily. In the reception weight of this at least one candidate VIM, the different weights that receive can have different taxesValue, as arbitrary numerical value of 0~1. This reception weight is larger, represents the candidate that this reception weight is correspondingThe wish that the physical machine that VIM manages receives this virtual machine to be migrated is stronger, thereby, the present embodiment schemeIn this telegon can determine that the VIM that receives weight maximum is as the object VIM of virtual machine to be migrated, and willThe ID of the object VIM of this virtual machine to be migrated notifies to this source VIM by migration Indication message. Due toThis telegon is determined the object VIM of virtual machine to be migrated according to the reception weight of this each candidate VIM, canMake source VIM by this virtual machine (vm) migration to be migrated to the object VIM of this virtual machine to be migrated, this sourceThe physical source distributing of the data center that VIM and this object VIM manage is separately more reasonable, this coordination organ pipeResource optimization between the data center of reason, the energy consumption of minimizing data center.
Optionally, each according to this at least one candidate VIM at this telegon of such scheme step 403The reception weight of candidate VIM, the object that the VIM that determines reception weight maximum is this virtual machine to be migratedBefore VIM, the method also comprises:
Step 403a, this telegon are respectively to this each candidate VIM Transmit weight request message, this weightRequest message can comprise the resource requirement of this virtual machine to be migrated.
Step 403b, this telegon receive the weight request response that this each candidate VIM sends, shouldWeight request response comprises: the reception weight of this each candidate VIM; This each candidate VIM'sReception weight comprises: this each candidate VIM is according to the resource requirement of this virtual machine to be migrated and this each timeSelect the resource information of the physical machine of VIM management to obtain.
Particularly, the resource requirement of this virtual machine to be migrated can be required for this virtual machine to be migrated is installedPhysical resource in physical machine. The resource requirement of this virtual machine to be migrated comprises: this virtual machine to be migrated is requiredThe CPU of the physical machine taking processes resource and/or memory storage resource. Wherein, this CPU processes resourceCan be that the resource use value of processing resource by CPU represents, this memory storage resource can be also to pass throughThe resource use value of this memory storage resource represents.
This each candidate VIM obtains the reception weight of this each candidate VIM, can be to wait to move according to thisThe resource information of moving the resource requirement of virtual machine and the physical machine of this each candidate VIM management, adopts this everyThe resource allocation algorithm of individual candidate VIM obtains.
Wherein, this resource allocation algorithm can be average resource allocation algorithm. This at least one candidate VIMIn, each candidate VIM can be for example the resource requirement according to this virtual machine to be migrated, calculates this is treatedMigration virtual machine (vm) migration is to the physical machine of this each candidate VIM management, and this each candidate VIM managesThe resource information of different physical machine, thereby according to the money of the different physical machine of this each candidate VIM managementSource information is determined the reception weight of corresponding VIM.
The reception weight of each candidate VIM can be to use standard deviation by the resource of each candidate VIMInverse represent. This each candidate VIM can be by this virtual machine (vm) migration to be migrated to this each candidateAfter the physical machine of VIM management, the resource of calculating the different physical machine of this each candidate VIM management is used markAccurate poor inverse, and use the inverse of standard deviation as the reception weight of each candidate VIM this resource.If the resource requirement of this virtual machine to be migrated comprises: the CPU place of the required physical machine of this virtual machine to be migratedThe reason use value of resource and the use value of memory storage resource. So, this standard deviation can be for example by CPUProcess the utilization rate of resource and the mean value of memory storage resource utilization, average service rate is as standardValue, utilization rate and this memory storage resource of calculating respectively this standard value and this CPU processing resource are usedThe extraction of square root of rate variance. Wherein, this CPU processes the utilization rate of resource, for example, can be to wait to move according to thisThe CPU that moves the required physical machine of virtual machine processes the use value of resource, the current C PU place of each physical machineReason resource service condition, and total CPU processing resource of each physical machine, calculating obtains. This internal memoryThe utilization rate of storage resources can be for example that the internal memory of the physical machine required according to this virtual machine to be migrated is depositedThe use value of storage resource, the current memory storage resource service condition of each physical machine, and each physical machineTotal memory storage resource, calculating obtains. The value of the reception weight of candidate VIM in the embodiment of the present inventionLarger, its corresponding resource distribution effects is better, thereby the physical machine of this candidate VIM management is to be migrated to thisIt is larger that virtual machine receives demand, and this telegon can be according to each VIM in this at least one candidate VIMReception weight, the VIM of selective reception weight maximum is as the object VIM of this virtual machine to be migrated.
For instance, suppose, by the physics of i virtual machine (vm) migration to the K to be migrated VIM managementMachine, this K VIM can be expressed as VIMK. This VIM soKThe CPU of the physical machine of management processesThe utilization rate of resource is 60%, and the memory storage resource utilization of physical machine is 40%, so on average to makeBy rate, namely 60% and 40% mean value 50% is as standard value. This VIMKResource use markAccurate difference can be by 60% and 50% difference square, and square summation of 40% and 50% difference,Again this summed result is carried out to evolution acquisition. This VIMKReception weight can be the inverse of standard deviation,It is the evolution inverse of result afterwards. This VIMKResource use standard deviation be this K VIM correspondenceData center receive the reception weight of this i virtual machine to be migrated.
It should be noted that, only obtaining of above-mentioned reception weight describes with example, calculates this reception powerThe resource requirement of the heavy resource allocation algorithm adopting and this virtual machine to be migrated can also comprise other moneySource parameter, thereby obtaining of this reception weight can also be to obtain according to other similar modes, at thisRepeat no more.
The ID of this virtual machine to be migrated that optionally, this migration request message comprises comprises and waits at least two to moveMove the ID of virtual machine.
In above-mentioned steps 302, this telegon is according to the ID of the ID of this virtual machine to be migrated and this source VIM,Determine object VIM for this virtual machine to be migrated, can comprise:
This telegon, according to the ID of the ID of these at least two virtual machines to be migrated and this source VIM, is respectivelyEach virtual machine to be migrated is determined object VIM; This migration Indication message comprises: these at least two to be migratedThe ID of virtual machine, and the ID of the object VIM of this each virtual machine to be migrated.
Because the reception weight of this each candidate VIM is that this each candidate VIM is to be migrated virtual according to thisThe physical machine resource information of the resource requirement of machine and this each candidate VIM management obtains, thereby can makeThis telegon, according to the selected object VIM of reception weight of this at least one candidate VIM, can meet thisThe resource requirement of virtual machine to be migrated. Carrying out virtual machine based on determined this object of this telegon VIM movesMove, can make when resource in the heart in the different VIM corresponding datas of this coordinator management distribute more reasonable,Realize better the resource optimization between the data center of this coordinator management.
The virtual machine migration method that the embodiment of the present invention provides, can be to be migrated according to this by this telegonThe ID of the ID of virtual machine and this source VIM, for this virtual machine to be migrated is determined at least one candidate VIM,And according to the reception weight of each candidate VIM in this at least one candidate VIM, determine and receive weightLarge VIM is the object VIM of this virtual machine to be migrated, due to the reception weight of this each candidate VIMCan be that this each candidate VIM is according to the resource requirement of this virtual machine to be migrated and this each candidate VIMThe resource information of the physical machine of management obtains, thereby makes this object VIM meet this virtual machine to be migratedResource requirement, makes the money of the physical machine of each VIM management after the virtual machine (vm) migration based on this object VIMIt is more reasonable that source is distributed, and realizes better the resource optimization between the data center of this coordinator management.
The embodiment of the present invention also provides a kind of virtual machine migration method. The embodiment of the present invention specifically by way of exampleExample describes the virtual machine migration method described in above-mentioned arbitrary embodiment. Fig. 5 is the invention processThe flow chart of another virtual machine migration method that example provides. As shown in Figure 5, the method can comprise:
Step 501, telegon send configuration messages to source VIM, and this configuration messages comprises: physical machineResource is used threshold value.
This configuration messages can be for example that the average resource of a physical machine of this source VIM management is littleResource in this physical machine is used threshold value, and interior other physical machine of this source VIM management cannot be held this thingVirtual machine on reason machine. The average resource of physical machine can be for example that the CPU of physical machine processes moneyThe average utilization of source and memory storage resource. For instance, this configuration messages can be this source VIM pipeIn each physical machine of reason, the CPU of i physical machine processes the average resource of resource and memory storage resourceUtilization rate is less than 10%, and in each physical machine of this source VIM management, other physical machine cannot be held this thingVirtual machine on reason machine.
It should be noted that, this telegon also sends configuration messages to other VIM, thinks other VIMThe resource that sends this physical machine is used threshold value.
Step 502, source VIM obtain the resource using information of each physical machine of this source VIM management.
Step 503, source VIM are according to the resource threshold of the resource using information of this each physical machine and this physical machineValue, determines the physical machine in idle condition, and by all virtual machines in the physical machine of this idle conditionAs virtual machine to be migrated.
Suppose, in this resource information, the CPU of this n physical machine in the heart in the VIM corresponding data of this sourceProcessing resource utilization is 8%, and memory storage resource utilization is 6%, so this n physical machineResource average utilization is 7%. If resource threshold is 10% in this transition condition, this source VIM canDetermine that in this n physical machine, all virtual machines are virtual machine to be migrated.
Step 504, source VIM send migration request message to telegon, and this migration request message comprises thisThe ID of the ID of virtual machine to be migrated and this source VIM.
This source VIM can be by pre-configured this source VIM and the coffret of this telegon, rootAccording to the ID of this virtual machine to be migrated and the ID of this source VIM, generate the ID that comprises this virtual machine to be migratedAnd this migration request message of the ID of this source VIM, and be sent to this telegon.
Step 505, telegon are according to the ID of the ID of this virtual machine to be migrated and this source VIM, for this is treatedMigration virtual machine is determined at least one candidate VIM.
Telegon can be that to obtain this virtual machine to be migrated according to the ID of this virtual machine to be migrated correspondingThe VNF level resource deployment strategy of VNFC, and the affiliated VNF of VNFC corresponding to this virtual machine to be migratedNS level resource deployment strategy, then determine whether the migration of this virtual machine to be migrated meets this VNF levelResource deployment strategy and this NS level deployment strategy. If the migration of this virtual machine to be migrated meets VNF level moneySource deployment strategy and this NS level resource deployment strategy, this virtual machine to be migrated can be moved. If not,Telegon is refused the migration of this virtual machine to be migrated, to this source VIM remigration refuse information, and shouldMigration refuse information comprises Reason For Denial value, as virtual machine 01, and refusal migration.
Telegon also, according to this VNF level resource deployment strategy and this NS level resource deployment strategy, moves needThe virtual machine that moves to same VIM corresponding data center and different VIM corresponding datas center is divided.
It should be noted that, telegon can be the ID according to this virtual machine to be migrated respectively, inquiry NFV(VirtualisedNetworkFunctionRecord is called for short Virtual NE catalogue in example catalogueVNFR), obtain ID, this VNFC of the VNFC that virtual machine to be migrated is corresponding resource requirement, shouldThe ID of VNF under VNFC, and the resource deployment strategy of VNF under this VNFC, shouldVNF level resource deployment strategy. Wherein, the resource requirement of this VNFC, the i.e. resource of virtual machine to be migratedDemand. The resource deployment strategy of this VNF level comprises: this VNFC, and with the VNF under this VNFCIn other VNFC be deployed in Same Physical machine, or be deployed in the corresponding information of different physical machine.
Telegon can be according to the ID of this source VIM, and the ID of this VNF, inquiry NFV example orderNetwork service catalogue (NetworkServiceRecord is called for short VSR) in record, obtains this VNF instituteThe resource deployment strategy of the NS belonging to, i.e. the resource deployment strategy of this NS level, and exist approximately with this VNFThe ID of VIM corresponding to other VNF place data centers of this NS of bundle relation. The money of this NS levelSource deployment strategy comprises: this VNF, is deployed in same number with other VNF in NS under this VNFAccording to center, or be deployed in the corresponding information at different pieces of information center.
Telegon is also according to the ID of this source VIM, and inquiry infrastructure resources catalogue is obtained except this source VIMOutside the resource information at other VIM corresponding data centers, as available resource information etc.
Telegon is also according to the resource information at these other VIM corresponding data centers, and this virtual machine to be migratedResource requirement, determine and can meet the resource requirement of virtual machine to be migrated respectively, and meet this VNF level moneyAt least one VIM of source deployment strategy and this NS level resource deployment strategy be this virtual machine to be migrated extremelyA few candidate VIM. If can not meet the VIM of this virtual machine virtual resource demand to be migrated, this associationAdjust device also to need to return to source VIM the migration refuse information that comprises Reason For Denial value.
Step 506, source VIM are at least one candidate VIM Transmit weight request message, this weight requestMessage comprises the resource requirement of this virtual machine to be migrated.
This source VIM can be by pre-configured this source VIM and the coffret of other VIM, rootAccording to resource requirement and the resource deployment strategy corresponding to this virtual machine to be migrated of this virtual machine to be migrated, generateComprise the power of the resource deployment strategy that the resource requirement of this virtual machine to be migrated and this virtual machine to be migrated are correspondingHeavy request message, and be sent to this at least one candidate VIM.
Step 507, this at least one candidate VIM respectively according to the resource requirement of this virtual machine to be migrated andReception weight corresponding to physical resource information acquisition of this at least one candidate VIM.
Step 508, this at least one candidate VIM be respectively to telegon Transmit weight request response,This weight request response comprises: the reception weight of each candidate VIM.
Step 509, telegon, according to the reception weight of this each candidate VIM, are determined and are received weight maximumThe VIM object VIM that is virtual machine to be migrated.
Step 510, telegon send migration Indication message to source VIM, and this migration Indication message comprises thisThe ID of the ID of virtual machine to be migrated and the object VIM of this virtual machine to be migrated.
Step 511, source VIM be the object VIM to this virtual machine to be migrated by this virtual machine (vm) migration to be migratedThe physical machine of management.
It should be noted that, in embodiment of the present invention scheme, source VIM is complete at this virtual machine (vm) migration to be migratedAfter one-tenth, also send announcing removal message to telegon, in this announcing removal message, can comprise this source VIMMove out of the virtual resource information after this virtual machine to be migrated, and this object VIM moves into, and this is to be migrated virtualVirtual resource information after machine. This telegon, also can be according to this after receiving this announcing removal messageSource VIM moves out of the virtual resource information after this virtual machine to be migrated, and this object VIM moves into this and treatsVirtual resource information after migration virtual machine is carried out resource updates to infrastructure resources catalogue, simultaneously also rightThe position at the VNFC place that this virtual machine to be migrated in NFV example (Instances) record sheet is correspondingInformation is upgraded.
The virtual machine migration method that the embodiment of the present invention provides, because source VIM can be according to the each thing obtainingThe resource using information of reason machine and the resource threshold of this physical machine are determined virtual machine to be migrated, then to coordinationDevice sends migration request message, triggers the migration of this virtual machine to be migrated, and this telegon also can basis simultaneouslyThe definite reception weight of this at least one candidate VIM is determined object VIM, can make when this coordinator managementDifferent VIM corresponding datas in resource in the heart distribute more rationally, realize better this coordinator managementResource optimization between data center, reduces the energy consumption of data center.
The embodiment of the present invention also provides a kind of VIM. The VIM that the embodiment of the present invention provides, can be used for implementingArbitrary virtual machine migration method described in above-described embodiment. The VIM that Fig. 6 provides for the embodiment of the present inventionStructural representation. VIM600 is source VIM.
As shown in Figure 6, VIM600 comprises: acquisition module 601, determination module 602, sending module 603,Receiver module 604, transferring module 605.
Wherein, acquisition module 601, uses letter for the resource of each physical machine of obtaining this source VIM managementBreath.
Determination module 602, for according to the resource using information of this each physical machine and default physical machineResource threshold, determines physical machine in idle condition, and virtual by the physical machine of this idle conditionMachine is defined as virtual machine to be migrated.
Sending module 603, for sending migration request message to the telegon of management this source VIM, this movesMoving request message comprises: the ID of the ID of this virtual machine to be migrated and this source VIM.
Receiver module 604, the migration Indication message sending for receiving this telegon, this migration instruction disappearsBreath comprises: the ID of the object VIM of this virtual machine to be migrated.
Transferring module 605, for according to the object of the ID of this virtual machine to be migrated and this virtual machine to be migratedThe ID of VIM, the thing by this virtual machine (vm) migration to be migrated to the object VIM management of this virtual machine to be migratedReason machine.
Optionally, above-mentioned acquisition module 604, also at determination module 602 according to this each physical machineThe resource threshold of resource using information and default this physical machine, before determining virtual machine to be migrated, obtainsThe resource threshold of this physical machine.
Optionally, the resource threshold of this physical machine can comprise: resource is used threshold value, or, the idle threshold of resourceValue.
Determination module 602, also for using threshold according to the resource using information of this each physical machine and this resourceValue, determines that resource using information is less than the physical machine that physical machine that this resource uses threshold value is this idle condition;Or, for determine the idle information of resource of this each physical machine according to the resource using information of this each physical machine,And according to the idle information of the resource of this each physical machine and the idle threshold value of this resource, determine that the idle information of resource is largeIn or equal the physical machine that the physical machine of the idle threshold value of this resource is this idle condition.
Optionally, sending module 603, also for sending this migration request by VNFM to this telegonMessage.
The ID of this virtual machine to be migrated that optionally, above-mentioned this migration request message comprises comprises at least twoThe ID of virtual machine to be migrated.
This migration Indication message comprises: the ID of these at least two virtual machines to be migrated, and each void to be migratedThe ID of the object VIM of plan machine.
This transferring module, also for each to be migrated according to the ID of these at least two virtual machines to be migrated and thisThe ID of the object VIM of virtual machine, by this each virtual machine (vm) migration to be migrated to this each void to be migratedThe physical machine of the object VIM management of plan machine.
The VIM that the embodiment of the present invention provides, can be used for implementing the virtual machine (vm) migration side described in above-described embodimentMethod, implementation procedure and beneficial effect that it is concrete are similar to the above embodiments, do not repeat them here.
The embodiment of the present invention also provides a kind of telegon. The telegon that the embodiment of the present invention provides, can be used forArbitrary virtual machine migration method described in enforcement above-described embodiment. Fig. 7 provides for the embodiment of the present inventionThe structural representation of telegon. As shown in Figure 7, this telegon 700 can be NFVO. Telegon 700Comprise: receiver module 701, determination module 702 and sending module 703.
Wherein, receiver module 701, the migration request message sending for reception sources VIM; This migration pleaseAsk message to comprise: the ID of the ID of virtual machine to be migrated and this source VIM.
Wherein, this at least one virtual machine to be migrated is that this source VIM is according to this source VIM management of obtainingThe resource using information of each physical machine and default physical machine resource threshold determine.
Determination module 702, for according to the ID of the ID of this virtual machine to be migrated and this source VIM, is thisVirtual machine to be migrated is determined object VIM.
Sending module 703, for sending migration Indication message, this migration Indication message bag to this source VIMDraw together: the ID of the object VIM of this virtual machine to be migrated.
This migration Indication message, is used to indicate this source VIM by be migrated to this this virtual machine (vm) migration to be migratedThe physical machine of the object VIM management of virtual machine.
Optionally, sending module 703, also for receiving being somebody's turn to do of this source VIM transmission at receiver module 701Before migration request message, send the resource threshold of physical machine to this source VIM.
Optionally, receiver module 701, this migration also sending by VNFM for receiving this source VIMRequest message.
Optionally, above-mentioned determination module 702, also for according to the ID of this virtual machine to be migrated and this sourceThe ID of VIM, determine the resource requirement of this virtual machine to be migrated and this coordinator management except this source VIMOutside the virtual resource information of other each VIM, according to the resource requirement of this virtual machine to be migrated and shouldThe virtual resource information of other each VIM outside the VIM of source is determined at least one for this virtual machine to be migratedIndividual candidate VIM, and according to the reception weight of this at least one candidate VIM, definite reception weight maximumVIM is the object VIM of this virtual machine to be migrated. Wherein, the reception of this at least one candidate VIM powerHeavily be respectively used to represent that the physical machine of this at least one VIM management needs the reception of this virtual machine to be migratedAsk.
Optionally, sending module 703, also at determination module 702 according to this at least one candidate VIMThe reception weight of each candidate VIM, determine that the VIM that receives weight maximum is this virtual machine to be migratedObject VIM before, respectively to this each candidate VIM Transmit weight request message; This weight requestMessage comprises: the resource requirement of this virtual machine to be migrated.
Receiver module 701, the weight request response also sending for receiving this each candidate VIM,This weight request response comprises: the reception weight of this each candidate VIM; This each candidate VIMReception weight comprise: each candidate VIM is respectively according to the resource requirement of this virtual machine to be migrated with this is everyThe resource information of the physical machine of individual candidate VIM management obtains.
The ID of this virtual machine to be migrated that optionally, this migration request message comprises comprises and waits at least two to moveMove the ID of virtual machine.
Determination module 702, also for according to the ID of these at least two virtual machines to be migrated and this source VIMID, is respectively each virtual machine to be migrated and determines object VIM; This migration Indication message comprises: this at leastThe ID of two virtual machines to be migrated, and the ID of the object VIM of this each virtual machine to be migrated.
The telegon that the embodiment of the present invention provides, can be used for implementing the arbitrary virtual machine described in above-described embodimentMoving method, implementation procedure and beneficial effect that it is concrete are similar to the above embodiments, do not repeat them here.
One of ordinary skill in the art will appreciate that: all or part of step that realizes above-mentioned each embodiment of the methodSuddenly can complete by the relevant hardware of programmed instruction. Aforesaid program can be stored in a computer canRead in storage medium. This program, in the time carrying out, is carried out the step that comprises above-mentioned each embodiment of the method; AndAforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. are various can be program code storedMedium.
Finally it should be noted that: above each embodiment is only in order to technical scheme of the present invention to be described, but not rightIts restriction; Although the present invention is had been described in detail with reference to aforementioned each embodiment, this area commonTechnical staff is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified,Or some or all of technical characterictic is wherein equal to replacement; And these amendments or replacement, andDo not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (22)

1. a virtual machine migration method, is characterized in that, comprising:
The resource that source virtual facility manager VIM obtains each physical machine of described source VIM management is used letterBreath;
Described source VIM is according to the resource threshold of the resource using information of described each physical machine and default physical machineValue, determines the physical machine in idle condition, and by true the virtual machine in the physical machine of described idle conditionBe decided to be virtual machine to be migrated;
Described source VIM sends migration request message, described migration to the telegon of the described source VIM of managementRequest message comprises: the ID of the mark ID of described virtual machine to be migrated and described source VIM;
Described source VIM receives the migration Indication message that described telegon sends, described migration Indication message bagDraw together: the ID of the object VIM of described virtual machine to be migrated;
Described source VIM is according to the object of the ID of described virtual machine to be migrated and described virtual machine to be migratedThe ID of VIM, the object VIM management by described virtual machine (vm) migration to be migrated to described virtual machine to be migratedPhysical machine.
2. method according to claim 1, is characterized in that, described source VIM is according to described eachThe resource threshold of the resource using information of physical machine and default physical machine, determines the thing in idle conditionBefore reason machine, also comprise:
Described source VIM obtains the resource threshold of default described physical machine.
3. method according to claim 2, is characterized in that, the resource threshold bag of described physical machineDraw together: resource is used threshold value or the idle threshold value of resource;
Described source VIM is according to the resource threshold of the resource using information of described each physical machine and default physical machineValue, determines the physical machine in idle condition, comprising:
Described source VIM uses threshold value according to the resource using information of described each physical machine and described resource, reallyDetermine resource using information and be less than the physical machine that physical machine that described resource uses threshold value is described idle condition;Or,
Described source VIM determines the resource of described each physical machine according to the resource using information of described each physical machineIdle information, according to the idle information of the resource of described each physical machine and the idle threshold value of described resource, determines moneyThe idle information in source is more than or equal to the physics that the physical machine of the idle threshold value of described resource is described idle conditionMachine.
4. according to the method described in any one in claim 1-3, it is characterized in that, described source VIM toTelegon sends migration request message and comprises:
Described source VIM sends described migration by Virtual NE manager VNFM to described telegon pleaseAsk message.
5. according to the method described in any one in claim 1-4, it is characterized in that described migration requestThe ID of the described virtual machine to be migrated that message comprises comprises the ID of at least two virtual machines to be migrated;
Described migration Indication message comprises: the ID of described at least two virtual machines to be migrated, and each waiting movedMove the ID of the object VIM of virtual machine;
Described source VIM is according to the object of the ID of described virtual machine to be migrated and described virtual machine to be migratedThe ID of VIM, the object VIM management by described virtual machine (vm) migration to be migrated to described virtual machine to be migratedPhysical machine, comprising:
Described source VIM is according to the ID of described at least two virtual machines to be migrated and described each void to be migratedThe ID of the object VIM of plan machine, by described each virtual machine (vm) migration to be migrated to described each to be migratedThe physical machine of the object VIM management of virtual machine.
6. a virtual machine migration method, is characterized in that, comprising:
The migration request message that telegon reception sources VIM sends; Described migration request message comprises: wait to moveMove the ID of virtual machine and the ID of described source VIM;
Described telegon, according to the ID of the ID of described virtual machine to be migrated and described source VIM, is treated for describedMigration virtual machine is determined object VIM;
Described telegon sends migration Indication message to described source VIM, and described migration Indication message comprises:The ID of the object VIM of described virtual machine to be migrated; Described migration Indication message is used to indicate described source VIMPhysical machine by described virtual machine (vm) migration to be migrated to the object VIM management of described virtual machine to be migrated.
7. method according to claim 6, is characterized in that, described telegon reception sources VIMBefore the migration request message sending, also comprise:
Described telegon sends the resource threshold of physical machine to described source VIM.
8. according to the method described in claim 6 or 7, it is characterized in that described telegon reception sourcesThe migration request message that VIM sends comprises:
Described telegon receives the described migration request message that described source VIM sends by VNFM.
9. according to the method described in any one in claim 6-8, it is characterized in that described telegon rootAccording to the ID of described virtual machine to be migrated and the ID of described source VIM, for described virtual machine to be migrated is determined orderVIM, comprising:
Described telegon is according to the ID of the ID of described virtual machine to be migrated and described source VIM, described in determiningThe resource requirement of virtual machine to be migrated and described coordinator management except described source VIM other eachThe virtual resource information of VIM;
Described telegon is according to other outside the resource requirement of described virtual machine to be migrated and described source VIMThe virtual resource information of each VIM, for described virtual machine to be migrated is determined at least one candidate VIM;
Described telegon is according to the reception weight of each candidate VIM of described at least one candidate VIM,The object VIM that the VIM that determines reception weight maximum is described virtual machine to be migrated; Wherein, described eachThe reception weight of candidate VIM represents that respectively the physical machine of described each candidate VIM management moves described waitingMove the reception demand of virtual machine.
10. method according to claim 9, is characterized in that, described telegon is according to extremely describedThe reception weight of each candidate VIM of a few candidate VIM, determines that the VIM that receives weight maximum isBefore the object VIM of described virtual machine to be migrated, also comprise:
Described telegon is respectively to described each candidate VIM Transmit weight request message; Described weight requestMessage comprises: the resource requirement of described virtual machine to be migrated;
Described telegon receives the weight request response that described each candidate VIM sends, described weightRequest response comprises: the reception weight of described each candidate VIM; Described each candidate VIM'sReception weight comprises: described each candidate VIM according to the resource requirement of described virtual machine to be migrated and described inThe resource information of the physical machine of each candidate VIM management obtains.
11. according to the method described in any one in claim 6-10, it is characterized in that, described migration pleaseAsk the ID of the described virtual machine to be migrated that message comprises to comprise the ID of at least two virtual machines to be migrated;
Described telegon, according to the ID of the ID of described virtual machine to be migrated and described source VIM, is treated for describedMigration virtual machine determines that object VIM comprises:
Described telegon is according to the ID of the ID of described at least two virtual machines to be migrated and described source VIM,Be respectively each virtual machine to be migrated and determine object VIM; Described migration Indication message comprises: at least describedThe ID of two virtual machines to be migrated, and the ID of the object VIM of described each virtual machine to be migrated.
12. 1 kinds of VIM, described VIM is source VIM, it is characterized in that, comprising:
Acquisition module, for obtaining the resource using information of each physical machine of described source VIM management;
Determination module, for according to the money of the resource using information of described each physical machine and default physical machineSource threshold value, determines physical machine in idle condition, and virtual by the physical machine of described idle conditionMachine is defined as virtual machine to be migrated;
Sending module, for to management described source VIM telegon send migration request message, described in moveMoving request message comprises: the ID of the ID of described virtual machine to be migrated and described source VIM;
Receiver module, the migration Indication message sending for receiving described telegon, described migration instruction disappearsBreath comprises: the ID of the object VIM of described virtual machine to be migrated;
Transferring module, for according to the object of the ID of described virtual machine to be migrated and described virtual machine to be migratedThe ID of VIM, the object VIM management by described virtual machine (vm) migration to be migrated to described virtual machine to be migratedPhysical machine.
13. VIM according to claim 12, is characterized in that,
Described acquisition module, also for using letter at described determination module according to the resource of described each physical machineThe resource threshold of this physical machine ceasing and preset, before determining virtual machine to be migrated, obtains described physical machineResource threshold.
14. VIM according to claim 13, is characterized in that, the resource threshold of described physical machineComprise: resource is used threshold value or the idle threshold value of resource;
Described determination module, also for making according to the resource using information of described each physical machine and described resourceBy threshold value, determine to be less than described resource by resource using information to use the physical machine of threshold value be described idle conditionPhysical machine; Or, for determine described each physical machine according to the resource using information of described each physical machineThe idle information of resource, and according to the idle information of the resource of described each physical machine and the idle threshold value of described resource,Determine what to be more than or equal to the physical machine of the idle threshold value of described resource be described idle condition to the idle information of resourcePhysical machine.
15. according to the VIM described in any one in claim 12-14, it is characterized in that,
Described sending module, also for sending described migration request message by VNFM to described telegon.
16. according to the VIM described in any one in claim 12-15, it is characterized in that described migrationThe ID of the described virtual machine to be migrated that request message comprises comprises the ID of at least two virtual machines to be migrated;
Described migration Indication message comprises: the ID of described at least two virtual machines to be migrated, and each waiting movedMove the ID of the object VIM of virtual machine;
Described transferring module, also for according to the ID of described at least two virtual machines to be migrated and described eachThe ID of the object VIM of virtual machine to be migrated, by described each virtual machine (vm) migration to be migrated to described everyThe physical machine of the object VIM management of individual virtual machine to be migrated.
17. 1 kinds of telegons, is characterized in that, comprising:
Receiver module, the migration request message sending for reception sources VIM; Described migration request message bagDraw together: the ID of the ID of virtual machine to be migrated and described source VIM;
Determination module, for according to the ID of the ID of described virtual machine to be migrated and described source VIM, is instituteState virtual machine to be migrated and determine object VIM;
Sending module, for sending migration Indication message, described migration Indication message bag to described source VIMDraw together: the ID of the object VIM of described virtual machine to be migrated; Described in described migration Indication message is used to indicateSource VIM is the thing to the object VIM management of described virtual machine to be migrated by described virtual machine (vm) migration to be migratedReason machine.
18. telegons according to claim 17, is characterized in that,
Described sending module, also receiving for described receiver module the described migration that described source VIM sends pleaseBefore asking message, send the resource threshold of physical machine to described source VIM.
19. according to the telegon described in claim 17 or 18, it is characterized in that,
Described receiver module, also please for receiving the described migration that described source VIM sends by VNFMAsk message.
20. according to the telegon described in any one in claim 17-19, it is characterized in that,
Described determination module, also for according to the ID of the ID of described virtual machine to be migrated and described source VIM,Determine the resource requirement of described virtual machine to be migrated and described coordinator management except described source VIMThe virtual resource information of other each VIM, according to the resource requirement of described virtual machine to be migrated and described sourceThe virtual resource information of each VIM of other outside VIM is that described virtual machine to be migrated is determined at least oneIndividual candidate VIM, and according to the reception weight of each candidate VIM of described at least one candidate VIM,The object VIM that the VIM that determines reception weight maximum is described virtual machine to be migrated; Wherein, described eachThe physical machine that the reception weight of candidate VIM is respectively used to represent described each candidate VIM management is to describedThe reception demand of virtual machine to be migrated.
21. telegons according to claim 20, is characterized in that,
Described sending module, also for every according to described at least one candidate VIM at described determination moduleThe reception weight of individual candidate VIM, the VIM that determines reception weight maximum is described virtual machine to be migratedBefore object VIM, respectively to described each candidate VIM Transmit weight request message; Described weight pleaseAsk message to comprise: the resource requirement of described virtual machine to be migrated;
Described receiver module, the weight request response also sending for receiving described each candidate VIM,Described weight request response comprises: the reception weight of described each candidate VIM; Described each candidateThe reception weight of VIM comprises: described each candidate VIM is according to the resource requirement of described virtual machine to be migratedObtain with the resource information of the physical machine of described each candidate VIM management.
22. according to the telegon described in any one in claim 17-21, it is characterized in that, described in moveThe ID that moves the described virtual machine to be migrated that request message comprises comprises the ID of at least two virtual machines to be migrated;
Described determination module, also for according to the ID of described at least two virtual machines to be migrated and described sourceThe ID of VIM, is respectively each virtual machine to be migrated and determines object VIM; Described migration Indication message comprises:The ID of described at least two virtual machines to be migrated, and the object VIM of described each virtual machine to be migratedID。
CN201410673544.4A 2014-11-21 2014-11-21 Virtual machine migration method, virtual facility manager and coordinator Active CN105677441B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410673544.4A CN105677441B (en) 2014-11-21 2014-11-21 Virtual machine migration method, virtual facility manager and coordinator
PCT/CN2015/080670 WO2016078391A1 (en) 2014-11-21 2015-06-03 Virtual machine migration method, virtualized infrastructure manger and coordinator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410673544.4A CN105677441B (en) 2014-11-21 2014-11-21 Virtual machine migration method, virtual facility manager and coordinator

Publications (2)

Publication Number Publication Date
CN105677441A true CN105677441A (en) 2016-06-15
CN105677441B CN105677441B (en) 2019-07-09

Family

ID=56013224

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410673544.4A Active CN105677441B (en) 2014-11-21 2014-11-21 Virtual machine migration method, virtual facility manager and coordinator

Country Status (2)

Country Link
CN (1) CN105677441B (en)
WO (1) WO2016078391A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106230623A (en) * 2016-07-22 2016-12-14 中国联合网络通信集团有限公司 A kind of VIM site selection method and device
CN108804210A (en) * 2018-04-23 2018-11-13 北京奇艺世纪科技有限公司 A kind of resource allocation method and device of cloud platform
WO2018205079A1 (en) * 2017-05-08 2018-11-15 华为技术有限公司 Method and device for use in transferring control right of network device
CN108958889A (en) * 2018-07-12 2018-12-07 郑州云海信息技术有限公司 The management method and device of virtual machine in cloud data system
CN109189553A (en) * 2018-08-17 2019-01-11 烽火通信科技股份有限公司 Network service and virtual resource multiple target matching process and system
CN109960564A (en) * 2017-12-22 2019-07-02 上海盛霄云计算技术有限公司 A kind of method of virtual machine (vm) migration

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109408230B (en) * 2018-10-10 2021-07-20 中国科学院计算技术研究所 Docker container deployment method and system based on energy consumption optimization
CN113645078B (en) * 2021-08-16 2023-10-27 烽火通信科技股份有限公司 Method and system for automatically extending network management service

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104010028A (en) * 2014-05-04 2014-08-27 华南理工大学 Dynamic virtual resource management strategy method for performance weighting under cloud platform
CN104102523A (en) * 2013-04-03 2014-10-15 华为技术有限公司 Method for migrating virtual machine and resource scheduling platform
US20140317621A1 (en) * 2006-02-28 2014-10-23 Microsoft Corporation Migrating a virtual machine that owns a resource such as a hardware device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140317621A1 (en) * 2006-02-28 2014-10-23 Microsoft Corporation Migrating a virtual machine that owns a resource such as a hardware device
CN104102523A (en) * 2013-04-03 2014-10-15 华为技术有限公司 Method for migrating virtual machine and resource scheduling platform
CN104010028A (en) * 2014-05-04 2014-08-27 华南理工大学 Dynamic virtual resource management strategy method for performance weighting under cloud platform

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106230623A (en) * 2016-07-22 2016-12-14 中国联合网络通信集团有限公司 A kind of VIM site selection method and device
CN106230623B (en) * 2016-07-22 2019-03-15 中国联合网络通信集团有限公司 A kind of VIM site selection method and device
WO2018205079A1 (en) * 2017-05-08 2018-11-15 华为技术有限公司 Method and device for use in transferring control right of network device
CN109219941A (en) * 2017-05-08 2019-01-15 华为技术有限公司 Network equipment control right transfer method and apparatus
CN109960564A (en) * 2017-12-22 2019-07-02 上海盛霄云计算技术有限公司 A kind of method of virtual machine (vm) migration
CN108804210A (en) * 2018-04-23 2018-11-13 北京奇艺世纪科技有限公司 A kind of resource allocation method and device of cloud platform
CN108958889A (en) * 2018-07-12 2018-12-07 郑州云海信息技术有限公司 The management method and device of virtual machine in cloud data system
CN109189553A (en) * 2018-08-17 2019-01-11 烽火通信科技股份有限公司 Network service and virtual resource multiple target matching process and system

Also Published As

Publication number Publication date
CN105677441B (en) 2019-07-09
WO2016078391A1 (en) 2016-05-26

Similar Documents

Publication Publication Date Title
CN105677441A (en) Migration method of virtual machines, manager of virtual facility and coordinator
CN107343045B (en) Cloud computing system and cloud computing method and device for controlling server
CN109213600B (en) GPU resource scheduling method and device based on AI cloud
US10572290B2 (en) Method and apparatus for allocating a physical resource to a virtual machine
CN105979007A (en) Acceleration resource processing method and device and network function virtualization system
CN105072182A (en) Load balancing method, load balancer and user terminal
CN110162388A (en) A kind of method for scheduling task, system and terminal device
CN104951353A (en) VNF (virtual network function) acceleration method and device
CN107864211B (en) Cluster resource dispatching method and system
CN111325506A (en) Warehouse configuration method and device, storage medium and electronic device
CN102508717B (en) Memory scheduling method and memory scheduling device for multi-core processor
CN104599085A (en) User motivating method under crowdsourcing mode and crowdsourcing system
CN106034153A (en) Bandwidth resource distribution method, data transmission method, data transmission device and data processing system
CN106127410A (en) Housekeeping service monitoring and managing method, Apparatus and system
US20140173601A1 (en) System for energy saving in company data centers
CN112230677A (en) Unmanned aerial vehicle group task planning method and terminal equipment
CN105051689A (en) Method, apparatus and system for scheduling resource pool in multi-core system
CN117149665B (en) Continuous integration method, control device, continuous integration system, and storage medium
CN103260196A (en) Method, device and system of controlling of transmission bandwidth
CN105653347A (en) Server, resource management method and virtual machine manager
CN103634322B (en) Heartbeat management method, heartbeat management device and heartbeat management system for application programs
CN104184685B (en) Data center resource distribution method, apparatus and system
CN105517176B (en) The method of dynamic dispatching virtualization base station resource
CN109639599B (en) Network resource scheduling method and system, storage medium and scheduling device
CN106850822A (en) Load-balancing method, equipment and distributed 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