CN107066312A - Using the virtual machine (vm) migration implementation method of automatic compatible technology - Google Patents

Using the virtual machine (vm) migration implementation method of automatic compatible technology Download PDF

Info

Publication number
CN107066312A
CN107066312A CN201710244968.2A CN201710244968A CN107066312A CN 107066312 A CN107066312 A CN 107066312A CN 201710244968 A CN201710244968 A CN 201710244968A CN 107066312 A CN107066312 A CN 107066312A
Authority
CN
China
Prior art keywords
migration
service
resource
virtual machine
server
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.)
Pending
Application number
CN201710244968.2A
Other languages
Chinese (zh)
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.)
Jinan Inspur Hi Tech Investment and Development Co Ltd
Original Assignee
Jinan Inspur Hi Tech Investment and Development 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 Jinan Inspur Hi Tech Investment and Development Co Ltd filed Critical Jinan Inspur Hi Tech Investment and Development Co Ltd
Priority to CN201710244968.2A priority Critical patent/CN107066312A/en
Publication of CN107066312A publication Critical patent/CN107066312A/en
Pending legal-status Critical Current

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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • 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]
    • G06F9/5083Techniques for rebalancing the load in a distributed system
    • 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses the virtual machine (vm) migration implementation method using automatic compatible technology, methods described in cloud computing framework by adding control module:Central controller, local controller, wherein:Central controller, local controller operate above resource monitor service and migration management service;The monitoring resource of system is completed with the resource monitor service in the resource monitor service and local controller in central controller, resource monitor service of the resource monitor service periodically into local controller in central controller sends request, obtains the resource service condition on respective Server;Resource monitor service in central controller records the resource service condition of each server of whole cloud computing center, when resource uses more than some threshold value, and system will initiate dynamic migration by migration management service and operate.

Description

