CN101876920A - Method for realizing virtual machine transfer on virtual hosts - Google Patents

Method for realizing virtual machine transfer on virtual hosts Download PDF

Info

Publication number
CN101876920A
CN101876920A CN2009102533245A CN200910253324A CN101876920A CN 101876920 A CN101876920 A CN 101876920A CN 2009102533245 A CN2009102533245 A CN 2009102533245A CN 200910253324 A CN200910253324 A CN 200910253324A CN 101876920 A CN101876920 A CN 101876920A
Authority
CN
China
Prior art keywords
virtual machine
virtual
platform
current
new
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
CN2009102533245A
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.)
Inventec Corp
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CN2009102533245A priority Critical patent/CN101876920A/en
Publication of CN101876920A publication Critical patent/CN101876920A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses a method for realizing virtual machine (VM) transfer on virtual hosts, which is used for transferring a current virtual machine on a serve client side to a new virtual machine. The method for realizing the virtual machine (VM) transfer on the virtual hosts comprises the following steps of: building a first virtual host on an entity server; building a resource pool, wherein the resource pool comprises the first virtual host; adding a second virtual host into the resource pool, and building the new virtual machine on the second virtual host; building the current virtual machine on the first virtual host, wherein the current virtual machine is provided with an operating system and a management procedure; and executing a transfer procedure so as to transfer the current virtual machine on the first virtual host to the new virtual machine on the second virtual host.

Description

