CN102073556B - Hot backup and restoration method, equipment and system for virtual machine - Google Patents

Hot backup and restoration method, equipment and system for virtual machine Download PDF

Info

Publication number
CN102073556B
CN102073556B CN201010592164XA CN201010592164A CN102073556B CN 102073556 B CN102073556 B CN 102073556B CN 201010592164X A CN201010592164X A CN 201010592164XA CN 201010592164 A CN201010592164 A CN 201010592164A CN 102073556 B CN102073556 B CN 102073556B
Authority
CN
China
Prior art keywords
virtual machine
look
backup
request
data
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.)
Expired - Fee Related
Application number
CN201010592164XA
Other languages
Chinese (zh)
Other versions
CN102073556A (en
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.)
Beihang University
Original Assignee
Beihang University
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 Beihang University filed Critical Beihang University
Priority to CN201010592164XA priority Critical patent/CN102073556B/en
Publication of CN102073556A publication Critical patent/CN102073556A/en
Application granted granted Critical
Publication of CN102073556B publication Critical patent/CN102073556B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a hot backup and restoration method, hot backup and restoration equipment and a hot backup and restoration system for a virtual machine. The method comprises: recording interrupt data of an interrupt signal from the outside of a source virtual machine in a synchronization cycle, wherein the interrupt data comprise an interrupt identifier and an interrupt time point which is the position of the interrupt signal in an instruction stream of the source virtual machine; recording the execution result information of the input/output (I/O) requests and the information on the positions in an interrupt signal sequence of the I/O requests, which are transmitted by virtual external equipment in a synchronization cycle according to a central process unit (CPU); and transmitting backup data to a backup end virtual machine monitor, so that the backup end virtual machine monitor can realize the state synchronization of a backup virtual machine and the source virtual machine, wherein the backup data comprise all interrupt data in the synchronization cycle, the corresponding execution result information of the I/O requests and the information on the positions of the I/O requests in the interrupt signal sequence. The technical scheme adopted by the invention makes operation simple and is easy to implement.

Description