Using the virtual machine (vm) migration implementation method of automatic compatible technology
Technical field
The present invention relates to virtual machine technique field, and in particular to a kind of virtual machine (vm) migration using automatic compatible technology is real Existing method.
Background technology
With developing rapidly for computer technology, many changes, such as parallel computation, net are there occurs in terms of computer calculating Lattice are calculated, Distributed Calculation, and academia proposed cloud computing model again in recent years.In cloud computing model, resource is shared, and Reserved according to the request of user., can be in server on the same stage by virtualization technology(Server)Many void are disposed above Plan machine(VM), pass through monitor of virtual machine(VMM)Time-sharing multiplex Server resource, to carry out effectively utilizing Server.Often The service operation of individual user is on a VM, after the request of user goes through, and cloud computing platform must ensure strict to user The request of user is performed, allows the imperceptible environment residing for oneself of user to be virtual machine, and is considered in real physical machine. In addition, cloud computing platform also needs to the load between server in dynamic equilibrium cloud computing center, it is to avoid produce some Server Over-burden.Avoid having excessive virtual machine VM on Server on the same stage, or have excessive identical service(For example there are multiple VM All it is CPU calculation types or is all IO types)Cause the Server speeds of service excessively slow.Therefore, Server moneys how efficiently to be managed Source, is the major issue that cloud computing needs to solve.
Effective settling mode is to carry out VM migrations, and current VM dynamic migration is mostly the server monitoring on Server After arriving, by manually being migrated, and it can only be migrated on identical Server monitors, for example:Identical Xen Framework or KVM frameworks, can not but be migrated between Xen and KVM.
The content of the invention
The technical problem to be solved in the present invention is:The present invention is for problem above there is provided one kind using automatic compatible skill The virtual machine (vm) migration implementation method of art.
The technical solution adopted in the present invention is:
Using the virtual machine (vm) migration implementation method of automatic compatible technology, methods described is controlled by being added in cloud computing framework Module:Central controller, local controller, wherein:Central controller, local controller operate above resource monitor service and Migration management is serviced;The monitoring resource of system is supervised by the resource in the resource monitor service and local controller in central controller Control service, which coordinates, to be completed, resource monitor service of the resource monitor service in central controller periodically into local controller Request is sent, the resource service condition on respective Server is obtained;Resource monitor service in central controller records entirely The resource service condition of each server of cloud computing center, when resource uses more than some threshold value, system will be by moving Move management service and initiate dynamic migration operation.
The local resource monitoring service on resource monitor service and each server in central controller is interacted, really Making which virtual machine needs migration, and determines the home server of migration, when determining source and destination virtual machine, service During device, system will issue information central and local migration management service.
Methods described is responsible for carrying out the migration of native virtual machine by the source migration management service of local controller, when source mesh Monitor of virtual machine it is different when, source platform VM is switched to by state converter the VM forms of purpose platform, then be transmitted, Purpose migration management service is responsible for receiving virtual machine in destination host.
Methods described is responsible for source migration management service and purpose migration management by the migration management service of central controller The communication and interaction of service, and the resource service condition in monitoring transition process in real time, the speed of migration, example can be controlled at any time Such as, when the bandwidth in current cloud computing is limited, migration service will control the speed of migration by controlling the bandwidth of migration, The migration for not influenceing other to complete virtual machine in the case of servicing as far as possible.Sometimes even understand deferred migration, or quickly moved Move.
Resource monitor service in local controller except monitor the resource service condition of the machine be also recorded for it is local each The service condition for CPU, internal memory and the network bandwidth of individual virtual machine.
The cpu usage acquisition process is as follows:On the server of cloud computing center, each VM is entered by VMM Row scheduling, is tracked, VMM can easily obtain each VM and Server CPU is used by the switching to VM virtual machines Situation.It can be realized by changing VMM correspondence codes.
The internal memory service condition acquisition process is as follows:When VM is created, VMM installs configuration file and distributes quantitative to VM Internal memory, in fully virtualized VM, when VM uses internal memory, can transfer to VMM to carry out memory management.When VM internal memory uses hair When raw in short supply, VM use page is carried out to the duplication of exchange area by VMM, internal memory can be then obtained and use nervous VM.
The bandwidth usage acquisition process is as follows:Network interface card in VM, which is all fictionalized, to be come, actual network transmission It is also that, by calling Server network interface card to be transmitted, the bandwidth that methods described can monitor each VM by VMM makes Use situation.
Note:VMM virtual machines (VMM Virtual Machine Monitor) it to include planning, deployment, management and optimization empty Intend the end-to-end functions such as foundation structure;VM virtual machines.
Beneficial effects of the present invention are:
The characteristics of present invention is directed to cloud computing platform, can be migrated between different cloud computing platforms, cloud can be monitored in real time The resource service condition of the server of each in calculating, can independently choose whether to carry out dynamic migration, can be different virtual Migrated, the compatibility of this migration greatly improved and flexibility, the process of dynamic migration can be entered between monitor unit Row implementing monitoring, so as to take the resources such as excessive bandwidth during avoiding dynamic migration.So as to ensure the VM in transition process Service quality.
Brief description of the drawings
Fig. 1 is virtual machine (vm) migration structure chart.
Embodiment
Below according to Figure of description, with reference to embodiment, the present invention is further described:
Embodiment 1:
As shown in figure 1, using the virtual machine (vm) migration implementation method of automatic compatible technology, methods described passes through in cloud computing framework Middle addition control module:Central controller, local controller, wherein:Central controller, local controller operate above resource Monitoring service and migration management service;The monitoring resource of system is by the resource monitor service and local controller in central controller In resource monitor service coordinate and complete, money of the resource monitor service in central controller periodically into local controller Source monitoring service sends request, obtains the resource service condition on respective Server;Resource monitor service in central controller The resource service condition of each server of whole cloud computing center is record, when resource uses more than some threshold value, system Dynamic migration will be initiated by migration management service to operate.
Embodiment 2
It is local on the resource monitor service and each server in the present embodiment central controller on the basis of embodiment 1 Resource monitor service is interacted, and determines which virtual machine needs migration, and determines the home server of migration, when true When making source and destination virtual machine, server, system will issue information central and local migration management service.
Embodiment 3
On the basis of embodiment 2, the present embodiment methods described is responsible for progress by the source migration management service of local controller Source platform VM, when source purpose monitor of virtual machine is different, is switched to purpose by the migration of native virtual machine by state converter The VM forms of platform, then be transmitted, purpose migration management service is responsible for receiving virtual machine in destination host.
Embodiment 4
On the basis of embodiment 3, the present embodiment methods described is responsible for source by the migration management service of central controller and migrated Management service and the communication and interaction of the service of purpose migration management, and the resource service condition in monitoring transition process in real time, can To control the speed of migration at any time, for example, when the bandwidth in current cloud computing is limited, migration service will be by controlling migration Bandwidth come control migration speed, as far as possible do not influence other service in the case of complete virtual machine migration.Sometimes even meeting Deferred migration, or carry out fast transferring.
Embodiment 5
On the basis of any embodiment 1-4, the resource monitor service in the present embodiment local controller is except monitoring the machine Resource service condition is also recorded for the service condition for CPU, internal memory and the network bandwidth of each local virtual machine.
Embodiment 6
On the basis of embodiment 5, cpu usage acquisition process is as follows described in the present embodiment:In the service of cloud computing center On device, each VM is scheduled by VMM, is tracked by the switching to VM virtual machines, VMM can be obtained easily respectively Cpu usages of the individual VM to Server.It can be realized by changing VMM correspondence codes.
Embodiment 7
On the basis of embodiment 6, internal memory service condition acquisition process is as follows described in the present embodiment:When VM is created, VMM is installed Configuration file distributes quantitative internal memory to VM, in fully virtualized VM, when VM uses internal memory, can transfer to VMM come in carrying out Deposit management.When VM internal memory is using occurring in short supply, the use page for carrying out VM by VMM then may be used to the duplication of exchange area Nervous VM is used to obtain internal memory.
Embodiment 8
On the basis of embodiment 6, bandwidth usage acquisition process is as follows described in the present embodiment:Network interface card in VM is all virtual Out, actual network transmission is also that, by calling Server network interface card to be transmitted, methods described can pass through VMM Monitor each VM bandwidth usage.
Embodiment is merely to illustrate the present invention, and not limitation of the present invention, about the ordinary skill of technical field Personnel, without departing from the spirit and scope of the present invention, can also make a variety of changes and modification, therefore all equivalent Technical scheme fall within scope of the invention, scope of patent protection of the invention should be defined by the claims.