On virtual platform, realize the method for virtual machine transfer
Technical field
The present invention is about a kind of method that realizes the virtual machine transfer on virtual platform, particularly about a kind of method that realizes having the virtual machine transfer of supervisory routine on virtual platform.
Background technology
Virtual machine (Virtual Machine, VM) and high in the clouds computing (Cloud Computing) etc. actual resource is offered user's technology after virtual, with and the interests brought, just be subjected to global gazing at.Wherein the high in the clouds computing is a kind of new compute mode based on the Internet (Internet), and it can see through services different on the Internet and provide required computing for the user of individual or enterprise.The resource of high in the clouds computing is virtualized, and actual resource is virtualized the back and offers the user through the Internet.The user does not need to understand the details of " high in the clouds " middle actual resource and relevant configuration thereof, needn't have corresponding professional knowledge, need not actual resource is directly controlled yet.The user can only pay close attention to oneself really to be needed and how to see through network to be served accordingly for which type of resource.
And after virtual machine gathers actual resources such as one or more processors, internal memory or storage device, the virtual platform that on actual resource, is established.Virtual machine can also be regarded as setting up a kind of environment between the computer platform of actual resource and terminal user's user.The environment that the user sets up based on this virtual platform carries out required computing or executive utility (Application).On a physical resource, simultaneously can have a plurality of virtual machines, and each virtual machine can be with the virtual resource that oneself is arranged, for example virtual arithmetic element or virtual hard disk (Virtual Hard Disk, VHD).Virtual machine also can be as the common computing machine executive routine with entity, or with the operating system that oneself is arranged (Operating System, OS) and application program.
In order to manage these virtual machines and actual resource, need the server of a management system traditionally, it is conceptive be similar to IPMI (Intelligent Platform ManagementInterface, IMPI).The server of this management system also is the server of an entity, and is connected and actual resource is provided the function of supervision and management with actual resource.Yet the server of traditional management system needs managerial personnel manually to carry out being configured (Configuring), so need the cost of cost server itself and the cost of management server.
In addition, desiring server with management system provides high availability (High Availability during HA) function, also need rely on managerial personnel to use extra hardware and specific backup software to realize.High availability system is in order to providing continual service, that is the user can see through the server admin virtual machine and the actual resource of management system all the time.That traditional way provides is standby (or being called redundancy, server redundancy) is awaited orders, and makes that the server of awaiting orders will be taken over provided the user to serve when original server can't provide service again in case go wrong.And this genealogy of law of doing is with cover these data in server of special software supervision and a relevant hardware, so that continual service mainly to be provided.Therefore provide the method for high availability service to need to need the hardware cost of cost redundancy section and the cost of software in addition traditionally, cause the required whole cost of the server of management system high more.
Summary of the invention
In order to address the above problem, the invention provides a kind of going up and realize virtual machine (Virtual Machine at virtual platform (virtual host), VM) Yi Zhuan method, it is passed to a new virtual machine (new VM) in order to the current virtual machine (current VM) that will serve a client.Comprise in the method that realizes the virtual machine transfer on the virtual platform: on a property server, create one first virtual platform; Create a resource pool (resource pool), wherein resource pool comprises first virtual platform; Create one second virtual platform in resource pool, and on second virtual platform, add new virtual machine; Create current virtual machine on first virtual platform, wherein current virtual machine has an operating system and a supervisory routine; And carry out a transfer program, the current virtual machine on first virtual platform is passed to the new virtual machine of second virtual platform.
Preferably, the step of above-mentioned " creating new virtual machine on second virtual platform " can be created new virtual machine according to an Internet Protocol address (Internet Protocol Address) of second virtual platform.
And the transfer program can comprise the steps: the data of current virtual machine are copied to new virtual machine; Binding between client and current virtual machine is copied to new virtual machine; And stop current virtual machine, and start new virtual machine, substitute the current virtual machine service client with new virtual machine.
Implement example according to of the present invention one, before the step of " carrying out the transfer program ", the method that realizes the virtual machine transfer on virtual platform can comprise in addition: see through the supervisory routine of the current virtual machine that runs on first virtual platform, the service of client-side management resource pool, first virtual platform and second virtual platform is provided.
Relative, after the step of " carrying out the transfer program ", the method that realizes the virtual machine transfer on virtual platform also can comprise: see through the supervisory routine of the new virtual machine that runs on second virtual platform, the service of client-side management resource pool, first virtual platform and second virtual platform is provided.
In sum, the method in realization virtual machine transfer on the virtual platform provided by the invention can be passed to the current virtual machine that the service of supervisory routine is provided the new virtual machine on the different virtual platform automatically.Therefore the service of client use can not be interrupted, or only generation has of short duration and interruption that accept.And this service method that high availability is provided does not need to back up the server or the software of usefulness.Therefore can significantly reduce on the hardware and managerial cost.
Description of drawings
Figure 1 shows that the block schematic diagram of the virtual machine of one enforcement example according to the present invention;
Figure 2 shows that the schematic flow sheet of the method that on virtual platform, realizes the virtual machine transfer of one enforcement example according to the present invention;
Figure 3 shows that the block schematic diagram of the current virtual machine of one enforcement example according to the present invention; And
Figure 4 shows that the schematic flow sheet of the transfer program of one enforcement example according to the present invention.
Wherein, Reference numeral:
10 clients
20 resource pools
22 virtual platforms
24 virtual machines
26 operating systems
32 first virtual platforms
34 current virtual machine
36 operating systems
38 supervisory routines
42 second virtual platforms
44 new virtual machines
Embodiment
Below in embodiment, be described in detail detailed features of the present invention and advantage, its content is enough to make any those skilled in the art to understand technology contents of the present invention and implements according to this, and according to the disclosed content of this instructions, claim and accompanying drawing, any those skilled in the art can understand purpose and the advantage that the present invention is correlated with easily.
The invention provides and a kind ofly go up to realize virtual machine at virtual platform (virtual host) (it is passed to a new virtual machine (new VM) in order to the current virtual machine (currentVM) that will serve a client for VirtualMachine, VM) Yi Zhuan method.Please refer to Fig. 1, it is the block schematic diagram of the virtual machine of one enforcement example according to the present invention.Can see by Fig. 1 and to know, comprise a virtual platform 22 in the resource pool 20, and have a virtual machine 24 to use on the virtual platform 22 for client 10.
Resource pool 20 comprises the actual computer hardware (being actual resource) that framework virtual platform 22 and virtual machine 24 are required, and virtual platform 22 and the virtual machine 24 creating out by these computer hardwares.In fact the computer hardware that needs can be an at least one property server with powerful arithmetic capability, also can comprise a jumbo storage device.Whole computer hardwares can be integrated in becomes a big virtual unit in the resource pool 20, and provides virtual machine 24 to use.And on real the work, also each the property server correspondence in the resource pool 20 can be configured to a virtual platform 22, and the virtual machine 24 that configuration needs on virtual platform 22.
Can be configured at least one virtual machine 24 on the virtual platform 22, and these virtual machines 24 are by the property server operation of framework virtual platform 22.Each virtual machine 24 all can have the virtual resource of oneself, uses to offer online client 10.Client 10 can be considered as online virtual machine 24 a common computing machine with processor and storage device, one operating system (Operating System, OS) 26 application programs miscellaneous (Application) and use it are installed in virtual machine 24.In other words, between the virtual machine 24 being can be mutually independently.Framework on same property server virtual machine 24 in addition different operating system 26 for example window (Windows) operating system or (SuSE) Linux OS can be installed.
Next the method that realizes the virtual machine transfer on virtual platform provided by the present invention will be described in detail in detail, how the current virtual machine of service client 10 be passed to new virtual machine with explanation.Please be simultaneously with reference to Fig. 2 and Fig. 3, it is respectively the schematic flow sheet of the method that realizes the virtual machine transfer on virtual platform of one enforcement example according to the present invention and the block schematic diagram of current virtual machine.
At first on ready property server, create (create also can be called framework) one first virtual platform 32 (step S50), and with first virtual platform, 32 establishing resource ponds 20 (step S60).First virtual platform 32 uses the actual resources running that property server provided, and with these actual resources then offer the virtual machine 24 of all frameworks on first virtual platform 32.In step S60, then the property server and first virtual platform 32 are set at resource pool 20 by first virtual platform 32.
After first virtual platform 32 is created, then add one second virtual platform 42 in resource pool 20, and in create on second virtual platform 42 new virtual machine 44 (step S70) and and on first virtual platform 32, create current virtual machine 34 (step S80), wherein current virtual machine 34 has an operating system 36 and a supervisory routine 38.That is to say that current virtual machine 34 and new virtual machine 44 system structures are on different virtual platform 22 (i.e. first virtual platform 32 and second virtual platform 42).Wherein but first virtual platform 32 and second virtual platform, 42 frameworks are in identical or different property server, and so preferably, first virtual platform 32 and second virtual platform, 42 frameworks are in different property server.
The operating system 36 of current virtual machine 34 can for example be all kinds such as Windows Server 2008, Ubuntu8.10 or Mac OS X Server, according to the present invention not to its restriction.Supervisory routine 38 then can be in order to actual resources all in the management resource pond 20 and according to the virtual platform 22 and the virtual machine 24 of actual resource institute framework.Therefore the client 10 that links to each other with current virtual machine 34 can see through the resource in the supervisory routine 38 management resource ponds 20.
Implement example according to of the present invention one, the method that realizes the virtual machine transfer on virtual platform can comprise in addition: see through the supervisory routine 38 of the current virtual machine 34 that runs on first virtual platform 32, the service of client 10 management resource ponds 20, first virtual platform 32 and second virtual platform 42 is provided.
In more detail, client 10 can see through supervisory routine 38 resource pools, 20 interior management or delete existing virtual platform 22, also can freely increase other virtual platform 22 newly.Identical, client 10 also can freely increase newly on each virtual platform 22, manage or deletion virtual machine 24.
In addition, (High Availability during HA) service, can move a trace routine in the arbitrary virtual machine 24 in current virtual machine 34 or resource pool 20 incessantly for the high availability that client 10 provided supervisory routine 38.Whether trace routine is necessary to transfer in order to the current virtual machine 34 that detects supervisory routine 38 places.For example, when having first virtual platform 32 of current virtual machine 34 or property server, framework need keep in repair or take place to need the current virtual machine 34 at supervisory routine 38 places is passed to framework in other virtual platform 22 or other property server when unusual.
Thus, trace routine just can be carried out transfer program (step S90) when the virtual resource at supervisory routine 38 places or actual resource generation problem, situation that can't use and management program 38 to avoid client 10 can't connect current virtual machine 34.Please refer to Fig. 4, it is the schematic flow sheet of the transfer program of one enforcement example according to the present invention.
After the detected program start, the transfer program is copied to new virtual machine 44 (step S92) with the data of current virtual machine 34.The transfer program is not only moved the file (data) in the virtual storage area of current virtual machine 34 to new virtual machine 44 totally, and the parameter or the related data that also operating system 36, supervisory routine 38 and all the other are run on the program of current virtual machine 34 are moved in the lump.Preferably, can see through in advance and use image file modes such as (image file), new virtual machine 44 is configured to and current virtual machine 34 identical environment.
Implement example according to of the present invention another, the new virtual machine 44 or second virtual platform 42 can be by the transfer program creations.That is to say that the new virtual machine 44 or second virtual platform 42 might not just be created before current virtual machine 34 offers client 10 with supervisory routine 38, also can need be carried out transfer and just create in current virtual machine 34.Because the structure of resource pool 20 can be considered a Internet (Internet) or a district net (Local Area Network, LAN), therefore can be according to an Internet Protocol address (the Internet Protocol Address of second virtual platform 42, IP Address) or a medium access control address (Media Access Control address, MAC address) create new virtual machine 44.Though by the new virtual machine 44 of transfer program creation or the mode of second virtual platform 42 slightly expends time in, relatively can reduce the redundancy (redundancy) in the resource pool 20.
The data of current virtual machine 34 are copied to after the new virtual machine 44 fully, and then the binding with 34 of client 10 and current virtual machine is copied to new virtual machine 44 (step S94).The binding that client 10 and current virtual machine are 34 means getting in touch between the supervisory routine 38 of client 10 and current virtual machine 34.This gets in touch normally based on network communication, for example comprises the Client-Server pattern, perhaps Web_Browser-Server pattern etc.Then in step S94, the binding that client 10 and current virtual machine are 34 is replicated to new virtual machine 44, and the binding of 34 of client 10 and current virtual machine is interrupted.In other words, next client 10 is obtained the service in management resource pond 20 by new virtual machine 44.
Transfer program at last stops current virtual machine 34, and starts new virtual machine 44 (step S96), then to provide service to client 10.And after carrying out the transfer program, the method that realizes the virtual machine transfer on virtual platform also can comprise: see through the supervisory routine 38 of the new virtual machine 44 that runs on second virtual platform 42, the service of client 10 management resource ponds 20, first virtual platform 32 and second virtual platform 42 is provided.
It should be noted that step S92 can still carry out in current virtual machine 34 when providing service to give client 10.Thus, just can in the shortest time, reach the transfer of current virtual machine 34, and be reduced to the image that client 10 is subjected to minimum to 44 of new virtual machines.
In sum, provided by the invention can be when taking place unusual or need keep in repair in the method that realizes the virtual machine transfer on the virtual platform, will provide the current virtual machine of the service of supervisory routine to be passed to new virtual machine on the different virtual platform automatically.Thus, the service that the user of client uses can not be interrupted, or of short duration acceptable interruption is only arranged.In addition, this service method of high availability that provides does not need redundant server, also need not use special backup software.Therefore with traditional method in comparison, can significantly reduce on the hardware and managerial cost.

