CN109284173A - A kind of Intelligent management device for virtual machine business migration - Google Patents
A kind of Intelligent management device for virtual machine business migration Download PDFInfo
- Publication number
- CN109284173A CN109284173A CN201811110439.4A CN201811110439A CN109284173A CN 109284173 A CN109284173 A CN 109284173A CN 201811110439 A CN201811110439 A CN 201811110439A CN 109284173 A CN109284173 A CN 109284173A
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- business
- machine
- migration
- resource information
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/4557—Distribution 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
The present invention relates to a kind of Intelligent management devices for virtual machine business migration, it can be in virtual machine exception or delay machine, available virtual machine is obtained according to resource information first, when suitable virtual machine is not present, then determine whether the surplus resources of physical machine meet condition according to resource information, when meeting, rebuild virtual machine, otherwise other physical machines is selected to carry out the migration of virtual machine business, so that the virtual machine of bearer service is established according to business demand, improve the utilization rate of resource, simultaneously in physical machine selection, introduce reliability concept, it ensure that the stability of migration;Intelligent management device for virtual machine business migration of the invention additionally provides time and request caching mechanism, thus effectively prevents the loss of data, improves user experience.
Description
Technical field
The present invention relates to a kind of virtual machine business scopes, and in particular to a kind of intelligent management for virtual machine business migration
Equipment.
Background technique
Reliability is the great demand of business processing.Under the condition of long-term operation, delay machine occur is nothing to virtual machine system
What method avoided, but thus will cause the loss of business and data.To solve this contradiction, the virtual machine (vm) migration based on cloud platform
Technology provides basic guarantee.
Currently, being generally fitted with several virtual machines in physical machine, and carry multiple business;To avoid because virtual machine is delayed
Machine leads to loss of data extremely, influences user experience, needs timely to obtain the delay machine or exception information of virtual machine, and adopts
Corresponding measure is taken to be migrated.
Summary of the invention
The present invention provides a kind of Intelligent management device for virtual machine business migration, with solve in the prior art because
Virtual machine delay machine or it is abnormal and the technical issues of lead to loss of data, influence user experience.
In order to solve the above-mentioned technical problems, the present invention provides a kind of intelligent managements for virtual machine business migration to set
It is standby, comprising: to obtain module: for resource information needed for obtaining business, physical machine to be selected according to the resource information, according to institute
It states resource information and virtual machine is set in selected physical machine;Loading module: for establishing business configuration file, loading and being saved in
On the virtual machine;Detection module: for obtaining current temporal information when detecting the virtual machine exception or delay machine,
Service request is loaded into temporal cache simultaneously, whether present physical machine on have available virtual machine, can when existing if then checking
It, then will be on business migration to the available virtual machine when with virtual machine;Otherwise check whether the surplus resources on present physical machine are full
The corresponding resource information of the foot business obtains and on newly-built virtual machine described in load if satisfied, then creating a virtual machine
Business configuration file, to realize the migration of business;And request processing module: after the completion of working as business migration, according to the time
Service request of the information after being obtained in temporal cache, and forward it on new virtual machine and it is handled.
Further, when there are multiple available virtual machines, selection carries institute with the immediate virtual machine of the resource information
State business.
Further, if available virtual machine is not present on present physical machine, and its surplus resources is unsatisfactory for resource information, then obtains
The second physical machine is taken, the corresponding business of the virtual machine is loaded into the second physical machine;It is wherein that the virtual machine is corresponding
Business is loaded into the second physical machine and specifically includes: determining whether deposit in second physical machine according to the resource information first
It is being realized with virtual machine similar in the resource information if it is present business configuration file is directly loaded into the virtual machine
Otherwise the migration of business resets virtual machine according to the resource information, then load business configuration file;Wherein the second object
Reason machine is reliability based on communication, load condition and constructs the resource information of virtual machine and selected;The reliability of communication
It is determined by the reliability of link between the present physical machine and second physical machine.
Further, the available virtual machine is determined according to the resource information.
Further, after business migration, according to the configuration information of the virtual machine of exception or delay machine to the new virtual of bearer service
Machine is configured, and new virtual machine is made to have the virtual machine configuration information having the same with the exception or delay machine, wherein described
Configuration information includes address information;And after the completion of configuration, delete the virtual machine of the exception or delay machine.
The invention has the advantages that the Intelligent management device for virtual machine business migration of the invention can be virtual
When machine exception or delay machine, available virtual machine is obtained according to resource information first, when suitable virtual machine is not present, then basis
Resource information determines whether the surplus resources of physical machine meet condition, when meeting, rebuilds virtual machine, otherwise selects other objects
Reason machine carries out the migration of virtual machine business, so that the virtual machine of bearer service is established according to business demand, improves
The utilization rate of resource, while in physical machine selection, reliability concept is introduced, ensure that the stability of migration;Use of the invention
Time and request caching mechanism are additionally provided in the Intelligent management device of virtual machine business migration, thus effectively prevents number
According to loss, improve user experience.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples.
Fig. 1 is the structural block diagram of the Intelligent management device for virtual machine business migration of the invention.
Specific embodiment
In conjunction with the accompanying drawings, the present invention is further explained in detail.These attached drawings are simplified schematic diagram, only with
Illustration illustrates basic structure of the invention, therefore it only shows the composition relevant to the invention.
Embodiment
As shown in Figure 1, including multiple physical machines in the scheme that the present embodiment is related to, and can be set in each physical machine
Multiple virtual machines, wherein the resource information being made of the resource information of each virtual machine thereon is preserved in the buffering of physical machine
The configuration information of list and each virtual machine;In order to solve to lead to data because of virtual machine delay machine or exception in the prior art
It loses, the technical issues of influencing user experience, present embodiments provides a kind of intelligent management for virtual machine business migration and set
It is standby, comprising:
It obtains module: for resource information needed for obtaining business, physical machine being selected according to the resource information, and set on it
Set virtual machine;
Loading module: for establishing business configuration file, loading and being saved on the virtual machine;Wherein, the building of virtual machine
It is that the resource information based on business demand is completed, so that resource can be utilized effectively, avoids the waste of resource.
Detection module: for obtaining current temporal information when detecting the virtual machine exception or delay machine, simultaneously will
Service request is loaded into temporal cache, and whether then check has available virtual machine on present physical machine, when it is present, then by industry
Business moves on the virtual machine;Otherwise the surplus resources on present physical machine are checked, if meet the corresponding money of the business
Source information;When meeting, then a virtual machine is created, obtains and load the business configuration file on the new virtual machine, with
The migration of realization business;Wherein, when there are multiple available virtual machines, selection is held with the immediate virtual machine of the resource information
Carry the business;Wherein, the available virtual machine is determined according to the resource information.Available virtual is determined based on resource information
Machine so that the virtual machine of selection can not only meet the needs of business, while can guarantee the effective use of resource;And delay
The introducing for depositing mechanism can prevent the loss of data.
Preferably, for received service request after virtual machine exception, according to the preferential of the featured configuration of request request
Grade, to be handled according to priority request after business migration, wherein priority be the grade based on requestor with
And the available time of request determines.Thus, it is possible to guarantee service needed for high-grade user obtains in time, and it is effective anti-
Request timed out is stopped.
If available virtual machine is not present on present physical machine, and surplus resources are unsatisfactory for resource information, then obtain second
The corresponding business of the virtual machine is loaded into the second physical machine by physical machine;It specifically includes: first according to the resource information
Determine in second physical machine with the presence or absence of with virtual machine similar in the resource information, if it is present directly by business
Configuration file is loaded into the virtual machine, realizes the migration of business, otherwise resets virtual machine according to the resource information, then
Load business configuration file;
Wherein the second physical machine be reliability based on communication, load condition and construct the resource information list of virtual machine into
Row selection;The reliability of communication is determined by the reliability of link between the present physical machine and second physical machine.Into
The reliability that communication is considered before row migration can guarantee the stability of migration and accurately navigate to available virtual machine
Physical machine on, improve the second physical machine selection accuracy.
Request processing module: after the completion of working as business migration, according to temporal information after being obtained in temporal cache
Service request, and forward it on new virtual machine and it is handled;
Wherein, the corresponding business of the virtual machine is loaded into the second physical machine and is specifically included: believed first according to the resource
Breath determine in second physical machine with the presence or absence of with virtual machine similar in the resource information, if it is present directly by industry
Business configuration file is loaded into the virtual machine, realizes the migration of business, otherwise resets virtual machine according to the resource information, so
Business configuration file is loaded afterwards;Wherein, after business migration, according to the configuration information of the virtual machine of exception or delay machine to bearer service
New virtual machine configured, make it have and the virtual machine of the exception or delay machine configuration information having the same, wherein institute
Stating configuration information includes address information;Then the virtual machine of the exception or delay machine is deleted, then updates in caching and matches confidence
Breath.After migration, former virtual machine will be deleted, and new virtual machine will use the configuration information of former virtual machine to provide business, to user
For, then when carrying out service request, without carrying out any modification, improve user experience.
Intelligent management device for virtual machine business migration of the invention can be in virtual machine exception or delay machine, first
Available virtual machine is obtained according to resource information, when suitable virtual machine is not present, physical machine is then determined according to resource information
Surplus resources whether meet condition, when meeting, rebuild virtual machine, otherwise select other physical machines carry out virtual machine business
Migration improve the utilization rate of resource so that the virtual machine of bearer service is established according to business demand, while
When physical machine selects, reliability concept is introduced, ensure that the stability of migration;Intelligence for virtual machine business migration of the invention
Energy management equipment additionally provides time and request caching mechanism, thus effectively prevents the loss of data, improves user
Experience.
Taking the above-mentioned ideal embodiment according to the present invention as inspiration, through the above description, relevant staff is complete
Various changes and amendments can be carried out without departing from the scope of the technological thought of the present invention' entirely.The technology of this invention
Property range is not limited to the contents of the specification, it is necessary to which the technical scope thereof is determined according to the scope of the claim.
Claims (5)
1. a kind of Intelligent management device for virtual machine business migration characterized by comprising
It obtains module: for resource information needed for obtaining business, physical machine being selected according to the resource information, according to the money
Virtual machine is arranged in selected physical machine in source information;
Loading module: for establishing business configuration file, loading and being saved on the virtual machine;
Detection module: for when detecting the virtual machine exception or delay machine, obtaining current temporal information, while by business
For request of loading whether into temporal cache, then checking has available virtual machine on present physical machine, when there are available virtual machine,
It then will be on business migration to the available virtual machine;Whether the surplus resources otherwise checked on present physical machine meet the business pair
The resource information answered, if satisfied, then creating a virtual machine, obtaining and loading the business configuration text on newly-built virtual machine
Part, to realize the migration of business;And
Request processing module: after the completion of working as business migration, according to business of the temporal information after being obtained in temporal cache
Request, and forward it on new virtual machine and it is handled.
2. the Intelligent management device according to claim 1 for virtual machine business migration, which is characterized in that
When there are multiple available virtual machines, selection carries the business with the immediate virtual machine of the resource information.
3. the Intelligent management device according to claim 2 for virtual machine business migration, which is characterized in that
If available virtual machine is not present on present physical machine, and its surplus resources is unsatisfactory for resource information, then obtains the second physics
The corresponding business of the virtual machine is loaded into the second physical machine by machine;Wherein
The corresponding business of the virtual machine is loaded into the second physical machine and is specifically included: being determined first according to the resource information
In second physical machine with the presence or absence of with virtual machine similar in the resource information, if it is present directly by business configuration
File is loaded into the virtual machine, realizes the migration of business, otherwise resets virtual machine according to the resource information, then loads
Business configuration file;
Wherein the second physical machine is reliability based on communication, load condition and constructs the resource information of virtual machine and selected
It selects;The reliability of communication is determined by the reliability of link between the present physical machine and second physical machine.
4. the Intelligent management device according to claim 3 for virtual machine business migration, which is characterized in that
The available virtual machine is determined according to the resource information.
5. the Intelligent management device according to claim 4 for virtual machine business migration, which is characterized in that
After business migration, configured according to new virtual machine of the configuration information of the virtual machine of exception or delay machine to bearer service,
Make new virtual machine that there is the virtual machine configuration information having the same with the exception or delay machine, wherein the configuration information includes
Address information;And
After the completion of configuration, the virtual machine of the exception or delay machine is deleted.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811110439.4A CN109284173A (en) | 2018-09-21 | 2018-09-21 | A kind of Intelligent management device for virtual machine business migration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811110439.4A CN109284173A (en) | 2018-09-21 | 2018-09-21 | A kind of Intelligent management device for virtual machine business migration |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109284173A true CN109284173A (en) | 2019-01-29 |
Family
ID=65182103
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811110439.4A Withdrawn CN109284173A (en) | 2018-09-21 | 2018-09-21 | A kind of Intelligent management device for virtual machine business migration |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109284173A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111338806A (en) * | 2020-05-20 | 2020-06-26 | 腾讯科技(深圳)有限公司 | Service control method and device |
CN112667999A (en) * | 2020-12-31 | 2021-04-16 | 中电长城网际安全技术研究院(北京)有限公司 | Method and device for adjusting execution time of virtual machine |
CN116915584A (en) * | 2023-09-08 | 2023-10-20 | 新华三技术有限公司 | Method and device for processing online computing exception |
-
2018
- 2018-09-21 CN CN201811110439.4A patent/CN109284173A/en not_active Withdrawn
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111338806A (en) * | 2020-05-20 | 2020-06-26 | 腾讯科技(深圳)有限公司 | Service control method and device |
CN112667999A (en) * | 2020-12-31 | 2021-04-16 | 中电长城网际安全技术研究院(北京)有限公司 | Method and device for adjusting execution time of virtual machine |
CN112667999B (en) * | 2020-12-31 | 2024-06-07 | 中电长城网际安全技术研究院(北京)有限公司 | Method and device for adjusting execution time of virtual machine |
CN116915584A (en) * | 2023-09-08 | 2023-10-20 | 新华三技术有限公司 | Method and device for processing online computing exception |
CN116915584B (en) * | 2023-09-08 | 2023-12-08 | 新华三技术有限公司 | Method and device for processing online computing exception |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200328984A1 (en) | Method and apparatus for allocating resource | |
US11636427B2 (en) | Method and apparatus for carrying shelf | |
CN102724277B (en) | The method of live migration of virtual machine and deployment, server and group system | |
CN109284173A (en) | A kind of Intelligent management device for virtual machine business migration | |
EP3800549A1 (en) | Management method, device and system for virtual machine | |
CN105893113A (en) | Management system and management method of virtual machine | |
CN105580407A (en) | Network resource deployment method and device | |
CN107451853A (en) | Method, apparatus, system and the storage medium that a kind of red packet distributes in real time | |
CN107479947A (en) | A kind of energy consumption of virtual machine optimization method and system | |
CN109474459A (en) | Domain name configuring management method, device, computer equipment and storage medium | |
CN103647656A (en) | Billing node load control method, data access control method and node | |
CN107357630A (en) | A kind of method, apparatus and storage medium for realizing that virtual machine is synchronous | |
CN103561060A (en) | Communication link method under multi-thread environment and transit server | |
CN104376096A (en) | Method for asynchronous updating based on buffer area | |
CN105262604B (en) | Virtual machine migration method and equipment | |
CN106296095A (en) | A kind of goods and materials concocting method based on wisdom storage and equipment | |
CN104866375B (en) | A kind of method and device for migrating virtual machine | |
CN106850724A (en) | Data push method and device | |
CN108366110A (en) | A kind of website data interactive system and method | |
CN104410511A (en) | Server management method and system | |
CN106230623A (en) | A kind of VIM site selection method and device | |
CN112866985A (en) | Flow control method, resource downloading method, device, equipment and storage medium | |
CN104869531B (en) | Group member updating method and device | |
CN109309858B (en) | Display method, device, equipment and medium of mutually exclusive icon | |
CN107066564A (en) | A kind of data processing method and device based on Android list |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20190129 |