Claims (8)

1. using the virtual machine (vm) migration implementation method of automatic compatible technology, it is characterised in that methods described passes through in cloud computing Control module is added in framework:Central controller, local controller, wherein:Central controller, local controller are operated above Resource monitor service and migration management service;The monitoring resource of system is by the resource monitor service in central controller and local control Resource monitor service in device processed, which coordinates, to be completed, and the resource monitor service in central controller is periodically into local controller Resource monitor service send request, obtain the resource service condition on respective Server;Monitoring resource in central controller Service log the resource service condition of each server of whole cloud computing center, when resource uses more than some threshold value, System will initiate dynamic migration by migration management service and operate.
2. the virtual machine (vm) migration implementation method according to claim 1 using automatic compatible technology, it is characterised in that in Resource monitor service in the controller of centre and the local resource monitoring service on each server are interacted, and it is empty which is determined Plan machine needs migration, and determines the home server of migration, when determining source and destination virtual machine, server, system Information will be issued central and local migration management service.
3. the virtual machine (vm) migration implementation method according to claim 2 using automatic compatible technology, it is characterised in that institute The migration that method is responsible for carrying out native virtual machine by the source migration management service of local controller is stated, when source purpose virtual machine prison When controlling device difference, source platform VM is switched to by state converter the VM forms of purpose platform, then be transmitted, purpose migration tube Reason service is responsible for receiving virtual machine in destination host.
4. the virtual machine (vm) migration implementation method according to claim 3 using automatic compatible technology, it is characterised in that institute State method and the communication that source migration management service and purpose migration management are serviced is responsible for by the migration management service of central controller And interaction, and the resource service condition in monitoring transition process in real time, control the speed of migration.
5. according to the virtual machine (vm) migration implementation method of the automatic compatible technology of any described uses of claim 1-4, its feature Be, the resource monitor service in local controller be also recorded for each local virtual machine for CPU, internal memory and Netowrk tape Wide service condition.
6. the virtual machine (vm) migration implementation method according to claim 5 using automatic compatible technology, it is characterised in that institute State cpu usage acquisition process as follows:On the server of cloud computing center, each VM is scheduled by VMM, passed through Switching to VM virtual machines is tracked, and VMM obtains cpu usages of each VM to Server.
7. the virtual machine (vm) migration implementation method according to claim 6 using automatic compatible technology, it is characterised in that institute State internal memory service condition acquisition process as follows:When VM is created, VMM installs configuration file and quantitative internal memory is distributed to VM, works as VM Internal memory using occur it is in short supply when, by VMM carry out VM use page arrive exchange area duplication, obtain internal memory using anxiety VM。
8. the virtual machine (vm) migration implementation method according to claim 6 using automatic compatible technology, it is characterised in that institute State bandwidth usage acquisition process as follows:Methods described monitors each VM bandwidth usage by VMM.
CN201710244968.2A 2017-04-14 2017-04-14 Using the virtual machine (vm) migration implementation method of automatic compatible technology Pending CN107066312A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710244968.2A CN107066312A (en) 2017-04-14 2017-04-14 Using the virtual machine (vm) migration implementation method of automatic compatible technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710244968.2A CN107066312A (en) 2017-04-14 2017-04-14 Using the virtual machine (vm) migration implementation method of automatic compatible technology