The Hot Spare of virtual machine and restoration methods, equipment and system
Technical field
The present invention relates to the virtual machine technique field, relate in particular to a kind of Hot Spare and restoration methods, equipment and system that is applied to the virtual machine in the monitor of virtual machine.
Background technology
Intel Virtualization Technology developed rapidly in recent years, received the extensive concern of industrial community and academia.To the application corresponding environment solution has separately been proposed with the commercialization virtual software production commercial city headed by VMware and the Microsoft.Subsequently, realized efficiently that with the virtual software of increasing income headed by the Xen half is virtual.And hardware vendors such as Inter, AMD have released the product that provides hardware level to support to Intel Virtualization Technology in recent years, make the realization of fully virtualized technology reach more easily efficiently, use more extensive.
Intel Virtualization Technology have all the other technology the advantage that can not substitute even compare; Adopt virtual technology can on a physical machine, move a plurality of virtual machine instance; The multiplexing of hardware level can be provided; Have encapsulation property, isolation, security, ease of manageability, support and leave over application, can also improve system reliability or the like through the migrating technology of virtual machine.These superperformances of Intel Virtualization Technology be its in the main cause that received much concern and developed rapidly in recent years, and be used to solve increasing computer realm problem.Be the degree that service that computer system provides can be trusted for example in the availability of computer system.In order to improve availability; Just shorten mean failure rate release time, system must obtain in the short period of time because the hardware-software fault, maloperation; Outage; The thrashing that environmental bugs such as suspension cause, and to before system recover or substitute, thereby continual service externally is provided.For the system that with the Intel Virtualization Technology is the basis; Benefit from the encapsulation property of Intel Virtualization Technology; Isolation can be carried out Hot Spare to module in the system with the method for redundancy, and the redundant module in the using system substituted failed module when module loses efficacy; Recover to reach as early as possible, improve the purpose of availability.
The heat backup method of virtual machine is the high available technical scheme of virtual machine with carrying out restoration methods.Existing virtual machine heat backup method is mainly made independent log record to each peripheral apparatus that simulates.In virtual machine rejuvenation, simulate the processing procedure of each peripheral apparatus again, to realize backup to system.
But; Adopt existing heat backup method and carry out restoration methods, to making independent record back-up processing to each virtual peripheral apparatus, simultaneously also need be when carrying out recovery; Need simulate each virtual peripheral apparatus again, the process of Hot Spare and recovery is more complicated all.
Summary of the invention
The present invention provides a kind of Hot Spare and restoration methods, equipment and system of virtual machine, and the defective in order to Hot Spare and rejuvenation more complicated in the virtual machine in the solution prior art provides a kind of Hot Spare simple to operate and the technical scheme of recovery.
The present invention provides a kind of heat backup method of virtual machine, is applied to comprise in the end monitor of virtual machine of source:
Record in synchronizing cycle, come from the interrupt data of each outside look-at-me of source virtual machine, said interrupt data comprise interrupt sign and break period point; Put said break period and be the position of said look-at-me in the instruction stream of said source virtual machine;
Write down in said synchronizing cycle the execution result information of each I/O request that virtual external unit sends according to central processing unit and the positional information of each said I/O request in the look-at-me sequence; Said look-at-me sequence is the sequence that each said look-at-me is formed according to the series arrangement of putting each self-corresponding break period;
Send Backup Data to backup end monitor of virtual machine, realize backup virtual machine and said source virtual machine state synchronized according to said Backup Data for said backup end monitor of virtual machine; Said Backup Data comprises each said interrupt data in said synchronizing cycle, and the corresponding execution result information and the positional information of each said I/O request in the look-at-me sequence of each said I/O request.
The present invention provides a kind of restoration methods of virtual machine, is applied to comprise in the backup end monitor of virtual machine:
The Backup Data that reception sources end monitor of virtual machine sends, said Backup Data comprises each interrupt data in synchronizing cycle, and the corresponding execution result information and the positional information of each said I/O request in the look-at-me sequence of each I/O request; Said interrupt data comprises interrupts sign and some break period, and said break period, point was the position of said look-at-me in the instruction stream of source virtual machine; Said look-at-me sequence is the sequence that each said look-at-me is formed according to the series arrangement of putting each self-corresponding break period;
According to the interruption of each said look-at-me sign and said break period point, carry out each said look-at-me successively;
According to the positional information of each said I/O request in the look-at-me sequence; In the operating process of carrying out each said look-at-me; According to the corresponding execution result information of said I/O request; Carry out the operation that the said I/O request of the virtual external-device response of simulation is done, to realize the state synchronized of backup virtual machine and said source virtual machine.
The present invention provides a provenance end monitor of virtual machine equipment, comprising:
Interruption processing module is used for writing down synchronizing cycle, comes from the interrupt data of each outside look-at-me of source virtual machine, said interrupt data comprise interrupt sign and break period point; Put said break period and be the position of said look-at-me in the instruction stream of said source virtual machine;
The I/O processing module is used for writing down said synchronizing cycle, the execution result information of each I/O request that virtual external unit sends according to central processing unit and the positional information of each said I/O request in the look-at-me sequence; Said look-at-me sequence is the sequence that each said look-at-me is formed according to the series arrangement of putting each self-corresponding break period;
Synchronous processing module is used for sending Backup Data to backup end monitor of virtual machine, realizes backup virtual machine and said source virtual machine state synchronized for said backup end monitor of virtual machine according to said Backup Data; Said Backup Data comprises each said interrupt data in said synchronizing cycle, and the corresponding execution result information and the positional information of each said I/O request in the look-at-me sequence of each said I/O request.
The present invention provides a kind of backup end monitor of virtual machine equipment, comprising:
Synchronous processing module; Be used for the Backup Data that reception sources end monitor of virtual machine sends; Said Backup Data comprises each interrupt data in synchronizing cycle, and the corresponding execution result information and the positional information of each said I/O request in the look-at-me sequence of each I/O request; Said interrupt data comprises interrupts sign and some break period, and said break period, point was the position of said look-at-me in the instruction stream of source virtual machine; Said look-at-me sequence is the sequence that each said look-at-me is formed according to the series arrangement of putting each self-corresponding break period;
Interruption processing module, be used for based on the interruption of each said interrupt signal sign and said break period point, carry out each said interrupt signal successively;
The I/O processing module; Be used for according to the positional information of each said I/O request in the look-at-me sequence; In the operating process of carrying out each said look-at-me; According to the corresponding execution result information of said I/O request, carry out the operation that the said I/O request of the virtual external-device response of simulation is done, to realize the state synchronized of backup virtual machine and said source virtual machine.
The present invention also provides a kind of monitor of virtual machine system, comprises that the empty end of source end monitor of virtual machine equipment and backup intends machine monitoring device equipment;
Said source end monitor of virtual machine equipment is used for writing down synchronizing cycle, comes from the interrupt data of each outside look-at-me of source virtual machine, said interrupt data comprise interrupt sign and break period point; Put said break period and be the position of said look-at-me in the instruction stream of said source virtual machine; Write down in said synchronizing cycle the execution result information of each I/O request that virtual external unit sends according to central processing unit and the positional information of each said I/O request in the look-at-me sequence; Said look-at-me sequence is the sequence that each said look-at-me is formed according to the series arrangement of putting each self-corresponding break period; Send Backup Data to said backup end monitor of virtual machine equipment; Said Backup Data comprises each said interrupt data in said synchronizing cycle, and the corresponding execution result information and the positional information of each said I/O request in the look-at-me sequence of each said I/O request;
Said backup end monitor of virtual machine equipment is used to receive the said Backup Data that said source end monitor of virtual machine equipment sends, according to the interruption sign of each said look-at-me and said break period point, carry out each said look-at-me successively; According to the positional information of each said I/O request in said look-at-me sequence in the said Backup Data; In the operating process of carrying out each said look-at-me; According to the corresponding execution result information of I/O request described in the said Backup Data; Carry out the operation that the said I/O request of the virtual external-device response of simulation is done, to realize the state synchronized of backup virtual machine and said source virtual machine.
The Hot Spare of virtual machine of the present invention and restoration methods, equipment and system; Through the interrupt data of each interrupt signal in source end monitor of virtual machine sidelights records synchronizing cycle, and the execution result information and the positional information of each I/O request in the interrupt signal sequence of each I/O request of sending based on central processing unit; And all information of sending record to backup virtual machine.And backing up end monitor of virtual machine side group, and according to the positional information of each I/O request in the interrupt signal sequence, the execution result information of each I/O request synchronously in synchronous each interrupt signal of interrupt data.Adopt technical scheme of the present invention, end monitor of virtual machine side need not made independent log record to the external hardware of each simulation in the source; Recording process is simple, writing speed is fast.Also need not distinguish the processing procedure of simulating each external hardware again in backup end monitor of virtual machine side, it is simple to recover processing procedure, can reduce release time effectively, and reduce the occupancy of central processing unit in the rejuvenation.Therefore, adopt technical scheme of the present invention, the efficient of Hot Spare and recovery is higher.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply; Obviously, the accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
The process flow diagram of the heat backup method of the virtual machine that Fig. 1 provides for the embodiment of the invention one;
The process flow diagram of the restoration methods of the virtual machine that Fig. 2 provides for the embodiment of the invention two;
The Hot Spare of the dummy machine system that Fig. 3 provides for the embodiment of the invention three and the process flow diagram of restoration methods;
The structural representation of the source end monitor of virtual machine equipment that Fig. 4 provides for the embodiment of the invention four;
The structural representation of the backup end monitor of virtual machine equipment that Fig. 5 provides for the embodiment of the invention five;
The structural representation of the monitor of virtual machine system that Fig. 6 provides for the embodiment of the invention six.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer; To combine the accompanying drawing in the embodiment of the invention below; Technical scheme in the embodiment of the invention is carried out clear, intactly description; Obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The process flow diagram of the heat backup method of the virtual machine that Fig. 1 provides for the embodiment of the invention one.The executive agent of the backup method of present embodiment is a source end monitor of virtual machine equipment.As shown in Figure 1, the heat backup method of the virtual machine of present embodiment specifically can comprise the steps:
Step 100, record in synchronizing cycle, come from the interrupt data of each outside look-at-me of source virtual machine;
Wherein this interrupt data comprise interrupt sign and break period point; Some break period here is specially the position of this look-at-me in the instruction stream of source virtual machine.
Step 101, record are in synchronizing cycle, and virtual external unit is according to central processing unit (Central Processing Unit; Hereinafter to be referred as CPU) each I/O (Input Output of sending; Hereinafter to be referred as I/O) execution result information and the positional information of each I/O request in the look-at-me sequence of request;
Wherein this look-at-me sequence is the sequence that each look-at-me is formed according to the series arrangement of putting each self-corresponding break period.
Step 102, send Backup Data, realize backup virtual machine and source virtual machine state synchronized based on Backup Data for backup end monitor of virtual machine to backup end monitor of virtual machine; This Backup Data comprises each interrupt data in synchronizing cycle, and the corresponding execution result information and the positional information of each I/O request in the interrupt signal sequence of each I/O request.
Particularly, present embodiment is an example with the internal memory CPU external device status of backup virtual machine and source virtual machine in the synchronous synchronizing cycle.End monitor of virtual machine one side in the source, end monitor of virtual machine record in source comes from the interrupt data of each outside look-at-me of source virtual machine in preamble period.Wherein each interrupt data comprise interrupt sign (also being referred to as to interrupt ID) and break period point.Wherein should put break period can through be used in the virtual cpu writing down next bar assembly instruction at the order register of the address of internal memory, be used for writing down the register of assembly instruction round-robin residue degree and be used to write down that the performance counter of execution number of times of jump instruction is unique confirms.The register of the eip that for example this interlude point can be through virtual cpu, ecx (32 environment under), and a performance counter of physical cpu uniquely confirms.The performance counter here also can be referred to as branch's counter.Simultaneously, source end monitor of virtual machine also need write down the execution result information and the positional information of each I/O request in the look-at-me sequence when each I/O request correspondence in the preamble period, realizes the synchronous of operation for backup virtual machine.The execution result information corresponding when each I/O request in the preamble period can be referred to as the I/O data with the positional information of each I/O request in the look-at-me sequence.
Wherein each the I/O request in the current period is that certain front and back position relation is arranged with each look-at-me, also can become partial ordering relation.
Need to prove, when finish each synchronizing cycle, accomplish that regularly Backup Data is sent to backup end monitor of virtual machine.Backup Data comprises the interrupt data in current synchronizing cycle at least, the partial ordering relation (can be referred to as the I/O data) of the execution result information of I/O request and look-at-me and I/O request.The state that can also comprise simultaneously, the virtual external unit that changes in the current period in the Backup Data.Interrupt data and I/O data all are buffered in the buffer area separately, hold monitor of virtual machine that the checking of time partial ordering relation between I/O data and the interrupt data is reduced record and data quantity transmitted simultaneously as far as possible in order to support to back up.Here need with I/O data and interrupt data from buffer area separately, take out according to before the partial ordering relation of Simulation with I/O instruction record reconsolidate ordering and transmission.
Need to prove that Backup Data can also comprise the internal device state of source virtual machine.Wherein the state of virtual cpu and internal memory does not need other transmission by unique the confirming of the instruction stream execution result of confirming.At backup end playback time; Because the execution result of the peripheral hardware instruction that virtual cpu is all is record in the I/O data; Do not need the processing of corresponding peripheral apparatus, so when the correctness that in backup end monitor of virtual machine side rejuvenation, need not safeguard the peripheral hardware state.But make mistakes at source virtual machine, need to guarantee the correctness of dummy machine system internal state after backup virtual machine is taken over job.So, all to transmit state each synchronizing cycle except that source virtual machine internal memory and all peripheral apparatus the virtual cpu.
The heat backup method of the virtual machine of present embodiment; Through the interrupt data of each interrupt signal in source end monitor of virtual machine sidelights records synchronizing cycle, and the execution result information and the positional information of each I/O request in the interrupt signal sequence of each I/O request of sending based on central processing unit; And, backup virtual machine is carried out synchronously for backup end monitor of virtual machine to all information that backup end monitor of virtual machine sends record.Adopt the technical scheme of present embodiment, end monitor of virtual machine side need not made independent log record to the external hardware of each simulation in the source; Simply, therefore recording process adopts the technical scheme of present embodiment, and Hot Spare efficient is higher.
Need to prove; Record is in synchronizing cycle in the step 101 in the foregoing description; Execution result information and the positional information of each I/O request in the look-at-me sequence that each I/O that sends according to CPU asks specifically can be records in the buffer area of user's attitude.
Step 100 in the foregoing description record in synchronizing cycle, come from the interrupt data of each outside look-at-me of source virtual machine, also can be in the buffer area of user's attitude record.But each look-at-me is come interim, all is in kernel state, to obtain, and then switches to user's attitude from kernel state and carry out record, but can increase the overhead that kernel state and the switching of user's attitude bring like this.
Switch the overhead that brings in order to reduce kernel state and user's attitude; In the technical scheme of embodiment of the present invention embodiment; Can two buffer areas that are used to write down interrupt data be set in the end monitor of virtual machine of source, one is positioned at user's attitude, and another is positioned at kernel state.For the I/O data, has only a buffer area that is positioned at user's attitude.Be used for the interrupt data that the buffer memory last time is accomplished to all interrupting informations between next time coming synchronously synchronously in the buffer area of user's attitude, just be used for the interrupt data of all interrupting informations of buffer memory in preamble period.The interrupt data that writes down in this buffer area the completion of backup virtual machine when preamble period synchronously after empty.Accordingly, when execution in step 102, source end monitor of virtual machine is called in the interrupt data of all interrupting informations in preamble period that write down in the kernel state buffer area in the buffer area in user's attitude earlier; End monitor of virtual machine in source is with the interrupt data of all interrupting informations in the current period in user's attitude buffer area then; And the corresponding execution result information of each I/O request that is arranged in user's attitude buffer area sends to backup end monitor of virtual machine with each I/O request in the positional information of look-at-me sequence together, for backup end monitor of virtual machine realize to backup virtual machine synchronously.
The process flow diagram of the restoration methods of the virtual machine that Fig. 2 provides for the embodiment of the invention two.The executive agent of present embodiment is backup end monitor of virtual machine.As shown in Figure 2, the restoration methods of present embodiment specifically can comprise the steps:
Each interrupt data in the synchronizing cycle that step 200, reception sources end monitor of virtual machine send, and the corresponding execution result information and the positional information of each I/O request in the look-at-me sequence of each I/O request;
Wherein this interrupt data comprises and interrupts sign and some break period, and some break period here is the position of look-at-me in the instruction stream of source virtual machine; The look-at-me sequence is the sequence that each look-at-me is formed according to the series arrangement of putting each self-corresponding break period.
Step 201, according to the interruption of each look-at-me sign and break period point, carry out each look-at-me successively;
Step 202, according to the positional information of each I/O request in the look-at-me sequence; In the operating process of carrying out each look-at-me; According to the corresponding execution result information of I/O request; Carry out the operation that the virtual external-device response I/O request of simulation is done, to realize the state synchronized of backup virtual machine and source virtual machine.
Particularly, present embodiment is an example with backup virtual machine and source virtual machine in the synchronous synchronizing cycle.In backup end monitor of virtual machine one side; Backup end monitor of virtual machine is reception sources end monitor of virtual machine each interrupt data in the synchronizing cycle of sending at first, and the corresponding execution result information and the positional information of each I/O request in the look-at-me sequence of each I/O request.Then according to the interruption of each look-at-me sign and break period point, carry out each look-at-me successively.Be in particular the interruption that point inserts interruption sign correspondence according to break period, and the insertion that can should interrupt synchronously.Confirming of wherein putting break period can be with reference to the record of the foregoing description one.The register of the eip that for example this interlude point can be through virtual cpu, ecx (32 environment under), and a performance counter of physical cpu uniquely confirms.The performance counter here also can be referred to as branch's counter.This performance counter under the X86 architecture can produce not maskable interrupts.Through source end monitor of virtual machine the Interrupt Process function that performance counter overflows is set and accomplishes the insertion of interrupting in the tram.The Interrupt Process function is implemented in kernel state and accomplishes the recovery of interrupting.The value of two virtual registers of the eip of simultaneous verification virtual cpu and ecx (32 environment under) is interrupted to insert in correct position.
Need to prove that wherein the I/O request of reception sources end monitor of virtual machine transmission and look-at-me are that certain front and back position relation is arranged, and also can become partial ordering relation.In order to ensure the relative correctness of execution sequence of I/O instruction, just I/O processing of request and look-at-me occur in the source virtual machine side and the standby virtual pusher side should be followed identical partial ordering relation.Here partial ordering relation can concern through the position of each I/O request in the look-at-me sequence and characterizes.Therefore in the corresponding execution result information of source virtual machine sidelights record I/O request, all increased the positional information of this I/O request in the look-at-me sequence.
In the process of inserting look-at-me; Also need be according to the positional information of each I/O request in the look-at-me sequence; In the operating process of carrying out each look-at-me; According to the corresponding execution result information of I/O request, carry out the operation that the virtual external-device response I/O request of simulation is done, to realize the state synchronized of backup virtual machine and source virtual machine.That is to say and to recover to work as each look-at-me and the corresponding execution result information of each I/O request in the preamble period in backup virtual machine successively according to each look-at-me of source virtual machine record and the time partial ordering relation of each I/O request, thereby realize the synchronous of backup virtual machine and source virtual machine.
Need to prove, can also comprise the state of the virtual external unit that changes in the current period in the Backup Data that the source end monitor of virtual machine that backup end monitor of virtual machine receives sends.And after the execution result information of synchronously intact look-at-me and each I/O request, the external device status of the virtual machine in the backed up in synchronization virtual machine.
Need to prove, can also comprise the internal device state of the virtual machine except that the state of virtual cpu and internal memory in the Backup Data that the source end monitor of virtual machine that backup end monitor of virtual machine receives sends.And after the execution result information of synchronously intact look-at-me and each I/O request, the internal device state of the virtual machine in the backed up in synchronization virtual machine.
Accomplish in the present embodiment and recover the I/O solicit operation; Do not back up the state of all devices completely; In each synchronizing cycle, the virtual external unit that needs other recording status to change, with guarantee at the backup end virtual outside establish by and virtual cpu and internal memory between consistance.
The restoration methods of the virtual machine of present embodiment; Through the Backup Data that sends in backup end monitor of virtual machine side reception sources end monitor of virtual machine side; And backing up end monitor of virtual machine lateral root according to synchronous each look-at-me of interrupt data; And according to the positional information of each I/O request in the look-at-me sequence, the execution result information of each I/O request synchronously.Adopt the technical scheme of present embodiment; Need not distinguish the processing procedure of simulating each external hardware again in backup end monitor of virtual machine side yet; The recovery processing procedure is simple, can reduce release time effectively, and has reduced the occupancy of central processing unit in the rejuvenation.Therefore, adopt the technical scheme of present embodiment, the efficient of recovery is higher.
Need to prove, identical in the homology end monitor of virtual machine in backup end monitor of virtual machine, for depositing interrupt data two buffer areas can be arranged, one is positioned at kernel state, and another is positioned at user's attitude.For depositing the I/O data buffer area of user's attitude can be arranged only.After backup end monitor of virtual machine one side joint is received Backup Data, can Backup Data be launched according to partial ordering relation, and interrupt data and I/O data are put into user's attitude buffer area separately respectively.Backup end monitor of virtual machine will be sheared a part of interrupt data in user's attitude buffer area and deposit to the buffer area of the kernel state of depositing interrupt data.Particularly, the size of the interrupt data of shearing is less than or equal to the kernel state buffer size.The interruption that whether need insert in the kernel state buffer area of interrupt data is deposited in the inspection of backup end monitor of virtual machine then; If have; Backup end monitor of virtual machine is carried out and is interrupted preliminary work; For example check the register of the eip, ecx (32 environment under) of virtual cpu, and the performance counter that physical cpu is set realizes inserting the preliminary work of interruption.Carrying out next bar instruction of this synchronizing cycle by backup virtual machine then arrives up to first look-at-me.If deposit in the kernel state buffer area of interrupt data to empty, suspend backup virtual machine and carry out.In this look-at-me playback procedure, virtual cpu can send the I/O request.Because record each I/O request in the I/O that writes down in the I/O data request after which look-at-me.When some I/O ask after this look-at-me, to skip back in the monitor of virtual machine, back up the execution result that the virtual external unit of storing in user's attitude buffer area of end monitor of virtual machine according to the I/O data of I/O digital simulation is carried out this I/O request.Monitor of virtual machine continues to be back to kernel state then; Judge and whether also have interrupt data in the kernel state that writes down interrupt data; If have; Continuation is carried out according to above-mentioned steps, up to recovering all interruption and I/O, finally is implemented in the state synchronized of backup virtual machine and source virtual machine in this synchronizing cycle.Realize the state synchronized of backup virtual machine and source virtual machine for adopting such scheme any synchronizing cycle.
The Hot Spare of the dummy machine system that Fig. 3 provides for the embodiment of the invention three and the process flow diagram of restoration methods.As shown in Figure 3, the Hot Spare of present embodiment and restoration methods specifically can comprise the steps:
Step 300, system initialization;
Particularly, the system initialization here comprises source virtual machine and all information initializings of backup virtual machine.For example comprise the foundation of the virtual cpu of former virtual machine and backup virtual machine, the internal memory application, virtual external unit is set up.Carry out virtual machine (vm) migration one time, backup virtual machine obtains the state identical with source virtual machine.
Step 301, operation source virtual machine; Interrupt data and I/O data in the end monitor of virtual machine record current period of source;
In the source virtual machine operational process, in preamble period, if current have interruption to take place, source end monitor of virtual machine record interrupt data, and whether inspection kernel state buffer memory is full, if expire, interrupt data transferred to user's attitude.If the not full storage that continues to carry out interrupt data.In detail can be with reference to the record of above-mentioned related embodiment.
In the source virtual machine operational process; In preamble period; If there is the I/O instruction to carry out, the corresponding I/O data of source end monitor of virtual machine record transfer to the interrupt data in the current inner attitude in the interruption buffer area of user's attitude; And write down current existing interrupt number, promptly write down current I/O instruction and be positioned at after which look-at-me.
Interrupt data and I/O data that step 302, source end monitor of virtual machine will be worked as the preamble period record are sent to backup end monitor of virtual machine;
Step 303, backup end monitor of virtual machine receive interrupt data and I/O data;
Backup end monitor of virtual machine receives after interrupt data and the I/O data, can interrupt data and I/O data be sent to respectively in each self-corresponding user's attitude buffer area, in detail can be with reference to the record of the foregoing description.
Beginning recovers in interrupt data that receives and the execution of I/O data at backup end monitor of virtual machine side group below.Particularly, rejuvenation can be with reference to the record of the foregoing description two.
Whether the buffer area that step 304, two of backup end monitor of virtual machine inspections are used for writing down interrupt data has interrupt data;
For the inspection of step 304,, temporarily do not carry out any operation if two buffer areas that are used for writing down interrupt data do not have interrupt data.
If step 305 has the interruption that needs insertion, the sequencing according to the time point that interrupts recovers each look-at-me successively;
After backup end monitor of virtual machine received interrupt data, backup end monitor of virtual machine can be trimmed to the some or all of data of the buffer area of the user's attitude that is used for depositing interrupt data in the buffer area of kernel state.Backup end monitor of virtual machine recovers to interrupt carrying out, and the interruption that whether need recover in the buffer area of inspection kernel state earlier if having, is inserted look-at-me according to interrupt data.
Step 306, recover in each look-at-me process; Whether the buffer area that the inspection of backup end monitor of virtual machine is used for writing down the I/O data has interrupt data, if having, according to the content of I/O data; The implementation of playback I/O request is to realize the state synchronized of backup virtual machine and source virtual machine.
In the step 306, do not have interrupt data if the inspection of backup end monitor of virtual machine is used for writing down the buffer area of I/O data, then not all right any operation finishes.
Particularly, in the I/O data, can ask the position in the look-at-me sequence by this I/O of record, for example can comprise in the I/O data which look-at-me this I/O request front has.Here according to the partial ordering relation of I/O request in the I/O data, recover the execution result information of this I/O request, to simulate the sexual state of holding of virtual external unit.The final state synchronized that realizes backup virtual machine and source virtual machine.
Interrupt data in the present embodiment is all identical with above-mentioned related embodiment with the I/O data, can repeat no more at this with reference to the record of above-mentioned related embodiment in detail.
Present embodiment is to realize the state synchronized of backup virtual machine and former virtual machine in the synchronizing cycle.In like manner, for other any synchronizing cycles, can adopt the method realization backup virtual machine of present embodiment and the state synchronized of former virtual machine.
The Hot Spare of present embodiment virtual machine and restoration methods are through recording interrupt data and I/O data in synchronizing cycle in source end monitor of virtual machine sidelights; And to backing up interrupt data and the I/O data that the end monitor of virtual machine sends record.And backing up end monitor of virtual machine side group, thereby realize the state synchronized of source virtual machine and backup virtual machine in the interrupt data that receives and I/O data recovery interrupt signal and I/O instruction.Adopt the technical scheme of present embodiment, end monitor of virtual machine side need not made independent log record to the external hardware of each simulation in the source; Recording process is simple, writing speed is fast.Also need not distinguish the processing procedure of simulating each external hardware again in backup end monitor of virtual machine side, it is simple to recover processing procedure, can reduce release time effectively, and reduce the occupancy of central processing unit in the rejuvenation.Therefore, adopt the technical scheme of present embodiment, backup and the efficient of recovering are higher.
The method of the above embodiment of the present invention is the method for in the end monitor of virtual machine of source, the state of source virtual machine being carried out Hot Spare; And the method for in backup end monitor of virtual machine, the state of backup virtual machine being recovered, so that the state synchronized of backup virtual machine and source virtual machine.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be accomplished through the relevant hardware of programmed instruction; Aforesaid program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, magnetic disc or CD.
The structural representation of the source end monitor of virtual machine equipment that Fig. 4 provides for the embodiment of the invention four.As shown in Figure 4, the source end monitor of virtual machine equipment of present embodiment can comprise: interruption processing module 10, I/O processing module 11 and synchronous processing module 12.
Wherein interruption processing module 10 is used for writing down synchronizing cycle, comes from the interrupt data of each outside look-at-me of source virtual machine, this interrupt data comprise interrupt sign and break period point; Put this break period and be the position of look-at-me in the instruction stream of source virtual machine.I/O processing module 11 is used for writing down synchronizing cycle, and virtual external unit is asked the positional information in the look-at-me sequence according to the execution result information of each I/O request that CPU sends with each I/O; This look-at-me sequence is the sequence that each look-at-me in synchronizing cycle is formed according to the series arrangement of putting each self-corresponding break period.Synchronous processing module 12 is used for sending Backup Data to backup virtual machine, realizes backup virtual machine and source virtual machine state synchronized for backup end monitor of virtual machine according to Backup Data.Each interrupt data in the synchronizing cycle that the interruption processing module 10 that comprises this Backup Data writes down, and the corresponding execution result information of each I/O request of I/O processing module 11 records is asked the positional information in the look-at-me sequence with each I/O.That is to say that synchronous processing module 12 is connected with I/O processing module 11 with interruption processing module 10 respectively.Synchronous processing module 12 is used for sending each interrupt data synchronizing cycle comprise interruption processing module 10 records to backup virtual machine asks the Backup Data of the positional information in the look-at-me sequence with the corresponding execution result information of each I/O request of I/O processing module 11 records and each I/O, for backup virtual machine according to Backup Data realization backup virtual machine and source virtual machine state synchronized.
The source end monitor of virtual machine equipment of present embodiment realizes that through above-mentioned module the realization mechanism that the Hot Spare of Backup Data is handled is identical with the realization mechanism of above-mentioned correlation technique embodiment, can repeat no more at this with reference to the record of above-mentioned related embodiment in detail.
The source end monitor of virtual machine equipment of present embodiment; Realize the interrupt data of record each interrupt signal in synchronizing cycle through above-mentioned module, and the execution result information and the positional information of each I/O request in the interrupt signal sequence of each I/O request of sending based on central processing unit; And, carry out synchronously for backup virtual machine to all information that backup end monitor of virtual machine sends record.Adopt the technical scheme of present embodiment, need not make independent log record the external hardware of each simulation in the source virtual machine side; Simply, therefore recording process adopts the technical scheme of present embodiment, and Hot Spare efficient is higher.
Need to prove that the interruption processing module 10 in the foregoing description specifically is used for the interrupt data in buffer area record each look-at-me in synchronizing cycle of kernel state.Synchronous processing module 12 specifically is used in the buffer area in interrupt data buffer memory to user's attitude of each look-at-me in synchronizing cycle that the buffer area with kernel state writes down; And send the corresponding execution result information of interrupt data and each I/O request of each look-at-me in the synchronizing cycle of buffer memory in the buffer area comprise user's attitude and the Backup Data of the positional information of each I/O request in the look-at-me sequence to backup virtual machine.
Adopt such scheme to realize that the realization mechanism that the Hot Spare of Backup Data is handled is identical with the realization mechanism of above-mentioned correlation technique embodiment, can repeat no more at this with reference to the record of above-mentioned related embodiment in detail.
Adopt technique scheme, can reduce the overhead that kernel state and the switching of user's attitude bring in the source virtual machine.
The structural representation of the backup end monitor of virtual machine equipment that Fig. 5 provides for the embodiment of the invention five.As shown in Figure 5, the backup end monitor of virtual machine equipment of present embodiment specifically can comprise: synchronous processing module 20, interruption processing module 21 and I/O processing module 22.
Synchronous processing module 20 is used for the Backup Data that the reception sources virtual machine sends, and this Backup Data comprises each interrupt data in synchronizing cycle, and the corresponding execution result information and the positional information of each I/O request in the look-at-me sequence of each I/O request; This interrupt data comprises interrupts sign and some break period, and this, point was the position of look-at-me in the instruction stream of source virtual machine break period; This look-at-me sequence is the sequence that each look-at-me is formed according to the series arrangement of putting each self-corresponding break period.Interruption processing module 21 is connected with synchronous processing module 20, the interruption sign of each interrupt signal that interruption processing module 21 is used for receiving based on synchronous processing module 20 and break period point, carry out each interrupt signal successively.I/O processing module 22 is connected with interruption processing module 21 with synchronous processing module 20 respectively; Each I/O request that I/O processing module 22 is used for receiving according to synchronous processing module 20 is in the positional information of look-at-me sequence; Carry out in the operating process of each look-at-me in interruption processing module 21; According to the corresponding execution result information of I/O request, carry out the operation that the virtual external-device response I/O request of simulation is done, to realize the state synchronized of backup virtual machine and source virtual machine.
The backup end monitor of virtual machine equipment of present embodiment realizes that through above-mentioned module the realization mechanism that the recovery of Backup Data is handled is identical with the realization mechanism of above-mentioned correlation technique embodiment, can repeat no more at this with reference to the record of above-mentioned related embodiment in detail.
The backup end monitor of virtual machine equipment of present embodiment; Realize the Backup Data that reception sources end monitor of virtual machine side is sent through above-mentioned module; And backing up end monitor of virtual machine lateral root according to synchronous each look-at-me of interrupt data; And according to the positional information of each I/O request in the look-at-me sequence, the execution result information of each I/O request synchronously.Adopt the technical scheme of present embodiment; Need not distinguish the processing procedure of simulating each external hardware again in backup end monitor of virtual machine side yet; The recovery processing procedure is simple, can reduce release time effectively, and has reduced the occupancy of central processing unit in the rejuvenation.Therefore, adopt the technical scheme of present embodiment, the efficient of recovery is higher.
The structural representation of the monitor of virtual machine system that Fig. 6 provides for the embodiment of the invention six.As shown in Figure 6, the monitor of virtual machine system of present embodiment specifically can comprise source end monitor of virtual machine equipment 30 and backup end monitor of virtual machine equipment 40.
Source end monitor of virtual machine equipment 30 is connected with backup end monitor of virtual machine equipment 40.Both provide service to the dummy machine system outside together.When source end monitor of virtual machine equipment 30 and backup end monitor of virtual machine equipment 40 both one of when breaking down, another one provides service to the external world.
Source end monitor of virtual machine equipment 30 is used for writing down synchronizing cycle, come from the interrupt data of each outside look-at-me of source virtual machine, this interrupt data comprise interrupt sign and break period point; Put this break period and be the position of look-at-me in the instruction stream of source virtual machine; And write down in synchronizing cycle, virtual external unit is asked the positional information in the look-at-me sequence according to the execution result information of each I/O request that CPU sends with each I/O; This look-at-me sequence is the sequence that each look-at-me is formed according to the series arrangement of putting each self-corresponding break period.Send Backup Data to backup end monitor of virtual machine equipment 40 then, this Backup Data comprises each interrupt data in synchronizing cycle, and the corresponding execution result information and the positional information of each I/O request in the look-at-me sequence of each I/O request.
Backup end monitor of virtual machine equipment 40 is used for the Backup Data that reception sources end monitor of virtual machine equipment 30 sends, based on the interruption sign of each interrupt signal and break period point, carry out each interrupt signal successively; Based on the positional information of each I/O request in the interrupt signal sequence in the Backup Data; In the operating process of carrying out each interrupt signal; According to the corresponding execution result information of I/O request in the Backup Data; Carry out the operation that the virtual external-device response I/O request of simulation is done, to realize the state synchronized of backup virtual machine and source virtual machine.
Source end monitor of virtual machine equipment 30 in the dummy machine system of present embodiment can adopt above-mentioned source end monitor of virtual machine equipment embodiment illustrated in fig. 4.Backup end monitor of virtual machine equipment 40 in the dummy machine system of present embodiment can adopt above-mentioned backup end monitor of virtual machine equipment embodiment illustrated in fig. 5.Specifically can adopt the record of above-mentioned correlation technique embodiment, be implemented in Hot Spare and recovery in the dummy machine system, can repeat no more at this with reference to the record of above-mentioned related embodiment in detail.
The dummy machine system of present embodiment; Through interrupt data in source end monitor of virtual machine equipment side record each interrupt signal in synchronizing cycle, and the execution result information and the positional information of each I/O request in the interrupt signal sequence of each I/O request of sending based on central processing unit; And to backing up all information that end monitor of virtual machine equipment sends record.And backing up end monitor of virtual machine equipment side according to synchronous each look-at-me of interrupt data; And according to the positional information of each I/O request in the look-at-me sequence; The execution result information of synchronous each I/O request is to realize the state synchronized of backup virtual machine and source virtual machine.Adopt the technical scheme of present embodiment, end monitor of virtual machine equipment side need not made independent log record to the external hardware of each simulation in the source; Recording process is simple, writing speed is fast.Also need not distinguish the processing procedure of simulating each external hardware again at backup end monitor of virtual machine equipment side, it is simple to recover processing procedure, can reduce release time effectively, and reduce the occupancy of central processing unit in the rejuvenation.Therefore, adopt the technical scheme of present embodiment, backup and the efficient of recovering are higher.
Device embodiment described above only is schematic; Wherein the unit as the separating component explanation can or can not be physically to separate also; The parts that show as the unit can be or can not be physical locations also; Promptly can be positioned at a place, perhaps also can be distributed at least two NEs.Can select wherein some or all of module to realize the purpose of present embodiment scheme according to the actual needs.Those of ordinary skills promptly can understand and implement under the situation of not paying performing creative labour.
What should explain at last is: above embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although with reference to previous embodiment the present invention has been carried out detailed explanation, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the spirit and the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.

Claims (10)

1. the heat backup method of a virtual machine is applied to it is characterized in that in the end monitor of virtual machine of source, comprising:
Record in synchronizing cycle, come from the interrupt data of each outside look-at-me of source virtual machine, said interrupt data comprise interrupt sign and break period point; Put said break period and be the position of said look-at-me in the instruction stream of said source virtual machine;
Write down in said synchronizing cycle the execution result information of each I/O request that virtual external unit sends according to central processing unit and the positional information of each said I/O request in the look-at-me sequence; Said look-at-me sequence is the sequence that each said look-at-me is formed according to the series arrangement of putting each self-corresponding break period;
Send Backup Data to backup end monitor of virtual machine, realize backup virtual machine and said source virtual machine state synchronized according to said Backup Data for said backup end monitor of virtual machine; Said Backup Data comprises each said interrupt data in said synchronizing cycle, and the corresponding execution result information and the positional information of each said I/O request in the look-at-me sequence of each said I/O request.
2. the heat backup method of virtual machine according to claim 1; It is characterized in that, said break period point according to virtual central processing unit be used for write down next bar assembly instruction at the order register of the address of internal memory, be used for writing down the register of assembly instruction round-robin residue degree and be used to write down that the performance counter of execution number of times of jump instruction is unique confirms.
3. the heat backup method of virtual machine according to claim 1; It is characterized in that; The said step that writes down in synchronizing cycle, comes from the interrupt data of each outside look-at-me of source virtual machine is specially: the interrupt data of record each said look-at-me in said synchronizing cycle in the buffer area of kernel state.
4. the heat backup method of virtual machine according to claim 3 is characterized in that, said step of sending Backup Data to backup end monitor of virtual machine is specially:
In the buffer area in the said synchronizing cycle of writing down in the buffer area with said kernel state in the interrupt data buffer memory of each said look-at-me to user's attitude;
Send the corresponding execution result information of interrupt data and each said I/O request of each the said look-at-me in the said synchronizing cycle of buffer memory in the buffer area that comprises said user's attitude and the said Backup Data of the positional information of each said I/O request in said look-at-me sequence to said backup end monitor of virtual machine.
5. the restoration methods of a virtual machine is applied to it is characterized in that in the backup end monitor of virtual machine, comprising:
The Backup Data that reception sources end monitor of virtual machine sends, said Backup Data comprises each interrupt data in synchronizing cycle, and the corresponding execution result information and the positional information of each said I/O request in the look-at-me sequence of each I/O request; Said interrupt data comprises interrupts sign and some break period, and said break period, point was the position of said look-at-me in the instruction stream of source virtual machine; Said look-at-me sequence is the sequence that each said look-at-me is formed according to the series arrangement of putting each self-corresponding break period;
According to the interruption of each said look-at-me sign and said break period point, carry out each said look-at-me successively;
According to the positional information of each said I/O request in the look-at-me sequence; In the operating process of carrying out each said look-at-me; According to the corresponding execution result information of said I/O request; Carry out the operation that the said I/O request of the virtual external-device response of simulation is done, to realize the state synchronized of backup virtual machine and said source virtual machine.
6. the restoration methods of virtual machine according to claim 5; It is characterized in that, said break period point according to virtual central processing unit be used for write down next bar assembly instruction at the order register of the address of internal memory, be used for writing down the register of assembly instruction round-robin residue degree and be used to write down that the performance counter of execution number of times of jump instruction is unique confirms.
7. a provenance end monitor of virtual machine equipment is characterized in that, comprising:
Interruption processing module is used for writing down synchronizing cycle, comes from the interrupt data of each outside look-at-me of source virtual machine, said interrupt data comprise interrupt sign and break period point; Put said break period and be the position of said look-at-me in the instruction stream of said source virtual machine;
The I/O processing module is used for writing down said synchronizing cycle, the execution result information of each I/O request that virtual external unit sends according to central processing unit and the positional information of each said I/O request in the look-at-me sequence; Said look-at-me sequence is the sequence that each said look-at-me is formed according to the series arrangement of putting each self-corresponding break period;
Synchronous processing module is used for sending Backup Data to backup end monitor of virtual machine, realizes backup virtual machine and said source virtual machine state synchronized for said backup end monitor of virtual machine according to said Backup Data; Said Backup Data comprises each said interrupt data in said synchronizing cycle, and the corresponding execution result information and the positional information of each said I/O request in the look-at-me sequence of each said I/O request.
8. source according to claim 7 end monitor of virtual machine equipment is characterized in that, also comprises:
Said interruption processing module specifically is used for the interrupt data in buffer area record each said look-at-me in said synchronizing cycle of kernel state;
Said synchronous processing module specifically is used in the buffer area in interrupt data buffer memory to user's attitude of each said look-at-me in said synchronizing cycle that the buffer area with said kernel state writes down; Send the corresponding execution result information of interrupt data and each said I/O request of each the said look-at-me in the said synchronizing cycle of buffer memory in the buffer area that comprises said user's attitude and the said Backup Data of the positional information of each said I/O request in said look-at-me sequence to said backup end monitor of virtual machine.
9. a backup end monitor of virtual machine equipment is characterized in that, comprising:
Synchronous processing module; Be used for the Backup Data that reception sources end monitor of virtual machine sends; Said Backup Data comprises each interrupt data in synchronizing cycle, and the corresponding execution result information and the positional information of each said I/O request in the look-at-me sequence of each I/O request; Said interrupt data comprises interrupts sign and some break period, and said break period, point was the position of said look-at-me in the instruction stream of source virtual machine; Said look-at-me sequence is the sequence that each said look-at-me is formed according to the series arrangement of putting each self-corresponding break period;
Interruption processing module, be used for based on the interruption of each said interrupt signal sign and said break period point, carry out each said interrupt signal successively;
The I/O processing module; Be used for according to the positional information of each said I/O request in the look-at-me sequence; In the operating process of carrying out each said look-at-me; According to the corresponding execution result information of said I/O request, carry out the operation that the said I/O request of the virtual external-device response of simulation is done, to realize the state synchronized of backup virtual machine and said source virtual machine.
10. a monitor of virtual machine system is characterized in that, comprises source end monitor of virtual machine equipment and backup end monitor of virtual machine equipment;
Said source end monitor of virtual machine equipment is used for writing down synchronizing cycle, comes from the interrupt data of each outside look-at-me of source virtual machine, said interrupt data comprise interrupt sign and break period point; Put said break period and be the position of said look-at-me in the instruction stream of said source virtual machine; Write down in said synchronizing cycle the execution result information of each I/O request that virtual external unit sends according to central processing unit and the positional information of each said I/O request in the look-at-me sequence; Said look-at-me sequence is the sequence that each said look-at-me is formed according to the series arrangement of putting each self-corresponding break period; Send Backup Data to said backup end monitor of virtual machine equipment; Said Backup Data comprises each said interrupt data in said synchronizing cycle, and the corresponding execution result information and the positional information of each said I/O request in the look-at-me sequence of each said I/O request;
Said backup end monitor of virtual machine equipment is used to receive the said Backup Data that said source end monitor of virtual machine equipment sends; According to the interruption of each said look-at-me sign and said break period point, carry out each said look-at-me successively; And according to the positional information of each said I/O request in said look-at-me sequence in the said Backup Data; In the operating process of carrying out each said look-at-me; According to the corresponding execution result information of I/O request described in the said Backup Data; Carry out the operation that the said I/O request of the virtual external-device response of simulation is done, to realize the state synchronized of backup virtual machine and said source virtual machine.
CN201010592164XA 2010-12-08 2010-12-08 Hot backup and restoration method, equipment and system for virtual machine Expired - Fee Related CN102073556B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010592164XA CN102073556B (en) 2010-12-08 2010-12-08 Hot backup and restoration method, equipment and system for virtual machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010592164XA CN102073556B (en) 2010-12-08 2010-12-08 Hot backup and restoration method, equipment and system for virtual machine

