CN107003893B - Virtual machine backup method, back-up device and host - Google Patents
Virtual machine backup method, back-up device and host Download PDFInfo
- Publication number
- CN107003893B CN107003893B CN201680003386.9A CN201680003386A CN107003893B CN 107003893 B CN107003893 B CN 107003893B CN 201680003386 A CN201680003386 A CN 201680003386A CN 107003893 B CN107003893 B CN 107003893B
- Authority
- CN
- China
- Prior art keywords
- clone
- data
- source
- virtual machine
- hard disk
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1466—Management of the backup or restore process to make the backup process non-disruptive
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1479—Generic software techniques for error detection or fault masking
- G06F11/1482—Generic software techniques for error detection or fault masking by means of middleware or OS functionality
- G06F11/1484—Generic software techniques for error detection or fault masking by means of middleware or OS functionality involving virtual machines
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45562—Creating, deleting, cloning virtual machine instances
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45575—Starting, stopping, suspending or resuming virtual machine instances
Abstract
A kind of virtual machine backup method and device, the described method includes: receiving backup command, interrupt the business of source virtual machine, creation clone's virtual machine and the clone's hard disk (301) for cloning virtual machine, and establish the mapping relations (302) of the memory space of the source hard disk of clone's hard disk and source virtual machine;By the operation data mirror image of source virtual machine to virtual machine is cloned, so that clone's virtual machine brings into operation according to operation data, setting clone's virtual machine receives I/O request, restores the business (303) for executing interrupted source virtual machine;When detecting clone's virtual machine to execute data manipulation is to modify to the data in the hard disk of source, by modified data record into clone's hard disk, (304) are marked to the position of record;After the business for detecting source virtual machine executes completion, source virtual machine, the data (305) in backup source hard disk are closed;After detecting data backup, data at the position being labeled in clone's hard disk are copied to the position of source hard disk described in mapped at the labeled position of clone's disk according to the mapping relations, and the hard disk (306) that the source hard disk is clone's virtual machine is set.The method and device can guarantee the business for not interrupting virtual machine while Backup Data consistency.
Description
Technical field
The present invention relates to computer field, in particular to a kind of virtual machine backup method, back-up device and host.
Background technique
Virtual machine (Virtual Machine, abbreviation VM), which refers to, has the function of complete hardware system by what software was simulated
, operate in holonomic system in a completely isolated environment.Virtual machine at runtime, as the host where virtual machine, i.e. place
Host is that virtual machine fictionalizes various hardware cells, such as virutal machine memory and virtual hard disk etc..Number in virutal machine memory
It is managed according to by virtual machine itself, and the data on virtual hard disk are then by host storage and management.
Fig. 1 show the structural schematic diagram of virtual machine in the prior art, as shown in Figure 1, all moneys that virtual machine 101 uses
Source, such as CPU, memory, network, storage resource derive from host 102, and host 102 is such as virtual more by own resource
Processor, virtual machine cluster file system, Microsoft Loopback Adapter and interchanger, storage protocol stack, network protocol stack and device drives journey
Sequence is supplied to the use of virtual machine 101 in a shared manner, so that virtual machine 101 can externally provide various business services.In general,
Virtual machine 101, which externally provides various services, to be realized by application (aplication, abbreviation APP) 103 of virtual machine internal
's.
To guarantee that operation data is not lost, or it can restore as early as possible after guaranteeing the system failure, virtual machine needs regular standby
Part, and guarantee that Backup Data is consistent with operation data.The Backup Data of virtual machine is consistent with operation data to be claimed
For the consistency of virtual machine.In the prior art, there are two types of the backup modes of virtual machine, one is cold standby, cold standby is in void
Quasi- organ backs up data when closing;Another kind is warm back-up, and warm back-up is to carry out when virtual machine keeps work to data
Backup.
Cold standby can be very good to guarantee the consistency of virtual machine, but cold standby needs to close virtual machine, virtual machine quilt
Service can not be externally provided when closing, therefore less using cold standby.Warm back-up is without closing virtual machine, but virtual machine is run
When, the data of virtual machine internal application can be first stored in caching, be then written in virtual hard disk, i.e., in virtual hard disk
Data be to be read and write and updated at any time, be that data are also to update at any time in backup procedure.Therefore, hot in the prior art
The method of backup can not in real time back up more new data in virtual hard disk, cause the data in virtual machine backup procedure
It loses, not can guarantee the consistency of virtual machine backup.
As it can be seen that there are no a kind of backup methods externally to provide virtual machine function in backup in the prior art, again
The method that can guarantee the consistency of virtual machine backup.
Summary of the invention
In view of this, the purpose of the embodiment of the present invention is that a kind of virtual machine backup method and back-up device are provided, external
In the case where offer virtual machine function when Backup Data, guarantee the consistency of Backup Data.
In order to solve the above-mentioned technical problem, the embodiment of the invention discloses following technical solutions:
In a first aspect, provide a kind of virtual machine backup method, it is applied to and host, there is more creation on the host
A virtual machine assigns a virtual machine backup command when user needs to data backup in the virtual machine on the host,
When the host receives the backup command, that is, interrupt the business of source virtual machine to be backed up, and create clone virtual machine and
Clone's hard disk of clone's virtual machine.
After clone's hard disk is built up, then the memory space of the source hard disk of clone's hard disk and the source virtual machine is established
Mapping relations, then by the operation data mirror image of the source virtual machine to clone's virtual machine, so that clone's virtual machine
It is brought into operation according to the operation data, and clone's virtual machine is set and receives I/O request, clone's virtual machine described in this way is
Can adapter tube source virtual machine business.At this moment the business that can restore the source virtual machine that execution is interrupted, makes receiving use
The I/O request being also not carried out when the backup command at family continues to execute, to guarantee the consistency of data.
During clone's virtual machine operation, if it is hard to the source for executing data manipulation to clone's virtual machine
When data in disk are modified, then by modified data record into clone's hard disk, and the position of record is carried out
Label.After the business for detecting the source virtual machine executes completion, then the source virtual machine is closed, starts to back up the source
Data in hard disk.
It, will be at the position that be labeled in clone's hard disk according to the mapping relations after detecting data backup
Data be copied to the position of source hard disk described in mapped at the labeled position of clone's hard disk, and it is hard that the source is arranged
Disk is the hard disk of clone's virtual machine.
In this way, include the clone's virtual machine for cloning hard disk by creating when being backed up to the data in virtual machine, it will
The business that virtual machine executes in backup procedure is transferred to clone's virtual machine and executes, and by virtual machine backup procedure, incites somebody to action
To the modification records of the data stored in source virtual machine in clone's hard disk, and the data of modification are marked, in this way,
After the data backup of virtual machine is completed, the number in the source virtual machine can be updated with the modification data recorded in clone's hard disk
According in this way, while guaranteeing the consistency of Backup Data the business of virtual machine will not be interrupted, to improve virtual machine
Operational efficiency.
Optionally, establish it is described clone hard disk and the source hard disk memory space mapping relations when, can first by
The source hard disk and clone's hard disk are divided into multiple memory blocks according to default size respectively, then establish the address of source memory block with
Clone the mapping relations of the address of memory block.
Division mode in this way can make each memory block in the hard disk of source correspond to clone's memory block, this
Sample can accurately mark the source memory block modified, and the modification data being recorded in clone's memory block.
It is alternatively possible to be reflected by the address of address and clone's memory block for each source memory block in the mapping table
Relationship setting more new logo is penetrated to mark the source memory block modified, specific method is gram that will record the modified data
The corresponding update mark of mapping relations where the address of grand memory block is set as having updated.
What the more described more new logo can be convenient identifies the data modified in the source hard disk.
Modifying to the data in the source hard disk can be the data stored in the source hard disk described in BACKUP TIME point
On the basis of new data are written, or the update the data stored in the source hard disk described in BACKUP TIME point can also be with
Data are deleted on the basis of being the data stored in the source hard disk described in BACKUP TIME point.
Optionally, after the business for restoring to execute source virtual machine institute terminal, in the number for detecting the source virtual machine execution
When being updated according to operation to the data in the source hard disk, judge that the data update the ground for requesting updated source memory block
The corresponding update of mapping relations where location identifies whether to have updated, and requests updated source to be deposited determining that the data update
The corresponding more new logo of mapping relations where storing up the address of block is not that the data are updated what request was updated when having updated
It is updated data copy to the data in the memory block of source and updates the updated corresponding clone's memory block of source memory block of request, In
The data update the more new data for requesting to be written in updated source memory block in the data update request;And by the number
The updated corresponding more new logo of source memory block is requested to be set as having updated according to updating.
Since the business executed in source virtual machine is also mirrored to clone's virtual machine, so in clone's virtual machine
In can also execute with source virtual machine identical business, so, when being updated to the data in source virtual machine, it is also desirable to by source
The data being updated in virtual machine are transferred in clone's memory block, use the data so that clone's virtual machine is subsequent.
Optionally, during clone's virtual machine operation, the method handled read I O request is as follows:
Receive read I O request;
Judge that the corresponding update of the read clone's memory block of the read I O request identifies whether to have updated;
It determines that the corresponding update of the read clone's memory block of the read I O request is identified as when not updating, is read from described
Data are read in the corresponding source memory block of the clone's memory block taken;
It determines that the corresponding update of the read clone's memory block of the read I O request is identified as when having updated, is read from described
Data are read in the clone's memory block taken.
Optionally, the data cloned at the position being labeled in hard disk are being copied to clone firmly according to the mapping relations
At the labeled position of disk when the position of mapped source hard disk, it is first determined it is corresponding to be arranged to updated more new logo
Clone's memory block in mapping relations;The clone being arranged in the corresponding mapping relations of updated more new logo is deposited
The data that storage block is stored are copied to the source memory block being arranged in the corresponding mapping relations of updated more new logo;
Then it is arranged to updated more new logo by described and is set as not updating.
In this way, be also configured to modification label after the completion of data duplication, it can make to receive during this period and read IO and ask
When asking, the position of data streams read can be gone out according to the modification marker for judgment.
Optionally, after detecting data backup, when receiving data write request, by the data write request
In data to be written be written in the source hard disk, and the corresponding more new logo of source memory block that the data to be written will be written
It is set as not updating.
Optionally, after the data in clone's hard disk are all copied to the source hard disk, the clone can be deleted
Hard disk and the mapping table.
Second aspect, provides a kind of virtual machine back-up device, the back-up device include creating unit, marking unit,
Backup units, reading unit and updating unit, the creating unit, marking unit, backup units, reading unit and update are single
The function that member executes is corresponding with the method for the offer of first aspect, and details are not described herein.
The third aspect, provides a kind of host, and the host includes: processor, memory, hard disk, communication interface, system
Bus connects by system bus and completes mutual communication, institute between the processor, memory, hard disk and communication interface
It states for storing computer executed instructions in memory, when the host is run, the processor executes the meter in the memory
Calculation machine is executed instruction to establish virtual machine using the hardware resource in the host, and executes side provided by first aspect
Method.Provided embodiment through the invention includes clone's hard disk by creation when backing up to the data in virtual machine
Clone's virtual machine, the business that virtual machine is executed in backup procedure is transferred to clone's virtual machine and executes, and will be virtual
In machine backup procedure, by the modification record to the data stored in source virtual machine in clone's hard disk, and to the number of modification
According to being marked, in this way, after the data backup of virtual machine is completed institute can be updated with the modification data recorded in clone's hard disk
The data in source virtual machine are stated, in this way, the business of virtual machine will not be interrupted while guaranteeing the consistency of Backup Data,
To improve the operational efficiency of virtual machine.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 show the structural schematic diagram of virtual machine in the prior art;
Fig. 2 show the structure chart of the host of the embodiment of the present invention;
Fig. 3 show the flow chart of the virtual machine backup method of the embodiment of the present invention;
Fig. 4 show the signal of the mapping relations for the memory space of the embodiment of the present invention established source hard disk and clone hard disk
Figure;
Fig. 5 show the embodiment of the present invention during clone's virtual machine operation, is updated to the data in the hard disk of source
Schematic diagram;
Fig. 6 show the schematic diagram of the virtual machine-readable data of clone of the embodiment of the present invention;
Fig. 7 show the embodiment of the present invention during source virtual machine operation, shows what the data in the hard disk of source were updated
It is intended to;
Fig. 8 show the schematic diagram that the data in clone's hard disk are copied to the source hard disk by the embodiment of the present invention;
And
Fig. 9 show a kind of module map of data backup device provided in an embodiment of the present invention.
Through the above attached drawings, it has been shown that the specific embodiment of the present invention will be hereinafter described in more detail.These attached drawings
It is not intended to limit the scope of the inventive concept in any manner with verbal description, but is by referring to specific embodiments
Those skilled in the art illustrate idea of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
In order to fully understand the present invention, numerous concrete details are referred in the following detailed description, but this field skill
Art personnel are it should be understood that the present invention may not need these details and realize.In other embodiments, it is not described in detail known
Method, process, component and circuit, in order to avoid it is fuzzy to undesirably result in embodiment.
When the embodiment of the present invention backs up the data in the source hard disk of source virtual machine, clone's virtual machine can be created
And clone's hard disk, and the operation data in source virtual machine is transferred to clone's virtual machine and the IO of subsequent access source virtual machine is asked
It asks and redirects, be the business that clone's virtual machine takes over the source virtual machine, and after the completion of data backup, with clone
Data in hard disk and in the hard disk of source in inconsistent data cover source hard disk, and the source hard disk is virtual as the clone
The hard disk of machine, in this way, when backing up the data in the source virtual machine, in the case where not interrupting business performed by virtual machine,
Guarantee the consistency of Backup Data.
Technical solution is provided for the embodiments of the invention below in conjunction with embodiment to elaborate.
As shown in Fig. 2, the structure chart of the host 20 for the embodiment of the present invention.The host 20 may include processor
201, memory 202, hard disk 204, communication interface 207, system bus 200.Processor 201, memory 202, hard disk 204 and communication connect
It connects by system bus 200 between mouth 207 and completes mutual communication.
Processor 201 may be single or multiple core central processing unit, perhaps be specific integrated circuit or be configured
At the one or more integrated circuits for implementing the embodiment of the present invention.
Memory 202 can be high speed RAM memory, or nonvolatile memory (non-volatile
Memory), a for example, at least magnetic disk storage, memory 202 is for storing computer executed instructions.Specifically, computer is held
It may include program code in row instruction.
The host 20 operation when, the processor 201 execute the computer executed instructions 203 in the memory with
Establish multiple virtual machines using the hardware resource in the host, such as source virtual machine 208 and clone virtual machine 209, described
Be in hard disk 204 source virtual machine 208 and clone virtual machine 209 establish respectively source hard disk 205 and clone hard disk 206.It is described
Clone's virtual machine 209 and clone's hard disk 206 be by the data backup in the source hard disk 205 of the source virtual machine 208 to described
It is created when backup of memory 30, illustrates that the source is virtual below in conjunction with the flow chart of virtual machine backup method shown in Fig. 3
Backup procedure in machine.
As shown in figure 3, the virtual machine backup method of the embodiment of the present invention includes:
Step 301, backup command is received, the business of source virtual machine is interrupted, creation clone's virtual machine and the clone are virtual
Clone's hard disk of machine.
In the embodiment of the present invention, the business of source virtual machine 208 is the I/O request that the virtual machine is carrying out, interrupt source
The business of virtual machine 208 is that the I/O request for being carrying out the source virtual machine 208 is hung up.
In practical application, can first interrupt the business of source virtual machine after receiving backup command, then create clone's void
Quasi- machine and the clone's hard disk for cloning virtual machine, the clone's hard disk that can also first create clone's virtual machine and clone's virtual machine interrupt again
The sequence of the two specifically may be set according to actual conditions in the business of source virtual machine.
Step 302, the mapping relations of the memory space of the source hard disk of clone's hard disk and the source virtual machine are established.
When establishing the mapping relations of memory space of clone's hard disk and the source hard disk, first by the source hard disk and
Clone's hard disk is divided into multiple memory blocks according to default size respectively, then resettles address and the clone's memory block of source memory block
Address mapping relations.
When creating clone's virtual machine 209 and clone's hard disk 206, the source virtual machine 208 and source can be obtained first
The parameter of hard disk 205 creates clone's virtual machine 209 and clone according to the parameter of the source virtual machine 208 and source hard disk 205
The capacity of hard disk 206, clone's hard disk 206 is equal with the capacity of the source hard disk 205.
It, first will be described when establishing the mapping relations of memory space of clone's hard disk 206 and the source hard disk 205
Source hard disk 205 and clone's hard disk 206 are divided into multiple memory blocks according to default size respectively, then establish the address of source memory block
With the mapping relations of the address of clone's memory block.
Fig. 4 show the schematic diagram of the mapping relations of the memory space of clone's hard disk and the source hard disk, source hard disk
205 and clone hard disk 206 be all divided into multiple memory blocks, such as the source memory block 2051 and 2052 of source hard disk 205 etc., and
Clone clone's memory block 2061 and 2062 of hard disk 206.
The mapping relations of the memory space of clone's hard disk 206 and the source hard disk 205 include the address of source memory block
The address of clone's memory block corresponding with source memory block, each settable more new logo of corresponding relationship.As shown in figure 4, every
The corresponding more new logo of a corresponding relationship can be by the way that shown in independent list 401, the list 401 includes memory block call number
More new logo corresponding with call number.Memory block call number Pa~Pe is directed toward corresponding corresponding relationship.In other embodiment party
In formula, the more new logo can also with the source memory block and clone memory block corresponding relationship record together, without
It is recorded by the independent list 401.More new logo includes having updated or not updated, in embodiment shown in Fig. 4, with 0
It indicates that data do not update, has been updated with 1 mark data.In other embodiments of the present invention, it can also indicate data not more with 1
Newly, it has been updated with 0 mark data.The effect of the more new logo will be described in detail below.
The mapping relations of the memory space of clone's hard disk and the source hard disk and corresponding more new logo, which can use, to be reflected
The form of firing table can also use other forms, and details are not described herein.
Step 303, by the operation data mirror image of the source virtual machine to clone's virtual machine, so that the clone is virtual
Machine brings into operation according to the operation data, and clone's virtual machine is arranged and receives I/O request, recovery execution is interrupted described
The business of source virtual machine.
The operation data includes data, the data in CPU register, IO in the memory in the source virtual machine 208
Request the I/O request in storehouse, the data in network stack.The data in memory in the source virtual machine 208 are source virtual machine
Required data are run, the data in the CPU register are the status bit message of currently processed process or thread, institute
It includes I/O request that the source virtual machine 208 is being handled and received but do not located also for stating the I/O request in I/O request storehouse
The I/O request of reason, the data stored in the network stack be the source virtual machine 208 to be sent to external data and from
External received data.After the operation data mirror image to clone's virtual machine 209, it is also necessary to which it is virtual that the clone is set
Machine receives I/O request, and I/O request subsequently received in this way will be sent to clone's virtual machine processing.It is empty in the clone
Quasi- machine starts execution business and starts, and can restore the business for executing the source virtual machine interrupted.Since user indicates to carry out
The BACKUP TIME point of backup assigns backup command (at the time of receiving backup command) for user and starts to count, so user needs
The data wanted also are all data received before the BACKUP TIME point, but prolonging due to processor processing I/O request
When, the I/O request before BACKUP TIME point is handled in time not yet, such as is executed, or in I/O request storehouse also not
It is handled, is started so starting execution business in clone's virtual machine in time, it is also desirable to restore to execute the source interrupted
The business of virtual machine, so that the source hard disk is written in the data for being also not written into the source hard disk, to protect after BACKUP TIME point
Demonstrate,prove the consistency of data.
It step 304, is that the data in the source hard disk are carried out detecting clone's virtual machine to execute data manipulation
When modification, then by modified data record into clone's hard disk, and the position of record is marked, can be adopted here
It is marked with the position that above-mentioned more new logo updates source hard disk or clone's hard disc data.
Modifying to the data in the source hard disk can be the data stored in the source hard disk described in BACKUP TIME point
On the basis of new data are written, or the update the data stored in the source hard disk described in BACKUP TIME point can also be with
Data are deleted on the basis of being the data stored in the source hard disk described in BACKUP TIME point.
If the data manipulation is write-in new data, the new data being written into is stored to the sky of clone's hard disk
In not busy clone's memory block, and the corresponding update mark of clone's memory block that the data are written is set as having updated;If
The data manipulation be the data in the hard disk of source are updated, then according to source memory block and clone memory block mapping relations,
The more new data is written in clone's hard disk in clone's memory block corresponding with the source memory block to be updated, and will
The more new logo of source memory block (or clone's memory block of write-in more new data) to be updated is set as having updated.If described
Data manipulation is to delete the data in the hard disk of source, then the source memory block where the data to be deleted is (or described
The corresponding clone's memory block of source memory block where data to be deleted) corresponding more new logo is set as having updated.
It is marked when illustrating to modify the data that BACKUP TIME point stores in the source hard disk below by concrete application scene
The process of note.
It is in the source hard disk that application scenarios shown in fig. 5, which are detecting clone's virtual machine to execute data manipulation,
Data be updated.As shown in figure 5, source virtual machine includes source hard disk 205, clone's virtual machine includes clone's hard disk 206.
The data manipulation is to need the data E in the source memory block 2053 in source hard disk 205 being updated to F, then first
The corresponding more new logo of the source memory block 2053, the i.e. corresponding update mark of call number Pe are found in the label list 501
Know, determines that the update identifies whether to have updated (update is identified as 1), it can be seen from the figure that the more new logo is not
It has been updated that, i.e., do not update (update is identified as 0), then the corresponding clone of the source memory block 2053 has been written into data more new data F
In clone's memory block 2063 of hard disk 206, and the corresponding more new logo of call number Pe recorded in list 501 will be marked to be revised as
It has updated and (has been revised as 1 by 0).In the case of another, i.e., the described update is identified as when having updated, then is only needed the update
Clone's memory block 2063 is written in data F, without changing more new logo.
The scene and deletion of new data are written on the basis of the data that BACKUP TIME point is stored in the source hard disk
The scene of data is similar with the scene of above-mentioned more new data, no longer illustrates herein.
Step 305, after the business for detecting the source virtual machine executes completion, the source virtual machine is closed, is backed up
Data in the source hard disk.
During data backup, if clone's virtual machine receives data operation request, also by above-mentioned
The data of modification are marked in method.
During clone's virtual machine operation, if receiving read I O request, executed by following method:
Firstly, clone's virtual machine receives read I O request;
Then, judge that the corresponding update of the read clone's memory block of the read I O request identifies whether to have updated;
When determine the read clone's memory block of the read I O request it is corresponding update be identified as do not update when, from the institute
Data are read in the corresponding source memory block of clone's memory block of reading;
Determine that the corresponding update of the read clone's memory block of the read I O request is identified as when having updated, from read
Data are read in clone's memory block.
The method for illustrating to carry out reading data during cloning virtual machine operation below with reference to Fig. 6.
In application scenarios shown in Fig. 6, source virtual machine includes source hard disk 205, and clone's virtual machine includes clone's hard disk
206。
As shown in fig. 6, when clone's virtual machine receives data read request, it is first determined data streams read is corresponding
The corresponding update mark of clone's memory block 2065 (namely the corresponding more new logo of source memory block 2056), when clone memory block
When 2065 corresponding updates are identified as 0, the data in the corresponding source memory block 2055 of clone's memory block 2065 are indicated
It is not updated also, then reads Data Data B directly from the source memory block 2054.When another data read request is read
When access is identified as 1 according to the corresponding update of corresponding clone's memory block 2064, then it represents that clone's memory block 2064 is corresponding
Data in source memory block 2054 are modified, then data F is read from clone's memory block 2064.
After the business for restoring to execute the source virtual machine interrupted, the business as performed by the source virtual machine
It is mirrored to clone's virtual machine, so the source virtual machine and clone's virtual machine can be performed simultaneously identical business,
But due to clone's virtual machine and source virtual machine and asynchronous, source virtual machine may be earlier than clone's void to the data in the hard disk of source
Quasi- update of the machine to data, in this way, when clone's virtual machine needs to read the data in the hard disk of source, then due to the data of source hard disk
It has been be updated that, then will lead to mistake, so in this case it is necessary to the data in the source hard disk are first migrated to described
Virtual machine is cloned, and update mark is set and is marked, method particularly includes:
When detecting the data manipulation that the source virtual machine executes is to be updated to the data in the source hard disk, sentence
The corresponding update of mapping relations where the data of breaking update the address for requesting updated source memory block identifies whether as
It updates;
Determine the corresponding update mark of mapping relations where the data update the address for requesting updated source memory block
Knowledge is not to update the data when having updated and request to be updated data copy in updated source memory block to the data more
The updated corresponding clone's memory block of source memory block of new request;
The more new data for requesting to be written in updated source memory block in the data update request is updated in the data;
The data, which are updated, requests the updated corresponding more new logo of source memory block to be set as having updated.
As shown in fig. 7, then first determining the source memory block when it is F that the data B in source memory block 2056 is to be updated
2056 corresponding modification labels, when the corresponding modification of the source memory block 2056 is labeled as 0, then by the source memory block 2056
The data B of middle storage is migrated into the corresponding clone's memory block 2066 of the source memory block 2056, then will the more new data F
It is written in the source memory block 2056.On the contrary, if when the corresponding modification of the source memory block 2056 is labeled as 1, directly
Data B in source memory block 2056 is updated to F, without migrating data B into clone's memory block 2066, the source is deposited
The storage corresponding update mark of block 2056 need not also be modified.Step 306, after detecting data backup, according to the mapping
Data at the position being labeled in clone's hard disk are copied at the labeled position of clone's hard disk by relationship is reflected
The position for the source hard disk penetrated, and the hard disk that the source hard disk is clone's virtual machine is set.
It is copied to what clone's hard disk was labeled the data at the position being labeled in hard disk will be cloned according to mapping relations
At position when the position of mapped source hard disk, first choice determination is arranged in the corresponding mapping relations of updated more new logo
Clone's memory block;The clone's memory block being arranged in the corresponding mapping relations of updated more new logo is stored
Data be copied to the source memory block being arranged in the corresponding mapping relations of updated more new logo;It is set described
Updated more new logo is set to be set as not updating.
Then clone's hard disk and the mapping table can be deleted.
After it will clone after the data copy in hard disk to the source hard disk, clone's virtual machine 209 will replace source virtual machine
208, business is externally provided, virtual machine 209 is cloned at this time and uses source hard disk 205.
Fig. 8 show the schematic diagram that the data in clone's hard disk are copied to the source hard disk by the embodiment of the present invention.
As shown in figure 8, source virtual machine includes source hard disk 205, clone's virtual machine includes clone's hard disk 206.In replicate data
When, it first passes through identification list 901 and obtains clone's memory block that update is identified as 1, such as clone's memory block 9022 and clone's storage
Block 9021, cloning the data stored in memory block 9022 is F, is cloned in memory block 9021, there is no storing datas, before expression
Data manipulation to the progress of clone's corresponding source memory block 9011 of memory block 9021 is delete operation, in this way, using in duplication
The data of the corresponding source memory block of clone's memory block described in the data cover in clone's memory block that update mark is 1, i.e.,
The data in source memory block 9012 are covered with the data F in clone's memory block 9022, with the empty data in clone's memory block 9021
Data C in covering source memory block 9011, or directly delete the data C.The data cloned in memory block are answered again
After system to the source memory block, 0 can be set by 1 by update mark.
After clone's hard disk is all copied to the source hard disk labeled as the data in updated clone's memory block,
Clone's hard disk and mapping table are then deleted, externally provides business by clone's virtual machine at this time.
In the embodiment of the present invention, after detecting data backup, when receiving data write request, by the data
Data to be written in write request are written in the source hard disk, and the source memory block that the data to be written are written is corresponding
More new logo is set as not updating.
Method through the embodiment of the present invention includes clone by creation when backing up to the data in virtual machine
Clone's virtual machine of hard disk, the business that virtual machine is executed in backup procedure are transferred to clone's virtual machine and execute, and will
In virtual machine backup procedure, by the modification record to the data stored in source virtual machine in clone's hard disk, and to modification
Data be marked, in this way, after the data backup of virtual machine is completed, can with the modification data that record in clone's hard disk more
Data in the new source virtual machine, in this way, the industry of virtual machine will not be interrupted while guaranteeing the consistency of Backup Data
Business, to improve the operational efficiency of virtual machine.
As shown in figure 9, the embodiment of the present invention also provides a kind of data backup device 10, the data backup device includes wound
Build unit 11, marking unit 12, backup units 13, reading unit 14 and updating unit 15.The creating unit 11 is for receiving
Backup command interrupts the business of source virtual machine, creates and clones virtual machine and the clone's hard disk for cloning virtual machine, described in foundation
Clone the mapping relations of the memory space of the source hard disk of hard disk and the source virtual machine, and by the operation data of the source virtual machine
The clone is arranged so that clone's virtual machine brings into operation according to the operation data to clone's virtual machine in mirror image
Virtual machine receives I/O request, restores the business for executing the source virtual machine interrupted.
The creating unit 11 is when establishing the mapping relations of memory space of clone's hard disk and the source hard disk, tool
Body is used to the source hard disk and clone's hard disk being divided into multiple memory blocks according to default size respectively;Establish the ground of source memory block
The mapping relations of location and the address of clone's memory block.
The method for building up of the mapping relations of the memory space of the source hard disk of clone's hard disk and the source virtual machine and general
The method of the operation data mirror image of the source virtual machine to clone's virtual machine is described in detail in embodiment of the method, In
This is repeated no more.
The marking unit 12 is used to detecting clone's virtual machine to execute data manipulation be in the source hard disk
Data when modifying, then by modified data record into clone's hard disk, and the position of record is marked.
The marking unit 12 is when the position to record is marked, specifically for that will record the modified data
Clone's memory block address where the corresponding update mark of mapping relations be set as having updated.
The marking unit 12 is also used to detecting the data manipulation of the source virtual machine execution in the source hard disk
Data when being updated, judge that the mapping relations where the data update the address for requesting updated source memory block are corresponding
Update identify whether to have updated;Determine that the mapping where the data update the address for requesting updated source memory block is closed
It is that corresponding more new logo is not when having updated, the data is updated to request to be updated data in updated source memory block and are copied
Shellfish updates to the data requests the updated corresponding clone's memory block of source memory block;Request is updated in the data to be updated
Source memory block in the data be written update more new data in request;The data are updated and request updated source storage
The corresponding more new logo of block is set as having updated.
The backup units 13 are used for after the business for detecting the source virtual machine executes completion, and it is empty to close the source
Quasi- machine, backs up the data in the source hard disk.
It further include reading unit 14, for receiving the read I O request reception for reading the data in clone's virtual machine;Sentence
The corresponding update of the read clone's memory block of the read I O request of breaking identifies whether to have updated;Determine the read I O request institute
The corresponding update of clone's memory block of reading is identified as when not updating, from the corresponding source storage of the read clone memory block
Data are read in block;Determine that the corresponding update of the read clone's memory block of the read I O request is identified as when having updated, from institute
It states in read clone's memory block and reads data.
The updating unit 15 is used for after detecting data backup, according to the mapping relations that the clone is hard
The data at position being labeled in disk are copied to source hard disk described in mapped at the labeled position of clone's hard disk
Position, and the hard disk that the source hard disk is clone's virtual machine is set.
The updating unit 15 is specifically used for determination and is arranged in the corresponding mapping relations of updated more new logo
Clone memory block;The clone's memory block being arranged in the corresponding mapping relations of updated more new logo is stored
Data are copied to the source memory block being arranged in the corresponding mapping relations of updated more new logo;It is set described
It is set as not updating for updated more new logo.
After the data duplication in clone's hard disk is completed, the updating unit deletes clone's hard disk and mapping
Table.
Method through the embodiment of the present invention includes clone by creation when backing up to the data in virtual machine
Clone's virtual machine of hard disk, the business that virtual machine is executed in backup procedure are transferred to clone's virtual machine and execute, and will
In virtual machine backup procedure, by the modification record to the data stored in source virtual machine in clone's hard disk, and to modification
Data be marked, in this way, after the data backup of virtual machine is completed, can with the modification data that record in clone's hard disk more
Data in the new source virtual machine, in this way, the industry of virtual machine will not be interrupted while guaranteeing the consistency of Backup Data
Business, to improve the operational efficiency of virtual machine.
For system embodiments, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.System embodiment described above is only schematical, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
It needs that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not
In the case where making the creative labor, it can understand and implement.
The present invention can describe in the general context of computer-executable instructions executed by a computer, such as program
Module.Generally, program module includes routines performing specific tasks or implementing specific abstract data types, programs, objects, group
Part, data structure etc..The present invention can also be practiced in a distributed computing environment, in these distributed computing environments, by
Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with
In the local and remote computer storage media including storage equipment.
Those of ordinary skill in the art will appreciate that all or part of the steps in realization above method embodiment is can
It is completed with instructing relevant hardware by program, the program can store in computer-readable storage medium,
The storage medium designated herein obtained, such as: ROM, RAM, magnetic disk, CD.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one
Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation
There are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to contain
Lid non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.Herein
In apply specific case lock carried out to the principle of the present invention and embodiment and state, the explanation of above example is only intended to sides
Assistant solves method and its core concept of the invention;At the same time, for those skilled in the art, think of according to the present invention
Think, there will be changes in the specific implementation manner and application range.In conclusion the content of the present specification should not be construed as pair
Limitation of the invention.Any modification, equivalent substitution, improvement and etc. done within the spirit and principles of the present invention include
Within the scope of the present invention.
Claims (15)
1. a kind of virtual machine backup method, which is characterized in that the described method includes:
Backup command is received, the business of source virtual machine, clone's hard disk of creation clone's virtual machine and clone's virtual machine are interrupted;
Establish the mapping relations of the memory space of the source hard disk of clone's hard disk and the source virtual machine;
By the operation data mirror image of the source virtual machine to clone's virtual machine, so that clone's virtual machine is according to the fortune
Row data bring into operation, and clone's virtual machine is arranged and receives I/O request, restore the industry for executing the source virtual machine interrupted
Business;
When detecting the data manipulation of clone's virtual machine execution is to modify to the data in the source hard disk, then will
Modified data record is marked the position of record into clone's hard disk;
After the business for detecting the source virtual machine executes completion, the source virtual machine is closed, is backed up in the source hard disk
Data;
After detecting data backup, according to the mapping relations by it is described clone hard disk in be labeled position at number
According to being copied to the position of source hard disk described in mapped at the labeled position of clone's hard disk, and the source hard disk is set and is
The hard disk of clone's virtual machine.
2. the method as described in claim 1, which is characterized in that the storage for establishing the clone hard disk and the source hard disk
The mapping relations in space, comprising:
The source hard disk and clone's hard disk are divided into multiple memory blocks according to default size respectively;
Establish the mapping relations of the address of source memory block and the address of clone's memory block.
3. method according to claim 2, which is characterized in that the address of each source memory block in the mapping relations with gram
The also corresponding more new logo of the address mapping relation of grand memory block;
The position of described pair of record, which is marked, to be specifically included:
The corresponding update mark setting of mapping relations where the address of clone's memory block of the modified data will be recorded
To have updated.
4. method as claimed in claim 3, which is characterized in that the method also includes:
When detecting the data manipulation that the source virtual machine executes is to be updated to the data in the source hard disk, number is judged
It is identified whether according to the corresponding update of mapping relations where updating the address for requesting updated source memory block to have updated;
Determine the corresponding more new logo of mapping relations where the data update the address for requesting updated source memory block not
It is to be asked when having updated by data copy to data update is updated in the updated source memory block of data update request
Seek the updated corresponding clone's memory block of source memory block;
The more new data for requesting to be written in updated source memory block in the data update request is updated in the data;
The data, which are updated, requests the updated corresponding more new logo of source memory block to be set as having updated.
5. method as claimed in claim 3, which is characterized in that the method also includes:
Receive the read I O request for reading the data in clone's virtual machine;
Judge that the corresponding update of the read clone's memory block of the read I O request identifies whether to have updated;
Determine that the corresponding update of the read clone's memory block of the read I O request is identified as when not updating, from described read
Data are read in the corresponding source memory block of clone's memory block;
Determine that the corresponding update of the read clone's memory block of the read I O request is identified as when having updated, from described read
Data are read in clone's memory block.
6. method as claimed in claim 3, which is characterized in that described will be cloned in hard disk according to the mapping relations is labeled
Position at data be copied to the position of mapped source hard disk at the labeled position of clone's hard disk, specifically include:
Determine the clone's memory block being arranged in the corresponding mapping relations of updated more new logo;
The data that the clone's memory block being arranged in the corresponding mapping relations of updated more new logo is stored are answered
It makes to the source memory block being arranged in the corresponding mapping relations of updated more new logo;
It is arranged to updated more new logo by described and is set as not updating.
7. method as claimed in claim 3, which is characterized in that the method also includes:
It, will be to be written in the data write request when receiving data write request after detecting data backup
Data are written in the source hard disk, and set the corresponding more new logo of the source memory block that the data to be written are written to not more
Newly.
8. a kind of virtual machine back-up device, which is characterized in that described device includes:
Creating unit interrupts the business of source virtual machine, creation clone's virtual machine and the clone are virtual for receiving backup command
Clone's hard disk of machine establishes the mapping relations of the memory space of the source hard disk of clone's hard disk and the source virtual machine, and will
The operation data mirror image of the source virtual machine is to clone's virtual machine, so that clone's virtual machine is according to the operation data
It brings into operation, clone's virtual machine is set and receives I/O request, restore the business for executing the source virtual machine interrupted;
Marking unit, for being to be carried out to the data in the source hard disk detecting clone's virtual machine to execute data manipulation
When modification, then by modified data record into clone's hard disk, and the position of record is marked;
Backup units are backed up for closing the source virtual machine after the business for detecting the source virtual machine executes completion
Data in the source hard disk;
Updating unit, for will be marked in clone's hard disk according to the mapping relations after detecting data backup
Data at the position of note are copied to the position of source hard disk described in mapped at the labeled position of clone's hard disk, and set
Set the hard disk that the source hard disk is clone's virtual machine.
9. device as claimed in claim 8, which is characterized in that the creating unit is establishing clone's hard disk and the source
When the mapping relations of the memory space of hard disk, it is specifically used for,
The source hard disk and clone's hard disk are divided into multiple memory blocks according to default size respectively;
Establish the mapping relations of the address of source memory block and the address of clone's memory block.
10. device as claimed in claim 9, which is characterized in that the address of each source memory block in the mapping relations with
Clone the also corresponding more new logo of address mapping relation of memory block;
The marking unit is specifically used for when the position to record is marked,
The corresponding update mark setting of mapping relations where the address of clone's memory block of the modified data will be recorded
To have updated.
11. device as claimed in claim 10, which is characterized in that the marking unit is also used to:
When the data manipulation for detecting the source virtual machine execution is updated the data in the source hard disk, data are judged
The corresponding update of mapping relations where updating the address for requesting updated source memory block identifies whether to have updated;
Determine the corresponding more new logo of mapping relations where the data update the address for requesting updated source memory block not
It is to be asked when having updated by data copy to data update is updated in the updated source memory block of data update request
Seek the updated corresponding clone's memory block of source memory block;
The more new data for requesting to be written in updated source memory block in the data update request is updated in the data;
The data, which are updated, requests the updated corresponding more new logo of source memory block to be set as having updated.
12. device as claimed in claim 10, which is characterized in that further include reading unit, be used for:
Receive the read I O request reception for reading the data in clone's virtual machine;
Judge that the corresponding update of the read clone's memory block of the read I O request identifies whether to have updated;
Determine that the corresponding update of the read clone's memory block of the read I O request is identified as when not updating, from described read
Data are read in the corresponding source memory block of clone's memory block;
Determine that the corresponding update of the read clone's memory block of the read I O request is identified as when having updated, from described read
Data are read in clone's memory block.
13. device as claimed in claim 10, which is characterized in that the updating unit is specifically used for:
Determine the clone's memory block being arranged in the corresponding mapping relations of updated more new logo;
The data that the clone's memory block being arranged in the corresponding mapping relations of updated more new logo is stored are answered
It makes to the source memory block being arranged in the corresponding mapping relations of updated more new logo;
It is arranged to updated more new logo by described and is set as not updating.
14. device as claimed in claim 10, which is characterized in that the updating unit is also used to detecting data backup knot
When receiving data write request, the data to be written in the data write request are written in the source hard disk by Shu Hou, and
The corresponding more new logo of the source memory block that the data to be written are written is set as not updating.
15. a kind of host, which is characterized in that the host includes: that processor, memory, hard disk, communication interface, system are total
Line connects by system bus and completes mutual communication between the processor, memory, hard disk and communication interface, described
For storing computer executed instructions in memory, when the host is run, the processor executes the calculating in the memory
Machine is executed instruction to establish virtual machine using the hardware resource in the host, and perform claim requires 1-7 any one institute
The method stated.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2016/073318 WO2017132872A1 (en) | 2016-02-03 | 2016-02-03 | Virtual machine backup method, backup device and host |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107003893A CN107003893A (en) | 2017-08-01 |
CN107003893B true CN107003893B (en) | 2019-11-12 |
Family
ID=59431677
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201680003386.9A Active CN107003893B (en) | 2016-02-03 | 2016-02-03 | Virtual machine backup method, back-up device and host |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107003893B (en) |
WO (1) | WO2017132872A1 (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10860434B2 (en) * | 2018-04-30 | 2020-12-08 | EMC IP Holding Company LLC | Method and system for enabling data backups for virtual machines reliant on raw device mapping disks |
CN108984430A (en) * | 2018-05-04 | 2018-12-11 | 广东睿江云计算股份有限公司 | Magnetic disk of virtual machine reproduction process wiring method and device based on fixed buffering |
CN109002401A (en) * | 2018-05-04 | 2018-12-14 | 广东睿江云计算股份有限公司 | Magnetic disk of virtual machine reproduction process read method and device based on dynamic buffering |
CN108959124A (en) * | 2018-05-04 | 2018-12-07 | 广东睿江云计算股份有限公司 | Magnetic disk of virtual machine reproduction process wiring method and device based on dynamic buffering |
CN109032753B (en) * | 2018-06-20 | 2022-02-22 | 上海市信息网络有限公司 | Heterogeneous virtual machine hard disk hosting method and system, storage medium and Nova platform |
CN109032762B (en) * | 2018-08-09 | 2022-01-25 | 腾讯科技(深圳)有限公司 | Virtual machine backtracking method and related equipment |
CN109344001B (en) * | 2018-08-29 | 2022-01-11 | 广东微云科技股份有限公司 | Concurrent backup method and system for virtual machine files |
CN110018881B (en) * | 2019-03-28 | 2021-04-13 | 西安交通大学 | Method and system for rapidly recovering virtual machine fault |
CN110262876A (en) * | 2019-06-28 | 2019-09-20 | 浪潮电子信息产业股份有限公司 | A kind of virtual machine method for reconstructing, device, equipment and readable storage medium storing program for executing |
CN111858174B (en) * | 2020-07-17 | 2022-06-14 | 苏州浪潮智能科技有限公司 | Ordered management method, system, terminal and storage medium for cloud host |
CN112395050B (en) * | 2020-11-30 | 2024-02-23 | 深信服科技股份有限公司 | Virtual machine backup method and device, electronic equipment and readable storage medium |
CN115437670B (en) * | 2022-09-06 | 2023-11-21 | 北京斯年智驾科技有限公司 | Automobile controller program upgrading system based on TFTP |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101819545A (en) * | 2010-04-09 | 2010-09-01 | 济南银泉科技有限公司 | Method for realizing platform migration by using virtualization technology |
CN102594849A (en) * | 2011-01-06 | 2012-07-18 | 阿里巴巴集团控股有限公司 | Data backup and recovery method and device, virtual machine snapshot deleting and rollback method and device |
CN102646064A (en) * | 2011-02-16 | 2012-08-22 | 微软公司 | Incremental virtual machine backup supporting migration |
CN103678036A (en) * | 2013-11-15 | 2014-03-26 | 上海爱数软件有限公司 | Backup method based on virtual machine operation information data finding |
CN104520869A (en) * | 2012-08-03 | 2015-04-15 | 微软公司 | Trusted execution environment virtual machine cloning |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101609419B (en) * | 2009-06-29 | 2012-05-30 | 北京航空航天大学 | Continuous on-line transferring data backup method of virtual machine and device thereof |
CN102761566B (en) * | 2011-04-26 | 2015-09-23 | 国际商业机器公司 | The method and apparatus of migration virtual machine |
CN103500146B (en) * | 2013-09-30 | 2016-04-27 | 北京邮电大学 | Magnetic disk of virtual machine stores data migration method and system |
CN103699429A (en) * | 2013-12-31 | 2014-04-02 | 华为技术有限公司 | Virtual machine migration method and virtual machine migration device |
-
2016
- 2016-02-03 CN CN201680003386.9A patent/CN107003893B/en active Active
- 2016-02-03 WO PCT/CN2016/073318 patent/WO2017132872A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101819545A (en) * | 2010-04-09 | 2010-09-01 | 济南银泉科技有限公司 | Method for realizing platform migration by using virtualization technology |
CN102594849A (en) * | 2011-01-06 | 2012-07-18 | 阿里巴巴集团控股有限公司 | Data backup and recovery method and device, virtual machine snapshot deleting and rollback method and device |
CN102646064A (en) * | 2011-02-16 | 2012-08-22 | 微软公司 | Incremental virtual machine backup supporting migration |
CN104520869A (en) * | 2012-08-03 | 2015-04-15 | 微软公司 | Trusted execution environment virtual machine cloning |
CN103678036A (en) * | 2013-11-15 | 2014-03-26 | 上海爱数软件有限公司 | Backup method based on virtual machine operation information data finding |
Also Published As
Publication number | Publication date |
---|---|
CN107003893A (en) | 2017-08-01 |
WO2017132872A1 (en) | 2017-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107003893B (en) | Virtual machine backup method, back-up device and host | |
US9400611B1 (en) | Data migration in cluster environment using host copy and changed block tracking | |
US7707186B2 (en) | Method and apparatus for data set migration | |
US8738883B2 (en) | Snapshot creation from block lists | |
CN104965757B (en) | Method, virtual machine (vm) migration managing device and the system of live migration of virtual machine | |
CN106569738B (en) | A kind of method and device for deleting cascade snapshot | |
US8448167B2 (en) | Storage system, and remote copy control method therefor | |
US20060047926A1 (en) | Managing multiple snapshot copies of data | |
JP5138530B2 (en) | Fault management method in storage capacity virtualization technology | |
JP5718533B1 (en) | Storage system data migration method | |
US20140297597A1 (en) | Computer system and management method for the same | |
EP1637987A2 (en) | Operation environment associating data migration method | |
WO2003014933A1 (en) | Data backup method and system using snapshot and virtual tape | |
CN107423233B (en) | Writable snapshot implementation method and device | |
CN102611745A (en) | On-line file moving method, device and system | |
CN102012853A (en) | Zero-copy snapshot method | |
WO2017145272A1 (en) | Data migration method and computer system | |
CN106844012A (en) | A kind of method and system of unshared storage dynamic migration virtual machine | |
CN106775481B (en) | Method for reading data and equipment | |
CN108196954A (en) | A kind of file read/write method, system, equipment and computer storage media | |
US20170139779A1 (en) | Controller, storage system, and non-transitory computer-readable storage medium having control program stored therein | |
CN111722909A (en) | Virtual machine migration method, system, equipment and storage medium | |
JP2010079624A (en) | Computer system and storage system | |
JP2016212548A (en) | Storage control device, storage control method, and storage control program | |
US10969989B2 (en) | Techniques for capturing virtual machine snapshots using data storage system snapshots |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |