CN101609419A - The data back up method and the device of the migration of virtual machine consistently online - Google Patents

The data back up method and the device of the migration of virtual machine consistently online Download PDF

Info

Publication number
CN101609419A
CN101609419A CNA2009100880161A CN200910088016A CN101609419A CN 101609419 A CN101609419 A CN 101609419A CN A2009100880161 A CNA2009100880161 A CN A2009100880161A CN 200910088016 A CN200910088016 A CN 200910088016A CN 101609419 A CN101609419 A CN 101609419A
Authority
CN
China
Prior art keywords
host
image file
data block
disk image
state
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.)
Granted
Application number
CNA2009100880161A
Other languages
Chinese (zh)
Other versions
CN101609419B (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 CN2009100880161A priority Critical patent/CN101609419B/en
Publication of CN101609419A publication Critical patent/CN101609419A/en
Application granted granted Critical
Publication of CN101609419B publication Critical patent/CN101609419B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a kind of data back up method and device of virtual machine consistently online migration, this method comprises: the operation according to the host virtual machine example is upgraded operation to virutal machine memory data on the main host and the data block in the virtual disk image file in the network memory, and the virutal machine memory data after will upgrading send to the backup host; Operation suspension host virtual machine example, lock by the state of lock operation, obtain the lightweight snapshot of virtual disk image file data block in the virtual disk image file, and the host virtual machine example that resumes operation, wherein, the virtual disk image file is used to back up host and carries out rolling back action.By above-mentioned processing, only need take few storage space according to the lightweight snapshot of the embodiment of the invention, the technical scheme of the embodiment of the invention does not need to transmit lot of data in addition, can create the lightweight snapshot fast, improves the performance of virtual machine.

Description

The data back up method and the device of the migration of virtual machine consistently online
Technical field
The present invention relates to the online migrating technology of virtual machine field, relate in particular to a kind of data back up method of virtual machine consistently online migration, main host, backup host and virtual machine consistently online migratory system.
Background technology
In the prior art, virtual machine is to make up a virtualization layer on computer operating system, can provide good encapsulation, isolation, the transparency and manageability for application program.The migration of virtual machine is meant that operating operation system example can shift between different physical hosts, and in transition process operating system and on the application of operation can continuous service with service and be not interrupted.Operating personnel need not the details of numerous application programs of moving in the relational operation system, are very easy to bookkeeping.At present, virtual machine (vm) migration is divided into two kinds, is respectively general migration and online migration, and wherein, online migration is meant under the prerequisite of the application program operation that encapsulates in the maintenance virtual machine, simultaneously system is moved the hardware platform of switching virtual machine operation.By the online migrate attribute of virtual machine, can reduce of the influence of bottom hardware fault to virtual environment.This makes virtual machine progressively become the important tool that makes up high-availability system.
At present, the high-availability system based on virtual machine technique mainly comprises following several:
(1) consistently online based on diskcopy moves: this mode has further expanded the mode of online migration, consider when fault takes place, the state of virtual machine need be rolled back to a consistance version a little earlier, and network memory (Network Attached Storage; Hereinafter to be referred as: the virtual disk image file NAS) can't be with the internal storage state rollback of virtual machine, and this mode has proposed a kind of lasting migration scheme based on diskcopy.In this scheme, main host and backup host have independently virtual disk image file separately; When virtual machine when the virtual disk image file writes data, the disk driver of virtual machine is when writing data virtual disk image file itself, with data by Network Synchronization be sent to the backup host, and after once online migration is finished, the Disk State increments of change that is produced during with this online migration by the backup host writes the virtual disk image file of backup host, thereby guarantee that when the generation hardware fault caused the virtual machine rollback, the virutal machine memory state on the backup host and the state of virtual disk image file satisfied consistance.But because the virtual disk image file is long-pending bigger, to the having relatively high expectations of the network bandwidth, and the transmission time is longer during transmission.
(2) consistently online based on snapshot (Snapshot) moves: existing snapshot mechanism can be created one or more snapshots in the virtual disk image file of virtual machine.At a time for after the virtual disk image file establishment snapshot, Disk State before this moment (promptly, the state of data block in the virtual disk image file) will be retained, follow-up disk write operation can not cause losing of this moment Disk State before.And the virtual machine disk is returned to a certain snapshot, then expression uses the Disk State of preserving in this historical snapshot to replace existing Disk State, thereby data in magnetic disk is rolled back to the historical juncture of snapshot representative.This scheme has promptly been utilized the snapshot mechanism of virtual disk, after finishing an online migration of virtual machine, for virtual disk is created a snapshot; When main host breaks down when causing backing up host rollback virtual machine state, virtual disk is synchronously rolled back to the state of corresponding snapshot correspondence.Because consistently online migration requires in the time interval of short (several seconds or tens of millisecond) continuously state transition with virtual machine to backup virtual machine, this just requires can create in the short period of time, delete snapshot, and when breaking down, in the time of need on the backup host, starting backup virtual machine, need in the short period of time disk to be reverted to snapshot state a little earlier.Yet, because existing snapping technique is owing to need to follow the tracks of the number of times of quoting of each block, the time of therefore establishment, deletion and recovery snapshot is longer, and, creating fast note constantly causes the volume of virtual disk image file to continue increase, for the long playing computer system of needs, its space expense is difficult to meet the demands.
(3) consistently online based on incident moves: in this scheme, if trigger backup in the time of can taking place at accessing operation to virtual machine state to disk, and after finishing, backup carries out accessing operation again to disk, then can guarantee when virtual machine breaks down rollback, identical disk operating meeting playback in an identical manner, and obtain consistent result, thereby solve the consistency problem in the consistently online transition process.The problem of this scheme is the accessing operation of disk very frequent, and therefore, this mode can trigger the backup operation of virtual machine with higher frequency, and causes virtual machine to interrupt to be backed up finishing such as normal execution, and is therefore bigger to the virtual machine Effect on Performance.
As mentioned above, the consistently online migrating technology is to utilize virtual machine to make up one of core technology of high-availability system, and guarantees virtual machine to break down and after the rollback, the consistance of virtual machine disk and internal storage state then is the basis of realizing that consistently online moves.At present, keep the conforming technology of virtual machine Disk State not perfect, still have problems: 1, need the virtual disk data of transmission of large capacity based on the consistently online migration mechanism of diskcopy, bigger to network bandwidth influence, and transmission speed is slower; 2, need consume a large amount of time and storage space when establishment, deletion, the rollback disk snapshot based on the consistently online migration mechanism of snapshot; 3, the consistently online migration mechanism based on incident can block the visit of virtual machine to disk unit, and is bigger to the performance impact of virtual machine.
Summary of the invention
The embodiment of the invention provides a kind of data back up method and device of virtual machine consistently online migration, in order to solve the defective that disk snapshot in the prior art need take a large amount of storage spaces, be implemented in and use the lightweight snapshot that takies less storage space in the virtual machine consistently online transition process.
The embodiment of the invention provides a kind of data back up method of virtual machine consistently online migration, comprise: the operation according to the host virtual machine example is upgraded operation to virutal machine memory data on the main host and the data block in the virtual disk image file in the network memory, and the virutal machine memory data after will upgrading send to the backup host; Operation suspension host virtual machine example, lock by the state of lock operation, obtain the lightweight snapshot of virtual disk image file data block in the virtual disk image file, and the host virtual machine example that resumes operation, wherein, the virtual disk image file is used to back up host and carries out rolling back action.
The embodiment of the invention provides a kind of main host, comprising: update module is used for according to the operation of host virtual machine example the data block in the virtual disk image file of virutal machine memory data and network memory being upgraded operation; Sending module is used for the virutal machine memory data after upgrading are sent to the backup host; Locking module, be used for operation suspension host virtual machine example, lock by the state of lock operation data block in the virtual disk image file, obtain the lightweight snapshot of virtual disk image file, and the host virtual machine example that resumes operation, wherein, the virtual disk image file is used to back up host and carries out rolling back action.
The embodiment of the invention provides a kind of backup host, comprising: preserve module, be used to preserve the virutal machine memory data that main host sends; Roll-back module is used under the situation that the host virtual machine example can not continue to move, and by rolling back action the virtual disk image file is returned to and preserves the state of the virutal machine memory data consistent of module preservation according to the lightweight snapshot; The operation module is used for according to virtual disk image file after the rollback and virutal machine memory data run backup virtual machine example.
The embodiment of the invention provides a kind of virtual machine consistently online migratory system, comprises main host in network memory, the foregoing description and the backup host in the foregoing description.
The data back up method and the device of the virtual machine consistently online migration of the embodiment of the invention, state by data block in the lock operation locking virtual disk image file, obtain the lightweight snapshot of virtual disk image file, because this lightweight snapshot only need take very little storage space, can avoid the waste of storage space, in addition, according to the technical scheme of the embodiment of the invention a large amount of virtual disk image file data of needs transmission not, and can create the lightweight snapshot fast, greatly improve the performance of virtual machine.
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, apparently, 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, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the process flow diagram of data back up method of the virtual machine consistently online migration of the embodiment of the invention;
Fig. 2 is the structural representation that the virtual disk of the embodiment of the invention is asked image file;
Fig. 3 is the synoptic diagram of the state exchange of the embodiment of the invention;
Fig. 4 is two signaling process figure that confirm operation of the embodiment of the invention;
Fig. 5 is the process flow diagram that the main host of the embodiment of the invention carries out the detailed process of consistently online migration;
Fig. 6 is the process flow diagram that the backup host of the embodiment of the invention carries out the detailed process of consistently online migration;
Fig. 7 is the structural representation of the main host of the embodiment of the invention;
Fig. 8 is the structural representation of the backup host of the embodiment of the invention;
Fig. 9 is the structural representation of the virtual machine consistently online migratory system of the embodiment of the invention.
Embodiment
Further specify the technical scheme of the embodiment of the invention below in conjunction with the drawings and specific embodiments.
According to embodiments of the invention, a kind of data back up method of virtual machine consistently online migration is provided, Fig. 1 is the process flow diagram of data back up method of the virtual machine consistently online migration of the embodiment of the invention, as shown in Figure 1, the data back up method according to the migration of the virtual machine consistently online of the embodiment of the invention may further comprise the steps:
Step 101 according to the operation of host virtual machine example virutal machine memory data on the main host and the data block in the virtual disk image file in the network memory are upgraded operation, and the virutal machine memory data after will upgrading sends to the backup host;
Particularly, in the process of host virtual machine example operation, main host can upgrade operation to the data block of virutal machine memory data in the main host internal memory and the virtual disk image file in the network memory according to the operation of host virtual machine example; For fear of when unexpected hardware fault takes place, virtual machine can not be moved to non-fault machine in time and be continued operation, host virtual machine can be initiated online migration to the backup host constantly, for example, host virtual machine is initiated once online migration every the schedule time to the backup host, after initiating online migration, virutal machine memory data after upgrading are sent to the backup host, to guarantee that virtual machine can be in the process of operation, running status with self is saved in the backup host continuously, makes the backup host preserve virtual machine state a little earlier.
Need to prove that in the virtual disk image file, the data of disk are unit composition data piece with specific size; Virtual machine can be reduced to visit to the data block that comprises this address date to the visit of the data that comprise in a certain physical address of disk.In addition, include the mapping table of numbering virtual disk image file offset address by data block in the virtual disk image file.In embodiments of the present invention, as shown in Figure 2, in the virtual disk image file except preserving metadata and data block, the lightweight snapshot can also be preserved two mapping tables in the virtual disk image file: current mapping table and snapshot mapping table, wherein, current mapping table is used to identify disk under current state and snapshot state, the position of data block in the virtual disk image file; The snapshot mapping table is used to identify disk under snapshot state, the position of data block in the virtual disk image file.
In embodiments of the present invention, also define the state of data block, comprised following four kinds of states:
Unallocated state: be not the data block allocations storage space as yet in the virtual disk image file;
Distributed read-write state: be data block memory allocated space in the virtual disk image file, and allowed this data block is carried out read-write operation;
Distributed a read states: be data block memory allocated space in the virtual disk image file, but forbidden writing data to this storage space;
Distributed state to be recycled; Be data block memory allocated space in the virtual disk image file, but this data block is updated, when creating the lightweight snapshot, this data block will be recovered next time.
In the lightweight snapshot, any one data block can only be in the wherein a kind of state in above-mentioned four kinds of states.For the data block that is in unallocated state, can in current mapping table, use and corresponding virtual disk image file offset address is designated unappropriated mode the state of data block is identified, for example, with corresponding virtual disk image file offset address sign " 0 "; For being in the data block of distributing read-write state, having distributed a read states or having distributed state to be recycled, can use bitmap that the state of this data block is identified.
In step 101, the renewal operation that the data block in the right virtual disk image file of main host is carried out specifically comprises:
1, read operation: according to data block numbering read block data;
2, write operation: write data to given data block numbering;
3, batch operation: according to data block numbering distribute data piece in the virtual disk image file;
4, releasing operation: discharge given data block occupation space in the virtual disk image file.
Particularly, when carrying out read operation, need to carry out following the processing: 1, the data block of data block is numbered and be mapped as virtual disk image file offset address according to current mapping table; 2, be at the state of determining this data block and distribute read-write state, distribute a read states or distributed under the situation of state to be recycled, read the data block of designated length and return according to virtual disk image file offset address; 3, be under the situation of unallocated state at the specified data bulk state, do not operate, directly return.
When carrying out write operation, need to carry out following the processing: 1, the data block of data block is numbered and be mapped as virtual disk image file offset address according to current mapping table; 2, be under the situation of unallocated state at the state of determining this data block, carry out batch operation, write data according to virtual disk image file offset address then and return; 3, be under the situation of distributing read-write state at the state of determining this data block, directly write data and return according to virtual disk image file offset address; 4, be under the situation of distributing a read states at the state of determining this data block, new data block is carried out batch operation, with the status modifier of former data block for distributing state to be recycled, 5, the virtual disk image file offset address that distributes according to batch operation writes data and return.
As above, when carrying out write operation, might need to carry out batch operation, carrying out batch operation needs following the processing: determine that 1, minimum unallocated continuation address is an address space to be allocated; 2, with the status modifier of the data block in the address space to be allocated for distributing read-write state; 3, obtain the virtual disk image file offset address of address space to be allocated; 4, use the virtual disk image file offset address of address space to be allocated to upgrade current mapping table; 5, the virtual disk image file offset address that returns address space to be allocated is given write operation.
When carrying out releasing operation, need to carry out following the processing: it is unallocated 1, will needing the status modifier of the data block that discharges; 2, the station location marker of data block in current mapping table that will need to discharge is unallocated, and for example, the station location marker of data block in current mapping table that needs are discharged is " 0 ".
As from the foregoing, in step 101, main host also can upgrade the current mapping table of data block numbering under the preservation current state with virtual disk image file offset address corresponding relation when the data block in the virtual disk image file in the network memory being upgraded operation synchronously.
Step 102, operation suspension host virtual machine example, lock by the state of lock operation data block in the virtual disk image file, obtain the lightweight snapshot of virtual disk image file, and the host virtual machine example that resumes operation, wherein, the virtual disk image file is used to back up host and carries out rolling back action.
Particularly, when the online migration of main host reaches a predetermined critical point, main host needs operation suspension host virtual machine example, lock by the state of lock operation data block in the virtual disk image file, obtain the lightweight snapshot of this virtual disk image file, wherein, above-mentioned virtual disk image file is used to back up host and carries out rolling back action; After obtaining the lightweight snapshot, main host just can recover the operation of host virtual machine example.
State by data block in the lock operation locking virtual disk image file, obtain the lightweight snapshot of virtual disk image file, because this lightweight snapshot only need take very little storage space, can avoid the waste of storage space, in addition, according to the technical scheme of the embodiment of the invention a large amount of virtual disk image file data of needs transmission not, and can create the lightweight snapshot fast, greatly improve the performance of virtual machine.
As mentioned above, lock operation can be created the lightweight snapshot for the virtual disk image file, when carrying out lock operation, comprise following processing: 1, for being in the data block of distributing read-write state in the current mapping table, with the status modifier of this data block for distributing a read states; 2, for being in the data block of distributing state to be recycled in the current mapping table, this data block is carried out releasing operation; 3, use current mapping table to cover the snapshot mapping table, wherein, above-mentioned snapshot mapping table is used to represent that disk data block under snapshot state is numbered and the corresponding relation of virtual disk image file offset address.
In addition, in step 102, behind the lightweight snapshot that obtains this virtual disk image file, main host can be kept at this lightweight snapshot in the virtual disk image file, also the lightweight snapshot can be kept in the internal memory of main host, if the lightweight snapshot is kept in the internal memory of main host, main host need send to standby host with this lightweight snapshot as the part of virutal machine memory data by network.Because the speed of read/write data is much larger than the speed of read/write data from disk from internal memory, the lightweight snapshot is kept in the internal memory of main host, can reduce read/write operation, thereby shorten the running time, can in the shorter time, carry out online migration disk.
After step 102, under the situation that the host virtual machine example can not continue to move, the backup host returns to the virtual disk image file and back up the state of the virutal machine memory data consistent of host preservation by rolling back action according to this lightweight snapshot; Subsequently, the backup host just can be according to virtual disk image file after the rollback and virutal machine memory data run backup virtual machine example.
Wherein, rolling back action can return to the virtual disk image file state when setting up the lightweight snapshot, when the execution rolling back action comprises, comprise following processing: 1,, this data block is carried out releasing operation for being in the data block of distributing read-write state in the current mapping table; 2, for being in the data block of distributing state to be recycled in the current mapping table, with this data block status modifier for distributing a read states; 3, use the snapshot mapping table to cover current mapping table.
Below, the conversion of each operation to the data bulk state is elaborated.Fig. 3 is the synoptic diagram of the state exchange of the embodiment of the invention, and as shown in Figure 3, if data block is in unallocated state, after the execution batch operation, the state transformation of data block is for distributing read-write state; If the data block of distributing read-write state is conducted the locking operations, the state transformation of this data block is for distributing a read states; If the data block of distributing a read states is carried out write operation, then the state transformation of former data block is for distributing state to be recycled, and the state transformation of new data block is for distributing read-write state; If the data block of distributing state to be recycled is carried out lock operation and releasing operation, the state transformation of this data block is unallocated state; If carry out rolling back action to being in the data block of distributing state to be recycled, then the state exchange of this data block is for distributing a read states; If carry out rolling back action to being in the data of distributing read-write state, the state exchange of this data block is unallocated state.The data block of distributing read-write state is carried out the read/write operation attitude of will remaining stationary; The data block of distributing a read states is carried out the read operation attitude of also will remaining stationary.
Continuing based on virtual machine in the high-availability system of migration, needing to guarantee state consistency between disk internal state consistance and disk and internal memory.Wherein, network memory internal state consistance is meant at any time, be in conforming state between each data block that comprises in the virtual disk image file, thereby make normally data in the reading disk and can not read and write mistake of the operating system of virtual disk driver and virtual machine and application program; State consistency is meant that the data that copy in the virutal machine memory data that virtual machine had and the data block of disk from the virtual disk image file on the backup host are consistent in time between disk and internal memory, that is, the final modification time of the data that copy in final time of revising of virutal machine memory data and the data block of disk from the virtual disk image file is identical.
In embodiments of the present invention, the lightweight snapshot can be realized " lock operation " and " rolling back action " for network memory, when finishing once online migration, can " lock " in the network memory state of data block in the virtual disk image file, guarantee that subsequent write operation can not influence the historic state of data block in the virtual disk image file, the consistance of promptly protecting the disk internal state; When virtual machine breaks down when needing rollback, the state of data block in the virtual disk image file in can " rollback " network memory, abandon and the inconsistent modification of virutal machine memory data, the data block in the virtual disk image file is rolled back to one and the corresponding to version of virutal machine memory data.Can guarantee the consistance of state between disk and internal memory.
In addition, the embodiment of the invention can also further guarantee the consistance of state between disk and internal memory by two affirmation mechanisms.Main host can obtain to back up the affirmation of host to the virutal machine memory data after being saved on the backup host by online migration mechanism the virutal machine memory data; Main host can obtain disk snapshot and confirm after disk is carried out the operation of lightweight snapshot creation.Have only after main host obtains two affirmations, can recover the virtual machine operation, thereby guarantee the consistance of state between disk and internal memory.Fig. 4 is two signaling process figure that confirm operation of the embodiment of the invention, as shown in Figure 4, comprises following processing:
Step 401, main host starts virtual machine;
Step 402, main host is initiated online migration, and sends the virutal machine memory data to the backup host;
Step 403, when online migration arrived a predetermined critical point, main host was finished the transmission of virutal machine memory data, suspends the operation of virtual machine;
Step 404, backup host send Memory Backup to main host to be confirmed, main host receives the Memory Backup that returns and confirms;
Step 405, main host is created the lightweight snapshot;
Step 406, main host receive the lightweight snapshot foundation affirmation that network memory returns;
Step 407, after main host has received Memory Backup affirmation and lightweight snapshot foundation affirmation, the operation that recovers virtual machine.
By above-mentioned processing, can guarantee the consistance of state between disk and internal memory.Those skilled in the art can understand, when realizing the above-mentioned processing procedure of the embodiment of the invention, main host also can receive only Memory Backup and confirm or receive only the lightweight snapshot to set up affirmation, another is confirmed that main host can be given tacit consent to and receives, can reach the conforming purpose that guarantees state between disk and internal memory equally.
Below, from the angle of main host and backup host, processing procedure shown in Figure 1 is carried out complete explanation respectively.Fig. 5 is the process flow diagram that the main host of the embodiment of the invention carries out the detailed process of consistently online migration, as shown in Figure 5, comprises following processing:
Step 501, main host loads the virtual disk image file of host virtual machine example, starts the host virtual machine example;
Step 502, main host is determined suitable backup host according to start-up parameter or predefined strategy;
Step 503, main host is initiated online migration to the backup host;
Step 504 when the online migration of main host arrives predetermined critical point, is suspended the operation of host virtual machine example;
Step 505, the lock operation that main host provides by the lightweight snapshot are that the virtual disk image file of host virtual machine example is created the lightweight snapshot;
Step 506, main host recovers the operation of host virtual machine example;
Step 507, main host judge whether to arrive new backup point; If do not reach new backup point, then do not do any operation, execution in step 503, the operation that keeps the host virtual machine example; If reach new backup point, then turn back to step 503; If break down, then execution in step 508;
Step 508, main host stops the operation of host virtual machine example, and the state of cleaning host virtual machine example.
By above-mentioned processing, main host can be created the lightweight snapshot for the virtual disk image file by the lock operation that the lightweight snapshot provides, and guarantees that subsequent write operation can not influence the historic state of virtual disk image file.
Fig. 6 is the process flow diagram that the backup host of the embodiment of the invention carries out the detailed process of online migration, as shown in Figure 6, comprises following processing:
Step 601, the backup host is according to the request of host virtual machine or the virtual disk image file of predefined strategy loading backup virtual machine;
Step 602, the backup host suspends the operation of the virtual disk image file of backup virtual machine, waits for online migration;
Step 603, the backup host detects the health status of the host virtual machine example on the main host, if the host virtual machine example breaks down, can not normally move, and then execution in step 604; Otherwise, execution in step 602;
Step 604, the backup host loads the virutal machine memory data that the host virtual machine example transmits by online migration pattern;
Step 605, the lightweight snapshot of preserving in the tool loads virtual disk image file that the backup host provides by the lightweight snapshot;
Step 606, the corresponding to state of virutal machine memory data that the rolling back action that the backup host uses the lightweight snapshot to provide rolls back to the virtual disk image file and preserve;
Step 607, the operation that the backup host recovers virtual machine, and operation backup virtual machine example;
Step 608, the backup host moves as main host, and the backup virtual machine example is initiated consistently online migration next time subsequently as the operation of host virtual machine example.
By above-mentioned processing, when virtual machine breaks down rollback, can abandon virtual disk image file and the inconsistent modification of virutal machine memory state by rolling back action, the virtual disk image file is rolled back to one and the corresponding to version of internal storage state, make that virtual machine can be at backup host relaying reforwarding row.
According to another embodiment of the present invention, a kind of main host is provided, Fig. 7 is the structural representation of the main host of the embodiment of the invention, as shown in Figure 7, main host according to the embodiment of the invention comprises: update module 70, sending module 72 and locking module 74, below, the main host according to the embodiment of the invention is described in detail.
Particularly, in the process of host virtual machine example operation, update module 70 is upgraded operation according to the operation of host virtual machine example to the data block in the virtual disk image file in virutal machine memory data and the network memory.
Need to prove that in the virtual disk image file, the data of disk are unit composition data piece with specific size; Virtual machine can be reduced to visit to the data block that comprises this address date to the visit of the data that comprise in a certain physical address of disk.In addition, in embodiments of the present invention, as shown in Figure 2, except preserving metadata and data block, the lightweight snapshot can also be preserved two mapping tables in the virtual disk image file in the virtual disk image file.
In embodiments of the present invention, also defined the state of data block, comprised following four kinds of states: unallocated state, distribute read-write state, distribute a read states, distribute state to be recycled.In the lightweight snapshot, any one data block can only be in the wherein a kind of state in above-mentioned four kinds of states.For the data block that is in unallocated state, can in current mapping table, use and corresponding virtual disk image file offset address is designated unappropriated mode the state of data block is identified, for example, with corresponding virtual disk image file offset address sign " 0 "; For being in the data block of distributing read-write state, having distributed a read states or having distributed state to be recycled, can use bitmap that the state of this data block is identified.
The renewal operation that data block in the virtual disk image file that update module is 70 pairs is carried out specifically comprises: 1, read operation, 2, write operation, 3, batch operation, 4, releasing operation.The concrete processing procedure that update module 70 is carried out aforesaid operations can be understood with reference to the related content in the foregoing description, repeats no more inferior.
In addition, update module 70 also can be upgraded the current mapping table of data block numbering under the preservation current state with virtual disk image file offset address corresponding relation when the data block in the virtual disk image file in the network memory being upgraded operation synchronously.
For fear of when unexpected hardware fault takes place, virtual machine can not be moved to non-fault machine in time and be continued operation, host virtual machine can be initiated online migration to the backup host constantly, for example, host virtual machine is initiated once online migration every the schedule time to the backup host, after initiating online migration, virutal machine memory data after sending module 72 will upgrade send to the backup host, to guarantee that virtual machine can be in the process of operation, running status with self is saved in the backup host continuously, makes the backup host preserve virtual machine state a little earlier.
When the online migration of main host reaches a predetermined critical point, locking module 74 needs operation suspension host virtual machine example, lock by the state of lock operation data block in the virtual disk image file, obtain the lightweight snapshot of this virtual disk image file, wherein, above-mentioned virtual disk image file is used to back up host and carries out rolling back action; After obtaining the lightweight snapshot, recover the operation of host virtual machine example.
As mentioned above, lock operation can be created the lightweight snapshot for the virtual disk image file, when carrying out lock operation, comprise following processing: 1, for being in the data block of distributing read-write state in the current mapping table, with the status modifier of this data block for distributing a read states; 2, for being in the data block of distributing state to be recycled in the current mapping table, this data block is carried out releasing operation; 3, use current mapping table to cover the snapshot mapping table.
After locking module 74 obtains the lightweight snapshot of this virtual disk image file, main host can be kept at this lightweight snapshot in the virtual disk image file, also the lightweight snapshot is kept in the internal memory of main host, if the lightweight snapshot is kept in the internal memory of main host, main host need send to standby host with this lightweight snapshot as the part of virutal machine memory data by network.Because the speed of read/write data is much larger than the speed of read/write data from disk from internal memory, the lightweight snapshot is kept in the internal memory of main host, can reduce read/write operation, thereby shorten the running time, can in the shorter time, carry out online migration disk.
By above-mentioned processing, main host can be created the lightweight snapshot for the virtual disk image file by the lock operation that the lightweight snapshot provides, and guarantees that subsequent write operation can not influence the historic state of virtual disk image file.
According to an embodiment more of the present invention, a kind of backup host is provided, Fig. 8 is the structural representation of the backup host of the embodiment of the invention, as shown in Figure 8, comprises according to the backup host of the embodiment of the invention: preserve module 80, roll-back module 82, operation module 84.Below, the backup host according to the embodiment of the invention is elaborated.
Particularly, the preservation module 80 of backup host is preserved the virutal machine memory data that main host sends; Under the situation that the host virtual machine example can not continue to move, the roll-back module 82 of backup host returns to the virtual disk image file and back up the state of the virutal machine memory data consistent of host preservation by rolling back action according to this lightweight snapshot; Subsequently, operation module 84 just can be according to virtual disk image file after the rollback and virutal machine memory data run backup virtual machine example.
Wherein, the rolling back action of roll-back module 82 can return to the virtual disk image file state when setting up the lightweight snapshot, when roll-back module 82 execution rolling back actions comprise, comprise following processing: 1,, this data block is carried out releasing operation for being in the data block of distributing read-write state in the current mapping table; 2, for being in the data block of distributing state to be recycled in the current mapping table, with this data block status modifier for distributing a read states; 3, use the snapshot mapping table to cover current mapping table.
By above-mentioned processing, when virtual machine breaks down rollback, the backup host can abandon virtual disk image file and the inconsistent modification of virutal machine memory state by rolling back action, the virtual disk image file is rolled back to one and the corresponding to version of internal storage state, make that virtual machine can be at backup host relaying reforwarding row.
According to an embodiment more of the present invention, a kind of virtual machine consistently online migratory system is provided, Fig. 9 is the structural representation of the virtual machine consistently online migratory system of the embodiment of the invention, as shown in Figure 9, virtual machine consistently online migratory system according to the embodiment of the invention comprises: main host 1, network memory 3, backup host 5, wherein, comprise in the main host 1: host virtual machine 10, it is above-mentioned host virtual machine example, all use host virtual machine 10 in the following description, main host monitor of virtual machine 12, main host operating system and hardware 14, comprise in the main host monitor of virtual machine 12: main host migration controller 120, main host lightweight snapshot drives 122, comprises in main host operating system and the hardware 14: network memory drives 140; Comprise in the backup host 5: backup virtual machine 50, it is above-mentioned backup virtual machine example, all use backup virtual machine 50, backup host monitor of virtual machine 52, backup host operating system and hardware 54 in the following description, comprise in the backup host monitor of virtual machine 52: backup host migration controller 520, backup host lightweight snapshot drives 522; Comprise in backup host operating system/hardware 54: network memory drives 540; Wherein, main host monitor of virtual machine 12 is connected with backup host monitor of virtual machine 52 by network, and the backup virtual machine 50 on the host virtual machine 10 of main host 1 and the backup host 5 is shared the virtual disk image file by network memory 3.Below, the virtual machine consistently online migratory system according to the embodiment of the invention is elaborated.
Particularly, be example at first with main host 1, the structure of host is described.Comprise internal memory and disk in the host virtual machine 10, wherein, main host migration controller 120 in internal memory and the main host monitor of virtual machine 12 links to each other, under the control of main host migration controller 120, the virutal machine memory data can be sent to backup host migration controller 520, main host lightweight snapshot drives 122 disks that are connected in the host virtual machine 10, and the virtual disk image file that drives in 140 pairs of network memories 3 by network memory carries out the lightweight snapshot, wherein, network memory drives 140 and is used for network memory 3 is driven, that is, network memory 3 is carried out read/write operation.
Below, main host 1 and the process that backup host 5 carries out the consistently online migration are elaborated.
At first, main host 1 loads the virtual disk image file of host virtual machine 10 from network memory 3 by network memory driving 140, and start host virtual machine 10, subsequently, main host 1 is determined suitable backup host 5 according to start-up parameter or predefined strategy.
Backup host 5 is according to the request of main host 1 or the virtual disk image file of predefined strategy loading backup virtual machine 50, and subsequently, backup host 5 suspends the operation of the virtual disk image file of backup virtual machine 50, waits for online migration.
Main host migration controller 120 is initiated online migration to backup host migration controller 520, after initiating online migration, virutal machine memory data after main host migration controller 120 will upgrade send to the backup host, when the online migration of main host 1 arrives predetermined critical point, main host 1 suspends the operation of host virtual machine 10,122 lock operations that provide by the lightweight snapshot are provided main host lightweight snapshot is the virtual disk image file establishment lightweight snapshot of host virtual machine 10, after setting up the lightweight snapshot, the operation that main host 1 recovers host virtual machine 10.
Main host 1 judges whether to arrive new backup point, if do not reach new backup point, then main host 1 is not done any operation, continues to keep the operation of host virtual machine 10; If reach new backup point, main host migration controller 120 is initiated online migration once more to backup host 5; If host virtual machine 10 breaks down, 1 operation that stops host virtual machine 10 of main host, and the state of cleaning host virtual machine 10.
When backup host 5 is waited for online migration, backup host 5 needs to detect the health status of the host virtual machine example on the main host 1, if host virtual machine 10 breaks down and definite host virtual machine 10 can not normally move, backup host 5 loads the virutal machine memory data that host virtual machine 10 transmits by online migration pattern, otherwise backup host 5 continues to wait for online migration.
After backup host 5 loads the virutal machine memory data of host virtual machine 10 by online migration pattern transmission, the lightweight snapshot of preserving in the 522 tool loads virtual disk image files that provide by the lightweight snapshot is provided backup host lightweight snapshot, and the rolling back action that uses the lightweight snapshot to provide the corresponding to state of virutal machine memory data that the virtual disk image file is rolled back to and preserves.
Carrying out behind the rolling back action, backup host 5 operation backup virtual machine 50, backup host 5 is as main host 1 operation, and backup virtual machine 50 backs up host migration controller 520 subsequently and initiates consistently online migration next time as host virtual machine 10 operations.
In addition, the embodiment of the invention can also further guarantee the consistance of state between disk and internal memory by two affirmation mechanisms.Main host 1 can obtain to back up the affirmation of 5 pairs of virutal machine memory data of host after being saved on the backup host 5 by online migration mechanism the virutal machine memory data; After 1 pair of disk of main host carries out the operation of lightweight snapshot creation, can obtain disk snapshot and confirm.Have only after main host 1 obtains two affirmations, can recover the virtual machine operation, thereby guarantee the consistance of state between disk and internal memory.Its detailed process can be understood with reference to Fig. 4, does not repeat them here.
In sum, main host can be created the lightweight snapshot for the virtual disk image file by the lock operation that the lightweight snapshot provides, and guarantees that subsequent write operation can not influence the historic state of virtual disk image file; When virtual machine breaks down rollback, can abandon virtual disk image file and the inconsistent modification of virutal machine memory state by rolling back action, the virtual disk image file is rolled back to one and the corresponding to version of internal storage state, make that virtual machine can be at backup host relaying reforwarding row.
And, because the embodiment of the invention has been preserved current mapping table and snapshot mapping table, make this lightweight snapshot only need take very little storage space, can not increase the space of storage snapshot along with the increase of snapshot number of times, overcome the defective that disk snapshot in the prior art need take a large amount of storage spaces.In addition, the embodiment of the invention has guaranteed that also virtual machine can be in the process of operation, and the running status with self is saved in the backup host continuously, makes the backup host can have host virtual machine coherency state a little earlier; And, by setting up continuous storage space, and the state of data in magnetic disk piece is saved in the continuous memory block for the data block of disk, can reduce read/write operation to exterior storage, shorten the time of lock operation, rolling back action.According to the technical scheme of the embodiment of the invention a large amount of virtual disk image file data of needs transmission not, and can create the lightweight snapshot fast, greatly improve the performance of virtual machine.
Through the above description of the embodiments, those skilled in the art can be well understood to each embodiment and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware.Based on such understanding, the part that technique scheme contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in the computer-readable recording medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be a personal computer, server, perhaps network equipment etc.) carry out the described method of some part of each embodiment or embodiment.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, 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 modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1, a kind of data back up method of virtual machine consistently online migration is characterized in that, comprising:
Operation according to the host virtual machine example is upgraded operation to virutal machine memory data on the main host and the data block in the virtual disk image file in the network memory, and the described virutal machine memory data after will upgrading send to described backup host;
The described host virtual machine example of operation suspension, lock by the state of lock operation data block in the described virtual disk image file, obtain the lightweight snapshot of described virtual disk image file, and the described host virtual machine example that resumes operation, wherein, described virtual disk image file is used for described backup host and carries out rolling back action.
2, method according to claim 1 is characterized in that, also comprises:
Under the situation that described host virtual machine example can not continue to move, described backup host returns to described virtual disk image file by described rolling back action the state of the described virutal machine memory data consistent of preserving with described backup host according to described lightweight snapshot;
Described virtual disk image file and the described virutal machine memory data run backup virtual machine example of described backup host after according to rollback.
3, method according to claim 2 is characterized in that, described is that described virtual disk image file is created after the lightweight snapshot, and described method also comprises:
Described lightweight snapshot is kept in the internal memory of described main host; Perhaps
Described lightweight snapshot is kept in the described virtual disk image file.
4, method according to claim 3 is characterized in that,
It is one of following that the state of described data block comprises: unallocated state, distribute read-write state, distribute a read states, distribute state to be recycled;
It is one of following that described renewal operation comprises; Read operation, write operation, batch operation, releasing operation.
5, method according to claim 4 is characterized in that, also comprises:
The current mapping table of data block numbering under the preservation current state with virtual disk image file offset address corresponding relation upgraded, wherein, for the data block that is in unallocated state, be designated corresponding virtual disk image file offset address unallocated, for being in the data block of distributing read-write state, having distributed a read states or having distributed state to be recycled, use bitmap that the state of this data block is identified.
6, method according to claim 5 is characterized in that,
Described read operation comprises: according to described current mapping table the data block of data block is numbered and be mapped as described virtual disk image file offset address; Be in described the distribution read-write state, the described distribution under a read states or the described situation of having distributed state to be recycled at the state of confirming this data block, read the data block of designated length according to described virtual disk image file offset address;
Described write operation comprises: according to described current mapping table the data block of data block is numbered and be mapped as described virtual disk image file offset address; Be under the situation of described unallocated state at the state of determining this data block, carry out described batch operation, and write data according to described virtual disk image file offset address; Be under the described situation of having distributed read-write state at the state of determining this data block, directly write data according to described virtual disk image file offset address; Be under the described situation of having distributed a read states at the state of determining this data block, new data block is carried out described batch operation, with the status modifier of former data block is the described state to be recycled that distributed, and the virtual disk image file offset address that distributes according to described batch operation writes data;
Described batch operation comprises: determine that minimum unallocated continuation address is an address space to be allocated; With the status modifier of the data block in the described address space to be allocated is the described read-write state that distributed; Obtain the virtual disk image file offset address of described address space to be allocated; Use the virtual disk image file offset address of described address space to be allocated to upgrade described current mapping table, and return the virtual disk image file offset address of described address space to be allocated;
Described releasing operation comprises: it is unallocated will needing the status modifier of the data block that discharges; With the described station location marker of data block in described current mapping table that needs to discharge is unallocated;
Described lock operation comprises: for being in described data block of having distributed read-write state in the described current mapping table, be a described read states that distributed with the status modifier of this data block; For being in described data block of having distributed state to be recycled in the described current mapping table, this data block is carried out described releasing operation; Use described current mapping table to cover the snapshot mapping table, wherein, described snapshot mapping table is used to represent that disk data block under snapshot state is numbered and the corresponding relation of virtual disk image file offset address;
Described rolling back action comprises: for being in described data block of having distributed read-write state in the described current mapping table, this data block is carried out described releasing operation; For being in described data block of having distributed state to be recycled in the described current mapping table, be a described read states that distributed with this data block status modifier; Use described snapshot mapping table to cover described current mapping table.
7, method according to claim 1 is characterized in that, also comprises:
After the described virutal machine memory data on the described main host are sent to described backup host, receive the Memory Backup that returns and confirm; And/or
After creating described lightweight snapshot, receive the lightweight snapshot that returns and set up affirmation for described virtual disk image file.
8, a kind of main host is characterized in that, comprising:
Update module is used for according to the operation of host virtual machine example the data block in the virtual disk image file of virutal machine memory data and network memory being upgraded operation;
Sending module is used for the described virutal machine memory data after upgrading are sent to described backup host;
Locking module, be used for the described host virtual machine example of operation suspension, lock by the state of lock operation data block in the described virtual disk image file, obtain the lightweight snapshot of described virtual disk image file, and the described host virtual machine example that resumes operation, wherein, described virtual disk image file is used for described backup host and carries out rolling back action.
9, a kind of backup host is characterized in that, comprising:
Preserve module, be used to preserve the virutal machine memory data that main host sends;
Roll-back module is used under the situation that the host virtual machine example can not continue to move, and by rolling back action the virtual disk image file is returned to the state of the described virutal machine memory data consistent of preserving with described preservation module according to the lightweight snapshot;
The operation module is used for according to described virtual disk image file after the rollback and described virutal machine memory data run backup virtual machine example.
10, a kind of virtual machine consistently online migratory system comprises network memory, it is characterized in that, also comprises main host as claimed in claim 8 and backup host as claimed in claim 9.
CN2009100880161A 2009-06-29 2009-06-29 Continuous on-line transferring data backup method of virtual machine and device thereof Expired - Fee Related CN101609419B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100880161A CN101609419B (en) 2009-06-29 2009-06-29 Continuous on-line transferring data backup method of virtual machine and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100880161A CN101609419B (en) 2009-06-29 2009-06-29 Continuous on-line transferring data backup method of virtual machine and device thereof

Publications (2)

Publication Number Publication Date
CN101609419A true CN101609419A (en) 2009-12-23
CN101609419B CN101609419B (en) 2012-05-30

Family

ID=41483179

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100880161A Expired - Fee Related CN101609419B (en) 2009-06-29 2009-06-29 Continuous on-line transferring data backup method of virtual machine and device thereof

Country Status (1)

Country Link
CN (1) CN101609419B (en)

Cited By (68)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101814043A (en) * 2010-04-19 2010-08-25 山东高效能服务器和存储研究院 Method for performing on-line recovery by using snapshot technology
CN101866307A (en) * 2010-06-24 2010-10-20 杭州华三通信技术有限公司 Data storage method and device based on mirror image technology
CN102103524A (en) * 2010-12-23 2011-06-22 北京航空航天大学 Memory redundancy oriented virtual machine migration device and method
CN102436410A (en) * 2011-12-12 2012-05-02 华中科技大学 On-line storage method of virtual machine inspection point
CN102521071A (en) * 2011-11-24 2012-06-27 广州杰赛科技股份有限公司 Private cloud-based virtual machine maintaining method
CN102520881A (en) * 2011-12-02 2012-06-27 中标软件有限公司 Virtual machine snapshot management method and system of cloud computing platform
CN102541686A (en) * 2011-11-29 2012-07-04 中标软件有限公司 Method for achieving backup and disaster recovery of system by utilizing virtual machine
CN102611745A (en) * 2011-12-31 2012-07-25 成都市华为赛门铁克科技有限公司 On-line file moving method, device and system
CN101741866B (en) * 2010-02-01 2012-12-12 浪潮(北京)电子信息产业有限公司 On-line storage system and method
CN103019804A (en) * 2012-12-28 2013-04-03 中国人民解放军国防科学技术大学 VPS (virtual private server) quick migration method for OpenVZ virtualization
CN103051685A (en) * 2012-12-10 2013-04-17 广州杰赛科技股份有限公司 Method for configuring office automation systems in cloud system
CN103116534A (en) * 2012-06-27 2013-05-22 北京智网科技股份有限公司 Novel information system emergency disaster recovery method
CN103176868A (en) * 2013-04-02 2013-06-26 浪潮电子信息产业股份有限公司 File status backup method
CN103218248A (en) * 2013-03-25 2013-07-24 华为技术有限公司 Virtual machine mirror image updating method, server and desktop cloud system
US8538919B1 (en) 2009-05-16 2013-09-17 Eric H. Nielsen System, method, and computer program for real time remote recovery of virtual computing machines
CN103399778A (en) * 2013-07-01 2013-11-20 华为技术有限公司 Method and device for on-line integral migration of virtual machine
CN103442033A (en) * 2013-08-06 2013-12-11 杭州华三通信技术有限公司 Running state information synchronizing method and device
CN103440160A (en) * 2013-08-15 2013-12-11 华为技术有限公司 Virtual machine recovering method and virtual machine migration method , device and system
CN103546556A (en) * 2013-10-22 2014-01-29 同济大学 Virtual machine on-line migration method in future network XIA
CN103605588A (en) * 2013-11-21 2014-02-26 上海爱数软件有限公司 Disk backup method of virtue machine
WO2014040424A1 (en) * 2012-09-12 2014-03-20 International Business Machines Corporation Method and apparatus for patching
CN103678045A (en) * 2013-12-31 2014-03-26 曙光云计算技术有限公司 Data backup method for virtual machines
CN103885719A (en) * 2012-12-21 2014-06-25 中国电信股份有限公司 Device, system and method for online storage migration of virtual machine system
CN103957229A (en) * 2013-12-31 2014-07-30 电子科技大学 Active updating method, device and server for physical machines in IaaS cloud system
CN104011683A (en) * 2012-01-10 2014-08-27 富士通株式会社 Virtual machine management program, method and device
CN104156369A (en) * 2013-05-14 2014-11-19 上海盛大网络发展有限公司 Database mirror making method and database
CN104331318A (en) * 2014-10-27 2015-02-04 上海斐讯数据通信技术有限公司 Embedded type dual system and working method thereof
CN104407935A (en) * 2014-11-07 2015-03-11 华为数字技术(成都)有限公司 Snapshot rollback method and storage equipment
CN104461773A (en) * 2014-11-18 2015-03-25 国云科技股份有限公司 Backup deduplication method of virtual machine
WO2015051641A1 (en) * 2013-10-12 2015-04-16 华为技术有限公司 Method and apparatus for reclaiming space of magnetic disk image
CN104572248A (en) * 2014-12-17 2015-04-29 中电科华云信息技术有限公司 Method for virtual machine to dynamically save snapshots
CN104636125A (en) * 2013-11-13 2015-05-20 联想(北京)有限公司 Information processing method and device
CN104662522A (en) * 2012-09-28 2015-05-27 Emc公司 System and method for full virtual machine backup using storage system functionality
CN105224676A (en) * 2015-10-13 2016-01-06 北京奇虎科技有限公司 The method of mobile terminal file migration and device
CN105224391A (en) * 2015-10-12 2016-01-06 浪潮(北京)电子信息产业有限公司 A kind of online backup method and system of virtual machine
CN105912428A (en) * 2016-05-20 2016-08-31 上海数腾软件科技股份有限公司 System and method for converting source data into mirror image of virtual machine in real time
CN105989008A (en) * 2015-01-27 2016-10-05 炬芯(珠海)科技有限公司 Method and device for enabling data to write in mirror image documents
CN105988857A (en) * 2014-09-12 2016-10-05 富士施乐株式会社 Virtual computer system, printer control system and method
CN106250274A (en) * 2016-08-16 2016-12-21 浪潮(北京)电子信息产业有限公司 The backup method of a kind of virtual machine and device
CN106250267A (en) * 2016-07-22 2016-12-21 浪潮(北京)电子信息产业有限公司 The data back up method of a kind of virtual machine and device
CN106293882A (en) * 2016-08-12 2017-01-04 浪潮(北京)电子信息产业有限公司 A kind of virtual disk snapshot implementing method and device
CN106293535A (en) * 2016-08-12 2017-01-04 浪潮(北京)电子信息产业有限公司 The performance optimization method of a kind of NAS and device
CN106484312A (en) * 2015-09-01 2017-03-08 北京金山云网络技术有限公司 A kind of magnetic disk of virtual machine data migration method and device
CN106603522A (en) * 2016-12-09 2017-04-26 北京安天电子设备有限公司 Cloud data virus detection method and cloud data virus detection system based on bypass listening
WO2017092219A1 (en) * 2015-11-30 2017-06-08 华为技术有限公司 Method and device for generating virtual machine snapshot
WO2017132872A1 (en) * 2016-02-03 2017-08-10 华为技术有限公司 Virtual machine backup method, backup device and host
CN107153569A (en) * 2017-03-23 2017-09-12 深信服科技股份有限公司 The processing method and processing device of virtual machine read-write failure
CN107168774A (en) * 2017-06-14 2017-09-15 北京云联万维技术有限公司 It is a kind of based on the virtual machine migration method being locally stored and system
CN107864051A (en) * 2017-10-23 2018-03-30 许继电气股份有限公司 The computer equipment fault of electric power monitoring system solves method and electric power monitoring system
CN108268331A (en) * 2015-04-16 2018-07-10 谷歌有限责任公司 Virtual machine system
CN108536477A (en) * 2018-03-02 2018-09-14 烽火通信科技股份有限公司 A kind of method of centralized device port resource distribution setting
CN108845895A (en) * 2018-07-06 2018-11-20 无锡地铁集团有限公司 Streaming incremental backup method and device based on virtual disk files
EP3301578A4 (en) * 2016-07-22 2018-11-21 Ping An Technology (Shenzhen) Co., Ltd. Method for improving performance of virtual machine, and terminal, device and computer-readable storage medium
CN109558205A (en) * 2017-09-25 2019-04-02 南京中兴新软件有限责任公司 Disk access method and device
CN109597671A (en) * 2018-12-11 2019-04-09 国云科技股份有限公司 A kind of desktop cloud implementation method being compatible with centralized and distributed operation
CN109669818A (en) * 2018-12-20 2019-04-23 广州鼎甲计算机科技有限公司 Continuous data protection method and system without local cache
CN109814979A (en) * 2018-12-17 2019-05-28 华为技术有限公司 Data load method, device, computer equipment and readable storage medium storing program for executing
CN109828829A (en) * 2019-01-22 2019-05-31 重庆邮电大学 A kind of quick evacuation method of virtual machine based on the disaster early warning time
CN110442427A (en) * 2019-07-29 2019-11-12 腾讯科技(深圳)有限公司 A kind of virtual machine snapshot management method, device, equipment and storage medium
CN110622478A (en) * 2018-04-08 2019-12-27 华为技术有限公司 Method and device for data synchronous processing
CN111143025A (en) * 2019-11-22 2020-05-12 中国船舶工业系统工程研究院 Method for real-time virtual machine instance management
CN111913832A (en) * 2019-05-10 2020-11-10 杭州信核数据科技股份有限公司 Data backup method and data backup equipment
CN112395050A (en) * 2020-11-30 2021-02-23 深信服科技股份有限公司 Virtual machine backup method and device, electronic equipment and readable storage medium
WO2021042595A1 (en) * 2019-09-05 2021-03-11 浪潮电子信息产业股份有限公司 Virtual disk migration method, apparatus and device, and readable storage medium
CN112596950A (en) * 2020-12-23 2021-04-02 深圳市科力锐科技有限公司 Virtual machine data backup method, device, equipment and storage medium
CN114968670A (en) * 2022-07-27 2022-08-30 国网信息通信产业集团有限公司 Virtual machine backup and recovery method and device
US11822950B2 (en) 2020-07-23 2023-11-21 Vmware, Inc. Cloneless snapshot reversion
CN117093332A (en) * 2023-10-20 2023-11-21 杭州优云科技有限公司 Method and device for realizing cloning of virtual machine

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102141928A (en) 2010-01-29 2011-08-03 国际商业机器公司 Data processing method and system in virtual environment and deployment method of system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100489787C (en) * 2007-07-10 2009-05-20 北京大学 Dummy machine external storage on-line migration method
CN101464812B (en) * 2009-01-06 2012-05-30 北京航空航天大学 Virtual machine migration method

Cited By (113)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8538919B1 (en) 2009-05-16 2013-09-17 Eric H. Nielsen System, method, and computer program for real time remote recovery of virtual computing machines
CN101741866B (en) * 2010-02-01 2012-12-12 浪潮(北京)电子信息产业有限公司 On-line storage system and method
CN101814043B (en) * 2010-04-19 2014-07-16 浪潮电子信息产业股份有限公司 Method for performing on-line recovery by using snapshot technology
CN101814043A (en) * 2010-04-19 2010-08-25 山东高效能服务器和存储研究院 Method for performing on-line recovery by using snapshot technology
CN101866307A (en) * 2010-06-24 2010-10-20 杭州华三通信技术有限公司 Data storage method and device based on mirror image technology
CN102103524A (en) * 2010-12-23 2011-06-22 北京航空航天大学 Memory redundancy oriented virtual machine migration device and method
CN102521071A (en) * 2011-11-24 2012-06-27 广州杰赛科技股份有限公司 Private cloud-based virtual machine maintaining method
CN102521071B (en) * 2011-11-24 2013-12-11 广州杰赛科技股份有限公司 Private cloud-based virtual machine maintaining method
CN102541686B (en) * 2011-11-29 2015-07-01 中标软件有限公司 Method for achieving backup and disaster recovery of system by utilizing virtual machine
CN102541686A (en) * 2011-11-29 2012-07-04 中标软件有限公司 Method for achieving backup and disaster recovery of system by utilizing virtual machine
CN102520881A (en) * 2011-12-02 2012-06-27 中标软件有限公司 Virtual machine snapshot management method and system of cloud computing platform
CN102436410A (en) * 2011-12-12 2012-05-02 华中科技大学 On-line storage method of virtual machine inspection point
WO2013097619A1 (en) * 2011-12-31 2013-07-04 华为技术有限公司 Online file migration method, device and system
CN102611745A (en) * 2011-12-31 2012-07-25 成都市华为赛门铁克科技有限公司 On-line file moving method, device and system
CN102611745B (en) * 2011-12-31 2015-02-25 华为数字技术(成都)有限公司 On-line file moving method, device and system
CN104011683B (en) * 2012-01-10 2017-07-07 富士通株式会社 Virtual machine management method and virtual machine management device
CN104011683A (en) * 2012-01-10 2014-08-27 富士通株式会社 Virtual machine management program, method and device
CN103116534A (en) * 2012-06-27 2013-05-22 北京智网科技股份有限公司 Novel information system emergency disaster recovery method
US9430217B2 (en) 2012-09-12 2016-08-30 International Business Machines Corporation Method and apparatus for patching
US10241813B2 (en) 2012-09-12 2019-03-26 International Business Machines Corporation Method and apparatus for patching
WO2014040424A1 (en) * 2012-09-12 2014-03-20 International Business Machines Corporation Method and apparatus for patching
CN104662522A (en) * 2012-09-28 2015-05-27 Emc公司 System and method for full virtual machine backup using storage system functionality
CN103051685A (en) * 2012-12-10 2013-04-17 广州杰赛科技股份有限公司 Method for configuring office automation systems in cloud system
CN103885719B (en) * 2012-12-21 2017-02-08 中国电信股份有限公司 Device, system and method for online storage migration of virtual machine system
CN103885719A (en) * 2012-12-21 2014-06-25 中国电信股份有限公司 Device, system and method for online storage migration of virtual machine system
CN103019804B (en) * 2012-12-28 2016-05-11 中国人民解放军国防科学技术大学 The virtualized VPS quick migration method of OpenVZ
CN103019804A (en) * 2012-12-28 2013-04-03 中国人民解放军国防科学技术大学 VPS (virtual private server) quick migration method for OpenVZ virtualization
CN103218248A (en) * 2013-03-25 2013-07-24 华为技术有限公司 Virtual machine mirror image updating method, server and desktop cloud system
CN103218248B (en) * 2013-03-25 2016-12-28 华为技术有限公司 The update method of a kind of virtual machine image, server and desktop cloud system
CN103176868B (en) * 2013-04-02 2017-07-28 浪潮电子信息产业股份有限公司 A kind of file status backup method
CN103176868A (en) * 2013-04-02 2013-06-26 浪潮电子信息产业股份有限公司 File status backup method
CN104156369B (en) * 2013-05-14 2019-04-02 上海盛大网络发展有限公司 A kind of database mirroring production method and a kind of database
CN104156369A (en) * 2013-05-14 2014-11-19 上海盛大网络发展有限公司 Database mirror making method and database
CN103399778B (en) * 2013-07-01 2016-12-28 华为技术有限公司 A kind of virtual machine online bulk migration method and apparatus
CN103399778A (en) * 2013-07-01 2013-11-20 华为技术有限公司 Method and device for on-line integral migration of virtual machine
CN103442033A (en) * 2013-08-06 2013-12-11 杭州华三通信技术有限公司 Running state information synchronizing method and device
CN103440160A (en) * 2013-08-15 2013-12-11 华为技术有限公司 Virtual machine recovering method and virtual machine migration method , device and system
CN103440160B (en) * 2013-08-15 2016-12-28 华为技术有限公司 Virtual machine restoration methods and virtual machine migration method and device and system
WO2015051641A1 (en) * 2013-10-12 2015-04-16 华为技术有限公司 Method and apparatus for reclaiming space of magnetic disk image
CN103546556A (en) * 2013-10-22 2014-01-29 同济大学 Virtual machine on-line migration method in future network XIA
CN103546556B (en) * 2013-10-22 2017-04-05 同济大学 One kind online moving method of virtual machine in future network XIA
CN104636125B (en) * 2013-11-13 2018-03-23 联想(北京)有限公司 A kind of information processing method and device
CN104636125A (en) * 2013-11-13 2015-05-20 联想(北京)有限公司 Information processing method and device
CN103605588B (en) * 2013-11-21 2016-08-17 上海爱数信息技术股份有限公司 A kind of disk backup method of virtue machine
CN103605588A (en) * 2013-11-21 2014-02-26 上海爱数软件有限公司 Disk backup method of virtue machine
CN103957229A (en) * 2013-12-31 2014-07-30 电子科技大学 Active updating method, device and server for physical machines in IaaS cloud system
CN103678045A (en) * 2013-12-31 2014-03-26 曙光云计算技术有限公司 Data backup method for virtual machines
CN103957229B (en) * 2013-12-31 2017-07-14 电子科技大学 Active update method, device and the server of physical machine in IaaS cloud system
CN103678045B (en) * 2013-12-31 2017-11-21 曙光云计算集团有限公司 The data back up method of virtual machine
CN105988857B (en) * 2014-09-12 2019-08-23 富士施乐株式会社 Printer control system and method and non-transitory computer-readable medium
CN105988857A (en) * 2014-09-12 2016-10-05 富士施乐株式会社 Virtual computer system, printer control system and method
CN104331318A (en) * 2014-10-27 2015-02-04 上海斐讯数据通信技术有限公司 Embedded type dual system and working method thereof
CN104331318B (en) * 2014-10-27 2018-04-06 上海斐讯数据通信技术有限公司 A kind of Embedded Double system and its method of work
CN104407935B (en) * 2014-11-07 2018-05-18 华为数字技术(成都)有限公司 Snapshot rollback method and storage device
CN104407935A (en) * 2014-11-07 2015-03-11 华为数字技术(成都)有限公司 Snapshot rollback method and storage equipment
CN104461773A (en) * 2014-11-18 2015-03-25 国云科技股份有限公司 Backup deduplication method of virtual machine
CN104572248A (en) * 2014-12-17 2015-04-29 中电科华云信息技术有限公司 Method for virtual machine to dynamically save snapshots
CN104572248B (en) * 2014-12-17 2018-01-23 中电科华云信息技术有限公司 The method of virtual machine dynamical save snapshot
CN105989008A (en) * 2015-01-27 2016-10-05 炬芯(珠海)科技有限公司 Method and device for enabling data to write in mirror image documents
CN105989008B (en) * 2015-01-27 2020-06-23 炬芯(珠海)科技有限公司 Method and equipment for writing data into mirror image file
CN108268331A (en) * 2015-04-16 2018-07-10 谷歌有限责任公司 Virtual machine system
CN108268331B (en) * 2015-04-16 2019-05-31 谷歌有限责任公司 Virtual machine system
CN106484312B (en) * 2015-09-01 2019-07-26 北京金山云网络技术有限公司 A kind of magnetic disk of virtual machine data migration method and device
CN106484312A (en) * 2015-09-01 2017-03-08 北京金山云网络技术有限公司 A kind of magnetic disk of virtual machine data migration method and device
CN105224391B (en) * 2015-10-12 2018-10-12 浪潮(北京)电子信息产业有限公司 A kind of online backup method and system of virtual machine
CN105224391A (en) * 2015-10-12 2016-01-06 浪潮(北京)电子信息产业有限公司 A kind of online backup method and system of virtual machine
CN105224676A (en) * 2015-10-13 2016-01-06 北京奇虎科技有限公司 The method of mobile terminal file migration and device
WO2017092219A1 (en) * 2015-11-30 2017-06-08 华为技术有限公司 Method and device for generating virtual machine snapshot
US11436091B2 (en) 2015-11-30 2022-09-06 Huawei Technologies Co., Ltd. Method and apparatus for generating virtual machine snapshot
US10503607B2 (en) 2015-11-30 2019-12-10 Huawei Technologies Co., Ltd. Method and apparatus for generating virtual machine snapshot
WO2017132872A1 (en) * 2016-02-03 2017-08-10 华为技术有限公司 Virtual machine backup method, backup device and host
CN105912428B (en) * 2016-05-20 2019-01-08 上海数腾软件科技股份有限公司 Realize that source data is converted into the system and method for virtual machine image in real time
CN105912428A (en) * 2016-05-20 2016-08-31 上海数腾软件科技股份有限公司 System and method for converting source data into mirror image of virtual machine in real time
US10509710B2 (en) 2016-07-22 2019-12-17 Ping An Technology (Shenzhen) Co., Ltd. Method, terminal, device and computer readable storage medium for improving the performance of virtual machine
EP3301578A4 (en) * 2016-07-22 2018-11-21 Ping An Technology (Shenzhen) Co., Ltd. Method for improving performance of virtual machine, and terminal, device and computer-readable storage medium
CN106250267A (en) * 2016-07-22 2016-12-21 浪潮(北京)电子信息产业有限公司 The data back up method of a kind of virtual machine and device
CN106293535A (en) * 2016-08-12 2017-01-04 浪潮(北京)电子信息产业有限公司 The performance optimization method of a kind of NAS and device
CN106293882A (en) * 2016-08-12 2017-01-04 浪潮(北京)电子信息产业有限公司 A kind of virtual disk snapshot implementing method and device
CN106250274A (en) * 2016-08-16 2016-12-21 浪潮(北京)电子信息产业有限公司 The backup method of a kind of virtual machine and device
CN106250274B (en) * 2016-08-16 2019-03-15 浪潮(北京)电子信息产业有限公司 A kind of backup method and device of virtual machine
CN106603522A (en) * 2016-12-09 2017-04-26 北京安天电子设备有限公司 Cloud data virus detection method and cloud data virus detection system based on bypass listening
CN107153569B (en) * 2017-03-23 2021-02-19 深信服科技股份有限公司 Processing method and device for read-write failure of virtual machine
CN107153569A (en) * 2017-03-23 2017-09-12 深信服科技股份有限公司 The processing method and processing device of virtual machine read-write failure
CN107168774A (en) * 2017-06-14 2017-09-15 北京云联万维技术有限公司 It is a kind of based on the virtual machine migration method being locally stored and system
CN109558205B (en) * 2017-09-25 2022-11-29 南京中兴新软件有限责任公司 Disk access method and device
CN109558205A (en) * 2017-09-25 2019-04-02 南京中兴新软件有限责任公司 Disk access method and device
CN107864051A (en) * 2017-10-23 2018-03-30 许继电气股份有限公司 The computer equipment fault of electric power monitoring system solves method and electric power monitoring system
CN108536477A (en) * 2018-03-02 2018-09-14 烽火通信科技股份有限公司 A kind of method of centralized device port resource distribution setting
CN108536477B (en) * 2018-03-02 2021-06-15 烽火通信科技股份有限公司 Method for distributing and setting centralized equipment port resources
CN110622478A (en) * 2018-04-08 2019-12-27 华为技术有限公司 Method and device for data synchronous processing
CN110622478B (en) * 2018-04-08 2020-11-06 华为技术有限公司 Method and device for data synchronous processing
CN108845895A (en) * 2018-07-06 2018-11-20 无锡地铁集团有限公司 Streaming incremental backup method and device based on virtual disk files
CN108845895B (en) * 2018-07-06 2022-02-08 无锡地铁集团有限公司 Streaming incremental backup method and device based on virtual disk file
CN109597671A (en) * 2018-12-11 2019-04-09 国云科技股份有限公司 A kind of desktop cloud implementation method being compatible with centralized and distributed operation
CN109597671B (en) * 2018-12-11 2022-06-10 国云科技股份有限公司 Desktop cloud implementation method compatible with centralized and distributed operation
CN109814979A (en) * 2018-12-17 2019-05-28 华为技术有限公司 Data load method, device, computer equipment and readable storage medium storing program for executing
CN109669818B (en) * 2018-12-20 2019-11-12 广州鼎甲计算机科技有限公司 Continuous data protection method and system without local cache
CN109669818A (en) * 2018-12-20 2019-04-23 广州鼎甲计算机科技有限公司 Continuous data protection method and system without local cache
CN109828829A (en) * 2019-01-22 2019-05-31 重庆邮电大学 A kind of quick evacuation method of virtual machine based on the disaster early warning time
CN109828829B (en) * 2019-01-22 2022-10-18 重庆邮电大学 Virtual machine rapid evacuation method based on disaster early warning time
CN111913832A (en) * 2019-05-10 2020-11-10 杭州信核数据科技股份有限公司 Data backup method and data backup equipment
CN110442427A (en) * 2019-07-29 2019-11-12 腾讯科技(深圳)有限公司 A kind of virtual machine snapshot management method, device, equipment and storage medium
WO2021042595A1 (en) * 2019-09-05 2021-03-11 浪潮电子信息产业股份有限公司 Virtual disk migration method, apparatus and device, and readable storage medium
CN111143025A (en) * 2019-11-22 2020-05-12 中国船舶工业系统工程研究院 Method for real-time virtual machine instance management
CN111143025B (en) * 2019-11-22 2023-03-24 中国船舶工业系统工程研究院 Method for real-time virtual machine instance management
US11822950B2 (en) 2020-07-23 2023-11-21 Vmware, Inc. Cloneless snapshot reversion
CN112395050A (en) * 2020-11-30 2021-02-23 深信服科技股份有限公司 Virtual machine backup method and device, electronic equipment and readable storage medium
CN112395050B (en) * 2020-11-30 2024-02-23 深信服科技股份有限公司 Virtual machine backup method and device, electronic equipment and readable storage medium
CN112596950A (en) * 2020-12-23 2021-04-02 深圳市科力锐科技有限公司 Virtual machine data backup method, device, equipment and storage medium
CN114968670A (en) * 2022-07-27 2022-08-30 国网信息通信产业集团有限公司 Virtual machine backup and recovery method and device
CN114968670B (en) * 2022-07-27 2022-11-18 国网信息通信产业集团有限公司 Virtual machine backup and recovery method and device
CN117093332A (en) * 2023-10-20 2023-11-21 杭州优云科技有限公司 Method and device for realizing cloning of virtual machine
CN117093332B (en) * 2023-10-20 2024-02-27 杭州优云科技有限公司 Method and device for realizing cloning of virtual machine

Also Published As

Publication number Publication date
CN101609419B (en) 2012-05-30

Similar Documents

Publication Publication Date Title
CN101609419B (en) Continuous on-line transferring data backup method of virtual machine and device thereof
US10621060B2 (en) Storage system and control software deployment method
US7594137B2 (en) Storage system and data restoration method thereof
CN102981931B (en) Backup method and device for virtual machine
CN103793258A (en) Hypervisor-based server duplication system and method
CN102073462A (en) Virtual storage migration method and system and virtual machine monitor
CN102150124A (en) Information backup/restoration processing apparatus and information backup/restoration processing system
US11307789B2 (en) Storage system and storage control method
CN106528327A (en) Data processing method and backup server
JP2001034426A (en) Data processor storage system having dynamic re- synchronization of mirror logical data volume following storage system failure
JP2009238159A (en) Storage system
CN106603665B (en) Cloud platform continuous data synchronous method and its device
CN102065138A (en) Method for realizing thermal backup control of servers in disk-less system
US20190065064A1 (en) Computer system and method for controlling storage apparatus
CN103036722A (en) Method for achieving server hot backup in diskless system
US20060212669A1 (en) Control method for storage system, storage system, storage control apparatus, control program for storage system, and information processing system
JP2006114064A (en) Storage subsystem
CN112230859B (en) Read-write migration method and device without interrupting service
CN115586950A (en) Method and device for realizing non-stop cloud-loading migration based on memory system
US20210294701A1 (en) Method of protecting data in hybrid cloud
CN112380049A (en) Application method of storage snapshot technology in mirror image
JP7179947B2 (en) Storage system and storage control method
CN109614034A (en) A method of for the complex data center bulk migration multi-platform across physical region
US7761737B2 (en) Apparatus, method, and computer product for executing program
JP2004005113A (en) Virtual computer system operated on a plurality of actual computers, and control method thereof

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

Granted publication date: 20120530

Termination date: 20170629

CF01 Termination of patent right due to non-payment of annual fee