Claims (5)

1. a method that realizes the virtual machine transfer on virtual platform is passed to a new virtual machine in order to the current virtual machine that will serve a client, it is characterized in that, comprising:
On a property server, create one first virtual platform;
Create a resource pool, this resource pool comprises this first virtual platform;
Add one second virtual platform in this resource pool, and on this second virtual platform, create a new virtual machine;
Create this current virtual machine on this first virtual platform, this current virtual machine has an operating system and a supervisory routine; And
Carry out a transfer program, this current virtual machine on this first virtual platform is passed to this new virtual machine of this second virtual platform.
2. the method that realizes the virtual machine transfer on virtual platform as claimed in claim 1 is characterized in that this transfer program comprises:
The data of this current virtual machine are copied to this new virtual machine;
Binding between this client and this current virtual machine is copied to this new virtual machine; And
Stop this current virtual machine, and start this new virtual machine, substitute this this client of current virtual machine service with this new virtual machine.
3. the method that on virtual platform, realizes the virtual machine transfer as claimed in claim 2, it is characterized in that, should on this second virtual platform, create the step of this new virtual machine, create this new virtual machine according to an Internet Protocol address of this second virtual platform.
4. the method that realizes the virtual machine transfer on virtual platform as claimed in claim 1 is characterized in that before this carried out the step of this transfer program, other comprised:
See through this supervisory routine of this current virtual machine that runs on this first virtual platform, the service of this resource pool of this client-side management, this first virtual platform and this second virtual platform is provided.
5. the method that realizes the virtual machine transfer on virtual platform as claimed in claim 4 is characterized in that after this carried out the step of this transfer program, other comprised:
See through this supervisory routine of this new virtual machine that runs on this second virtual platform, the service of this resource pool of this client-side management, this first virtual platform and this second virtual platform is provided.
CN2009102533245A 2009-11-30 2009-11-30 Method for realizing virtual machine transfer on virtual hosts Pending CN101876920A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102533245A CN101876920A (en) 2009-11-30 2009-11-30 Method for realizing virtual machine transfer on virtual hosts

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102533245A CN101876920A (en) 2009-11-30 2009-11-30 Method for realizing virtual machine transfer on virtual hosts

Publications (1)

Publication Number Publication Date
CN101876920A true CN101876920A (en) 2010-11-03

Family

ID=43019481

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102533245A Pending CN101876920A (en) 2009-11-30 2009-11-30 Method for realizing virtual machine transfer on virtual hosts

Country Status (1)

Country Link
CN (1) CN101876920A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137494A (en) * 2010-12-10 2011-07-27 华为软件技术有限公司 Method and device for allocating communication resources
CN103853592A (en) * 2012-11-30 2014-06-11 英业达科技有限公司 Management system and management method of virtual machine
CN105630572A (en) * 2014-10-20 2016-06-01 纬创资通股份有限公司 Virtual machine monitoring method and virtual machine monitoring system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137494A (en) * 2010-12-10 2011-07-27 华为软件技术有限公司 Method and device for allocating communication resources
CN103853592A (en) * 2012-11-30 2014-06-11 英业达科技有限公司 Management system and management method of virtual machine
CN105630572A (en) * 2014-10-20 2016-06-01 纬创资通股份有限公司 Virtual machine monitoring method and virtual machine monitoring system
CN105630572B (en) * 2014-10-20 2019-01-25 纬创资通股份有限公司 Virtual machine monitoring method and virtual machine monitoring system

Similar Documents

Publication Publication Date Title
US10735509B2 (en) Systems and methods for synchronizing microservice data stores
US10073747B2 (en) Reducing recovery time in disaster recovery/replication setup with multitier backend storage
US9747179B2 (en) Data management agent for selective storage re-caching
US10169173B2 (en) Preserving management services with distributed metadata through the disaster recovery life cycle
CN107707393B (en) Multi-active system based on Openstack O version characteristics
US8661286B2 (en) QProcessor architecture in a cluster configuration
Yang et al. On improvement of cloud virtual machine availability with virtualization fault tolerance mechanism
EP2875439B1 (en) Migrating applications between networks
CN109151045B (en) Distributed cloud system and monitoring method
US20120096149A1 (en) Cloud federation in a cloud computing environment
US20190235979A1 (en) Systems and methods for performing computing cluster node switchover
JP2016507100A (en) Master Automation Service
JP6251390B2 (en) Managing computing sessions
JP2016525243A (en) Managing computing sessions
CN105706056A (en) Fault domains on modern hardware
US11263037B2 (en) Virtual machine deployment
CN106899477A (en) The construction method and device of physical machine in cloud computing platform
KR20230024416A (en) Virtual Machine Migration Methods, Devices, Storage Media and Electronic Devices Between Cloud Platforms
CN116089011A (en) Method and device for creating mirror warehouse, storage medium and electronic equipment
CN101876920A (en) Method for realizing virtual machine transfer on virtual hosts
CN103109515B (en) A kind of method of service deployment and device
US11068192B1 (en) Utilizing mutiple snapshot sources for creating new copy of volume in a networked environment wherein additional snapshot sources are reserved with lower performance levels than a primary snapshot source
CN114466030A (en) Management method and device for data distribution storage strategy and distribution storage system
US10365934B1 (en) Determining and reporting impaired conditions in a multi-tenant web services environment
US10419283B1 (en) Methods, systems, and computer readable mediums for template-based provisioning of distributed computing systems

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20101103