Publications (1)

Publication Number Publication Date
CN107066312A true CN107066312A (en) 2017-08-18

Family

ID=59600633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710244968.2A Pending CN107066312A (en) 2017-04-14 2017-04-14 Using the virtual machine (vm) migration implementation method of automatic compatible technology

Country Status (1)

Country Link
CN (1) CN107066312A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107645410A (en) * 2017-09-05 2018-01-30 郑州云海信息技术有限公司 A kind of virtual machine management system and method based on OpenStack cloud platforms

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455373A (en) * 2013-09-18 2013-12-18 浪潮电子信息产业股份有限公司 Dynamic migration security framework of virtual machine
CN103645949A (en) * 2013-12-12 2014-03-19 浪潮电子信息产业股份有限公司 Virtual machine dynamic migration security framework
CN105094964A (en) * 2014-05-20 2015-11-25 苏宁云商集团股份有限公司 Virtual machine migration method and system
CN105159760A (en) * 2014-05-27 2015-12-16 中国电信股份有限公司 Cloud resource migration method and unified cross-platform cloud resource migration capability open interface
CN106406979A (en) * 2016-09-04 2017-02-15 国云科技股份有限公司 Method of migrating virtual machine of XenServer platform to KVM virtual platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455373A (en) * 2013-09-18 2013-12-18 浪潮电子信息产业股份有限公司 Dynamic migration security framework of virtual machine
CN103645949A (en) * 2013-12-12 2014-03-19 浪潮电子信息产业股份有限公司 Virtual machine dynamic migration security framework
CN105094964A (en) * 2014-05-20 2015-11-25 苏宁云商集团股份有限公司 Virtual machine migration method and system
CN105159760A (en) * 2014-05-27 2015-12-16 中国电信股份有限公司 Cloud resource migration method and unified cross-platform cloud resource migration capability open interface
CN106406979A (en) * 2016-09-04 2017-02-15 国云科技股份有限公司 Method of migrating virtual machine of XenServer platform to KVM virtual platform

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107645410A (en) * 2017-09-05 2018-01-30 郑州云海信息技术有限公司 A kind of virtual machine management system and method based on OpenStack cloud platforms

Similar Documents

Publication Publication Date Title
CN103631633B (en) Virtual machine total-system online migration method, device and system
CN107943555B (en) Big data storage and processing platform and big data processing method in cloud computing environment
CN107025205B (en) Method and equipment for training model in distributed system
CN103870314B (en) Method and system for simultaneously operating different types of virtual machines by single node
CN102724277B (en) The method of live migration of virtual machine and deployment, server and group system
CN105207798B (en) Service arrangement method and device in software defined network
WO2019149414A1 (en) Method and system for migration of containers in a container orchestration platform between compute nodes
CN105183554B (en) High-performance calculation and cloud computing hybrid system and its method for managing resource
KR20220006490A (en) Hybrid cloud resource allocation method for workload dynamic resource placement and optimization performance management
CN106020934A (en) Optimized deploying method based on virtual cluster online migration
CN104050043A (en) Share cache perception-based virtual machine scheduling method and device
US20230393879A1 (en) Coordinated Container Scheduling For Improved Resource Allocation In Virtual Computing Environment
CN107479943A (en) Multiple operating system operation method and device based on industry internet operating system
CN103744716A (en) Dynamic interrupt balanced mapping method based on current virtual central processing unit (VCPU) scheduling state
CN112099917B (en) Regulation and control system containerized application operation management method, system, equipment and medium
CN105391652A (en) USB equipment network sharing system and method based on USB redirection
CN103810015A (en) Virtual machine establishing method and equipment
CN107678752A (en) A kind of task processing method and device towards isomeric group
CN103747107A (en) Compatible cloud operating platform and realizing method thereof
CN106230986A (en) The resource adaptation dispatching patcher of a kind of electrically-based PaaS cloud platform and method
CN106559441A (en) It is a kind of based on the virtual machine monitoring method of cloud computing service, apparatus and system
CN102929769A (en) Virtual machine internal-data acquisition method based on agency service
CN102799465A (en) Virtual interrupt management method and device of distributed virtual system
CN106293933A (en) A kind of cluster resource configuration supporting much data Computational frames and dispatching method
CN106020969A (en) High-performance cloud computing hybrid computing system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170818