CN108009002A - A kind of live migration of virtual machine method, apparatus, equipment and storage medium - Google Patents

A kind of live migration of virtual machine method, apparatus, equipment and storage medium Download PDF

Info

Publication number
CN108009002A
CN108009002A CN201711223514.3A CN201711223514A CN108009002A CN 108009002 A CN108009002 A CN 108009002A CN 201711223514 A CN201711223514 A CN 201711223514A CN 108009002 A CN108009002 A CN 108009002A
Authority
CN
China
Prior art keywords
virtual machine
destination host
establishment
migration
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.)
Pending
Application number
CN201711223514.3A
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.)
SF Technology Co Ltd
SF Tech Co Ltd
Original Assignee
SF Technology 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 SF Technology Co Ltd filed Critical SF Technology Co Ltd
Priority to CN201711223514.3A priority Critical patent/CN108009002A/en
Publication of CN108009002A publication Critical patent/CN108009002A/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
    • G06F9/45558Hypervisor-specific management and integration aspects
    • 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)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

This application discloses a kind of live migration of virtual machine method, apparatus, equipment and storage medium, when carrying out establishment task on destination host, for each establishment task, when determining to create mission failure, it can be retried at least once, the establishment task is performed on destination host again, when the number of same establishment mission failure reaches given threshold, terminate live migration of virtual machine, so as to fulfill when being in the presence of creating failure during live migration of virtual machine, obtain in the case of less manual intervention and handled in time.

Description

