CN107122229A - A kind of virtual machine restoration methods and device - Google Patents
A kind of virtual machine restoration methods and device Download PDFInfo
- Publication number
- CN107122229A CN107122229A CN201710266369.0A CN201710266369A CN107122229A CN 107122229 A CN107122229 A CN 107122229A CN 201710266369 A CN201710266369 A CN 201710266369A CN 107122229 A CN107122229 A CN 107122229A
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- server
- business
- available
- business virtual
- 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
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
-
- 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/45575—Starting, stopping, suspending or resuming virtual machine instances
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Hardware Redundancy (AREA)
- Computer And Data Communications (AREA)
- Debugging And Monitoring (AREA)
Abstract
The application provides a kind of virtual machine restoration methods and device, and methods described includes:Monitor the running status of server in virtualized environment;When monitoring the server fail for being deployed with business virtual machine, corresponding business virtual machine is disposed in available server according to the corresponding configuration file of the configuration information for the business virtual machine disposed on the server broken down, and after deployment success, start corresponding business virtual machine.Overhead when virtual machine recovers can be reduced using the embodiment of the present application.
Description
Technical field
The application is related to technical field of virtualization, more particularly to a kind of virtual machine restoration methods and device.
Background technology
With going from strength to strength for enterprise data center's scale, to full fusion virtualization software in integral data center IT
(Information Technology, information technology) infrastructure resources, simplify data center server quantity, simplify IT behaviour
Make, improve physical resource utilization rate, suppress to propose higher requirement in terms of the expansion of IT resources.Current cloud computing and virtual
Change technology it is deep change IT infrastructure, enterprise allow for optimization calculate, the pass between network and storage resource
System, could realize real flexible deployment and resilient expansion, can just support the demand that the IT instants change.
In current virilization environment, any network failure, power failure and server failure can all trigger business event
Interruption, interrupt the solution time is directly proportional with calculating in virtualized environment, network, the complexity stored, how to ensure enterprise's industry
Business continuity, the service disconnection that shortens solve the big problem that will be faced as following full fusion virtualization software the time.
UISM (Unified Infrastructure System Manager are managed collectively matrix), the service of having merged
The kinds of platform such as device, network, storage, virtual platform and hardware device, facilitate cloud computing infrastructure seamless fusion and
Unified management, simplifies base platform integration and delivers and O&M.
The content of the invention
The application provides a kind of virtual machine restoration methods and device, to solve overhead in existing virtual machine recovery scheme
Excessive the problem of.
According to the first aspect of the embodiment of the present application there is provided a kind of virtual machine restoration methods, applied to unified management matrix
UISM manages interchanger, and this method includes:
Monitor the running status of server in virtualized environment;
When monitoring the server fail for being deployed with business virtual machine, disposed according on the server broken down
The corresponding configuration file of configuration information of business virtual machine corresponding business virtual machine is disposed in available server, and work as portion
After affixing one's name to successfully, start corresponding business virtual machine.
According to the second aspect of the embodiment of the present application there is provided a kind of virtual machine recovery device, applied to unified management matrix
UISM manages interchanger, and the device includes:
Monitoring unit, the running status for monitoring server in virtualized environment;
Deployment unit, for when the monitoring unit monitors the server fail for being deployed with business virtual machine,
According to the corresponding configuration file of the configuration information for the business virtual machine disposed on the server broken down in available server
Dispose corresponding business virtual machine;
Start unit, for when the deployment success after, starting corresponding business virtual machine.
Using the embodiment of the present application, by monitoring the running status of server in virtualized environment, it is deployed with when monitoring
During the server fail of business virtual machine, according to the configuration information for the business virtual machine disposed on the server broken down
Corresponding configuration file disposes corresponding business virtual machine in available server, and after deployment success, starts corresponding industry
Business virtual machine, without carrying out real-time or timed backup to virtual machine configuration information, you can realize that virtual machine recovers, reduce system
Expense.
Brief description of the drawings
Fig. 1 is a kind of configuration diagram for virtualizing the typical application scenarios of cloud platform;
Fig. 2 is a kind of system architecture schematic diagram for virtual platform application scenarios that the embodiment of the present application is provided;
Fig. 3 is a kind of schematic flow sheet for virtual machine restoration methods that the embodiment of the present application is provided;
Fig. 4 is a kind of schematic diagram for concrete application scene that the embodiment of the present application is provided;
Fig. 5 is a kind of structural representation for virtual machine recovery device that the embodiment of the present application is provided;
Fig. 6 is the structural representation for another virtual machine recovery device that the embodiment of the present application is provided.
Embodiment
Fig. 1 is referred to, is a kind of configuration diagram for virtualizing the typical application scenarios of cloud platform, in applied field shown in Fig. 1
Jing Zhong, using virtualization capability of the virtual management software to server, by key business and heavy load business migration to void
In planization environment, system manager uses feelings by managing network centralized management and monitoring business system, the resource of virtual desktop
Condition.Once the service network link failure of some server, storage net link failure or server faults itself, will all cause
Business virtual machine on the server can not externally provide service.
At present, the processing means for the server failure in virtualization cloud platform application scenarios use most and scope
Most wide is disaster-tolerant backup, and its realization principle mainly includes:By superfluous to server, the backup of storage service offer equivalent, network
Remaining configuration, and the backup policy of all kinds of business virtual machines is formulated at the beginning of deployment, after server failure is perceived, according to standby
Part strategy starts the server of backup, disposes identical business virtual machine, to reach recovery externally service purpose.
But practice is found, it is necessary to each business virtual machine on monitoring server in real time in above-mentioned disaster-tolerant backup scheme
Running status, and real-time or timed backup, increase are carried out to the configuration (network configuration, storage configuration etc.) of business virtual machine
The expense of virtual management platform.
In order that those skilled in the art more fully understand the technical scheme in the embodiment of the present application, below first to this Shen
Please the applicable system architecture of embodiment be briefly described.
Fig. 2 is referred to, a kind of system architecture schematic diagram of the virtual platform application scenarios provided for the embodiment of the present application,
As shown in Fig. 2 the system architecture increases UISM management interchangers newly in existing virtual platform application scenarios, UISM management is handed over
Service traffics convergence forwarding and the message interaction changed planes in responsible virtual platform application scenarios, are also responsible for the network equipment, service
The condition monitoring of device and storage device.
In the system architecture shown in Fig. 2, UISM management interchangers can monitor server in virtualized environment in real time
Running status;, can be according to hair when UISM management interchangers monitor the server fail for being deployed with business virtual machine
The corresponding configuration file of configuration information for the business virtual machine disposed on the server of raw failure is disposed pair in available server
The business virtual machine answered, and after deployment success, start the corresponding business virtual machine.
Wherein, UISM, which manages interchanger, the interchanger of UISM management softwares for operation, as operation has UISM management exchanges
TOR (Top of Rack, rack top) interchanger of machine.
What deserves to be explained is, in the system architecture shown in Fig. 2, UISM management interchangers can have many, this many
UISM management interchanger can ((Intelligent Resilient Framework, intelligence be elastic by such as IRF in the form of stacking
Framework)) deployment, to improve system reliability, it is implemented does not repeat herein.
In order that the above-mentioned purpose of the embodiment of the present application, feature and advantage can be more obvious understandable, below in conjunction with the accompanying drawings
Technical scheme in the embodiment of the present application is described in further detail.
Fig. 3 is referred to, a kind of schematic flow sheet of the virtual machine restoration methods provided for the embodiment of the present application, wherein, should
The UISM interchangers that virtual machine restoration methods can apply in system shown in Figure 2 framework, as shown in figure 3, the virtual machine recovers
Method may comprise steps of:
The state of the operation of server in step 301, monitoring virtualized environment.
Step 302, when monitoring the server fail for being deployed with business virtual machine, according to the service broken down
It is virtual that the corresponding configuration file of configuration information for the business virtual machine disposed on device disposes corresponding business in available server
Machine, and after deployment success, start corresponding business virtual machine.
In the embodiment of the present application, UISM management interchangers can monitor the operation shape of server in virtualized environment in real time
State, so as to which the generation of server failure can be monitored in time.
In the one of embodiment of the application, the service of business virtual machine of being deployed with is monitored when UISM manages interchanger
When device breaks down, the configuration for the business virtual machine disposed on the server that UISM management interchangers can break down according to this
Information generates corresponding configuration file.
For example, UISM management interchangers can matching somebody with somebody each business virtual machine disposed on the server broken down respectively
Confidence breath saves as corresponding profile (user profile) configuration template.
In the application another embodiment, the server of business virtual machine is deployed with when USIM manages interchanger and monitored
When breaking down, UISM management interchangers can directly obtain each industry of the server disposition from the server that this breaks down
The corresponding configuration file of configuration information of business virtual machine.
In the one of embodiment of the application, the configuration information of business virtual machine can include:
Virtual machine essential information, virtual machine CD-ROM drive, floppy drive configuration, virtual machine network card configuration information.
Wherein, virtual machine essential information can include virtual machine title, description, guiding equipment, CPU (Center
Process Unit, CPU), the information such as memory configurations;
Virtual machine network card configuration information can include virtual machine network interface card number, network strategy, network connection and network interface card letter
Breath etc..
In the embodiment of the present application, the server fail of business virtual machine is deployed with when UISM manages interchanger and monitored
When, UISM management interchanger can match somebody with somebody according to the configuration information of the business virtual machine disposed on the server broken down is corresponding
Put file (herein by taking profile configuration templates as an example) and corresponding business virtual machine is disposed in available server.
For example, the virtual machine essential information included according to profile configuration templates disposed in available server it is identical
The virtual machine of title, and the configurations such as corresponding guiding equipment, CPU, internal memory are carried out for the virtual machine, mould is configured according to profile
CD-ROM drive that plate includes, floppy drive configure the virtual machine and carry out correspondingly CD-ROM drive, floppy drive configuration, and according to profile configuration templates
The virtual machine network card configuration Information recovering virtual machine network card configuration included, such as network interface card number, network strategy and network connection
Deng.
In the one of embodiment of the application, according to the configuration for the business virtual machine disposed on the server broken down
The corresponding configuration file of information disposes corresponding business virtual machine in available server, can include:
Obtain the load condition of available server in virtualized environment;
According to the load order from low to high of each available server, one or more available server is selected as target
Available server;
Corresponding business virtual machine is disposed in target available server according to above-mentioned configuration file.
In this embodiment, in order to avoid virtual machine recovers to cause the load of other available servers excessive, UISM management
Interchanger can select relatively idle available server deployment to need the virtual machine recovered when carrying out virtual machine recovery.
Correspondingly, in this embodiment, when UISM manage interchanger monitor be deployed with business virtual machine server hair
During raw failure, UISM management interchangers can obtain the load condition of available server in virtual machine environment, for example, CPU is utilized
One or more of parameters such as rate, memory usage and network load.
UISM management interchangers are got in virtualized environment after the load condition of each available server, can be according to each
The order of the load of available server from low to high, selects one or more available server as target available server.
For example, when needing to carry out virtual machine recovery, UISM management interchangers can obtain each in virtual machine environment
Cpu busy percentage, memory usage and the network load of available server, and according to the cpu busy percentage of each available server, interior
Utilization rate and network load are deposited, the load of each available server is determined according to default carry calculation strategy.
Utilized for example, cpu busy percentage can be preset with load score value (referred to herein as the first load score value), internal memory
Rate and load score value (referred to herein as the second load score value) and network load and load score value (referred to herein as the 3rd load
Score value) corresponding relation, wherein, cpu busy percentage, memory usage and network load respectively with corresponding load score value positive
Close.
, can be respectively according to the cpu busy percentage of the available server, internal memory profit accordingly for any available server
With rate and network load, the first load score value, the second load score value and the 3rd load score value of the available server are determined,
And the first load score value, the second load score value and the 3rd load score value are weighted, to determine the comprehensive of available server
Close load score value.Wherein, the synthetic load score value of available server is higher, shows that the load of the available server is higher.
For example, it is assumed that when cpu busy percentage is 0~10%, the first load score value is 1;Cpu busy percentage is 10%~20%
When, the first load score value is 2;... when cpu busy percentage is 90%~100%, the first load score value is 10.Memory usage and
The corresponding relation of network load and load score value is similarly.
UISM management interchangers determine the first load score value, the second load score value and the 3rd load of available server
After score value, the synthetic load score value of available server can be determined by below equation:
Synthetic load score value=load the score values of a* the first load score value+b* the second load score values+c* the 3rd
Wherein, the < c < 1, a+b+c=1 of 0 < a <, 1,0 < b < 1,0.
In this embodiment, UISM is managed after interchanger determines the load of each available server, can be according to respectively may be used
With the load condition of server, and need the quantity of virtual machine and the operation demand that recover, minimum one of selection load
Or many available servers are as target available server, and disposed in target available server according to above-mentioned configuration file pair
The business virtual machine answered.
For example, it is assumed that deploying 10 virtual machines on the server broken down, UISM management servers, which are determined, respectively may be used
, can be according to the order of load from low to high after the load condition of server, 3 available services for selecting load minimum
Device, and 4,3 and 3 virtual machines are disposed in 3 available servers respectively.
What deserves to be explained is, in the embodiment of the present application, the negative of each available server is determined when UISM manages interchanger
After lotus, it is not absolutely required to select load minimum one or several available servers as target available server, UISM
Managing interchanger can also be according to other policy selection target available server, for example, working as needs to select an available server
During as target available server, UISM management interchangers can also select load time low (i.e. according to load from low to high suitable
Second of sequence) available server is as target available server, and it is not absolutely required to select load minimum one can use
Server is used as target available server;Similarly, when needing two available servers of selection as destination server, UISM pipes
Reason interchanger can also select order according to load from low to high second and the 3rd (or the 3rd and the 4th,
Or second and the 4th etc.) available server is as target available server, and it is minimum to it is not absolutely required to selection load
Two (First of the order i.e. according to load from low to high and second) available servers be used as target available server.
It can be seen that, it is virtual for what is disposed on the server that breaks down in the technical scheme that the embodiment of the present application is provided
Machine, can recover in an available server, can also recover respectively in many different available servers.
Further, in the application another embodiment, the configuration information of above-mentioned business virtual machine can also include void
Plan machine stores number and using storage volume information;
Correspondingly, in this embodiment, corresponding business is disposed in target available server according to above-mentioned configuration file
After virtual machine, it can also include:
, will be according to the configuration file in available server according to the storage number of the virtual machine and using storage volume information
The business virtual machine of upper deployment is associated with corresponding storage volume.
In this embodiment, it is contemplated that simple server failure, influence is had no on storage service, virtual machine is extensive carrying out
When multiple, in order to improve memory space utilization rate, UISM management interchangers recover the server broken down in available server
After the business virtual machine of upper deployment, the business virtual machine of recovery can also be directly allowed to use original storage volume.
Correspondingly, in this embodiment, when UISM management interchangers dispose void according to configuration information in available server
After plan machine, the storage number and use storage volume information of the virtual machine that can be included according to the configuration information, by basis
The business virtual machine of configuration file deployment is associated with corresponding storage volume.
It should be appreciated that the UISM management interchangers described in above-described embodiment recover to break down in available server
Server on after the business virtual machine disposed, directly allow recovery business virtual machine using original storage volume realization only
Only be that one kind in the technical scheme that the embodiment of the present application is provided is implemented, and and be not belonging to limit to the application protection domain
It is fixed, that is, in the embodiment of the present application, UISM management interchangers recover the server top broken down in available server
After the business virtual machine of administration, the storage configuration of each business virtual machine can also be redeployed, it is implemented does not do superfluous herein
State.
Further,, can be with after the corresponding business virtual machine of above-mentioned startup in the one of embodiment of the application
Including:
When the server broken down recovers, the target service virtual machine disposed on the server is deleted;Wherein, the mesh
It is according to the business virtual machine on configuration file successful deployment to target available server to mark business virtual machine.
In this embodiment, it is contemplated that UISM management interchangers have redeployed the clothes broken down in available server
On business device after the virtual machine disposed, the business virtual machine will be total to the virtual machine on the server that breaks down using identical
Enjoy storage volume, once the server that breaks down recovers, will be existed using two virtual machines of identical shared storage volume bear the same name,
The phenomenons such as read/write conflict, influence business is normally run.
Therefore, in this embodiment, when UISM manages interchanger according to above-mentioned configuration file in available server deployment pair
The business virtual machine answered, and after starting corresponding business virtual machine, if monitoring the server broken down recovers normal fortune
OK, UISM manages interchanger and can delete the target virtual machine disposed on the server, to avoid producing conflict.
Wherein, in this embodiment, to achieve these goals, it can also be wrapped in the configuration information of above-mentioned business virtual machine
Include the unique identifier of business virtual machine, such as UUID (Universally Unique Identifier, universal unique identifier)
Or other similar identifiers.
When UISM manages interchanger successful deployment business virtual machine in available server, and the server broken down
When recovering normal operation, UISM management interchanger can be deleted according to the unique identifier of the business virtual machine of the successful deployment
It is being disposed on the server that the recovery is normally run with unique identifier match business virtual machine.
It should be noted that in the embodiment of the present application, UISM manages interchanger according to above-mentioned configuration file (such as
Profile configuration templates) after the corresponding business virtual machine of successful deployment, it can also delete and match somebody with somebody accordingly in available server
File is put, to avoid subsequently again occurring server failure, and when needing to carry out virtual machine recovery, the corresponding industry of the configuration file
Business virtual machine repeats to dispose.
It can be seen that, in the method flow shown in Fig. 1, by monitoring the running status of server in virtualized environment, and work as
It is virtual according to the business disposed on the server broken down when monitoring the server fail for being deployed with business virtual machine
The corresponding configuration file of configuration information of machine disposes corresponding business virtual machine in available server, and after deployment success,
Start corresponding business virtual machine, without carrying out real-time or timed backup to virtual machine configuration information, you can realize that virtual machine is extensive
It is multiple, reduce overhead.
In order that those skilled in the art more fully understand the technical scheme that the embodiment of the present application is provided, with reference to specific
The technical scheme that application scenarios are provided the embodiment of the present application is illustrated.
Fig. 4 is referred to, a kind of configuration diagram of the concrete application scene provided for the embodiment of the present application, as shown in figure 4,
In the application scenarios, UISM management switch As and UISM management switch b formation IRF are stacked and (IRF are stacked into letter below
Referred to as UISM manages interchanger), UISM management interchangers are responsible for service traffics convergence forwarding and the interaction of message in system, together
When be also responsible for the condition monitoring of the network equipment, server apparatus and storage device.
Based on the application scenarios shown in Fig. 4, the implementation process of the virtual machine recovery scheme that the embodiment of the present application is provided can be with
It is as follows:
1st, UISM manages the running status that interchanger monitors each server in virtualized environment in real time;
2nd, (it is assumed to be on server 1, and server 1 and is deployed with 5 altogether when monitoring the server that is deployed with business virtual machine
Platform virtual machine (VM (Virtual Machine, virtual machine) 1~VM5)) when breaking down, UISM manages interchanger respectively by VM1
~VM5 configuration information saves as corresponding profile configuration templates;Wherein, one profile configuration of a virtual machine correspondence
Template.
Wherein, following information can be included in profile configuration templates:
Virtual machine essential information:Title, description, guiding equipment, CPU, memory configurations etc.;
Virtual machine CD-ROM drive, floppy drive configuration;
Virtual machine network card configuration information:Network interface card number, network strategy, network connection and network interface card information etc.;
Virtual machine stores number and using storage volume information;
Virtual machine unique identifier.
3rd, UISM manage in switch statistic data virtualized environment the cpu busy percentage of each available server, memory usage with
And network load, the load of each available server is determined, and one or more minimum available server of load is defined as mesh
Mark available server.
Where it is assumed that the order of each available server load from low to high is followed successively by server 2, server 3 ... server
N。
1), UISM manages interchanger that the minimum available server of load (i.e. server 2) can be defined as to target is available
Server;Or,
2), the order that UISM management interchanger can be according to each available server load from low to high, many of selection (assuming that
Then it is server 2 and server 3 for two) it is used as target available server.
4th, UISM manages interchanger according to above-mentioned profile configuration templates, and void of the same name is disposed in target available server
Plan machine, and recover virtual machine floppy drive, CD-ROM drive configuration, network card configuration (including network interface card number, network strategy and network connection etc.);
5th, UISM manages interchanger and the business virtual machine disposed in target available server is associated with into corresponding profile
The storage volume preserved in configuration template;
Wherein, after business virtual machine deployment success, UISM management servers can start business virtual machine to recover original
System, business and the data of business virtual machine.The virtual machine (vm) migration work(in the case of server failure is realized for a user
Can, reach the business function that fast quick-recovery failed server is provided.
6th, for the business virtual machine of deployment success, UISM management interchangers retain virtual in profile configuration templates
Machine unique identifier, and delete the profile configuration templates;When failed server recovers normal operation, pass through matching virtual
Machine unique identifier, deletes the corresponding business virtual machine disposed on the normal server of the recovery.
By above description as can be seen that in the technical scheme that the embodiment of the present application is provided, ring is virtualized by monitoring
The running status of server in border, when monitoring the server fail for being deployed with business virtual machine, according to breaking down
Server on the corresponding configuration file of configuration information of business virtual machine disposed corresponding industry is disposed in available server
Business virtual machine, and after deployment success, start corresponding business virtual machine, it is in real time or fixed without being carried out to virtual machine configuration information
When back up, you can realize virtual machine recover, reduce overhead.
Fig. 5 is referred to, a kind of structural representation of the virtual machine recovery device provided for the embodiment of the present application, wherein, should
The UISM management interchangers that virtual machine recovery device can apply in above method embodiment, as shown in figure 5, the virtual machine is extensive
Apparatus for coating can include:
Monitoring unit 510, the running status for monitoring server in virtualized environment;
Deployment unit 520, for being deployed with the server fail of business virtual machine when the monitoring unit is monitored
When, according to the corresponding configuration file of the configuration information for the business virtual machine disposed on the server broken down in available server
It is upper to dispose corresponding business virtual machine;
Start unit 530, for when the deployment success after, starting corresponding business virtual machine.
In an alternative embodiment, the deployment unit 520, specifically for obtaining the negative of available server in virtualized environment
Lotus state;According to the load order from low to high of each available server, one or more available server is selected as target
Available server;Corresponding business virtual machine is disposed in the target available server according to the configuration file.
In an alternative embodiment, the configuration information of business virtual machine includes:
Virtual machine essential information, virtual machine CD-ROM drive, floppy drive configuration, virtual machine network card configuration information.
In an alternative embodiment, the configuration information of the business virtual machine also includes virtual machine storage number and using storage
Volume information;
Correspondingly, the deployment unit 520, is additionally operable to believe according to the storage number of the virtual machine and using storage volume
Breath, corresponding storage volume is associated with by the business virtual machine disposed according to the configuration file in the available server.
Please also refer to Fig. 6, the structural representation of another virtual machine recovery device provided for the embodiment of the present application, such as
Shown in Fig. 6, on the basis of virtual machine recovery device shown in Fig. 5, the virtual machine recovery device shown in Fig. 6 can also include:
Unit 540 is deleted, for when the server broken down recovers, deleting the target disposed on the server
Business virtual machine;Wherein, the target service virtual machine is according on the configuration file successful deployment to target available server
Business virtual machine.
The function of unit and the implementation process of effect specifically refer to correspondence step in the above method in said apparatus
Implementation process, will not be repeated here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is real referring to method
Apply the part explanation of example.Device embodiment described above is only schematical, wherein described be used as separating component
The unit of explanation can be or may not be physically separate, and the part shown as unit can be or can also
It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality
Selection some or all of module therein is needed to realize the purpose of application scheme.Those of ordinary skill in the art are not paying
In the case of going out creative work, you can to understand and implement.
As seen from the above-described embodiment, by monitoring the running status of server in virtualized environment, it is deployed with when monitoring
During the server fail of business virtual machine, according to the configuration information for the business virtual machine disposed on the server broken down
Corresponding configuration file disposes corresponding business virtual machine in available server, and after deployment success, starts corresponding industry
Business virtual machine, without carrying out real-time or timed backup to virtual machine configuration information, you can realize that virtual machine recovers, reduce system
Expense.
Those skilled in the art will readily occur to its of the application after considering specification and putting into practice invention disclosed herein
Its embodiment.The application is intended to any modification, purposes or the adaptations of the application, these modifications, purposes or
Person's adaptations follow the general principle of the application and including the undocumented common knowledge in the art of the application
Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the application and spirit are by following
Claim is pointed out.
It should be appreciated that the precision architecture that the application is not limited to be described above and is shown in the drawings, and
And various modifications and changes can be being carried out without departing from the scope.Scope of the present application is only limited by appended claim.
Claims (10)
1. a kind of virtual machine restoration methods, it is characterised in that applied to unified management matrix U ISM management interchangers, this method bag
Include:
Monitor the running status of server in virtualized environment;
When monitoring the server fail for being deployed with business virtual machine, according to the industry disposed on the server broken down
The corresponding configuration file of configuration information of business virtual machine disposes corresponding business virtual machine in available server, and ought be deployed to
After work(, start corresponding business virtual machine.
2. according to the method described in claim 1, it is characterised in that the business disposed on the server that the basis breaks down
The corresponding configuration file of configuration information of virtual machine disposes corresponding business virtual machine in available server, including:
Obtain the load condition of available server in virtualized environment;
According to the load order from low to high of each available server, select one or more available server available as target
Server;
Corresponding business virtual machine is disposed in the target available server according to the configuration file.
3. according to the method described in claim 1, it is characterised in that the configuration information of business virtual machine includes:
Virtual machine essential information, virtual machine CD-ROM drive, floppy drive configuration, virtual machine network card configuration information.
4. method according to claim 3, it is characterised in that the configuration information of the business virtual machine also includes virtual machine
Store number and using storage volume information;
It is described to be disposed according to the configuration file in target available server after corresponding business virtual machine, in addition to:
, will be according to the configuration file in the available service according to the storage number of the virtual machine and using storage volume information
The business virtual machine disposed on device is associated with corresponding storage volume.
5. method according to claim 4, it is characterised in that after the corresponding business virtual machine of the startup, in addition to:
When the server broken down recovers, the target service virtual machine disposed on the server is deleted;Wherein, the mesh
It is according to the business virtual machine on the configuration file successful deployment to target available server to mark business virtual machine.
6. a kind of virtual machine recovery device, it is characterised in that applied to unified management matrix U ISM management interchangers, the device bag
Include:
Monitoring unit, the running status for monitoring server in virtualized environment;
Deployment unit, for when the monitoring unit monitors the server fail for being deployed with business virtual machine, according to
The corresponding configuration file of configuration information for the business virtual machine disposed on the server broken down is disposed in available server
Corresponding business virtual machine;
Start unit, for when the deployment success after, starting corresponding business virtual machine.
7. device according to claim 6, it is characterised in that
The deployment unit, the load condition specifically for obtaining available server in virtualized environment;According to each available service
The order of the load of device from low to high, selects one or more available server as target available server;Matched somebody with somebody according to described
Put file and dispose corresponding business virtual machine in the target available server.
8. device according to claim 6, it is characterised in that the configuration information of business virtual machine includes:
Virtual machine essential information, virtual machine CD-ROM drive, floppy drive configuration, virtual machine network card configuration information.
9. device according to claim 8, it is characterised in that the configuration information of the business virtual machine also includes virtual machine
Store number and using storage volume information;
The deployment unit, is additionally operable to, according to the storage number of the virtual machine and using storage volume information, according to described to be matched somebody with somebody
Put the business virtual machine that file disposes in the available server and be associated with corresponding storage volume.
10. device according to claim 9, it is characterised in that described device also includes:
Unit is deleted, for when the server broken down recovers, deleting the target service disposed on the server empty
Plan machine;Wherein, the target service virtual machine is according to the business on the configuration file successful deployment to target available server
Virtual machine.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710266369.0A CN107122229A (en) | 2017-04-21 | 2017-04-21 | A kind of virtual machine restoration methods and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710266369.0A CN107122229A (en) | 2017-04-21 | 2017-04-21 | A kind of virtual machine restoration methods and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107122229A true CN107122229A (en) | 2017-09-01 |
Family
ID=59725882
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710266369.0A Pending CN107122229A (en) | 2017-04-21 | 2017-04-21 | A kind of virtual machine restoration methods and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107122229A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109240197A (en) * | 2017-12-22 | 2019-01-18 | 北京东土科技股份有限公司 | The monitoring of software definition PLC a kind of and reconstructing method and device |
CN109818785A (en) * | 2019-01-15 | 2019-05-28 | 无锡华云数据技术服务有限公司 | A kind of data processing method, server cluster and storage medium |
CN110377456A (en) * | 2019-07-05 | 2019-10-25 | 苏州浪潮智能科技有限公司 | A kind of management method and device of virtual platform disaster tolerance |
CN112231063A (en) * | 2020-10-23 | 2021-01-15 | 新华三信息安全技术有限公司 | Fault processing method and device |
CN112637336A (en) * | 2020-12-22 | 2021-04-09 | 新华三大数据技术有限公司 | Method, device and storage medium for realizing high availability of virtual machine |
CN117290059A (en) * | 2023-11-27 | 2023-12-26 | 四川中电启明星信息技术有限公司 | Cross-chip architecture linux virtual machine transfer method and system |
WO2024093328A1 (en) * | 2022-11-02 | 2024-05-10 | 中兴通讯股份有限公司 | Virtual desktop connection method and apparatus |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102819465A (en) * | 2012-06-29 | 2012-12-12 | 华中科技大学 | Failure recovery method in virtualization environment |
CN104182306A (en) * | 2014-08-08 | 2014-12-03 | 成都致云科技有限公司 | Low-cost intelligent breakdown instant switching method for cloud host |
CN105204955A (en) * | 2015-09-30 | 2015-12-30 | 华为技术有限公司 | Method and device for correcting faults of virtual machines |
CN105335214A (en) * | 2015-11-12 | 2016-02-17 | 国云科技股份有限公司 | Virtual machine failure detection and recovery method |
CN105630632A (en) * | 2015-12-25 | 2016-06-01 | 华为技术有限公司 | Virtual machine recovery method and virtual machine management device |
-
2017
- 2017-04-21 CN CN201710266369.0A patent/CN107122229A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102819465A (en) * | 2012-06-29 | 2012-12-12 | 华中科技大学 | Failure recovery method in virtualization environment |
CN104182306A (en) * | 2014-08-08 | 2014-12-03 | 成都致云科技有限公司 | Low-cost intelligent breakdown instant switching method for cloud host |
CN105204955A (en) * | 2015-09-30 | 2015-12-30 | 华为技术有限公司 | Method and device for correcting faults of virtual machines |
CN105335214A (en) * | 2015-11-12 | 2016-02-17 | 国云科技股份有限公司 | Virtual machine failure detection and recovery method |
CN105630632A (en) * | 2015-12-25 | 2016-06-01 | 华为技术有限公司 | Virtual machine recovery method and virtual machine management device |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3502901A1 (en) * | 2017-12-22 | 2019-06-26 | Kyland Technology Co., Ltd. | Method and apparatus for monitoring and reconstructing a software-defined plc |
CN109240197B (en) * | 2017-12-22 | 2020-01-21 | 北京东土科技股份有限公司 | Monitoring and reconstruction method and device of software defined Programmable Logic Controller (PLC) |
US10877455B2 (en) | 2017-12-22 | 2020-12-29 | Kyland Technology Co., Ltd. | Method and apparatus for monitoring and reconstructing a software-defined PLC |
CN109240197A (en) * | 2017-12-22 | 2019-01-18 | 北京东土科技股份有限公司 | The monitoring of software definition PLC a kind of and reconstructing method and device |
CN109818785A (en) * | 2019-01-15 | 2019-05-28 | 无锡华云数据技术服务有限公司 | A kind of data processing method, server cluster and storage medium |
CN110377456B (en) * | 2019-07-05 | 2021-11-26 | 苏州浪潮智能科技有限公司 | Management method and device for virtualization platform disaster tolerance |
CN110377456A (en) * | 2019-07-05 | 2019-10-25 | 苏州浪潮智能科技有限公司 | A kind of management method and device of virtual platform disaster tolerance |
CN112231063A (en) * | 2020-10-23 | 2021-01-15 | 新华三信息安全技术有限公司 | Fault processing method and device |
CN112637336A (en) * | 2020-12-22 | 2021-04-09 | 新华三大数据技术有限公司 | Method, device and storage medium for realizing high availability of virtual machine |
CN112637336B (en) * | 2020-12-22 | 2022-05-27 | 新华三大数据技术有限公司 | Method, device and storage medium for realizing high availability of virtual machine |
WO2024093328A1 (en) * | 2022-11-02 | 2024-05-10 | 中兴通讯股份有限公司 | Virtual desktop connection method and apparatus |
CN117290059A (en) * | 2023-11-27 | 2023-12-26 | 四川中电启明星信息技术有限公司 | Cross-chip architecture linux virtual machine transfer method and system |
CN117290059B (en) * | 2023-11-27 | 2024-03-15 | 四川中电启明星信息技术有限公司 | Cross-chip architecture linux virtual machine transfer method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107122229A (en) | A kind of virtual machine restoration methods and device | |
CN105760214B (en) | A kind of equipment state and resource information monitoring method, relevant device and system | |
CN103778031B (en) | Distributed system multilevel fault tolerance method under cloud environment | |
CN106301876B (en) | Physical machine upgrade method, business migration method and device | |
CN106528327B (en) | A kind of data processing method and backup server | |
EP3447965B1 (en) | Network function instance management method and relevant device | |
CN111385114A (en) | VNF service instantiation method and device | |
CN106664216A (en) | Method and apparatus for switching vnf | |
CN108345490B (en) | Method and system for deploying virtual machine in NFV | |
CN105635311A (en) | Method for synchronizing resource pool information in cloud management platform | |
CN113067850A (en) | Cluster arrangement system under multi-cloud scene | |
CN106385330B (en) | A kind of implementation method and device of network function virtualization composer | |
CN110661641A (en) | Virtual network function VNF deployment method and device | |
CN104793981B (en) | A kind of online snapshot management method and device of cluster virtual machine | |
CN112929221A (en) | Method for realizing disaster tolerance of main and standby cloud service products | |
CN110262893A (en) | The method, apparatus and computer storage medium of configuration mirroring memory | |
CN108319492A (en) | Reset the method, apparatus and system of physical machine | |
CN109842526B (en) | Disaster recovery method and device | |
CN112367186B (en) | Fault protection method and device based on 0penStack bare computer | |
CN109347661A (en) | The instantiation method and device of consumer VNF | |
CN103856502A (en) | Method and NAS cluster system for realizing mirror image document thermal migration of virtual machine | |
CN117201278A (en) | Method for realizing disaster recovery high-availability scene of primary and backup cloud primary application in information creation environment | |
CN106959885A (en) | A kind of virtual machine High Availabitity realizes system and its implementation | |
CN109936462A (en) | Disaster recovery method and device | |
JP6591045B2 (en) | Method and network service apparatus for migrating network service |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province Applicant after: Xinhua Sanxin Information Technology Co., Ltd. Address before: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province Applicant before: Huashan Information Technology Co., Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170901 |