Publications (2)

Publication Number Publication Date
CN102073556A CN102073556A (en) 2011-05-25
CN102073556B true CN102073556B (en) 2012-11-28

Family

ID=44032102

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010592164XA Expired - Fee Related CN102073556B (en) 2010-12-08 2010-12-08 Hot backup and restoration method, equipment and system for virtual machine

Country Status (1)

Country Link
CN (1) CN102073556B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103107905B (en) * 2011-11-14 2017-08-04 华为技术有限公司 Abnormality eliminating method, device and client
CN103036947B (en) * 2012-11-21 2015-05-20 北京航空航天大学 Virtual machine transferring method based on kernel-based virtual machine (KVM) and virtual machine transferring method based on KVM
US8910162B2 (en) * 2012-11-30 2014-12-09 International Business Machines Corporation User datagram protocol (UDP) packet migration in a virtual machine (VM) migration
CN103412800B (en) * 2013-08-05 2016-12-28 华为技术有限公司 A kind of virtual machine warm backup method and equipment
CN104104730B (en) * 2014-07-25 2017-03-29 重庆广播电视大学 Cloud system virtual machine task back-up device, system and method towards high reliability
CN104331318B (en) * 2014-10-27 2018-04-06 上海斐讯数据通信技术有限公司 A kind of Embedded Double system and its method of work
CN106020932B (en) * 2015-05-21 2019-04-02 中国科学院计算技术研究所 A kind of safety protecting method and system for KVM virtual machine system
CN105159798A (en) * 2015-08-28 2015-12-16 浪潮集团有限公司 Dual-machine hot-standby method for virtual machines, dual-machine hot-standby management server and system
CN105607962B (en) * 2015-10-22 2019-03-19 华为技术有限公司 A kind of method and apparatus of virtual machine backup
CN106020926B (en) 2016-04-29 2019-10-25 华为技术有限公司 A kind of method and device transmitted for data in virtual switch technology
CN108021378A (en) * 2016-11-03 2018-05-11 阿里巴巴集团控股有限公司 Upgrade-system, the upgrade method based on virtual machine and device
CN106850308A (en) * 2017-02-27 2017-06-13 湘电风能有限公司 A kind of dual-machine hot backup system
CN107171870A (en) * 2017-07-17 2017-09-15 郑州云海信息技术有限公司 A kind of two-node cluster hot backup method and device
CN109445909A (en) * 2018-10-31 2019-03-08 深信服科技股份有限公司 Backup method, system, terminal and the storage medium of virtual-machine data

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7257257B2 (en) * 2003-08-19 2007-08-14 Intel Corporation Method and apparatus for differential, bandwidth-efficient and storage-efficient backups
US7840963B2 (en) * 2004-10-15 2010-11-23 Microsoft Corporation Marking and utilizing portions of memory state information during a switch between virtual machines to minimize software service interruption
CN101383688B (en) * 2007-09-06 2013-12-04 艾优克服务有限公司 Data communication device and method for keeping high availability of data communication device
CN101727331B (en) * 2008-10-24 2013-03-20 国际商业机器公司 Method and equipment for upgrading client operating system of active virtual machine
CN101604256A (en) * 2009-06-29 2009-12-16 北京航空航天大学 The reliable execution method of virtualization software and node management device