A kind of live migration of virtual machine method, apparatus, equipment and storage medium
Technical field
The disclosure relates generally to computer realm, and in particular to virtual machine field, more particularly to a kind of live migration of virtual machine Method, apparatus, equipment and storage medium.
Background technology
With the continuous popularization of cloud, when cloud host because environment or other reasons need to move from physical machine When, system manager wishes to migrate it to elsewhere in the case where not influencing current virtual machine service condition.
But when carrying out live migration of virtual machine, feelings of the current existing virtual machine migration tool in foundation step failure There is no retry mechanism under condition, i.e., when carrying out establishment task on destination host, if creating failure, can not just carry out follow-up step Suddenly, it has to interrupt or terminate live migration of virtual machine.
The content of the invention
In view of drawbacks described above of the prior art or deficiency, are intended to provide a kind of live migration of virtual machine method, apparatus, equipment And storage medium, to realize when being in the presence of creating failure during live migration of virtual machine, in the feelings of less manual intervention Obtain under condition and handled in time.
In a first aspect, the embodiment of the present invention provides a kind of live migration of virtual machine method, the described method includes:
Establishment task is carried out on destination host;
For each establishment task, when determining to create mission failure, the establishment task is performed on destination host again, directly When reaching given threshold to the same number for creating mission failure, live migration of virtual machine is terminated;
After each establishment Mission Success performs, migration operation is carried out.
Preferably, the establishment task specifically includes:
Virtual machine storage catalogue is created on destination host;
Virtual machine storage pool is created on destination host;
Magnetic disk of virtual machine is created on destination host to create.
Further, it is described carry out establishment task on destination host before, further include:
The physical machine for meeting transition condition is obtained as destination host;
Obtain the disc information of virtual machine.
Further, the physical machine for meeting transition condition that obtains is specifically included as destination host:
The physical machine for meeting performance condition is screened from physical machine list according to the physical machine performance parameter of setting;
Abnormal condition is excluded from the physical machine for meet performance condition and is moving into the physical machine of virtual machine, and acquisition can With physical machine list;
Physical machine is determined from available physical machine list as destination host, and changes virtual machine state.
Further, the disc information for obtaining virtual machine, specifically includes:
Obtain the title and size of magnetic disk of virtual machine.
Preferably, after each establishment Mission Success performs, before carrying out migration operation, further include:
Overtime timer is set;
The carry out migration operation, specifically includes:
Migration operation is carried out, and when migration operation exceedes setting duration, revocation migration order, and on delete target host By creating the disk of task creation.
Further, the termination live migration of virtual machine, specifically includes:
The increased data in thermomigration process are deleted in virtual machine, and change virtual machine state.
Second aspect, the embodiment of the present invention also provide a kind of live migration of virtual machine device, and described device includes:
Creating unit, for carrying out establishment task on destination host;
Unit is retried, for for each establishment task, when determining to create mission failure, being performed again on destination host The establishment task, when the number of same establishment mission failure reaches given threshold, terminates live migration of virtual machine;
Migration units, for after each establishment Mission Success performs, carrying out migration operation.
Further, the establishment task specifically includes:
Virtual machine storage catalogue is created on destination host;
Virtual machine storage pool is created on destination host;
Magnetic disk of virtual machine is created on destination host to create.
Further, the creating unit is additionally operable to:
Before carrying out establishment task on destination host, the physical machine for meeting transition condition is obtained as destination host, is obtained Take the disc information of virtual machine.
Preferably, the migration units are additionally operable to:
After each establishment Mission Success performs, before carrying out migration operation, start overtime timer, exceed in migration operation When setting duration, revocation migration order, and by creating the disk of task creation on delete target host.
Further, the unit that retries terminates live migration of virtual machine, specifically includes:
The increased data in thermomigration process are deleted in virtual machine, and change virtual machine state.
The third aspect, the embodiment of the present invention also provide a kind of equipment, including processor and memory;
The memory includes the instruction that can be performed by the processor so that the processor is performed in first aspect The method.
Fourth aspect, the embodiment of the present invention also provide a kind of computer-readable recording medium, are stored thereon with computer journey Sequence, the computer program are used for realization the method as described in first aspect.
The embodiment of the present invention provides a kind of live migration of virtual machine method, apparatus, equipment and storage medium, on destination host When carrying out establishment task, for each establishment task, when determining to create mission failure, it can be retried at least once, i.e., again The establishment task is performed on destination host, when the number of same establishment mission failure reaches given threshold, is terminated virtual Machine thermophoresis, so as to fulfill be in the presence of during live migration of virtual machine create failure when, in the feelings of less manual intervention Obtain under condition and handled in time.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is one of live migration of virtual machine method flow diagram provided in an embodiment of the present invention;
Fig. 2 is the two of live migration of virtual machine method flow diagram provided in an embodiment of the present invention;
Fig. 3 determines method flow diagram for destination host provided in an embodiment of the present invention;
Fig. 4 is the three of live migration of virtual machine method flow diagram provided in an embodiment of the present invention;
Fig. 5 is live migration of virtual machine apparatus structure schematic diagram provided in an embodiment of the present invention;
Fig. 6 is live migration of virtual machine device structure schematic diagram provided in an embodiment of the present invention.
Embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to It illustrate only easy to describe, in attached drawing with inventing relevant part.
It should be noted that in the case where there is no conflict, the feature in embodiment and embodiment in the application can phase Mutually combination.Describe the application in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Please refer to Fig.1, live migration of virtual machine method provided in an embodiment of the present invention, including:
Step S101, establishment task is carried out on destination host;
Step S102, for each establishment task, when determining to create mission failure, the wound is performed on destination host again Task is built, when the number of same establishment mission failure reaches given threshold, terminates live migration of virtual machine;
Step S103, after each establishment Mission Success performs, migration operation is carried out.
Pass through the failure retry mechanism of step S102, you can when realizing definite establishment mission failure, weighed at least once Examination, so as to fulfill when being in the presence of creating failure during live migration of virtual machine, is obtained in the case of less manual intervention Obtain and handled in time.
In KVM (Kernel-based Virtual Machine, hardware based virtual machine) live migration of virtual machine process In, the establishment task in step S101 and step S102, specifically includes:
Virtual machine storage catalogue is created on destination host;
Virtual machine storage pool is created on destination host;
Magnetic disk of virtual machine is created on destination host to create.
For different virtual machines, the establishment task of the required progress in thermomigration process may different, ability Field technique personnel flexibly can change and apply according to actual conditions.
Generally, as shown in Fig. 2, during live migration of virtual machine, created in step S101, on destination host Build before task, further include:
Step S201, the physical machine for meeting transition condition is obtained as destination host;
Step S202, the disc information of virtual machine is obtained.
After the disc information that destination host and virtual machine is determined, you can created according to disc information on destination host Build task.
For the live migration of virtual machine of special circumstances, it is also possible to have fixed destination host and disc information, avoid the need for Perform step S201 and step S202.
Specifically, as shown in figure 3, step S201, obtains the physical machine for meeting transition condition as destination host, specific bag Include following steps:
Step S301, the physics for meeting performance condition is screened from physical machine list according to the physical machine performance parameter of setting Machine;
Step S302, exclude abnormal condition from the physical machine for meet performance condition and move into the physics of virtual machine Machine, obtains available physical machine list;
Step S303, physical machine is determined from available physical machine list as destination host, and changes virtual machine state.
At this time,, can for different virtual machines usually by virtual machine state by being revised as " in thermophoresis " " in operation " Can there are different state models, those skilled in the art flexibly to modify and apply according to actual conditions.
Specifically, the disc information of virtual machine refers generally to the title and size of virtual disk, at this time, step S202, obtains The disc information of virtual machine, specifically includes:
Obtain the title and size of magnetic disk of virtual machine.
Under normal circumstances, physical machine ip, virtual machine title, virtual machine uuid where the virtual machine being passed to by front end (Universally Unique Identifier, general exclusive identification code), to inquire about the title of magnetic disk of virtual machine in database And size.
, when the situation of migration operation time-out occurs, can also be handled in time, in each establishment Mission Success After execution, before carrying out migration operation, overtime timer can be started, when migration operation exceedes setting duration, revocation migration Order, and by creating the disk of task creation on delete target host.
Time set by overtime timer can be set according to actual conditions such as virtual machine scale, transmission speeds, If for example, being set as 40 minutes, when migration operation performed the time more than 40 minutes, i.e. revocation migration is ordered, and deletes mesh By creating the disk of task creation on mark host.
When setting overtime timer to fail, overtime timer can also be reset, until setting successfully or failing Number reaches setting number, if the frequency of failure reaches setting number, terminates virtual machine (vm) migration or abandons overtime timer and set Put.
During migration operation, migration operation can also be re-started when migration operation fails, until migrating successfully Either the frequency of failure reaches setting number or timer expiry, if the frequency of failure reaches setting number, terminates virtual machine and moves Move, if timer expiry, revocation migration order, and by creating the disk of task creation on delete target host.
In step s 102, live migration of virtual machine is terminated, can be specifically included:
The increased data in thermomigration process are deleted in virtual machine, and change virtual machine state.
In step S303, when changing virtual machine state, a data can be increased in virtual machine, indicate that virtual machine moves Move to destination host, data can be marked as-destination host, when terminating live migration of virtual machine, it is necessary to delete the number According to if in thermomigration process, other data are added in virtual machine, can also be deleted according to the actual requirements.
At this time,, can for different virtual machines usually by virtual machine state by being revised as " in operation " " in thermophoresis " Can there are different state models, those skilled in the art flexibly to modify and apply according to actual conditions.
As shown in figure 4, more specific live migration of virtual machine method provided in an embodiment of the present invention includes:
Step S401, physical machine list is determined;
The physical machine list of all libvirtd management programs normal works of same cluster is found first and is taken from database Go out the performance data information of each physical machine in list, including physical machine cpu, memory, disk size information, and physical machine Cpu utilization rates, memory usage, hard disk utilization rate, network interface card utilization rate and physical machine libvirtd managing process states.
Step S402, the physics for meeting performance condition is screened from physical machine list according to the physical machine performance parameter of setting Machine;
When it is implemented, can meet condition physical machine by setting the filtering of physical machine performance filter, filtering needs are examined Data age is considered, for example, it can be set to being that data are effective in 1 minute.
Step S403, exclude abnormal condition from the physical machine for meet performance condition and move into the physics of virtual machine Machine, obtains available physical machine list;
Step S404, physical machine is determined from available physical machine list as destination host, and changes virtual machine state.
Mode of the physical machine as destination host is determined from available physical machine list, can be the available thing that will be filtered out Reason machine is enumerated to user, and after being chosen by user and submitted some physical machine, the content submitted according to user determines some physics Machine is as destination host, after determining destination host, can the required json format parameters of assembled virtual machine (vm) migration, message is sent out Give kafka designated keys.
When changing virtual machine state, virtual machine state can be revised as " in thermophoresis ", can also increased in data The record of one virtual machine-destination host.
Step S405, obtain the disc information of virtual machine, can by the physical machine ip where virtual machine that front end is passed to, The title and size of magnetic disk of virtual machine in virtual machine title, virtual machine uuid inquiry databases;
Step S406, virtual machine storage catalogue is created on destination host;
Confirm whether virtual machine catalogue has created success by request_id checking storehouses, it is successful then skip this step, it is no Then by using virtual machine uuid to create virtual machine storage catalogue in the physical machines to be distributed of ansible to virtual machine, create Step S407 is successfully continued to execute, if creating failure, is created again, until the frequency of failure reaches the first threshold of setting When, terminate live migration of virtual machine.
Step S407, virtual machine storage pool is created on destination host;
Confirm whether virtual machine storage pool (storage pool) have created success by request_id checking storehouses, success This step is then skipped, otherwise creating storage interfaces using libvirtd creates storage pool, creates and successfully continues to execute step S408, if creating failure, is created again, until when the frequency of failure reaches the second threshold of setting, terminates virtual machine heat Migration.
Task_id is used for logger task work order information, and request_id is used to indicate each live migration of virtual machine process.
Step S408, magnetic disk of virtual machine is created on destination host to create;
According to magnetic disk of virtual machine title, the size obtained in step S405, created on migration destination host same title, The disk of size, creates and successfully continues to execute step S409, if creating failure, is created again, until the frequency of failure reaches To setting second threshold when, terminate live migration of virtual machine.
Step S409, overtime timer is set for migration operation;
Step S410, migration operation is performed;
By source host ip, destination host ip, virtual machine title, by virtual machine (vm) migration to destination host.Run succeeded Continue step S411, during migration failure, the disk that will be created in delete step S408.
If migration operation duration has exceeded the time of timer setting, revocation migrates, on delete target host By creating the disk of task creation.
Step S411, the virtual machine and corresponding storage pool are subjected to (undefined) behaviour of undefined on the source host Make.
Step S412, the storage catalogue title of virtual machine is modified on the source host.
Step S413, virtual machine state is changed as in operation, thermophoresis is completed.
Wherein, the termination live migration of virtual machine in step S406- steps S408, be in delete step S404 increase newly it is virtual The record of machine-destination host, and virtual machine state is revised as " in operation ".
It should be noted that although in the accompanying drawings with the operation of particular order the invention has been described method, still, this is not required that Or imply and must perform these operations according to the particular order, or the operation having to carry out shown in whole could realize the phase The result of prestige.On the contrary, the step of describing in flow chart can change execution sequence.Additionally or alternatively, it is convenient to omit some Multiple steps are merged into a step and performed by step, and/or a step is decomposed into execution of multiple steps.
The embodiment of the present invention correspondingly provides a kind of live migration of virtual machine device, as shown in figure 5, the device includes:
Creating unit 501, for carrying out establishment task on destination host;
Unit 502 is retried, for for each establishment task, when determining to create mission failure, again on destination host The establishment task is performed, when the number of same establishment mission failure reaches given threshold, terminates live migration of virtual machine;
Migration units 503, for after each establishment Mission Success performs, carrying out migration operation.
Further, establishment task specifically includes:
Virtual machine storage catalogue is created on destination host;
Virtual machine storage pool is created on destination host;
Magnetic disk of virtual machine is created on destination host to create.
Further, creating unit 501 is additionally operable to:
Before carrying out establishment task on destination host, the physical machine for meeting transition condition is obtained as destination host, is obtained Take the disc information of virtual machine.
Further, creating unit 501 obtains the physical machine for meeting transition condition as destination host, specifically includes:
The physical machine for meeting performance condition is screened from physical machine list according to the physical machine performance parameter of setting;
Abnormal condition is excluded from the physical machine for meet performance condition and is moving into the physical machine of virtual machine, and acquisition can With physical machine list;
Physical machine is determined from available physical machine list as destination host, and changes virtual machine state.
Further, creating unit 501 obtains the disc information of virtual machine, specifically includes:
Obtain the title and size of magnetic disk of virtual machine.
Preferably, migration units 503 are additionally operable to:
After each establishment Mission Success performs, before carrying out migration operation, start overtime timer, exceed in migration operation When setting duration, revocation migration order, and by creating the disk of task creation on delete target host.
Further, retry unit 502 and terminate live migration of virtual machine, specifically include:
The increased data in thermomigration process are deleted in virtual machine, and change virtual machine state.
It should be appreciated that all units or module described in the device and each step phase in the method described with reference to figure 1 It is corresponding.Thus, the operation and feature above with respect to method description are equally applicable to the device and unit wherein included, herein not Repeat again.The device can be realized in the browser of electronic equipment or other safety applications in advance, can also pass through download etc. Mode and be loaded into browser or its safety applications of electronic equipment.Corresponding units in the device can with electronic equipment Unit cooperate to realize the scheme of the embodiment of the present application.
Below with reference to Fig. 6, it illustrates suitable for for realizing the calculating of the terminal device of the embodiment of the present application or server The structure diagram of machine system.
As shown in fig. 6, computer system includes central processing unit (CPU) 601, it can be according to being stored in read-only storage Program in device (ROM) 602 is performed from the program that storage part 608 is loaded into random access storage device (RAM) 603 Various appropriate actions and processing.In RAM 603, various programs and data needed for system operatio are also stored with.CPU 601st, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to bus 604。
I/O interfaces 605 are connected to lower component:Importation 606 including keyboard, mouse etc.;Penetrated including such as cathode The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage part 608 including hard disk etc.; And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as because The network of spy's net performs communication process.Driver 610 is also according to needing to be connected to I/O interfaces 605.Detachable media 611, such as Disk, CD, magneto-optic disk, semiconductor memory etc., are installed on driver 610, in order to read from it as needed Computer program be mounted into as needed storage part 608.
Especially, in accordance with an embodiment of the present disclosure, it may be implemented as computer software above with reference to the process of Fig. 1 descriptions Program.For example, embodiment of the disclosure includes a kind of computer program product, it includes being tangibly embodied in machine readable media On computer program, the computer program include be used for perform Fig. 1 method program code.In such embodiment In, which can be downloaded and installed by communications portion 609 from network, and/or from 611 quilt of detachable media Installation.
Flow chart and block diagram in attached drawing, it is illustrated that according to the system of various embodiments of the invention, method and computer journey Architectural framework in the cards, function and the operation of sequence product.At this point, each square frame in flow chart or block diagram can generation The part of one module of table, program segment or code, a part for the module, program segment or code include one or more The executable instruction of logic function as defined in being used for realization.It should also be noted that some as replace realization in, institute in square frame The function of mark can also be with different from the order marked in attached drawing generation.For example, two square frames succeedingly represented are actual On can perform substantially in parallel, they can also be performed in the opposite order sometimes, this is depending on involved function.Also It is noted that the combination of each square frame and block diagram in block diagram and/or flow chart and/or the square frame in flow chart, Ke Yiyong The dedicated hardware based systems of functions or operations as defined in execution is realized, or can be referred to specialized hardware and computer The combination of order is realized.
Being described in unit or module involved in the embodiment of the present application can be realized by way of software, can also Realized by way of hardware.Described unit or module can also be set within a processor, for example, can be described as: A kind of processor includes XX units, YY units and ZZ units.Wherein, the title of these units or module is under certain conditions simultaneously The restriction in itself to the unit or module is not formed, for example, XX units are also described as " unit for being used for XX ".
As on the other hand, present invention also provides a kind of computer-readable recording medium, the computer-readable storage medium Matter can be computer-readable recording medium included in device described in above-described embodiment;Can also be individualism, not The computer-readable recording medium being fitted into equipment.Computer-readable recording medium storage has one or more than one journey Sequence, described program are used for performing the formula input method for being described in the application by one or more than one processor.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.People in the art Member should be appreciated that invention scope involved in the application, however it is not limited to the technology that the particular combination of above-mentioned technical characteristic forms Scheme, while should also cover in the case where not departing from the inventive concept, carried out by above-mentioned technical characteristic or its equivalent feature The other technical solutions for being combined and being formed.Such as features described above has similar work(with (but not limited to) disclosed herein The technical solution that the technical characteristic of energy is replaced mutually and formed.

Claims (14)

1. a kind of live migration of virtual machine method, the described method includes:
Establishment task is carried out on destination host;
For each establishment task, when determining to create mission failure, the establishment task, Zhi Daotong are performed on destination host again When the number of one establishment mission failure reaches given threshold, live migration of virtual machine is terminated;
After each establishment Mission Success performs, migration operation is carried out.
2. the method as described in claim 1, it is characterised in that the establishment task specifically includes:
Virtual machine storage catalogue is created on destination host;
Virtual machine storage pool is created on destination host;
Magnetic disk of virtual machine is created on destination host to create.
3. the method as described in claim 1, it is characterised in that it is described carry out establishment task on destination host before, also wrap Include:
The physical machine for meeting transition condition is obtained as destination host;
Obtain the disc information of virtual machine.
4. method as claimed in claim 3, it is characterised in that the physical machine for meeting transition condition that obtains is as target master Machine, specifically includes:
The physical machine for meeting performance condition is screened from physical machine list according to the physical machine performance parameter of setting;
Abnormal condition is excluded from the physical machine for meet performance condition and is moving into the physical machine of virtual machine, and acquisition can use thing Reason machine list;
Physical machine is determined from available physical machine list as destination host, and changes virtual machine state.
5. method as claimed in claim 3, it is characterised in that the disc information for obtaining virtual machine, specifically includes:
Obtain the title and size of magnetic disk of virtual machine.
6. the method as described in claim 1, it is characterised in that it is each establishment Mission Success perform after, carry out migration operation it Before, further include:
Overtime timer is set;
The carry out migration operation, specifically includes:
Migration operation is carried out, and when migration operation exceedes setting duration, revocation migration order, and on delete target host By the disk for creating task creation.
7. the method as described in claim 1, it is characterised in that the termination live migration of virtual machine, specifically includes:
The increased data in thermomigration process are deleted in virtual machine, and change virtual machine state.
8. a kind of live migration of virtual machine device, described device include:
Creating unit, for carrying out establishment task on destination host;
Unit is retried, for for each establishment task, when determining to create mission failure, performing the wound on destination host again Task is built, when the number of same establishment mission failure reaches given threshold, terminates live migration of virtual machine;
Migration units, for after each establishment Mission Success performs, carrying out migration operation.
9. device as claimed in claim 8, it is characterised in that the establishment task specifically includes:
Virtual machine storage catalogue is created on destination host;
Virtual machine storage pool is created on destination host;
Magnetic disk of virtual machine is created on destination host to create.
10. device as claimed in claim 8, it is characterised in that the creating unit is additionally operable to:
Before carrying out establishment task on destination host, the physical machine for meeting transition condition is obtained as destination host, is obtained empty The disc information of plan machine.
11. device as claimed in claim 8, it is characterised in that the migration units are additionally operable to:
After each establishment Mission Success performs, before carrying out migration operation, start overtime timer, exceed setting in migration operation During duration, revocation migration order, and by creating the disk of task creation on delete target host.
12. device as claimed in claim 8, it is characterised in that the unit that retries terminates live migration of virtual machine, specific bag Include:
The increased data in thermomigration process are deleted in virtual machine, and change virtual machine state.
13. a kind of equipment, including processor and memory;It is characterized in that:
The memory includes the instruction that can be performed by the processor so that the processor performs such as claim 1-7 Method described in one.
14. a kind of computer-readable recording medium, is stored thereon with computer program, the computer program is used for realization such as power Profit requires any methods of 1-7.
CN201711223514.3A 2017-11-29 2017-11-29 A kind of live migration of virtual machine method, apparatus, equipment and storage medium Pending CN108009002A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711223514.3A CN108009002A (en) 2017-11-29 2017-11-29 A kind of live migration of virtual machine method, apparatus, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711223514.3A CN108009002A (en) 2017-11-29 2017-11-29 A kind of live migration of virtual machine method, apparatus, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN108009002A true CN108009002A (en) 2018-05-08

Family

ID=62054468

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711223514.3A Pending CN108009002A (en) 2017-11-29 2017-11-29 A kind of live migration of virtual machine method, apparatus, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108009002A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109783199A (en) * 2019-03-28 2019-05-21 浪潮商用机器有限公司 A kind of virtual machine migration method and device
CN110941475A (en) * 2019-11-14 2020-03-31 北京金山云网络技术有限公司 Object deleting method and device in container cluster system and electronic equipment
CN111104206A (en) * 2019-12-25 2020-05-05 曙光信息产业(北京)有限公司 Virtual machine storage migration method and device and computer equipment
US20210373971A1 (en) * 2020-05-29 2021-12-02 Vmware, Inc. Cross-cluster load balancer

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724277A (en) * 2012-05-04 2012-10-10 华为技术有限公司 Virtual machine thermomigration method, virtual machine arrangement method, server and cluster system
CN103699419A (en) * 2013-12-31 2014-04-02 曙光云计算技术有限公司 Method and system for processing virtual machine resources
US20140359607A1 (en) * 2013-05-28 2014-12-04 Red Hat Israel, Ltd. Adjusting Transmission Rate of Execution State in Virtual Machine Migration
CN104750541A (en) * 2015-04-22 2015-07-01 成都睿峰科技有限公司 Virtual machine migration method
CN105117280A (en) * 2015-08-24 2015-12-02 用友网络科技股份有限公司 Virtual machine migration device and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724277A (en) * 2012-05-04 2012-10-10 华为技术有限公司 Virtual machine thermomigration method, virtual machine arrangement method, server and cluster system
US20140359607A1 (en) * 2013-05-28 2014-12-04 Red Hat Israel, Ltd. Adjusting Transmission Rate of Execution State in Virtual Machine Migration
CN103699419A (en) * 2013-12-31 2014-04-02 曙光云计算技术有限公司 Method and system for processing virtual machine resources
CN104750541A (en) * 2015-04-22 2015-07-01 成都睿峰科技有限公司 Virtual machine migration method
CN105117280A (en) * 2015-08-24 2015-12-02 用友网络科技股份有限公司 Virtual machine migration device and method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109783199A (en) * 2019-03-28 2019-05-21 浪潮商用机器有限公司 A kind of virtual machine migration method and device
CN110941475A (en) * 2019-11-14 2020-03-31 北京金山云网络技术有限公司 Object deleting method and device in container cluster system and electronic equipment
CN111104206A (en) * 2019-12-25 2020-05-05 曙光信息产业(北京)有限公司 Virtual machine storage migration method and device and computer equipment
CN111104206B (en) * 2019-12-25 2023-09-01 曙光信息产业(北京)有限公司 Virtual machine storage migration method and device and computer equipment
US20210373971A1 (en) * 2020-05-29 2021-12-02 Vmware, Inc. Cross-cluster load balancer
US11755385B2 (en) * 2020-05-29 2023-09-12 Vmware, Inc. Cross-cluster load balancer

Similar Documents

Publication Publication Date Title
JP6463393B2 (en) Tenant data recovery across tenant migration
JP6819296B2 (en) Virtualization management / orchestration equipment, virtualization management / orchestration method, and programs
US9207975B2 (en) Managing distributed execution of programs
US9329909B1 (en) Dynamically modifying a cluster of computing nodes used for distributed execution of a program
CN108009002A (en) A kind of live migration of virtual machine method, apparatus, equipment and storage medium
US8321558B1 (en) Dynamically monitoring and modifying distributed execution of programs
EP3852335B1 (en) Method and system for modifying blockchain network configuration
US11023148B2 (en) Predictive forecasting and data growth trend in cloud services
KR20200070085A (en) Method and apparatus for processing information
CN110032544B (en) Authority management method of cloud service and cloud data storage system thereof
CN108885671A (en) A kind of directory delete method, apparatus and storage server
CN111782339A (en) Container creation method and device, electronic equipment and storage medium
CN109726546A (en) A kind of right management method and device
US20200089587A1 (en) Disaster recovery specific configurations, management, and application
CN111158957A (en) Virtual machine file recovery method, system, device and storage medium
CN113127430B (en) Mirror image information processing method, mirror image information processing device, computer readable medium and electronic equipment
JP5544029B1 (en) Environment building apparatus and environment building program
CN110221910B (en) Method and apparatus for performing MPI jobs
US20110113325A1 (en) Systems, Methods and Computer Readable Media For Creating and Updating Electronic Documents
US20220014429A1 (en) Staging configuration changes with deployment freeze options
CN115277398A (en) Cluster network configuration method and device
CN115061813A (en) Cluster resource management method, device, equipment and medium
EP4150453A1 (en) Methods and systems for managing computing virtual machine instances
CN109213602A (en) A kind of method and apparatus of application service request
CN113868679B (en) Cluster encryption method and device

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

Application publication date: 20180508

RJ01 Rejection of invention patent application after publication