Also Published As

Publication number Publication date
CN102073556A (en) 2011-05-25

Similar Documents

Publication Publication Date Title
CN102073556B (en) Hot backup and restoration method, equipment and system for virtual machine
US5720027A (en) Redundant disc computer having targeted data broadcast
US7840839B2 (en) Storage handling for fault tolerance in virtual machines
CN103562878B (en) Memory check point in mirror image dummy machine system is set
CN106716380A (en) Snapshot and replication of a multi-stream application on multiple hosts at near-sync frequency
JPH04213736A (en) Check point mechanism for fault tolerant system
CN102053857A (en) Apparatus for managing a running virtual machine and switching method thereof
JP2002041368A (en) Method and device for processing data to access independently of duplicated data
CN102597958A (en) Symmetric live migration of virtual machines
US10402264B2 (en) Packet-aware fault-tolerance method and system of virtual machines applied to cloud service, computer readable record medium and computer program product
CN101815986A (en) Splitting writes between a storage controller and replication engine
US20200034284A1 (en) Automatic bug reproduction using replication and cpu lockstep
WO2017014814A1 (en) Replicating memory volumes
CN103036947B (en) Virtual machine transferring method based on kernel-based virtual machine (KVM) and virtual machine transferring method based on KVM
US6594735B1 (en) High availability computing system
EP1380950B1 (en) Fault tolerant information processing apparatus
US6385674B1 (en) Systems and methods for dynamic alignment of associated portions of a code word from a plurality of asynchronous sources
CN111158955A (en) High-availability system based on volume replication and multi-server data synchronization method
JP2009080705A (en) Virtual machine system and method for restoring virtual machine in the system
US8095828B1 (en) Using a data storage system for cluster I/O failure determination
CN109542829A (en) The control method of GPU equipment, device and electronic equipment in multisystem
CN105607968A (en) Incremental backup method and equipment
CA2409922A1 (en) Controller fail-over without device bring-up
CN104170307A (en) Failure switching method, device and system
CN114546604B (en) Thermal migration method and device for virtual machine

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121128

Termination date: 20181208